ID3D11VideoContext::VideoProcessorGetStreamStereoFormat method
Gets the stereo 3D format for an input stream on the video processor
Syntax
void VideoProcessorGetStreamStereoFormat( [in] ID3D11VideoProcessor *pVideoProcessor, [in] UINT StreamIndex, [out] BOOL *pEnabled, [out] D3D11_VIDEO_PROCESSOR_STEREO_FORMAT *pFormat, [out] BOOL *pLeftViewFrame0, [out] BOOL *pBaseViewFrame0, [out] D3D11_VIDEO_PROCESSOR_STEREO_FLIP_MODE *pFlipMode, [out] int *MonoOffset );
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.
- pEnabled [out]
-
Receives the value TRUE if stereo 3D is enabled for this stream, or FALSE otherwise. If the value is FALSE, ignore the remaining parameters.
- pFormat [out]
-
Receives a D3D11_VIDEO_PROCESSOR_STEREO_FORMAT value that specifies the layout of the two stereo views in memory.
- pLeftViewFrame0 [out]
-
Receives a Boolean value.
Value Meaning - TRUE
Frame 0 contains the left view.
- FALSE
Frame 0 contains the right view.
- pBaseViewFrame0 [out]
-
Receives a Boolean value.
Value Meaning - TRUE
Frame 0 contains the base view.
- FALSE
Frame 1 contains the base view.
- pFlipMode [out]
-
Receives a D3D11_VIDEO_PROCESSOR_STEREO_FLIP_MODE value. This value specifies whether one of the views is flipped.
- MonoOffset [out]
-
Receives the pixel offset used for D3D11_VIDEO_PROCESSOR_STEREO_FORMAT_MONO_OFFSET format. This parameter is ignored for other stereo formats.
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