summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKieran Bingham <kieran.bingham@ideasonboard.com>2020-07-29 13:01:06 +0100
committerKieran Bingham <kieran.bingham@ideasonboard.com>2020-08-06 15:43:59 +0100
commit000257a707fed083c6b9ed95d9497ba709cf6f30 (patch)
tree4a7cc385ac5bef328ebdab11a02e195ac1e780a1
parentf32261f2577ef951e0e69dceae6600478da7f798 (diff)
libcamera: buffer: Correct FrameBuffer references
Update the remaining (capitalised) Buffer references to the new FrameBuffer object that they refer to. Lower-case 'buffer' terms are kept, as a generic reference to a buffer rather than the specific type 'FrameBuffer'. Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
-rw-r--r--src/libcamera/buffer.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libcamera/buffer.cpp b/src/libcamera/buffer.cpp
index 1a1d4bac..8278f8a9 100644
--- a/src/libcamera/buffer.cpp
+++ b/src/libcamera/buffer.cpp
@@ -174,11 +174,11 @@ FrameBuffer::FrameBuffer(const std::vector<Plane> &planes, unsigned int cookie)
* The intended callers of this method are buffer completion handlers that
* need to associate a buffer to the request it belongs to.
*
- * A Buffer is associated to a request by Request::addBuffer() and the
+ * A FrameBuffer is associated to a request by Request::addBuffer() and the
* association is valid until the buffer completes. The returned request
* pointer is valid only during that interval.
*
- * \return The Request the Buffer belongs to, or nullptr if the buffer is
+ * \return The Request the FrameBuffer belongs to, or nullptr if the buffer is
* not associated with a request
*/
@@ -224,7 +224,7 @@ FrameBuffer::FrameBuffer(const std::vector<Plane> &planes, unsigned int cookie)
/**
* \brief Copy the contents from another buffer
- * \param[in] src Buffer to copy
+ * \param[in] src FrameBuffer to copy
*
* Copy the buffer contents and metadata from \a src to this buffer. The
* destination FrameBuffer shall have the same number of planes as the source