DocumentationOverviewBuilding ASL Documentation Library Wiki Docs Indices Browse Perforce More InfoRelease NotesWiki Site Search License Success Stories Contributors MediaDownloadPerforce Depots SupportASL SourceForge HomeMailing Lists Discussion Forums Report Bugs Suggest Features Contribute to ASL RSSShort-text newsFull-text news File releases Other Adobe ProjectsAdobe AirAdobe GIL Adobe Labs Adobe Media Gallery Adobe XMP Tamarin project (Mozilla Foundation) Other ResourcesBoostRIAForge SGI STL |
dng_tag_codes.h00001 /*****************************************************************************/ 00002 // Copyright 2006-2008 Adobe Systems Incorporated 00003 // All Rights Reserved. 00004 // 00005 // NOTICE: Adobe permits you to use, modify, and distribute this file in 00006 // accordance with the terms of the Adobe license agreement accompanying it. 00007 /*****************************************************************************/ 00008 00009 /* $Id: //mondo/workarea/stern/camera_raw/dng_sdk/source/dng_tag_codes.h#23 $ */ 00010 /* $DateTime: 2009/05/19 11:15:50 $ */ 00011 /* $Change: 566868 $ */ 00012 /* $Author: stern $ */ 00013 00014 /*****************************************************************************/ 00015 00016 #ifndef __dng_tag_codes__ 00017 #define __dng_tag_codes__ 00018 00019 /*****************************************************************************/ 00020 00021 // TIFF tags 50706 through 50741 registered at: 00022 // http://partners.adobe.com/asn/tech/tiff/tiffregister.jsp 00023 // on 2003-11-04 & 2003-12-02, purpose "Digital Negative". 00024 00025 // TIFF tags 50778 through 50781 registered at: 00026 // http://partners.adobe.com/asn/tech/tiff/tiffregister.jsp 00027 // on 2004-08-17, purpose "Digital Negative". 00028 00029 // TIFF tags 50827 through 50834 registered at: 00030 // http://partners.adobe.com/asn/tech/tiff/tiffregister.jsp 00031 // on 2004-12-06, purpose "Digital Negative". 00032 00033 // TIFF tag number 50879 registered at: 00034 // http://partners.adobe.com/asn/tech/tiff/tiffregister.jsp 00035 // on 2006-03-23, purpose "Digital Negative". 00036 00037 // TIFF compression numbers 34892 through 34895 registered at: 00038 // http://partners.adobe.com/asn/tech/tiff/tiffregister.jsp 00039 // on 2003-11-04, purpose "Digital Negative". 00040 00041 // TIFF tags numbers 50931 through 50942 registered at: 00042 // http://partners.adobe.com/asn/tech/tiff/tiffregister.jsp 00043 // on 2007-04-30, purpose "Digital Negative". 00044 00045 // TIFF tags numbers 50964 through 50975 registered at: 00046 // http://partners.adobe.com/asn/tech/tiff/tiffregister.jsp 00047 // on 2007-12-17, purpose "Digital Negative". 00048 00049 // TIFF tags numbers 50981 through 50982 registered at: 00050 // http://partners.adobe.com/asn/tech/tiff/tiffregister.jsp 00051 // on 2008-04-01, purpose "Digital Negative". 00052 00053 // TIFF tags numbers 51008 through 51009 registered at: 00054 // http://partners.adobe.com/asn/tech/tiff/tiffregister.jsp 00055 // on 2008-10-15, purpose "Digital Negative". 00056 00057 // TIFF tag number 51022 registered at: 00058 // http://partners.adobe.com/asn/tech/tiff/tiffregister.jsp 00059 // on 2008-12-15, purpose "Digital Negative". 00060 00061 // TIFF tag number 51041 registered at: 00062 // http://partners.adobe.com/asn/tech/tiff/tiffregister.jsp 00063 // on 2009-5-7, purpose "Digital Negative". 00064 00065 /*****************************************************************************/ 00066 00067 // TIFF, DNG, TIFF/EP, and Exif tag codes all share the main TIFF tag code 00068 // number space. In cases where TIFF/EP and Exif have different values for 00069 // tags with the same name, "Exif" is appended to the name of the Exif version 00070 // of the tag. 00071 00072 enum 00073 { 00074 tcNewSubFileType = 254, 00075 tcSubFileType = 255, 00076 tcImageWidth = 256, 00077 tcImageLength = 257, 00078 tcBitsPerSample = 258, 00079 tcCompression = 259, 00080 tcPhotometricInterpretation = 262, 00081 tcThresholding = 263, 00082 tcCellWidth = 264, 00083 tcCellLength = 265, 00084 tcFillOrder = 266, 00085 tcImageDescription = 270, 00086 tcMake = 271, 00087 tcModel = 272, 00088 tcStripOffsets = 273, 00089 tcOrientation = 274, 00090 tcSamplesPerPixel = 277, 00091 tcRowsPerStrip = 278, 00092 tcStripByteCounts = 279, 00093 tcMinSampleValue = 280, 00094 tcMaxSampleValue = 281, 00095 tcXResolution = 282, 00096 tcYResolution = 283, 00097 tcPlanarConfiguration = 284, 00098 tcFreeOffsets = 285, 00099 tcFreeByteCounts = 286, 00100 tcGrayResponseUnit = 290, 00101 tcGrayResponseCurve = 291, 00102 tcResolutionUnit = 296, 00103 tcTransferFunction = 301, 00104 tcSoftware = 305, 00105 tcDateTime = 306, 00106 tcArtist = 315, 00107 tcHostComputer = 316, 00108 tcPredictor = 317, 00109 tcWhitePoint = 318, 00110 tcPrimaryChromaticities = 319, 00111 tcColorMap = 320, 00112 tcTileWidth = 322, 00113 tcTileLength = 323, 00114 tcTileOffsets = 324, 00115 tcTileByteCounts = 325, 00116 tcSubIFDs = 330, 00117 tcExtraSamples = 338, 00118 tcSampleFormat = 339, 00119 tcJPEGTables = 347, 00120 tcJPEGProc = 512, 00121 tcJPEGInterchangeFormat = 513, 00122 tcJPEGInterchangeFormatLength = 514, 00123 tcYCbCrCoefficients = 529, 00124 tcYCbCrSubSampling = 530, 00125 tcYCbCrPositioning = 531, 00126 tcReferenceBlackWhite = 532, 00127 tcXMP = 700, 00128 tcKodakCameraSerialNumber = 33405, 00129 tcCFARepeatPatternDim = 33421, 00130 tcCFAPattern = 33422, 00131 tcBatteryLevel = 33423, 00132 tcKodakDCRPrivateIFD = 33424, 00133 tcCopyright = 33432, 00134 tcExposureTime = 33434, 00135 tcFNumber = 33437, 00136 tcIPTC_NAA = 33723, 00137 tcLeafPKTS = 34310, 00138 tcAdobeData = 34377, 00139 tcExifIFD = 34665, 00140 tcICCProfile = 34675, 00141 tcExposureProgram = 34850, 00142 tcSpectralSensitivity = 34852, 00143 tcGPSInfo = 34853, 00144 tcISOSpeedRatings = 34855, 00145 tcOECF = 34856, 00146 tcInterlace = 34857, 00147 tcTimeZoneOffset = 34858, 00148 tcSelfTimerMode = 34859, 00149 tcExifVersion = 36864, 00150 tcDateTimeOriginal = 36867, 00151 tcDateTimeDigitized = 36868, 00152 tcComponentsConfiguration = 37121, 00153 tcCompressedBitsPerPixel = 37122, 00154 tcShutterSpeedValue = 37377, 00155 tcApertureValue = 37378, 00156 tcBrightnessValue = 37379, 00157 tcExposureBiasValue = 37380, 00158 tcMaxApertureValue = 37381, 00159 tcSubjectDistance = 37382, 00160 tcMeteringMode = 37383, 00161 tcLightSource = 37384, 00162 tcFlash = 37385, 00163 tcFocalLength = 37386, 00164 tcFlashEnergy = 37387, 00165 tcSpatialFrequencyResponse = 37388, 00166 tcNoise = 37389, 00167 tcFocalPlaneXResolution = 37390, 00168 tcFocalPlaneYResolution = 37391, 00169 tcFocalPlaneResolutionUnit = 37392, 00170 tcImageNumber = 37393, 00171 tcSecurityClassification = 37394, 00172 tcImageHistory = 37395, 00173 tcSubjectArea = 37396, 00174 tcExposureIndex = 37397, 00175 tcTIFF_EP_StandardID = 37398, 00176 tcSensingMethod = 37399, 00177 tcMakerNote = 37500, 00178 tcUserComment = 37510, 00179 tcSubsecTime = 37520, 00180 tcSubsecTimeOriginal = 37521, 00181 tcSubsecTimeDigitized = 37522, 00182 tcAdobeLayerData = 37724, 00183 tcFlashPixVersion = 40960, 00184 tcColorSpace = 40961, 00185 tcPixelXDimension = 40962, 00186 tcPixelYDimension = 40963, 00187 tcRelatedSoundFile = 40964, 00188 tcInteroperabilityIFD = 40965, 00189 tcFlashEnergyExif = 41483, 00190 tcSpatialFrequencyResponseExif = 41484, 00191 tcFocalPlaneXResolutionExif = 41486, 00192 tcFocalPlaneYResolutionExif = 41487, 00193 tcFocalPlaneResolutionUnitExif = 41488, 00194 tcSubjectLocation = 41492, 00195 tcExposureIndexExif = 41493, 00196 tcSensingMethodExif = 41495, 00197 tcFileSource = 41728, 00198 tcSceneType = 41729, 00199 tcCFAPatternExif = 41730, 00200 tcCustomRendered = 41985, 00201 tcExposureMode = 41986, 00202 tcWhiteBalance = 41987, 00203 tcDigitalZoomRatio = 41988, 00204 tcFocalLengthIn35mmFilm = 41989, 00205 tcSceneCaptureType = 41990, 00206 tcGainControl = 41991, 00207 tcContrast = 41992, 00208 tcSaturation = 41993, 00209 tcSharpness = 41994, 00210 tcDeviceSettingDescription = 41995, 00211 tcSubjectDistanceRange = 41996, 00212 tcImageUniqueID = 42016, 00213 tcGamma = 42240, 00214 tcPrintImageMatchingInfo = 50341, 00215 tcDNGVersion = 50706, 00216 tcDNGBackwardVersion = 50707, 00217 tcUniqueCameraModel = 50708, 00218 tcLocalizedCameraModel = 50709, 00219 tcCFAPlaneColor = 50710, 00220 tcCFALayout = 50711, 00221 tcLinearizationTable = 50712, 00222 tcBlackLevelRepeatDim = 50713, 00223 tcBlackLevel = 50714, 00224 tcBlackLevelDeltaH = 50715, 00225 tcBlackLevelDeltaV = 50716, 00226 tcWhiteLevel = 50717, 00227 tcDefaultScale = 50718, 00228 tcDefaultCropOrigin = 50719, 00229 tcDefaultCropSize = 50720, 00230 tcColorMatrix1 = 50721, 00231 tcColorMatrix2 = 50722, 00232 tcCameraCalibration1 = 50723, 00233 tcCameraCalibration2 = 50724, 00234 tcReductionMatrix1 = 50725, 00235 tcReductionMatrix2 = 50726, 00236 tcAnalogBalance = 50727, 00237 tcAsShotNeutral = 50728, 00238 tcAsShotWhiteXY = 50729, 00239 tcBaselineExposure = 50730, 00240 tcBaselineNoise = 50731, 00241 tcBaselineSharpness = 50732, 00242 tcBayerGreenSplit = 50733, 00243 tcLinearResponseLimit = 50734, 00244 tcCameraSerialNumber = 50735, 00245 tcLensInfo = 50736, 00246 tcChromaBlurRadius = 50737, 00247 tcAntiAliasStrength = 50738, 00248 tcShadowScale = 50739, 00249 tcDNGPrivateData = 50740, 00250 tcMakerNoteSafety = 50741, 00251 tcCalibrationIlluminant1 = 50778, 00252 tcCalibrationIlluminant2 = 50779, 00253 tcBestQualityScale = 50780, 00254 tcRawDataUniqueID = 50781, 00255 tcOriginalRawFileName = 50827, 00256 tcOriginalRawFileData = 50828, 00257 tcActiveArea = 50829, 00258 tcMaskedAreas = 50830, 00259 tcAsShotICCProfile = 50831, 00260 tcAsShotPreProfileMatrix = 50832, 00261 tcCurrentICCProfile = 50833, 00262 tcCurrentPreProfileMatrix = 50834, 00263 tcColorimetricReference = 50879, 00264 tcCameraCalibrationSignature = 50931, 00265 tcProfileCalibrationSignature = 50932, 00266 tcExtraCameraProfiles = 50933, 00267 tcAsShotProfileName = 50934, 00268 tcNoiseReductionApplied = 50935, 00269 tcProfileName = 50936, 00270 tcProfileHueSatMapDims = 50937, 00271 tcProfileHueSatMapData1 = 50938, 00272 tcProfileHueSatMapData2 = 50939, 00273 tcProfileToneCurve = 50940, 00274 tcProfileEmbedPolicy = 50941, 00275 tcProfileCopyright = 50942, 00276 tcForwardMatrix1 = 50964, 00277 tcForwardMatrix2 = 50965, 00278 tcPreviewApplicationName = 50966, 00279 tcPreviewApplicationVersion = 50967, 00280 tcPreviewSettingsName = 50968, 00281 tcPreviewSettingsDigest = 50969, 00282 tcPreviewColorSpace = 50970, 00283 tcPreviewDateTime = 50971, 00284 tcRawImageDigest = 50972, 00285 tcOriginalRawFileDigest = 50973, 00286 tcSubTileBlockSize = 50974, 00287 tcRowInterleaveFactor = 50975, 00288 tcProfileLookTableDims = 50981, 00289 tcProfileLookTableData = 50982, 00290 tcOpcodeList1 = 51008, 00291 tcOpcodeList2 = 51009, 00292 tcOpcodeList3 = 51022, 00293 tcNoiseProfile = 51041, 00294 tcKodakKDCPrivateIFD = 65024 00295 }; 00296 00297 /*****************************************************************************/ 00298 00299 // Additional values that can be passed as IFD parent codes. 00300 00301 enum 00302 { 00303 00304 tcFirstSubIFD = 0x10000, 00305 tcLastSubIFD = 0x1FFFF, 00306 00307 tcFirstChainedIFD = 0x20000, 00308 tcLastChainedIFD = 0x2FFFF, 00309 00310 tcFirstMakerNoteIFD = 0x30000, 00311 tcLastMakerNoteIFD = 0x3FFFF, 00312 00313 tcCanonMakerNote = tcFirstMakerNoteIFD, 00314 tcEpsonMakerNote, 00315 tcFujiMakerNote, 00316 tcHasselbladMakerNote, 00317 tcKodakMakerNote, 00318 tcKodakMakerNote65280, 00319 tcLeicaMakerNote, 00320 tcMamiyaMakerNote, 00321 tcMinoltaMakerNote, 00322 tcNikonMakerNote, 00323 tcOlympusMakerNote, 00324 tcOlympusMakerNote8208, 00325 tcOlympusMakerNote8224, 00326 tcOlympusMakerNote8240, 00327 tcOlympusMakerNote8256, 00328 tcOlympusMakerNote8272, 00329 tcOlympusMakerNote12288, 00330 tcPanasonicMakerNote, 00331 tcPentaxMakerNote, 00332 tcPhaseOneMakerNote, 00333 tcRicohMakerNote, 00334 tcRicohMakerNoteCameraInfo, 00335 tcSonyMakerNote, 00336 tcSonyMakerNoteSubInfo, 00337 tcSonyPrivateIFD1, 00338 tcSonyPrivateIFD2, 00339 tcSonyPrivateIFD3A, 00340 tcSonyPrivateIFD3B, 00341 tcSonyPrivateIFD3C, 00342 00343 tcCanonCRW = 0x40000, 00344 tcContaxRAW, 00345 tcContaxHeader, 00346 tcFujiRAF, 00347 tcFujiHeader, 00348 tcFujiRawInfo1, 00349 tcFujiRawInfo2, 00350 tcLeafMOS, 00351 tcMinoltaMRW, 00352 tcPanasonicRAW, 00353 tcFoveonX3F, 00354 tcJPEG, 00355 tcAdobePSD 00356 00357 }; 00358 00359 /*****************************************************************************/ 00360 00361 // GPS tag codes are only valid in the GPS IFD. 00362 00363 enum 00364 { 00365 tcGPSVersionID = 0, 00366 tcGPSLatitudeRef = 1, 00367 tcGPSLatitude = 2, 00368 tcGPSLongitudeRef = 3, 00369 tcGPSLongitude = 4, 00370 tcGPSAltitudeRef = 5, 00371 tcGPSAltitude = 6, 00372 tcGPSTimeStamp = 7, 00373 tcGPSSatellites = 8, 00374 tcGPSStatus = 9, 00375 tcGPSMeasureMode = 10, 00376 tcGPSDOP = 11, 00377 tcGPSSpeedRef = 12, 00378 tcGPSSpeed = 13, 00379 tcGPSTrackRef = 14, 00380 tcGPSTrack = 15, 00381 tcGPSImgDirectionRef = 16, 00382 tcGPSImgDirection = 17, 00383 tcGPSMapDatum = 18, 00384 tcGPSDestLatitudeRef = 19, 00385 tcGPSDestLatitude = 20, 00386 tcGPSDestLongitudeRef = 21, 00387 tcGPSDestLongitude = 22, 00388 tcGPSDestBearingRef = 23, 00389 tcGPSDestBearing = 24, 00390 tcGPSDestDistanceRef = 25, 00391 tcGPSDestDistance = 26, 00392 tcGPSProcessingMethod = 27, 00393 tcGPSAreaInformation = 28, 00394 tcGPSDateStamp = 29, 00395 tcGPSDifferential = 30 00396 }; 00397 00398 /*****************************************************************************/ 00399 00400 // Tag codes used in the Interoperability IFD. 00401 00402 enum 00403 { 00404 tcInteroperabilityIndex = 0x0001, 00405 tcInteroperabilityVersion = 0x0002, 00406 tcRelatedImageFileFormat = 0x1000, 00407 tcRelatedImageWidth = 0x1001, 00408 tcRelatedImageLength = 0x1002 00409 }; 00410 00411 /*****************************************************************************/ 00412 00413 // JPEG marker codes. 00414 00415 enum JpegMarker 00416 { 00417 00418 M_TEM = 0x01, 00419 00420 M_SOF0 = 0xc0, 00421 M_SOF1 = 0xc1, 00422 M_SOF2 = 0xc2, 00423 M_SOF3 = 0xc3, 00424 M_DHT = 0xc4, 00425 M_SOF5 = 0xc5, 00426 M_SOF6 = 0xc6, 00427 M_SOF7 = 0xc7, 00428 M_JPG = 0xc8, 00429 M_SOF9 = 0xc9, 00430 M_SOF10 = 0xca, 00431 M_SOF11 = 0xcb, 00432 M_DAC = 0xcc, 00433 M_SOF13 = 0xcd, 00434 M_SOF14 = 0xce, 00435 M_SOF15 = 0xcf, 00436 00437 M_RST0 = 0xd0, 00438 M_RST1 = 0xd1, 00439 M_RST2 = 0xd2, 00440 M_RST3 = 0xd3, 00441 M_RST4 = 0xd4, 00442 M_RST5 = 0xd5, 00443 M_RST6 = 0xd6, 00444 M_RST7 = 0xd7, 00445 00446 M_SOI = 0xd8, 00447 M_EOI = 0xd9, 00448 M_SOS = 0xda, 00449 M_DQT = 0xdb, 00450 M_DNL = 0xdc, 00451 M_DRI = 0xdd, 00452 M_DHP = 0xde, 00453 M_EXP = 0xdf, 00454 00455 M_APP0 = 0xe0, 00456 M_APP1 = 0xe1, 00457 M_APP2 = 0xe2, 00458 M_APP3 = 0xe3, 00459 M_APP4 = 0xe4, 00460 M_APP5 = 0xe5, 00461 M_APP6 = 0xe6, 00462 M_APP7 = 0xe7, 00463 M_APP8 = 0xe8, 00464 M_APP9 = 0xe9, 00465 M_APP10 = 0xea, 00466 M_APP11 = 0xeb, 00467 M_APP12 = 0xec, 00468 M_APP13 = 0xed, 00469 M_APP14 = 0xee, 00470 M_APP15 = 0xef, 00471 00472 M_JPG0 = 0xf0, 00473 M_JPG1 = 0xf1, 00474 M_JPG2 = 0xf2, 00475 M_JPG3 = 0xf3, 00476 M_JPG4 = 0xf4, 00477 M_JPG5 = 0xf5, 00478 M_JPG6 = 0xf6, 00479 M_JPG7 = 0xf7, 00480 M_JPG8 = 0xf8, 00481 M_JPG9 = 0xf9, 00482 M_JPG10 = 0xfa, 00483 M_JPG11 = 0xfb, 00484 M_JPG12 = 0xfc, 00485 M_JPG13 = 0xfd, 00486 M_COM = 0xfe, 00487 00488 M_ERROR = 0x100 00489 00490 }; 00491 00492 /*****************************************************************************/ 00493 00494 #endif 00495 00496 /*****************************************************************************/ |