#include <V4L2Capture.h>
Collaboration diagram for capture:
Public Member Functions | |
capture () | |
~capture () | |
bool | initialize (const char *device, int nwidth, int nheight, int nfmt, bool continuous) |
bool | initialize (int nwidth, int nheight) |
bool | initialize () |
void | close () |
int | getFD () |
unsigned char * | captureFrame (int &index, int &field) |
unsigned char * | captureFrame () |
void | releaseFrame (unsigned char *frame, int index) |
unsigned char * | getFrame () |
bool | set_contrast (int contrast) |
bool | set_brightness (int brightness) |
bool | set_hue (int hue) |
bool | set_saturation (int color) |
bool | set_auto_white_balance (bool white_balance) |
int | getWidth () |
int | getHeight () |
Private Attributes | |
int | vid_fd |
vimage_t | vimage [10] |
v4l2_format | fmt |
unsigned char * | current |
int | width |
int | height |
v4l2_buffer | tempbuf |
bool | captured_frame |
Data Structures | |
struct | vimage_t |
|
|
|
|
|
|
|
timestamp = tempbuf.timestamp; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|