Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Mar 30, 2019. It is now read-only.
/SharpDXPublic archive

Commit4ea05ce

Browse files
committed
[MediaFoundation] Revert "remove" to keep around mapping.xml for MediaFoundation/DirectX
This reverts commite1fe8a6.
1 parent829e3aa commit4ea05ce

File tree

1 file changed

+137
-0
lines changed

1 file changed

+137
-0
lines changed
Lines changed: 137 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,137 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!--
3+
// Copyright (c) 2010-2014 SharpDX - Alexandre Mutel
4+
//
5+
// Permission is hereby granted, free of charge, to any person obtaining a copy
6+
// of this software and associated documentation files (the "Software"), to deal
7+
// in the Software without restriction, including without limitation the rights
8+
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
// copies of the Software, and to permit persons to whom the Software is
10+
// furnished to do so, subject to the following conditions:
11+
//
12+
// The above copyright notice and this permission notice shall be included in
13+
// all copies or substantial portions of the Software.
14+
//
15+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21+
// THE SOFTWARE.
22+
-->
23+
<configid="sharpdx-mediafoundation-directx"xmlns="urn:SharpGen.Config">
24+
<dependency>sharpdx-core</dependency>
25+
<dependency>sharpdx-direct3d9</dependency>
26+
27+
<namespace>SharpDX.MediaFoundation.DirectX</namespace>
28+
<assembly>SharpDX.MediaFoundation</assembly>
29+
30+
<includefile="dxva2api.h"attach="true"output="DirectX">
31+
<pre>
32+
#define __AUDIODEFS_INCLUDED__
33+
</pre>
34+
</include>
35+
<includefile="dxvahd.h"attach="true"output="DirectX"/>
36+
37+
<context-setid="mediafoundation-directx-all">
38+
<context>sharpdx-mediafoundation-directx</context>
39+
<context>sharpdx-mediafoundation-directx-ext</context>
40+
<context>dxva2api</context>
41+
<context>dxvahd</context>
42+
</context-set>
43+
44+
<extension>
45+
<contextid="mediafoundation-directx-all"/>
46+
47+
<createclass="DXVAFactory" />
48+
<context-clear />
49+
</extension>
50+
51+
<mapping>
52+
<contextid="mediafoundation-directx-all"/>
53+
<!--
54+
// *****************************************************************
55+
// MediaFoundation-DirectX Enumerations
56+
// *****************************************************************
57+
-->
58+
<mapenum="DXVA2(.*)"name-tmp="$1"/>
59+
<mapenum="DXVAHD(.*)"name-tmp="$1"/>
60+
61+
<removeenum-item=".*_Mask"/>
62+
63+
<!--Use special character # to reference parent of an enum-item, when an enum is anonymous-->
64+
<mapenum="#DXVA2_DeinterlaceTech_Unknown"name="DeinterlaceTechnology"/>
65+
<mapenum-item="DXVA2_DeinterlaceTech_(.*)"name-tmp="$1"/>
66+
67+
<mapenum="#DXVA2_NoiseFilterLumaLevel"name="NoiseDetailFilter"/>
68+
<mapenum-item="DXVA2_NoiseFilter(.*)"name-tmp="Noise_$1"/>
69+
<mapenum-item="DXVA2_DetailFilter(.*)"name-tmp="Detail_$1"/>
70+
71+
<mapenum="#DXVA2_NoiseFilterTech_Unsupported"name="NoiseFilterTechnology"/>
72+
<mapenum-item="DXVA2_NoiseFilterTech_(.*)"name-tmp="$1"/>
73+
74+
<mapenum="#DXVA2_DetailFilterTech_Unsupported"name="DetailFilterTechnology"/>
75+
<mapenum-item="DXVA2_NoiseFilterTech_(.*)"name-tmp="$1"/>
76+
77+
<mapenum="#DXVA2_ProcAmp_None"name="VideoProcessorSettings"/>
78+
<mapenum-item="DXVA2_ProcAmp_(.*)"name-tmp="$1"/>
79+
80+
<mapenum="#DXVA2_VideoProcess_None"name="VideoProcessorOperations"/>
81+
<mapenum-item="DXVA2_VideoProcess_(.*)"name-tmp="$1"/>
82+
83+
<mapenum="#DXVA2_VPDev_HardwareDevice"name="VideoDeviceCapabilities"/>
84+
<mapenum-item="DXVA2_VPDev_(.*)"name-tmp="$1"/>
85+
86+
<mapenum="#DXVA2_SampleData_RFF"name="SampleData"/>
87+
<mapenum-item="DXVA2_SampleData_RFF"name="RepeatFirstFieldBit"/>
88+
<mapenum-item="DXVA2_SampleData_TFF"name="TopFieldFirstBit"/>
89+
<mapenum-item="DXVA2_SampleData_RFF_TFF_Present"name="Both"/>
90+
91+
<!--Remove unused-->
92+
<removeenum="#DXVA2_DestData_RFF"/>
93+
94+
<mapenum="#DXVA2_PictureParametersBufferType"name="CompressedBufferType"/>
95+
<mapenum-item="DXVA2_(.*)BufferType"name="$1"/>
96+
97+
<mapenum="#DXVA2_VideoDecoderRenderTarget"name="RenderTargetType"/>
98+
<mapenum-item="DXVA2_(.*)RenderTarget"name="$1"/>
99+
100+
<mapenum-item="DXVA2_NominalRange_0_255"name="Range0_255"/>
101+
<mapenum-item="DXVA2_NominalRange_16_235"name="Range16_235"/>
102+
<mapenum-item="DXVA2_NominalRange_48_208"name="Range48_208"/>
103+
<mapenum-item="DXVAHD_ITELECINE_CAPS_(.*)"name="Reverse$1"/>
104+
105+
<mapenum="DXVAHD_SURFACE_TYPE"name="SurfaceTypeHD" />
106+
107+
<!--
108+
// *****************************************************************
109+
// MediaFoundation-DirectX Structures
110+
// *****************************************************************
111+
-->
112+
<mapstruct="DXVA2(.*)"name-tmp="$1"/>
113+
<mapstruct="DXVAHD(.*)"name-tmp="$1"/>
114+
<mapfield="DXVAHD_STREAM_STATE_PALETTE_DATA::pEntries"type="void"/>
115+
116+
<!--
117+
// *****************************************************************
118+
// MediaFoundation-DirectX Interfaces
119+
// *****************************************************************
120+
-->
121+
<mapinterface="IDirectX(.*)"name="$1"/>
122+
<mapinterface="IDXVAHD_(.*)"name="HD$1"/>
123+
<mapinterface="IDirect3DDeviceManager9"name="Direct3DDeviceManager"/>
124+
125+
<!--
126+
// *****************************************************************
127+
// MediaFoundation-DirectX Functions
128+
// *****************************************************************
129+
-->
130+
<mapfunction="DXVA2(.*)"name-tmp="$1"dll='"Dxva2.dll"'group="SharpDX.MediaFoundation.DirectX.DXVAFactory"/>
131+
<mapfunction="DXVAHD(.*)"name-tmp="$1"dll='"Dxva2.dll"'group="SharpDX.MediaFoundation.DirectX.DXVAFactory"/>
132+
<mapparam="DXVA2CreateDirect3DDeviceManager9::ppDeviceManager"attribute="out fast" />
133+
<mapparam="DXVAHD_CreateDevice::ppDevice"attribute="out fast" />
134+
135+
<context-clear />
136+
</mapping>
137+
</config>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp