[PATCH 0/3] libcamera: framebuffer: Add offset
Paul Elder
paul.elder at ideasonboard.com
Wed Mar 26 08:51:24 CET 2025
To support cameras that store embedded data in the frame payload, add
an offset field to the FrameMetadata so that applications can properly
handle offset.
While it is possible that the consumer of the data may not be able to
handle the offset correctly (such as display devices), it ought to be
better to at least expose this information so that consumers that can
handle it can handle it properly (unless we want to mark such cameras as
defective). What do people think?
Paul Elder (3):
libcamera: framebuffer: Add offset field to metadata
libcamera: v4l2_videodevice: Report offset in dequeueBuffer
apps: cam: Print offset info
include/libcamera/framebuffer.h | 1 +
src/apps/cam/camera_session.cpp | 8 +++++++-
src/libcamera/v4l2_videodevice.cpp | 5 ++++-
3 files changed, 12 insertions(+), 2 deletions(-)
--
2.47.2
More information about the libcamera-devel
mailing list