Edit

D3D12_VIDEO_ENCODER_MOVEREGION_INFO structure (d3d12video.h)

Contains CPU-buffer move region information for the motion vectors feature. All pixels inside a move rect move in the same direction.

Syntax

typedef struct D3D12_VIDEO_ENCODER_MOVEREGION_INFO {
  UINT                                                  NumMoveRegions;
  D3D12_VIDEO_ENCODER_MOVE_RECT                         *pMoveRegions;
  D3D12_VIDEO_ENCODER_FRAME_MOTION_SEARCH_MODE_CONFIG   MotionSearchModeConfiguration;
  UINT                                                  SourceDPBFrameReference;
  D3D12_VIDEO_ENCODER_FRAME_INPUT_MOTION_UNIT_PRECISION MotionUnitPrecision;
  D3D12_VIDEO_ENCODER_MOVEREGION_INFO_FLAGS             Flags;
} D3D12_VIDEO_ENCODER_MOVEREGION_INFO;

Members

NumMoveRegions

Number of elements in pMoveRegions.

pMoveRegions

Pointer to an array of D3D12_VIDEO_ENCODER_MOVE_RECT structures specifying move regions.

MotionSearchModeConfiguration

A D3D12_VIDEO_ENCODER_FRAME_MOTION_SEARCH_MODE_CONFIG specifying how the motion input vectors are used.

SourceDPBFrameReference

An index into the picture parameters DPB descriptor indicating which previous reference frame this move region refers to.

MotionUnitPrecision

A D3D12_VIDEO_ENCODER_FRAME_INPUT_MOTION_UNIT_PRECISION defining the numerical unit used in the move rect values.

Flags

A combination of D3D12_VIDEO_ENCODER_MOVEREGION_INFO_FLAGS.

Requirements

Requirement Value
Header d3d12video.h