MUAN
video.h
Go to the documentation of this file.
00001 
00005 /*
00006  * Copyright (C) 2006  Lab. Visgraf/IMPA and AnimaMundi
00007  * 
00008  * This program is free software; you can redistribute it and/or
00009  * modify it under the terms of the GNU General Public License
00010  * as published by the Free Software Foundation; either version 2
00011  * of the License, or (at your option) any later version.
00012  * 
00013  * This program is distributed in the hope that it will be useful,
00014  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00015  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00016  * GNU General Public License for more details.
00017  * 
00018  * You should have received a copy of the GNU General Public License
00019  * along with this program; if not, write to the Free Software
00020  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
00021  * 
00022 */
00023 #ifndef VIDEO_H
00024 #define VIDEO_H
00025 
00026 #include "frame.h"
00027 
00028 extern "C" {
00029 #include "image.h"
00030 }
00031 
00032 // Methods.
00033 
00034 int          video_open( const char *config_fname, int cam_type);
00035 void         video_close( void );
00036 int          video_getframe( Frame *f );
00037 
00038 int          video_w();
00039 int          video_h();
00040                 
00041 void         video_stopReceive();
00042 void         video_startReceive();
00043 
00044 void         video_stopThread();
00045 void         video_startThread();
00046 
00047 #endif