Export (0) Print
Expand All

IDXVAHD_Device::GetVideoProcessorCustomRates method

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

pVPGuid [in]

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

Count [in]

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

pRates [out]

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

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Dxvahd.h

See also

DXVA-HD
IDXVAHD_Device

 

 

Community Additions

ADD
Show:
© 2015 Microsoft