[libcamera-devel] [PATCH 5/5] libcamera: Document the libcamera namespace
Kieran Bingham
kieran.bingham at ideasonboard.com
Tue Oct 20 12:39:41 CEST 2020
Hi Laurent,
On 20/10/2020 01:03, Laurent Pinchart wrote:
> The libcamera namespace has been left undefined from the start. While
> the documentation doesn't bring much added value, leaving it out
> confuses the most recent doxygen master branch:
>
> include/libcamera/transform.h:16: warning: Internal inconsistency: member Identity does not belong to any container!
> include/libcamera/transform.h:17: warning: Internal inconsistency: member Rot0 does not belong to any container!
> include/libcamera/transform.h:18: warning: Internal inconsistency: member HFlip does not belong to any container!
> include/libcamera/transform.h:19: warning: Internal inconsistency: member VFlip does not belong to any container!
> include/libcamera/transform.h:20: warning: Internal inconsistency: member HVFlip does not belong to any container!
> include/libcamera/transform.h:21: warning: Internal inconsistency: member Rot180 does not belong to any container!
> include/libcamera/transform.h:22: warning: Internal inconsistency: member Transpose does not belong to any container!
> include/libcamera/transform.h:23: warning: Internal inconsistency: member Rot270 does not belong to any container!
> include/libcamera/transform.h:24: warning: Internal inconsistency: member Rot90 does not belong to any container!
> include/libcamera/transform.h:26: warning: Internal inconsistency: member Rot180Transpose does not belong to any container!
>
> Document it.
>
> Signed-off-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
> ---
> src/libcamera/camera_manager.cpp | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/src/libcamera/camera_manager.cpp b/src/libcamera/camera_manager.cpp
> index 756f5b2b4a03..81785f919d8b 100644
> --- a/src/libcamera/camera_manager.cpp
> +++ b/src/libcamera/camera_manager.cpp
> @@ -27,6 +27,9 @@
> * \brief The camera manager
> */
>
> +/**
> + * \brief Top-level libcamera namespace
> + */
Phew, I was preparing myself to read a 10 page novel.
I can handle one line ;-)
hehe.
Reviewed-by: Kieran Bingham <kieran.bingham at ideasonboard.com>
> namespace libcamera {
>
> LOG_DEFINE_CATEGORY(Camera)
>
--
Regards
--
Kieran
More information about the libcamera-devel
mailing list