ifd.h

00001 /*
00002  * libopenraw - ifd.h
00003  *
00004  * Copyright (C) 2006 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
00011  * License as published by the Free Software Foundation; either
00012  * version 2.1 of 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, write to the Free Software
00021  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00022  */
00023 
00024 
00030 namespace OpenRaw {
00031     namespace Internals {
00032         namespace IFD {
00033 
00037             typedef enum {
00038                 EXIF_TAG_INTEROPERABILITY_INDEX     = 0x0001,
00039                 EXIF_TAG_INTEROPERABILITY_VERSION   = 0x0002,
00040                 EXIF_TAG_NEW_SUBFILE_TYPE       = 0x00fe,
00041                 EXIF_TAG_IMAGE_WIDTH            = 0x0100,
00042                 EXIF_TAG_IMAGE_LENGTH           = 0x0101,
00043                 EXIF_TAG_BITS_PER_SAMPLE        = 0x0102,
00044                 EXIF_TAG_COMPRESSION            = 0x0103,
00045                 EXIF_TAG_PHOTOMETRIC_INTERPRETATION     = 0x0106,
00046                 EXIF_TAG_FILL_ORDER             = 0x010a,
00047                 EXIF_TAG_DOCUMENT_NAME          = 0x010d,
00048                 EXIF_TAG_IMAGE_DESCRIPTION      = 0x010e,
00049                 EXIF_TAG_MAKE               = 0x010f,
00050                 EXIF_TAG_MODEL              = 0x0110,
00051                 EXIF_TAG_STRIP_OFFSETS          = 0x0111,
00052                 EXIF_TAG_ORIENTATION            = 0x0112,
00053                 EXIF_TAG_SAMPLES_PER_PIXEL      = 0x0115,
00054                 EXIF_TAG_ROWS_PER_STRIP         = 0x0116,
00055                 EXIF_TAG_STRIP_BYTE_COUNTS      = 0x0117,
00056                 EXIF_TAG_X_RESOLUTION           = 0x011a,
00057                 EXIF_TAG_Y_RESOLUTION           = 0x011b,
00058                 EXIF_TAG_PLANAR_CONFIGURATION       = 0x011c,
00059                 EXIF_TAG_RESOLUTION_UNIT        = 0x0128,
00060                 EXIF_TAG_TRANSFER_FUNCTION      = 0x012d,
00061                 EXIF_TAG_SOFTWARE           = 0x0131,
00062                 EXIF_TAG_DATE_TIME          = 0x0132,
00063                 EXIF_TAG_ARTIST             = 0x013b,
00064                 EXIF_TAG_WHITE_POINT            = 0x013e,
00065                 EXIF_TAG_PRIMARY_CHROMATICITIES     = 0x013f,
00066                 EXIF_TAG_TRANSFER_RANGE         = 0x0156,
00067                 EXIF_TAG_SUB_IFDS           = 0x014a,
00068                 EXIF_TAG_JPEG_PROC          = 0x0200,
00069                 EXIF_TAG_JPEG_INTERCHANGE_FORMAT    = 0x0201,
00070                 EXIF_TAG_JPEG_INTERCHANGE_FORMAT_LENGTH = 0x0202,
00071                 EXIF_TAG_YCBCR_COEFFICIENTS     = 0x0211,
00072                 EXIF_TAG_YCBCR_SUB_SAMPLING     = 0x0212,
00073                 EXIF_TAG_YCBCR_POSITIONING      = 0x0213,
00074                 EXIF_TAG_REFERENCE_BLACK_WHITE      = 0x0214,
00075                 EXIF_TAG_XML_PACKET         = 0x02bc,
00076                 EXIF_TAG_RELATED_IMAGE_FILE_FORMAT  = 0x1000,
00077                 EXIF_TAG_RELATED_IMAGE_WIDTH        = 0x1001,
00078                 EXIF_TAG_RELATED_IMAGE_LENGTH       = 0x1002,
00079                 EXIF_TAG_CFA_REPEAT_PATTERN_DIM     = 0x828d,
00080                 EXIF_TAG_CFA_PATTERN            = 0x828e,
00081                 EXIF_TAG_BATTERY_LEVEL          = 0x828f,
00082                 EXIF_TAG_COPYRIGHT          = 0x8298,
00083                 EXIF_TAG_EXPOSURE_TIME          = 0x829a,
00084                 EXIF_TAG_FNUMBER            = 0x829d,
00085                 EXIF_TAG_IPTC_NAA           = 0x83bb,
00086                 EXIF_TAG_IMAGE_RESOURCES        = 0x8649,
00087                 EXIF_TAG_EXIF_IFD_POINTER       = 0x8769,
00088                 EXIF_TAG_INTER_COLOR_PROFILE        = 0x8773,
00089                 EXIF_TAG_EXPOSURE_PROGRAM       = 0x8822,
00090                 EXIF_TAG_SPECTRAL_SENSITIVITY       = 0x8824,
00091                 EXIF_TAG_GPS_INFO_IFD_POINTER       = 0x8825,
00092                 EXIF_TAG_ISO_SPEED_RATINGS      = 0x8827,
00093                 EXIF_TAG_OECF               = 0x8828,
00094                 EXIF_TAG_EXIF_VERSION           = 0x9000,
00095                 EXIF_TAG_DATE_TIME_ORIGINAL     = 0x9003,
00096                 EXIF_TAG_DATE_TIME_DIGITIZED        = 0x9004,
00097                 EXIF_TAG_COMPONENTS_CONFIGURATION   = 0x9101,
00098                 EXIF_TAG_COMPRESSED_BITS_PER_PIXEL  = 0x9102,
00099                 EXIF_TAG_SHUTTER_SPEED_VALUE        = 0x9201,
00100                 EXIF_TAG_APERTURE_VALUE         = 0x9202,
00101                 EXIF_TAG_BRIGHTNESS_VALUE       = 0x9203,
00102                 EXIF_TAG_EXPOSURE_BIAS_VALUE        = 0x9204,
00103                 EXIF_TAG_MAX_APERTURE_VALUE     = 0x9205,
00104                 EXIF_TAG_SUBJECT_DISTANCE       = 0x9206,
00105                 EXIF_TAG_METERING_MODE          = 0x9207,
00106                 EXIF_TAG_LIGHT_SOURCE           = 0x9208,
00107                 EXIF_TAG_FLASH              = 0x9209,
00108                 EXIF_TAG_FOCAL_LENGTH           = 0x920a,
00109                 EXIF_TAG_SUBJECT_AREA           = 0x9214,
00110                 EXIF_TAG_TIFF_EP_STANDARD_ID        = 0x9216,
00111                 EXIF_TAG_MAKER_NOTE         = 0x927c,
00112                 EXIF_TAG_USER_COMMENT           = 0x9286,
00113                 EXIF_TAG_SUB_SEC_TIME           = 0x9290,
00114                 EXIF_TAG_SUB_SEC_TIME_ORIGINAL      = 0x9291,
00115                 EXIF_TAG_SUB_SEC_TIME_DIGITIZED     = 0x9292,
00116                 EXIF_TAG_FLASH_PIX_VERSION      = 0xa000,
00117                 EXIF_TAG_COLOR_SPACE            = 0xa001,
00118                 EXIF_TAG_PIXEL_X_DIMENSION      = 0xa002,
00119                 EXIF_TAG_PIXEL_Y_DIMENSION      = 0xa003,
00120                 EXIF_TAG_RELATED_SOUND_FILE     = 0xa004,
00121                 EXIF_TAG_INTEROPERABILITY_IFD_POINTER   = 0xa005,
00122                 EXIF_TAG_FLASH_ENERGY           = 0xa20b,
00123                 EXIF_TAG_SPATIAL_FREQUENCY_RESPONSE = 0xa20c,
00124                 EXIF_TAG_FOCAL_PLANE_X_RESOLUTION   = 0xa20e,
00125                 EXIF_TAG_FOCAL_PLANE_Y_RESOLUTION   = 0xa20f,
00126                 EXIF_TAG_FOCAL_PLANE_RESOLUTION_UNIT    = 0xa210,
00127                 EXIF_TAG_SUBJECT_LOCATION       = 0xa214,
00128                 EXIF_TAG_EXPOSURE_INDEX         = 0xa215,
00129                 EXIF_TAG_SENSING_METHOD         = 0xa217,
00130                 EXIF_TAG_FILE_SOURCE            = 0xa300,
00131                 EXIF_TAG_SCENE_TYPE         = 0xa301,
00132                 EXIF_TAG_NEW_CFA_PATTERN        = 0xa302,
00133                 EXIF_TAG_CUSTOM_RENDERED        = 0xa401,
00134                 EXIF_TAG_EXPOSURE_MODE          = 0xa402,
00135                 EXIF_TAG_WHITE_BALANCE          = 0xa403,
00136                 EXIF_TAG_DIGITAL_ZOOM_RATIO     = 0xa404,
00137                 EXIF_TAG_FOCAL_LENGTH_IN_35MM_FILM  = 0xa405,
00138                 EXIF_TAG_SCENE_CAPTURE_TYPE     = 0xa406,
00139                 EXIF_TAG_GAIN_CONTROL           = 0xa407,
00140                 EXIF_TAG_CONTRAST           = 0xa408,
00141                 EXIF_TAG_SATURATION         = 0xa409,
00142                 EXIF_TAG_SHARPNESS          = 0xa40a,
00143                 EXIF_TAG_DEVICE_SETTING_DESCRIPTION = 0xa40b,
00144                 EXIF_TAG_SUBJECT_DISTANCE_RANGE     = 0xa40c,
00145                 EXIF_TAG_IMAGE_UNIQUE_ID        = 0xa420,
00146                 EXIF_TAG_GAMMA = 0xa500,
00147                 EXIF_TAG_UNKNOWN_C4A5 = 0xc4a5
00148             } ExifTag;
00149 
00153             typedef enum {
00154         EXIF_FORMAT_BYTE       =  1,
00155         EXIF_FORMAT_ASCII      =  2,
00156         EXIF_FORMAT_SHORT      =  3,
00157         EXIF_FORMAT_LONG       =  4,
00158         EXIF_FORMAT_RATIONAL   =  5,
00159                 EXIF_FORMAT_SBYTE      =  6,
00160         EXIF_FORMAT_UNDEFINED  =  7,
00161                 EXIF_FORMAT_SSHORT     =  8,
00162         EXIF_FORMAT_SLONG      =  9,
00163         EXIF_FORMAT_SRATIONAL  = 10,
00164                 EXIF_FORMAT_FLOAT      = 11,
00165                 EXIF_FORMAT_DOUBLE     = 12
00166             } ExifTagType;
00167 
00168         }
00169     }
00170 }

Generated on Sat Jan 27 11:36:13 2007 for libopenraw by  doxygen 1.4.7