summaryrefslogtreecommitdiff
path: root/src/android/meson.build
diff options
context:
space:
mode:
authorKieran Bingham <kieran.bingham@ideasonboard.com>2020-06-24 14:15:15 +0100
committerKieran Bingham <kieran.bingham@ideasonboard.com>2020-08-06 15:46:02 +0100
commit998f4de65ebccf638b19a90172db74b2dc469c78 (patch)
treee4fc1bb0369963e31674c7ce708f078b9e62e93a /src/android/meson.build
parentc09aee4ccb7043484047d060f7f8bc1e0192ea23 (diff)
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>
Diffstat (limited to 'src/android/meson.build')
-rw-r--r--src/android/meson.build5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/android/meson.build b/src/android/meson.build
index 822cad62..f7b81a49 100644
--- a/src/android/meson.build
+++ b/src/android/meson.build
@@ -6,12 +6,17 @@ android_hal_sources = files([
'camera_device.cpp',
'camera_metadata.cpp',
'camera_ops.cpp',
+ 'jpeg/encoder_libjpeg.cpp',
])
android_camera_metadata_sources = files([
'metadata/camera_metadata.c',
])
+android_deps = [
+ dependency('libjpeg'),
+]
+
android_camera_metadata = static_library('camera_metadata',
android_camera_metadata_sources,
include_directories : android_includes)