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

Message ID 20220622123706.2946976-1-chenghaoyang@google.com
Headers show
Series
  • Add CrOS JEA implementation
Related show

Message

Harvey Yang June 22, 2022, 12:37 p.m. UTC
Hi everyone,

Fixed some indentations and jpeg_set_defaults() issues.

Please help review the patches and merge them if possible :)
Thanks!

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               |  23 +++
 src/android/hal_framebuffer.h                 |  27 ++++
 src/android/jpeg/encoder.h                    |  10 +-
 src/android/jpeg/encoder_jea.cpp              |  86 +++++++++++
 src/android/jpeg/encoder_jea.h                |  35 +++++
 src/android/jpeg/encoder_libjpeg.cpp          | 133 ++++++++++++++----
 src/android/jpeg/encoder_libjpeg.h            |  33 ++++-
 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, 384 insertions(+), 114 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