summaryrefslogtreecommitdiff
path: root/src/android/jpeg/meson.build
diff options
context:
space:
mode:
authorHarvey Yang <chenghaoyang@chromium.org>2023-02-08 03:33:19 +0000
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2023-02-10 00:47:42 +0200
commit2403f5141f002be70c94f182e0774f257bb4ee11 (patch)
tree1dbcf8fd6e1156f31e52180b8a14e7980eccf10a /src/android/jpeg/meson.build
parent8702b9dac7bc3785102153a3b95085db01df17f9 (diff)
android: jpeg: Add JEA implementation
This patch adds JEA implementation to replace libjpeg in CrOS platform, where hardware accelerator is available. Signed-off-by: Harvey Yang <chenghaoyang@chromium.org> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src/android/jpeg/meson.build')
-rw-r--r--src/android/jpeg/meson.build6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/android/jpeg/meson.build b/src/android/jpeg/meson.build
index 08397a87..3402e614 100644
--- a/src/android/jpeg/meson.build
+++ b/src/android/jpeg/meson.build
@@ -6,3 +6,9 @@ android_hal_sources += files([
'post_processor_jpeg.cpp',
'thumbnailer.cpp'
])
+
+platform = get_option('android_platform')
+if platform == 'cros'
+ android_hal_sources += files(['encoder_jea.cpp'])
+ android_deps += [dependency('libcros_camera')]
+endif