[libcamera-devel] [PATCH v6 0/1] Android adaptor thumbnail buffer lifetime issue

Harvey Yang chenghaoyang at chromium.org
Wed Jul 20 11:58:11 CEST 2022


Hi all,

Han-lin found that soraka-libcamera cannot pass a cros-camera test:
Camera3SimpleStillCaptureTest.JpegExifTest, as the output thumbnail is
not a JPEG file.

The root cause is the thumbnail buffer's lifetime issue.

Please take a look :)

BR,
Harvey

Harvey Yang (1):
  Fix Android adaptor thumbnail buffer lifetime

 src/android/jpeg/exif.cpp                | 10 ++++++----
 src/android/jpeg/exif.h                  | 10 ++++++++--
 src/android/jpeg/post_processor_jpeg.cpp |  6 ++----
 3 files changed, 16 insertions(+), 10 deletions(-)

-- 
2.37.0.170.g444d1eabd0-goog



More information about the libcamera-devel mailing list