Patchwork [meta-fsl-arm] Add gstreamer-imx GStreamer 1.0 plugins

login
register
mail settings
Submitter Carlos Rafael Giani
Date Jan. 24, 2014, 4:58 p.m.
Message ID <1390582699-5112-1-git-send-email-dv@pseudoterminal.org>
Download mbox | patch
Permalink /patch/65769/
State Changes Requested
Delegated to: Otavio Salvador
Headers show

Comments

Carlos Rafael Giani - Jan. 24, 2014, 4:58 p.m.
gstreamer-imx is an ongoing project to write GStreamer 1.0 plugins for
using the i.MX VPU,IPU, and GPU. With the plugins, the VPU en- and decoding
features can be used, the IPU can transform images (deinterlacing,
colorspace conversion etc.), and the GPU can display frames using
OpenGL ES and the Vivante direct textures. Currently, the plugins have
only been tested with the i.MX6 SoC series.

All plugins are based on appropiate GStreamer base classes. Physical
memory metadata structures make it possible to avoid costly frame copies,
making it possible to use transcoding chains that do not involve
CPU copies for example.

This recipe is sent to meta-fsl-arm to make these plugins more visible
and available to others.

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
---
 .../gstreamer/gstreamer1.0-imx_0.9.1.bb            | 26 ++++++++++++++++++++++
 1 file changed, 26 insertions(+)
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-imx_0.9.1.bb

\ No newline at end of file
Otavio Salvador - Jan. 24, 2014, 9:41 p.m.
Hello Carlos,

Great! I was awaiting for this recipe for loooooooong time :-)

Thank you for commiting in this work... few comments regarding the
patch in line.

On Fri, Jan 24, 2014 at 2:58 PM, Carlos Rafael Giani
<dv@pseudoterminal.org> wrote:
> gstreamer-imx is an ongoing project to write GStreamer 1.0 plugins for
> using the i.MX VPU,IPU, and GPU. With the plugins, the VPU en- and decoding
> features can be used, the IPU can transform images (deinterlacing,
> colorspace conversion etc.), and the GPU can display frames using
> OpenGL ES and the Vivante direct textures. Currently, the plugins have
> only been tested with the i.MX6 SoC series.
>
> All plugins are based on appropiate GStreamer base classes. Physical
> memory metadata structures make it possible to avoid costly frame copies,
> making it possible to use transcoding chains that do not involve
> CPU copies for example.
>
> This recipe is sent to meta-fsl-arm to make these plugins more visible
> and available to others.
>
> Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
> ---
>  .../gstreamer/gstreamer1.0-imx_0.9.1.bb            | 26 ++++++++++++++++++++++
>  1 file changed, 26 insertions(+)
>  create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-imx_0.9.1.bb
>
> diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-imx_0.9.1.bb b/recipes-multimedia/gstreamer/gstreamer1.0-imx_0.9.1.bb
> new file mode 100644
> index 0000000..828bc2c
> --- /dev/null
> +++ b/recipes-multimedia/gstreamer/gstreamer1.0-imx_0.9.1.bb
> @@ -0,0 +1,26 @@
> +DESCRIPTION = "GStreamer 1.0 plugins for i.MX platforms"
> +LICENSE = "LGPLv2+"
> +SECTION = "multimedia"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=55ca817ccb7d5b5b66355690e9abc605"
> +DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base libfslvpuwrap virtual/kernel"

Please:

SUMMARY = "GStreamer 1.0 plugins for i.MX platforms"
LICENSE = "LGPLv2+"
LIC_FILES_CHKSUM = "file://LICENSE;md5=55ca817ccb7d5b5b66355690e9abc605"
SECTION = "multimedia"
DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base libfslvpuwrap virtual/kernel"

> +SRCBRANCH ?= "master"
> +SRC_URI = "git://github.com/Freescale/gstreamer-imx.git;branch=${SRCBRANCH}"
> +SRCREV = "478c8ceb93a044ed0689111ab2d09ca5288b57c0"

SRCREV above SRC_URI

> +S = "${WORKDIR}/git"
> +
> +inherit waf
> +
> +CFLAGS += "-I${STAGING_KERNEL_DIR}/include"
> +
> +# 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
> +
> +PACKAGES_DYNAMIC = "^${PN}-.*"
> +
> +FILES_${PN} += "${libdir}/libgstimxcommon${SOLIBSDEV}"
> +FILES_${PN}-dev = ""

Uh? why?

> +COMPATIBLE_MACHINE = "(mx6)"
> \ No newline at end of file

Missing
Fabio Estevam - Jan. 24, 2014, 9:50 p.m.
On Fri, Jan 24, 2014 at 7:41 PM, Otavio Salvador
<otavio@ossystems.com.br> wrote:
> Hello Carlos,
>
> Great! I was awaiting for this recipe for loooooooong time :-)
>
> Thank you for commiting in this work... few comments regarding the
> patch in line.

Yes, very nice job, Carlos!

Grazie,

Fabio Estevam

Patch

diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-imx_0.9.1.bb b/recipes-multimedia/gstreamer/gstreamer1.0-imx_0.9.1.bb
new file mode 100644
index 0000000..828bc2c
--- /dev/null
+++ b/recipes-multimedia/gstreamer/gstreamer1.0-imx_0.9.1.bb
@@ -0,0 +1,26 @@ 
+DESCRIPTION = "GStreamer 1.0 plugins for i.MX platforms"
+LICENSE = "LGPLv2+"
+SECTION = "multimedia"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=55ca817ccb7d5b5b66355690e9abc605"
+DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base libfslvpuwrap virtual/kernel"
+
+SRCBRANCH ?= "master"
+SRC_URI = "git://github.com/Freescale/gstreamer-imx.git;branch=${SRCBRANCH}"
+SRCREV = "478c8ceb93a044ed0689111ab2d09ca5288b57c0"
+
+S = "${WORKDIR}/git"
+
+inherit waf
+
+CFLAGS += "-I${STAGING_KERNEL_DIR}/include"
+
+# 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
+
+PACKAGES_DYNAMIC = "^${PN}-.*"
+
+FILES_${PN} += "${libdir}/libgstimxcommon${SOLIBSDEV}"
+FILES_${PN}-dev = ""
+
+COMPATIBLE_MACHINE = "(mx6)"