[0/1] Add metadataCompleted Signal in Camera
mbox series

Message ID 20240912045703.3446748-1-chenghaoyang@google.com
Headers show
Series
  • Add metadataCompleted Signal in Camera
Related show

Message

Cheng-Hao Yang Sept. 12, 2024, 4:52 a.m. UTC
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(+)