Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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.

Requirements

Minimum supported client

Windows 8 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 [desktop apps | Windows Store apps]

Minimum supported phone

Windows Phone 8

Header

D3d11.h

See also

ID3D11VideoProcessorEnumerator

 

 

Show:
© 2017 Microsoft