D3D12DDI_VIDEO_PROCESS_OUTPUT_STREAM_DESC_0032 structure (d3d12umddi.h)

D3D12DDI_VIDEO_PROCESS_OUTPUT_STREAM_DESC_0032 describes output stream properties for the video processor.

Syntax

typedef struct D3D12DDI_VIDEO_PROCESS_OUTPUT_STREAM_DESC_0032 {
  DXGI_FORMAT                                 Format;
  DXGI_COLOR_SPACE_TYPE                       ColorSpace;
  D3D12DDI_VIDEO_PROCESS_ALPHA_FILL_MODE_0020 AlphaFillMode;
  UINT                                        AlphaFillModeSourceStreamIndex;
  FLOAT                                       BackgroundColor[4];
  DXGI_RATIONAL                               FrameRate;
  BOOL                                        EnableStereo;
} D3D12DDI_VIDEO_PROCESS_OUTPUT_STREAM_DESC_0032;

Members

Format

The DXGI format of the output texture.

ColorSpace

The color space for the video processor output surface as a DXGI_COLOR_SPACE_TYPE value.

AlphaFillMode

The alpha fill mode for data that the video processor writes to the render target. See D3D12DDI_VIDEO_PROCESSOR_ALPHA_FILL_MODE.

AlphaFillModeSourceStreamIndex

The zero-based index of an input stream. This field is used if AlphaFillMode has the value D3D12DDI_VIDEO_PROCESS_ALPHA_FILL_MODE_SOURCE_STREAM. Otherwise, it is ignored.

BackgroundColor[4]

The video processor uses the background color to fill areas of the target rectangle that don't contain a video image. Areas outside the target rectangle aren't affected. The meaning of the values is specified by the ColorSpace member.

Value YCbCrA RGBA
BackgroundColor[0] Y R
BackgroundColor[1] Cb G
BackgroundColor[2] Cr B
BackgroundColor[3] A A

FrameRate

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

EnableStereo

If TRUE, stereo output is enabled. Otherwise, the video processor produces mono video frames.

Requirements

Requirement Value
Header d3d12umddi.h

See also

PFND3D12DDI_VIDEO_PROCESS_FRAME_0043