2 * Copyright 2020 Nikolay Sivov for CodeWeavers
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.
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.
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
21 import
"dxva2api.idl";
23 typedef struct MFVideoAlphaBitmapParams
28 MFVideoNormalizedRect nrcDest
;
31 } MFVideoAlphaBitmapParams
;
33 typedef struct MFVideoAlphaBitmap
39 IDirect3DSurface9
*pDDS
;
41 MFVideoAlphaBitmapParams params
;
46 uuid(814c7b20
-0fdb
-4eec
-af8f
-f957c8f69edc
),
49 interface IMFVideoMixerBitmap
: IUnknown
51 HRESULT SetAlphaBitmap
(
52 [in] const MFVideoAlphaBitmap
*bitmap
54 HRESULT ClearAlphaBitmap
(void);
55 HRESULT UpdateAlphaBitmapParameters
(
56 [in] const MFVideoAlphaBitmapParams
*params
58 HRESULT GetAlphaBitmapParameters
(
59 [out] MFVideoAlphaBitmapParams
*params
65 uuid(6ab0000c
-fece
-4d1f
-a2ac
-a9573530656e
),
66 pointer_default(unique)
68 interface IMFVideoProcessor
: IUnknown
70 HRESULT GetAvailableVideoProcessorModes
(
72 [out, size_is(*count
)] GUID
**modes
74 HRESULT GetVideoProcessorCaps
(
76 [out] DXVA2_VideoProcessorCaps
*caps
78 HRESULT GetVideoProcessorMode
(
81 HRESULT SetVideoProcessorMode
(
84 HRESULT GetProcAmpRange
(
86 [out] DXVA2_ValueRange
*range
88 HRESULT GetProcAmpValues
(
90 [out] DXVA2_ProcAmpValues
*values
92 HRESULT SetProcAmpValues
(
94 [in] DXVA2_ProcAmpValues
*values
96 HRESULT GetFilteringRange
(
98 [out] DXVA2_ValueRange
*range
100 HRESULT GetFilteringValue
(
102 [out] DXVA2_Fixed32
*value
104 HRESULT SetFilteringValue
(
106 [in] DXVA2_Fixed32
*value
108 HRESULT GetBackgroundColor
(
109 [out] COLORREF
*color
111 HRESULT SetBackgroundColor
(