summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorUmang Jain <umang.jain@ideasonboard.com>2021-04-30 10:09:56 +0530
committerJacopo Mondi <jacopo@jmondi.org>2021-05-05 10:30:32 +0200
commit08f74696173c1047f9d8e414021e8cd96a1ab646 (patch)
tree381635bf47cfa4c951f28db085b4ab4d0c75d630 /src
parent093b71b24a361900bcb9c8a76ee7ad85943f4f5b (diff)
src: android: Rectify internal header's #include path
libcamera internal headers are not installed system-wide. Hence, any inclusion of internal headers should follow the #include directive form: #include "libcamera/internal/header.h" This was not the case for a few of the class in android HAL. Fix them. Signed-off-by: Umang Jain <umang.jain@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Hirokazu Honda <hiroh@chromium.org> Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'src')
-rw-r--r--src/android/camera_stream.h2
-rw-r--r--src/android/mm/generic_camera_buffer.cpp2
-rw-r--r--src/android/post_processor.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/android/camera_stream.h b/src/android/camera_stream.h
index f68fdd3a..34016722 100644
--- a/src/android/camera_stream.h
+++ b/src/android/camera_stream.h
@@ -19,7 +19,7 @@
#include <libcamera/geometry.h>
#include <libcamera/pixel_format.h>
-#include <libcamera/internal/buffer.h>
+#include "libcamera/internal/buffer.h"
class CameraDevice;
class CameraMetadata;
diff --git a/src/android/mm/generic_camera_buffer.cpp b/src/android/mm/generic_camera_buffer.cpp
index 929e078a..334498c1 100644
--- a/src/android/mm/generic_camera_buffer.cpp
+++ b/src/android/mm/generic_camera_buffer.cpp
@@ -7,7 +7,7 @@
#include "../camera_buffer.h"
-#include <libcamera/internal/buffer.h>
+#include "libcamera/internal/buffer.h"
#include "libcamera/internal/log.h"
using namespace libcamera;
diff --git a/src/android/post_processor.h b/src/android/post_processor.h
index 4944078b..547fda37 100644
--- a/src/android/post_processor.h
+++ b/src/android/post_processor.h
@@ -10,7 +10,7 @@
#include <libcamera/buffer.h>
#include <libcamera/stream.h>
-#include <libcamera/internal/buffer.h>
+#include "libcamera/internal/buffer.h"
#include "camera_buffer.h"