mirror of
https://git.libcamera.org/libcamera/libcamera.git
synced 2025-07-15 08:25:07 +03:00
ipa: raspberrypi: Remove #define constants
Replace all #define constant values with equivalent constexpr definitions. As a drive-by, remove the CAMERA_MODE_NAME_LEN constant as it is unused. Signed-off-by: Naushir Patuck <naush@raspberrypi.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
parent
8757cc7c42
commit
d1c89a1824
10 changed files with 41 additions and 43 deletions
|
@ -23,8 +23,8 @@ LOG_DEFINE_CATEGORY(RPiAlsc)
|
|||
|
||||
#define NAME "rpi.alsc"
|
||||
|
||||
static const int X = ALSC_CELLS_X;
|
||||
static const int Y = ALSC_CELLS_Y;
|
||||
static const int X = AlscCellsX;
|
||||
static const int Y = AlscCellsY;
|
||||
static const int XY = X * Y;
|
||||
static const double InsufficientData = -1.0;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue