[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:20 UTC 2017
Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/exiv2.git;a=commitdiff;h=a9c39b8
The following commit has been merged in the master branch:
commit a9c39b87ce6d92b04991cbed1c93504ece8cc2ec
Author: HumanDynamo <caulier.gilles at gmail.com>
Date: Thu Apr 15 11:15:01 2010 +0000
print exposure mode
---
src/sonymn.cpp | 34 ++++++++++++++++++++++++++++------
1 file changed, 28 insertions(+), 6 deletions(-)
diff --git a/src/sonymn.cpp b/src/sonymn.cpp
index b12eaf1..3591421 100644
--- a/src/sonymn.cpp
+++ b/src/sonymn.cpp
@@ -144,6 +144,33 @@ namespace Exiv2 {
{ 12, N_("Advanced Lv5") }
};
+ //! Lookup table to translate Sony exposure mode values to readable labels
+ extern const TagDetails sonyExposureMode[] = {
+ { 0, N_("Auto") },
+ { 1, N_("Portrait") },
+ { 2, N_("Beach") },
+ { 4, N_("Snow") },
+ { 5, N_("Landscape ") },
+ { 6, N_("Program") },
+ { 7, N_("Aperture priority") },
+ { 8, N_("Shutter priority") },
+ { 9, N_("Night Scene / Twilight") },
+ { 10, N_("Hi-Speed Shutter") },
+ { 11, N_("Twilight Portrait") },
+ { 12, N_("Soft Snap") },
+ { 13, N_("Fireworks") },
+ { 15, N_("Manual") },
+ { 18, N_("High Sensitivity") },
+ { 20, N_("Advanced Sports Shooting") },
+ { 29, N_("Underwater") },
+ { 33, N_("Gourmet") },
+ { 34, N_("Panorama") },
+ { 35, N_("Handheld Twilight") },
+ { 36, N_("Anti Motion Blur") },
+ { 37, N_("Pet") },
+ { 38, N_("Backlight Correction HDR") }
+ };
+
// Sony MakerNote Tag Info
const TagInfo SonyMakerNote::tagInfo_[] = {
@@ -246,23 +273,18 @@ namespace Exiv2 {
TagInfo(0xb029, "ColorMode", N_("Color Mode"),
N_("Color Mode"),
sonyIfdId, makerTags, unsignedLong, printMinoltaSonyBoolValue),
-
TagInfo(0xb02b, "FullImageSize", N_("Full Image Size"),
N_("Full Image Size"),
sonyIfdId, makerTags, unsignedLong, printImageSize),
-
TagInfo(0xb02c, "PreviewImageSize", N_("Preview Image Size"),
N_("Preview Image Size"),
sonyIfdId, makerTags, unsignedLong, printImageSize),
-
TagInfo(0xb040, "Macro", N_("Macro"),
N_("Macro"),
sonyIfdId, makerTags, unsignedShort, printMinoltaSonyBoolValue),
-
- // TODO
TagInfo(0xb041, "ExposureMode", N_("Exposure Mode"),
N_("Exposure Mode"),
- sonyIfdId, makerTags, unsignedShort, printValue),
+ sonyIfdId, makerTags, unsignedShort, EXV_PRINT_TAG(sonyExposureMode)),
// TODO
TagInfo(0xb047, "Quality", N_("Quality"),
--
exiv2 packaging
More information about the pkg-kde-commits
mailing list