ipa: raspberrypi: Rename header files from *.hpp to *.h

As per the libcamera coding guidelines, rename all .hpp header files to .h.

Signed-off-by: Naushir Patuck <naush@raspberrypi.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
Naushir Patuck 2022-07-27 09:55:20 +01:00 committed by Laurent Pinchart
parent de9e95bfcc
commit afd2a5dac5
53 changed files with 101 additions and 101 deletions

View file

@ -13,8 +13,8 @@
#include "libcamera/internal/v4l2_videodevice.h" #include "libcamera/internal/v4l2_videodevice.h"
#include "cam_helper.hpp" #include "cam_helper.h"
#include "md_parser.hpp" #include "md_parser.h"
using namespace RPiController; using namespace RPiController;
using namespace libcamera; using namespace libcamera;

View file

@ -2,7 +2,7 @@
/* /*
* Copyright (C) 2019, Raspberry Pi (Trading) Limited * Copyright (C) 2019, Raspberry Pi (Trading) Limited
* *
* cam_helper.hpp - helper class providing camera information * cam_helper.h - helper class providing camera information
*/ */
#pragma once #pragma once
@ -13,9 +13,9 @@
#include <libcamera/base/utils.h> #include <libcamera/base/utils.h>
#include "camera_mode.h" #include "camera_mode.h"
#include "controller/controller.hpp" #include "controller/controller.h"
#include "controller/metadata.hpp" #include "controller/metadata.h"
#include "md_parser.hpp" #include "md_parser.h"
#include "libcamera/internal/v4l2_videodevice.h" #include "libcamera/internal/v4l2_videodevice.h"

View file

@ -16,9 +16,9 @@
*/ */
#define ENABLE_EMBEDDED_DATA 0 #define ENABLE_EMBEDDED_DATA 0
#include "cam_helper.hpp" #include "cam_helper.h"
#if ENABLE_EMBEDDED_DATA #if ENABLE_EMBEDDED_DATA
#include "md_parser.hpp" #include "md_parser.h"
#endif #endif
using namespace RPiController; using namespace RPiController;

View file

@ -7,7 +7,7 @@
#include <math.h> #include <math.h>
#include "cam_helper.hpp" #include "cam_helper.h"
using namespace RPiController; using namespace RPiController;

View file

@ -9,7 +9,7 @@
#include <cmath> #include <cmath>
#include <stddef.h> #include <stddef.h>
#include "cam_helper.hpp" #include "cam_helper.h"
using namespace RPiController; using namespace RPiController;
using libcamera::utils::Duration; using libcamera::utils::Duration;

View file

@ -14,8 +14,8 @@
#include <libcamera/base/log.h> #include <libcamera/base/log.h>
#include "cam_helper.hpp" #include "cam_helper.h"
#include "md_parser.hpp" #include "md_parser.h"
using namespace RPiController; using namespace RPiController;
using namespace libcamera; using namespace libcamera;

View file

@ -15,8 +15,8 @@
#include <libcamera/base/log.h> #include <libcamera/base/log.h>
#include "cam_helper.hpp" #include "cam_helper.h"
#include "md_parser.hpp" #include "md_parser.h"
using namespace RPiController; using namespace RPiController;
using namespace libcamera; using namespace libcamera;

View file

@ -7,7 +7,7 @@
#include <assert.h> #include <assert.h>
#include "cam_helper.hpp" #include "cam_helper.h"
using namespace RPiController; using namespace RPiController;

View file

@ -7,7 +7,7 @@
#include <assert.h> #include <assert.h>
#include "cam_helper.hpp" #include "cam_helper.h"
using namespace RPiController; using namespace RPiController;

View file

@ -2,13 +2,13 @@
/* /*
* Copyright (C) 2019, Raspberry Pi (Trading) Limited * Copyright (C) 2019, Raspberry Pi (Trading) Limited
* *
* agc_algorithm.hpp - AGC/AEC control algorithm interface * agc_algorithm.h - AGC/AEC control algorithm interface
*/ */
#pragma once #pragma once
#include <libcamera/base/utils.h> #include <libcamera/base/utils.h>
#include "algorithm.hpp" #include "algorithm.h"
namespace RPiController { namespace RPiController {

View file

@ -5,7 +5,7 @@
* algorithm.cpp - ISP control algorithms * algorithm.cpp - ISP control algorithms
*/ */
#include "algorithm.hpp" #include "algorithm.h"
using namespace RPiController; using namespace RPiController;

View file

@ -2,7 +2,7 @@
/* /*
* Copyright (C) 2019, Raspberry Pi (Trading) Limited * Copyright (C) 2019, Raspberry Pi (Trading) Limited
* *
* algorithm.hpp - ISP control algorithm interface * algorithm.h - ISP control algorithm interface
*/ */
#pragma once #pragma once
@ -15,7 +15,7 @@
#include <memory> #include <memory>
#include <map> #include <map>
#include "controller.hpp" #include "controller.h"
#include <boost/property_tree/ptree.hpp> #include <boost/property_tree/ptree.hpp>

View file

@ -2,11 +2,11 @@
/* /*
* Copyright (C) 2019, Raspberry Pi (Trading) Limited * Copyright (C) 2019, Raspberry Pi (Trading) Limited
* *
* awb_algorithm.hpp - AWB control algorithm interface * awb_algorithm.h - AWB control algorithm interface
*/ */
#pragma once #pragma once
#include "algorithm.hpp" #include "algorithm.h"
namespace RPiController { namespace RPiController {

View file

@ -2,11 +2,11 @@
/* /*
* Copyright (C) 2019, Raspberry Pi (Trading) Limited * Copyright (C) 2019, Raspberry Pi (Trading) Limited
* *
* ccm_algorithm.hpp - CCM (colour correction matrix) control algorithm interface * ccm_algorithm.h - CCM (colour correction matrix) control algorithm interface
*/ */
#pragma once #pragma once
#include "algorithm.hpp" #include "algorithm.h"
namespace RPiController { namespace RPiController {

View file

@ -2,11 +2,11 @@
/* /*
* Copyright (C) 2019, Raspberry Pi (Trading) Limited * Copyright (C) 2019, Raspberry Pi (Trading) Limited
* *
* contrast_algorithm.hpp - contrast (gamma) control algorithm interface * contrast_algorithm.h - contrast (gamma) control algorithm interface
*/ */
#pragma once #pragma once
#include "algorithm.hpp" #include "algorithm.h"
namespace RPiController { namespace RPiController {

View file

@ -7,8 +7,8 @@
#include <libcamera/base/log.h> #include <libcamera/base/log.h>
#include "algorithm.hpp" #include "algorithm.h"
#include "controller.hpp" #include "controller.h"
#include <boost/property_tree/json_parser.hpp> #include <boost/property_tree/json_parser.hpp>
#include <boost/property_tree/ptree.hpp> #include <boost/property_tree/ptree.hpp>

View file

@ -2,7 +2,7 @@
/* /*
* Copyright (C) 2019, Raspberry Pi (Trading) Limited * Copyright (C) 2019, Raspberry Pi (Trading) Limited
* *
* controller.hpp - ISP controller interface * controller.h - ISP controller interface
*/ */
#pragma once #pragma once
@ -19,7 +19,7 @@
#include "camera_mode.h" #include "camera_mode.h"
#include "device_status.h" #include "device_status.h"
#include "metadata.hpp" #include "metadata.h"
namespace RPiController { namespace RPiController {

View file

@ -2,11 +2,11 @@
/* /*
* Copyright (C) 2021, Raspberry Pi (Trading) Limited * Copyright (C) 2021, Raspberry Pi (Trading) Limited
* *
* denoise.hpp - Denoise control algorithm interface * denoise.h - Denoise control algorithm interface
*/ */
#pragma once #pragma once
#include "algorithm.hpp" #include "algorithm.h"
namespace RPiController { namespace RPiController {

View file

@ -7,7 +7,7 @@
#include <math.h> #include <math.h>
#include <stdio.h> #include <stdio.h>
#include "histogram.hpp" #include "histogram.h"
using namespace RPiController; using namespace RPiController;

View file

@ -2,7 +2,7 @@
/* /*
* Copyright (C) 2019, Raspberry Pi (Trading) Limited * Copyright (C) 2019, Raspberry Pi (Trading) Limited
* *
* histogram.hpp - histogram calculation interface * histogram.h - histogram calculation interface
*/ */
#pragma once #pragma once

View file

@ -2,7 +2,7 @@
/* /*
* Copyright (C) 2019-2021, Raspberry Pi (Trading) Limited * Copyright (C) 2019-2021, Raspberry Pi (Trading) Limited
* *
* metadata.hpp - general metadata class * metadata.h - general metadata class
*/ */
#pragma once #pragma once

View file

@ -8,7 +8,7 @@
#include <cassert> #include <cassert>
#include <stdexcept> #include <stdexcept>
#include "pwl.hpp" #include "pwl.h"
using namespace RPiController; using namespace RPiController;

View file

@ -2,7 +2,7 @@
/* /*
* Copyright (C) 2019, Raspberry Pi (Trading) Limited * Copyright (C) 2019, Raspberry Pi (Trading) Limited
* *
* pwl.hpp - piecewise linear functions interface * pwl.h - piecewise linear functions interface
*/ */
#pragma once #pragma once

View file

@ -13,11 +13,11 @@
#include "../awb_status.h" #include "../awb_status.h"
#include "../device_status.h" #include "../device_status.h"
#include "../histogram.hpp" #include "../histogram.h"
#include "../lux_status.h" #include "../lux_status.h"
#include "../metadata.hpp" #include "../metadata.h"
#include "agc.hpp" #include "agc.h"
using namespace RPiController; using namespace RPiController;
using namespace libcamera; using namespace libcamera;

View file

@ -2,7 +2,7 @@
/* /*
* Copyright (C) 2019, Raspberry Pi (Trading) Limited * Copyright (C) 2019, Raspberry Pi (Trading) Limited
* *
* agc.hpp - AGC/AEC control algorithm * agc.h - AGC/AEC control algorithm
*/ */
#pragma once #pragma once
@ -11,9 +11,9 @@
#include <libcamera/base/utils.h> #include <libcamera/base/utils.h>
#include "../agc_algorithm.hpp" #include "../agc_algorithm.h"
#include "../agc_status.h" #include "../agc_status.h"
#include "../pwl.hpp" #include "../pwl.h"
/* This is our implementation of AGC. */ /* This is our implementation of AGC. */

View file

@ -12,7 +12,7 @@
#include <libcamera/base/span.h> #include <libcamera/base/span.h>
#include "../awb_status.h" #include "../awb_status.h"
#include "alsc.hpp" #include "alsc.h"
/* Raspberry Pi ALSC (Auto Lens Shading Correction) algorithm. */ /* Raspberry Pi ALSC (Auto Lens Shading Correction) algorithm. */

View file

@ -2,7 +2,7 @@
/* /*
* Copyright (C) 2019, Raspberry Pi (Trading) Limited * Copyright (C) 2019, Raspberry Pi (Trading) Limited
* *
* alsc.hpp - ALSC (auto lens shading correction) control algorithm * alsc.h - ALSC (auto lens shading correction) control algorithm
*/ */
#pragma once #pragma once
@ -10,7 +10,7 @@
#include <condition_variable> #include <condition_variable>
#include <thread> #include <thread>
#include "../algorithm.hpp" #include "../algorithm.h"
#include "../alsc_status.h" #include "../alsc_status.h"
namespace RPiController { namespace RPiController {

View file

@ -9,7 +9,7 @@
#include "../lux_status.h" #include "../lux_status.h"
#include "awb.hpp" #include "awb.h"
using namespace RPiController; using namespace RPiController;
using namespace libcamera; using namespace libcamera;

View file

@ -2,7 +2,7 @@
/* /*
* Copyright (C) 2019, Raspberry Pi (Trading) Limited * Copyright (C) 2019, Raspberry Pi (Trading) Limited
* *
* awb.hpp - AWB control algorithm * awb.h - AWB control algorithm
*/ */
#pragma once #pragma once
@ -10,8 +10,8 @@
#include <condition_variable> #include <condition_variable>
#include <thread> #include <thread>
#include "../awb_algorithm.hpp" #include "../awb_algorithm.h"
#include "../pwl.hpp" #include "../pwl.h"
#include "../awb_status.h" #include "../awb_status.h"
namespace RPiController { namespace RPiController {

View file

@ -12,7 +12,7 @@
#include "../black_level_status.h" #include "../black_level_status.h"
#include "black_level.hpp" #include "black_level.h"
using namespace RPiController; using namespace RPiController;
using namespace libcamera; using namespace libcamera;

View file

@ -2,11 +2,11 @@
/* /*
* Copyright (C) 2019, Raspberry Pi (Trading) Limited * Copyright (C) 2019, Raspberry Pi (Trading) Limited
* *
* black_level.hpp - black level control algorithm * black_level.h - black level control algorithm
*/ */
#pragma once #pragma once
#include "../algorithm.hpp" #include "../algorithm.h"
#include "../black_level_status.h" #include "../black_level_status.h"
/* This is our implementation of the "black level algorithm". */ /* This is our implementation of the "black level algorithm". */

View file

@ -10,9 +10,9 @@
#include "../awb_status.h" #include "../awb_status.h"
#include "../ccm_status.h" #include "../ccm_status.h"
#include "../lux_status.h" #include "../lux_status.h"
#include "../metadata.hpp" #include "../metadata.h"
#include "ccm.hpp" #include "ccm.h"
using namespace RPiController; using namespace RPiController;
using namespace libcamera; using namespace libcamera;

View file

@ -2,14 +2,14 @@
/* /*
* Copyright (C) 2019, Raspberry Pi (Trading) Limited * Copyright (C) 2019, Raspberry Pi (Trading) Limited
* *
* ccm.hpp - CCM (colour correction matrix) control algorithm * ccm.h - CCM (colour correction matrix) control algorithm
*/ */
#pragma once #pragma once
#include <vector> #include <vector>
#include "../ccm_algorithm.hpp" #include "../ccm_algorithm.h"
#include "../pwl.hpp" #include "../pwl.h"
namespace RPiController { namespace RPiController {

View file

@ -9,9 +9,9 @@
#include <libcamera/base/log.h> #include <libcamera/base/log.h>
#include "../contrast_status.h" #include "../contrast_status.h"
#include "../histogram.hpp" #include "../histogram.h"
#include "contrast.hpp" #include "contrast.h"
using namespace RPiController; using namespace RPiController;
using namespace libcamera; using namespace libcamera;

View file

@ -2,14 +2,14 @@
/* /*
* Copyright (C) 2019, Raspberry Pi (Trading) Limited * Copyright (C) 2019, Raspberry Pi (Trading) Limited
* *
* contrast.hpp - contrast (gamma) control algorithm * contrast.h - contrast (gamma) control algorithm
*/ */
#pragma once #pragma once
#include <mutex> #include <mutex>
#include "../contrast_algorithm.hpp" #include "../contrast_algorithm.h"
#include "../pwl.hpp" #include "../pwl.h"
namespace RPiController { namespace RPiController {

View file

@ -7,7 +7,7 @@
#include <libcamera/base/log.h> #include <libcamera/base/log.h>
#include "dpc.hpp" #include "dpc.h"
using namespace RPiController; using namespace RPiController;
using namespace libcamera; using namespace libcamera;

View file

@ -2,11 +2,11 @@
/* /*
* Copyright (C) 2019, Raspberry Pi (Trading) Limited * Copyright (C) 2019, Raspberry Pi (Trading) Limited
* *
* dpc.hpp - DPC (defective pixel correction) control algorithm * dpc.h - DPC (defective pixel correction) control algorithm
*/ */
#pragma once #pragma once
#include "../algorithm.hpp" #include "../algorithm.h"
#include "../dpc_status.h" #include "../dpc_status.h"
namespace RPiController { namespace RPiController {

View file

@ -9,7 +9,7 @@
#include <libcamera/base/log.h> #include <libcamera/base/log.h>
#include "../focus_status.h" #include "../focus_status.h"
#include "focus.hpp" #include "focus.h"
using namespace RPiController; using namespace RPiController;
using namespace libcamera; using namespace libcamera;

View file

@ -2,12 +2,12 @@
/* /*
* Copyright (C) 2020, Raspberry Pi (Trading) Limited * Copyright (C) 2020, Raspberry Pi (Trading) Limited
* *
* focus.hpp - focus algorithm * focus.h - focus algorithm
*/ */
#pragma once #pragma once
#include "../algorithm.hpp" #include "../algorithm.h"
#include "../metadata.hpp" #include "../metadata.h"
/* /*
* The "focus" algorithm. All it does it print out a version of the * The "focus" algorithm. All it does it print out a version of the

View file

@ -9,9 +9,9 @@
#include "../device_status.h" #include "../device_status.h"
#include "../lux_status.h" #include "../lux_status.h"
#include "../pwl.hpp" #include "../pwl.h"
#include "geq.hpp" #include "geq.h"
using namespace RPiController; using namespace RPiController;
using namespace libcamera; using namespace libcamera;

View file

@ -2,11 +2,11 @@
/* /*
* Copyright (C) 2019, Raspberry Pi (Trading) Limited * Copyright (C) 2019, Raspberry Pi (Trading) Limited
* *
* geq.hpp - GEQ (green equalisation) control algorithm * geq.h - GEQ (green equalisation) control algorithm
*/ */
#pragma once #pragma once
#include "../algorithm.hpp" #include "../algorithm.h"
#include "../geq_status.h" #include "../geq_status.h"
namespace RPiController { namespace RPiController {

View file

@ -12,7 +12,7 @@
#include "../device_status.h" #include "../device_status.h"
#include "lux.hpp" #include "lux.h"
using namespace RPiController; using namespace RPiController;
using namespace libcamera; using namespace libcamera;

View file

@ -2,7 +2,7 @@
/* /*
* Copyright (C) 2019, Raspberry Pi (Trading) Limited * Copyright (C) 2019, Raspberry Pi (Trading) Limited
* *
* lux.hpp - Lux control algorithm * lux.h - Lux control algorithm
*/ */
#pragma once #pragma once
@ -11,7 +11,7 @@
#include <libcamera/base/utils.h> #include <libcamera/base/utils.h>
#include "../lux_status.h" #include "../lux_status.h"
#include "../algorithm.hpp" #include "../algorithm.h"
/* This is our implementation of the "lux control algorithm". */ /* This is our implementation of the "lux control algorithm". */

View file

@ -12,7 +12,7 @@
#include "../device_status.h" #include "../device_status.h"
#include "../noise_status.h" #include "../noise_status.h"
#include "noise.hpp" #include "noise.h"
using namespace RPiController; using namespace RPiController;
using namespace libcamera; using namespace libcamera;

View file

@ -2,11 +2,11 @@
/* /*
* Copyright (C) 2019, Raspberry Pi (Trading) Limited * Copyright (C) 2019, Raspberry Pi (Trading) Limited
* *
* noise.hpp - Noise control algorithm * noise.h - Noise control algorithm
*/ */
#pragma once #pragma once
#include "../algorithm.hpp" #include "../algorithm.h"
#include "../noise_status.h" #include "../noise_status.h"
/* This is our implementation of the "noise algorithm". */ /* This is our implementation of the "noise algorithm". */

View file

@ -10,7 +10,7 @@
#include "../denoise_status.h" #include "../denoise_status.h"
#include "../noise_status.h" #include "../noise_status.h"
#include "sdn.hpp" #include "sdn.h"
using namespace RPiController; using namespace RPiController;
using namespace libcamera; using namespace libcamera;

View file

@ -2,12 +2,12 @@
/* /*
* Copyright (C) 2019, Raspberry Pi (Trading) Limited * Copyright (C) 2019, Raspberry Pi (Trading) Limited
* *
* sdn.hpp - SDN (spatial denoise) control algorithm * sdn.h - SDN (spatial denoise) control algorithm
*/ */
#pragma once #pragma once
#include "../algorithm.hpp" #include "../algorithm.h"
#include "../denoise_algorithm.hpp" #include "../denoise_algorithm.h"
namespace RPiController { namespace RPiController {

View file

@ -11,7 +11,7 @@
#include "../sharpen_status.h" #include "../sharpen_status.h"
#include "sharpen.hpp" #include "sharpen.h"
using namespace RPiController; using namespace RPiController;
using namespace libcamera; using namespace libcamera;

View file

@ -2,11 +2,11 @@
/* /*
* Copyright (C) 2019, Raspberry Pi (Trading) Limited * Copyright (C) 2019, Raspberry Pi (Trading) Limited
* *
* sharpen.hpp - sharpening control algorithm * sharpen.h - sharpening control algorithm
*/ */
#pragma once #pragma once
#include "../sharpen_algorithm.hpp" #include "../sharpen_algorithm.h"
#include "../sharpen_status.h" #include "../sharpen_status.h"
/* This is our implementation of the "sharpen algorithm". */ /* This is our implementation of the "sharpen algorithm". */

View file

@ -2,11 +2,11 @@
/* /*
* Copyright (C) 2020, Raspberry Pi (Trading) Limited * Copyright (C) 2020, Raspberry Pi (Trading) Limited
* *
* sharpen_algorithm.hpp - sharpness control algorithm interface * sharpen_algorithm.h - sharpness control algorithm interface
*/ */
#pragma once #pragma once
#include "algorithm.hpp" #include "algorithm.h"
namespace RPiController { namespace RPiController {

View file

@ -2,7 +2,7 @@
/* /*
* Copyright (C) 2019, Raspberry Pi (Trading) Limited * Copyright (C) 2019, Raspberry Pi (Trading) Limited
* *
* md_parser.hpp - image sensor metadata parser interface * md_parser.h - image sensor metadata parser interface
*/ */
#pragma once #pragma once

View file

@ -6,7 +6,7 @@
*/ */
#include <libcamera/base/log.h> #include <libcamera/base/log.h>
#include "md_parser.hpp" #include "md_parser.h"
using namespace RPiController; using namespace RPiController;
using namespace libcamera; using namespace libcamera;

View file

@ -29,27 +29,27 @@
#include "libcamera/internal/mapped_framebuffer.h" #include "libcamera/internal/mapped_framebuffer.h"
#include "agc_algorithm.hpp" #include "agc_algorithm.h"
#include "agc_status.h" #include "agc_status.h"
#include "alsc_status.h" #include "alsc_status.h"
#include "awb_algorithm.hpp" #include "awb_algorithm.h"
#include "awb_status.h" #include "awb_status.h"
#include "black_level_status.h" #include "black_level_status.h"
#include "cam_helper.hpp" #include "cam_helper.h"
#include "ccm_algorithm.hpp" #include "ccm_algorithm.h"
#include "ccm_status.h" #include "ccm_status.h"
#include "contrast_algorithm.hpp" #include "contrast_algorithm.h"
#include "contrast_status.h" #include "contrast_status.h"
#include "controller.hpp" #include "controller.h"
#include "denoise_algorithm.hpp" #include "denoise_algorithm.h"
#include "denoise_status.h" #include "denoise_status.h"
#include "dpc_status.h" #include "dpc_status.h"
#include "focus_status.h" #include "focus_status.h"
#include "geq_status.h" #include "geq_status.h"
#include "lux_status.h" #include "lux_status.h"
#include "metadata.hpp" #include "metadata.h"
#include "noise_status.h" #include "noise_status.h"
#include "sharpen_algorithm.hpp" #include "sharpen_algorithm.h"
#include "sharpen_status.h" #include "sharpen_status.h"
namespace libcamera { namespace libcamera {