[svn] / branches / dev-api-4 / xvidcore / src / divx4.h Repository:
ViewVC logotype

Diff of /branches/dev-api-4/xvidcore/src/divx4.h

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

trunk/xvidcore/src/divx4.h revision 677, Tue Nov 26 23:44:11 2002 UTC branches/dev-api-4/xvidcore/src/divx4.h revision 886, Fri Feb 21 14:49:29 2003 UTC
# Line 1  Line 1 
1    /*****************************************************************************
2     *
3     *  XVID MPEG-4 VIDEO CODEC
4     *  - DivX 4.0 Compatibility API -
5     *
6     *  This file is part of XviD, a free MPEG-4 video encoder/decoder
7     *
8     *  This program is free software; you can redistribute it and/or modify
9     *  it under the terms of the GNU General Public License as published by
10     *  the Free Software Foundation; either version 2 of the License, or
11     *  (at your option) any later version.
12     *
13     *  This program is distributed in the hope that it will be useful,
14     *  but WITHOUT ANY WARRANTY; without even the implied warranty of
15     *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16     *  GNU General Public License for more details.
17     *
18     *  You should have received a copy of the GNU General Public License
19     *  along with this program; if not, write to the Free Software
20     *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
21     *
22     * $Id: divx4.h,v 1.8 2003-02-17 23:15:48 edgomez Exp $
23     *
24     ****************************************************************************/
25    
26  #ifndef _DIVX4_H_  #ifndef _DIVX4_H_
27  #define _DIVX4_H_  #define _DIVX4_H_
28    
29  #ifdef __cplusplus  #ifdef __cplusplus
30  extern "C"  extern "C" {
 {  
 #endif  
   
 #if ((! defined(ARCH_IS_BIG_ENDIAN)) && (! defined (WIN32)) && (! defined (LINUX)) && (! defined (BEOS)))  
 #define ARCH_IS_BIG_ENDIAN  
31  #endif  #endif
32    
33    /*****************************************************************************
34  /*********************************************************************************   * Decoder part
35   * Decoder part                                                                  *   ****************************************************************************/
  *********************************************************************************/  
36    
37  /* decore commands */  /* decore commands */
38  #define DEC_OPT_MEMORY_REQS     0  #define DEC_OPT_MEMORY_REQS     0
# Line 133  Line 152 
152    
153    
154    
155  /*********************************************************************************  /*****************************************************************************
156   * Encoder part                                                                  *   * Encoder part
157   *********************************************************************************/   ****************************************************************************/
158    
159  /**  /**
160      Structure passed as an argument when creating encoder.      Structure passed as an argument when creating encoder.
# Line 210  Line 229 
229    
230  /* the prototype of the encore() - main encode engine entrance */  /* the prototype of the encore() - main encode engine entrance */
231          int encore(void *handle,        /* handle               - the handle of the calling entity, must be unique */          int encore(void *handle,        /* handle               - the handle of the calling entity, must be unique */
   
232                             int enc_opt,         /* enc_opt              - the option for encoding, see below */                             int enc_opt,         /* enc_opt              - the option for encoding, see below */
   
233                             void *param1,        /* param1               - the parameter 1 (its actually meaning depends on enc_opt */                             void *param1,        /* param1               - the parameter 1 (its actually meaning depends on enc_opt */
   
234                             void *param2);       /* param2               - the parameter 2 (its actually meaning depends on enc_opt */                             void *param2);       /* param2               - the parameter 2 (its actually meaning depends on enc_opt */
235    
236  /* encore options (the enc_opt parameter of encore()) */  /* encore options (the enc_opt parameter of encore()) */

Legend:
Removed from v.677  
changed lines
  Added in v.886

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