Message ID | 20230411094757.29143-1-david.plowman@raspberrypi.com |
---|---|
State | Accepted |
Commit | 98fc381c68a372b78260b2940411a64ea9e5011c |
Headers | show |
Series |
|
Related | show |
Quoting David Plowman via libcamera-devel (2023-04-11 10:47:57) > The "shadows" constraint mode actually exists in a number of tuning > files, but had been omitted from the list of supported modes. > > Signed-off-by: David Plowman <david.plowman@raspberrypi.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> > --- > src/ipa/raspberrypi/raspberrypi.cpp | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/src/ipa/raspberrypi/raspberrypi.cpp b/src/ipa/raspberrypi/raspberrypi.cpp > index 9f3f3ac3..9c29fa9a 100644 > --- a/src/ipa/raspberrypi/raspberrypi.cpp > +++ b/src/ipa/raspberrypi/raspberrypi.cpp > @@ -778,6 +778,7 @@ static const std::map<int32_t, std::string> MeteringModeTable = { > static const std::map<int32_t, std::string> ConstraintModeTable = { > { controls::ConstraintNormal, "normal" }, > { controls::ConstraintHighlight, "highlight" }, > + { controls::ConstraintShadows, "shadows" }, > { controls::ConstraintCustom, "custom" }, > }; > > -- > 2.30.2 >
Hi David, Thank you for the patch. On Tue, Apr 11, 2023 at 10:47:57AM +0100, David Plowman via libcamera-devel wrote: > The "shadows" constraint mode actually exists in a number of tuning > files, but had been omitted from the list of supported modes. > > Signed-off-by: David Plowman <david.plowman@raspberrypi.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> > --- > src/ipa/raspberrypi/raspberrypi.cpp | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/src/ipa/raspberrypi/raspberrypi.cpp b/src/ipa/raspberrypi/raspberrypi.cpp > index 9f3f3ac3..9c29fa9a 100644 > --- a/src/ipa/raspberrypi/raspberrypi.cpp > +++ b/src/ipa/raspberrypi/raspberrypi.cpp > @@ -778,6 +778,7 @@ static const std::map<int32_t, std::string> MeteringModeTable = { > static const std::map<int32_t, std::string> ConstraintModeTable = { > { controls::ConstraintNormal, "normal" }, > { controls::ConstraintHighlight, "highlight" }, > + { controls::ConstraintShadows, "shadows" }, > { controls::ConstraintCustom, "custom" }, > }; >
diff --git a/src/ipa/raspberrypi/raspberrypi.cpp b/src/ipa/raspberrypi/raspberrypi.cpp index 9f3f3ac3..9c29fa9a 100644 --- a/src/ipa/raspberrypi/raspberrypi.cpp +++ b/src/ipa/raspberrypi/raspberrypi.cpp @@ -778,6 +778,7 @@ static const std::map<int32_t, std::string> MeteringModeTable = { static const std::map<int32_t, std::string> ConstraintModeTable = { { controls::ConstraintNormal, "normal" }, { controls::ConstraintHighlight, "highlight" }, + { controls::ConstraintShadows, "shadows" }, { controls::ConstraintCustom, "custom" }, };
The "shadows" constraint mode actually exists in a number of tuning files, but had been omitted from the list of supported modes. Signed-off-by: David Plowman <david.plowman@raspberrypi.com> --- src/ipa/raspberrypi/raspberrypi.cpp | 1 + 1 file changed, 1 insertion(+)