ID3D11VideoProcessorEnumerator::GetVideoProcessorCustomRate method

Gets a list of custom frame rates that a video processor supports.


HRESULT GetVideoProcessorCustomRate(
  [in]  UINT                              TypeIndex,
  [in]  UINT                              CustomRateIndex,


TypeIndex [in]

The zero-based index of the frame-rate capability group. To get the maxmum index, call ID3D11VideoProcessorEnumerator::GetVideoProcessorCaps and check the RateConversionCapsCount member of the D3D11_VIDEO_PROCESSOR_CAPS structure.

CustomRateIndex [in]

The zero-based index of the custom rate to retrieve. To get the maximum index, call ID3D11VideoProcessorEnumerator::GetVideoProcessorRateConversionCaps and check the CustomRateCount member of the D3D11_VIDEO_PROCESSOR_RATE_CONVERSION_CAPS structure.

This index value is always relative to the capability group specified in the TypeIndex parameter.

pRate [out]

A pointer to a D3D11_VIDEO_PROCESSOR_CUSTOM_RATE structure that receives the custom rate.

Return value

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


Minimum supported client

Windows 8 [desktop apps | UWP apps]

Minimum supported server

Windows Server 2012 [desktop apps | UWP apps]

Minimum supported phone

Windows Phone 8



See also