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

Umang Jain email at uajain.com
Fri Oct 16 07:37:52 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.

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

-- 
2.26.2



More information about the libcamera-devel mailing list