d1c89a1824
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>
22 lines
507 B
C++
22 lines
507 B
C++
/* SPDX-License-Identifier: BSD-2-Clause */
|
|
/*
|
|
* Copyright (C) 2019, Raspberry Pi Ltd
|
|
*
|
|
* alsc_status.h - ALSC (auto lens shading correction) control algorithm status
|
|
*/
|
|
#pragma once
|
|
|
|
/*
|
|
* The ALSC algorithm should post the following structure into the image's
|
|
* "alsc.status" metadata.
|
|
*/
|
|
|
|
constexpr unsigned int AlscCellsX = 16;
|
|
constexpr unsigned int AlscCellsY = 12;
|
|
|
|
struct AlscStatus {
|
|
double r[AlscCellsY][AlscCellsX];
|
|
double g[AlscCellsY][AlscCellsX];
|
|
double b[AlscCellsY][AlscCellsX];
|
|
};
|