#include <frame.h>
Data Fields | |
int | width |
width in pixels | |
int | height |
height in pixels | |
int | depth |
bit depth (bits per pixel) | |
int | format |
VIDEO_* format. | |
void * | data |
pointer to data buffer |
Represents a single image in the output from the frame grabber. Carries with it the dimensions, format and the data buffer. The type of the data depends on the format flag (uses the VIDEO_* flags from Video4Linux), so RGB24 would be a triplet of chars, while RGB32 would be an int.