comparison dv.c @ 8954:409d20e15da8 libavcodec

cosmetics: 'const static' --> 'static const' to avoid warnings of the type "'static' is not at beginning of declaration" with -Wextra.
author diego
date Tue, 17 Feb 2009 12:03:10 +0000
parents 08f9871b035b
children 5337b260a70d
comparison
equal deleted inserted replaced
8953:5e70bdb97d0c 8954:409d20e15da8
89 } 89 }
90 90
91 static inline void dv_calc_mb_coordinates(const DVprofile *d, int chan, int seq, int slot, 91 static inline void dv_calc_mb_coordinates(const DVprofile *d, int chan, int seq, int slot,
92 uint16_t *tbl) 92 uint16_t *tbl)
93 { 93 {
94 const static uint8_t off[] = { 2, 6, 8, 0, 4 }; 94 static const uint8_t off[] = { 2, 6, 8, 0, 4 };
95 const static uint8_t shuf1[] = { 36, 18, 54, 0, 72 }; 95 static const uint8_t shuf1[] = { 36, 18, 54, 0, 72 };
96 const static uint8_t shuf2[] = { 24, 12, 36, 0, 48 }; 96 static const uint8_t shuf2[] = { 24, 12, 36, 0, 48 };
97 const static uint8_t shuf3[] = { 18, 9, 27, 0, 36 }; 97 static const uint8_t shuf3[] = { 18, 9, 27, 0, 36 };
98 98
99 const static uint8_t l_start[] = {0, 4, 9, 13, 18, 22, 27, 31, 36, 40}; 99 static const uint8_t l_start[] = {0, 4, 9, 13, 18, 22, 27, 31, 36, 40};
100 const static uint8_t l_start_shuffled[] = { 9, 4, 13, 0, 18 }; 100 static const uint8_t l_start_shuffled[] = { 9, 4, 13, 0, 18 };
101 101
102 const static uint8_t serpent1[] = {0, 1, 2, 2, 1, 0, 102 static const uint8_t serpent1[] = {0, 1, 2, 2, 1, 0,
103 0, 1, 2, 2, 1, 0, 103 0, 1, 2, 2, 1, 0,
104 0, 1, 2, 2, 1, 0, 104 0, 1, 2, 2, 1, 0,
105 0, 1, 2, 2, 1, 0, 105 0, 1, 2, 2, 1, 0,
106 0, 1, 2}; 106 0, 1, 2};
107 const static uint8_t serpent2[] = {0, 1, 2, 3, 4, 5, 5, 4, 3, 2, 1, 0, 107 static const uint8_t serpent2[] = {0, 1, 2, 3, 4, 5, 5, 4, 3, 2, 1, 0,
108 0, 1, 2, 3, 4, 5, 5, 4, 3, 2, 1, 0, 108 0, 1, 2, 3, 4, 5, 5, 4, 3, 2, 1, 0,
109 0, 1, 2, 3, 4, 5}; 109 0, 1, 2, 3, 4, 5};
110 110
111 const static uint8_t remap[][2] = {{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, /* dummy */ 111 static const uint8_t remap[][2] = {{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, /* dummy */
112 { 0, 0}, { 0, 1}, { 0, 2}, { 0, 3}, {10, 0}, 112 { 0, 0}, { 0, 1}, { 0, 2}, { 0, 3}, {10, 0},
113 {10, 1}, {10, 2}, {10, 3}, {20, 0}, {20, 1}, 113 {10, 1}, {10, 2}, {10, 3}, {20, 0}, {20, 1},
114 {20, 2}, {20, 3}, {30, 0}, {30, 1}, {30, 2}, 114 {20, 2}, {20, 3}, {30, 0}, {30, 1}, {30, 2},
115 {30, 3}, {40, 0}, {40, 1}, {40, 2}, {40, 3}, 115 {30, 3}, {40, 0}, {40, 1}, {40, 2}, {40, 3},
116 {50, 0}, {50, 1}, {50, 2}, {50, 3}, {60, 0}, 116 {50, 0}, {50, 1}, {50, 2}, {50, 3}, {60, 0},