Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

CalcPrivateVideoDecoderSize function

Returns the number of bytes that the driver requires to store private data for the video decoder state.

Syntax


SIZE_T APIENTRY* CalcPrivateVideoDecoderSize(
  _In_  D3D10DDI_HDEVICE hDevice,
  _In_  const D3D11_1DDIARG_CREATEVIDEODECODER *pDecoder
);

Parameters

hDevice [in]

A handle to the display device (graphics context).

pDecoder [in]

A pointer to a D3D11_1DDIARG_CREATEVIDEODECODER structure that describes the video decoder.

Return value

The required number of bytes for the video decoder state.

Remarks

The runtime will validate the members of the D3D11_1DDIARG_CREATEVIDEODECODER structure before it calls this function.

This function is not expected to fail.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Header

D3d10umddi.h (include D3d10umddi.h)

See also

D3D11_1DDIARG_CREATEVIDEODECODER

 

 

Send comments about this topic to Microsoft

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.