Go to the source code of this file.
Data Structures | |
struct | FRAME |
A single frame buffer. More... | |
struct | FRAME_RGB |
Functions | |
FRAME * | frame_new (int width, int height, int format) |
Create a new frame. | |
void | frame_release (FRAME *fr) |
void * | frame_get_data (FRAME *fr) |
int | frame_get_size (FRAME *fr) |
int | frame_get_width (FRAME *fr) |
int | frame_get_height (FRAME *fr) |
int | frame_save (FRAME *fr, const char *filename) |
libfg - Frame Grabber interface for Linux
Each frame captured by the FRAMEGRABBER returns a FRAME (defined here). It contains the raw frame data, as well as information about the frame's size and format.
|
Returns a pointer to the raw frame data.
|
|
Returns the size of the frame, given the dimensions and the pixel format.
|
|
Returns the size of the frame, given the dimensions and the pixel format.
|
|
Returns the size of the frame, given the dimensions and the pixel format.
|
|
Create a new frame. Creates a new frame buffer, of the given dimensions, for the specified pixel format.
|
|
Releases a frame and all its associated memory.
|
|
Saves the frame to a PNM file for external viewing
|