#include <v4l2io.h>
Inheritance diagram for EMAN::V4L2IO:
Public Member Functions | |
V4L2IO (const string &filename, IOMode rw_mode=READ_ONLY) | |
~V4L2IO () | |
Static Public Member Functions | |
static bool | is_valid (const void *first_block) |
static int | globalinit (const char *fsp, int input=0, int brt=-1, int cont=-1, int gamma=-1, int expos=-1, int gain=-1) |
Public Attributes | |
DEFINE_IMAGEIO_FUNC | |
Private Attributes | |
char * | filename |
int | v4l_file |
bool | initialized |
int | nx |
int | ny |
Acquires images from the V4L2 interface in real-time (video4linux). ie - this will read from a framegrabber, etc.
Definition at line 49 of file v4l2io.h.
EMAN::V4L2IO::V4L2IO | ( | const string & | filename, | |
IOMode | rw_mode = READ_ONLY | |||
) | [explicit] |
EMAN::V4L2IO::~V4L2IO | ( | ) |
static int EMAN::V4L2IO::globalinit | ( | const char * | fsp, | |
int | input = 0 , |
|||
int | brt = -1 , |
|||
int | cont = -1 , |
|||
int | gamma = -1 , |
|||
int | expos = -1 , |
|||
int | gain = -1 | |||
) | [static] |
static bool EMAN::V4L2IO::is_valid | ( | const void * | first_block | ) | [static] |
char* EMAN::V4L2IO::filename [private] |
bool EMAN::V4L2IO::initialized [private] |
int EMAN::V4L2IO::nx [private] |
int EMAN::V4L2IO::ny [private] |
int EMAN::V4L2IO::v4l_file [private] |