NAME
get_image_from_bttv_camera_2 - Gets one camera image from a bttv camera recording the timestamp and camera
SYNOPSIS
#include "camera/bttv_camera.h"
Example compile flags (system dependent):
-DLINUX_X86_64 -DLINUX_X86_64_OPTERON -DGNU_COMPILER
-I/home/kobus/include
-L/home/kobus/misc/load/linux_x86_64_opteron -L/usr/lib/x86_64-linux-gnu
-lKJB -lfftw3 -lgsl -lgslcblas -ljpeg -lSVM -lstdc++ -lpthread -lSLATEC -lg2c -lacml -lacml_mv -lblas -lg2c -lncursesw
int get_image_from_bttv_camera_2
(
Camera_bw_byte_image *image,
Bttv_camera *camera
);
DESCRIPTION
number
This routine queries the bttv camera and puts the image in the structure
"image->data". The user should call init_bttv_camera(..) before querying.
The cameras are black and white, so the image is a black and white byte
image.
The "image" structure will also get the time of day in image->image_time
and the camera number from camera->camera_number in image->camera_number
RETURNS
On error, this routine returns ERROR, otherwise, NO_ERROR.
RELATED
init_bttv_camera, Bw_byte_image, Bttv_camera, get_image_from_bttv_camera,
get_images_from_all_bttv_cameras
DISCLAIMER
This software is not adequatedly tested. It is recomended that
results are checked independantly where appropriate.
AUTHOR
Kate Spriggs
DOCUMENTER
Kate Spriggs
SEE ALSO
init_bttv_camera
,
init_bttv_camera_from_config_file
,
get_image_from_bttv_camera
,
get_images_from_all_bttv_cameras
,
display_cameras_opengl