summaryrefslogtreecommitdiff
path: root/src/ipa/libipa/colours.h
blob: fa6a8b575cc761fe4bd4be2a146b4957edd261d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* SPDX-License-Identifier: BSD-2-Clause */
/*
 * Copyright (C) 2024, Ideas on Board Oy
 *
 * libipa miscellaneous colour helpers
 */

#pragma once

#include <stdint.h>

#include "vector.h"

namespace libcamera {

namespace ipa {

double rec601LuminanceFromRGB(const RGB<double> &rgb);
uint32_t estimateCCT(const RGB<double> &rgb);

} /* namespace ipa */

} /* namespace libcamera */