Edit

D3D12_FEATURE_DATA_VIDEO_ENCODER_QPMAP_INPUT structure (d3d12video.h)

Provides data for calls to ID3D12VideoDevice::CheckFeatureSupport when the feature specified is D3D12_FEATURE_VIDEO_ENCODER_QPMAP_INPUT.

Syntax

typedef struct D3D12_FEATURE_DATA_VIDEO_ENCODER_QPMAP_INPUT {
  UINT                                       NodeIndex;
  D3D12_VIDEO_ENCODER_INPUT_MAP_SESSION_INFO SessionInfo;
  D3D12_VIDEO_ENCODER_INPUT_MAP_SOURCE       MapSource;
  BOOL                                       IsSupported;
  UINT                                       MapSourcePreferenceRanking;
  UINT                                       BlockSize;
} D3D12_FEATURE_DATA_VIDEO_ENCODER_QPMAP_INPUT;

Members

NodeIndex

Input parameter. In multi-adapter operation, indicates which physical adapter of the device this operation applies to.

SessionInfo

Input parameter. A D3D12_VIDEO_ENCODER_INPUT_MAP_SESSION_INFO containing information pertaining to the encoding session.

MapSource

Input parameter. A D3D12_VIDEO_ENCODER_INPUT_MAP_SOURCE indicating which source the user intends to use.

IsSupported

Output parameter. Indicates if the given value for feature is supported.

MapSourcePreferenceRanking

Output parameter. Indicates the driver preference (allowed output range [0..1]) for the input MapSource. The lowest the value reported, the best performance for this MapSource input type.

BlockSize

Output parameter. Indicates the pixel size of the blocks. When input is D3D12_VIDEO_ENCODER_INPUT_MAP_SOURCE_CPU_BUFFER, this must match the driver-reported QPMapRegionPixelsSize value.

Requirements

Requirement Value
Header d3d12video.h