#include <sgi-video.h>
Definition at line 50 of file sgi-video.h.
Public Member Functions | |
RawSGIVideo (bool use_frames=false) | |
void | start () |
void | stop () |
unsigned char * | next_frame () |
int | x_size () const |
int | y_size () const |
int | frame_size () const |
float | frame_rate () const |
int | frame_number () const |
unsigned char * | current_frame () const |
unsigned long long | frame_time () const |
CVD::SGI::RawSGIVideo::RawSGIVideo | ( | bool | use_frames = false |
) |
Construct SGI video grabber.
use_frames | Should the grabber use frames (true) or fields (false) |
void CVD::SGI::RawSGIVideo::start | ( | ) |
Start capturing.
void CVD::SGI::RawSGIVideo::stop | ( | ) |
Stop capturing.
unsigned char* CVD::SGI::RawSGIVideo::next_frame | ( | ) |
Get data pointer to the next frame.
int CVD::SGI::RawSGIVideo::x_size | ( | ) | const |
Width of images returned by the buffer.
int CVD::SGI::RawSGIVideo::y_size | ( | ) | const |
Height of images returned by the buffer.
int CVD::SGI::RawSGIVideo::frame_size | ( | ) | const |
Number of bytes in a frame.
float CVD::SGI::RawSGIVideo::frame_rate | ( | ) | const |
Frames per second of capture.
int CVD::SGI::RawSGIVideo::frame_number | ( | ) | const |
Sequence number of frame captured.
unsigned char* CVD::SGI::RawSGIVideo::current_frame | ( | ) | const |
Pointer to most recently retrieved frame.
unsigned long long CVD::SGI::RawSGIVideo::frame_time | ( | ) | const |
Time at which frame was captured.