[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.8, Sun Jun 30 10:46:29 2002 UTC revision 1.11, Sat Feb 15 15:22:18 2003 UTC
# Line 3  Line 3 
3    
4  #include "../portab.h"  #include "../portab.h"
5  #include "../global.h"  #include "../global.h"
6    #include "vlc_codes.h"
7  #include "bitstream.h"  #include "bitstream.h"
8    
9  void init_vlc_tables(void);  void init_vlc_tables(void);
10    
11  int check_resync_marker(Bitstream * bs, int addbits);  int check_resync_marker(Bitstream * bs, int addbits);
12    
13    void bs_put_spritetrajectory(Bitstream * bs, const int val);
14    int bs_get_spritetrajectory(Bitstream * bs);
15    
16  int get_mcbpc_intra(Bitstream * bs);  int get_mcbpc_intra(Bitstream * bs);
17  int get_mcbpc_inter(Bitstream * bs);  int get_mcbpc_inter(Bitstream * bs);
18  int get_cbpy(Bitstream * bs,  int get_cbpy(Bitstream * bs,
# Line 21  Line 25 
25  int get_dc_size_lum(Bitstream * bs);  int get_dc_size_lum(Bitstream * bs);
26  int get_dc_size_chrom(Bitstream * bs);  int get_dc_size_chrom(Bitstream * bs);
27    
 int get_coeff(Bitstream * bs,  
                           int *run,  
                           int *last,  
                           int intra,  
                           int short_video_header);  
   
28  void get_intra_block(Bitstream * bs,  void get_intra_block(Bitstream * bs,
29                                           int16_t * block,                                           int16_t * block,
30                                           int direction,                                           int direction,
31                                           int coeff);                                           int coeff);
32  void get_inter_block(Bitstream * bs,  void get_inter_block(Bitstream * bs,
33                                           int16_t * block);                                           int16_t * block,
34                                             int direction);
35    
36    
37  void MBCodingBVOP(const MACROBLOCK * mb,  void MBCodingBVOP(const MACROBLOCK * mb,
# Line 40  Line 39 
39                                    const int32_t fcode,                                    const int32_t fcode,
40                                    const int32_t bcode,                                    const int32_t bcode,
41                                    Bitstream * bs,                                    Bitstream * bs,
42                                    Statistics * pStat);                                    Statistics * pStat,
43                                      int alternate_scan);
44    
45    
46    static __inline void
47    MBSkip(Bitstream * bs)
48    {
49            BitstreamPutBit(bs, 1); // not coded
50    }
51    
52    
53    #ifdef BIGLUT
54    extern VLC *intra_table;
55    int CodeCoeff_CalcBits(const int16_t qcoeff[64], VLC * table, const uint16_t * zigzag, uint16_t intra);
56    #else
57    int CodeCoeffIntra_CalcBits(const int16_t qcoeff[64], const uint16_t * zigzag);
58    #endif
59    
60  #endif                                                  /* _MB_CODING_H_ */  #endif                                                  /* _MB_CODING_H_ */

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.11

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