Bewerken

Delen via


PFND3D11_1DDI_VIDEOPROCESSORSETOUTPUTSTEREOMODE callback function (d3d10umddi.h)

Specifies whether the video processor produces stereo video frames.

Syntax

PFND3D11_1DDI_VIDEOPROCESSORSETOUTPUTSTEREOMODE Pfnd3d111DdiVideoprocessorsetoutputstereomode;

void Pfnd3d111DdiVideoprocessorsetoutputstereomode(
  D3D10DDI_HDEVICE unnamedParam1,
  D3D11_1DDI_HVIDEOPROCESSOR unnamedParam2,
  BOOL unnamedParam3
)
{...}

Parameters

unnamedParam1

hDevice [in]

A handle to the display device (graphics context).

unnamedParam2

hVideoProcessor [in]

A handle to the video processor object that was created through a call to the CreateVideoProcessor function.

unnamedParam3

Enable [in]

If TRUE, stereo output is enabled. Otherwise, the video processor produces mono video frames.

Return value

None

Remarks

By default, the video processor produces mono video frames. If stereo video is enabled, the stereo output format is set through the VideoProcessorSetStreamStereoFormat function.

The driver reports its ability to support stereo video modes through the GetVideoProcessorCaps function. If the driver supports the D3D11_1DDI_VIDEO_PROCESSOR_FEATURE_CAPS_STEREO capability, it can be enabled or disabled to produce stereo video frames.

Note  If the driver does not support the D3D11_1DDI_VIDEO_PROCESSOR_FEATURE_CAPS_STEREO capability, the Microsoft Direct3D runtime does not call the VideoProcessorSetOutputStereoMode function.
 

Requirements

Requirement Value
Minimum supported client Windows 8
Minimum supported server Windows Server 2012
Target Platform Desktop
Header d3d10umddi.h (include D3d10umddi.h)

See also

CreateVideoProcessor

GetVideoProcessorCaps

VideoProcessorSetStreamStereoFormat