PFND3D12DDI_VIDEO_DECODE_FRAME_0041_1 callback function (d3d12umddi.h)
Implemented by the client driver to decode a video frame.
Syntax
PFND3D12DDI_VIDEO_DECODE_FRAME_0041_1 Pfnd3d12ddiVideoDecodeFrame00411;
void Pfnd3d12ddiVideoDecodeFrame00411(
D3D12DDI_HCOMMANDLIST hDrvCommandList,
D3D12DDI_HVIDEODECODER_0020 hDrvDecoder,
const D3D12DDI_VIDEO_DECODE_OUTPUT_STREAM_ARGUMENTS_0041_1 *pOutputStreamParameters,
const D3D12DDI_VIDEO_DECODE_INPUT_STREAM_ARGUMENTS_0032 *pInputStreamParameters
)
{...}
Parameters
hDrvCommandList
A handle to the driver's data for the command list. The driver uses this region of memory to store internal data structures that are related to its command list.
hDrvDecoder
The video decoder that contains internal state for this decode session. Examples include motion vectors, internal temporary allocations, etc. See Creating a Video Decoder.
pOutputStreamParameters
Specifies the output surface and output parameters. See D3D12DDI_VIDEO_DECODE_OUTPUT_STREAM_ARGUMENTS.
pInputStreamParameters
Specifies the input bit stream, parameters, reference frames, and other input parameters for the decode operation. See D3D12DDI_VIDEO_DECODE_INPUT_STREAM_ARGUMENTS.
Return value
None
Requirements
Requirement | Value |
---|---|
Header | d3d12umddi.h |