summaryrefslogtreecommitdiff
path: root/src/ipa/rpi/controller/black_level_algorithm.h
blob: c2cff2f56401dac79da34c1294ba69ed7c520d1c (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_algorithm.h - 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 */