[libcamera-devel,v4,0/6] Add CrOS JEA implementation
mbox series

Message ID 20220428095544.2795980-1-chenghaoyang@chromium.org
Headers show
Series
  • Add CrOS JEA implementation
Related show

Message

Harvey Yang April 28, 2022, 9:55 a.m. UTC
Hi everyone,

Thanks Laurent for your detailed comments! Mostly updated in the new
patches, and please let me know if I missed anything.

More comments are still welcome.

BR,
Harvey

Harvey Yang (6):
  Allow inheritance of FrameBuffer
  Add HALFrameBuffer and replace FrameBuffer in src/android
  Add meson.build in src/android/jpeg
  Move generateThumbnail from PostProcessorJpeg to Encoder
  Pass StreamBuffer to Encoder::encoder
  Add JEA implementation

 include/libcamera/framebuffer.h               |  3 +-
 src/android/camera_device.cpp                 |  3 +-
 src/android/cros/camera3_hal.cpp              |  2 +
 src/android/cros_mojo_token.h                 | 12 +++
 src/android/frame_buffer_allocator.h          |  7 +-
 src/android/hal_framebuffer.cpp               | 25 ++++++
 src/android/hal_framebuffer.h                 | 27 +++++++
 src/android/jpeg/encoder.h                    | 10 ++-
 src/android/jpeg/encoder_jea.cpp              | 81 +++++++++++++++++++
 src/android/jpeg/encoder_jea.h                | 35 ++++++++
 src/android/jpeg/encoder_libjpeg.cpp          | 81 ++++++++++++++++++-
 src/android/jpeg/encoder_libjpeg.h            | 23 +++++-
 src/android/jpeg/meson.build                  | 16 ++++
 src/android/jpeg/post_processor_jpeg.cpp      | 65 +++------------
 src/android/jpeg/post_processor_jpeg.h        | 11 +--
 src/android/meson.build                       |  6 +-
 .../mm/cros_frame_buffer_allocator.cpp        | 14 ++--
 .../mm/generic_frame_buffer_allocator.cpp     | 12 +--
 18 files changed, 345 insertions(+), 88 deletions(-)
 create mode 100644 src/android/cros_mojo_token.h
 create mode 100644 src/android/hal_framebuffer.cpp
 create mode 100644 src/android/hal_framebuffer.h
 create mode 100644 src/android/jpeg/encoder_jea.cpp
 create mode 100644 src/android/jpeg/encoder_jea.h
 create mode 100644 src/android/jpeg/meson.build