From: Ankit Navik <[email protected]> It adds generic recipe for libXCam for extended camera feature, but not limited in camera. It focuses on image quality improvement and video analysis.
Signed-off-by: Ankit Navik <[email protected]> Signed-off-by: Anuj Mittal <[email protected]> --- conf/include/maintainers.inc | 1 + ...kan-point-to-correct-location-of-spv-shad.patch | 30 ++++++++++++++++++++++ recipes-core/libxcam/libxcam_git.bb | 29 +++++++++++++++++++++ 3 files changed, 60 insertions(+) create mode 100644 recipes-core/libxcam/files/0001-modules-vulkan-point-to-correct-location-of-spv-shad.patch create mode 100644 recipes-core/libxcam/libxcam_git.bb diff --git a/conf/include/maintainers.inc b/conf/include/maintainers.inc index 99ddec2..e2db5d1 100644 --- a/conf/include/maintainers.inc +++ b/conf/include/maintainers.inc @@ -19,3 +19,4 @@ RECIPE_MAINTAINER_pn-thermald = "Anuj Mittal <[email protected]>" RECIPE_MAINTAINER_pn-xf86-video-ast = "Anuj Mittal <[email protected]>" RECIPE_MAINTAINER_pn-mkl-dnn = "Ankit Navik <[email protected]>" RECIPE_MAINTAINER_pn-metrics-discovery = "Ankit Navik <[email protected]>" +RECIPE_MAINTAINER_pn-libxcam = "Ankit Navik <[email protected]>" diff --git a/recipes-core/libxcam/files/0001-modules-vulkan-point-to-correct-location-of-spv-shad.patch b/recipes-core/libxcam/files/0001-modules-vulkan-point-to-correct-location-of-spv-shad.patch new file mode 100644 index 0000000..911d7aa --- /dev/null +++ b/recipes-core/libxcam/files/0001-modules-vulkan-point-to-correct-location-of-spv-shad.patch @@ -0,0 +1,30 @@ +From 99f7a588ee827e25a153ac066a4f80f13a86e10e Mon Sep 17 00:00:00 2001 +From: Anuj Mittal <[email protected]> +Date: Mon, 29 Jul 2019 12:27:19 +0800 +Subject: [PATCH] modules/vulkan: point to correct location of spv shaders + +They are not generated and are present in source directory. + +Upstream-Status: Submitted [https://github.com/intel/libxcam/pull/654] + +Signed-off-by: Anuj Mittal <[email protected]> +--- + modules/vulkan/Makefile.am | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/modules/vulkan/Makefile.am b/modules/vulkan/Makefile.am +index 22763f0..56578ec 100644 +--- a/modules/vulkan/Makefile.am ++++ b/modules/vulkan/Makefile.am +@@ -5,7 +5,7 @@ XCAM_VK_CXXFLAGS = \ + $(LIBVULKAN_CFLAGS) \ + -I$(top_srcdir)/xcore \ + -I$(top_srcdir)/modules \ +- -I$(top_builddir)/shaders/spv \ ++ -I$(top_srcdir)/shaders/spv \ + $(NULL) + + XCAM_VK_LIBS = \ +-- +2.7.4 + diff --git a/recipes-core/libxcam/libxcam_git.bb b/recipes-core/libxcam/libxcam_git.bb new file mode 100644 index 0000000..dacb597 --- /dev/null +++ b/recipes-core/libxcam/libxcam_git.bb @@ -0,0 +1,29 @@ +SUMMARY = "libXCam is a project for extended camera(not limited in camera) \ +features and focus on image quality improvement and video analysis" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=8c911f084a3e5f46b21582a6cc9973e6" +SECTION = "lib" + +inherit autotools pkgconfig + +S = "${WORKDIR}/git" +SRCREV = "28769ade4793006c8db9a1720359c310fa1e0d6a" +SRC_URI = "git://github.com/intel/libxcam.git;branch=1.2.2 \ + file://0001-modules-vulkan-point-to-correct-location-of-spv-shad.patch \ + " + +PACKAGECONFIG ??= " gst \ + ${@bb.utils.contains("DISTRO_FEATURES", "opengl", "gles", "", d)} \ + ${@bb.utils.contains("DISTRO_FEATURES", "vulkan", "vulkan", "", d)} \ + " + +PACKAGECONFIG[gst] = "--enable-gst, --disable-gst, gstreamer1.0 gstreamer1.0-plugins-base" +PACKAGECONFIG[aiq] = "--enable-aiq, --disable-aiq," +PACKAGECONFIG[libcl] = "--enable-libcl, --disable-libcl," +PACKAGECONFIG[opencv] = "--enable-opencv, --disable-opencv, opencv" +PACKAGECONFIG[render] = "--enable-render, --disable-render," +PACKAGECONFIG[gles] = "--enable-gles, --disable-gles, virtual/mesa" +PACKAGECONFIG[vulkan] = "--enable-vulkan, --disable-vulkan, vulkan-loader virtual/mesa" +PACKAGECONFIG[dnn] = "--enable-dnn, --disable-dnn," + +FILES_${PN} += "${libdir}/gstreamer-*/*.so" -- 2.7.4 -- _______________________________________________ meta-intel mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-intel
