summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMilan Zamazal <mzamazal@redhat.com>2024-05-31 14:38:39 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2024-06-02 01:59:24 +0300
commitf5b7921e0a6145a7ed79eaeaebbcb3584030cdef (patch)
treecbe58bacddaa4f13408c1bb72c084008a6f1fd4f /include
parent539c62ff8e135dc97b57733b7f1247ed4503df03 (diff)
libcamera: software_isp: Remove DebayerParams::kGain10
The constant is used in a single place internally and doesn't belong to DebayerParams anymore. Let's use 256 directly. 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 'include')
-rw-r--r--include/libcamera/internal/software_isp/debayer_params.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/libcamera/internal/software_isp/debayer_params.h b/include/libcamera/internal/software_isp/debayer_params.h
index 463d24b3..7d8fdd48 100644
--- a/include/libcamera/internal/software_isp/debayer_params.h
+++ b/include/libcamera/internal/software_isp/debayer_params.h
@@ -16,7 +16,6 @@
namespace libcamera {
struct DebayerParams {
- static constexpr unsigned int kGain10 = 256;
static constexpr unsigned int kRGBLookupSize = 256;
using ColorLookupTable = std::array<uint8_t, kRGBLookupSize>;