comparison snow.c @ 7622:5a3907818652 libavcodec

cosmetics: s/const static/static const/g patch by Mathieu Malaterre, mathieu.malaterre gmail com
author diego
date Tue, 19 Aug 2008 20:04:46 +0000
parents 322023e630a6
children c5276ad92ff8
comparison
equal deleted inserted replaced
7621:4a3f1b75285e 7622:5a3907818652
2098 } 2098 }
2099 } 2099 }
2100 } 2100 }
2101 2101
2102 static void mc_block(Plane *p, uint8_t *dst, const uint8_t *src, uint8_t *tmp, int stride, int b_w, int b_h, int dx, int dy){ 2102 static void mc_block(Plane *p, uint8_t *dst, const uint8_t *src, uint8_t *tmp, int stride, int b_w, int b_h, int dx, int dy){
2103 const static uint8_t weight[64]={ 2103 static const uint8_t weight[64]={
2104 8,7,6,5,4,3,2,1, 2104 8,7,6,5,4,3,2,1,
2105 7,7,0,0,0,0,0,1, 2105 7,7,0,0,0,0,0,1,
2106 6,0,6,0,0,0,2,0, 2106 6,0,6,0,0,0,2,0,
2107 5,0,0,5,0,3,0,0, 2107 5,0,0,5,0,3,0,0,
2108 4,0,0,0,4,0,0,0, 2108 4,0,0,0,4,0,0,0,
2109 3,0,0,5,0,3,0,0, 2109 3,0,0,5,0,3,0,0,
2110 2,0,6,0,0,0,2,0, 2110 2,0,6,0,0,0,2,0,
2111 1,7,0,0,0,0,0,1, 2111 1,7,0,0,0,0,0,1,
2112 }; 2112 };
2113 2113
2114 const static uint8_t brane[256]={ 2114 static const uint8_t brane[256]={
2115 0x00,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x11,0x12,0x12,0x12,0x12,0x12,0x12,0x12, 2115 0x00,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x11,0x12,0x12,0x12,0x12,0x12,0x12,0x12,
2116 0x04,0x05,0xcc,0xcc,0xcc,0xcc,0xcc,0x41,0x15,0x16,0xcc,0xcc,0xcc,0xcc,0xcc,0x52, 2116 0x04,0x05,0xcc,0xcc,0xcc,0xcc,0xcc,0x41,0x15,0x16,0xcc,0xcc,0xcc,0xcc,0xcc,0x52,
2117 0x04,0xcc,0x05,0xcc,0xcc,0xcc,0x41,0xcc,0x15,0xcc,0x16,0xcc,0xcc,0xcc,0x52,0xcc, 2117 0x04,0xcc,0x05,0xcc,0xcc,0xcc,0x41,0xcc,0x15,0xcc,0x16,0xcc,0xcc,0xcc,0x52,0xcc,
2118 0x04,0xcc,0xcc,0x05,0xcc,0x41,0xcc,0xcc,0x15,0xcc,0xcc,0x16,0xcc,0x52,0xcc,0xcc, 2118 0x04,0xcc,0xcc,0x05,0xcc,0x41,0xcc,0xcc,0x15,0xcc,0xcc,0x16,0xcc,0x52,0xcc,0xcc,
2119 0x04,0xcc,0xcc,0xcc,0x41,0xcc,0xcc,0xcc,0x15,0xcc,0xcc,0xcc,0x16,0xcc,0xcc,0xcc, 2119 0x04,0xcc,0xcc,0xcc,0x41,0xcc,0xcc,0xcc,0x15,0xcc,0xcc,0xcc,0x16,0xcc,0xcc,0xcc,
2128 0x48,0xcc,0xcc,0x85,0xcc,0x49,0xcc,0xcc,0x59,0xcc,0xcc,0x96,0xcc,0x5A,0xcc,0xcc, 2128 0x48,0xcc,0xcc,0x85,0xcc,0x49,0xcc,0xcc,0x59,0xcc,0xcc,0x96,0xcc,0x5A,0xcc,0xcc,
2129 0x48,0xcc,0x85,0xcc,0xcc,0xcc,0x49,0xcc,0x59,0xcc,0x96,0xcc,0xcc,0xcc,0x5A,0xcc, 2129 0x48,0xcc,0x85,0xcc,0xcc,0xcc,0x49,0xcc,0x59,0xcc,0x96,0xcc,0xcc,0xcc,0x5A,0xcc,
2130 0x48,0x85,0xcc,0xcc,0xcc,0xcc,0xcc,0x49,0x59,0x96,0xcc,0xcc,0xcc,0xcc,0xcc,0x5A, 2130 0x48,0x85,0xcc,0xcc,0xcc,0xcc,0xcc,0x49,0x59,0x96,0xcc,0xcc,0xcc,0xcc,0xcc,0x5A,
2131 }; 2131 };
2132 2132
2133 const static uint8_t needs[16]={ 2133 static const uint8_t needs[16]={
2134 0,1,0,0, 2134 0,1,0,0,
2135 2,4,2,0, 2135 2,4,2,0,
2136 0,1,0,0, 2136 0,1,0,0,
2137 15 2137 15
2138 }; 2138 };