From b9de4bf63c8e4e340d95ff3e9ad6959d9d732a6d Mon Sep 17 00:00:00 2001 From: Jose Quaresma Date: Wed, 6 May 2026 12:15:48 +0100 Subject: [PATCH] libcamera: add configs pipelines for testing vimc: Is a driver that emulates complex video hardware, and is useful for testing libcamera without needing access to a physical camera. We would like to add support to the libcamera vimc pipeline handler for multiple simultaneous streams, to ease testing of such mechanism. This also requires adding multistream support to the vimc driver in the Linux kernel. virtual: Is a specialized handler designed to create software-based, virtual camera devices. It allows for testing, debugging, and simulating camera pipelines without needing physical hardware, often producing test patterns (e.g., all green frames) via qcam. This enables developers to emulate camera sensors and Image Signal Processors (ISPs) within the libcamera Signed-off-by: Jose Quaresma Signed-off-by: Khem Raj --- .../recipes-multimedia/libcamera/libcamera_0.6.0.bb | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/meta-multimedia/recipes-multimedia/libcamera/libcamera_0.6.0.bb b/meta-multimedia/recipes-multimedia/libcamera/libcamera_0.6.0.bb index 4dce26a5d0..1f9e21e45b 100644 --- a/meta-multimedia/recipes-multimedia/libcamera/libcamera_0.6.0.bb +++ b/meta-multimedia/recipes-multimedia/libcamera/libcamera_0.6.0.bb @@ -28,12 +28,16 @@ PACKAGECONFIG[dng] = ",,tiff" PACKAGECONFIG[gst] = "-Dgstreamer=enabled,-Dgstreamer=disabled,gstreamer1.0 gstreamer1.0-plugins-base" PACKAGECONFIG[pycamera] = "-Dpycamera=enabled,-Dpycamera=disabled,python3 python3-pybind11" PACKAGECONFIG[raspberrypi] = ",,libpisp" +PACKAGECONFIG[vimc] = ",," +PACKAGECONFIG[virtual] = ",,libyuv libjpeg-turbo" +ARM_PIPELINES = "imx8-isi,mali-c55,simple,uvcvideo" # Raspberry Pi requires the meta-raspberrypi layer # These values are coming from the project's meson.build file, # which lists the supported values by arch. -ARM_PIPELINES = "${@bb.utils.contains('PACKAGECONFIG', 'raspberrypi', 'rpi/pisp,rpi/vc4,', '', d)}" -ARM_PIPELINES .= "imx8-isi,mali-c55,simple,uvcvideo" +ARM_PIPELINES .= "${@bb.utils.contains('PACKAGECONFIG', 'raspberrypi', ',rpi/pisp,rpi/vc4', '', d)}" +ARM_PIPELINES .= "${@bb.utils.contains('PACKAGECONFIG', 'vimc', ',vimc', '', d)}" +ARM_PIPELINES .= "${@bb.utils.contains('PACKAGECONFIG', 'virtual', ',virtual', '', d)}" LIBCAMERA_PIPELINES ??= "auto" LIBCAMERA_PIPELINES:arm ??= "${ARM_PIPELINES}"