summaryrefslogtreecommitdiff
path: root/src/ipa/libipa/colours.h
blob: b42ed0ac16121ee6840dfa94b351a4ed7db71cce (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) 2024, Ideas on Board Oy
 *
 * libipa miscellaneous colour helpers
 */

#pragma once

#include <stdint.h>

namespace libcamera {

namespace ipa {

double rec601LuminanceFromRGB(double r, double g, double b);
uint32_t estimateCCT(double red, double green, double blue);

} /* namespace ipa */

} /* namespace libcamera */