[libcamera-devel,v1,0/3] Basic NV12 image thumbnailer
mbox series

Message ID 20201002103416.53623-1-email@uajain.com
Headers show
Series
  • Basic NV12 image thumbnailer
Related show

Message

Umang Jain Oct. 2, 2020, 10:34 a.m. UTC
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