41 for (mb_y = 0; mb_y < s->
mb_height; mb_y++)
42 for (mb_x = 0; mb_x < s->
mb_width; mb_x++)
48 for (mb_x = 0; mb_x < s->
mb_width; mb_x++)
53 for (mb_y = 0; mb_y < s->
mb_height; mb_y++) {
55 for (mb_x = 0; mb_x < s->
mb_width; mb_x++)
59 for (mb_x = 0; mb_x < s->
mb_width; mb_x++)
66 for (mb_x = 0; mb_x < s->
mb_width; mb_x++) {
68 for (mb_y = 0; mb_y < s->
mb_height; mb_y++)
72 for (mb_y = 0; mb_y < s->
mb_height; mb_y++)
110 "fps:%d, br:%d, qpbit:%d, abt_flag:%d, j_type_bit:%d, "
111 "tl_mv_flag:%d, mbrl_bit:%d, code:%d, loop_filter:%d, "
166 "qscale:%d rlc:%d rl:%d dc:%d mbrl:%d j_type:%d \n",
177 int map[3] = { 0, 2, 1 };
179 }
else if (s->
qscale <= 20) {
180 int map[3] = { 1, 0, 2 };
183 int map[3] = {2,1,0};
216 "rl:%d rlc:%d dc:%d mv:%d mbrl:%d qp:%d mspel:%d "
217 "per_mb_abt:%d abt_type:%d cbp:%d ii:%d\n",
247 if ((((*mx_ptr) | (*my_ptr)) & 1) && s->
mspel)
259 int16_t *
A, *
B, *
C, *mot_val;
283 }
else if (type == 1) {
304 static const int sub_cbp_table[3] = { 2, 3, 1 };
353 for (i = 0; i < 6; i++)
376 "II-cbp illegal at %d %d\n", s->
mb_x, s->
mb_y);
381 for (i = 0; i < 6; i++) {
382 int val = ((code >> (5 - i)) & 1);
388 cbp |= val << (5 - i);
419 for (i = 0; i < 6; i++) {
422 "\nerror while decoding inter block: %d x %d (%d)\n",
431 ((cbp & 3) ? 1 : 0) + ((cbp & 0x3C) ? 2 : 0),
446 for (i = 0; i < 6; i++) {
449 "\nerror while decoding intra block: %d x %d (%d)\n",