@@ -451,6 +451,26 @@ namespace Exiv2 {
451451 { 1 , N_ (" None" ) }
452452 };
453453
454+ // ! DepthFormat, DNG 1.5 tag 0xc7e9
455+ extern const TagDetails dngDepthFormat[] = {
456+ { 0 , N_ (" Unknown" ) },
457+ { 1 , N_ (" Linear" ) },
458+ { 2 , N_ (" Inverse" ) }
459+ };
460+
461+ // ! DepthUnits, DNG 1.5 tag 0xc7ec
462+ extern const TagDetails dngDepthUnits[] = {
463+ { 0 , N_ (" Unknown" ) },
464+ { 1 , N_ (" meters" ) }
465+ };
466+
467+ // ! DepthMeasureType, DNG 1.5 tag 0xc7ed
468+ extern const TagDetails dngDepthMeasureType[] = {
469+ { 0 , N_ (" Unknown" ) },
470+ { 1 , N_ (" Optical axis" ) },
471+ { 2 , N_ (" Optical ray" ) }
472+ };
473+
454474
455475 // ! Base IFD Tags (IFD0 and IFD1)
456476 static const TagInfo ifdTagInfo[] = {
@@ -1561,6 +1581,34 @@ namespace Exiv2 {
15611581 " The default values of (top = 0, left = 0, bottom = 1, right = 1) correspond exactly to the default "
15621582 " crop rectangle (as specified by the DefaultCropOrigin and DefaultCropSize tags)." ),
15631583 ifd0Id, dngTags, unsignedRational, 4 , printFloat), // DNG 1.4 tag
1584+ TagInfo (0xc7e9 , " DepthFormat" , N_ (" Depth Format" ),
1585+ N_ (" Specifies the encoding of any depth data in the file. Can be unknown (apart "
1586+ " from nearer distances being closer to zero, and farther distances being closer to "
1587+ " the maximum value), linear (values vary linearly from zero representing DepthNear "
1588+ " to the maximum value representing DepthFar), or inverse (values are stored inverse "
1589+ " linearly, with zero representing DepthNear and the maximum value representing "
1590+ " DepthFar)." ),
1591+ ifd0Id, dngTags, unsignedShort, 1 , EXV_PRINT_TAG (dngDepthFormat)), // DNG 1.5 tag
1592+ TagInfo (0xc7ea , " DepthNear" , N_ (" Depth Near" ),
1593+ N_ (" Specifies distance from the camera represented by the zero value in the depth map. "
1594+ " 0/0 means unknown." ),
1595+ ifd0Id, dngTags, unsignedRational, 1 , printValue), // DNG 1.5 tag
1596+ TagInfo (0xc7eb , " DepthFar" , N_ (" Depth Far" ),
1597+ N_ (" Specifies distance from the camera represented by the maximum value in the depth "
1598+ " map. 0/0 means unknown. 1/0 means infinity, which is valid for unknown and inverse "
1599+ " depth formats." ),
1600+ ifd0Id, dngTags, unsignedRational, 1 , printValue), // DNG 1.5 tag
1601+ TagInfo (0xc7ec , " DepthUnits" , N_ (" Depth Units" ),
1602+ N_ (" Specifies the measurement units for the DepthNear and DepthFar tags." ),
1603+ ifd0Id, dngTags, unsignedShort, 1 , EXV_PRINT_TAG (dngDepthUnits)), // DNG 1.5 tag
1604+ TagInfo (0xc7ed , " DepthMeasureType" , N_ (" Depth Measure Type" ),
1605+ N_ (" Specifies the measurement geometry for the depth map. Can be unknown, measured "
1606+ " along the optical axis, or measured along the optical ray passing through each "
1607+ " pixel." ),
1608+ ifd0Id, dngTags, unsignedShort, 1 , EXV_PRINT_TAG (dngDepthMeasureType)), // DNG 1.5 tag
1609+ TagInfo (0xc7ee , " EnhanceParams" , N_ (" Enhance Params" ),
1610+ N_ (" A string that documents how the enhanced image data was processed." ),
1611+ ifd0Id, dngTags, asciiString, 0 , printValue), // DNG 1.5 tag
15641612
15651613 // //////////////////////////////////////
15661614 // End of list marker
0 commit comments