]> code.ossystems Code Review - meta-freescale.git/commitdiff
libimxvpuapi2: Update to version 2.1.0
authorCarlos Rafael Giani <crg7475@mailbox.org>
Sun, 18 Oct 2020 11:50:29 +0000 (13:50 +0200)
committerOtavio Salvador <otavio@ossystems.com.br>
Tue, 1 Jun 2021 00:59:33 +0000 (21:59 -0300)
* 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 <crg7475@mailbox.org>
(cherry picked from commit aa3189ea5c91eb8c0947474abaf983bcdecc017a)

recipes-multimedia/libimxvpuapi/libimxvpuapi2_2.1.0.bb [new file with mode: 0644]

diff --git a/recipes-multimedia/libimxvpuapi/libimxvpuapi2_2.1.0.bb b/recipes-multimedia/libimxvpuapi/libimxvpuapi2_2.1.0.bb
new file mode 100644 (file)
index 0000000..f6b4baa
--- /dev/null
@@ -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)"