summaryrefslogtreecommitdiff
path: root/src/ipa/raspberrypi/controller/black_level_status.h
blob: fd5e4ccb2c4136e1982aebcaab3e46604778af10 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* SPDX-License-Identifier: BSD-2-Clause */
/*
 * Copyright (C) 2019, Raspberry Pi Ltd
 *
 * black_level_status.h - black level control algorithm status
 */
#pragma once

/* The "black level" algorithm stores the black levels to use. */

struct BlackLevelStatus {
	uint16_t blackLevelR; /* out of 16 bits */
	uint16_t blackLevelG;
	uint16_t blackLevelB;
};
e summary='blob content' class='blob'>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
 * Copyright (C) 2019, Google Inc.
 *
 * serialization_test.h - Base class for serialization tests
 */
#ifndef __LIBCAMERA_SERIALIZATION_TEST_H__
#define __LIBCAMERA_SERIALIZATION_TEST_H__

#include <libcamera/camera.h>
#include <libcamera/camera_manager.h>
#include <libcamera/controls.h>

#include "camera_test.h"
#include "test.h"

using namespace libcamera;

class SerializationTest : public CameraTest, public Test
{
public:
	SerializationTest()
		: CameraTest("VIMC Sensor B")
	{
	}

	static bool equals(const ControlInfoMap &lhs,
			   const ControlInfoMap &rhs);
	static bool equals(const ControlList &lhs,
			   const ControlList &rhs);
};

#endif /* __LIBCAMERA_SERIALIZATION_TEST_H__ */