blob: b1fedb8cf4632a417630bb212b9bd8dc0368e69c [file] [log] [blame]
Hidenori Takeshimaae6075c2002-03-12 19:20:44 +00001/*
Alexandre Julliarda92e3972002-03-22 19:20:11 +00002 * Copyright (C) 2002 Alexandre Julliard
Hidenori Takeshimaae6075c2002-03-12 19:20:44 +00003 *
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
8 *
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
13 *
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
Jonathan Ernst360a3f92006-05-18 14:49:52 +020016 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
Hidenori Takeshimaae6075c2002-03-12 19:20:44 +000017 */
18
Alexandre Julliarda92e3972002-03-22 19:20:11 +000019#ifndef __DMOREG_H__
20#define __DMOREG_H__
Hidenori Takeshimaae6075c2002-03-12 19:20:44 +000021
Francois Gouget12042c02007-06-12 17:50:49 +020022#include "mediaobj.h"
23
Ozkan Sezer95a2f9d2010-02-14 12:04:51 +020024#ifdef __cplusplus
25extern "C" {
26#endif
27
Alexandre Julliarda92e3972002-03-22 19:20:11 +000028typedef struct _DMO_PARTIAL_MEDIATYPE
Hidenori Takeshimaae6075c2002-03-12 19:20:44 +000029{
Alexandre Julliarda92e3972002-03-22 19:20:11 +000030 GUID type;
31 GUID subtype;
32} DMO_PARTIAL_MEDIATYPE, *PDMO_PARTIAL_MEDIATYPE;
Hidenori Takeshimaae6075c2002-03-12 19:20:44 +000033
Alexandre Julliarda92e3972002-03-22 19:20:11 +000034enum DMO_REGISTER_FLAGS
35{
36 DMO_REGISTERF_IS_KEYED = 1
37};
Hidenori Takeshimaae6075c2002-03-12 19:20:44 +000038
Alexandre Julliarda92e3972002-03-22 19:20:11 +000039enum DMO_ENUM_FLAGS
40{
41 DMO_ENUMF_INCLUDE_KEYED = 1
42};
Hidenori Takeshimaae6075c2002-03-12 19:20:44 +000043
Alexandre Julliarda92e3972002-03-22 19:20:11 +000044HRESULT WINAPI DMORegister(LPCWSTR,REFCLSID,REFGUID,DWORD,DWORD,const DMO_PARTIAL_MEDIATYPE*,
45 DWORD,const DMO_PARTIAL_MEDIATYPE*);
46HRESULT WINAPI DMOUnregister(REFCLSID,REFGUID);
47HRESULT WINAPI DMOEnum(REFGUID,DWORD,DWORD,const DMO_PARTIAL_MEDIATYPE*,DWORD,
48 const DMO_PARTIAL_MEDIATYPE*,IEnumDMO**);
Francois Gougete84562a2007-06-12 17:52:20 +020049HRESULT WINAPI DMOGetTypes(REFCLSID,ULONG,ULONG*,DMO_PARTIAL_MEDIATYPE*,
50 ULONG,ULONG*,DMO_PARTIAL_MEDIATYPE*);
Francois Gougetd2237162007-10-14 14:36:00 +020051HRESULT WINAPI DMOGetName(REFCLSID,WCHAR[80]);
Hidenori Takeshimaae6075c2002-03-12 19:20:44 +000052
Alexandre Julliarda92e3972002-03-22 19:20:11 +000053DEFINE_GUID(DMOCATEGORY_AUDIO_DECODER,
54 0x57f2db8b,0xe6bb,0x4513,0x9d,0x43,0xdc,0xd2,0xa6,0x59,0x31,0x25);
55DEFINE_GUID(DMOCATEGORY_AUDIO_ENCODER,
56 0x33d9a761,0x90c8,0x11d0,0xbd,0x43,0x00,0xa0,0xc9,0x11,0xce,0x86);
57DEFINE_GUID(DMOCATEGORY_VIDEO_DECODER,
58 0x4a69b442,0x28be,0x4991,0x96,0x9c,0xb5,0x00,0xad,0xf5,0xd8,0xa8);
59DEFINE_GUID(DMOCATEGORY_VIDEO_ENCODER,
60 0x33d9a760,0x90c8,0x11d0,0xbd,0x43,0x00,0xa0,0xc9,0x11,0xce,0x86);
61DEFINE_GUID(DMOCATEGORY_AUDIO_EFFECT,
62 0xf3602b3f,0x0592,0x48df,0xa4,0xcd,0x67,0x47,0x21,0xe7,0xeb,0xeb);
63DEFINE_GUID(DMOCATEGORY_VIDEO_EFFECT,
64 0xd990ee14,0x776c,0x4723,0xbe,0x46,0x3d,0xa2,0xf5,0x6f,0x10,0xb9);
65DEFINE_GUID(DMOCATEGORY_AUDIO_CAPTURE_EFFECT,
66 0xf665aaba,0x3e09,0x4920,0xaa,0x5f,0x21,0x98,0x11,0x14,0x8f,0x09);
67DEFINE_GUID(DMOCATEGORY_ACOUSTIC_ECHO_CANCEL,
68 0xbf963d80,0xc559,0x11d0,0x8a,0x2b,0x00,0xa0,0xc9,0x25,0x5a,0xc1);
69DEFINE_GUID(DMOCATEGORY_AUDIO_NOISE_SUPPRESS,
70 0xe07f903f,0x62fd,0x4e60,0x8c,0xdd,0xde,0xa7,0x23,0x66,0x65,0xb5);
71DEFINE_GUID(DMOCATEGORY_AGC,
72 0xe88c9ba0,0xc557,0x11d0,0x8a,0x2b,0x00,0xa0,0xc9,0x25,0x5a,0xc1);
Hidenori Takeshimaae6075c2002-03-12 19:20:44 +000073
Ozkan Sezer95a2f9d2010-02-14 12:04:51 +020074#ifdef __cplusplus
75}
76#endif
77
Alexandre Julliarda92e3972002-03-22 19:20:11 +000078#endif /* __DMOREG_H__ */