ID3D11VideoProcessorEnumerator::GetVideoProcessorCustomRate method

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

Syntax


HRESULT GetVideoProcessorCustomRate(
  [in]   UINT TypeIndex,
  [in]   UINT CustomRateIndex,
  [out]  D3D11_VIDEO_PROCESSOR_CUSTOM_RATE *pRate
);

Parameters

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.

Remarks

Windows Phone 8: This API is supported.

Requirements

Minimum supported client

Windows 8 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 [desktop apps | Windows Store apps]

Header

D3d11.h

See also

ID3D11VideoProcessorEnumerator

 

 

Community Additions

ADD
Show:
© 2014 Microsoft