[svn] / branches / dev-api-3 / xvidcore / src / bitstream / mbcoding.h Repository:
ViewVC logotype

Annotation of /branches/dev-api-3/xvidcore/src/bitstream/mbcoding.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 631 - (view) (download)

1 : Isibaar 3 #ifndef _MB_CODING_H_
2 :     #define _MB_CODING_H_
3 :    
4 :     #include "../portab.h"
5 :     #include "../global.h"
6 : Isibaar 100 #include "bitstream.h"
7 : Isibaar 3
8 : Isibaar 100 void init_vlc_tables(void);
9 : Isibaar 3
10 : suxen_drol 248 int check_resync_marker(Bitstream * bs, int addbits);
11 :    
12 : suxen_drol 622 void bs_put_spritetrajectory(Bitstream * bs, const int val);
13 : suxen_drol 631 int bs_get_spritetrajectory(Bitstream * bs);
14 : chl 619
15 : Isibaar 3 int get_mcbpc_intra(Bitstream * bs);
16 :     int get_mcbpc_inter(Bitstream * bs);
17 : edgomez 195 int get_cbpy(Bitstream * bs,
18 :     int intra);
19 :     int get_mv(Bitstream * bs,
20 :     int fcode);
21 : Isibaar 3
22 : edgomez 195 int get_dc_dif(Bitstream * bs,
23 :     uint32_t dc_size);
24 : Isibaar 3 int get_dc_size_lum(Bitstream * bs);
25 :     int get_dc_size_chrom(Bitstream * bs);
26 :    
27 : chl 530 static int get_coeff(Bitstream * bs,
28 : edgomez 195 int *run,
29 :     int *last,
30 :     int intra,
31 :     int short_video_header);
32 : Isibaar 3
33 : edgomez 195 void get_intra_block(Bitstream * bs,
34 :     int16_t * block,
35 :     int direction,
36 :     int coeff);
37 :     void get_inter_block(Bitstream * bs,
38 : h 543 int16_t * block,
39 :     int direction);
40 : Isibaar 3
41 : suxen_drol 248
42 : edgomez 195 void MBCodingBVOP(const MACROBLOCK * mb,
43 :     const int16_t qcoeff[6 * 64],
44 : suxen_drol 152 const int32_t fcode,
45 :     const int32_t bcode,
46 : edgomez 195 Bitstream * bs,
47 : h 543 Statistics * pStat,
48 :     int alternate_scan);
49 : suxen_drol 118
50 : chl 530
51 :     static __inline void
52 :     MBSkip(Bitstream * bs)
53 :     {
54 :     BitstreamPutBit(bs, 1); // not coded
55 :     }
56 :    
57 : edgomez 195 #endif /* _MB_CODING_H_ */

No admin address has been configured
ViewVC Help
Powered by ViewVC 1.0.4