2403f5141f
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>
15 lines
342 B
Meson
15 lines
342 B
Meson
# SPDX-License-Identifier: CC0-1.0
|
|
|
|
android_hal_sources += files([
|
|
'encoder_libjpeg.cpp',
|
|
'exif.cpp',
|
|
'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
|