[PATCH 1/3] libcamera: framebuffer: Add offset field to metadata
Nicolas Dufresne
nicolas at ndufresne.ca
Fri Mar 28 21:43:13 CET 2025
Hi,
Le mercredi 26 mars 2025 à 16:51 +0900, Paul Elder a écrit :
> Add an offset field to the frame metadata so that it can be reported
> to
> the application.
>
> Signed-off-by: Paul Elder <paul.elder at ideasonboard.com>
> ---
> include/libcamera/framebuffer.h | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/include/libcamera/framebuffer.h
> b/include/libcamera/framebuffer.h
> index ff83924300ac..f6fa1fd510a7 100644
> --- a/include/libcamera/framebuffer.h
> +++ b/include/libcamera/framebuffer.h
> @@ -30,6 +30,7 @@ struct FrameMetadata {
>
> struct Plane {
> unsigned int bytesused;
> + unsigned int offset;
> };
Similar to what we did for "bytesused", documentation is needed in
src/libcamera/buffer.cpp.
Nicolas
>
> Status status;
More information about the libcamera-devel
mailing list