<div dir="ltr"><div dir="ltr">Hi Umang,</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Apr 29, 2021 at 9:52 PM Kieran Bingham <<a href="mailto:kieran.bingham@ideasonboard.com">kieran.bingham@ideasonboard.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Umang,<br>
<br>
On 29/04/2021 13:22, Umang Jain wrote:<br>
> libcamera internal headers are not installed system-wide. Hence, any<br>
> inclusion of internal headers should be follow the #include directive<br>
> form:<br>
>       #include "libcamera/internal/header.h"<br>
> <br>
> This was not the case for a few of the class in android HAL. Fix them<br>
> <br>
<br>
Good spot.<br>
<br>
> Signed-off-by: Umang Jain <<a href="mailto:umang.jain@ideasonboard.com" target="_blank">umang.jain@ideasonboard.com</a>><br>
<br>
For this,<br>
<br>
Reviewed-by: Kieran Bingham <<a href="mailto:kieran.bingham@ideasonboard.com" target="_blank">kieran.bingham@ideasonboard.com</a>><br>
<br>
There is one more occurrence though in test/bayer-format.cpp as shown by:<br>
 git grep "<libcamera/internal"<br>
<br>
Do you think this should be fixed in this patch (in which case, the<br>
title needs a small update, purely to remove the 'android:' or as a<br>
separate patch?<br>
<br>
Either way is fine with me.<br>
<br></blockquote><div><br></div><div><br></div><div>I am sorry I missed this patch and sent the comment to v1.</div><div><br></div><div>With the  Kieran's comment,</div><div>Reviewed-by: Hirokazu Honda <<a href="mailto:hiroh@chromium.org">hiroh@chromium.org</a>><br></div><div><br></div><div>-Hiro </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
> ---<br>
> Changes in v2:<br>
> - Also include other classes namely, generic_camera_buffer,<br>
>   post_processor as spotted by Niklas.<br>
> ---<br>
>  src/android/camera_stream.h              | 2 +-<br>
>  src/android/mm/generic_camera_buffer.cpp | 2 +-<br>
>  src/android/post_processor.h             | 2 +-<br>
>  3 files changed, 3 insertions(+), 3 deletions(-)<br>
> <br>
> diff --git a/src/android/camera_stream.h b/src/android/camera_stream.h<br>
> index f68fdd3a..34016722 100644<br>
> --- a/src/android/camera_stream.h<br>
> +++ b/src/android/camera_stream.h<br>
> @@ -19,7 +19,7 @@<br>
>  #include <libcamera/geometry.h><br>
>  #include <libcamera/pixel_format.h><br>
>  <br>
> -#include <libcamera/internal/buffer.h><br>
> +#include "libcamera/internal/buffer.h"<br>
>  <br>
>  class CameraDevice;<br>
>  class CameraMetadata;<br>
> diff --git a/src/android/mm/generic_camera_buffer.cpp b/src/android/mm/generic_camera_buffer.cpp<br>
> index 929e078a..334498c1 100644<br>
> --- a/src/android/mm/generic_camera_buffer.cpp<br>
> +++ b/src/android/mm/generic_camera_buffer.cpp<br>
> @@ -7,7 +7,7 @@<br>
>  <br>
>  #include "../camera_buffer.h"<br>
>  <br>
> -#include <libcamera/internal/buffer.h><br>
> +#include "libcamera/internal/buffer.h"<br>
>  #include "libcamera/internal/log.h"<br>
>  <br>
>  using namespace libcamera;<br>
> diff --git a/src/android/post_processor.h b/src/android/post_processor.h<br>
> index 4944078b..547fda37 100644<br>
> --- a/src/android/post_processor.h<br>
> +++ b/src/android/post_processor.h<br>
> @@ -10,7 +10,7 @@<br>
>  #include <libcamera/buffer.h><br>
>  #include <libcamera/stream.h><br>
>  <br>
> -#include <libcamera/internal/buffer.h><br>
> +#include "libcamera/internal/buffer.h"<br>
>  <br>
>  #include "camera_buffer.h"<br>
>  <br>
> <br>
<br>
-- <br>
Regards<br>
--<br>
Kieran<br>
_______________________________________________<br>
libcamera-devel mailing list<br>
<a href="mailto:libcamera-devel@lists.libcamera.org" target="_blank">libcamera-devel@lists.libcamera.org</a><br>
<a href="https://lists.libcamera.org/listinfo/libcamera-devel" rel="noreferrer" target="_blank">https://lists.libcamera.org/listinfo/libcamera-devel</a><br>
</blockquote></div></div>