android: Introduce JPEG encoding

Provide an encoder interface and implement a JPEG encoder using libjpeg.

Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
Kieran Bingham
2020-06-24 14:15:15 +01:00
parent c09aee4ccb
commit 998f4de65e
5 changed files with 291 additions and 0 deletions

View File

@@ -125,6 +125,8 @@ if get_option('android')
libcamera_sources += android_hal_sources
includes += android_includes
libcamera_link_with += android_camera_metadata
libcamera_deps += android_deps
endif
# We add '/' to the build_rpath as a 'safe' path to act as a boolean flag.