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 |
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.3 2004-04-01 11:11:28 suxen_drol Exp $ |
* $Id: codec.h,v 1.7 2010-12-02 06:46:07 Isibaar Exp $ |
23 |
* |
* |
24 |
****************************************************************************/ |
****************************************************************************/ |
25 |
#ifndef _CODEC_H_ |
#ifndef _CODEC_H_ |
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') |
66 |
int framenum; |
int framenum; |
67 |
int keyspacing; |
int keyspacing; |
68 |
|
|
69 |
|
HINSTANCE m_hdll; |
70 |
|
int (*xvid_global_func)(void *handle, int opt, void *param1, void *param2); |
71 |
|
int (*xvid_encore_func)(void *handle, int opt, void *param1, void *param2); |
72 |
|
int (*xvid_decore_func)(void *handle, int opt, void *param1, void *param2); |
73 |
|
|
74 |
|
xvid_plugin_func *xvid_plugin_single_func; |
75 |
|
xvid_plugin_func *xvid_plugin_2pass1_func; |
76 |
|
xvid_plugin_func *xvid_plugin_2pass2_func; |
77 |
|
xvid_plugin_func *xvid_plugin_lumimasking_func; |
78 |
|
xvid_plugin_func *xvid_plugin_psnr_func; |
79 |
|
|
80 |
} CODEC; |
} CODEC; |
81 |
|
|
82 |
|
|
95 |
LRESULT decompress_end(CODEC *); |
LRESULT decompress_end(CODEC *); |
96 |
LRESULT decompress(CODEC *, ICDECOMPRESS *); |
LRESULT decompress(CODEC *, ICDECOMPRESS *); |
97 |
|
|
98 |
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_brightness, pp_dy, pp_duv, pp_dr, pp_fe; /* decoder options */ |
|
99 |
|
|
100 |
#endif /* _CODEC_H_ */ |
#endif /* _CODEC_H_ */ |