Edit

D3D12_FEATURE_DATA_VIDEO_ENCODER_MOTION_SEARCH structure (d3d12video.h)

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

Syntax

typedef struct D3D12_FEATURE_DATA_VIDEO_ENCODER_MOTION_SEARCH {
  UINT                                                                NodeIndex;
  D3D12_VIDEO_ENCODER_INPUT_MAP_SESSION_INFO                          SessionInfo;
  D3D12_VIDEO_ENCODER_FRAME_MOTION_SEARCH_MODE                        MotionSearchMode;
  D3D12_VIDEO_ENCODER_INPUT_MAP_SOURCE                                MapSource;
  BOOL                                                                BidirectionalRefFrameEnabled;
  D3D12_VIDEO_ENCODER_MOTION_SEARCH_SUPPORT_FLAGS                     SupportFlags;
  UINT                                                                MaxMotionHints;
  UINT                                                                MinDeviation;
  UINT                                                                MaxDeviation;
  UINT                                                                MapSourcePreferenceRanking;
  D3D12_VIDEO_ENCODER_FRAME_INPUT_MOTION_UNIT_PRECISION_SUPPORT_FLAGS MotionUnitPrecisionSupport;
} D3D12_FEATURE_DATA_VIDEO_ENCODER_MOTION_SEARCH;

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.

MotionSearchMode

Input parameter. A D3D12_VIDEO_ENCODER_FRAME_MOTION_SEARCH_MODE specifying the desired motion search mode to check support for.

MapSource

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

BidirectionalRefFrameEnabled

Input parameter. Indicates if the user will use the feature for bidirectional reference frames (for example, B frames for H264).

SupportFlags

Output parameter. A combination of D3D12_VIDEO_ENCODER_MOTION_SEARCH_SUPPORT_FLAGS indicating supported features.

MaxMotionHints

Output parameter. Indicates the maximum value supported by the driver for NumHintsPerPixel on GPU texture mode or NumMoveRegions on CPU buffer mode.

MinDeviation

Output parameter. For D3D12_VIDEO_ENCODER_FRAME_MOTION_SEARCH_MODE_START_HINT_LIMITED_DISTANCE, indicates the minimum value supported for SearchDeviationLimit.

MaxDeviation

Output parameter. For D3D12_VIDEO_ENCODER_FRAME_MOTION_SEARCH_MODE_START_HINT_LIMITED_DISTANCE, indicates the maximum value supported for SearchDeviationLimit.

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.

MotionUnitPrecisionSupport

Output parameter. A combination of D3D12_VIDEO_ENCODER_FRAME_INPUT_MOTION_UNIT_PRECISION_SUPPORT_FLAGS reporting supported precision modes for input vectors.

Requirements

Requirement Value
Header d3d12video.h