summaryrefslogtreecommitdiff
path: root/src/ipa/ipu3/algorithms/contrast.h
blob: cd1b0060fd4ab414e2bf60fe5c985112cdf68b36 (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
26
27
28
29
30
31
32
/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
 * Copyright (C) 2021, Google
 *
 * constrast.h - IPU3 Contrast and Gamma control
 */
#ifndef __LIBCAMERA_IPU3_ALGORITHMS_CONTRAST_H__
#define __LIBCAMERA_IPU3_ALGORITHMS_CONTRAST_H__

#include "algorithm.h"

namespace libcamera {

namespace ipa::ipu3::algorithms {

class Contrast : public Algorithm
{
public:
	Contrast();
	~Contrast() = default;

	void initialise(IPAContext &context);

private:
	double gamma_;
};

} /* namespace ipa::ipu3::algorithms */

} /* namespace libcamera */

#endif /* __LIBCAMERA_IPU3_ALGORITHMS_CONTRAST_H__ */