PlusLib  2.9.0
Software library for tracked ultrasound image acquisition, calibration, and processing.
List of all members | Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes
CNvSDIin Class Reference

#include <src/PlusDataCollection/NVidiaDVP/nvSDIin.h>

Public Member Functions

HRESULT BindDevice (GLuint videoSlot, HDC hDC)
 
HRESULT BindVideoFrameBuffer (GLuint videoBuffer, GLint videoBufferFormat, unsigned int stream)
 
HRESULT BindVideoTexture (GLuint videoTexture, unsigned int stream)
 
GLenum Capture (GLuint *sequenceNum, GLuint64EXT *captureTime)
 
HRESULT Cleanup ()
 
 CNvSDIin ()
 
HRESULT EndCapture ()
 
int GetBufferObjectPitch (unsigned int streamIndex)
 
int GetDeviceNumber ()
 
HRESULT GetFrameRate (float *rate)
 
unsigned int GetHeight ()
 
unsigned int GetNumStreams ()
 
NVVIOSIGNALFORMAT GetSignalFormat ()
 
NvVioHandle GetVioHandle ()
 
unsigned int GetWidth ()
 
HRESULT Init (nvOptions *options=NULL)
 
void SetCSCParams (GLfloat *cscMat, GLfloat *cscOffset, GLfloat *cscMin, GLfloat *cscMax)
 
HRESULT SetupDevice (int deviceNumber=0)
 
HRESULT StartCapture ()
 
HRESULT UnbindDevice ()
 
HRESULT UnbindVideoFrameBuffer (unsigned int stream)
 
HRESULT UnbindVideoTexture (unsigned int stream)
 
 ~CNvSDIin ()
 

Public Attributes

float m_gpuTime
 
float m_gviTime
 

Protected Member Functions

void DumpChannelStatus (NVVIOCHANNELSTATUS jack)
 
void DumpStreamStatus (NVVIOSTREAM stream)
 
HRESULT GetVideoInState (NVVIOCONFIG_V1 *vioConfig, NVVIOSTATUS *vioStatus)
 
HRESULT SetVideoConfig ()
 

Protected Attributes

unsigned int m_activeJacks [NVAPI_MAX_VIO_JACKS]
 
bool m_bCaptureStarted
 
bool m_bDualLink
 
int m_BitsPerComponent
 
GLuint m_captureTimeQuery
 
GLfloat m_cscMat [4][4]
 
GLfloat m_cscMax [4]
 
GLfloat m_cscMin [4]
 
GLfloat m_cscOffset [4]
 
HVIDEOINPUTDEVICENV m_device
 
int m_deviceNumber
 
int m_ExpansionEnable
 
float m_fFrameRate
 
HDC m_hDC
 
unsigned int m_numStreams
 
NVVIOCOMPONENTSAMPLING m_Sampling
 
NVVIOSIGNALFORMATDETAIL m_signalFormatDetail
 
NVVIOSIGNALFORMAT m_videoFormat
 
unsigned int m_videoHeight
 
GLuint m_videoSlot
 
unsigned int m_videoWidth
 
NvVioHandle m_vioHandle
 
NvU32 m_vioID
 

Detailed Description

Definition at line 82 of file nvSDIin.h.

Constructor & Destructor Documentation

◆ CNvSDIin()

CNvSDIin::CNvSDIin ( )

Definition at line 196 of file nvSDIin.cpp.

◆ ~CNvSDIin()

CNvSDIin::~CNvSDIin ( )

Definition at line 237 of file nvSDIin.cpp.

Member Function Documentation

◆ BindDevice()

HRESULT CNvSDIin::BindDevice ( GLuint  videoSlot,
HDC  hDC 
)

Definition at line 641 of file nvSDIin.cpp.

◆ BindVideoFrameBuffer()

HRESULT CNvSDIin::BindVideoFrameBuffer ( GLuint  videoBuffer,
GLint  videoBufferFormat,
unsigned int  stream 
)

Definition at line 924 of file nvSDIin.cpp.

◆ BindVideoTexture()

HRESULT CNvSDIin::BindVideoTexture ( GLuint  videoTexture,
unsigned int  stream 
)

Definition at line 902 of file nvSDIin.cpp.

◆ Capture()

GLenum CNvSDIin::Capture ( GLuint *  sequenceNum,
GLuint64EXT *  captureTime 
)

Definition at line 1012 of file nvSDIin.cpp.

◆ Cleanup()

HRESULT CNvSDIin::Cleanup ( )

Definition at line 1071 of file nvSDIin.cpp.

◆ DumpChannelStatus()

void CNvSDIin::DumpChannelStatus ( NVVIOCHANNELSTATUS  jack)
protected

Definition at line 269 of file nvSDIin.cpp.

◆ DumpStreamStatus()

void CNvSDIin::DumpStreamStatus ( NVVIOSTREAM  stream)
protected

Definition at line 281 of file nvSDIin.cpp.

◆ EndCapture()

HRESULT CNvSDIin::EndCapture ( )

Definition at line 1043 of file nvSDIin.cpp.

◆ GetBufferObjectPitch()

int CNvSDIin::GetBufferObjectPitch ( unsigned int  streamIndex)

Definition at line 943 of file nvSDIin.cpp.

◆ GetDeviceNumber()

int CNvSDIin::GetDeviceNumber ( )

Definition at line 1087 of file nvSDIin.cpp.

◆ GetFrameRate()

HRESULT CNvSDIin::GetFrameRate ( float *  rate)

Definition at line 1079 of file nvSDIin.cpp.

◆ GetHeight()

unsigned int CNvSDIin::GetHeight ( )

Definition at line 263 of file nvSDIin.cpp.

◆ GetNumStreams()

unsigned int CNvSDIin::GetNumStreams ( )

Definition at line 957 of file nvSDIin.cpp.

◆ GetSignalFormat()

NVVIOSIGNALFORMAT CNvSDIin::GetSignalFormat ( )

Definition at line 963 of file nvSDIin.cpp.

◆ GetVideoInState()

HRESULT CNvSDIin::GetVideoInState ( NVVIOCONFIG_V1 *  vioConfig,
NVVIOSTATUS *  vioStatus 
)
protected

Definition at line 319 of file nvSDIin.cpp.

◆ GetVioHandle()

NvVioHandle CNvSDIin::GetVioHandle ( )

Definition at line 251 of file nvSDIin.cpp.

◆ GetWidth()

unsigned int CNvSDIin::GetWidth ( )

Definition at line 257 of file nvSDIin.cpp.

◆ Init()

HRESULT CNvSDIin::Init ( nvOptions options = NULL)

Definition at line 294 of file nvSDIin.cpp.

◆ SetCSCParams()

void CNvSDIin::SetCSCParams ( GLfloat *  cscMat,
GLfloat *  cscOffset,
GLfloat *  cscMin,
GLfloat *  cscMax 
)

Definition at line 242 of file nvSDIin.cpp.

◆ SetupDevice()

HRESULT CNvSDIin::SetupDevice ( int  deviceNumber = 0)

Definition at line 554 of file nvSDIin.cpp.

◆ SetVideoConfig()

HRESULT CNvSDIin::SetVideoConfig ( )
protected

Definition at line 365 of file nvSDIin.cpp.

◆ StartCapture()

HRESULT CNvSDIin::StartCapture ( )

Definition at line 975 of file nvSDIin.cpp.

◆ UnbindDevice()

HRESULT CNvSDIin::UnbindDevice ( )

Definition at line 1056 of file nvSDIin.cpp.

◆ UnbindVideoFrameBuffer()

HRESULT CNvSDIin::UnbindVideoFrameBuffer ( unsigned int  stream)

Definition at line 969 of file nvSDIin.cpp.

◆ UnbindVideoTexture()

HRESULT CNvSDIin::UnbindVideoTexture ( unsigned int  stream)

Definition at line 913 of file nvSDIin.cpp.

Member Data Documentation

◆ m_activeJacks

unsigned int CNvSDIin::m_activeJacks[NVAPI_MAX_VIO_JACKS]
protected

Definition at line 142 of file nvSDIin.h.

◆ m_bCaptureStarted

bool CNvSDIin::m_bCaptureStarted
protected

Definition at line 159 of file nvSDIin.h.

◆ m_bDualLink

bool CNvSDIin::m_bDualLink
protected

Definition at line 131 of file nvSDIin.h.

◆ m_BitsPerComponent

int CNvSDIin::m_BitsPerComponent
protected

Definition at line 133 of file nvSDIin.h.

◆ m_captureTimeQuery

GLuint CNvSDIin::m_captureTimeQuery
protected

Definition at line 161 of file nvSDIin.h.

◆ m_cscMat

GLfloat CNvSDIin::m_cscMat[4][4]
protected

Definition at line 154 of file nvSDIin.h.

◆ m_cscMax

GLfloat CNvSDIin::m_cscMax[4]
protected

Definition at line 155 of file nvSDIin.h.

◆ m_cscMin

GLfloat CNvSDIin::m_cscMin[4]
protected

Definition at line 156 of file nvSDIin.h.

◆ m_cscOffset

GLfloat CNvSDIin::m_cscOffset[4]
protected

Definition at line 157 of file nvSDIin.h.

◆ m_device

HVIDEOINPUTDEVICENV CNvSDIin::m_device
protected

Definition at line 148 of file nvSDIin.h.

◆ m_deviceNumber

int CNvSDIin::m_deviceNumber
protected

Definition at line 151 of file nvSDIin.h.

◆ m_ExpansionEnable

int CNvSDIin::m_ExpansionEnable
protected

Definition at line 134 of file nvSDIin.h.

◆ m_fFrameRate

float CNvSDIin::m_fFrameRate
protected

Definition at line 139 of file nvSDIin.h.

◆ m_gpuTime

float CNvSDIin::m_gpuTime

Definition at line 86 of file nvSDIin.h.

◆ m_gviTime

float CNvSDIin::m_gviTime

Definition at line 85 of file nvSDIin.h.

◆ m_hDC

HDC CNvSDIin::m_hDC
protected

Definition at line 145 of file nvSDIin.h.

◆ m_numStreams

unsigned int CNvSDIin::m_numStreams
protected

Definition at line 141 of file nvSDIin.h.

◆ m_Sampling

NVVIOCOMPONENTSAMPLING CNvSDIin::m_Sampling
protected

Definition at line 132 of file nvSDIin.h.

◆ m_signalFormatDetail

NVVIOSIGNALFORMATDETAIL CNvSDIin::m_signalFormatDetail
protected

Definition at line 143 of file nvSDIin.h.

◆ m_videoFormat

NVVIOSIGNALFORMAT CNvSDIin::m_videoFormat
protected

Definition at line 140 of file nvSDIin.h.

◆ m_videoHeight

unsigned int CNvSDIin::m_videoHeight
protected

Definition at line 138 of file nvSDIin.h.

◆ m_videoSlot

GLuint CNvSDIin::m_videoSlot
protected

Definition at line 146 of file nvSDIin.h.

◆ m_videoWidth

unsigned int CNvSDIin::m_videoWidth
protected

Definition at line 137 of file nvSDIin.h.

◆ m_vioHandle

NvVioHandle CNvSDIin::m_vioHandle
protected

Definition at line 150 of file nvSDIin.h.

◆ m_vioID

NvU32 CNvSDIin::m_vioID
protected

Definition at line 149 of file nvSDIin.h.


The documentation for this class was generated from the following files: