[libcamera-devel] [PATCH 0/3] android: Introduce PostProcessor interface

Umang Jain email at uajain.com
Thu Oct 15 19:14:54 CEST 2020


Introduce a PostProcessor interface. This enables to restrict exposure
of JPEG specific bits in CameraStream and moves all the JPEG related
bits to a derived class from this interface, PostProcessorJpeg.

The commits has been tested by Kieran and it seems no regression has
been introduced.

Umang Jain (3):
  android: post_processor: Introduce a PostProcessor interface
  android: jpeg: Port to PostProcessor interface
  android: CameraStream: Fix nitpick indentation for mutex_

 src/android/camera_device.cpp            |   1 +
 src/android/camera_stream.cpp            |  77 ++++------------
 src/android/camera_stream.h              |   6 +-
 src/android/jpeg/encoder_libjpeg.cpp     |   2 +-
 src/android/jpeg/post_processor_jpeg.cpp | 110 +++++++++++++++++++++++
 src/android/jpeg/post_processor_jpeg.h   |  36 ++++++++
 src/android/meson.build                  |   1 +
 src/android/post_processor.h             |  28 ++++++
 8 files changed, 198 insertions(+), 63 deletions(-)
 create mode 100644 src/android/jpeg/post_processor_jpeg.cpp
 create mode 100644 src/android/jpeg/post_processor_jpeg.h
 create mode 100644 src/android/post_processor.h

-- 
2.26.2



More information about the libcamera-devel mailing list