7 |
|
|
8 |
void init_vlc_tables(void); |
void init_vlc_tables(void); |
9 |
|
|
10 |
|
int check_resync_marker(Bitstream * bs, int addbits); |
11 |
|
|
12 |
|
void bs_put_spritetrajectory(Bitstream * bs, const int val); |
13 |
|
int bs_get_spritetrajectory(Bitstream * bs); |
14 |
|
|
15 |
int get_mcbpc_intra(Bitstream * bs); |
int get_mcbpc_intra(Bitstream * bs); |
16 |
int get_mcbpc_inter(Bitstream * bs); |
int get_mcbpc_inter(Bitstream * bs); |
17 |
int get_cbpy(Bitstream * bs, int intra); |
int get_cbpy(Bitstream * bs, |
18 |
int get_mv(Bitstream * bs, int fcode); |
int intra); |
19 |
|
int get_mv(Bitstream * bs, |
20 |
|
int fcode); |
21 |
|
|
22 |
int get_dc_dif(Bitstream * bs, uint32_t dc_size); |
int get_dc_dif(Bitstream * bs, |
23 |
|
uint32_t dc_size); |
24 |
int get_dc_size_lum(Bitstream * bs); |
int get_dc_size_lum(Bitstream * bs); |
25 |
int get_dc_size_chrom(Bitstream * bs); |
int get_dc_size_chrom(Bitstream * bs); |
26 |
|
|
27 |
int get_coeff(Bitstream * bs, int *run, int *last, int intra, int short_video_header); |
void get_intra_block(Bitstream * bs, |
28 |
|
int16_t * block, |
29 |
|
int direction, |
30 |
|
int coeff); |
31 |
|
void get_inter_block(Bitstream * bs, |
32 |
|
int16_t * block, |
33 |
|
int direction); |
34 |
|
|
|
void get_intra_block(Bitstream * bs, int16_t * block, int direction, int coeff); |
|
|
void get_inter_block(Bitstream * bs, int16_t * block); |
|
35 |
|
|
36 |
void MBCodingBVOP(const MACROBLOCK * mb, |
void MBCodingBVOP(const MACROBLOCK * mb, |
37 |
const int16_t qcoeff[6*64], |
const int16_t qcoeff[6*64], |
38 |
const int32_t fcode, |
const int32_t fcode, |
39 |
const int32_t bcode, |
const int32_t bcode, |
40 |
Bitstream * bs, |
Bitstream * bs, |
41 |
Statistics * pStat); |
Statistics * pStat, |
42 |
|
int alternate_scan); |
43 |
|
|
44 |
|
|
45 |
|
static __inline void |
46 |
|
MBSkip(Bitstream * bs) |
47 |
|
{ |
48 |
|
BitstreamPutBit(bs, 1); // not coded |
49 |
|
} |
50 |
|
|
51 |
#endif /* _MB_CODING_H_ */ |
#endif /* _MB_CODING_H_ */ |