summaryrefslogtreecommitdiff
path: root/src/apps/qcam/assets/feathericons/copy.svg
diff options
context:
space:
mode:
authorMilan Zamazal <mzamazal@redhat.com>2024-05-31 14:38:38 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2024-06-02 01:54:20 +0300
commit539c62ff8e135dc97b57733b7f1247ed4503df03 (patch)
treefee811a5df5f6eb647ae8700f921f9fcc92f0f51 /src/apps/qcam/assets/feathericons/copy.svg
parent4e13c6f55bd667b39986d91ae06ed67ae5dabe68 (diff)
libcamera: software_isp: Move color mappings out of debayering
Constructing the color mapping tables is related to stats rather than debayering, where they are applied. Let's move the corresponding code to stats processing. The same applies to the auxiliary gamma table. As the gamma value is currently fixed and used in a single place, with the temporary exception mentioned below, there is no need to share it anywhere anymore. It's necessary to initialize SoftwareIsp::debayerParams_ to default values. These initial values are used for the first two frames, before they are changed based on determined stats. To avoid sharing the gamma value constant in artificial ways, we use 0.5 directly in the initialization. This all is not a particularly elegant thing to do, such a code belongs conceptually to the similar code in stats processing, but doing better is left for larger refactoring. This is a preliminary step towards building this functionality on top of libipa/algorithm.h, which should follow. Signed-off-by: Milan Zamazal <mzamazal@redhat.com> Reviewed-by: Andrei Konovalov <andrey.konovalov.ynk@gmail.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src/apps/qcam/assets/feathericons/copy.svg')
0 files changed, 0 insertions, 0 deletions