libcamera v0.2.0+3-70b69666-nvm
Supporting cameras in Linux since 2019
Loading...
Searching...
No Matches
swisp_stats.h
1/* SPDX-License-Identifier: LGPL-2.1-or-later */
2/*
3 * Copyright (C) 2023, Linaro Ltd
4 *
5 * swisp_stats.h - Statistics data format used by the software ISP and software IPA
6 */
7
8#pragma once
9
10namespace libcamera {
11
15struct SwIspStats {
19 unsigned long sumR_;
23 unsigned long sumG_;
27 unsigned long sumB_;
31 unsigned int y_histogram[16];
32};
33
34} /* namespace libcamera */
Top-level libcamera namespace.
Definition backtrace.h:17
Struct that holds the statistics for the Software ISP.
Definition swisp_stats.h:15
unsigned long sumG_
Holds the sum of all sampled green pixels.
Definition swisp_stats.h:23
unsigned int y_histogram[16]
A histogram of luminance values.
Definition swisp_stats.h:31
unsigned long sumB_
Holds the sum of all sampled blue pixels.
Definition swisp_stats.h:27
unsigned long sumR_
Holds the sum of all sampled red pixels.
Definition swisp_stats.h:19