Update Mali C55 header file to the version merged in Linux v6.19-rc1 at
revision 08a99369f44e ("media: uapi: Add parameters structs to
mali-c55-config.h") with applied on top the in-review patch:
https://lore.kernel.org/all/20251215-mali-c55-header-update-for-v6-19-rc1-v1-3-69f56dee3c71@ideasonboard.com/
Adjust the IPA module to use the new header version which uses the
v4l2-isp framework.
Signed-off-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Tested-by: Antoine Bouyer <antoine.bouyer@nxp.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Daniel Scally <dan.scally@ideasonboard.com>
40 lines
941 B
C++
40 lines
941 B
C++
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
|
/*
|
|
* Copyright (C) 2024, Ideas On Board
|
|
*
|
|
* Mali-C55 control algorithm interface
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <linux/mali-c55-config.h>
|
|
|
|
#include <libipa/algorithm.h>
|
|
|
|
#include "module.h"
|
|
|
|
namespace libcamera {
|
|
|
|
namespace ipa::mali_c55 {
|
|
|
|
class Algorithm : public libcamera::ipa::Algorithm<Module>
|
|
{
|
|
};
|
|
|
|
union mali_c55_params_block {
|
|
struct v4l2_isp_params_block_header *header;
|
|
struct mali_c55_params_sensor_off_preshading *sensor_offs;
|
|
struct mali_c55_params_aexp_hist *aexp_hist;
|
|
struct mali_c55_params_aexp_weights *aexp_weights;
|
|
struct mali_c55_params_digital_gain *digital_gain;
|
|
struct mali_c55_params_awb_gains *awb_gains;
|
|
struct mali_c55_params_awb_config *awb_config;
|
|
struct mali_c55_params_mesh_shading_config *shading_config;
|
|
struct mali_c55_params_mesh_shading_selection *shading_selection;
|
|
__u8 *data;
|
|
};
|
|
|
|
} /* namespace ipa::mali_c55 */
|
|
|
|
} /* namespace libcamera */
|