// d3d10umddi.h
PFND3D11_1DDI_VIDEOPROCESSORSETSTREAMSTEREOFORMAT Pfnd3d111DdiVideoprocessorsetstreamstereoformat;
VOID Pfnd3d111DdiVideoprocessorsetstreamstereoformat(
D3D10DDI_HDEVICE unnamedParam1,
D3D11_1DDI_HVIDEOPROCESSOR unnamedParam2,
UINT unnamedParam3,
BOOL unnamedParam4,
D3D11_1DDI_VIDEO_PROCESSOR_STEREO_FORMAT unnamedParam5,
BOOL unnamedParam6,
BOOL unnamedParam7,
D3D11_1DDI_VIDEO_PROCESSOR_STEREO_FLIP_MODE unnamedParam8,
int unnamedParam9
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
Enables or disables stereo 3D video for an input stream on the video processor. In addition, this function specifies the layout of the video frames in memory.
unnamedParam1hDevice [in]
A handle to the display device (graphics context).
unnamedParam2hVideoProcessor [in]
A handle to the video processor object that was created through a call to the CreateVideoProcessor function.
unnamedParam3StreamIndex [in]
The zero-based index of the input stream.
unnamedParam4Enable [in]
If TRUE, stereo 3D is enabled for the input stream.
If FALSE, stereo 3D is disabled for the input stream.
The driver must ignore the remaining parameters for this function.
unnamedParam5StereoFormat [in]
Specifies the layout of the two stereo views in memory, as a D3D11_1DDI_VIDEO_PROCESSOR_STEREO_FORMAT value.
unnamedParam6LeftViewFrame0 [in]
If TRUE, frame 0 contains the left view. Otherwise, frame 0 contains the right view.
This parameter is ignored for the following D3D11_1DDI_VIDEO_PROCESSOR_STEREO_FORMAT values:
unnamedParam7BaseViewFrame0 [in]
If TRUE, frame 0 contains the base view. Otherwise, frame 1 contains the base view.
This parameter is ignored for the following D3D11_1DDI_VIDEO_PROCESSOR_STEREO_FORMAT values:
unnamedParam8FlipMode [in]
A D3D11_1DDI_VIDEO_PROCESSOR_STEREO_FLIP_MODE enumeration value that specifies whether one of the views is flipped.
unnamedParam9MonoOffset [in]
If the StereoFormat parameter is set to D3D11_VIDEO_PROCESSOR_STEREO_FORMAT_MONO_OFFSET, this parameter specifies how to generate the left and right views. For more information, see the Remarks section.
Note If the StereoFormat parameter is not set to D3D11_VIDEO_PROCESSOR_STEREO_FORMAT_MONO_OFFSET, this parameter must be set to zero and ignored by the driver.
For stereo formats of D3D11_VIDEO_PROCESSOR_STEREO_FORMAT_MONO_OFFSET, the driver processes the MonoOffset parameter in the following way:
For stereo formats of D3D11_1DDI_VIDEO_PROCESSOR_STEREO_FORMAT_SEPARATE, the application can set the BaseViewFrame0 parameter to convert stereo data to mono. The application does this in one of the following ways:
D3D11_1DDI_VIDEO_PROCESSOR_STEREO_FLIP_MODE
D3D11_1DDI_VIDEO_PROCESSOR_STEREO_FORMAT
D3D11_1DDI_VIDEO_PROCESSOR_STREAM