--- mbcoding.h 2002/06/12 20:38:40 1.6 +++ mbcoding.h 2002/09/23 20:36:01 1.8.2.1 @@ -7,6 +7,8 @@ void init_vlc_tables(void); +int check_resync_marker(Bitstream * bs, int addbits); + int get_mcbpc_intra(Bitstream * bs); int get_mcbpc_inter(Bitstream * bs); int get_cbpy(Bitstream * bs, @@ -19,7 +21,7 @@ int get_dc_size_lum(Bitstream * bs); int get_dc_size_chrom(Bitstream * bs); -int get_coeff(Bitstream * bs, +static int get_coeff(Bitstream * bs, int *run, int *last, int intra, @@ -32,6 +34,7 @@ void get_inter_block(Bitstream * bs, int16_t * block); + void MBCodingBVOP(const MACROBLOCK * mb, const int16_t qcoeff[6 * 64], const int32_t fcode, @@ -39,4 +42,11 @@ Bitstream * bs, Statistics * pStat); + +static __inline void +MBSkip(Bitstream * bs) +{ + BitstreamPutBit(bs, 1); // not coded +} + #endif /* _MB_CODING_H_ */