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>
24 lines
403 B
C++
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 */
|