62 cols << 4, rows << 4);
68 if (!s->macroblocks ||
69 16*cols != s->avctx->coded_width ||
70 16*rows != s->avctx->coded_height) {
76 }
else if (!s->macroblocks)
87 for (comp=0; comp<2; comp++) {
95 delta = di | (delta << 2);
96 delta = (delta ^ -sign) + sign;
111 for (comp=0; comp<2; comp++) {
122 for (comp=0; comp<2; comp++)
123 for (node=0; node<7; node++)
137 memset(def_prob, 0x80,
sizeof(def_prob));
139 for (pt=0; pt<2; pt++)
140 for (node=0; node<11; node++)
148 for (ct=0; ct<3; ct++)
149 for (pt=0; pt<2; pt++)
150 for (cg=0; cg<6; cg++)
151 for (node=0; node<11; node++)
160 for (pt=0; pt<2; pt++)
161 for (ctx=0; ctx<36; ctx++)
162 for (node=0; node<5; node++)
166 for (ct=0; ct<3; ct++)
167 for (pt=0; pt<2; pt++)
168 for (cg=0; cg<3; cg++)
169 for (ctx=0; ctx<6; ctx++)
170 for (node=0; node<5; node++)
181 int coeff, sign, coeff_idx;
182 int b, i, cg, idx, ctx, ctx_last;
185 for (b=0; b<6; b++) {
191 + s->above_blocks[s->above_block_idx[
b]].not_null_dc;
223 coeff = (coeff ^ -sign) + sign;
225 coeff *= s->dequant_ac;
226 s->block_coeff[
b][permute[coeff_idx]] = coeff;
240 model2 = cg > 2 ? model1 : model->
coeff_acct[
pt][ct][cg][ctx];
245 if (coeff_idx < ctx_last)
246 for (i=coeff_idx; i<=ctx_last; i++)
248 s->above_blocks[s->above_block_idx[b]].not_null_dc = s->coeff_ctx[
ff_vp56_b6to4[b]][0];
257 for (i=0; i<2; i++) {
290 .priv_data_size =
sizeof(VP56Context),