PFND3D12DDI_VIDEO_GET_DECODE_FORMAT_COUNT callback function

The pfnGetDecodeFormatCount callback function retrieves the number of formats supported for a decode configuration.

Syntax

PFND3D12DDI_VIDEO_GET_DECODE_FORMAT_COUNT pfnGetDecodeFormatCount;

UINT APIENTRY* pfnGetDecodeFormatCount(
         D3D12DDI_HDEVICE                    hDrvDevice,
         UINT                                NodeIndex,
   const D3D12DDI_VIDEO_DECODE_CONFIGURATION *pConfiguration
)
{ ... }

Parameters

  • hDrvDevice
    The handle of the device.

  • NodeIndex
    The physical adapter of the device to which this operation applies.

  • pConfiguration
    The decode configuration for the list of formats. For more information, see the 3D12DDI_VIDEO_DECODE_CONFIGURATION enumeration.

Return value

This function retrieves the number of formats supported for a decode configuration.

Requirements

Header

D3d12umddi.h (include D3d12umddi.h)

See also

3D12DDI_VIDEO_DECODE_CONFIGURATION

 

 

Send comments about this topic to Microsoft