[PATCH 0/1] Add metadataCompleted Signal in Camera

Harvey Yang chenghaoyang at chromium.org
Thu Sep 12 06:52:47 CEST 2024


Hi folks,

To allow partial results in Android adapter, this patch adds another
signal (along with bufferCompleted) metadataCompleted in class Camera.

Although Android allows a partial result to contain both buffers and
metadata, we probably don't need such a feature. Splitting them into
different partial results should fit both MediaTek's and Intel's
requirements.

This patch passed gitlab pipeline:
https://gitlab.freedesktop.org/chenghaoyang/libcamera/-/pipelines/1269599

Patches in Android adapter that implement partial results will follow
this one.

BR,
Harvey

Han-Lin Chen (1):
  libcamera: Camera: Add signals for completion of metadata as a partial
    result

 include/libcamera/camera.h                    |  1 +
 include/libcamera/internal/pipeline_handler.h |  1 +
 include/libcamera/request.h                   |  5 +++
 src/libcamera/camera.cpp                      |  6 +++
 src/libcamera/pipeline_handler.cpp            | 37 +++++++++++++++++++
 src/libcamera/request.cpp                     | 20 ++++++++++
 6 files changed, 70 insertions(+)

-- 
2.46.0.598.g6f2099f65c-goog



More information about the libcamera-devel mailing list