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

Diff of /xvidcore/src/encoder.h

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

revision 1.7, Mon May 6 10:07:19 2002 UTC revision 1.9, Wed Jun 12 20:38:40 2002 UTC
# Line 19  Line 19 
19  #include "portab.h"  #include "portab.h"
20  #include "global.h"  #include "global.h"
21  #include "image/image.h"  #include "image/image.h"
22    #include "utils/ratecontrol.h"
23    
24  #define H263_QUANT      0  #define H263_QUANT      0
25  #define MPEG4_QUANT     1  #define MPEG4_QUANT     1
# Line 77  Line 77 
77          uint32_t m_ticks;          uint32_t m_ticks;
78  #endif  #endif
79    
80  } MBParam;  }
81    MBParam;
82    
83    
84  typedef struct  typedef struct
# Line 100  Line 101 
101    
102          MACROBLOCK * mbs;          MACROBLOCK * mbs;
103    
104  } FRAMEINFO;  }
105    FRAMEINFO;
106    
107  typedef struct  typedef struct
108  {  {
# Line 152  Line 154 
154      IMAGE f_refhv;      IMAGE f_refhv;
155  #endif  #endif
156      Statistics sStat;      Statistics sStat;
157            RateControl rate_control;
158  }  }
159  Encoder;  Encoder;
160    
# Line 163  Line 166 
166    
167  int encoder_create(XVID_ENC_PARAM * pParam);  int encoder_create(XVID_ENC_PARAM * pParam);
168  int encoder_destroy(Encoder * pEnc);  int encoder_destroy(Encoder * pEnc);
169  int encoder_encode(Encoder * pEnc, XVID_ENC_FRAME * pFrame, XVID_ENC_STATS * pResult);  int encoder_encode(Encoder * pEnc,
170                                       XVID_ENC_FRAME * pFrame,
171                                       XVID_ENC_STATS * pResult);
172    
173  static __inline uint8_t get_fcode(uint16_t sr)  static __inline uint8_t
174    get_fcode(uint16_t sr)
175  {  {
176      if (sr <= 16)      if (sr <= 16)
177                  return 1;                  return 1;

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.9

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