PDXVAHDSW_GetVideoProcessorDeviceCaps callback function (dxvahd.h)

Gets the capabilities of a software plug-in Microsoft DirectX Video Acceleration High Definition (DXVA-HD) device.

Syntax

PDXVAHDSW_GetVideoProcessorDeviceCaps PdxvahdswGetvideoprocessordevicecaps;

HRESULT PdxvahdswGetvideoprocessordevicecaps(
  [in]  HANDLE hDevice,
  [in]  const DXVAHD_CONTENT_DESC *pContentDesc,
  [in]  DXVAHD_DEVICE_USAGE Usage,
  [out] DXVAHD_VPDEVCAPS *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 device will be used. The value indicates the desired trade-off between speed and video quality.

[out] pCaps

A pointer to a DXVAHD_VPDEVCAPS structure that receives the device capabilities.

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::GetVideoProcessorDeviceCaps

Media Foundation Functions