From d8d6a78f223e14e3da7adf73ee54730ba0f1740b Mon Sep 17 00:00:00 2001 From: Jacopo Mondi Date: Wed, 17 Feb 2021 16:23:34 +0100 Subject: android: Introduce Chromium OS buffer manager Introduce the CameraBuffer backend for the Chromium OS operating system and the associated meson option. The Chromium OS CameraBuffer implementation uses the cros::CameraBufferManager class to perform mapping of 1 plane and multiplane buffers and to retrieve size information. Reviewed-by: Laurent Pinchart Signed-off-by: Jacopo Mondi --- src/android/mm/meson.build | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/android/mm/meson.build') diff --git a/src/android/mm/meson.build b/src/android/mm/meson.build index 97f83f2a..eeb5cc2e 100644 --- a/src/android/mm/meson.build +++ b/src/android/mm/meson.build @@ -3,4 +3,7 @@ platform = get_option('android_platform') if platform == 'generic' android_hal_sources += files(['generic_camera_buffer.cpp']) +elif platform == 'cros' + android_hal_sources += files(['cros_camera_buffer.cpp']) + android_deps += [dependency('libcros_camera')] endif -- cgit v1.2.1