1 | /*
|
---|
2 | * Copyright (C) 2002 Alexandre Julliard
|
---|
3 | *
|
---|
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
|
---|
16 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
---|
17 | */
|
---|
18 |
|
---|
19 | /*
|
---|
20 | * Oracle LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
|
---|
21 | * other than GPL or LGPL is available it will apply instead, Oracle elects to use only
|
---|
22 | * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
|
---|
23 | * a choice of LGPL license versions is made available with the language indicating
|
---|
24 | * that LGPLv2 or any later version may be used, or where a choice of which version
|
---|
25 | * of the LGPL is applied is otherwise unspecified.
|
---|
26 | */
|
---|
27 |
|
---|
28 | #ifndef __DMOREG_H__
|
---|
29 | #define __DMOREG_H__
|
---|
30 |
|
---|
31 | #include "mediaobj.h"
|
---|
32 |
|
---|
33 | #ifdef __cplusplus
|
---|
34 | extern "C" {
|
---|
35 | #endif
|
---|
36 |
|
---|
37 | typedef struct _DMO_PARTIAL_MEDIATYPE
|
---|
38 | {
|
---|
39 | GUID type;
|
---|
40 | GUID subtype;
|
---|
41 | } DMO_PARTIAL_MEDIATYPE, *PDMO_PARTIAL_MEDIATYPE;
|
---|
42 |
|
---|
43 | enum DMO_REGISTER_FLAGS
|
---|
44 | {
|
---|
45 | DMO_REGISTERF_IS_KEYED = 1
|
---|
46 | };
|
---|
47 |
|
---|
48 | enum DMO_ENUM_FLAGS
|
---|
49 | {
|
---|
50 | DMO_ENUMF_INCLUDE_KEYED = 1
|
---|
51 | };
|
---|
52 |
|
---|
53 | HRESULT WINAPI DMORegister(LPCWSTR,REFCLSID,REFGUID,DWORD,DWORD,const DMO_PARTIAL_MEDIATYPE*,
|
---|
54 | DWORD,const DMO_PARTIAL_MEDIATYPE*);
|
---|
55 | HRESULT WINAPI DMOUnregister(REFCLSID,REFGUID);
|
---|
56 | HRESULT WINAPI DMOEnum(REFGUID,DWORD,DWORD,const DMO_PARTIAL_MEDIATYPE*,DWORD,
|
---|
57 | const DMO_PARTIAL_MEDIATYPE*,IEnumDMO**);
|
---|
58 | HRESULT WINAPI DMOGetTypes(REFCLSID,ULONG,ULONG*,DMO_PARTIAL_MEDIATYPE*,
|
---|
59 | ULONG,ULONG*,DMO_PARTIAL_MEDIATYPE*);
|
---|
60 | HRESULT WINAPI DMOGetName(REFCLSID,WCHAR[80]);
|
---|
61 |
|
---|
62 | DEFINE_GUID(DMOCATEGORY_AUDIO_DECODER,
|
---|
63 | 0x57f2db8b,0xe6bb,0x4513,0x9d,0x43,0xdc,0xd2,0xa6,0x59,0x31,0x25);
|
---|
64 | DEFINE_GUID(DMOCATEGORY_AUDIO_ENCODER,
|
---|
65 | 0x33d9a761,0x90c8,0x11d0,0xbd,0x43,0x00,0xa0,0xc9,0x11,0xce,0x86);
|
---|
66 | DEFINE_GUID(DMOCATEGORY_VIDEO_DECODER,
|
---|
67 | 0x4a69b442,0x28be,0x4991,0x96,0x9c,0xb5,0x00,0xad,0xf5,0xd8,0xa8);
|
---|
68 | DEFINE_GUID(DMOCATEGORY_VIDEO_ENCODER,
|
---|
69 | 0x33d9a760,0x90c8,0x11d0,0xbd,0x43,0x00,0xa0,0xc9,0x11,0xce,0x86);
|
---|
70 | DEFINE_GUID(DMOCATEGORY_AUDIO_EFFECT,
|
---|
71 | 0xf3602b3f,0x0592,0x48df,0xa4,0xcd,0x67,0x47,0x21,0xe7,0xeb,0xeb);
|
---|
72 | DEFINE_GUID(DMOCATEGORY_VIDEO_EFFECT,
|
---|
73 | 0xd990ee14,0x776c,0x4723,0xbe,0x46,0x3d,0xa2,0xf5,0x6f,0x10,0xb9);
|
---|
74 | DEFINE_GUID(DMOCATEGORY_AUDIO_CAPTURE_EFFECT,
|
---|
75 | 0xf665aaba,0x3e09,0x4920,0xaa,0x5f,0x21,0x98,0x11,0x14,0x8f,0x09);
|
---|
76 | DEFINE_GUID(DMOCATEGORY_ACOUSTIC_ECHO_CANCEL,
|
---|
77 | 0xbf963d80,0xc559,0x11d0,0x8a,0x2b,0x00,0xa0,0xc9,0x25,0x5a,0xc1);
|
---|
78 | DEFINE_GUID(DMOCATEGORY_AUDIO_NOISE_SUPPRESS,
|
---|
79 | 0xe07f903f,0x62fd,0x4e60,0x8c,0xdd,0xde,0xa7,0x23,0x66,0x65,0xb5);
|
---|
80 | DEFINE_GUID(DMOCATEGORY_AGC,
|
---|
81 | 0xe88c9ba0,0xc557,0x11d0,0x8a,0x2b,0x00,0xa0,0xc9,0x25,0x5a,0xc1);
|
---|
82 |
|
---|
83 | #ifdef __cplusplus
|
---|
84 | }
|
---|
85 | #endif
|
---|
86 |
|
---|
87 | #endif /* __DMOREG_H__ */
|
---|