metadata.h

00001 /*
00002  * libopenraw - metadata.h
00003  *
00004  * Copyright (C) 2007 Hubert Figuiere
00005  *
00006  * This library is free software; you can redistribute it and/or
00007  * modify it under the terms of the GNU Lesser General Public
00008  * License as published by the Free Software Foundation; either
00009  * version 2.1 of the License, or (at your option) any later version.
00010  *
00011  * This library is distributed in the hope that it will be useful,
00012  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00014  * Lesser General Public License for more details.
00015  *
00016  * You should have received a copy of the GNU Lesser General Public
00017  * License along with this library; if not, write to the Free Software
00018  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
00019  */
00020 
00021 
00022 #ifndef __LIBOPENRAW_METADATA_H_
00023 #define __LIBOPENRAW_METADATA_H_
00024 
00025 #define _INCLUDE_EXIF
00026 #include <libopenraw/exif.h>
00027 #undef _INCLUDE_EXIF
00028 
00029 #ifdef __cplusplus
00030 extern "C" {
00031 #endif
00032 
00033 typedef struct _MetaValue *ORMetaValueRef;
00034 typedef const struct _MetaValue *ORConstMetaValueRef;
00035 
00037 enum {
00038     META_NS_EXIF = (1 << 16),
00039     META_NS_TIFF = (2 << 16)
00040 };
00041 
00042 #define META_NS_MASKOUT(x) (x & 0xffff)
00043 #define META_INDEX_MASKOUT(x) (x & (0xffff<<16))
00044 
00045 #ifdef __cplusplus
00046 }
00047 #endif
00048 
00049 #endif

Generated on Sun Mar 23 09:28:21 2008 for libopenraw by  doxygen 1.5.5