#include <sgi-video.h>
Public Member Functions | |
unsigned char * | current_frame () const |
Pointer to most recently retrieved frame. | |
int | frame_number () const |
Sequence number of frame captured. | |
float | frame_rate () const |
Frames per second of capture. | |
int | frame_size () const |
Number of bytes in a frame. | |
unsigned long long | frame_time () const |
Time at which frame was captured. | |
unsigned char * | next_frame () |
Get data pointer to the next frame. | |
RawSGIVideo (bool use_frames=false) | |
void | start () |
Start capturing. | |
void | stop () |
Stop capturing. | |
int | x_size () const |
Width of images returned by the buffer. | |
int | y_size () const |
Height of images returned by the buffer. | |
~RawSGIVideo () | |
Private Attributes | |
DMbuffer | buf [2] |
DMbufferpool | buff |
VLNode | drain |
int | frame_no |
int | frame_number_div |
int | locked_buffer |
unsigned char * | my_current_frame |
int | my_frame_number |
float | my_frame_rate |
int | my_frame_size |
unsigned long long | my_timestamp |
int | my_x_size |
int | my_y_size |
VLNode | source |
bool | started |
VLServer | svr |
VLPath | vid_in |
Internal (non type-safe) class used by O2Buffer to do the actual interfacing with the SGI video hardware.
Definition at line 50 of file sgi-video.h.
CVD::SGI::RawSGIVideo::RawSGIVideo | ( | bool | use_frames = false |
) |
Construct SGI video grabber
use_frames | Should the grabber use frames (true) or fields (false) |
CVD::SGI::RawSGIVideo::~RawSGIVideo | ( | ) |
unsigned char* CVD::SGI::RawSGIVideo::current_frame | ( | ) | const |
Pointer to most recently retrieved frame.
int CVD::SGI::RawSGIVideo::frame_number | ( | ) | const |
Sequence number of frame captured.
float CVD::SGI::RawSGIVideo::frame_rate | ( | ) | const |
Frames per second of capture.
int CVD::SGI::RawSGIVideo::frame_size | ( | ) | const |
Number of bytes in a frame.
unsigned long long CVD::SGI::RawSGIVideo::frame_time | ( | ) | const |
Time at which frame was captured.
unsigned char* CVD::SGI::RawSGIVideo::next_frame | ( | ) |
Get data pointer to the next frame.
void CVD::SGI::RawSGIVideo::start | ( | ) |
Start capturing.
void CVD::SGI::RawSGIVideo::stop | ( | ) |
Stop capturing.
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.
DMbuffer CVD::SGI::RawSGIVideo::buf[2] [private] |
Definition at line 107 of file sgi-video.h.
DMbufferpool CVD::SGI::RawSGIVideo::buff [private] |
Definition at line 109 of file sgi-video.h.
VLNode CVD::SGI::RawSGIVideo::drain [private] |
Definition at line 106 of file sgi-video.h.
int CVD::SGI::RawSGIVideo::frame_no [private] |
Definition at line 101 of file sgi-video.h.
int CVD::SGI::RawSGIVideo::frame_number_div [private] |
Definition at line 100 of file sgi-video.h.
int CVD::SGI::RawSGIVideo::locked_buffer [private] |
Definition at line 108 of file sgi-video.h.
unsigned char* CVD::SGI::RawSGIVideo::my_current_frame [private] |
Definition at line 97 of file sgi-video.h.
int CVD::SGI::RawSGIVideo::my_frame_number [private] |
Definition at line 92 of file sgi-video.h.
float CVD::SGI::RawSGIVideo::my_frame_rate [private] |
Definition at line 96 of file sgi-video.h.
int CVD::SGI::RawSGIVideo::my_frame_size [private] |
Definition at line 93 of file sgi-video.h.
unsigned long long CVD::SGI::RawSGIVideo::my_timestamp [private] |
Definition at line 98 of file sgi-video.h.
int CVD::SGI::RawSGIVideo::my_x_size [private] |
Definition at line 94 of file sgi-video.h.
int CVD::SGI::RawSGIVideo::my_y_size [private] |
Definition at line 95 of file sgi-video.h.
VLNode CVD::SGI::RawSGIVideo::source [private] |
Definition at line 106 of file sgi-video.h.
bool CVD::SGI::RawSGIVideo::started [private] |
Definition at line 110 of file sgi-video.h.
VLServer CVD::SGI::RawSGIVideo::svr [private] |
Definition at line 104 of file sgi-video.h.
VLPath CVD::SGI::RawSGIVideo::vid_in [private] |
Definition at line 105 of file sgi-video.h.