D3D12_VIDEO_PROCESS_INPUT_STREAM_ARGUMENTS1 structure (d3d12video.h)

Specifies input stream arguments for an input stream passed to ID3D12VideoProcessCommandList1::ProcessFrames1, which supports changing the field type for each call.

Syntax

typedef struct D3D12_VIDEO_PROCESS_INPUT_STREAM_ARGUMENTS1 {
  D3D12_VIDEO_PROCESS_INPUT_STREAM       InputStream[2];
  D3D12_VIDEO_PROCESS_TRANSFORM          Transform;
  D3D12_VIDEO_PROCESS_INPUT_STREAM_FLAGS Flags;
  D3D12_VIDEO_PROCESS_INPUT_STREAM_RATE  RateInfo;
  INT                                    FilterLevels[32];
  D3D12_VIDEO_PROCESS_ALPHA_BLENDING     AlphaBlending;
  D3D12_VIDEO_FIELD_TYPE                 FieldType;
} D3D12_VIDEO_PROCESS_INPUT_STREAM_ARGUMENTS1;

Members

InputStream[2]

An array of D3D12_VIDEO_PROCESS_INPUT_STREAM structures containing the set of references for video processing. If the stereo format is D3D12_VIDEO_PROCESS_STEREO_FORMAT_SEPARATE, then two sets of input streams must be supplied. For all other stereo formats, the first set of reference must be supplied, and the second should be zero initialized.

Transform

A D3D12_VIDEO_PROCESS_TRANSFORM structure specifying the flip, rotation, scale and destination translation for the video input.

Flags

A value from the D3D12_VIDEO_PROCESS_INPUT_STREAM_FLAGS enumeration specifying the options for the input stream.

RateInfo

A D3D12_VIDEO_PROCESS_INPUT_STREAM_RATE structure specifying the framerate and input and output indices for framerate conversion and deinterlacing.

FilterLevels[32]

The level to apply for each enabled filter. The filter level is specified in the order that filters appear in the D3D12_VIDEO_PROCESS_FILTER_FLAGS enumeration. Specify 0 if a filter is not enabled or the filter index is reserved.

AlphaBlending

A D3D12_VIDEO_PROCESS_ALPHA_BLENDING structure specifying the planar alpha for an input stream on the video processor.

FieldType

A value from the D3D12_VIDEO_FIELD_TYPE enumeration specfying the interlaced field type of the input source. When working with mixed content, use ID3D12VideoProcessCommandList1::ProcessFrames1 which supports changing the field type for each call.

Requirements

   
Minimum supported client Windows 10 Build 20348
Minimum supported server Windows 10 Build 20348
Header d3d12video.h

See also

-D3D12_VIDEO_PROCESS_INPUT_STREAM_ARGUMENTS -ID3D12VideoProcessCommandList1::ProcessFrames1