[SCM] exiv2 packaging branch, master, updated. debian/0.25-3.1-3734-gdcbc29a

Maximiliano Curia maxy at moszumanska.debian.org
Thu Jul 13 17:41:32 UTC 2017


Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/exiv2.git;a=commitdiff;h=b28ecd9

The following commit has been merged in the master branch:
commit b28ecd93ad20eaf6a158f78fcabe95a154bf1283
Author: HumanDynamo <caulier.gilles at gmail.com>
Date:   Sat Apr 24 04:48:35 2010 +0000

    more A100 CS tags
---
 src/minoltamn.cpp         | 29 +++++++++++++++++++++++++----
 src/minoltasonyvalues.cpp | 13 +++++++++++++
 src/minoltasonyvalues.hpp |  3 +++
 src/sonymn.cpp            | 10 ++--------
 4 files changed, 43 insertions(+), 12 deletions(-)

diff --git a/src/minoltamn.cpp b/src/minoltamn.cpp
index ed74d10..aa3ad40 100644
--- a/src/minoltamn.cpp
+++ b/src/minoltamn.cpp
@@ -1094,6 +1094,12 @@ namespace Exiv2 {
         { 2, N_("Spot")                    }
     };
 
+    //! Lookup table to translate Sony A100 camera settings color space values to readable labels
+    extern const TagDetails sonyColorSpaceA100[] = {
+        { 0, N_("sRGB")      },
+        { 5, N_("Adobe RGB") }
+    };
+
     // Sony A100 Camera Settings Tag Info
     const TagInfo MinoltaMakerNote::tagInfoCsA100_[] = {
         TagInfo(0x0000, "ExposureMode", N_("Exposure Mode"),
@@ -1147,14 +1153,29 @@ namespace Exiv2 {
         TagInfo(0x0015, "DynamicRangeOptimizerMode", N_("Dynamic Range Optimizer Mode"),
                 N_("Dynamic range optimizer mode"),
                 sony1MltCsA100IfdId, makerTags, unsignedShort, printMinoltaSonyDynamicRangeOptimizerMode),
-
-/*
-        TagInfo(0x0031, "Contrast", N_("Contrast"),
+        TagInfo(0x0016, "ColorMode", N_("Color Mode"),
+                N_("Color mode"),
+                sony1MltCsA100IfdId, makerTags, unsignedLong, printMinoltaSonyColorMode),
+        TagInfo(0x0017, "ColorSpace", N_("Color Space"),
+                N_("Color space"),
+                sony1MltCsA100IfdId, makerTags, unsignedLong, EXV_PRINT_TAG(sonyColorSpaceA100)),
+        TagInfo(0x0018, "Sharpness", N_("Sharpness"),
+                N_("Sharpness"),
+                sony1CsIfdId, makerTags, unsignedShort, printValue),
+        TagInfo(0x0019, "Contrast", N_("Contrast"),
                 N_("Contrast"),
                 sony1MltCsA100IfdId, makerTags, unsignedShort, printValue),
-        TagInfo(0x0032, "Saturation", N_("Saturation"),
+        TagInfo(0x001A, "Saturation", N_("Saturation"),
                 N_("Saturation"),
                 sony1MltCsA100IfdId, makerTags, unsignedShort, printValue),
+        TagInfo(0x001C, "FlashMetering", N_("Flash Metering"),
+                N_("Flash metering"),
+                sony1MltCsA100IfdId, makerTags, unsignedLong, EXV_PRINT_TAG(minoltaFlashMeteringStd)),
+        TagInfo(0x001D, "PrioritySetupShutterRelease", N_("Priority Setup Shutter Release"),
+                N_("Priority Setup Shutter Release"),
+                sony1MltCsA100IfdId, makerTags, unsignedShort, printMinoltaSonyPrioritySetupShutterRelease),
+
+/*
         TagInfo(0x0035, "ExposureTime", N_("Exposure Time"),
                 N_("Exposure time"),
                 sony1MltCsA100IfdId, makerTags, unsignedShort, printValue),
diff --git a/src/minoltasonyvalues.cpp b/src/minoltasonyvalues.cpp
index 47089d4..95348b2 100644
--- a/src/minoltasonyvalues.cpp
+++ b/src/minoltasonyvalues.cpp
@@ -415,4 +415,17 @@ namespace Exiv2 {
     {
         return EXV_PRINT_TAG(minoltaSonyDynamicRangeOptimizerMode)(os, value, metadata);
     }
+
+    // ----------------------------------------------------------------------------------------------------
+
+    //! Lookup table to translate Sony camera settings priority setup shutter release values to readable labels
+    extern const TagDetails minoltaSonyPrioritySetupShutterRelease[] = {
+        { 0, N_("AF") },
+        { 1, N_("Release") },
+    };
+
+    std::ostream& printMinoltaSonyPrioritySetupShutterRelease(std::ostream& os, const Value& value, const ExifData* metadata)
+    {
+        return EXV_PRINT_TAG(minoltaSonyPrioritySetupShutterRelease)(os, value, metadata);
+    }
 }                                       // namespace Exiv2
diff --git a/src/minoltasonyvalues.hpp b/src/minoltasonyvalues.hpp
index 1eb6e00..77cc62c 100644
--- a/src/minoltasonyvalues.hpp
+++ b/src/minoltasonyvalues.hpp
@@ -58,6 +58,9 @@ namespace Exiv2 {
     //! Print Minolta/Sony dynamic range optimizer mode values to readable labels.
     EXIV2API std::ostream& printMinoltaSonyDynamicRangeOptimizerMode(std::ostream&, const Value&, const ExifData*);
 
+    //! Print Minolta/Sony priority setup shutter release values to readable labels.
+    EXIV2API std::ostream& printMinoltaSonyPrioritySetupShutterRelease(std::ostream&, const Value&, const ExifData*);
+
     // TODO: Added shared methods here.
 
 }                                       // namespace Exiv2
diff --git a/src/sonymn.cpp b/src/sonymn.cpp
index f77b932..c19e56f 100644
--- a/src/sonymn.cpp
+++ b/src/sonymn.cpp
@@ -333,7 +333,7 @@ namespace Exiv2 {
                 sony1IfdId, makerTags, undefined, printValue),
         TagInfo(0xb029, "ColorMode", N_("Color Mode"),
                 N_("Color Mode"),
-                sony1IfdId, makerTags, unsignedLong, printMinoltaSonyBoolValue),
+                sony1IfdId, makerTags, unsignedLong, printMinoltaSonyColorMode),
         TagInfo(0xb02b, "FullImageSize", N_("Full Image Size"),
                 N_("Full Image Size"),
                 sony1IfdId, makerTags, unsignedLong, printImageSize),
@@ -436,12 +436,6 @@ namespace Exiv2 {
         { 1, N_("TTL") },
     };
 
-    //! Lookup table to translate Sony camera settings priority setup shutter release values to readable labels
-    extern const TagDetails sonyPrioritySetupShutterRelease[] = {
-        { 0, N_("AF") },
-        { 1, N_("Release") },
-    };
-
     //! Lookup table to translate Sony AF illuminator values to readable labels
     extern const TagDetails sonyAFIlluminator[] = {
         { 0, N_("Auto") },
@@ -571,7 +565,7 @@ namespace Exiv2 {
         // NOTE: A700 only
         TagInfo(0x0040, "PrioritySetupShutterRelease", N_("Priority Setup Shutter Release"),
                 N_("Priority Setup Shutter Release"),
-                sony1CsIfdId, makerTags, unsignedShort, EXV_PRINT_TAG(sonyPrioritySetupShutterRelease)),
+                sony1CsIfdId, makerTags, unsignedShort, printMinoltaSonyPrioritySetupShutterRelease),
         // NOTE: A700 only
         TagInfo(0x0041, "AFIlluminator", N_("AF Illuminator"),
                 N_("AF Illuminator"),

-- 
exiv2 packaging



More information about the pkg-kde-commits mailing list