Bewerken

Delen via


DXVA_MVvalue structure (dxva.h)

The DXVA_MVvalue structure is sent by the host decoder to the accelerator to specify the two-dimensional motion vector value.

Syntax

typedef struct _DXVA_MVvalue {
  SHORT horz;
  SHORT vert;
} DXVA_MVvalue, *LPDXVA_MVvalue;

Members

horz

Specifies the horizontal component of the value of a motion vector. Contains a signed integer motion offset in half-sample units. The value of this member will be an even integer if the bMVprecisionAndChromaRelation member of DXVA_PictureParameters equals 2 (H.261-style motion supporting only integer-sample offsets).

vert

Specifies the vertical component of the value of a motion vector. Contains a signed integer motion offset in half-sample units. The value of this member will be an even integer if the bMVprecisionAndChromaRelation member of DXVA_PictureParameters equals 2 (H.261-style motion supporting only integer-sample offsets).

Remarks

The DXVA_MVvalue structure is used in the DXVA_MBctrl_P_HostResidDiff_1 and DXVA_MBctrl_P_OffHostIDCT_1 structures.

Requirements

Requirement Value
Header dxva.h (include Dxva.h)

See also

DXVA_MBctrl_P_HostResidDiff_1

DXVA_MBctrl_P_OffHostIDCT_1