From patchwork Tue Mar 19 10:24:35 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kieran Bingham X-Patchwork-Id: 740 Return-Path: Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 3E00D600FC for ; Tue, 19 Mar 2019 11:24:41 +0100 (CET) Received: from localhost.localdomain (cpc89242-aztw30-2-0-cust488.18-1.cable.virginm.net [86.31.129.233]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 9B40133A; Tue, 19 Mar 2019 11:24:40 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1552991080; bh=6SSrZqTkkCgdckEt8rvc8S8zdKXYJt1wiSsY/P8WBok=; h=From:To:Cc:Subject:Date:From; b=Mu8EHVgcHUNo9SorXyk1PngcoVmJmQyZntoC4IbMzQ27lVlmHcMxfPBJnHsc0IkX7 hwWH0hyy0K7lfzaMdiWPCub02R3q6n2IdZcmvqz4nx8u4iJ1K/kNV9jb7/sOixauOZ 5acYX/pawlsI8Zr5F5QQNe/xB0OwWKJTk82Cd4wY= From: Kieran Bingham To: buildroot@buildroot.org Cc: LibCamera Devel , Kieran Bingham Date: Tue, 19 Mar 2019 10:24:35 +0000 Message-Id: <20190319102435.14302-1-kieran.bingham@ideasonboard.com> X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 Subject: [libcamera-devel] [RFC PATCH] package/libcamera: Add libcamera package X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Mar 2019 10:24:41 -0000 http://libcamera.org/ Cameras are complex devices that need heavy hardware image processing operations. Control of the processing is based on advanced algorithms that must run on a programmable processor. This has traditionally been implemented in a dedicated MCU in the camera, but in embedded devices algorithms have been moved to the main CPU to save cost. Blurring the boundary between camera devices and Linux often left the user with no other option than a vendor-specific closed-source solution. To address this problem the Linux media community has very recently started collaboration with the industry to develop a camera stack that will be open-source-friendly while still protecting vendor core IP. libcamera was born out of that collaboration and will offer modern camera support to Linux-based systems, including traditional Linux distributions, ChromeOS and Android. Signed-off-by: Kieran Bingham --- We do not yet have an official 'release', so I'm sending this as an early RFC, with LIBCAMERA_VERSION = origin/master and no .hash file. Is this still suitable to go in and be updated when we have a tagged release later? DEVELOPERS | 3 +++ package/Config.in | 1 + package/libcamera/Config.in | 11 +++++++++++ package/libcamera/libcamera.mk | 13 +++++++++++++ 4 files changed, 28 insertions(+) create mode 100644 package/libcamera/Config.in create mode 100644 package/libcamera/libcamera.mk diff --git a/DEVELOPERS b/DEVELOPERS index c91325e28486..5bcdf208a62b 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -1260,6 +1260,9 @@ F: package/ramsmp/ N: Kevin Joly F: package/libgphoto2/ +N: Kieran Bingham +F: package/libcamera/ + N: Koen Martens F: package/capnproto/ F: package/linuxconsoletools/ diff --git a/package/Config.in b/package/Config.in index b5321aeb49c9..a9d25e58b202 100644 --- a/package/Config.in +++ b/package/Config.in @@ -1472,6 +1472,7 @@ menu "Multimedia" source "package/libass/Config.in" source "package/libbdplus/Config.in" source "package/libbluray/Config.in" + source "package/libcamera/Config.in" source "package/libdcadec/Config.in" source "package/libdvbcsa/Config.in" source "package/libdvbpsi/Config.in" diff --git a/package/libcamera/Config.in b/package/libcamera/Config.in new file mode 100644 index 000000000000..c80f58c00f17 --- /dev/null +++ b/package/libcamera/Config.in @@ -0,0 +1,11 @@ +config BR2_PACKAGE_LIBCAMERA + bool "libcamera" + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 # C++11 + depends on BR2_PACKAGE_HAS_UDEV + help + libcamera provides a software stack to support complex devices that + need heavy hardware image processing operations. + + http://www.libcamera.org/ diff --git a/package/libcamera/libcamera.mk b/package/libcamera/libcamera.mk new file mode 100644 index 000000000000..4d908c7a3645 --- /dev/null +++ b/package/libcamera/libcamera.mk @@ -0,0 +1,13 @@ +################################################################################ +# +# libcamera +# +################################################################################ + +LIBCAMERA_VERSION = origin/master +LIBCAMERA_SITE = git://linuxtv.org/libcamera.git +LIBCAMERA_SITE_METHOD = git +LIBCAMERA_DEPENDENCIES = udev +LIBCAMERA_LICENSE = LGPL-2.0+ + +$(eval $(meson-package))