From 2403f5141f002be70c94f182e0774f257bb4ee11 Mon Sep 17 00:00:00 2001 From: Harvey Yang Date: Wed, 8 Feb 2023 03:33:19 +0000 Subject: 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 Reviewed-by: Laurent Pinchart Signed-off-by: Laurent Pinchart --- src/android/jpeg/meson.build | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/android/jpeg/meson.build') 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 -- cgit v1.2.1