D3D12_VIDEO_PROCESS_INPUT_STREAM_DESC structure (d3d12video.h)
Specifies the parameters for the input stream for a video process operation.
Syntax
typedef struct D3D12_VIDEO_PROCESS_INPUT_STREAM_DESC {
DXGI_FORMAT Format;
DXGI_COLOR_SPACE_TYPE ColorSpace;
DXGI_RATIONAL SourceAspectRatio;
DXGI_RATIONAL DestinationAspectRatio;
DXGI_RATIONAL FrameRate;
D3D12_VIDEO_SIZE_RANGE SourceSizeRange;
D3D12_VIDEO_SIZE_RANGE DestinationSizeRange;
BOOL EnableOrientation;
D3D12_VIDEO_PROCESS_FILTER_FLAGS FilterFlags;
D3D12_VIDEO_FRAME_STEREO_FORMAT StereoFormat;
D3D12_VIDEO_FIELD_TYPE FieldType;
D3D12_VIDEO_PROCESS_DEINTERLACE_FLAGS DeinterlaceMode;
BOOL EnableAlphaBlending;
D3D12_VIDEO_PROCESS_LUMA_KEY LumaKey;
UINT NumPastFrames;
UINT NumFutureFrames;
BOOL EnableAutoProcessing;
} D3D12_VIDEO_PROCESS_INPUT_STREAM_DESC;
Members
Format
A value from the DXGI_FORMAT enumeration specifying the format of the input stream. In the case of stereo, this format is the format of both inputs.
ColorSpace
A value from the DXGI_COLOR_SPACE_TYPE enumeration specifying the color space of the video processor input and reference surfaces.
SourceAspectRatio
A DXGI_RATIONAL structure specifying the source aspect ratio.
DestinationAspectRatio
A DXGI_RATIONAL structure specifying the destination aspect ratio.
FrameRate
A DXGI_RATIONAL structure specifying the frame rate of the input video stream.
SourceSizeRange
A D3D12_VIDEO_SIZE_RANGE structure representing the size of the source rectangle. This argument specifies the input range size this video processor must support for ProcessFrames. If a source size exceeds the range, the video processor must be recreated.
DestinationSizeRange
A D3D12_VIDEO_SIZE_RANGE structure representing the size of the destination rectangle. This argument specifies the destination range size this video processor must support for ProcessFrames. If a source size exceeds the range, the video processor must be recreated.
EnableOrientation
A boolean value specifying whether the video processor should support all D3D12_VIDEO_PROCESS_ORIENTATION for ProcessFrames.
FilterFlags
A bitwise OR combination of one or more flags from the D3D12_VIDEO_PROCESS_FILTER_FLAGS enumeration specifying the filters to enable.
StereoFormat
A value from the D3D12_VIDEO_FRAME_STEREO_FORMAT enumeration specifies whether the stream is stereo or not. A value of D3D12_VIDEO_PROCESS_STEREO_FORMAT_SEPARATE indicates that there will be two sets of input textures, and two sets of references for the stereo interlaced case.
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.
DeinterlaceMode
A value from the D3D12_VIDEO_PROCESS_DEINTERLACE_FLAGS enumeration specifying the deinterlace mode to use.
EnableAlphaBlending
A boolean value specifying whether alpha blending is enabled. Alpha blending settings are provided to ProcessFrames with AlphaBlending the field of the D3D12_VIDEO_PROCESS_INPUT_STREAM_ARGUMENTS structure.
LumaKey
A D3D12_VIDEO_PROCESS_LUMA_KEY structure specifying the luma key for an input stream on the video processor.
NumPastFrames
An integer specifying the number of past reference frames.
NumFutureFrames
An integer specifying the number of future reference frames.
EnableAutoProcessing
A boolean value specifying wither automatic processing features are enabled for the video processor.
Requirements
Requirement | Value |
---|---|
Header | d3d12video.h |