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

Diff of /xvidcore/src/bitstream/bitstream.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.5, Fri May 3 00:45:10 2002 UTC
# Line 41  Line 41 
41    *                                                                                                                                                        *    *                                                                                                                                                        *
42    *  Revision history:                                                         *    *  Revision history:                                                         *
43    *                                                                            *    *                                                                            *
44      *  26.03.2002 interlacing support - modified putvol/vopheaders paramters
45    *  04.03.2002 putbits speedup (Isibaar)                                      *    *  04.03.2002 putbits speedup (Isibaar)                                      *
46    *  03.03.2002 merged BITREADER and BITWRITER (Isibaar)                       *    *  03.03.2002 merged BITREADER and BITWRITER (Isibaar)                       *
47    *      16.12.2001     inital version                                                     *    *      16.12.2001     inital version                                                     *
# Line 110  Line 111 
111  #define N_VOP   4  #define N_VOP   4
112    
113    
 typedef struct  
 {  
         uint32_t bufa;  
         uint32_t bufb;  
         uint32_t buf;  
         uint32_t pos;  
         uint32_t *tail;  
         uint32_t *start;  
         uint32_t length;  
 }  
 Bitstream;  
   
   
114  // header stuff  // header stuff
115  int BitstreamReadHeaders(Bitstream * bs, DECODER * dec, uint32_t * rounding,  int BitstreamReadHeaders(Bitstream * bs, DECODER * dec, uint32_t * rounding,
116                                                   uint32_t * quant, uint32_t * fcode, uint32_t * intra_dc_threshold);                                                   uint32_t * quant, uint32_t * fcode_forward, uint32_t * fcode_backward, uint32_t * intra_dc_threshold);
117    
118    
119  void BitstreamWriteVolHeader(Bitstream * const bs,  void BitstreamWriteVolHeader(Bitstream * const bs,
120                                                  const int width,                                                  const MBParam * pParam,
121                                                  const int height,                                                  const FRAMEINFO * frame);
                                                 const int quant_type);  
   
122    
123  void BitstreamWriteVopHeader(Bitstream * const bs,  void BitstreamWriteVopHeader(Bitstream * const bs,
124                            VOP_TYPE prediction_type,                                                  const MBParam * pParam,
125                            const int rounding_type,                                                  const FRAMEINFO * frame);
                           const uint32_t quant,  
                           const uint32_t fcode);  
   
126    
127  /* initialise bitstream structure */  /* initialise bitstream structure */
128    

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

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