Skip to content

Commit

Permalink
Add Canon DigitalLensOptimizer and DualPixelRaw tags
Browse files Browse the repository at this point in the history
(cherry picked from commit 724b7f8)

# Conflicts:
#	src/canonmn_int.cpp
  • Loading branch information
kmilos committed Jan 8, 2024
1 parent 7332aa7 commit f973670
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion src/canonmn_int.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1005,7 +1005,13 @@ constexpr TagDetails canonLongExposureNoiseReduction[] = {{0, N_("Off")}, {1, N_

// Canon HighISONoiseReduction, tag 0x0005
constexpr TagDetails canonHighISONoiseReduction[] = {
{0, N_("Standard")}, {1, N_("Low")}, {2, N_("Strong")}, {3, N_("off")}};
{0, N_("Standard")}, {1, N_("Low")}, {2, N_("Strong")}, {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
constexpr TagInfo CanonMakerNote::tagInfoLiOp_[] = {
Expand All @@ -1019,6 +1025,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 f973670

Please sign in to comment.