Skip to content

Latest commit

 

History

History
73 lines (55 loc) · 2.79 KB

ns-d3d12umddi-d3d12ddi_video_format_description_0020.md

File metadata and controls

73 lines (55 loc) · 2.79 KB
UID title description old-location ms.date keywords ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos tech.root req.typenames f1_keywords topic_type api_type api_location api_name
NS:d3d12umddi.D3D12DDI_VIDEO_FORMAT_DESCRIPTION_0020
D3D12DDI_VIDEO_FORMAT_DESCRIPTION_0020 (d3d12umddi.h)
Defines the combination of a pixel format and color space for a resource content description.
display\d3d12ddi_video_format_description.htm
04/16/2018
D3D12DDI_VIDEO_FORMAT_DESCRIPTION_0020 structure
D3D12DDI_VIDEO_FORMAT_DESCRIPTION_0020, D3D12DDI_VIDEO_FORMAT_DESCRIPTION_0020 structure [Display Devices], d3d12umddi/D3D12DDI_VIDEO_FORMAT_DESCRIPTION_0020, display.d3d12ddi_video_format_description
d3d12umddi.h
D3d12umddi.h
Windows
Windows
display
D3D12DDI_VIDEO_FORMAT_DESCRIPTION_0020
D3D12DDI_VIDEO_FORMAT_DESCRIPTION_0020
d3d12umddi/D3D12DDI_VIDEO_FORMAT_DESCRIPTION_0020
APIRef
kbSyntax
HeaderDef
D3d12umddi.h
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.

-struct-fields

-field Format

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

-field 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