comparison rv34data.h @ 8445:8621deaff8dc libavcodec

352l: correct calculating number of bits for storing macroblock offset in RV3/4
author kostya
date Tue, 23 Dec 2008 18:27:06 +0000
parents c4a4495715dd
children e9d9d946f213
comparison
equal deleted inserted replaced
8444:4fdaffd1ae1c 8445:8621deaff8dc
136 136
137 /** 137 /**
138 * maximum number of macroblocks for each of the possible slice offset sizes 138 * maximum number of macroblocks for each of the possible slice offset sizes
139 * @todo This is the same as ff_mba_max, maybe use it instead. 139 * @todo This is the same as ff_mba_max, maybe use it instead.
140 */ 140 */
141 static const uint16_t rv34_mb_max_sizes[6] = { 0x2F, 0x68, 0x18B, 0x62F, 0x18BF, 0x23FF }; 141 static const uint16_t rv34_mb_max_sizes[6] = { 0x2F, 0x62, 0x18B, 0x62F, 0x18BF, 0x23FF };
142 /** 142 /**
143 * bits needed to code the slice offset for the given size 143 * bits needed to code the slice offset for the given size
144 * @todo This is the same as ff_mba_length, maybe use it instead. 144 * @todo This is the same as ff_mba_length, maybe use it instead.
145 */ 145 */
146 static const uint8_t rv34_mb_bits_sizes[6] = { 6, 7, 9, 11, 13, 14 }; 146 static const uint8_t rv34_mb_bits_sizes[6] = { 6, 7, 9, 11, 13, 14 };