[libcamera-devel,0/3] Handle an request error
mbox series

Message ID 20210329002715.74403-1-hiroh@chromium.org
Headers show
Series
  • Handle an request error
Related show

Message

Hirokazu Honda March 29, 2021, 12:27 a.m. UTC
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