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

Diff of /trunk/xvidcore/vfw/src/codec.h

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

revision 1382, Mon Mar 22 22:36:25 2004 UTC revision 1952, Wed Feb 16 19:04:39 2011 UTC
# Line 3  Line 3 
3   *  XVID MPEG-4 VIDEO CODEC   *  XVID MPEG-4 VIDEO CODEC
4   *  - VFW codec header  -   *  - VFW codec header  -
5   *   *
6   *  Copyright(C) 2002-2003 Anonymous <xvid-devel@xvid.org>   *  Copyright(C) Peter Ross <pross@xvid.org>
7   *   *
8   *  This program is free software ; you can redistribute it and/or modify   *  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   *  it under the terms of the GNU General Public License as published by
# Line 19  Line 19 
19   *  along with this program ; if not, write to the Free Software   *  along with this program ; if not, write to the Free Software
20   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
21   *   *
22   * $Id: codec.h,v 1.2 2004-03-22 22:36:25 edgomez Exp $   * $Id: codec.h,v 1.8 2011-02-16 18:59:45 Isibaar Exp $
23   *   *
24   ****************************************************************************/   ****************************************************************************/
25  #ifndef _CODEC_H_  #ifndef _CODEC_H_
# Line 30  Line 30 
30  #include "status.h"  #include "status.h"
31    
32  #define XVID_NAME_L             L"XVID"  #define XVID_NAME_L             L"XVID"
33  #define XVID_DESC_L             L"XviD MPEG-4 Codec"  #define XVID_DESC_L             L"Xvid MPEG-4 Codec"
34    
35  #define FOURCC_XVID     mmioFOURCC('X','V','I','D')  #define FOURCC_XVID     mmioFOURCC('X','V','I','D')
36  #define FOURCC_DIVX     mmioFOURCC('D','I','V','X')  #define FOURCC_DIVX     mmioFOURCC('D','I','V','X')
37  #define FOURCC_DX50 mmioFOURCC('D','X','5','0')  #define FOURCC_DX50 mmioFOURCC('D','X','5','0')
38    #define FOURCC_MP4V     mmioFOURCC('M','P','4','V')
39    #define FOURCC_xvid     mmioFOURCC('x','v','i','d')
40    #define FOURCC_divx     mmioFOURCC('d','i','v','x')
41    #define FOURCC_dx50     mmioFOURCC('d','x','5','0')
42    #define FOURCC_mp4v     mmioFOURCC('m','p','4','v')
43    
44  /* yuyu         4:2:2 16bit, y-u-y-v, packed*/  /* yuyu         4:2:2 16bit, y-u-y-v, packed*/
45  #define FOURCC_YUYV     mmioFOURCC('Y','U','Y','V')  #define FOURCC_YUYV     mmioFOURCC('Y','U','Y','V')
46  #define FOURCC_YUY2     mmioFOURCC('Y','U','Y','2')  #define FOURCC_YUY2     mmioFOURCC('Y','U','Y','2')
# Line 66  Line 72 
72          int framenum;          int framenum;
73          int keyspacing;          int keyspacing;
74    
75            HINSTANCE m_hdll;
76            int (*xvid_global_func)(void *handle, int opt, void *param1, void *param2);
77            int (*xvid_encore_func)(void *handle, int opt, void *param1, void *param2);
78            int (*xvid_decore_func)(void *handle, int opt, void *param1, void *param2);
79    
80            xvid_plugin_func *xvid_plugin_single_func;
81            xvid_plugin_func *xvid_plugin_2pass1_func;
82            xvid_plugin_func *xvid_plugin_2pass2_func;
83            xvid_plugin_func *xvid_plugin_lumimasking_func;
84            xvid_plugin_func *xvid_plugin_psnr_func;
85    
86  } CODEC;  } CODEC;
87    
88    
# Line 84  Line 101 
101  LRESULT decompress_end(CODEC *);  LRESULT decompress_end(CODEC *);
102  LRESULT decompress(CODEC *, ICDECOMPRESS *);  LRESULT decompress(CODEC *, ICDECOMPRESS *);
103    
104  extern HINSTANCE m_hdll;  extern int pp_brightness, pp_dy, pp_duv, pp_fe, pp_dry, pp_druv; /* decoder options */
 extern int (*xvid_global_func)(void *handle, int opt, void *param1, void *param2);  
 extern int (*xvid_encore_func)(void *handle, int opt, void *param1, void *param2);  
 extern int (*xvid_decore_func)(void *handle, int opt, void *param1, void *param2);  
   
 extern xvid_plugin_func *xvid_plugin_single_func,  
                                 *xvid_plugin_2pass1_func,  
                                 *xvid_plugin_2pass2_func,  
                                 *xvid_plugin_lumimasking_func,  
                                 *xvid_plugin_psnr_func;  
   
 extern int pp_dy, pp_duv, pp_dr, pp_fe; /* decoder options */  
105    
106  #endif /* _CODEC_H_ */  #endif /* _CODEC_H_ */

Legend:
Removed from v.1382  
changed lines
  Added in v.1952

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