61 cols << 4, rows << 4);
67 if (!s->macroblocks ||
68 16*cols != s->avctx->coded_width ||
69 16*rows != s->avctx->coded_height) {
75 }
else if (!s->macroblocks)
86 for (comp=0; comp<2; comp++) {
94 delta = di | (delta << 2);
95 delta = (delta ^ -sign) + sign;
110 for (comp=0; comp<2; comp++) {
121 for (comp=0; comp<2; comp++)
122 for (node=0; node<7; node++)
136 memset(def_prob, 0x80,
sizeof(def_prob));
138 for (pt=0; pt<2; pt++)
139 for (node=0; node<11; node++)
147 for (ct=0; ct<3; ct++)
148 for (pt=0; pt<2; pt++)
149 for (cg=0; cg<6; cg++)
150 for (node=0; node<11; node++)
159 for (pt=0; pt<2; pt++)
160 for (ctx=0; ctx<36; ctx++)
161 for (node=0; node<5; node++)
165 for (ct=0; ct<3; ct++)
166 for (pt=0; pt<2; pt++)
167 for (cg=0; cg<3; cg++)
168 for (ctx=0; ctx<6; ctx++)
169 for (node=0; node<5; node++)
180 int coeff, sign, coeff_idx;
181 int b, i, cg, idx, ctx, ctx_last;
184 for (b=0; b<6; b++) {
190 + s->above_blocks[s->above_block_idx[
b]].not_null_dc;
222 coeff = (coeff ^ -sign) + sign;
224 coeff *= s->dequant_ac;
225 s->block_coeff[
b][permute[coeff_idx]] =
coeff;
239 model2 = cg > 2 ? model1 : model->
coeff_acct[
pt][ct][cg][ctx];
244 if (coeff_idx < ctx_last)
245 for (i=coeff_idx; i<=ctx_last; i++)
247 s->above_blocks[s->above_block_idx[b]].not_null_dc = s->coeff_ctx[
ff_vp56_b6to4[b]][0];
256 for (i=0; i<2; i++) {
289 .priv_data_size =
sizeof(VP56Context),