summaryrefslogtreecommitdiff
path: root/test/pixel-format.cpp
AgeCommit message (Expand)Author
2021-06-25libcamera/base: Move utils to the base libraryKieran Bingham
2020-06-25libcamera: pixel_format: Replace hex with format namesKaaira Gupta
' href='#n9'>9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
/* 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