次の方法で共有


Macroblock Addresses

A macroblock address is the position of the macroblock in raster-scan order within the picture. The horizontal and vertical position of the macroblock in the picture is determined from the macroblock address using the specified width and height of the picture, which is defined by the wPicWidthInMBminus1 and wPicHeightInMBminus1 members of the DXVA_PictureParameters structure. Following are some examples of macroblock addresses.

Macroblock Address

top-left

Zero

top-right

wPicWidthInMBminus1

lower-left

wPicHeightInMBminus1 x (wPicWidthInMBminus1 + 1)

lower-right

(wPicHeightInMBminus1 + 1) x (wPicWidthInMBminus1 + 1) - 1