NVAPI Reference Documentation
NVIDIA
Release 384: June 27
2017

DirectX Video Control

Data Structures

struct  _NV_DX_VIDEO_STEREO_INFO
 

Macros

#define NV_STEREO_VIDEO_FORMAT_DEFINE
 
#define NV_DX_VIDEO_STEREO_INFO_VER   MAKE_NVAPI_VERSION(NV_DX_VIDEO_STEREO_INFO,1)
 

Typedefs

typedef enum _NV_STEREO_VIDEO_FORMAT NV_STEREO_VIDEO_FORMAT
 
typedef struct _NV_DX_VIDEO_STEREO_INFO NV_DX_VIDEO_STEREO_INFO
 

Enumerations

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
}
 

Functions

NVAPI_INTERFACE NvAPI_D3D9_VideoSetStereoInfo (IDirect3DDevice9 *pDev, NV_DX_VIDEO_STEREO_INFO *pStereoInfo)
 

Detailed Description

See also vidcontrol

SUPPORTED OS: Windows Vista and higher

Macro Definition Documentation

#define NV_DX_VIDEO_STEREO_INFO_VER   MAKE_NVAPI_VERSION(NV_DX_VIDEO_STEREO_INFO,1)

Macro for constructing the version field of NV_DX_VIDEO_STEREO_INFO.

#define NV_STEREO_VIDEO_FORMAT_DEFINE

Typedef Documentation

Enumeration Type Documentation

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 
)
1  DESCRIPTION: This api specifies the stereo format of a surface, so that the
2  surface could be used for stereo video processing or compositing.
3  In particular, this api could be used to link the left and right
4  views of a decoded picture.
5 
6 \since Release: 313
7 
8  INPUT: pDev - The device on which the stereo surface will be used
9  pStereoInfo - The stereo format of the surface
10 
11 \return an int which could be an NvAPI status or DX HRESULT code


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

NVIDIA