PDXVAHDSW_GetVideoProcessorCustomRates callback function (dxvahd.h)

Gets the custom rates that a software Microsoft DirectX Video Acceleration High Definition (DXVA-HD) video processor supports.

Syntax

PDXVAHDSW_GetVideoProcessorCustomRates PdxvahdswGetvideoprocessorcustomrates;

HRESULT PdxvahdswGetvideoprocessorcustomrates(
  [in]  HANDLE hDevice,
  [in]  const GUID *pVPGuid,
  [in]  UINT Count,
  [out] DXVAHD_CUSTOM_RATE_DATA *pRates
)
{...}

Parameters

[in] hDevice

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

[in] pVPGuid

A GUID that identifies the video processor to query.

[in] Count

The number of rates to retrieve.

[out] pRates

A pointer to an array of DXVAHD_CUSTOM_RATE_DATA structures. The Count parameter specifies the number of elements in the array. The function fills the array with a list of custom rates.

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

Media Foundation Functions