61 cols << 4, rows << 4);
67 if (!s->macroblocks ||
68 16*cols != s->avctx->coded_width ||
69 16*rows != s->avctx->coded_height) {
73 }
else if (!s->macroblocks)
84 for (comp=0; comp<2; comp++) {
92 delta = di | (delta << 2);
93 delta = (delta ^ -sign) + sign;
108 for (comp=0; comp<2; comp++) {
119 for (comp=0; comp<2; comp++)
120 for (node=0; node<7; node++)
134 memset(def_prob, 0x80,
sizeof(def_prob));
136 for (pt=0; pt<2; pt++)
137 for (node=0; node<11; node++)
145 for (ct=0; ct<3; ct++)
146 for (pt=0; pt<2; pt++)
147 for (cg=0; cg<6; cg++)
148 for (node=0; node<11; node++)
157 for (pt=0; pt<2; pt++)
158 for (ctx=0; ctx<36; ctx++)
159 for (node=0; node<5; node++)
163 for (ct=0; ct<3; ct++)
164 for (pt=0; pt<2; pt++)
165 for (cg=0; cg<3; cg++)
166 for (ctx=0; ctx<6; ctx++)
167 for (node=0; node<5; node++)
178 int coeff, sign, coeff_idx;
179 int b, i, cg, idx, ctx, ctx_last;
182 for (b=0; b<6; b++) {
188 + s->above_blocks[s->above_block_idx[
b]].not_null_dc;
220 coeff = (coeff ^ -sign) + sign;
222 coeff *= s->dequant_ac;
223 s->block_coeff[
b][permute[coeff_idx]] =
coeff;
237 model2 = cg > 2 ? model1 : model->
coeff_acct[
pt][ct][cg][ctx];
242 if (coeff_idx < ctx_last)
243 for (i=coeff_idx; i<=ctx_last; i++)
245 s->above_blocks[s->above_block_idx[b]].not_null_dc = s->coeff_ctx[
ff_vp56_b6to4[b]][0];
254 for (i=0; i<2; i++) {
284 .priv_data_size =
sizeof(VP56Context),