Enumerator |
---|
PRE_INIT |
|
HW_ENUM |
|
FAILED |
|
RUNNING |
|
DEAD |
|
PLAYBACK |
|
niftk::NVidiaSDIDataSourceImpl::NVidiaSDIDataSourceImpl |
( |
| ) |
|
niftk::NVidiaSDIDataSourceImpl::~NVidiaSDIDataSourceImpl |
( |
| ) |
|
unsigned int niftk::NVidiaSDIDataSourceImpl::CompressFrame |
( |
unsigned int |
sequencenumber | ) |
|
void niftk::NVidiaSDIDataSourceImpl::DoCompressFrame |
( |
unsigned int |
sequencenumber, |
|
|
unsigned int * |
frameindex |
|
) |
| |
|
protectedslot |
void niftk::NVidiaSDIDataSourceImpl::DoGetRGBAImage |
( |
unsigned int |
sequencenumber, |
|
|
IplImage ** |
img, |
|
|
unsigned int * |
streamcount |
|
) |
| |
|
protectedslot |
void niftk::NVidiaSDIDataSourceImpl::DoStopCompression |
( |
| ) |
|
|
protectedslot |
void niftk::NVidiaSDIDataSourceImpl::DoTryPlayback |
( |
const char * |
filename, |
|
|
bool * |
ok, |
|
|
const char ** |
errormsg |
|
) |
| |
|
protectedslot |
void niftk::NVidiaSDIDataSourceImpl::DoWakeUp |
( |
| ) |
|
|
protectedslot |
bool niftk::NVidiaSDIDataSourceImpl::DumpNALIndex |
( |
| ) |
const |
|
protected |
QGLWidget * niftk::NVidiaSDIDataSourceImpl::GetCaptureContext |
( |
| ) |
|
std::pair< int, int > niftk::NVidiaSDIDataSourceImpl::GetCaptureFormat |
( |
| ) |
const |
Returns the pixel dimensions of the video data that is being captured. Can be different from the SDI format.
std::string niftk::NVidiaSDIDataSourceImpl::GetCompressionOutputFilename |
( |
| ) |
const |
unsigned int niftk::NVidiaSDIDataSourceImpl::GetCookie |
( |
| ) |
const |
Returns the SDI format. Might be different from capture image format.
video::FrameInfo niftk::NVidiaSDIDataSourceImpl::GetNextSequenceNumber |
( |
unsigned int |
ihavealready | ) |
const |
int niftk::NVidiaSDIDataSourceImpl::GetRGBAImage |
( |
unsigned int |
sequencenumber, |
|
|
IplImage * |
targetbuffer |
|
) |
| |
targetbuffer needs to have the correct(!) size to fit all channels stacked together. Try something like cvCreateImage(cvSize(GetCaptureFormat().first, GetCaptureFormat().second * numstreams), IPL_DEPTH_8U, 4).
- Returns
- number of channels, or zero in case of some error.
- Exceptions
-
std::string niftk::NVidiaSDIDataSourceImpl::GetStateMessage |
( |
| ) |
const |
int niftk::NVidiaSDIDataSourceImpl::GetStreamCount |
( |
| ) |
const |
int niftk::NVidiaSDIDataSourceImpl::GetTextureId |
( |
unsigned int |
stream | ) |
const |
const char * niftk::NVidiaSDIDataSourceImpl::GetWireFormatString |
( |
| ) |
const |
bool niftk::NVidiaSDIDataSourceImpl::HasHardware |
( |
| ) |
const |
|
protected |
bool niftk::NVidiaSDIDataSourceImpl::HasInput |
( |
| ) |
const |
|
protected |
bool niftk::NVidiaSDIDataSourceImpl::IsRunning |
( |
| ) |
const |
void niftk::NVidiaSDIDataSourceImpl::OnTimeoutImpl |
( |
| ) |
|
|
protectedvirtual |
void niftk::NVidiaSDIDataSourceImpl::Reset |
( |
void |
| ) |
|
void niftk::NVidiaSDIDataSourceImpl::run |
( |
| ) |
|
|
protectedvirtual |
void niftk::NVidiaSDIDataSourceImpl::setCompressionOutputFilename |
( |
const std::string & |
name | ) |
|
void niftk::NVidiaSDIDataSourceImpl::SetPlayback |
( |
bool |
on, |
|
|
int |
expectedstreamcount = 0 |
|
) |
| |
void niftk::NVidiaSDIDataSourceImpl::SignalBump |
( |
| ) |
|
|
signal |
void niftk::NVidiaSDIDataSourceImpl::SignalCompress |
( |
unsigned int |
sequencenumber, |
|
|
unsigned int * |
frameindex |
|
) |
| |
|
signal |
void niftk::NVidiaSDIDataSourceImpl::SignalFatalError |
( |
QString |
msg | ) |
|
|
signal |
void niftk::NVidiaSDIDataSourceImpl::SignalGetRGBAImage |
( |
unsigned int |
sequencenumber, |
|
|
IplImage ** |
img, |
|
|
unsigned int * |
streamcount |
|
) |
| |
|
signal |
void niftk::NVidiaSDIDataSourceImpl::SignalStopCompression |
( |
| ) |
|
|
signal |
void niftk::NVidiaSDIDataSourceImpl::SignalTryPlayback |
( |
const char * |
filename, |
|
|
bool * |
ok, |
|
|
const char ** |
errormsg |
|
) |
| |
|
signal |
void niftk::NVidiaSDIDataSourceImpl::StopCompression |
( |
| ) |
|
void niftk::NVidiaSDIDataSourceImpl::TryPlayback |
( |
const std::string & |
filename | ) |
|
- Exceptions
-
std::runtime_error | if something goes wrong. |
The documentation for this class was generated from the following files: