libcamera: ipa: Raspberry Pi IPA
Initial implementation of the Raspberry Pi (BCM2835) libcamera IPA and associated libraries. All code is licensed under the BSD-2-Clause terms. Copyright (c) 2019-2020 Raspberry Pi Trading Ltd. Signed-off-by: Naushir Patuck <naush@raspberrypi.com> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
parent
740fd1b62f
commit
0db2c8dc75
69 changed files with 8242 additions and 0 deletions
28
src/ipa/raspberrypi/controller/agc_algorithm.hpp
Normal file
28
src/ipa/raspberrypi/controller/agc_algorithm.hpp
Normal file
|
@ -0,0 +1,28 @@
|
|||
/* SPDX-License-Identifier: BSD-2-Clause */
|
||||
/*
|
||||
* Copyright (C) 2019, Raspberry Pi (Trading) Limited
|
||||
*
|
||||
* agc_algorithm.hpp - AGC/AEC control algorithm interface
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include "algorithm.hpp"
|
||||
|
||||
namespace RPi {
|
||||
|
||||
class AgcAlgorithm : public Algorithm
|
||||
{
|
||||
public:
|
||||
AgcAlgorithm(Controller *controller) : Algorithm(controller) {}
|
||||
// An AGC algorithm must provide the following:
|
||||
virtual void SetEv(double ev) = 0;
|
||||
virtual void SetFlickerPeriod(double flicker_period) = 0;
|
||||
virtual void SetFixedShutter(double fixed_shutter) = 0; // microseconds
|
||||
virtual void SetFixedAnalogueGain(double fixed_analogue_gain) = 0;
|
||||
virtual void SetMeteringMode(std::string const &metering_mode_name) = 0;
|
||||
virtual void SetExposureMode(std::string const &exposure_mode_name) = 0;
|
||||
virtual void
|
||||
SetConstraintMode(std::string const &contraint_mode_name) = 0;
|
||||
};
|
||||
|
||||
} // namespace RPi
|
Loading…
Add table
Add a link
Reference in a new issue