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

// The AWB algorithm places its results into both the image and global metadata,
// under the tag "awb.status".

#ifdef __cplusplus
extern "C" {
#endif

struct AwbStatus {
	char mode[32];
	double temperature_K;
	double gain_r;
	double gain_g;
	double gain_b;
};

#ifdef __cplusplus
}
#endif