[cvs] / xvidcore / src / bitstream / mbcoding.h Repository:
ViewVC logotype

Diff of /xvidcore/src/bitstream/mbcoding.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1, Fri Mar 8 02:44:35 2002 UTC revision 1.8.2.5, Thu Nov 7 10:28:15 2002 UTC
# Line 3  Line 3 
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    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);  static int get_coeff(Bitstream * bs,
28                              int *run,
29  void get_intra_block(Bitstream * bs, int16_t * block, int direction, int coeff);                            int *last,
30  void get_inter_block(Bitstream * bs, int16_t * block);                            int intra,
31                              int short_video_header);
32    
33    void get_intra_block(Bitstream * bs,
34                                             int16_t * block,
35                                             int direction,
36                                             int coeff);
37    void get_inter_block(Bitstream * bs,
38                                             int16_t * block,
39                                             int direction);
40    
41    
42    void MBCodingBVOP(const MACROBLOCK * mb,
43                                      const int16_t qcoeff[6 * 64],
44                                      const int32_t fcode,
45                                      const int32_t bcode,
46                                      Bitstream * bs,
47                                      Statistics * pStat,
48                                      int alternate_scan);
49    
50    
51    static __inline void
52    MBSkip(Bitstream * bs)
53    {
54            BitstreamPutBit(bs, 1); // not coded
55    }
56    
57  #endif /* _MB_CODING_H_ */  #endif /* _MB_CODING_H_ */

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.8.2.5

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