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.h,v 1.11.2.5 2003-09-10 22:18:59 edgomez Exp $ |
* $Id: mbcoding.h,v 1.11.2.7 2003-10-03 16:57:55 edgomez Exp $ |
23 |
* |
* |
24 |
****************************************************************************/ |
****************************************************************************/ |
25 |
|
|
59 |
int direction); |
int direction); |
60 |
|
|
61 |
|
|
62 |
void MBCodingBVOP(const MACROBLOCK * mb, |
void MBCodingBVOP(const FRAMEINFO * const frame, |
63 |
|
const MACROBLOCK * mb, |
64 |
const int16_t qcoeff[6 * 64], |
const int16_t qcoeff[6 * 64], |
65 |
const int32_t fcode, |
const int32_t fcode, |
66 |
const int32_t bcode, |
const int32_t bcode, |
67 |
Bitstream * bs, |
Bitstream * bs, |
68 |
Statistics * pStat, |
Statistics * pStat); |
|
int alternate_scan); |
|
69 |
|
|
70 |
|
|
71 |
static __inline void |
static __inline void |
74 |
BitstreamPutBit(bs, 1); /* not coded */ |
BitstreamPutBit(bs, 1); /* not coded */ |
75 |
} |
} |
76 |
|
|
|
|
|
|
#ifdef BIGLUT |
|
|
extern VLC *intra_table; |
|
|
int CodeCoeff_CalcBits(const int16_t qcoeff[64], VLC * table, const uint16_t * zigzag, uint16_t intra); |
|
|
#else |
|
77 |
int CodeCoeffIntra_CalcBits(const int16_t qcoeff[64], const uint16_t * zigzag); |
int CodeCoeffIntra_CalcBits(const int16_t qcoeff[64], const uint16_t * zigzag); |
78 |
int CodeCoeffInter_CalcBits(const int16_t qcoeff[64], const uint16_t * zigzag); |
int CodeCoeffInter_CalcBits(const int16_t qcoeff[64], const uint16_t * zigzag); |
|
#endif |
|
79 |
|
|
80 |
#endif /* _MB_CODING_H_ */ |
#endif /* _MB_CODING_H_ */ |