[libcamera-devel] [PATCH v1 0/3] Basic NV12 image thumbnailer
Umang Jain
email at uajain.com
Fri Oct 2 12:34:13 CEST 2020
Hi,
This series targets generation of a image thumbnail for the EXIF
metadata of the frames captured via android HAL. The thumbnailer is
takes in a NV12 buffer and outputs the same but with scaled down(or
up, if you want) buffer. Embedding the buffer via libexif is still a
follow-up task I am looking into, you will find a \todo in that regard.
Two [DNI] patches for dev-info are also included, if anyone is
interested in building / trying out locally. You shall get the dev
branch on my fork: https://github.com/uajain/libcamera.
Thanks.
Umang Jain (3):
android: jpeg: Add a basic NV12 image thumbnailer
[DNI] jpeg/thumbnailer: write thumbnail to file
[DNI] Add HOWTO scaler instructions for future reference
scaler-instructions.txt | 18 ++++
src/android/jpeg/encoder_libjpeg.cpp | 12 +++
src/android/jpeg/thumbnailer.cpp | 128 +++++++++++++++++++++++++++
src/android/jpeg/thumbnailer.h | 34 +++++++
src/android/meson.build | 1 +
5 files changed, 193 insertions(+)
create mode 100644 scaler-instructions.txt
create mode 100644 src/android/jpeg/thumbnailer.cpp
create mode 100644 src/android/jpeg/thumbnailer.h
--
2.26.2
More information about the libcamera-devel
mailing list