Edit

D3D12_FEATURE_DATA_VIDEO_ENCODER_RATE_CONTROL_FRAME_ANALYSIS structure (d3d12video.h)

Provides data for calls to ID3D12VideoDevice::CheckFeatureSupport when the feature specified is D3D12_FEATURE_VIDEO_ENCODER_RATE_CONTROL_FRAME_ANALYSIS. Queries driver support for lower resolution two pass frame analysis at a given downscale factor and encode configuration.

Syntax

typedef struct D3D12_FEATURE_DATA_VIDEO_ENCODER_RATE_CONTROL_FRAME_ANALYSIS {
  UINT                                                          NodeIndex;
  D3D12_VIDEO_ENCODER_CODEC                                     Codec;
  D3D12_VIDEO_ENCODER_PROFILE_DESC                              Profile;
  D3D12_VIDEO_ENCODER_LEVEL_SETTING                             Level;
  DXGI_FORMAT                                                   InputFormat;
  D3D12_VIDEO_ENCODER_PICTURE_RESOLUTION_DESC                   InputResolution;
  D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION                       CodecConfiguration;
  D3D12_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_MODE               SubregionFrameEncoding;
  D3D12_VIDEO_ENCODER_PICTURE_CONTROL_SUBREGIONS_LAYOUT_DATA    SubregionFrameEncodingData;
  D3D12_VIDEO_ENCODER_QPMAP_CONFIGURATION                       QPMap;
  D3D12_VIDEO_ENCODER_DIRTY_REGIONS_CONFIGURATION               DirtyRegions;
  D3D12_VIDEO_ENCODER_MOTION_SEARCH_CONFIGURATION               MotionSearch;
  UINT                                                          Pow2DownscaleFactor;
  D3D12_VIDEO_ENCODER_RATE_CONTROL_FRAME_ANALYSIS_SUPPORT_FLAGS SupportFlags;
} D3D12_FEATURE_DATA_VIDEO_ENCODER_RATE_CONTROL_FRAME_ANALYSIS;

Members

NodeIndex

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

Codec

Input parameter. A D3D12_VIDEO_ENCODER_CODEC specifying the codec.

Profile

Input parameter. A D3D12_VIDEO_ENCODER_PROFILE_DESC specifying the profile.

Level

Input parameter. A D3D12_VIDEO_ENCODER_LEVEL_SETTING specifying the level.

InputFormat

Input parameter. A DXGI_FORMAT specifying the input format.

InputResolution

Input parameter. A D3D12_VIDEO_ENCODER_PICTURE_RESOLUTION_DESC specifying the input resolution.

CodecConfiguration

Input parameter. A D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION specifying the codec configuration.

SubregionFrameEncoding

Input parameter. A D3D12_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_MODE specifying the subregion frame encoding mode.

SubregionFrameEncodingData

Input parameter. A D3D12_VIDEO_ENCODER_PICTURE_CONTROL_SUBREGIONS_LAYOUT_DATA specifying the subregion frame encoding data.

QPMap

Input parameter. A D3D12_VIDEO_ENCODER_QPMAP_CONFIGURATION specifying the QP map configuration.

DirtyRegions

Input parameter. A D3D12_VIDEO_ENCODER_DIRTY_REGIONS_CONFIGURATION specifying the dirty regions configuration.

MotionSearch

Input parameter. A D3D12_VIDEO_ENCODER_MOTION_SEARCH_CONFIGURATION specifying the motion search configuration.

Pow2DownscaleFactor

Input parameter. Indicates the downscaling ratio to be used for the two pass downscaled texture passed to the driver. The full resolution input dimensions must be exactly divisible by 2^Pow2DownscaleFactor. The drivers must also enforce this by reporting no support where the division is not exact.

SupportFlags

Output parameter. A bitwise or combination of D3D12_VIDEO_ENCODER_RATE_CONTROL_FRAME_ANALYSIS_SUPPORT_FLAGS values indicating support for the given input parameters.

Requirements

Requirement Value
Header d3d12video.h

See also

D3D12_VIDEO_ENCODER_RATE_CONTROL_FRAME_ANALYSIS_SUPPORT_FLAGS