Partager via


Generic Form of Macroblock Control Command Structures

The following macroblock control structures explicitly defined in dxva.h are special cases of a generic design used for macroblock control commands in DirectX VA:

DXVA_MBctrl_I_HostResidDiff_1

DXVA_MBctrl_I_OffHostIDCT_1

DXVA_MBctrl_P_HostResidDiff_1

DXVA_MBctrl_P_OffHostIDCT_1

These structures represent only the most commonly used forms of macroblock control commands. Additional macroblock control commands can be created, based upon the design of these existing structures, to allow a driver to support other video decoding elements and to handle different configurations for the decoding process.

This section describes the members of a generic macroblock control command structure that are used as the basis for creating additional macroblock control commands. The macroblock control command structure definition in this section is divided into four parts.

Note   Macroblock control commands are aligned with 16-byte memory boundaries and constructed as packed data structures with single-byte alignment packing.