libcamera/src/ipa/raspberrypi/controller
David Plowman 79a834f24c libcamera: ipa: raspberrypi: ALSC: Improve behaviour when camera mode changes
Now that we stop the asynchronous thread on a SwitchMode, we would do
better to regenerate all the tables if the new camera mode crops in a
significantly different way to the old one. A few minor tweaks make
sense along with this:

* Reset the lambda values when we reset everything. It wouldn't make
  sense to re-start with the old mode's values.

* Use the last recorded colour temperature to generate new tables rather
  than any default value.

* Set the frame "phase" counter to ensure the adaptive procedure will
  run asap.

Signed-off-by: David Plowman <david.plowman@raspberrypi.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Naushir Patuck <naush@raspberrypi.com>
2020-08-05 17:49:00 +03:00
..
rpi libcamera: ipa: raspberrypi: ALSC: Improve behaviour when camera mode changes 2020-08-05 17:49:00 +03:00
agc_algorithm.hpp libcamera: ipa: Raspberry Pi IPA 2020-05-11 23:54:40 +03:00
agc_status.h libcamera: ipa: Raspberry Pi IPA 2020-05-11 23:54:40 +03:00
algorithm.cpp libcamera: ipa: raspberrypi: Allow SwitchMode method to return camera settings 2020-06-22 07:03:25 +03:00
algorithm.hpp libcamera: ipa: raspberrypi: Allow SwitchMode method to return camera settings 2020-06-22 07:03:25 +03:00
alsc_status.h libcamera: ipa: Raspberry Pi IPA 2020-05-11 23:54:40 +03:00
awb_algorithm.hpp libcamera: ipa: Raspberry Pi IPA 2020-05-11 23:54:40 +03:00
awb_status.h libcamera: ipa: Raspberry Pi IPA 2020-05-11 23:54:40 +03:00
black_level_status.h libcamera: ipa: Raspberry Pi IPA 2020-05-11 23:54:40 +03:00
camera_mode.h libcamera: ipa: Raspberry Pi IPA 2020-05-11 23:54:40 +03:00
ccm_algorithm.hpp libcamera: ipa: Raspberry Pi IPA 2020-05-11 23:54:40 +03:00
ccm_status.h libcamera: ipa: Raspberry Pi IPA 2020-05-11 23:54:40 +03:00
contrast_algorithm.hpp libcamera: ipa: Raspberry Pi IPA 2020-05-11 23:54:40 +03:00
contrast_status.h libcamera: ipa: Raspberry Pi IPA 2020-05-11 23:54:40 +03:00
controller.cpp libcamera: ipa: raspberrypi: Allow SwitchMode method to return camera settings 2020-06-22 07:03:25 +03:00
controller.hpp libcamera: ipa: raspberrypi: Allow SwitchMode method to return camera settings 2020-06-22 07:03:25 +03:00
device_status.h libcamera: ipa: Raspberry Pi IPA 2020-05-11 23:54:40 +03:00
dpc_status.h libcamera: ipa: Raspberry Pi IPA 2020-05-11 23:54:40 +03:00
focus_status.h libcamera: ipa: raspberrypi: Populate focus FoM from the ISP statistics 2020-07-06 17:14:34 +03:00
geq_status.h libcamera: ipa: Raspberry Pi IPA 2020-05-11 23:54:40 +03:00
histogram.cpp libcamera: ipa: Raspberry Pi IPA 2020-05-11 23:54:40 +03:00
histogram.hpp libcamera: ipa: Raspberry Pi IPA 2020-05-11 23:54:40 +03:00
logging.hpp libcamera: ipa: Raspberry Pi IPA 2020-05-11 23:54:40 +03:00
lux_status.h libcamera: ipa: Raspberry Pi IPA 2020-05-11 23:54:40 +03:00
metadata.hpp libcamera: ipa: Raspberry Pi IPA 2020-05-11 23:54:40 +03:00
noise_status.h libcamera: ipa: Raspberry Pi IPA 2020-05-11 23:54:40 +03:00
pwl.cpp libcamera: ipa: Raspberry Pi IPA 2020-05-11 23:54:40 +03:00
pwl.hpp libcamera: ipa: Raspberry Pi IPA 2020-05-11 23:54:40 +03:00
sdn_status.h libcamera: ipa: Raspberry Pi IPA 2020-05-11 23:54:40 +03:00
sharpen_algorithm.hpp libcamera: ipa: raspberrypi: Add sharpness strength control 2020-06-25 06:47:53 +03:00
sharpen_status.h libcamera: ipa: raspberrypi: Add sharpness strength control 2020-06-25 06:47:53 +03:00