ifd.h

00001 /*
00002  * libopenraw - ifd.h
00003  *
00004  * Copyright (C) 2006-2007 Hubert Figuiere
00005  *
00006  * Defintions taken from libexif:
00007  * Copyright (C) 2001 Lutz Müller <lutz@users.sourceforge.net>
00008  *
00009  * This library is free software: you can redistribute it and/or
00010  * modify it under the terms of the GNU Lesser General Public License
00011  * as published by the Free Software Foundation, either version 3 of
00012  * the License, or (at your option) any later version.
00013  *
00014  * This library is distributed in the hope that it will be useful,
00015  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00016  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00017  * Lesser General Public License for more details.
00018  *
00019  * You should have received a copy of the GNU Lesser General Public
00020  * License along with this library.  If not, see
00021  * <http://www.gnu.org/licenses/>.
00022  */
00023 
00024 
00029 #ifndef __OPENRAW_IFD_H__
00030 #define __OPENRAW_IFD_H__
00031 
00032 namespace OpenRaw {
00033     namespace Internals {
00034         namespace IFD {
00035 
00036 #define _INCLUDE_EXIF
00037 #include "libopenraw/exif.h"
00038 #undef _INCLUDE_EXIF
00039 
00043             typedef enum {
00044                 EXIF_FORMAT_BYTE       =  1,
00045                 EXIF_FORMAT_ASCII      =  2,
00046                 EXIF_FORMAT_SHORT      =  3,
00047                 EXIF_FORMAT_LONG       =  4,
00048                 EXIF_FORMAT_RATIONAL   =  5,
00049                 EXIF_FORMAT_SBYTE      =  6,
00050                 EXIF_FORMAT_UNDEFINED  =  7,
00051                 EXIF_FORMAT_SSHORT     =  8,
00052                 EXIF_FORMAT_SLONG      =  9,
00053                 EXIF_FORMAT_SRATIONAL  = 10,
00054                 EXIF_FORMAT_FLOAT      = 11,
00055                 EXIF_FORMAT_DOUBLE     = 12
00056             } ExifTagType;
00057 
00058 
00059             typedef enum {
00060                 CFA_RED = 0,
00061                 CFA_GREEN = 1,
00062                 CFA_BLUE = 2,
00063                 CFA_CYAN = 3,
00064                 CFA_MAGENTA = 4,
00065                 CFA_YELLOW = 5,
00066                 CFA_WHITE = 6
00067             } CfaComponent;
00068 
00069             typedef enum {
00070                 COMPRESS_NONE = 1,
00071                 COMPRESS_JPEG = 6,
00072                 COMPRESS_NIKON_PACK = 32769,
00073                 COMPRESS_NIKON_QUANTIZED = 34713
00074             } TiffCompress;
00075         }
00076     }
00077 }
00078 
00079 #endif
Generated on Thu Jul 29 20:43:09 2010 for libopenraw by  doxygen 1.6.3