D3D11_VIDEO_DECODER_EXTENSION structure

Contains driver-specific data for the ID3D11VideoContext::DecoderExtension method.

Syntax


typedef struct D3D11_VIDEO_DECODER_EXTENSION {
  UINT           Function;
  void           *pPrivateInputData;
  UINT           PrivateInputDataSize;
  void           *pPrivateOutputData;
  UINT           PrivateOutputDataSize;
  UINT           ResourceCount;
  ID3D11Resource **ppResourceList;
} D3D11_VIDEO_DECODER_EXTENSION;

Members

Function

The function number. This number identifies the operation to perform. Currently no function numbers are defined.

pPrivateInputData

A pointer to a buffer that contains input data for the driver.

PrivateInputDataSize

The size of the pPrivateInputData buffer, in bytes.

pPrivateOutputData

A pointer to a buffer that the driver can use to write output data.

PrivateOutputDataSize

The size of the pPrivateOutputData buffer, in bytes.

ResourceCount

The number of elements in the ppResourceList array. If ppResourceList is NULL, set ResourceCount to zero.

ppResourceList

The address of an array of ID3D11Resource pointers. Use this member to pass Direct3D resources to the driver.

Remarks

The exact meaning of each structure member depends on the value of Function.

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

D3d11.h

See also

Direct3D 11 Video Structures

 

 

Show: