Bewerken

Delen via


DXVADDI_DECODEBUFFERINFO structure (d3dumddi.h)

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 {
  [out] D3DDDIFORMAT CompressedBufferType;
  [out] UINT         CreationWidth;
  [out] UINT         CreationHeight;
  [out] D3DDDI_POOL  CreationPool;
} DXVADDI_DECODEBUFFERINFO;

Members

[out] CompressedBufferType

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

[out] CreationWidth

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.

[out] CreationHeight

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.

[out] CreationPool

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

Requirement Value
Minimum supported client 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