Commit 3c0085b9 authored by Biswapriyo Nath's avatar Biswapriyo Nath Committed by Alexandre Julliard

include: Add ID3D12VideoDevice2 in d3d12video.idl.

parent e24b67ec
......@@ -512,6 +512,56 @@ interface ID3D12VideoExtensionCommand : ID3D12Pageable
);
}
[
uuid(f019ac49-f838-4a95-9b17-579437c8f513),
object,
local,
pointer_default(unique)
]
interface ID3D12VideoDevice2 : ID3D12VideoDevice1
{
HRESULT CreateVideoDecoder1(
[in] const D3D12_VIDEO_DECODER_DESC *desc,
[in, optional] ID3D12ProtectedResourceSession *protected_resource_session,
[in] REFIID riid,
[out, iid_is(riid)] void **video_decoder
);
HRESULT CreateVideoDecoderHeap1(
[in] const D3D12_VIDEO_DECODER_HEAP_DESC *video_decoder_heap_desc,
[in, optional] ID3D12ProtectedResourceSession *protected_resource_session,
[in] REFIID riid,
[out, iid_is(riid)] void **video_decoder_heap
);
HRESULT CreateVideoProcessor1(
[in] UINT node_mask,
[in] const D3D12_VIDEO_PROCESS_OUTPUT_STREAM_DESC *output_stream_desc,
[in] UINT input_stream_descs_count,
[in] const D3D12_VIDEO_PROCESS_INPUT_STREAM_DESC *input_stream_descs,
[in, optional] ID3D12ProtectedResourceSession *protected_resource_session,
[in] REFIID riid,
[out, iid_is(riid)] void **video_processor
);
HRESULT CreateVideoExtensionCommand(
[in] const D3D12_VIDEO_EXTENSION_COMMAND_DESC *desc,
[in] const void *creation_parameters,
[in] SIZE_T creation_parameters_data_size_in_bytes,
[in, optional] ID3D12ProtectedResourceSession *protected_resource_session,
[in] REFIID riid,
[out] void **video_extension_command
);
HRESULT ExecuteExtensionCommand(
[in] ID3D12VideoExtensionCommand *extension_command,
[in] const void *execution_parameters,
[in] SIZE_T execution_parameters_size_in_bytes,
[out] void *output_data,
[in] SIZE_T output_data_size_in_bytes
);
}
cpp_quote("DEFINE_GUID(D3D12_VIDEO_DECODE_PROFILE_MPEG2, 0xee27417f, 0x5e28, 0x4e65, 0xbe, 0xea, 0x1d, 0x26, 0xb5, 0x08, 0xad, 0xc9);")
cpp_quote("DEFINE_GUID(D3D12_VIDEO_DECODE_PROFILE_MPEG1_AND_MPEG2, 0x86695f12, 0x340e, 0x4f04, 0x9f, 0xd3, 0x92, 0x53, 0xdd, 0x32, 0x74, 0x60);")
cpp_quote("DEFINE_GUID(D3D12_VIDEO_DECODE_PROFILE_H264, 0x1b81be68, 0xa0c7, 0x11d3, 0xb9, 0x84, 0x00, 0xc0, 0x4f, 0x2e, 0x73, 0xc5);")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment