libcamera/src/ipa/libipa/algorithm.h
Jean-Michel Hautbois d5168b503a ipa: Add a common interface for algorithm objects
In order to instantiate and use algorithms (AWB, AGC, etc.)
there is a need for a common class to define mandatory methods.

Instead of reinventing the wheel, reuse what Raspberry Pi has done and
adapt to the minimum requirements expected.

Signed-off-by: Jean-Michel Hautbois <jeanmichel.hautbois@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Tested-by: Jacopo Mondi <jacopo@jmondi.org>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
2021-04-22 10:12:23 +01:00

24 lines
432 B
C++

/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
* Copyright (C) 2021, Ideas On Board
*
* algorithm.h - ISP control algorithm interface
*/
#ifndef __LIBCAMERA_IPA_LIBIPA_ALGORITHM_H__
#define __LIBCAMERA_IPA_LIBIPA_ALGORITHM_H__
namespace libcamera {
namespace ipa {
class Algorithm
{
public:
virtual ~Algorithm();
};
} /* namespace ipa */
} /* namespace libcamera */
#endif /* __LIBCAMERA_IPA_LIBIPA_ALGORITHM_H__ */