3 |
|
|
4 |
#include "../portab.h" |
#include "../portab.h" |
5 |
#include "../global.h" |
#include "../global.h" |
6 |
|
#include "bitstream.h" |
7 |
|
|
8 |
void create_vlc_tables(void); |
void init_vlc_tables(void); |
9 |
void destroy_vlc_tables(void); |
|
10 |
|
void skip_stuffing(Bitstream *bs); |
11 |
|
|
12 |
|
int check_resync_marker(Bitstream * bs, int addbits); |
13 |
|
|
14 |
int get_mcbpc_intra(Bitstream * bs); |
int get_mcbpc_intra(Bitstream * bs); |
15 |
int get_mcbpc_inter(Bitstream * bs); |
int get_mcbpc_inter(Bitstream * bs); |
16 |
int get_cbpy(Bitstream * bs, int intra); |
int get_cbpy(Bitstream * bs, |
17 |
int get_mv(Bitstream * bs, int fcode); |
int intra); |
18 |
|
int get_mv(Bitstream * bs, |
19 |
|
int fcode); |
20 |
|
|
21 |
int get_dc_dif(Bitstream * bs, uint32_t dc_size); |
int get_dc_dif(Bitstream * bs, |
22 |
|
uint32_t dc_size); |
23 |
int get_dc_size_lum(Bitstream * bs); |
int get_dc_size_lum(Bitstream * bs); |
24 |
int get_dc_size_chrom(Bitstream * bs); |
int get_dc_size_chrom(Bitstream * bs); |
25 |
|
|
26 |
int get_coeff(Bitstream * bs, int *run, int *last, int intra, int short_video_header); |
int get_coeff(Bitstream * bs, |
27 |
|
int *run, |
28 |
void get_intra_block(Bitstream * bs, int16_t * block, int direction, int coeff); |
int *last, |
29 |
void get_inter_block(Bitstream * bs, int16_t * block); |
int intra, |
30 |
|
int short_video_header); |
31 |
|
|
32 |
|
void get_intra_block(Bitstream * bs, |
33 |
|
int16_t * block, |
34 |
|
int direction, |
35 |
|
int coeff); |
36 |
|
void get_inter_block(Bitstream * bs, |
37 |
|
int16_t * block); |
38 |
|
|
39 |
|
|
40 |
|
void MBCodingBVOP(const MACROBLOCK * mb, |
41 |
|
const int16_t qcoeff[6 * 64], |
42 |
|
const int32_t fcode, |
43 |
|
const int32_t bcode, |
44 |
|
Bitstream * bs, |
45 |
|
Statistics * pStat); |
46 |
|
|
47 |
#endif /* _MB_CODING_H_ */ |
#endif /* _MB_CODING_H_ */ |