--- mbcoding.h 2002/05/01 13:00:02 1.5 +++ mbcoding.h 2002/06/12 20:38:40 1.6 @@ -9,23 +9,34 @@ int get_mcbpc_intra(Bitstream * bs); int get_mcbpc_inter(Bitstream * bs); -int get_cbpy(Bitstream * bs, int intra); -int get_mv(Bitstream * bs, int fcode); +int get_cbpy(Bitstream * bs, + int intra); +int get_mv(Bitstream * bs, + int fcode); -int get_dc_dif(Bitstream * bs, uint32_t dc_size); +int get_dc_dif(Bitstream * bs, + uint32_t dc_size); int get_dc_size_lum(Bitstream * bs); int get_dc_size_chrom(Bitstream * bs); -int get_coeff(Bitstream * bs, int *run, int *last, int intra, int short_video_header); +int get_coeff(Bitstream * bs, + int *run, + int *last, + int intra, + int short_video_header); + +void get_intra_block(Bitstream * bs, + int16_t * block, + int direction, + int coeff); +void get_inter_block(Bitstream * bs, + int16_t * block); -void get_intra_block(Bitstream * bs, int16_t * block, int direction, int coeff); -void get_inter_block(Bitstream * bs, int16_t * block); - -void MBCodingBVOP(const MACROBLOCK * mb, - const int16_t qcoeff[6*64], +void MBCodingBVOP(const MACROBLOCK * mb, + const int16_t qcoeff[6 * 64], const int32_t fcode, const int32_t bcode, - Bitstream * bs, + Bitstream * bs, Statistics * pStat); -#endif /* _MB_CODING_H_ */ +#endif /* _MB_CODING_H_ */