blob: ce044e594ea2e176240afec80753876f71c3957e (
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) 2023, Raspberry Pi Ltd
*
* black level control algorithm interface
*/
#pragma once
#include "algorithm.h"
namespace RPiController {
class BlackLevelAlgorithm : public Algorithm
{
public:
BlackLevelAlgorithm(Controller *controller)
: Algorithm(controller) {}
/* A black level algorithm must provide the following: */
virtual void initialValues(uint16_t &blackLevelR, uint16_t &blackLevelG,
uint16_t &blackLevelB) = 0;
};
} /* namespace RPiController */
|