PDXVAHDSW_GetVideoProcessorCaps callback function (dxvahd.h)

Gets the capabilities of one or more software Microsoft DirectX Video Acceleration High Definition (DXVA-HD) video processors.

Syntax

PDXVAHDSW_GetVideoProcessorCaps PdxvahdswGetvideoprocessorcaps;

HRESULT PdxvahdswGetvideoprocessorcaps(
  [in]  HANDLE hDevice,
  [in]  const DXVAHD_CONTENT_DESC *pContentDesc,
  [in]  DXVAHD_DEVICE_USAGE Usage,
  [in]  UINT Count,
  [out] DXVAHD_VPCAPS *pCaps
)
{...}

Parameters

[in] hDevice

A handle to the plug-in DXVA-HD device.

[in] pContentDesc

A pointer to a DXVAHD_CONTENT_DESC structure that describes the video content.

[in] Usage

A member of the DXVAHD_DEVICE_USAGE enumeration, describing how the video processor will be used.

[in] Count

The number of elements in the pCaps array.

[out] pCaps

A pointer to an array of DXVAHD_VPCAPS structures. The function fills the structures with the capabilities of the plug-in video processors.

Return value

If this callback function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Target Platform Windows
Header dxvahd.h

See also

DXVA-HD

DXVAHDSW_CALLBACKS

IDXVAHD_Device::GetVideoProcessorCaps

Media Foundation Functions