00001 /* liqbase 00002 * Copyright (C) 2008 Gary Birkett 00003 * 00004 * This program is free software; you can redistribute it and/or modify 00005 * it under the terms of the GNU General Public License version 2 00006 * as published by the Free Software Foundation. 00007 * 00008 * This program is distributed in the hope that it will be useful, 00009 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00010 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00011 * GNU General Public License for more details. 00012 * 00013 * You should have received a copy of the GNU General Public License 00014 * along with this program; if not, write to the Free Software 00015 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00016 */ 00017 00018 /* 00019 * 00020 * Header for camera helper functions 00021 * 00022 */ 00023 00024 00025 00026 00027 #ifndef LIQCAMERA_H 00028 #define LIQCAMERA_H 00029 00030 #ifdef __cplusplus 00031 extern "C" { 00032 #endif 00033 00034 #include "liqimage.h" 00035 00036 00037 int liqcamera_start(int argCAMW,int argCAMH,int argCAMFPS,liqimage * argCAMdestimage,void (*argCAMUpdateCallback)(),void *argCAMtag ); 00038 void liqcamera_stop(); 00039 00040 liqimage * liqcamera_getimage(); // return the current image of this camera, if NULL camera is switched off 00041 00042 00043 #ifdef __cplusplus 00044 } 00045 #endif 00046 00047 #endif 00048 00049 00050 00051 00052