19 |
* along with this program ; if not, write to the Free Software |
* along with this program ; if not, write to the Free Software |
20 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
21 |
* |
* |
22 |
* $Id: mbcoding.c,v 1.44.2.17 2003-10-03 16:57:55 edgomez Exp $ |
* $Id: mbcoding.c,v 1.44.2.18 2003-12-14 03:32:01 syskin Exp $ |
23 |
* |
* |
24 |
****************************************************************************/ |
****************************************************************************/ |
25 |
|
|
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 |
|
|