D3D12DDI_VIDEO_FORMAT_DESCRIPTION_0020 - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// d3d12umddi.h

typedef struct D3D12DDI_VIDEO_FORMAT_DESCRIPTION_0020 {
  DXGI_FORMAT           Format;
  DXGI_COLOR_SPACE_TYPE ColorSpace;
} D3D12DDI_VIDEO_FORMAT_DESCRIPTION_0020;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-d3d12umddi-d3d12ddi_video_format_description_0020)

D3D12DDI_VIDEO_FORMAT_DESCRIPTION_0020 structure

Description

Defines the combination of a pixel format and color space for a resource content description.

Members

Format

The format of the data. For more information, see the DXGI_FORMAT enumeration.

ColorSpace

The color space of the data. For more information, see the DXGI_COLOR_SPACE_TYPE enumeration.

Remarks

Conversions exposed through the decoder must have a hardware advantage compared to a conversion that could be accomplished through the app via a decode and a video process BLT. This typically means the video hardware write the unconverted reference frame and the converted output (both outputs) without a separate step that reads the unconverted reference frame to produce the converted output.

The one exception is that all drivers are required to support a conversion to remove the D3D12DDI_RESOURCE_FLAG_VIDEO_DECODE_REFERENCE_ONLY flag where the source and destination format, color space, and size are equal. Hardware may not actually require the D3D12DDI_RESOURCE_FLAG_VIDEO_DECODE_REFERENCE_ONLY flag, but if it is used, the driver may implement this conversion with a copy operation.

See also

DXGI_COLOR_SPACE_TYPE

DXGI_FORMAT