[libcamera-devel] [PATCH 0/3] Handle an request error

Hirokazu Honda hiroh at chromium.org
Mon Mar 29 02:27:12 CEST 2021


PipelineHandler doesn't notify a client an error during
processing a capture request. This addresses the issue by adding
the error value to Request, so that each Camera client can handle
a request error in the request completion.

Hirokazu Honda (3):
  libcamera: PipelineHandler: Make queueRequest() void function
  libcamera: Request: Add an error value
  Regard a request error in the request completion

 .../guides/application-developer.rst          |  4 ++--
 include/libcamera/internal/pipeline_handler.h |  2 +-
 include/libcamera/request.h                   |  2 ++
 src/android/camera_device.cpp                 |  6 ++++--
 src/cam/capture.cpp                           |  4 +++-
 src/gstreamer/gstlibcamerasrc.cpp             |  4 ++++
 src/libcamera/camera.cpp                      |  6 ++++--
 src/libcamera/pipeline_handler.cpp            | 10 ++++-----
 src/libcamera/request.cpp                     | 21 ++++++++++++++-----
 src/qcam/main_window.cpp                      |  4 +++-
 src/v4l2/v4l2_camera.cpp                      |  4 +++-
 test/camera/buffer_import.cpp                 |  4 +++-
 test/camera/capture.cpp                       |  4 +++-
 13 files changed, 53 insertions(+), 22 deletions(-)

--
2.31.0.291.g576ba9dcdaf-goog


More information about the libcamera-devel mailing list