ID3D11VideoProcessorEnumerator::GetVideoProcessorCustomRate method (d3d11.h)
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
[in] TypeIndex
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.
[in] CustomRateIndex
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.
[out] pRate
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.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8 [desktop apps | UWP apps] |
Minimum supported server | Windows Server 2012 [desktop apps | UWP apps] |
Target Platform | Windows |
Header | d3d11.h |