PFND3D12DDI_VIDEO_DECODE_FRAME_0041 callback function (d3d12umddi.h)
PFND3D12DDI_VIDEO_DECODE_FRAME_0041 records a decode frame operation to the command list. Inputs, outputs, and parameters for the decode are specified as arguments to this method.
Syntax
PFND3D12DDI_VIDEO_DECODE_FRAME_0041 Pfnd3d12ddiVideoDecodeFrame0041;
void Pfnd3d12ddiVideoDecodeFrame0041(
D3D12DDI_HCOMMANDLIST hDrvCommandList,
D3D12DDI_HVIDEODECODER_0020 hDrvDecoder,
const D3D12DDI_VIDEO_DECODE_OUTPUT_STREAM_ARGUMENTS_0041 *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 |