blob: f622e099b6f51bd410586fc680f1bf820ca75047 (
plain)
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
|
/* SPDX-License-Identifier: BSD-2-Clause */
/*
* Copyright (C) 2023, Raspberry Pi Ltd
*
* hdr_algorithm.h - HDR control algorithm interface
*/
#pragma once
#include <vector>
#include "algorithm.h"
namespace RPiController {
class HdrAlgorithm : public Algorithm
{
public:
HdrAlgorithm(Controller *controller)
: Algorithm(controller) {}
/* An HDR algorithm must provide the following: */
virtual int setMode(std::string const &modeName) = 0;
virtual std::vector<unsigned int> getChannels() const = 0;
};
} /* namespace RPiController */
|