[libcamera-devel,v2,3/6] test: ipa_data_serialization: Use ExposureTimeMode
diff mbox series

Message ID 20220811150219.62066-4-jacopo@jmondi.org
State New
Headers show
Series
  • AEGC controls
Related show

Commit Message

Jacopo Mondi Aug. 11, 2022, 3:02 p.m. UTC
Replace the deprecated AeEnable control with ExposureTimeMode
in ipa_data_serialization test.

Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
---
 test/serialization/ipa_data_serializer_test.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Nicolas Dufresne via libcamera-devel Aug. 15, 2022, 8:54 a.m. UTC | #1
On Thu, Aug 11, 2022 at 05:02:16PM +0200, Jacopo Mondi via libcamera-devel wrote:
> Replace the deprecated AeEnable control with ExposureTimeMode
> in ipa_data_serialization test.
> 
> Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>

Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>

> ---
>  test/serialization/ipa_data_serializer_test.cpp | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/test/serialization/ipa_data_serializer_test.cpp b/test/serialization/ipa_data_serializer_test.cpp
> index d2050a868b38..f9b3e727127c 100644
> --- a/test/serialization/ipa_data_serializer_test.cpp
> +++ b/test/serialization/ipa_data_serializer_test.cpp
> @@ -33,7 +33,7 @@ using namespace std;
>  using namespace libcamera;
>  
>  static const ControlInfoMap Controls = ControlInfoMap({
> -		{ &controls::AeEnable, ControlInfo(false, true) },
> +		{ &controls::ExposureTimeMode, ControlInfo(false, true) },
>  		{ &controls::ExposureTime, ControlInfo(0, 999999) },
>  		{ &controls::AnalogueGain, ControlInfo(1.0f, 32.0f) },
>  		{ &controls::ColourGains, ControlInfo(0.0f, 32.0f) },
> -- 
> 2.37.1
>

Patch
diff mbox series

diff --git a/test/serialization/ipa_data_serializer_test.cpp b/test/serialization/ipa_data_serializer_test.cpp
index d2050a868b38..f9b3e727127c 100644
--- a/test/serialization/ipa_data_serializer_test.cpp
+++ b/test/serialization/ipa_data_serializer_test.cpp
@@ -33,7 +33,7 @@  using namespace std;
 using namespace libcamera;
 
 static const ControlInfoMap Controls = ControlInfoMap({
-		{ &controls::AeEnable, ControlInfo(false, true) },
+		{ &controls::ExposureTimeMode, ControlInfo(false, true) },
 		{ &controls::ExposureTime, ControlInfo(0, 999999) },
 		{ &controls::AnalogueGain, ControlInfo(1.0f, 32.0f) },
 		{ &controls::ColourGains, ControlInfo(0.0f, 32.0f) },