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 <laurent.pinchart@ideasonboard.com> Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
9 lines
309 B
Meson
9 lines
309 B
Meson
# SPDX-License-Identifier: CC0-1.0
|
|
|
|
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
|