From eb20f8c73ce9f1f050b3a02de2e944a50f3ae88a Mon Sep 17 00:00:00 2001 From: Carlos Rafael Giani Date: Thu, 29 Dec 2022 15:03:26 +0100 Subject: libimxvpuapi2: Upgrade to version 2.2.2 * imx6-coda: Skip incomplete frames instead of just reporting them * imx6-coda: Only flush bit buffer when framebuffers were registered This prevents misleading error-level log lines from occurring * imx6-coda: Prefer semi planar modes over fully planar ones * imx8m-hantro: Reset decoder write_offset to fill_level when moving read_offset * Add imx_vpu_api_is_color_format_tiled() function * update waf to 2.0.24 * Add closed_gop_interval field to ImxVpuApiEncOpenParams This allows for enforcing regularly occurring IDR boundaries when encoding to h.264 * imx8m-hantro: Fix supported decoder color formats and include tiled formats * Fix and improve h.264 max level estimation for encoding * imx6-coda: Use 2-row alignment in encoder * imx6-coda: Fix JPEG encoding quantization parameter handling in encoder Signed-off-by: Carlos Rafael Giani (cherry picked from commit b30dde7a1a0b8a42b401c01a0f239a972bc00639) --- .../libimxvpuapi/libimxvpuapi2_2.2.2.bb | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 recipes-multimedia/libimxvpuapi/libimxvpuapi2_2.2.2.bb (limited to 'recipes-multimedia/libimxvpuapi/libimxvpuapi2_2.2.2.bb') diff --git a/recipes-multimedia/libimxvpuapi/libimxvpuapi2_2.2.2.bb b/recipes-multimedia/libimxvpuapi/libimxvpuapi2_2.2.2.bb new file mode 100644 index 000000000..5ebf9150d --- /dev/null +++ b/recipes-multimedia/libimxvpuapi/libimxvpuapi2_2.2.2.bb @@ -0,0 +1,26 @@ +DESCRIPTION = "frontend for the i.MX6 / i.MX8 VPU hardware video engines" +HOMEPAGE = "https://github.com/Freescale/libimxvpuapi" +LICENSE = "LGPL-2.1-only" +LIC_FILES_CHKSUM = "file://LICENSE;md5=38fa42a5a6425b26d2919b17b1527324" +SECTION = "multimedia" +DEPENDS = "virtual/imxvpu libimxdmabuffer" + +PV .= "+git${SRCPV}" + +SRCBRANCH ?= "master" +SRCREV = "b6486118d47937cd717c4881158dda6e72cf2855" +SRC_URI = "git://github.com/Freescale/libimxvpuapi.git;branch=${SRCBRANCH};protocol=https" + +S = "${WORKDIR}/git" + +inherit waf pkgconfig use-imx-headers + +IMX_PLATFORM:mx6-nxp-bsp = "imx6" +IMX_PLATFORM:mx8mq-nxp-bsp = "imx8m" +IMX_PLATFORM:mx8mm-nxp-bsp = "imx8mm" +IMX_PLATFORM:mx8mp-nxp-bsp = "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