Skip to content

Latest commit

 

History

History
51 lines (40 loc) · 1.54 KB

macroblock-addresses.md

File metadata and controls

51 lines (40 loc) · 1.54 KB
title description keywords ms.date
Macroblock Addresses
Macroblock Addresses
macroblocks WDK DirectX VA , addresses
04/20/2017

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