Edit

D3D12_VIDEO_ENCODER_QUANTIZATION_OPAQUE_MAP structure (d3d12video.h)

Contains a GPU-resolved quantization map for the current frame to be used instead of the existing CPU buffer pRateControlQPMap parameters. The user must check support for D3D12_FEATURE_VIDEO_ENCODER_QPMAP_INPUT before using this feature.

Syntax

typedef struct D3D12_VIDEO_ENCODER_QUANTIZATION_OPAQUE_MAP {
  ID3D12Resource *pOpaqueQuantizationMap;
} D3D12_VIDEO_ENCODER_QUANTIZATION_OPAQUE_MAP;

Members

pOpaqueQuantizationMap

Pointer to an ID3D12Resource containing the quantization map. When not NULL, this supersedes the existing CPU buffer pRateControlQPMap picture control structure parameters. Must be first resolved using ID3D12VideoEncodeCommandList4::ResolveInputParamLayout.

Requirements

Requirement Value
Header d3d12video.h