00001 /* 00002 * This program is free software; you can redistribute it and/or modify 00003 * it under the terms of the GNU General Public License as published by 00004 * the Free Software Foundation; either version 2 of the License, or 00005 * (at your option) any later version. 00006 * 00007 * This program is distributed in the hope that it will be useful, 00008 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00009 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00010 * GNU General Public License for more details. 00011 * 00012 * You should have received a copy of the GNU General Public License 00013 * along with this program; if not, write to the Free Software 00014 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00015 * 00016 */ 00018 // 00019 // Desc: Helper functions to change names to proper enum values in camv4l2 client libs 00020 // Author: Marcin Rudowski 00021 // Email: mar_rud@poczta.onet.pl 00022 // Date: 19 Jun 2006 00023 // 00025 #ifndef __PLV4L2TOOLS__H_ 00026 #define __PLV4L2TOOLS__H_ 00027 00028 #ifdef __cplusplus 00029 extern "C" 00030 { 00031 #endif 00032 00033 00034 int convPixS2I(const char *n); 00035 const char * convPixI2S(int n); 00036 00037 int convNormS2I(const char *n); 00038 const char * convNormI2S(int n); 00039 00040 int convFieldS2I(const char *n); 00041 const char * convFieldI2S(int n); 00042 00043 00044 #ifdef __cplusplus 00045 } 00046 00047 #endif 00048 #endif 00049
1.4.4