[libcamera-devel] [PATCH] libcamera: framebuffer_allocator: Fix spelling

Kieran Bingham kieran.bingham at ideasonboard.com
Tue Feb 4 16:57:17 CET 2020


Fix two trivial issues in the documentation of the FrameBufferAllocater
class.

Signed-off-by: Kieran Bingham <kieran.bingham at ideasonboard.com>
---
 src/libcamera/framebuffer_allocator.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/libcamera/framebuffer_allocator.cpp b/src/libcamera/framebuffer_allocator.cpp
index 4ced10cda2e3..e79f4a8f65c8 100644
--- a/src/libcamera/framebuffer_allocator.cpp
+++ b/src/libcamera/framebuffer_allocator.cpp
@@ -33,7 +33,7 @@ LOG_DEFINE_CATEGORY(Allocator)
  * FrameBuffer instances. This makes libcamera a user of buffers exported by
  * other devices (such as displays or video encoders), or allocated from an
  * external allocator (such as ION on Android platforms). In some situations,
- * applications do not have any mean to allocate or get hold of suitable
+ * applications do not have any means to allocate or get hold of suitable
  * buffers, for instance when no other device is involved, on Linux platforms
  * that lack a centralized allocator. The FrameBufferAllocator class provides a
  * buffer allocator that can be used in these situations.
@@ -168,7 +168,7 @@ int FrameBufferAllocator::free(Stream *stream)
 
 /**
  * \brief Retrieve the buffers allocated for a \a stream
- * \param[in] stream The stream to retrive buffers for
+ * \param[in] stream The stream to retrieve buffers for
  *
  * This method shall only be called after successfully allocating buffers for
  * \a stream with allocate(). The returned buffers are valid until free() is
-- 
2.20.1



More information about the libcamera-devel mailing list