summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-10-20 02:14:13 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-10-20 13:41:33 +0300
commit7a671fb40bab77690c385fbb742612eaa5d278e1 (patch)
tree96bcd71bee222944e29db4edb2b82d478a497560
parent3fe0edc989e5db38666d435fea4ad91a9fdfe266 (diff)
libcamera: Place doxygen \file block above namespace
Make the whole code base consistent by placing the doxygen \file block above the libcamera namespace opening. There's a single offender, and two locations in which a white line is missing. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Paul Elder <paul.elder@ideasonboard.com> Reviewed-by: Umang Jain <email@uajain.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
-rw-r--r--src/libcamera/byte_stream_buffer.cpp8
-rw-r--r--src/libcamera/v4l2_pixelformat.cpp1
-rw-r--r--src/libcamera/v4l2_videodevice.cpp1
3 files changed, 6 insertions, 4 deletions
diff --git a/src/libcamera/byte_stream_buffer.cpp b/src/libcamera/byte_stream_buffer.cpp
index 7db5501d..7fc6f694 100644
--- a/src/libcamera/byte_stream_buffer.cpp
+++ b/src/libcamera/byte_stream_buffer.cpp
@@ -12,15 +12,15 @@
#include "libcamera/internal/log.h"
-namespace libcamera {
-
-LOG_DEFINE_CATEGORY(Serialization)
-
/**
* \file byte_stream_buffer.h
* \brief Managed memory container for serialized data
*/
+namespace libcamera {
+
+LOG_DEFINE_CATEGORY(Serialization)
+
/**
* \class ByteStreamBuffer
* \brief Wrap a memory buffer and provide sequential data read and write
diff --git a/src/libcamera/v4l2_pixelformat.cpp b/src/libcamera/v4l2_pixelformat.cpp
index 6b05909f..03ab085c 100644
--- a/src/libcamera/v4l2_pixelformat.cpp
+++ b/src/libcamera/v4l2_pixelformat.cpp
@@ -22,6 +22,7 @@
* \file v4l2_pixelformat.h
* \brief V4L2 Pixel Format
*/
+
namespace libcamera {
LOG_DECLARE_CATEGORY(V4L2)
diff --git a/src/libcamera/v4l2_videodevice.cpp b/src/libcamera/v4l2_videodevice.cpp
index 508522ef..16162e1e 100644
--- a/src/libcamera/v4l2_videodevice.cpp
+++ b/src/libcamera/v4l2_videodevice.cpp
@@ -32,6 +32,7 @@
* \file v4l2_videodevice.h
* \brief V4L2 Video Device
*/
+
namespace libcamera {
LOG_DECLARE_CATEGORY(V4L2)