msxml4/tests: Copy namespaces as attributes tests.
[wine.git] / include / d2d1effects_1.idl
blob03616b770e6abe8aa087b2dc099870e316354873
1 /*
2 * Copyright 2022 Ziqing Hui 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
19 import "d2d1effects.idl";
21 cpp_quote("DEFINE_GUID(CLSID_D2D1YCbCr, 0x99503cc1,0x66c7,0x45c9,0xa8,0x75,0x8a,0xd8,0xa7,0x91,0x44,0x01);")
23 typedef enum D2D1_YCBCR_PROP
25 D2D1_YCBCR_PROP_CHROMA_SUBSAMPLING = 0x0,
26 D2D1_YCBCR_PROP_TRANSFORM_MATRIX = 0x1,
27 D2D1_YCBCR_PROP_INTERPOLATION_MODE = 0x2,
28 D2D1_YCBCR_PROP_FORCE_DWORD = 0xffffffff
29 } D2D1_YCBCR_PROP;
31 typedef enum D2D1_YCBCR_CHROMA_SUBSAMPLING
33 D2D1_YCBCR_CHROMA_SUBSAMPLING_AUTO = 0x0,
34 D2D1_YCBCR_CHROMA_SUBSAMPLING_420 = 0x1,
35 D2D1_YCBCR_CHROMA_SUBSAMPLING_422 = 0x2,
36 D2D1_YCBCR_CHROMA_SUBSAMPLING_444 = 0x3,
37 D2D1_YCBCR_CHROMA_SUBSAMPLING_440 = 0x4,
38 D2D1_YCBCR_CHROMA_SUBSAMPLING_FORCE_DWORD = 0xffffffff
39 } D2D1_YCBCR_CHROMA_SUBSAMPLING;
41 typedef enum D2D1_YCBCR_INTERPOLATION_MODE
43 D2D1_YCBCR_INTERPOLATION_MODE_NEAREST_NEIGHBOR = 0x0,
44 D2D1_YCBCR_INTERPOLATION_MODE_LINEAR = 0x1,
45 D2D1_YCBCR_INTERPOLATION_MODE_CUBIC = 0x2,
46 D2D1_YCBCR_INTERPOLATION_MODE_MULTI_SAMPLE_LINEAR = 0x3,
47 D2D1_YCBCR_INTERPOLATION_MODE_ANISOTROPIC = 0x4,
48 D2D1_YCBCR_INTERPOLATION_MODE_HIGH_QUALITY_CUBIC = 0x5,
49 D2D1_YCBCR_INTERPOLATION_MODE_FORCE_DWORD = 0xffffffff
50 } D2D1_YCBCR_INTERPOLATION_MODE;