00001 /*************************************************************************** 00002 * Copyright (C) 2012 by Markus Bader * 00003 * markus.bader@tuwien.ac.at * 00004 * * 00005 * This program is free software; you can redistribute it and/or modify * 00006 * it under the terms of the GNU General Public License as published by * 00007 * the Free Software Foundation; either version 2 of the License, or * 00008 * (at your option) any later version. * 00009 * * 00010 * This program is distributed in the hope that it will be useful, * 00011 * but WITHOUT ANY WARRANTY; without even the implied warranty of * 00012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * 00013 * GNU General Public License for more details. * 00014 * * 00015 * You should have received a copy of the GNU General Public License * 00016 * along with this program; if not, write to the * 00017 * Free Software Foundation, Inc., * 00018 * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * 00019 ***************************************************************************/ 00020 00021 00022 #ifndef LUVC_DEFAULTS_H 00023 #define LUVC_DEFAULTS_H 00024 #include <linux/videodev2.h> 00025 00026 #define DEFAULT_SHOW_CAMERA_IMAGE true 00027 #define DEFAULT_CAMERA_FREEZE false 00028 #define DEFAULT_CONVERT_IMAGE 1 00029 #define DEFAULT_FRAME_ID "UVC_CAM" 00030 #define DEFAULT_VIDEODEVICE "/dev/video0" 00031 #define DEFAULT_AVIFILENAME "" 00032 #define DEFAULT_FORMAT V4L2_PIX_FMT_MJPEG 00033 #define DEFAULT_GRABMETHODE 1 00034 #define DEFAULT_WIDTH 640 00035 #define DEFAULT_HEIGHT 480 00036 #define DEFAULT_FPS 30.0 00037 #define DEFAULT_RATIO_THUMBNAIL 8 00038 00039 00040 00041 #endif // LUVC_DEFAULTS_H