libcamera/base: Move extended base functionality

Move the functionality for the following components to the new
base support library:

 - BoundMethod
 - EventDispatcher
 - EventDispatcherPoll
 - Log
 - Message
 - Object
 - Signal
 - Semaphore
 - Thread
 - Timer

While it would be preferable to see these split to move one component
per commit, these components are all interdependent upon each other,
which leaves us with one big change performing the move for all of them.

Reviewed-by: Hirokazu Honda <hiroh@chromium.org>
Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
Kieran Bingham 2021-06-15 16:15:12 +01:00
parent 6410d1d37c
commit 27aff949fb
161 changed files with 390 additions and 366 deletions

View file

@ -5,7 +5,7 @@
* controller.cpp - ISP controller
*/
#include "libcamera/internal/log.h"
#include <libcamera/base/log.h>
#include "algorithm.hpp"
#include "controller.hpp"

View file

@ -9,7 +9,7 @@
#include "linux/bcm2835-isp.h"
#include "libcamera/internal/log.h"
#include <libcamera/base/log.h>
#include "../awb_status.h"
#include "../device_status.h"

View file

@ -6,7 +6,7 @@
*/
#include <math.h>
#include "libcamera/internal/log.h"
#include <libcamera/base/log.h>
#include "../awb_status.h"
#include "alsc.hpp"

View file

@ -5,7 +5,7 @@
* awb.cpp - AWB control algorithm
*/
#include "libcamera/internal/log.h"
#include <libcamera/base/log.h>
#include "../lux_status.h"

View file

@ -8,7 +8,7 @@
#include <math.h>
#include <stdint.h>
#include "libcamera/internal/log.h"
#include <libcamera/base/log.h>
#include "../black_level_status.h"

View file

@ -5,7 +5,7 @@
* ccm.cpp - CCM (colour correction matrix) control algorithm
*/
#include "libcamera/internal/log.h"
#include <libcamera/base/log.h>
#include "../awb_status.h"
#include "../ccm_status.h"

View file

@ -6,7 +6,7 @@
*/
#include <stdint.h>
#include "libcamera/internal/log.h"
#include <libcamera/base/log.h>
#include "../contrast_status.h"
#include "../histogram.hpp"

View file

@ -5,7 +5,7 @@
* dpc.cpp - DPC (defective pixel correction) control algorithm
*/
#include "libcamera/internal/log.h"
#include <libcamera/base/log.h>
#include "dpc.hpp"

View file

@ -6,7 +6,7 @@
*/
#include <stdint.h>
#include "libcamera/internal/log.h"
#include <libcamera/base/log.h>
#include "../focus_status.h"
#include "focus.hpp"

View file

@ -5,7 +5,7 @@
* geq.cpp - GEQ (green equalisation) control algorithm
*/
#include "libcamera/internal/log.h"
#include <libcamera/base/log.h>
#include "../device_status.h"
#include "../lux_status.h"

View file

@ -8,7 +8,7 @@
#include "linux/bcm2835-isp.h"
#include "libcamera/internal/log.h"
#include <libcamera/base/log.h>
#include "../device_status.h"

View file

@ -7,7 +7,7 @@
#include <math.h>
#include "libcamera/internal/log.h"
#include <libcamera/base/log.h>
#include "../device_status.h"
#include "../noise_status.h"

View file

@ -5,7 +5,7 @@
* sdn.cpp - SDN (spatial denoise) control algorithm
*/
#include "libcamera/internal/log.h"
#include <libcamera/base/log.h>
#include "../denoise_status.h"
#include "../noise_status.h"

View file

@ -7,7 +7,7 @@
#include <math.h>
#include "libcamera/internal/log.h"
#include <libcamera/base/log.h>
#include "../sharpen_status.h"