imagingmodules/exiflib/inc/ExifValueTable.h
changeset 0 469c91dae73b
equal deleted inserted replaced
-1:000000000000 0:469c91dae73b
       
     1 /*
       
     2 * Copyright (c) 2003, 2004 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  Defines Exif-specific numbers (i.e. tag IDs) used by internal 
       
    15 *                service classes.
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 #ifndef EXIFTABLE_H
       
    21 #define EXIFTABLE_H
       
    22 
       
    23 // CONSTANTS
       
    24 
       
    25 // Constant Exif data
       
    26 const TUint32 KExifVersion = 0x30323230;
       
    27 const TUint32 KFlashPixVersion = 0x30303130;
       
    28 const TUint32 KGpsVersion = 0x00000202;
       
    29 const TUint16 KCompressed = 0x0006;
       
    30 
       
    31 /* Exif Tag IDs */
       
    32 // ___________________________________________________________
       
    33 
       
    34 /* Non-modifiable tags */
       
    35 const TUint16 KIdExifIfdPointer = 0x8769;
       
    36 const TUint16 KIdGpsIfdPointer = 0x8825;
       
    37 const TUint16 KIdExifVersion = 0x9000;
       
    38 const TUint16 KIdFlashPixVersion = 0xa000;
       
    39 const TUint16 KIdCompression = 0x0103;
       
    40 const TUint16 KIdJpegInterchangeFormat = 0x0201; 
       
    41 const TUint16 KIdJpegInterchangeFormatLength = 0x0202;
       
    42 const TUint16 KIdIntOpIfdPointer = 0xa005;
       
    43 const TUint16 KIdGpsVersion = 0x0000;
       
    44 
       
    45 /* Mandatory Ifd0 tags */
       
    46 const TUint16 KIdXResolution = 0x011A;
       
    47 const TUint16 KIdYResolution = 0x011B;
       
    48 const TUint16 KIdResolutionUnit = 0x0128;
       
    49 const TUint16 KIdYCbCrPositioning = 0x0213;
       
    50 // The following tag ID is also mandatory Ifd0 tag, but it is 
       
    51 // already defined above.
       
    52 // const TUint16 KIdExifIfdPointer = 0x8769;
       
    53 
       
    54 /* Mandatory Exif Ifd tags */
       
    55 const TUint16 KIdComponentsConfiguration = 0x9101;
       
    56 const TUint16 KIdColorSpace = 0xA001;
       
    57 const TUint16 KIdPixelXDimension = 0xA002;
       
    58 const TUint16 KIdPixelYDimension = 0xA003;
       
    59 // The following two tag IDs are also mandatory Exif Ifd tags, but they are 
       
    60 // already defined above.
       
    61 //const TUint16 KIdExifVersion = 0x9000; 
       
    62 //const TUint16 KIdFlashPixVersion = 0xa000; 
       
    63 
       
    64 
       
    65 /* Mandatary Ifd1 tags: */
       
    66 // The following six tag IDs are mandatory Ifd1 tags, but they are 
       
    67 // already defined above.
       
    68 //const TUint16 KIdCompression = 0x0103; 
       
    69 //const TUint16 KIdXResolution = 0x011A; 
       
    70 //const TUint16 KIdYResolution = 0x011B; 
       
    71 //const TUint16 KIdResolutionUnit = 0x0128; 
       
    72 //const TUint16 KIdJpegInterchangeFormat = 0x0201; // already defined!
       
    73 //const TUint16 KIdJpegInterchangeFormatLength = 0x0202; // already defined!
       
    74 
       
    75 /* Others: */
       
    76 const TUint16 KIdImageDescription = 0x010E;
       
    77 const TUint16 KIdMake = 0x010F;
       
    78 const TUint16 KIdModel = 0x0110;
       
    79 const TUint16 KIdOrientation = 0x0112;
       
    80 const TUint16 KIdTransferFunction = 0x012D;
       
    81 const TUint16 KIdDateTime = 0x0132;
       
    82 const TUint16 KIdSoftware = 0x0131;
       
    83 const TUint16 KIdArtist = 0x013B;
       
    84 const TUint16 KIdCopyright = 0x8298;
       
    85 const TUint16 KIdExposureTime = 0x829A;
       
    86 const TUint16 KIdFlash = 0x9209;
       
    87 const TUint16 KIdExposureMode = 0xA402;
       
    88 const TUint16 KIdWhiteBalance = 0xA403;
       
    89 const TUint16 KIdSceneCaptureType = 0xA406;
       
    90 const TUint16 KIdExposureProgram = 0x8822;
       
    91 const TUint16 KIdIsoSpeedRatings = 0x8827;
       
    92 const TUint16 KIdDateTimeOriginal = 0x9003;
       
    93 const TUint16 KIdDateTimeDigitized = 0x9004;
       
    94 const TUint16 KIdApertureValue = 0x9202;
       
    95 const TUint16 KIdExposureBiasValue = 0x9204;
       
    96 const TUint16 KIdMeteringMode = 0x9207;
       
    97 const TUint16 KIdLightSource = 0x9208;
       
    98 const TUint16 KIdMakerNote = 0x927C;
       
    99 const TUint16 KIdUserComment = 0x9286;
       
   100 const TUint16 KIdRelatedSoundFile = 0xA004;
       
   101 const TUint16 KIdFileSource = 0xA300;
       
   102 const TUint16 KIdDigitalZoomRatio = 0xA404;
       
   103 const TUint16 KIdContrast = 0xA408;
       
   104 const TUint16 KIdSaturation = 0xA409;
       
   105 const TUint16 KIdSharpness = 0xA40A;
       
   106 const TUint16 KIdShutterSpeedValue = 0x9201;
       
   107 const TUint16 KIdBrightnessValue = 0x9203;
       
   108 const TUint16 KIdCustomRendered = 0xA401;
       
   109 const TUint16 KIdGainControl = 0xA407;
       
   110 
       
   111 #endif // EXIFTABLE_H