MUAN
|
This file represents a video interface. More...
Go to the source code of this file.
Functions | |
int | video_open (const char *config_fname, int cam_type) |
Open communication with video device. | |
void | video_close (void) |
Close communication with video device. | |
int | video_getframe (Frame *f) |
Gets the frame. | |
int | video_w () |
Return image horizontal dimension. | |
int | video_h () |
Return image vertical dimension. | |
void | video_stopReceive () |
Stop receiving images from device. | |
void | video_startReceive () |
Start receiving images from device. | |
void | video_stopThread () |
Stop the thread for receiving images from device. | |
void | video_startThread () |
Start the thread for receiving images from device. |
This file represents a video interface.
void video_close | ( | void | ) |
Close communication with video device.
References video_stopReceive().
Referenced by ImageViewer::changeConnectMode().
int video_getframe | ( | Frame * | f | ) |
Gets the frame.
f | the frame. |
References Image::c, copy_image(), get_newframe(), and img_create().
Referenced by ImageViewer::draw(), ImageViewer::initialize(), and ImageViewer::insert_frame().
int video_h | ( | ) |
Return image vertical dimension.
Referenced by main().
int video_open | ( | const char * | config_fname, |
int | cam_type | ||
) |
Open communication with video device.
References allocateBuffers(), init_vars(), setupCamera(), and video_startThread().
Referenced by ImageViewer::changeConnectMode(), and main().
void video_startReceive | ( | ) |
Start receiving images from device.
void video_startThread | ( | ) |
Start the thread for receiving images from device.
References getFrameFromCameraF().
Referenced by video_open().
void video_stopReceive | ( | ) |
Stop receiving images from device.
Referenced by ImageViewer::initialize(), and video_close().
void video_stopThread | ( | ) |
Stop the thread for receiving images from device.
int video_w | ( | ) |
Return image horizontal dimension.
Referenced by main().