692 |
const uint16_t *scan_table = |
const uint16_t *scan_table = |
693 |
frame->vop_flags & XVID_VOP_ALTERNATESCAN ? |
frame->vop_flags & XVID_VOP_ALTERNATESCAN ? |
694 |
scan_tables[2] : scan_tables[0]; |
scan_tables[2] : scan_tables[0]; |
695 |
|
int bits; |
696 |
|
|
697 |
|
|
698 |
/* ------------------------------------------------------------------ |
/* ------------------------------------------------------------------ |
760 |
default: break; |
default: break; |
761 |
} |
} |
762 |
|
|
763 |
|
bits = BitstreamPos(bs); |
764 |
for (i = 0; i < 6; i++) { |
for (i = 0; i < 6; i++) { |
765 |
if (mb->cbp & (1 << (5 - i))) { |
if (mb->cbp & (1 << (5 - i))) { |
766 |
CodeCoeffInter(bs, &qcoeff[i * 64], scan_table); |
CodeCoeffInter(bs, &qcoeff[i * 64], scan_table); |
767 |
} |
} |
768 |
} |
} |
769 |
|
pStat->iTextBits += BitstreamPos(bs) - bits; |
770 |
} |
} |
771 |
|
|
772 |
|
|