Files
external_libcamera/src/ipa/libipa/colours.h
T
Stefan Klug 82cf918b5b ipa: Use Vector class from libcamera
Now that there is a Vector class in libcamera, use that one.

Signed-off-by: Stefan Klug <stefan.klug@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Naushir Patuck <naush@raspberrypi.com>
2025-02-12 14:26:27 +01:00

24 lines
403 B
C++

/* 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 */