summaryrefslogtreecommitdiff
path: root/src/ipa/raspberrypi/controller/ccm_status.h
blob: 4cdd8bed0311c2b0f6618343720c841a41bf233c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* SPDX-License-Identifier: BSD-2-Clause */
/*
 * Copyright (C) 2019, Raspberry Pi (Trading) Limited
 *
 * ccm_status.h - CCM (colour correction matrix) control algorithm status
 */
#pragma once

/* The "ccm" algorithm generates an appropriate colour matrix. */

#ifdef __cplusplus
extern "C" {
#endif

struct CcmStatus {
	double matrix[9];
	double saturation;
};

#ifdef __cplusplus
}
#endif