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

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

Message

Umang Jain Oct. 16, 2020, 5:37 a.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.

Changes in v2:
- Drop the nitpick indent patch as already merged
- Addressed small review comments, no major rework
- Updated tags

Umang Jain (2):
  android: post_processor: Introduce a PostProcessor interface
  android: jpeg: Port to PostProcessor interface

 src/android/camera_device.cpp            |   1 +
 src/android/camera_stream.cpp            |  77 ++++-------------
 src/android/camera_stream.h              |   4 +-
 src/android/jpeg/encoder_libjpeg.cpp     |   2 +-
 src/android/jpeg/post_processor_jpeg.cpp | 105 +++++++++++++++++++++++
 src/android/jpeg/post_processor_jpeg.h   |  36 ++++++++
 src/android/meson.build                  |   1 +
 src/android/post_processor.h             |  28 ++++++
 8 files changed, 192 insertions(+), 62 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