blob: d39b2ca8b87e3a21b8638f5c59e80224e8709fa7 (
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 "libcamera/internal/vector.h"
namespace libcamera {
namespace ipa {
double rec601LuminanceFromRGB(const RGB<double> &rgb);
uint32_t estimateCCT(const RGB<double> &rgb);
} /* namespace ipa */
} /* namespace libcamera */
|