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