ID3D11VideoContext::VideoProcessorGetStreamOutputRate method
Gets the rate at which the video processor produces output frames for an input stream.
Syntax
void VideoProcessorGetStreamOutputRate( [in] ID3D11VideoProcessor *pVideoProcessor, [in] UINT StreamIndex, [out] D3D11_VIDEO_PROCESSOR_OUTPUT_RATE *pOutputRate, [out] BOOL *pRepeatFrame, [out] DXGI_RATIONAL *pCustomRate );
Parameters
- pVideoProcessor [in]
-
A pointer to the ID3D11VideoProcessor interface. To get this pointer, call ID3D11VideoDevice::CreateVideoProcessor.
- StreamIndex [in]
-
The zero-based index of the input stream. To get the maximum number of streams, call ID3D11VideoProcessorEnumerator::GetVideoProcessorCaps and check the MaxStreamStates structure member.
- pOutputRate [out]
-
Receives a D3D11_VIDEO_PROCESSOR_OUTPUT_RATE value that specifies the output rate.
- pRepeatFrame [out]
-
Receives a Boolean value that specifies how the driver performs frame-rate conversion, if required.
Value Meaning - TRUE
Repeat frames.
- FALSE
Interpolate frames.
- pCustomRate [out]
-
A pointer to a DXGI_RATIONAL structure. If the output rate is D3D11_VIDEO_PROCESSOR_OUTPUT_RATE_CUSTOM, the method fills in this structure with the exact output rate. Otherwise, this parameter is ignored.
Return value
This method does not return a value.
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 |
|
See also