Nuta
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować się zalogować lub zmienić katalog.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
Gets the source rectangle for an input stream on the video processor.
Syntax
void VideoProcessorGetStreamSourceRect(
[in] ID3D11VideoProcessor *pVideoProcessor,
[in] UINT StreamIndex,
[out] BOOL *pEnabled,
[out] RECT *pRect
);
Parameters
[in] pVideoProcessor
A pointer to the ID3D11VideoProcessor interface. To get this pointer, call ID3D11VideoDevice::CreateVideoProcessor.
[in] StreamIndex
The zero-based index of the input stream. To get the maximum number of streams, call ID3D11VideoProcessorEnumerator::GetVideoProcessorCaps and check the MaxStreamStates structure member.
[out] pEnabled
Receives the value TRUE if the source rectangle is enabled, or FALSE otherwise.
[out] pRect
A pointer to a RECT structure that receives the source rectangle.
Return value
None
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 |