ID3D12VideoProcessCommandList::ProcessFrames method (d3d12video.h)

Records a video processing operation to the command list, operating on one or more input samples and writing the result to an output surface.

Note

This version of the method does not allow you to change the D3D12_VIDEO_FIELD_TYPE without recreating the interface. It is recommended that you use ID3D12VideoProcessCommandList::ProcessFrames1 instead, which allows you to change the field type with each call.

Syntax

void ProcessFrames(
  ID3D12VideoProcessor                              *pVideoProcessor,
  const D3D12_VIDEO_PROCESS_OUTPUT_STREAM_ARGUMENTS *pOutputArguments,
  UINT                                              NumInputStreams,
  const D3D12_VIDEO_PROCESS_INPUT_STREAM_ARGUMENTS  *pInputArguments
);

Parameters

pVideoProcessor

A pointer to an ID3D12VideoProcessor interface representing a video processor instance.

pOutputArguments

A D3D12_VIDEO_PROCESS_OUTPUT_STREAM_ARGUMENTS structure specifying the output surface and output arguments.

NumInputStreams

The count of input streams.

pInputArguments

A pointer to an array of D3D12_VIDEO_PROCESS_INPUT_STREAM_ARGUMENTS structures specifying the input parameters.

Return value

None

Remarks

This version of the method does not allow you to change the D3D12_VIDEO_FIELD_TYPE. When dealing with mixed content, use ID3D12VideoProcessCommandList::ProcessFrames1 instead, which allows you to specify a field type with each call.

Requirements

Requirement Value
Header d3d12video.h
DLL d3d12.dll

See also

ID3D12VideoProcessCommandList::ProcessFrames1