From da687e4ffa12b04b69dfa90c7560b30cfb1cdad7 Mon Sep 17 00:00:00 2001 From: Carlos Rafael Giani Date: Thu, 28 Jul 2016 08:54:28 +0200 Subject: gstreamer1.0-plugins-imx: Update to version 0.12.2 Changes: * imxv4l2videosrc: * Stricter checks for video device capabilities * Add support for more video formats like 8/16-bit grayscale * pxp: Fix incorrect return code which broke blitter with GStreamer 1.8 * blitter: * Improvements in error logging * Fixes for RGBx framebuffer format detection * Fix for subtle tearing problem by implementing triple buffering * audio: * Replace objdump-based scan during build configuration Codec filenames are instead moved to the C code; the libdir path of the libfslaudiocodec.pc file is used to know where on the target the files are placed * Explicitely add the libfslaudiocodec.pc libdir to the MP3 encoder Fixes build errors in buildroot * Minor logging fixes * misc: * Proper check for region copies in phys_mem_meta * Add missing G_END_DECLS lines in headers Signed-off-by: Carlos Rafael Giani Signed-off-by: Otavio Salvador --- .../gstreamer/gstreamer1.0-plugins-imx_0.12.1.bb | 70 ---------------------- .../gstreamer/gstreamer1.0-plugins-imx_0.12.2.bb | 70 ++++++++++++++++++++++ 2 files changed, 70 insertions(+), 70 deletions(-) delete mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_0.12.1.bb create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_0.12.2.bb diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_0.12.1.bb b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_0.12.1.bb deleted file mode 100644 index 6f81341..0000000 --- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_0.12.1.bb +++ /dev/null @@ -1,70 +0,0 @@ -DESCRIPTION = "GStreamer 1.0 plugins for i.MX platforms" -LICENSE = "LGPLv2+" -LIC_FILES_CHKSUM = "file://LICENSE;md5=55ca817ccb7d5b5b66355690e9abc605" -SECTION = "multimedia" -# gstreamer1.0-plugins-bad is in DEPENDS because the build script scans for the -# GstPhotography headers and libraries -DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad virtual/kernel" -# add the audioparsers and the videoparsersbad plugins as RDEPENDS ; audioparsers -# for the uniaudio decoder, videoparsersbad for the VPU video decoder -# the gstreamer1.0-plugins-imx RDEPENDS is necessary to ensure the -good recipe is -# build (it is not a compile-time dependency however, hence RDEPENDS and not DEPENDS) -RDEPENDS_gstreamer1.0-plugins-imx = "gstreamer1.0-plugins-good" -RDEPENDS_gstreamer1.0-plugins-imx-imxaudio = "gstreamer1.0-plugins-good-audioparsers" -RDEPENDS_gstreamer1.0-plugins-imx-imxvpu = "gstreamer1.0-plugins-bad-videoparsersbad" - -SRCBRANCH ?= "master" -SRCREV = "11a7b366f211e54e0ec67c692287603a02640ff6" -SRC_URI = "git://github.com/Freescale/gstreamer-imx.git;branch=${SRCBRANCH}" - -S = "${WORKDIR}/git" - -inherit waf - -do_compile[depends] += "virtual/kernel:do_shared_workdir" - -# configure the eglvivsink element to use the appropriate EGL platform code -# X11 if x11 is present in DISTRO_FEATURES -# Wayland if x11 is not present in DISTRO_FEATURES, but wayland is -# Framebuffer otherwise -EGLVIVSINK_PLATFORM = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', \ - bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', \ - 'fb', d),d)}" - -EGL_PLATFORM_CONF = "--egl-platform=${EGLVIVSINK_PLATFORM}" -EXTRA_OECONF = "--kernel-headers=${STAGING_KERNEL_DIR}/include" - -EGLVIVSINK_DEPENDS = " \ - virtual/egl virtual/libgles2 \ - ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'virtual/libx11', \ - bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', \ - '', d),d)}" - -PACKAGECONFIG ?= "" -PACKAGECONFIG_mx6q = "uniaudiodec mp3encoder v4l2src g2d eglvivsink ipu vpu" -PACKAGECONFIG_mx6dl = "uniaudiodec mp3encoder v4l2src pxp g2d eglvivsink ipu vpu" -PACKAGECONFIG_mx6sx = "uniaudiodec mp3encoder v4l2src pxp g2d eglvivsink" -PACKAGECONFIG_mx6sl = "uniaudiodec mp3encoder v4l2src pxp g2d" -PACKAGECONFIG_mx7 = "uniaudiodec mp3encoder v4l2src pxp" - -PACKAGECONFIG[g2d] = ",--disable-g2d,imx-gpu-viv" -PACKAGECONFIG[pxp] = ",--disable-pxp," -PACKAGECONFIG[ipu] = ",--disable-ipu," -PACKAGECONFIG[vpu] = ",--disable-vpu,libimxvpuapi" -PACKAGECONFIG[eglvivsink] = "${EGL_PLATFORM_CONF},--disable-eglvivsink,${EGLVIVSINK_DEPENDS}" -PACKAGECONFIG[v4l2src] = ",--disable-v4l2src," -PACKAGECONFIG[uniaudiodec] = ",--disable-uniaudiodec,imx-codec" -PACKAGECONFIG[mp3encoder] = ",--disable-mp3encoder,imx-codec" - -# LIBV is used by gst-plugins-package.inc to specify the GStreamer version (0.10 vs 1.0) -LIBV = "1.0" -require recipes-multimedia/gstreamer/gst-plugins-package.inc - -# the following line is required to produce one package for each plugin -PACKAGES_DYNAMIC = "^${PN}-.*" - -COMPATIBLE_MACHINE = "(mx6|mx7)" - -# disable the false alarm (the "it isn't a build dependency" QA warning) -INSANE_SKIP_gstreamer1.0-plugins-imx-imxaudio = "build-deps" -INSANE_SKIP_gstreamer1.0-plugins-imx-imxvpu = "build-deps" diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_0.12.2.bb b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_0.12.2.bb new file mode 100644 index 0000000..215e5d0 --- /dev/null +++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_0.12.2.bb @@ -0,0 +1,70 @@ +DESCRIPTION = "GStreamer 1.0 plugins for i.MX platforms" +LICENSE = "LGPLv2+" +LIC_FILES_CHKSUM = "file://LICENSE;md5=55ca817ccb7d5b5b66355690e9abc605" +SECTION = "multimedia" +# gstreamer1.0-plugins-bad is in DEPENDS because the build script scans for the +# GstPhotography headers and libraries +DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad virtual/kernel" +# add the audioparsers and the videoparsersbad plugins as RDEPENDS ; audioparsers +# for the uniaudio decoder, videoparsersbad for the VPU video decoder +# the gstreamer1.0-plugins-imx RDEPENDS is necessary to ensure the -good recipe is +# build (it is not a compile-time dependency however, hence RDEPENDS and not DEPENDS) +RDEPENDS_gstreamer1.0-plugins-imx = "gstreamer1.0-plugins-good" +RDEPENDS_gstreamer1.0-plugins-imx-imxaudio = "gstreamer1.0-plugins-good-audioparsers" +RDEPENDS_gstreamer1.0-plugins-imx-imxvpu = "gstreamer1.0-plugins-bad-videoparsersbad" + +SRCBRANCH ?= "master" +SRCREV = "50ddcd9f2b6ecc3d94d0d2f71b6de841d8a8fb7b" +SRC_URI = "git://github.com/Freescale/gstreamer-imx.git;branch=${SRCBRANCH}" + +S = "${WORKDIR}/git" + +inherit waf + +do_compile[depends] += "virtual/kernel:do_shared_workdir" + +# configure the eglvivsink element to use the appropriate EGL platform code +# X11 if x11 is present in DISTRO_FEATURES +# Wayland if x11 is not present in DISTRO_FEATURES, but wayland is +# Framebuffer otherwise +EGLVIVSINK_PLATFORM = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', \ + bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', \ + 'fb', d),d)}" + +EGL_PLATFORM_CONF = "--egl-platform=${EGLVIVSINK_PLATFORM}" +EXTRA_OECONF = "--kernel-headers=${STAGING_KERNEL_DIR}/include" + +EGLVIVSINK_DEPENDS = " \ + virtual/egl virtual/libgles2 \ + ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'virtual/libx11', \ + bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', \ + '', d),d)}" + +PACKAGECONFIG ?= "" +PACKAGECONFIG_mx6q = "uniaudiodec mp3encoder v4l2src g2d eglvivsink ipu vpu" +PACKAGECONFIG_mx6dl = "uniaudiodec mp3encoder v4l2src pxp g2d eglvivsink ipu vpu" +PACKAGECONFIG_mx6sx = "uniaudiodec mp3encoder v4l2src pxp g2d eglvivsink" +PACKAGECONFIG_mx6sl = "uniaudiodec mp3encoder v4l2src pxp g2d" +PACKAGECONFIG_mx7 = "uniaudiodec mp3encoder v4l2src pxp" + +PACKAGECONFIG[g2d] = ",--disable-g2d,imx-gpu-viv" +PACKAGECONFIG[pxp] = ",--disable-pxp," +PACKAGECONFIG[ipu] = ",--disable-ipu," +PACKAGECONFIG[vpu] = ",--disable-vpu,libimxvpuapi" +PACKAGECONFIG[eglvivsink] = "${EGL_PLATFORM_CONF},--disable-eglvivsink,${EGLVIVSINK_DEPENDS}" +PACKAGECONFIG[v4l2src] = ",--disable-v4l2src," +PACKAGECONFIG[uniaudiodec] = ",--disable-uniaudiodec,imx-codec" +PACKAGECONFIG[mp3encoder] = ",--disable-mp3encoder,imx-codec" + +# LIBV is used by gst-plugins-package.inc to specify the GStreamer version (0.10 vs 1.0) +LIBV = "1.0" +require recipes-multimedia/gstreamer/gst-plugins-package.inc + +# the following line is required to produce one package for each plugin +PACKAGES_DYNAMIC = "^${PN}-.*" + +COMPATIBLE_MACHINE = "(mx6|mx7)" + +# disable the false alarm (the "it isn't a build dependency" QA warning) +INSANE_SKIP_gstreamer1.0-plugins-imx-imxaudio = "build-deps" +INSANE_SKIP_gstreamer1.0-plugins-imx-imxvpu = "build-deps" -- cgit v1.2.3-54-g00ecf