60 cols << 4, rows << 4);
66 if (!s->macroblocks ||
67 16*cols != s->avctx->coded_width ||
68 16*rows != s->avctx->coded_height) {
72 }
else if (!s->macroblocks)
83 for (comp=0; comp<2; comp++) {
91 delta = di | (delta << 2);
92 delta = (delta ^ -sign) + sign;
107 for (comp=0; comp<2; comp++) {
118 for (comp=0; comp<2; comp++)
119 for (node=0; node<7; node++)
133 memset(def_prob, 0x80,
sizeof(def_prob));
135 for (pt=0; pt<2; pt++)
136 for (node=0; node<11; node++)
144 for (ct=0; ct<3; ct++)
145 for (pt=0; pt<2; pt++)
146 for (cg=0; cg<6; cg++)
147 for (node=0; node<11; node++)
156 for (pt=0; pt<2; pt++)
157 for (ctx=0; ctx<36; ctx++)
158 for (node=0; node<5; node++)
162 for (ct=0; ct<3; ct++)
163 for (pt=0; pt<2; pt++)
164 for (cg=0; cg<3; cg++)
165 for (ctx=0; ctx<6; ctx++)
166 for (node=0; node<5; node++)
177 int coeff, sign, coeff_idx;
178 int b, i, cg, idx, ctx, ctx_last;
181 for (b=0; b<6; b++) {
187 + s->above_blocks[s->above_block_idx[
b]].not_null_dc;
219 coeff = (coeff ^ -sign) + sign;
221 coeff *= s->dequant_ac;
222 s->block_coeff[
b][permute[coeff_idx]] =
coeff;
236 model2 = cg > 2 ? model1 : model->
coeff_acct[
pt][ct][cg][ctx];
241 if (coeff_idx < ctx_last)
242 for (i=coeff_idx; i<=ctx_last; i++)
244 s->above_blocks[s->above_block_idx[b]].not_null_dc = s->coeff_ctx[
ff_vp56_b6to4[b]][0];
253 for (i=0; i<2; i++) {
283 .priv_data_size =
sizeof(VP56Context),