DXVADDI_DECODEBUFFERINFO structure

The DXVADDI_DECODEBUFFERINFO structure describes information about a particular type of compressed buffer that is required for a video decoding scenario.

Syntax


typedef struct _DXVADDI_DECODEBUFFERINFO {
  D3DDDIFORMAT CompressedBufferType;
  UINT         CreationWidth;
  UINT         CreationHeight;
  D3DDDI_POOL  CreationPool;
} DXVADDI_DECODEBUFFERINFO;

Members

CompressedBufferType

[out] A D3DDDIFORMAT-typed value that indicates the pixel format of the buffer.

CreationWidth

[out] The width of the data in the buffer as the number of units of bits. For example, AYUV data is specified in 32-bit units, IA44/AI44 data is specified in 8-bit units, and DPXD data is specified in 2-bit units.

The driver must assign a value to CreationWidth that is a multiple of 2 and does not exceed 65535.

CreationHeight

[out] The height of the data in the buffer as the number of units of bits. For example, AYUV data is specified in 32-bit units, IA44/AI44 data is specified in 8-bit units, and DPXD data is specified in 2-bit units.

The driver must assign a value to CreationHeight that does not exceed 65535.

CreationPool

[out] A D3DDDI_POOL-typed value that indicates the type of memory that the buffer exists in.

Remarks

A pointer to the DXVADDI_DECODEINPUT structure is specified in the pInfo member of the D3DDDIARG_GETCAPS structure--along with a D3DDDICAPS_GETDECODECOMPRESSEDBUFFERINFO value in the Type member of D3DDDIARG_GETCAPS--in a call to the user-mode display driver's GetCaps function to retrieve information about the types of compressed buffers that are required to accelerate a particular DirectX VA video decode type. The information about the types of compressed buffers is returned in an array of DXVADDI_DECODEBUFFERINFO structures through the pData member of D3DDDIARG_GETCAPS.

Requirements

Version

Available in Windows Vista and later versions of the Windows operating systems.

Header

D3dumddi.h (include D3dumddi.h)

See also

D3DDDIARG_GETCAPS
D3DDDICAPS_TYPE
DXVADDI_DECODEINPUT
GetCaps

 

 

Send comments about this topic to Microsoft

Show: