PFND3D11_1DDI_VIDEOPROCESSORSETSTREAMSTEREOFORMAT - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// 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 reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-d3d10umddi-pfnd3d11_1ddi_videoprocessorsetstreamstereoformat)

PFND3D11_1DDI_VIDEOPROCESSORSETSTREAMSTEREOFORMAT callback function

Description

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.

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

StreamIndex [in]

The zero-based index of the input stream.

unnamedParam4

Enable [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.

unnamedParam5

StereoFormat [in]

Specifies the layout of the two stereo views in memory, as a D3D11_1DDI_VIDEO_PROCESSOR_STEREO_FORMAT value.

unnamedParam6

LeftViewFrame0 [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:

unnamedParam7

BaseViewFrame0 [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:

unnamedParam8

FlipMode [in]

A D3D11_1DDI_VIDEO_PROCESSOR_STEREO_FLIP_MODE enumeration value that specifies whether one of the views is flipped.

unnamedParam9

MonoOffset [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.

Remarks

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:

See also

CreateVideoProcessor

D3D11_1DDI_VIDEO_PROCESSOR_STEREO_FLIP_MODE

D3D11_1DDI_VIDEO_PROCESSOR_STEREO_FORMAT

D3D11_1DDI_VIDEO_PROCESSOR_STREAM

VideoProcessorBlt