Use the new ISP parameters abstraction class RkISP1Params to access the ISP parameters in the IPA algorithms. The class replaces the pointer to the rkisp1_params_cfg structure passed to the algorithms' prepare() function, and is used to access individual parameters blocks. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Paul Elder <paul.elder@ideasonboard.com> Reviewed-by: Stefan Klug <stefan.klug@ideasonboard.com>
29 lines
515 B
C++
29 lines
515 B
C++
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
|
/*
|
|
* Copyright (C) 2022, Ideas On Board
|
|
*
|
|
* RkISP1 IPA Module
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <linux/rkisp1-config.h>
|
|
|
|
#include <libcamera/ipa/rkisp1_ipa_interface.h>
|
|
|
|
#include <libipa/module.h>
|
|
|
|
#include "ipa_context.h"
|
|
#include "params.h"
|
|
|
|
namespace libcamera {
|
|
|
|
namespace ipa::rkisp1 {
|
|
|
|
using Module = ipa::Module<IPAContext, IPAFrameContext, IPACameraSensorInfo,
|
|
RkISP1Params, rkisp1_stat_buffer>;
|
|
|
|
} /* namespace ipa::rkisp1 */
|
|
|
|
} /* namespace libcamera*/
|