D3D12DDIARG_VIDEO_PROCESS_OUTPUT_STREAM_PARAMETERS structure
Specifies output stream parameters for the output to be processed.
Syntax
typedef struct D3D12DDIARG_VIDEO_PROCESS_OUTPUT_STREAM_PARAMETERS {
D3D12DDI_VIDEO_PROCESS_OUTPUT_STREAM OutputStream[2];
D3D12DDI_VIDEO_PROCESS_ALPHA_FILL_MODE AlphaFillMode;
UINT AlphaFillModeSourceStreamIndex;
FLOAT BackgroundColor[4];
DXGI_RATIONAL FrameRate;
BOOL EnableStereo;
DXGI_COLOR_SPACE_TYPE ColorSpace;
D3D12DDI_RECT TargetRectangle;
} D3D12DDIARG_VIDEO_PROCESS_OUTPUT_STREAM_PARAMETERS;
Members
OutputStream
The output surfaces for the video process command. If stereo output is enabled, index 0 contains the left output while index 1 contains the right input. If stereo output is not enabled, only index 0 is used to specify the output. Index 1 should be a null pointer.AlphaFillMode
The alpha fill mode for data that the video processor writes to the render target. For more information, see D3D12DDI_VIDEO_PROCESS_ALPHA_FILL_MODE enumeration.AlphaFillModeSourceStreamIndex
The zero-based index of an input stream. If the AlphaFillMode member has the value D3D12DDI_VIDEO_PROCESS_ALPHA_FILL_MODE_SOURCE_STREAM, this value is used. Otherwise, it is ignored.BackgroundColor
The background color, which the video processor uses 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 memberYCbCrA RGBA BackgroundColor[0] Y R BackgroundColor[1] Cb G BackgroundColor[2] Cr N 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. If false, the video processor produces mono video frames.ColorSpace
The colorspace for the video processor output surface as a DXGI_COLOR_SPACE_TYPE value.TargetRectangle
The target rectangle, which is the area within the destination surface where the output is drawn. The target rectangle is given in pixel coordinates, relative to the destination surface.
Requirements
Header |
D3d12umddi.h (include D3d12umddi.h) |
See also
D3D12DDI_VIDEO_PROCESS_ALPHA_FILL_MODE