summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2022-05-26 13:05:27 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2022-06-01 12:08:36 +0300
commit5517ffbff68709c54aea17b938aa3415b1f63b0b (patch)
tree74cb37ae636f5f6373b31bcfdc477570087994d4
parent7a529a9e3525cef170d9b58d920e805f7ce0bbd2 (diff)
libcamera: Use "..." instead of <...> consistently for internal headers
libcamera uses double quotes for #include directives for internal headers. A few <...> have found their way in the code base over time. Fix them. While at it, move an Android header include to the right location. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Umang Jain <umang.jain@ideasonboard.com> Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
-rw-r--r--src/android/camera_hal_config.cpp6
-rw-r--r--src/ipa/rkisp1/rkisp1.cpp2
-rw-r--r--test/yaml-parser.cpp2
3 files changed, 5 insertions, 5 deletions
diff --git a/src/android/camera_hal_config.cpp b/src/android/camera_hal_config.cpp
index 28072cb8..8ba8738c 100644
--- a/src/android/camera_hal_config.cpp
+++ b/src/android/camera_hal_config.cpp
@@ -10,11 +10,11 @@
#include <stdlib.h>
#include <string>
-#include <hardware/camera3.h>
-
#include <libcamera/base/log.h>
-#include <libcamera/internal/yaml_parser.h>
+#include "libcamera/internal/yaml_parser.h"
+
+#include <hardware/camera3.h>
using namespace libcamera;
diff --git a/src/ipa/rkisp1/rkisp1.cpp b/src/ipa/rkisp1/rkisp1.cpp
index c818a6d7..7d6f0b39 100644
--- a/src/ipa/rkisp1/rkisp1.cpp
+++ b/src/ipa/rkisp1/rkisp1.cpp
@@ -23,7 +23,7 @@
#include <libcamera/ipa/rkisp1_ipa_interface.h>
#include <libcamera/request.h>
-#include <libcamera/internal/mapped_framebuffer.h>
+#include "libcamera/internal/mapped_framebuffer.h"
#include "algorithms/agc.h"
#include "algorithms/algorithm.h"
diff --git a/test/yaml-parser.cpp b/test/yaml-parser.cpp
index 652adf53..5315d99f 100644
--- a/test/yaml-parser.cpp
+++ b/test/yaml-parser.cpp
@@ -9,7 +9,7 @@
#include <string>
#include <unistd.h>
-#include <libcamera/internal/yaml_parser.h>
+#include "libcamera/internal/yaml_parser.h"
#include "test.h"