summaryrefslogtreecommitdiff
path: root/src/ipa/raspberrypi/controller/alsc_status.h
blob: e5aa7e37c3306b636545e5f87324993b7d50fa41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* 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];
};