D3D12_VIDEO_DECODE_CONVERSION_ARGUMENTS1 structure (d3d12video.h)
Specifies the parameters for decode output conversion. D3D12_VIDEO_DECODE_CONVERSION_ARGUMENTS is used for the same purpose, but does not contain fields for output width and output height.
Syntax
typedef struct D3D12_VIDEO_DECODE_CONVERSION_ARGUMENTS1 {
BOOL Enable;
ID3D12Resource *pReferenceTexture2D;
UINT ReferenceSubresource;
DXGI_COLOR_SPACE_TYPE OutputColorSpace;
DXGI_COLOR_SPACE_TYPE DecodeColorSpace;
UINT OutputWidth;
UINT OutputHeight;
} D3D12_VIDEO_DECODE_CONVERSION_ARGUMENTS1;
Members
Enable
A boolean value indicating whether decode conversion should be used.
pReferenceTexture2D
A pointer to an ID3D12Resource containing the native decoding output. When downsampling is enabled, the output at native decode resolution, color space, and format may be required for future decode submissions (as reference frames, for instance).
ReferenceSubresource
The subresource index of the resource provided in pDecodeTexture2D to use.
OutputColorSpace
A value from the DXGI_COLOR_SPACE_TYPE enumeration specifying the target color space of the output.
DecodeColorSpace
A value from the DXGI_COLOR_SPACE_TYPE enumeration specifying the source-decoded color space before conversion.
OutputWidth
The output width, in pixels.
OutputHeight
The output width, in pixels.
Requirements
Requirement | Value |
---|---|
Header | d3d12video.h |