[libcamera-devel,0/3] android: Introduce PostProcessor interface
mbox series

Message ID 20201015171457.75678-1-email@uajain.com
Headers show
Series
  • android: Introduce PostProcessor interface
Related show

Message

Umang Jain Oct. 15, 2020, 5:14 p.m. UTC
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