Revision d887151d libavcodec/vp6.c
libavcodec/vp6.c  

164  164  
165  165 
static void vp6_default_models_init(VP56Context *s) 
166  166 
{ 
167 
Vp56Model *model = s>modelp;


167 
VP56Model *model = s>modelp;


168  168  
169  169 
model>vector_dct[0] = 0xA2; 
170  170 
model>vector_dct[1] = 0xA4; 
...  ...  
183  183 
static void vp6_parse_vector_models(VP56Context *s) 
184  184 
{ 
185  185 
VP56RangeCoder *c = &s>c; 
186 
Vp56Model *model = s>modelp;


186 
VP56Model *model = s>modelp;


187  187 
int comp, node; 
188  188  
189  189 
for (comp=0; comp<2; comp++) { 
...  ...  
234  234 
static void vp6_parse_coeff_models(VP56Context *s) 
235  235 
{ 
236  236 
VP56RangeCoder *c = &s>c; 
237 
Vp56Model *model = s>modelp;


237 
VP56Model *model = s>modelp;


238  238 
int def_prob[11]; 
239  239 
int node, cg, ctx, pos; 
240  240 
int ct; /* code type */ 
...  ...  
299  299 
static void vp6_parse_vector_adjustment(VP56Context *s, VP56mv *vect) 
300  300 
{ 
301  301 
VP56RangeCoder *c = &s>c; 
302 
Vp56Model *model = s>modelp;


302 
VP56Model *model = s>modelp;


303  303 
int comp; 
304  304  
305  305 
*vect = (VP56mv) {0,0}; 
...  ...  
352  352  
353  353 
static void vp6_parse_coeff_huffman(VP56Context *s) 
354  354 
{ 
355 
Vp56Model *model = s>modelp;


355 
VP56Model *model = s>modelp;


356  356 
uint8_t *permute = s>scantable.permutated; 
357  357 
VLC *vlc_coeff; 
358  358 
int coeff, sign, coeff_idx; 
...  ...  
408  408 
static void vp6_parse_coeff(VP56Context *s) 
409  409 
{ 
410  410 
VP56RangeCoder *c = s>ccp; 
411 
Vp56Model *model = s>modelp;


411 
VP56Model *model = s>modelp;


412  412 
uint8_t *permute = s>scantable.permutated; 
413  413 
uint8_t *model1, *model2, *model3; 
414  414 
int coeff, sign, coeff_idx; 
Also available in: Unified diff