PFND3D12DDI_VIDEO_ENCODE_FRAME_0082_0 callback function (d3d12umddi.h)

A client driver's PFND3D12DDI_VIDEO_ENCODE_FRAME_0082_0 callback function records an encode frame operation to the command list.

Syntax

PFND3D12DDI_VIDEO_ENCODE_FRAME_0082_0 Pfnd3d12ddiVideoEncodeFrame00820;

void Pfnd3d12ddiVideoEncodeFrame00820(
  [in]  D3D12DDI_HCOMMANDLIST hDrvCommandList,
  [in]  D3D12DDI_HVIDEOENCODER_0080 hDrvEncoder,
  [in]  D3D12DDI_HVIDEOENCODERHEAP_0080 hDrvVideoEncoderHeap,
  [in]  const D3D12DDI_VIDEO_ENCODER_ENCODEFRAME_INPUT_STREAM_ARGUMENTS_0082_0 *pInputStreamArguments,
  [out] const D3D12DDI_VIDEO_ENCODER_ENCODEFRAME_OUTPUT_STREAM_ARGUMENTS_0080_2 *pOutputStreamArguments
)
{...}

Parameters

[in] hDrvCommandList

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.

[in] hDrvEncoder

Handle to a video encoder object. The handle was returned when the video encoder object was created.

[in] hDrvVideoEncoderHeap

Handle to a video encoder heap object. The handle was returned when the video encoder heap object was created.

[in] pInputStreamArguments

Pointer to a D3D12DDI_VIDEO_ENCODER_ENCODEFRAME_INPUT_STREAM_ARGUMENTS_0082_0 structure that contains the input sequence and picture control parameters for the encode operation.

[out] pOutputStreamArguments

Pointer to a D3D12DDI_VIDEO_ENCODER_ENCODEFRAME_OUTPUT_STREAM_ARGUMENTS_0080_2 structure in which the output of the encode operation is returned.

Return value

None

Remarks

See D3D12 video encoding for general information.

Requirements

Requirement Value
Minimum supported client Windows 11 (WDDM 3.0)
Header d3d12umddi.h

See also

D3D12DDI_VIDEO_ENCODER_ENCODEFRAME_INPUT_STREAM_ARGUMENTS_0082_0

D3D12DDI_VIDEO_ENCODER_ENCODEFRAME_OUTPUT_STREAM_ARGUMENTS_0080_2

PFND3D12DDI_CREATE_COMMAND_LIST_0040

PFND3D12DDI_CREATEVIDEOENCODER_0082_0

PFND3D12DDI_CREATEVIDEOENCODERHEAP_0080_2