libcamera/src/ipa/raspberrypi/controller/alsc_status.h
Naushir Patuck acd5d9979f ipa: raspberrypi: Change to C style code comments
As part of the on-going refactor efforts for the source files in
src/ipa/raspberrypi/, switch all C++ style comments to C style comments.

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>
2022-07-27 18:12:13 +03:00

29 lines
570 B
C

/* SPDX-License-Identifier: BSD-2-Clause */
/*
* Copyright (C) 2019, Raspberry Pi (Trading) Limited
*
* 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.
*/
#ifdef __cplusplus
extern "C" {
#endif
#define ALSC_CELLS_X 16
#define ALSC_CELLS_Y 12
struct AlscStatus {
double r[ALSC_CELLS_Y][ALSC_CELLS_X];
double g[ALSC_CELLS_Y][ALSC_CELLS_X];
double b[ALSC_CELLS_Y][ALSC_CELLS_X];
};
#ifdef __cplusplus
}
#endif