Skip to content

Commit

Permalink
Add Canon DigitalLensOptimizer and DualPixelRaw tags
Browse files Browse the repository at this point in the history
  • Loading branch information
kmilos committed Jan 3, 2024
1 parent 9cd39d9 commit f08106e
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion src/canonmn_int.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1052,7 +1052,20 @@ constexpr TagDetails canonHighISONoiseReduction[] = {
{0, N_("Standard")},
{1, N_("Low")},
{2, N_("Strong")},
{3, N_("off")},
{3, N_("Off")},
};

// Canon DigitalLensOptimizer, tag 0x000a
constexpr TagDetails canonDigitalLensOptimizer[] = {
{0, N_("Off")},
{1, N_("Standard")},
{2, N_("High")},
};

// Canon DualPixelRaw, tag 0x000b
constexpr TagDetails canonDualPixelRaw[] = {
{0, N_("Off")},
{1, N_("On")},
};

// Canon LightingOpt Tag
Expand All @@ -1067,6 +1080,10 @@ constexpr TagInfo CanonMakerNote::tagInfoLiOp_[] = {
IfdId::canonLiOpId, SectionId::makerTags, signedLong, -1, EXV_PRINT_TAG(canonLongExposureNoiseReduction)},
{0x0005, "HighISONoiseReduction", N_("High ISO Noise Reduction"), N_("High ISO Noise Reduction"),
IfdId::canonLiOpId, SectionId::makerTags, signedLong, -1, EXV_PRINT_TAG(canonHighISONoiseReduction)},
{0x000a, "DigitalLensOptimizer", N_("Digital Lens Optimizer"), N_("Digital Lens Optimizer"), IfdId::canonLiOpId,
SectionId::makerTags, signedLong, -1, EXV_PRINT_TAG(canonDigitalLensOptimizer)},
{0x000b, "DualPixelRaw", N_("Dual Pixel Raw"), N_("Dual Pixel Raw"), IfdId::canonLiOpId, SectionId::makerTags,
signedLong, -1, EXV_PRINT_TAG(canonDualPixelRaw)},
{0xffff, "(UnknownLightingOptimizationTag)", "(UnknownLightingOptimizationTag)",
N_("UnknownLightingOptimizationTag Selection Tag"), IfdId::canonLiOpId, SectionId::makerTags, signedLong, 1,
printValue} // important to add end of tag
Expand Down

0 comments on commit f08106e

Please sign in to comment.