// d3d12umddi.h
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;
View the official Windows Driver Kit DDI referenceNo description available.
D3D12DDI_VIDEO_PROCESS_OUTPUT_STREAM_DESC_0032 describes output stream properties for the video processor.
FormatThe DXGI format of the output texture.
ColorSpaceThe color space for the video processor output surface as a DXGI_COLOR_SPACE_TYPE value.
AlphaFillModeThe alpha fill mode for data that the video processor writes to the render target. See D3D12DDI_VIDEO_PROCESSOR_ALPHA_FILL_MODE.
AlphaFillModeSourceStreamIndexThe 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.
BackgroundColorThe 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 |
FrameRateThe frame rate of the output video stream, specified as a DXGI_RATIONAL structure.
EnableStereoIf TRUE, stereo output is enabled. Otherwise, the video processor produces mono video frames.
PFND3D12DDI_VIDEO_PROCESS_FRAME_0043