From 2bbd0e56185bef1a3189887b80c6c04136ed2a18 Mon Sep 17 00:00:00 2001 From: Carlos Rafael Giani Date: Sun, 18 Oct 2020 13:50:29 +0200 Subject: libimxvpuapi2: Update to version 2.1.0 * introduce RGB and packed YUV formats since the Hantro encoder supports those * remove hardware specific public headers since they only added tiled pixel formats; instead, migrate these tiled formats into ImxVpuApiColorFormat * imx8 hantro decoder: reorder list of supported decoder color formats to favor 10 bit output * imx8 hantro decoder: clear new framebuffer fields to zero * imx8 hantro encoder: fix segfault caused by trying to unmap non existing staged raw frame Signed-off-by: Carlos Rafael Giani (cherry picked from commit aa3189ea5c91eb8c0947474abaf983bcdecc017a) --- .../libimxvpuapi/libimxvpuapi2_2.1.0.bb | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 recipes-multimedia/libimxvpuapi/libimxvpuapi2_2.1.0.bb diff --git a/recipes-multimedia/libimxvpuapi/libimxvpuapi2_2.1.0.bb b/recipes-multimedia/libimxvpuapi/libimxvpuapi2_2.1.0.bb new file mode 100644 index 00000000..f6b4baae --- /dev/null +++ b/recipes-multimedia/libimxvpuapi/libimxvpuapi2_2.1.0.bb @@ -0,0 +1,26 @@ +DESCRIPTION = "frontend for the i.MX6 / i.MX8 VPU hardware video engines" +HOMEPAGE = "https://github.com/Freescale/libimxvpuapi" +LICENSE = "LGPLv2.1" +LIC_FILES_CHKSUM = "file://LICENSE;md5=38fa42a5a6425b26d2919b17b1527324" +SECTION = "multimedia" +DEPENDS = "virtual/imxvpu libimxdmabuffer" + +PV .= "+git${SRCPV}" + +SRCBRANCH ?= "master" +SRCREV = "49cb1b34d759aa7a51269ca0f58fcc1f9647da5b" +SRC_URI = "git://github.com/Freescale/libimxvpuapi.git;branch=${SRCBRANCH}" + +S = "${WORKDIR}/git" + +inherit waf pkgconfig use-imx-headers + +IMX_PLATFORM_mx6 = "imx6" +IMX_PLATFORM_mx8mq = "imx8m" +IMX_PLATFORM_mx8mm = "imx8mm" +IMX_PLATFORM_mx8mp = "imx8mm" + +EXTRA_OECONF = "--imx-platform=${IMX_PLATFORM} --libdir=${libdir} --imx-headers=${STAGING_INCDIR_IMX} --sysroot-path=${RECIPE_SYSROOT}" + +PACKAGE_ARCH = "${MACHINE_ARCH}" +COMPATIBLE_MACHINE = "(imxvpu)" -- cgit v1.2.3-54-g00ecf