Revision d887151d libavcodec/vp5.c
libavcodec/vp5.c  

87  87 
static void vp5_parse_vector_adjustment(VP56Context *s, VP56mv *vect) 
88  88 
{ 
89  89 
VP56RangeCoder *c = &s>c; 
90 
Vp56Model *model = s>modelp;


90 
VP56Model *model = s>modelp;


91  91 
int comp, di; 
92  92  
93  93 
for (comp=0; comp<2; comp++) { 
...  ...  
111  111 
static void vp5_parse_vector_models(VP56Context *s) 
112  112 
{ 
113  113 
VP56RangeCoder *c = &s>c; 
114 
Vp56Model *model = s>modelp;


114 
VP56Model *model = s>modelp;


115  115 
int comp, node; 
116  116  
117  117 
for (comp=0; comp<2; comp++) { 
...  ...  
134  134 
static void vp5_parse_coeff_models(VP56Context *s) 
135  135 
{ 
136  136 
VP56RangeCoder *c = &s>c; 
137 
Vp56Model *model = s>modelp;


137 
VP56Model *model = s>modelp;


138  138 
uint8_t def_prob[11]; 
139  139 
int node, cg, ctx; 
140  140 
int ct; /* code type */ 
...  ...  
180  180 
static void vp5_parse_coeff(VP56Context *s) 
181  181 
{ 
182  182 
VP56RangeCoder *c = &s>c; 
183 
Vp56Model *model = s>modelp;


183 
VP56Model *model = s>modelp;


184  184 
uint8_t *permute = s>scantable.permutated; 
185  185 
uint8_t *model1, *model2; 
186  186 
int coeff, sign, coeff_idx; 
...  ...  
252  252  
253  253 
static void vp5_default_models_init(VP56Context *s) 
254  254 
{ 
255 
Vp56Model *model = s>modelp;


255 
VP56Model *model = s>modelp;


256  256 
int i; 
257  257  
258  258 
for (i=0; i<2; i++) { 
Also available in: Unified diff