EMAN2
Public Member Functions | Static Public Member Functions | Public Attributes | Private Attributes
EMAN::V4L2IO Class Reference

Read-only. More...

#include <v4l2io.h>

Inheritance diagram for EMAN::V4L2IO:
Inheritance graph
[legend]
Collaboration diagram for EMAN::V4L2IO:
Collaboration graph
[legend]

List of all members.

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

Detailed Description

Read-only.

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.


Constructor & Destructor Documentation

EMAN::V4L2IO::V4L2IO ( const string &  filename,
IOMode  rw_mode = READ_ONLY 
) [explicit]
EMAN::V4L2IO::~V4L2IO ( )

Member Function Documentation

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]

Member Data Documentation

Definition at line 55 of file v4l2io.h.

char* EMAN::V4L2IO::filename [private]

Definition at line 61 of file v4l2io.h.

bool EMAN::V4L2IO::initialized [private]

Definition at line 64 of file v4l2io.h.

int EMAN::V4L2IO::nx [private]

Definition at line 66 of file v4l2io.h.

int EMAN::V4L2IO::ny [private]

Definition at line 67 of file v4l2io.h.

int EMAN::V4L2IO::v4l_file [private]

Definition at line 62 of file v4l2io.h.


The documentation for this class was generated from the following file: