1 |
|
/***************************************************************************** |
2 |
|
* |
3 |
|
* XVID MPEG-4 VIDEO CODEC |
4 |
|
* - XviD Decoder part of the DShow Filter - |
5 |
|
* |
6 |
|
* Copyright(C) 2002-2003 Peter Ross <pross@xvid.org> |
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: CXvidDecoder.h,v 1.1.2.3 2003-11-15 02:51:41 suxen_drol Exp $ |
23 |
|
* |
24 |
|
****************************************************************************/ |
25 |
|
|
26 |
#ifndef _FILTER_H_ |
#ifndef _FILTER_H_ |
27 |
#define _FILTER_H_ |
#define _FILTER_H_ |
28 |
|
|
65 |
DEFINE_GUID(CLSID_DX50_UC, mmioFOURCC('D','X','5','0'), 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71); |
DEFINE_GUID(CLSID_DX50_UC, mmioFOURCC('D','X','5','0'), 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71); |
66 |
|
|
67 |
|
|
68 |
|
/* MEDIATYPE_IYUV is not always defined in the directx headers */ |
69 |
|
DEFINE_GUID(CLSID_MEDIASUBTYPE_IYUV, 0x56555949, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71); |
70 |
|
|
71 |
|
|
72 |
class CXvidDecoder : public CVideoTransformFilter, public IXvidDecoder, public ISpecifyPropertyPages |
class CXvidDecoder : public CVideoTransformFilter, public IXvidDecoder, public ISpecifyPropertyPages |
73 |
{ |
{ |
74 |
|
|
97 |
|
|
98 |
HRESULT ChangeColorspace(GUID subtype, GUID formattype, void * format); |
HRESULT ChangeColorspace(GUID subtype, GUID formattype, void * format); |
99 |
|
|
|
// data |
|
|
|
|
|
HINSTANCE m_hdll; |
|
|
int (*m_xvid_global)(void *, int, void *, void *); |
|
|
int (*m_xvid_decore)(void *, int, void *, void *); |
|
|
|
|
100 |
xvid_dec_create_t m_create; |
xvid_dec_create_t m_create; |
101 |
xvid_dec_frame_t m_frame; |
xvid_dec_frame_t m_frame; |
102 |
}; |
}; |