[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:30 UTC 2017
Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/exiv2.git;a=commitdiff;h=bd94baf
The following commit has been merged in the master branch:
commit bd94bafc7bd8c213d356d40752f8ac237a586c8d
Author: HumanDynamo <caulier.gilles at gmail.com>
Date: Thu Apr 22 10:03:37 2010 +0000
implement MeteringMode codec
---
src/sonymn.cpp | 19 ++++++++++---------
1 file changed, 10 insertions(+), 9 deletions(-)
diff --git a/src/sonymn.cpp b/src/sonymn.cpp
index ec1fb3f..dd44f00 100644
--- a/src/sonymn.cpp
+++ b/src/sonymn.cpp
@@ -405,9 +405,17 @@ namespace Exiv2 {
{ 3, "AF-A" }
};
+ //! Lookup table to translate Sony camera settings metering mode values to readable labels
+ extern const TagDetails sonyMeteringMode[] = {
+ { 1, N_("Multi-segment") },
+ { 2, N_("Center weighted") },
+ { 4, N_("Spot") }
+ };
+
// Sony Camera Settings Tag Info
// NOTE: all are for A200, A230, A300, A350, A700, A850 and A900 Sony model excepted
// some entries which are only relevant with A700.
+
const TagInfo SonyMakerNote::tagInfoCs_[] = {
// NOTE: A700 only
TagInfo(0x0004, "DriveMode", N_("Drive Mode"),
@@ -417,22 +425,18 @@ namespace Exiv2 {
TagInfo(0x0006, "WhiteBalanceFineTune", N_("White Balance Fine Tune"),
N_("White Balance Fine Tune"),
sony1CsIfdId, makerTags, unsignedShort, printValue),
-
TagInfo(0x0016, "FocusMode", N_("Focus Mode"),
N_("Focus Mode"),
sony1CsIfdId, makerTags, unsignedShort, EXV_PRINT_TAG(sonyFocusMode)),
-
TagInfo(0x0017, "AFAreaMode", N_("AF Area Mode"),
N_("AF Area Mode"),
sony1CsIfdId, makerTags, unsignedShort, printMinoltaSonyAFAreaMode),
-
TagInfo(0x0018, "LocalAFAreaPoint", N_("Local AF Area Point"),
N_("Local AF Area Point"),
sony1CsIfdId, makerTags, unsignedShort, printMinoltaSonyLocalAFAreaPoint),
-
TagInfo(0x0021, "MeteringMode", N_("Metering Mode"),
N_("Metering Mode"),
- sony1CsIfdId, makerTags, unsignedShort, printValue),
+ sony1CsIfdId, makerTags, unsignedShort, EXV_PRINT_TAG(sonyMeteringMode)),
TagInfo(0x0022, "ISOSetting", N_("ISO Setting"),
N_("ISO Setting"),
@@ -549,18 +553,15 @@ namespace Exiv2 {
TagInfo(0x0016, "FocusMode", N_("Focus Mode"),
N_("Focus Mode"),
sony1Cs2IfdId, makerTags, unsignedShort, EXV_PRINT_TAG(sonyFocusMode)),
-
TagInfo(0x0017, "AFAreaMode", N_("AF Area Mode"),
N_("AF Area Mode"),
sony1Cs2IfdId, makerTags, unsignedShort, printMinoltaSonyAFAreaMode),
-
TagInfo(0x0018, "LocalAFAreaPoint", N_("Local AF Area Point"),
N_("Local AF Area Point"),
sony1Cs2IfdId, makerTags, unsignedShort, printMinoltaSonyLocalAFAreaPoint),
-
TagInfo(0x0019, "MeteringMode", N_("Metering Mode"),
N_("Metering Mode"),
- sony1Cs2IfdId, makerTags, unsignedShort, printValue),
+ sony1Cs2IfdId, makerTags, unsignedShort, EXV_PRINT_TAG(sonyMeteringMode)),
TagInfo(0x0020, "ISOSetting", N_("ISO Setting"),
N_("ISO Setting"),
--
exiv2 packaging
More information about the pkg-kde-commits
mailing list