IDXVAHD_Device::GetVideoProcessorCustomRates method (dxvahd.h)

Gets a list of custom rates that a Microsoft DirectX Video Acceleration High Definition (DXVA-HD) video processor supports. Custom rates are used for frame-rate conversion and inverse telecine (IVTC).

Syntax

HRESULT GetVideoProcessorCustomRates(
  [in]  const GUID              *pVPGuid,
  [in]  UINT                    Count,
  [out] DXVAHD_CUSTOM_RATE_DATA *pRates
);

Parameters

[in] pVPGuid

A GUID that identifies the video processor to query. This GUID must equal the value of the VPGuid member from one of the DXVAHD_VPCAPS structures retrieved by the IDXVAHD_Device::GetVideoProcessorCaps method.

[in] Count

The number of rates to retrieve. This parameter must equal the CustomRateCount member of the DXVAHD_VPCAPS structure for the video processor.

[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 method fills the array with a list of custom rates.

Return value

If this method 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

IDXVAHD_Device