Project

General

Profile

Patch #1287 » add-sonymn-0x2011ff.patch

Matthias Andree, 08 Apr 2017 15:28

View differences:

src/sonymn.cpp (Arbeitskopie)
299 299
        { 65535, N_("n/a") }
300 300
    };
301 301

  
302
    //! Lookup table to translate Sony Correction settings to readable labels
303
    extern const TagDetails sonyCorrection[] = {
304
        { 0,     N_("Off") },
305
        { 2,     N_("Auto") },
306
        { 4294967295, N_("n/a") }
307
    };
308

  
302 309
    std::ostream& SonyMakerNote::print0xb000(std::ostream& os, const Value& value, const ExifData*)
303 310
    {
304 311
        if (value.count() != 4)
......
404 411
        TagInfo(0x200A, "AutoHDR", N_("Auto HDR"),
405 412
                N_("High Definition Range Mode"),
406 413
                sony1Id, makerTags, unsignedLong, -1, EXV_PRINT_TAG(sonyHDRMode)),
414
        TagInfo(0x2011, "VignettingCorrection", N_("VignettingCorrection"),
415
                N_("Vignetting Correction"),
416
                sony1Id, makerTags, unsignedLong, -1, EXV_PRINT_TAG(sonyCorrection)),
417
        TagInfo(0x2012, "LateralChromaticAberration", N_("LateralChromaticAberration"),
418
                N_("Lateral Chromatic Aberration Correction"),
419
                sony1Id, makerTags, unsignedLong, -1, EXV_PRINT_TAG(sonyCorrection)),
420
        TagInfo(0x2013, "DistortionCorrection", N_("DistortionCorrection"),
421
                N_("Distortion Correction"),
422
                sony1Id, makerTags, unsignedLong, -1, EXV_PRINT_TAG(sonyCorrection)),
407 423
        // TODO : Implement Shot Info tags decoding.
408 424
        TagInfo(0x3000, "ShotInfo", N_("Shot Info"),
409 425
                N_("Shot Information"),
(2-2/2)