Bewerken

Delen via


D3D12DDI_VIDEO_PROCESSOR_INPUT_STREAM_DESC_0032 structure (d3d12umddi.h)

Describes input stream properties for the video processor.

Syntax

typedef struct D3D12DDI_VIDEO_PROCESSOR_INPUT_STREAM_DESC_0032 {
  DXGI_FORMAT                                   Format;
  DXGI_COLOR_SPACE_TYPE                         ColorSpace;
  DXGI_RATIONAL                                 SourceAspectRatio;
  DXGI_RATIONAL                                 DestinationAspectRatio;
  DXGI_RATIONAL                                 FrameRate;
  D3D12DDI_VIDEO_SIZE_RANGE_0032                SourceSizeRange;
  D3D12DDI_VIDEO_SIZE_RANGE_0032                DestinationSizeRange;
  BOOL                                          EnableOrientation;
  D3D12DDI_VIDEO_PROCESS_FILTER_FLAGS_0020      FilterFlags;
  D3D12DDI_VIDEO_FRAME_STEREO_FORMAT_0020       StereoFormat;
  D3D12DDI_VIDEO_FIELD_TYPE_0020                FieldType;
  D3D12DDI_VIDEO_PROCESS_DEINTERLACE_FLAGS_0020 DeinterlaceMode;
  BOOL                                          EnableAlphaBlending;
  D3D12DDI_VIDEO_PROCESS_LUMA_KEY_0020          LumaKey;
  UINT                                          NumPastFrames;
  UINT                                          NumFutureFrames;
  BOOL                                          EnableAutoProcessing;
} D3D12DDI_VIDEO_PROCESSOR_INPUT_STREAM_DESC_0032;

Members

Format

The DXGI format of the input texture and references.

ColorSpace

A DXGI_COLOR_SPACE_TYPE value that specifies the color space for the video processor input and reference surfaces.

SourceAspectRatio

The source aspect ratio.

DestinationAspectRatio

The destination aspect ratio.

FrameRate

The frame rate of the input video stream, specified as a DXGI_RATIONAL structure.

SourceSizeRange

Describes the minimum and maximum source rectangle size. Video processor should allocate to handle all cases within the range.

DestinationSizeRange

Describes the minimum and maximum destination rectangle size. Video processor should allocate sizes to handle all cases within the range.

EnableOrientation

Enable all transforms specified in D3D12DDI_VIDEO_PROCESS_ORIENTATION. If rotation implies an intermediate, it should be allocated to handle 90 degree rotation.

FilterFlags

A bitwise OR of one or more flags from the D3D12DDI_VIDEO_PROCESS_FILTER_FLAGS enumeration, that specifies the filters to enable.

StereoFormat

Specifies whether the stream is stereo or not. If the value is D3D12DDI_VIDEO_FRAME_STEREO_FORMAT_SEPARATE, there are two sets of input textures and references (for the stereo interlaced case).

FieldType

Specifies the frame format as progressive or interlaced for the input stream. See D3D12DDI_VIDEO_FIELD_TYPE.

DeinterlaceMode

The deinterlace mode to use. See D3D12DDI_VIDEO_PROCESS_DEINTERLACE_FLAGS.

EnableAlphaBlending

The planar alpha for an input stream on the video processor. See D3D12DDI_VIDEO_PROCESS_ALPHA_BLENDING.

LumaKey

The Luma key for an input stream on the video processor. See D3D12DDI_VIDEO_PROCESS_LUMA_KEY for more details.

NumPastFrames

The number of past frames.

NumFutureFrames

The number of future frames.

EnableAutoProcessing

Enables or disables automatic processing features on the video processor.

Requirements

Requirement Value
Header d3d12umddi.h