ipa: rkisp1: Drop unnecessary forward declarations and includes

Forward declarations of IPACameraSensorInfo and inclusion of
linux/rkisp1-config.h are not needed in headers that use them only for
arguments to functions defined by the Algorithm base class, as inclusion
of algorithm.h will bring the necessary declarations for function
arguments. Drop them.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Florian Sylvestre <fsylvestre@baylibre.com>
Reviewed-by: Umang Jain <umang.jain@ideasonboard.com>
This commit is contained in:
Laurent Pinchart 2022-07-13 04:19:09 +03:00
parent 8b02645845
commit cf66dee4ac
3 changed files with 0 additions and 8 deletions

View file

@ -17,8 +17,6 @@
namespace libcamera { namespace libcamera {
struct IPACameraSensorInfo;
namespace ipa::rkisp1::algorithms { namespace ipa::rkisp1::algorithms {
class Agc : public Algorithm class Agc : public Algorithm

View file

@ -7,8 +7,6 @@
#pragma once #pragma once
#include <linux/rkisp1-config.h>
#include "algorithm.h" #include "algorithm.h"
namespace libcamera { namespace libcamera {

View file

@ -7,14 +7,10 @@
#pragma once #pragma once
#include <linux/rkisp1-config.h>
#include "algorithm.h" #include "algorithm.h"
namespace libcamera { namespace libcamera {
struct IPACameraSensorInfo;
namespace ipa::rkisp1::algorithms { namespace ipa::rkisp1::algorithms {
class BlackLevelCorrection : public Algorithm class BlackLevelCorrection : public Algorithm