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); |
|
void destroy_vlc_tables(void); |
|
9 |
|
|
10 |
int get_mcbpc_intra(Bitstream * bs); |
int get_mcbpc_intra(Bitstream * bs); |
11 |
int get_mcbpc_inter(Bitstream * bs); |
int get_mcbpc_inter(Bitstream * bs); |
12 |
int get_cbpy(Bitstream * bs, int intra); |
int get_cbpy(Bitstream * bs, |
13 |
int get_mv(Bitstream * bs, int fcode); |
int intra); |
14 |
|
int get_mv(Bitstream * bs, |
15 |
|
int fcode); |
16 |
|
|
17 |
int get_dc_dif(Bitstream * bs, uint32_t dc_size); |
int get_dc_dif(Bitstream * bs, |
18 |
|
uint32_t dc_size); |
19 |
int get_dc_size_lum(Bitstream * bs); |
int get_dc_size_lum(Bitstream * bs); |
20 |
int get_dc_size_chrom(Bitstream * bs); |
int get_dc_size_chrom(Bitstream * bs); |
21 |
|
|
22 |
int get_coeff(Bitstream * bs, int *run, int *last, int intra, int short_video_header); |
int get_coeff(Bitstream * bs, |
23 |
|
int *run, |
24 |
void get_intra_block(Bitstream * bs, int16_t * block, int direction, int coeff); |
int *last, |
25 |
void get_inter_block(Bitstream * bs, int16_t * block); |
int intra, |
26 |
|
int short_video_header); |
27 |
|
|
28 |
|
void get_intra_block(Bitstream * bs, |
29 |
|
int16_t * block, |
30 |
|
int direction, |
31 |
|
int coeff); |
32 |
|
void get_inter_block(Bitstream * bs, |
33 |
|
int16_t * block); |
34 |
|
|
35 |
|
void MBCodingBVOP(const MACROBLOCK * mb, |
36 |
|
const int16_t qcoeff[6 * 64], |
37 |
|
const int32_t fcode, |
38 |
|
const int32_t bcode, |
39 |
|
Bitstream * bs, |
40 |
|
Statistics * pStat); |
41 |
|
|
42 |
#endif /* _MB_CODING_H_ */ |
#endif /* _MB_CODING_H_ */ |