49 #include "nvConfigure.h" 55 #define MAX_VIDEO_STREAMS 4 56 #define MEASURE_PERFORMANCE 65 NVVIOTOPOLOGYTARGET*
GetDevice(
int index );
75 NVVIOTOPOLOGYTARGET*
m_lDevice[NVAPI_MAX_VIO_DEVICES];
96 HRESULT
BindDevice( GLuint videoSlot, HDC hDC );
101 HRESULT
BindVideoFrameBuffer( GLuint videoBuffer, GLint videoBufferFormat,
unsigned int stream );
105 GLenum
Capture( GLuint* sequenceNum, GLuint64EXT* captureTime );
111 void SetCSCParams( GLfloat* cscMat, GLfloat* cscOffset, GLfloat* cscMin, GLfloat* cscMax );
124 HRESULT
GetVideoInState( NVVIOCONFIG_V1* vioConfig, NVVIOSTATUS* vioStatus );
HRESULT GetFrameRate(float *rate)
NVVIOCOMPONENTSAMPLING m_Sampling
virtual ~CNvSDIinTopology()
GLenum Capture(GLuint *sequenceNum, GLuint64EXT *captureTime)
HRESULT UnbindVideoFrameBuffer(unsigned int stream)
static CNvSDIinTopology & Instance()
unsigned int m_videoWidth
HRESULT BindDevice(GLuint videoSlot, HDC hDC)
HRESULT SetupDevice(int deviceNumber=0)
HRESULT GetVideoInState(NVVIOCONFIG_V1 *vioConfig, NVVIOSTATUS *vioStatus)
NVVIOSIGNALFORMAT GetSignalFormat()
unsigned int m_videoHeight
NvVioHandle GetVioHandle()
NVVIOSIGNALFORMATDETAIL m_signalFormatDetail
void DumpChannelStatus(NVVIOCHANNELSTATUS jack)
HRESULT BindVideoFrameBuffer(GLuint videoBuffer, GLint videoBufferFormat, unsigned int stream)
HRESULT Init(nvOptions *options=NULL)
class CNvSDIinTopology CNvSDIinTopology
unsigned int m_activeJacks[NVAPI_MAX_VIO_JACKS]
NVVIOTOPOLOGYTARGET * m_lDevice[NVAPI_MAX_VIO_DEVICES]
GLuint m_captureTimeQuery
HRESULT UnbindVideoTexture(unsigned int stream)
HRESULT BindVideoTexture(GLuint videoTexture, unsigned int stream)
unsigned int GetNumStreams()
void SetCSCParams(GLfloat *cscMat, GLfloat *cscOffset, GLfloat *cscMin, GLfloat *cscMax)
unsigned int m_numStreams
int GetBufferObjectPitch(unsigned int streamIndex)
NVVIOSIGNALFORMAT m_videoFormat
NVVIOTOPOLOGYTARGET * GetDevice(int index)
void DumpStreamStatus(NVVIOSTREAM stream)
HVIDEOINPUTDEVICENV m_device