NAME

init_bttv_camera_from_config_file - Inits a bttv camera and reads camera info from a config file

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 init_bttv_camera_from_config_file
(
	Bttv_camera **camera,
	int width,
	int height,
	const char *file_name
);

DESCRIPTION

This routine calls "init_bttv_camera" to init the camera, using the parameters found in "file_name". If unable to read in file, the routine doesn't initialize the camera, and ERROR is returned.

RETURNS

On error, this routine returns ERROR, otherwise, NO_ERROR.

RELATED

Bttv_camera, get_image_from_bttv_camera, display_cameras_opengl, init_bttv_camera

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 , get_image_from_bttv_camera , get_image_from_bttv_camera_2 , get_images_from_all_bttv_cameras , display_cameras_opengl