[libcamera-devel,v6,0/1] Android adaptor thumbnail buffer lifetime issue
mbox series

Message ID 20220720095812.2380218-1-chenghaoyang@google.com
Headers show
Series
  • Android adaptor thumbnail buffer lifetime issue
Related show

Message

Harvey Yang July 20, 2022, 9:58 a.m. UTC
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(-)