ID3D11VideoProcessorEnumerator::GetVideoProcessorCustomRate Method

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

Syntax

public:
HRESULT GetVideoProcessorCustomRate(
         UINT TypeIndex,
         UINT CustomRateIndex,
         D3D11_VIDEO_PROCESSOR_CUSTOM_RATE *pRate
)  

Parameters

TypeIndex
Type: UINT 

[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
Type: UINT 

[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
Type: D3D11_VIDEO_PROCESSOR_CUSTOM_RATE *

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

Return value

Type: HRESULT 

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

Requirements

Header: Declared in d3d11_x.h (d3d11.h on other Windows platforms).