Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Specifies output stream arguments for the output passed to ID3D12VideoProcessCommandList::ProcessFrames.
Syntax
typedef struct D3D12_VIDEO_PROCESS_OUTPUT_STREAM_DESC {
DXGI_FORMAT Format;
DXGI_COLOR_SPACE_TYPE ColorSpace;
D3D12_VIDEO_PROCESS_ALPHA_FILL_MODE AlphaFillMode;
UINT AlphaFillModeSourceStreamIndex;
FLOAT BackgroundColor[4];
DXGI_RATIONAL FrameRate;
BOOL EnableStereo;
} D3D12_VIDEO_PROCESS_OUTPUT_STREAM_DESC;
Members
Format
A DXGI_FORMAT structure specifying the format of the output resources.
ColorSpace
A DXGI_COLOR_SPACE_TYPE value that specifies the colorspace for the video processor output surface.
AlphaFillMode
A value from the D3D12_VIDEO_PROCESS_ALPHA_FILL_MODE enumeration specifying the alpha fill mode for data that the video processor writes to the render target.
AlphaFillModeSourceStreamIndex
The zero-based index of an input stream. This parameter is used if AlphaFillMode is D3D12_VIDEO_PROCESS_ALPHA_FILL_MODE_SOURCE_STREAM. Otherwise, the parameter is ignored.
BackgroundColor[4]
The video processor uses the background color to fill areas of the target rectangle that do not contain a video image. Areas outside the target rectangle are not affected. The meaning of the values are specified by the ColorSpace parameter.
BackgroundColor | YCbCrA | RGBA |
---|---|---|
BackgroundColor[0] | Y | R |
BackgroundColor[1] | Cb | G |
BackgroundColor[2] | Cr | B |
BackgroundColor[3] | A | A |
FrameRate
A DXGI_RATIONAL structure specifying the frame rate of the output video stream.
EnableStereo
If TRUE, stereo output is enabled. Otherwise, the video processor produces mono video frames.
Requirements
Requirement | Value |
---|---|
Header | d3d12video.h |