NVAPI Reference Documentation
NVIDIA
Release 470: June 28
2021

Functions
DirectX Video Control

Functions

NVAPI_INTERFACE NvAPI_D3D9_VideoSetStereoInfo (IDirect3DDevice9 *pDev, NV_DX_VIDEO_STEREO_INFO *pStereoInfo)
 
enum  _NV_STEREO_VIDEO_FORMAT {
  NV_STEREO_VIDEO_FORMAT_NOT_STEREO = 0, NV_STEREO_VIDEO_FORMAT_SIDE_BY_SIDE_LR = 1, NV_STEREO_VIDEO_FORMAT_SIDE_BY_SIDE_RL = 2, NV_STEREO_VIDEO_FORMAT_TOP_BOTTOM_LR = 3,
  NV_STEREO_VIDEO_FORMAT_TOP_BOTTOM_RL = 4, NV_STEREO_VIDEO_FORMAT_ROW_INTERLEAVE_LR = 5, NV_STEREO_VIDEO_FORMAT_ROW_INTERLEAVE_RL = 6, NV_STEREO_VIDEO_FORMAT_TWO_FRAMES_LR = 7,
  NV_STEREO_VIDEO_FORMAT_MONO_PLUS_OFFSET = 8, NV_STEREO_VIDEO_FORMAT_LAST = 9
}
 
typedef enum _NV_STEREO_VIDEO_FORMAT NV_STEREO_VIDEO_FORMAT
 

Detailed Description

See also vidcontrol

Typedef Documentation

Macro for constructing the version field of NV_DX_VIDEO_STEREO_INFO.

Enumeration Type Documentation

Macro for constructing the version field of NV_DX_VIDEO_STEREO_INFO.

Enumerator
NV_STEREO_VIDEO_FORMAT_NOT_STEREO 
NV_STEREO_VIDEO_FORMAT_SIDE_BY_SIDE_LR 
NV_STEREO_VIDEO_FORMAT_SIDE_BY_SIDE_RL 
NV_STEREO_VIDEO_FORMAT_TOP_BOTTOM_LR 
NV_STEREO_VIDEO_FORMAT_TOP_BOTTOM_RL 
NV_STEREO_VIDEO_FORMAT_ROW_INTERLEAVE_LR 
NV_STEREO_VIDEO_FORMAT_ROW_INTERLEAVE_RL 
NV_STEREO_VIDEO_FORMAT_TWO_FRAMES_LR 
NV_STEREO_VIDEO_FORMAT_MONO_PLUS_OFFSET 
NV_STEREO_VIDEO_FORMAT_LAST 

Function Documentation

NvAPI_D3D9_VideoSetStereoInfo ( IDirect3DDevice9 *  pDev,
NV_DX_VIDEO_STEREO_INFO pStereoInfo 
)

SUPPORTED OS: Windows 7 and higher

DESCRIPTION: This api specifies the stereo format of a surface, so that the surface could be used for stereo video processing or compositing. In particular, this api could be used to link the left and right views of a decoded picture.

Since
Release: 313
Parameters
[in]pDev- The device on which the stereo surface will be used [in] pStereoInfo - The stereo format of the surface
Returns
An int which could be an NvAPI status or DX HRESULT code


Copyright (c) 2007-2021 NVIDIA Corporation. All rights reserved.

NVIDIA