[svn] / trunk / xvidcore / src / xvid.h Repository:
ViewVC logotype

Diff of /trunk/xvidcore/src/xvid.h

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

revision 199, Thu Jun 13 12:42:18 2002 UTC revision 295, Fri Jul 12 12:26:55 2002 UTC
# Line 28  Line 28 
28  *               ToDo ? : when BFRAMES is defined, the API_VERSION should not  *               ToDo ? : when BFRAMES is defined, the API_VERSION should not
29  *                        be the same (3.0 ?)  *                        be the same (3.0 ?)
30  *  *
31  *  $Id: xvid.h,v 1.10 2002-06-13 12:42:18 edgomez Exp $  *  $Id: xvid.h,v 1.14 2002-07-12 12:26:24 suxen_drol Exp $
32  *  *
33  *****************************************************************************/  *****************************************************************************/
34    
# Line 37  Line 37 
37  #define _XVID_H_  #define _XVID_H_
38    
39  #ifdef __cplusplus  #ifdef __cplusplus
40  *  $Id: xvid.h,v 1.10 2002-06-13 12:42:18 edgomez Exp $  *  $Id: xvid.h,v 1.14 2002-07-12 12:26:24 suxen_drol Exp $
41  #endif  #endif
42    
43  /*****************************************************************************  /*****************************************************************************
# Line 85  Line 85 
85  #define XVID_CPU_3DNOWEXT       0x00000020  #define XVID_CPU_3DNOWEXT       0x00000020
86    
87  #define XVID_CPU_TSC            0x00000040  #define XVID_CPU_TSC            0x00000040
88    
89  #define XVID_CPU_IA64           0x00000080  #define XVID_CPU_IA64           0x00000080
90    
91  #define XVID_CPU_CHKONLY        0x40000000              /* check cpu only; dont init globals */  #define XVID_CPU_CHKONLY        0x40000000              /* check cpu only; dont init globals */
92  #define XVID_CPU_FORCE          0x80000000  #define XVID_CPU_FORCE          0x80000000
93    
94    
95    /*****************************************************************************
96   *  Initialization structures   *  Initialization structures
97     ****************************************************************************/
98    
99            typedef struct
100            {
101                  int cpu_flags;                  int cpu_flags;
102                  int api_version;                  int api_version;
103                  int core_build;                  int core_build;
# Line 169  Line 175 
175  #define XVID_VALID_FLAGS                0x80000000  #define XVID_VALID_FLAGS                0x80000000
176    
177  #define XVID_CUSTOM_QMATRIX             0x00000004      /* use custom quant matrix */  #define XVID_CUSTOM_QMATRIX             0x00000004      /* use custom quant matrix */
178    #define XVID_H263QUANT                  0x00000010
179    #define XVID_MPEGQUANT                  0x00000020
180    #define XVID_HALFPEL                    0x00000040      /* use halfpel interpolation */
181    #define XVID_ADAPTIVEQUANT              0x00000080
182    #define XVID_LUMIMASKING                0x00000100
183  #define XVID_LATEINTRA                  0x00000200  #define XVID_LATEINTRA                  0x00000200
184    
185  #define XVID_INTERLACING                0x00000400      /* enable interlaced encoding */  #define XVID_INTERLACING                0x00000400      /* enable interlaced encoding */
# Line 234  Line 245 
245                  int bquant_ratio;               /* bframe quantizer multipier (percentage).                  int bquant_ratio;               /* bframe quantizer multipier (percentage).
246                                                                   * used only when bquant < 1                                                                   * used only when bquant < 1
247                                                                   * eg. 200 = x2 multiplier                                                                   * eg. 200 = x2 multiplier
248                                                                     * quant = ((past_quant + future_quant) * bquant_ratio)/200
249                                                                     */
250                    int frame_drop_ratio;   /* frame dropping: 0=drop none... 100=drop all */
251  #endif  #endif
252                    void *handle;                   /* [out] encoder instance handle */
253          }          }
254          XVID_ENC_PARAM;          XVID_ENC_PARAM;
255    
# Line 298  Line 313 
313          typedef struct          typedef struct
314          {          {
315                  int quant;                              /* [out] frame quantizer */                  int quant;                              /* [out] frame quantizer */
                 int input_consumed;             /* [out] */  
316                  int hlength;                    /* [out] header length (bytes) */                  int hlength;                    /* [out] header length (bytes) */
317                  int kblks, mblks, ublks;        /* [out] */                  int kblks, mblks, ublks;        /* [out] */
318    

Legend:
Removed from v.199  
changed lines
  Added in v.295

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