Skip to contentSkip to conversation

Upgrade to 3.10.31-1.1.0 Beta

PATCH New Zidan Wang 1 participant 5 messages Sep 3, 2014

lore
Share & tools
lore

Zidan Wang

author
#0 lore raw

v2 cover Upgrade to 3.10.31-1.1.0 Beta

Multimedia patch sets for 3.10.31-1.1.0 Beta
- gst-fsl-plugin.inc: Make a common include file for gst 0.1 and 1.0 plugins
- gst-fsl-plugin: Upgrade to version 4.0.1
- gst1.0-fsl-plugin: Add Freescale Gstreamer1.0 Plugin
- libfslvpuwrap: Upgrade to version 1.0.54

Zidan Wang (4):
gst-fsl-plugin: Make a common include file for gst-fsl-plugin and

    gst1.0-fsl-plugin

gst-fsl-plugin: Upgrade from version 3.0.11 to 4.0.1 gst1.0-fsl-plugin: Add Freescale Gstreamer1.0 Plugin for MX6
libfslvpuwrap: Upgrade from version 1.0.46 to 1.0.54

 recipes-multimedia/gstreamer/gst-fsl-plugin.inc    |   29 +-
 .../build-Fix-out-of-tree-build.patch              |  617 --------------------
 .../gstreamer/gst-fsl-plugin_3.0.11.bb             |   11 -
 .../gstreamer/gst-fsl-plugin_4.0.1.bb              |   38 ++
 .../gstreamer/gst1.0-fsl-plugin_4.0.1.bb           |   35 ++
 ...-fix-tests-of-return-value-from-IOGetVirt.patch |   41 --
 ...slvpuwrap_1.0.46.bb => libfslvpuwrap_1.0.54.bb} |    6 +-
 7 files changed, 79 insertions(+), 698 deletions(-)
 delete mode 100644 recipes-multimedia/gstreamer/gst-fsl-plugin/build-Fix-out-of-tree-build.patch
 delete mode 100644 recipes-multimedia/gstreamer/gst-fsl-plugin_3.0.11.bb
 create mode 100644 recipes-multimedia/gstreamer/gst-fsl-plugin_4.0.1.bb
 create mode 100644 recipes-multimedia/gstreamer/gst1.0-fsl-plugin_4.0.1.bb
 delete mode 100644 recipes-multimedia/libfslvpuwrap/libfslvpuwrap/0001-vpu_wrapper-fix-tests-of-return-value-from-IOGetVirt.patch
 rename recipes-multimedia/libfslvpuwrap/{libfslvpuwrap_1.0.46.bb => libfslvpuwrap_1.0.54.bb} (71%)
Signature · 1 line
1.7.9.5
author
#1 lore raw

PATCH v2 1/4 gst-fsl-plugin: Make a common include file for gst-fsl-plugin and gst1.0-fsl-plugin

To avoid duplication, use one common include file for gst 0.1 and 1.0 plugins. gst-fsl-plugin specific features moved into the 0.1 recipe. gst1.0-fsl-plugin specific features will be moved into the 1.0 recipe.

---
 recipes-multimedia/gstreamer/gst-fsl-plugin.inc    |   27 +------------------
 .../gstreamer/gst-fsl-plugin_3.0.11.bb             |   28 ++++++++++++++++++++
 2 files changed, 29 insertions(+), 26 deletions(-)
recipes-multimedia/gstreamer/gst-fsl-plugin.inc +1 -26
index f8685bc..d8733db 100644
@@ -6,7 +6,7 @@ DESCRIPTION = "Gstreamer freescale plugins"
 LICENSE = "GPLv2 & LGPLv2 & LGPLv2.1"
 SECTION = "multimedia"
 
-DEPENDS = "gstreamer gst-plugins-base libfslcodec libfslparser virtual/kernel"
+DEPENDS = "libfslcodec libfslparser virtual/kernel"
 DEPENDS_append_mx5 = " imx-lib imx-vpu"
 DEPENDS_append_mx6q = " imx-lib imx-vpu libfslvpuwrap"
 DEPENDS_append_mx6dl = " imx-lib imx-vpu libfslvpuwrap"
@@ -16,12 +16,6 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
                     file://COPYING-LGPL-2;md5=5f30f0716dfdd0d91eb439ebec522ec2 \
                     file://COPYING-LGPL-2.1;md5=fbc093901857fcd118f065f900982c24"
 
-S = "${WORKDIR}/gst-fsl-plugins-${PV}"
-
-SRC_URI = "${FSL_MIRROR}/gst-fsl-plugins-${PV}.tar.gz \
-           file://build-Fix-out-of-tree-build.patch \
-           file://Remove-use-of-obsolete-VIDIOC_DBG_G_CHIP_IDENT.patch"
-
 inherit autotools pkgconfig
 
 PLATFORM_mx5 = "MX51"
@@ -37,30 +31,11 @@ PACKAGES =+ "${PN}-libmfwsconf ${PN}-libgplaycore ${PN}-libgstfsl \
              ${PN}-libme ${PN}-libgstbufmeta ${PN}-libmfwba \
              ${PN}-libfwvss ${PN}-gplay"
 
-# FIXME: Add all features
-# feature from excluded mm packages
-PACKAGECONFIG[ac3] += "--enable-ac3dec,--disable-ac3dec,libfslac3codec,libfslac3codec"
-# feature from special mm packages
-PACKAGECONFIG[aacp] += "--enable-aacpdec,--disable-aacpdec,libfslaacpcodec,libfslaacpcodec"
-MSDEPENDS = "libfslmsparser libfslmscodec"
-PACKAGECONFIG[wma10dec] +="--enable-wma10dec,--disable-wma10dec,${MSDEPENDS},${MSDEPENDS}"
-PACKAGECONFIG[wma8enc] +="--enable-wma8enc,--disable-wma8enc,${MSDEPENDS},${MSDEPENDS}"
-PACKAGECONFIG[wmv9mpdec] +="--enable-wmv9mpdec,--disable-wmv9mpdec,${MSDEPENDS},${MSDEPENDS}"
-PACKAGECONFIG[wmv78dec] +="--enable-wmv78dec,--disable-wmv78dec,${MSDEPENDS},${MSDEPENDS}"
-
-FILES_${PN} = "${libdir}/gstreamer-0.10/*.so ${datadir}"
 # Add codec list that the beep plugin run-time depended
 BEEP_RDEPENDS = "libfslcodec-aac libfslcodec-mp3 libfslcodec-oggvorbis"
 RDEPENDS_${PN} += "gst-plugins-good-id3demux libfslparser ${BEEP_RDEPENDS}"
 
-FILES_${PN}-dbg += "${libdir}/gstreamer-0.10/.debug"
-FILES_${PN}-dev += "${libdir}/gstreamer-0.10/*.la ${libdir}/pkgconfig/*.pc"
-FILES_${PN}-staticdev += "${libdir}/gstreamer-0.10/*.a"
-
-FILES_${PN}-gplay = "${bindir}/gplay"
 FILES_${PN}-libmfwsconf = "${libdir}/libmfwsconf${SOLIBS}"
-FILES_${PN}-libgplaycore = "${libdir}/libgplaycore${SOLIBS}"
-FILES_${PN}-libgstfsl = "${libdir}/libgstfsl-0.10${SOLIBS}"
 FILES_${PN}-libme = "${libdir}/libme${SOLIBS}"
 FILES_${PN}-libgstbufmeta = "${libdir}/libgstbufmeta${SOLIBS}"
 FILES_${PN}-libmfwba =  "${libdir}/libmfwba${SOLIBS}"
recipes-multimedia/gstreamer/gst-fsl-plugin_3.0.11.bb +28 -0
index d0b0c9e..6e243c4 100644
@@ -5,7 +5,35 @@ require gst-fsl-plugin.inc
 
 EXTRA_OECONF += " CROSS_ROOT=${PKG_CONFIG_SYSROOT_DIR}"
 
+SRC_URI = "${FSL_MIRROR}/gst-fsl-plugins-${PV}.tar.gz \
+           file://build-Fix-out-of-tree-build.patch \
+           file://Remove-use-of-obsolete-VIDIOC_DBG_G_CHIP_IDENT.patch \
+"
+
+S = "${WORKDIR}/gst-fsl-plugins-${PV}"
+
 SRC_URI[md5sum] = "0ed858681a74857034c006036023e6ce"
 SRC_URI[sha256sum] = "fbc6000b401ac2c8d67d1414372f4a929cf0a5808f6ed1640f1d2bfcce2f2a4f"
 
+DEPENDS_append = " gstreamer gst-plugins-base"
+
+# FIXME: Add all features
+# feature from excluded mm packages
+PACKAGECONFIG[ac3] += "--enable-ac3dec,--disable-ac3dec,libfslac3codec,libfslac3codec"
+# feature from special mm packages
+PACKAGECONFIG[aacp] += "--enable-aacpdec,--disable-aacpdec,libfslaacpcodec,libfslaacpcodec"
+MSDEPENDS = "libfslmsparser libfslmscodec"
+PACKAGECONFIG[wma10dec] +="--enable-wma10dec,--disable-wma10dec,${MSDEPENDS},${MSDEPENDS}"
+PACKAGECONFIG[wma8enc] +="--enable-wma8enc,--disable-wma8enc,${MSDEPENDS},${MSDEPENDS}"
+PACKAGECONFIG[wmv9mpdec] +="--enable-wmv9mpdec,--disable-wmv9mpdec,${MSDEPENDS},${MSDEPENDS}"
+PACKAGECONFIG[wmv78dec] +="--enable-wmv78dec,--disable-wmv78dec,${MSDEPENDS},${MSDEPENDS}"
+
+FILES_${PN} = "${libdir}/gstreamer-0.10/*.so ${datadir}"
+FILES_${PN}-dbg += "${libdir}/gstreamer-0.10/.debug"
+FILES_${PN}-dev += "${libdir}/gstreamer-0.10/*.la ${libdir}/pkgconfig/*.pc"
+FILES_${PN}-staticdev += "${libdir}/gstreamer-0.10/*.a"
+FILES_${PN}-gplay = "${bindir}/gplay"
+FILES_${PN}-libgplaycore = "${libdir}/libgplaycore${SOLIBS}"
+FILES_${PN}-libgstfsl = "${libdir}/libgstfsl-0.10${SOLIBS}"
+
 COMPATIBLE_MACHINE = "(mx28|mx5|mx6)"
Signature · 1 line
1.7.9.5
author
#2 lore raw

PATCH v2 2/4 gst-fsl-plugin: Upgrade from version 3.0.11 to 4.0.1

In reply to Zidan Wang

Remove build-Fix-out-of-tree-build.patch since it has been merged to version 4.0.1. Add mx6sx support.
Gstreamer0.1 Freescale Plugin upgrade to version 4.0.1.

Changes about version 4.0.1:
- Include some bug fix.
- [vpudec plugin] Add "dis-reorder" property to disable video reorder.
- Use create parser 2 in aiurdemux.
- Add MX6SX support in Makefile.
- V4lsink update for PXP rotation and resize.
- [v4lsink/src] Modify the plugin name to imxv4l2sink and imxv4l2src.
- Remove software video decoder plugin.
- Remove EULA in the package since the package is LGPLv2 license.
- gplay add --noautonext option for auto_test tool.
- Support out-of-tree build.
- Update parser header file to use mp4 parser 06.09.01.

---
 recipes-multimedia/gstreamer/gst-fsl-plugin.inc    |    2 +
 .../build-Fix-out-of-tree-build.patch              |  617 --------------------
 ...sl-plugin_3.0.11.bb => gst-fsl-plugin_4.0.1.bb} |    5 +-
 3 files changed, 4 insertions(+), 620 deletions(-)
 delete mode 100644 recipes-multimedia/gstreamer/gst-fsl-plugin/build-Fix-out-of-tree-build.patch
 rename recipes-multimedia/gstreamer/{gst-fsl-plugin_3.0.11.bb => gst-fsl-plugin_4.0.1.bb} (88%)
recipes-multimedia/gstreamer/gst-fsl-plugin.inc +2 -0
index d8733db..b803808 100644
@@ -11,6 +11,7 @@ DEPENDS_append_mx5 = " imx-lib imx-vpu"
 DEPENDS_append_mx6q = " imx-lib imx-vpu libfslvpuwrap"
 DEPENDS_append_mx6dl = " imx-lib imx-vpu libfslvpuwrap"
 DEPENDS_append_mx6sl = " imx-lib"
+DEPENDS_append_mx6sx = " imx-lib"
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
                     file://COPYING-LGPL-2;md5=5f30f0716dfdd0d91eb439ebec522ec2 \
@@ -21,6 +22,7 @@ inherit autotools pkgconfig
 PLATFORM_mx5 = "MX51"
 PLATFORM_mx6 = "MX6"
 PLATFORM_mx6sl = "MX6SL"
+PLATFORM_mx6sx = "MX6SX"
 PLATFORM_mx28 = "MX28"
 
 # Todo add a mechanism to map posible build targets
recipes-multimedia/gstreamer/gst-fsl-plugin/build-Fix-out-of-tree-build.patch deleted +0 -617

617 lines not on this page · raw message

recipes-multimedia/gstreamer/gst-fsl-plugin_4.0.1.bb renamed from recipes-multimedia/gstreamer/gst-fsl-plugin_3.0.11.bb +2 -3
similarity index 88%
rename from recipes-multimedia/gstreamer/gst-fsl-plugin_3.0.11.bb
rename to recipes-multimedia/gstreamer/gst-fsl-plugin_4.0.1.bb
index 6e243c4..f58ee3d 100644
@@ -6,14 +6,13 @@ require gst-fsl-plugin.inc
 EXTRA_OECONF += " CROSS_ROOT=${PKG_CONFIG_SYSROOT_DIR}"
 
 SRC_URI = "${FSL_MIRROR}/gst-fsl-plugins-${PV}.tar.gz \
-           file://build-Fix-out-of-tree-build.patch \
            file://Remove-use-of-obsolete-VIDIOC_DBG_G_CHIP_IDENT.patch \
 "
 
 S = "${WORKDIR}/gst-fsl-plugins-${PV}"
 
-SRC_URI[md5sum] = "0ed858681a74857034c006036023e6ce"
-SRC_URI[sha256sum] = "fbc6000b401ac2c8d67d1414372f4a929cf0a5808f6ed1640f1d2bfcce2f2a4f"
+SRC_URI[md5sum] = "6db4bec9c1cd75758c3c529896307810"
+SRC_URI[sha256sum] = "629bbb904879571c058647acfa07ac7a11ea32350be14f4cb2b72dbac80ae42c"
 
 DEPENDS_append = " gstreamer gst-plugins-base"
 
Signature · 1 line
1.7.9.5
author
#3 lore raw

PATCH v2 3/4 gst1.0-fsl-plugin: Add Freescale Gstreamer1.0 Plugins for MX6

In reply to Zidan Wang

Add Freescale Gstreamer1.0 plugins.
- Support Audio/Video local playback
- Support HTTP/RTSP Streaming playback
- Support RTP/UDP MPEGTS Streaming
- Support RTSP Streaming Server

---
 .../gstreamer/gst1.0-fsl-plugin_4.0.1.bb           |   35 ++++++++++++++++++++
 1 file changed, 35 insertions(+)
 create mode 100644 recipes-multimedia/gstreamer/gst1.0-fsl-plugin_4.0.1.bb
recipes-multimedia/gstreamer/gst1.0-fsl-plugin_4.0.1.bb new file +35 -0
new file mode 100644
index 0000000..6a44978
@@ -0,0 +1,35 @@
+# Copyright (C) 2014 Freescale Semiconductor
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+require gst-fsl-plugin.inc
+
+SRC_URI = "${FSL_MIRROR}/gst1.0-fsl-plugins-${PV}.tar.gz"
+S = "${WORKDIR}/gst1.0-fsl-plugins-${PV}"
+
+EXTRA_OECONF += " CROSS_ROOT=${PKG_CONFIG_SYSROOT_DIR}"
+
+SRC_URI[md5sum] = "38d20aa22910a841593318aa638fb702"
+SRC_URI[sha256sum] = "972babc09f53fb0139a350c5b4267101793fcb96d289c4ae402d6a6ddddbe085"
+
+DEPENDS_append = " gstreamer1.0 gstreamer1.0-plugins-base"
+
+PACKAGECONFIG ?= "overlaysink"
+# FIXME: Add all features
+# feature from excluded mm packages
+PACKAGECONFIG[ac3] += ",,libfslac3codec,libfslac3codec"
+# feature from special mm packages
+PACKAGECONFIG[aacp] += ",,libfslaacpcodec,libfslaacpcodec"
+MSDEPENDS = "libfslmsparser libfslmscodec"
+PACKAGECONFIG[wma10dec] += ",,${MSDEPENDS},${MSDEPENDS}"
+PACKAGECONFIG[wma8enc] += "--enable-wma8enc,--disable-wma8enc,${MSDEPENDS},${MSDEPENDS}"
+PACKAGECONFIG[overlaysink] += "--enable-overlaysink,--disable-overlaysink,gpu-viv-g2d"
+
+FILES_${PN} = "${libdir}/gstreamer-1.0/*.so ${datadir}"
+FILES_${PN}-dbg += "${libdir}/gstreamer-1.0/.debug"
+FILES_${PN}-dev += "${libdir}/gstreamer-1.0/*.la ${libdir}/pkgconfig/*.pc"
+FILES_${PN}-staticdev += "${libdir}/gstreamer-1.0/*.a"
+FILES_${PN}-gplay = "${bindir}/gplay-1.0"
+FILES_${PN}-libgplaycore = "${libdir}/libgplaycore-1.0${SOLIBS}"
+FILES_${PN}-libgstfsl = "${libdir}/libgstfsl-1.0${SOLIBS}"
+
+COMPATIBLE_MACHINE = "(mx6)"
Signature · 1 line
1.7.9.5
author
#4 lore raw

PATCH v2 4/4 libfslvpuwrap: Upgrade from version 1.0.46 to 1.0.54

In reply to Zidan Wang

Remove the IOVirtmem patch since it has been merged into version 1.0.54. libfslvpuwrap upgrade to version 1.0.54.

Changes about version 1.0.54:
- Include some bug fix.
- Enhance the robust in avcc conversion operation for corrupted clips.
- Add api to query the available frame buffer number in decoder code refine.
- Add config for intra refresh mode: VPU_ENC_CONF_INTRA_REFRESH_MODE.
- Change deblock related parameter to improve encode quality.
- Config stuff padding(disable) for mjpeg encoder.
- Add some parameters for unit test, include gamma, initialdelay, refreshratio, refreshmode.
- Add support for nal_size_length is equal to 1 or 2.
- Modify the checking of return value from IOGetVirtMem.
- For corrupted clip with only one frame, vpu report error instead of eos.
- Add detecting of resoluton change(bit20).

---
 ...-fix-tests-of-return-value-from-IOGetVirt.patch |   41 --------------------
 ...slvpuwrap_1.0.46.bb => libfslvpuwrap_1.0.54.bb} |    6 +--
 2 files changed, 3 insertions(+), 44 deletions(-)
 delete mode 100644 recipes-multimedia/libfslvpuwrap/libfslvpuwrap/0001-vpu_wrapper-fix-tests-of-return-value-from-IOGetVirt.patch
 rename recipes-multimedia/libfslvpuwrap/{libfslvpuwrap_1.0.46.bb => libfslvpuwrap_1.0.54.bb} (71%)
recipes-multimedia/libfslvpuwrap/libfslvpuwrap/0001-vpu_wrapper-fix-tests-of-return-value-from-IOGetVirt.patch deleted +0 -41
deleted file mode 100644
index ccd2d9e..0000000
@@ -1,41 +0,0 @@
-From 7ca66c10c05168c7d342df7c7a70d4a1ae0629f7 Mon Sep 17 00:00:00 2001
-From: Eric Nelson <[email protected]>
-Date: Sat, 28 Jun 2014 09:45:09 -0700
-Subject: [PATCH] vpu_wrapper: fix tests of return value from IOGetVirtMem
-
-IOGetVirtMem() returns a pointer or specifically -1 (MAP_FAILED)
-in the case of failure.
-
-Upstream-Status: Pending
-
-Signed-off-by: Laci Tele <[email protected]>
-Signed-off-by: Eric Nelson <[email protected]>
----
- vpu_wrapper.c | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/vpu_wrapper.c b/vpu_wrapper.c
-index 9249174..148c5df 100755
---- a/vpu_wrapper.c
-+++ b/vpu_wrapper.c
-@@ -6653,7 +6653,7 @@ VpuDecRetCode VPU_DecGetMem(VpuMemDesc* pInOutMem)
- 		return VPU_DEC_RET_FAILURE;
- 	}
- 	ret=IOGetVirtMem(&buff);
--	if(ret==0) //if(ret!=RETCODE_SUCCESS)
-+	if(ret == -1) //if(ret==MAP_FAILED)
- 	{
- 		VPU_ERROR("%s: get virtual memory failure: size=%d, ret=%d \r\n",__FUNCTION__,buff.size,ret);
- 		return VPU_DEC_RET_FAILURE;
-@@ -8277,7 +8277,7 @@ VpuEncRetCode VPU_EncGetMem(VpuMemDesc* pInOutMem)
- 		return VPU_ENC_RET_FAILURE;
- 	}
- 	ret=IOGetVirtMem(&buff);
--	if(ret==0) //if(ret!=RETCODE_SUCCESS)
-+	if(ret == -1) //if(ret==MAP_FAILED)
- 	{
- 		VPU_ENC_ERROR("%s: get virtual memory failure: size=%d, ret=%d \r\n",__FUNCTION__,buff.size,(UINT32)ret);
- 		return VPU_ENC_RET_FAILURE;
--- 
-1.9.1
-
recipes-multimedia/libfslvpuwrap/libfslvpuwrap_1.0.54.bb renamed from recipes-multimedia/libfslvpuwrap/libfslvpuwrap_1.0.46.bb +3 -3
similarity index 71%
rename from recipes-multimedia/libfslvpuwrap/libfslvpuwrap_1.0.46.bb
rename to recipes-multimedia/libfslvpuwrap/libfslvpuwrap_1.0.54.bb
index 8cc1523..008911e 100644
@@ -7,10 +7,10 @@ SECTION = "multimedia"
 LIC_FILES_CHKSUM = "file://EULA.txt;md5=93b784b1c11b3fffb1638498a8dde3f6"
 
 SRC_URI = "${FSL_MIRROR}/${PN}-${PV}.bin;fsl-eula=true"
-SRC_URI[md5sum] = "1f50110cb6de8ebf767fb9c5f8baf20d"
-SRC_URI[sha256sum] = "7fc1258de338339d19a1a35167393fdc4d773682dfd9b951b197403a075f85fd"
+S = "${WORKDIR}/${PN}-${PV}"
 
-SRC_URI_append = " file://0001-vpu_wrapper-fix-tests-of-return-value-from-IOGetVirt.patch"
+SRC_URI[md5sum] = "b07a2d4e7bf44225353106ed209f6dac"
+SRC_URI[sha256sum] = "eef2cc0c65d96d3a0f75d7134eef8ef0099ece2502d093fc13739edcb343e1dd"
 
 inherit fsl-eula-unpack autotools pkgconfig
 
Signature · 1 line
1.7.9.5