--- mbcoding.h 2002/12/08 06:43:34 1.8.2.6 +++ mbcoding.h 2003/04/27 19:47:30 1.11.2.1 @@ -3,6 +3,7 @@ #include "../portab.h" #include "../global.h" +#include "vlc_codes.h" #include "bitstream.h" void init_vlc_tables(void); @@ -48,4 +49,18 @@ BitstreamPutBit(bs, 1); // not coded } + +#ifdef BIGLUT +extern VLC *intra_table; +int CodeCoeff_CalcBits(const int16_t qcoeff[64], VLC * table, const uint16_t * zigzag, uint16_t intra); +#else +int CodeCoeffIntra_CalcBits(const int16_t qcoeff[64], const uint16_t * zigzag); +#endif + +int +dct_quantize_trellis_inter_h263_c (int16_t *qcoeff, const int16_t *data, int quant); +int +dct_quantize_trellis_inter_mpeg_c (int16_t *qcoeff, const int16_t *data, int quant); + + #endif /* _MB_CODING_H_ */