diff options
author | Jacopo Mondi <jacopo@jmondi.org> | 2021-02-17 16:23:34 +0100 |
---|---|---|
committer | Jacopo Mondi <jacopo@jmondi.org> | 2021-03-03 09:50:44 +0100 |
commit | d8d6a78f223e14e3da7adf73ee54730ba0f1740b (patch) | |
tree | 5b8e64f12e8a760f6e7aa04780d7903a80fbc64e /src/android/mm/meson.build | |
parent | 1427d124e86a134076f6abdd4a11b037e005fede (diff) |
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 <laurent.pinchart@ideasonboard.com>
Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'src/android/mm/meson.build')
-rw-r--r-- | src/android/mm/meson.build | 3 |
1 files changed, 3 insertions, 0 deletions
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 |