Skip to contentSkip to conversation

GStreamer patches for OMAP3

PATCH New Felipe Contreras 2 participants 9 messages Sep 19, 2010 – Nov 6, 2010

lore
Share & tools
lore
#0 lore raw

cover GStreamer patches for OMAP3

Hi,

The first patch is a bit of improvement for GStreamer, the next two enable TI's OMAP3 DSP (by using tidspbridge driver), the fourth ist some tools to test the afforementioned DSP, and the final one is another video sink optimized for OMAP.

I've tested these on a Nokia N900, but should work on any OMAP3 device.

Felipe Contreras (5):
gstreamer: remove unnecessary feature
Add tidsp-binaries package
Add gst-dsp package
Add dsp-tools package
Add gst-omapfb package

 package/Config.in                                  |    1 +
 package/dsp-tools/Config.in                        |    7 +++++++
 package/dsp-tools/dsp-tools.mk                     |   13 +++++++++++++
 package/multimedia/Config.in                       |    3 +++
 package/multimedia/gst-dsp/Config.in               |    8 ++++++++
 package/multimedia/gst-dsp/gst-dsp.mk              |   15 +++++++++++++++
 package/multimedia/gst-omapfb/Config.in            |    7 +++++++
 package/multimedia/gst-omapfb/gst-omapfb.mk        |   15 +++++++++++++++
 package/multimedia/gstreamer/Config.in             |    6 ------
 package/multimedia/gstreamer/gstreamer.mk          |   10 ++--------
 package/multimedia/tidsp-binaries/Config.in        |    6 ++++++
 .../multimedia/tidsp-binaries/tidsp-binaries.mk    |    9 +++++++++
 12 files changed, 86 insertions(+), 14 deletions(-)
 create mode 100644 package/dsp-tools/Config.in
 create mode 100644 package/dsp-tools/dsp-tools.mk
 create mode 100644 package/multimedia/gst-dsp/Config.in
 create mode 100644 package/multimedia/gst-dsp/gst-dsp.mk
 create mode 100644 package/multimedia/gst-omapfb/Config.in
 create mode 100644 package/multimedia/gst-omapfb/gst-omapfb.mk
 create mode 100644 package/multimedia/tidsp-binaries/Config.in
 create mode 100644 package/multimedia/tidsp-binaries/tidsp-binaries.mk
Signature · 1 line
1.7.3
#1 lore raw

PATCH 1/5 gstreamer: remove unnecessary feature

On 0.10.11 the binary-registry was added, on 0.10.12 the libxml2 dependency was dropped when binary-registry was used, on 0.10.18 the binary-registry was made default, and on 0.10.23 it was the only option.

So, libxml2 is not needed any more for the registry.

---
 package/multimedia/gstreamer/Config.in    |    6 ------
 package/multimedia/gstreamer/gstreamer.mk |   10 ++--------
 2 files changed, 2 insertions(+), 14 deletions(-)
package/multimedia/gstreamer/Config.in +0 -6
index a3ce859..7de904c 100644
@@ -9,9 +9,3 @@ config BR2_PACKAGE_GSTREAMER
 
 comment "gstreamer requires a toolchain with WCHAR support"
 	depends on !BR2_USE_WCHAR
-
-config BR2_PACKAGE_GSTREAMER_LIBXML2
-	bool "require libxml2 for registry and load/save"
-	default y
-	select BR2_PACKAGE_LIBXML2
-	depends on BR2_PACKAGE_GSTREAMER
package/multimedia/gstreamer/gstreamer.mk +2 -8
index 49ac0df..d689619 100644
@@ -19,15 +19,9 @@ endif
 GSTREAMER_CONF_OPT = \
 		--disable-examples \
 		--disable-tests \
-		--disable-failing-tests
+		--disable-failing-tests \
+		--disable-loadsave
 
 GSTREAMER_DEPENDENCIES = libglib2 host-pkg-config
 
-ifeq ($(BR2_PACKAGE_GSTREAMER_LIBXML2),y)
-GSTREAMER_DEPENDENCIES += libxml2
-else
-GSTREAMER_CONF_OPT += \
-	--disable-loadsave
-endif
-
 $(eval $(call AUTOTARGETS,package/multimedia,gstreamer))
Signature · 1 line
1.7.3
#2 lore raw

PATCH 2/5 Add tidsp-binaries package

In reply to Felipe Contreras
---
 package/multimedia/Config.in                       |    1 +
 package/multimedia/tidsp-binaries/Config.in        |    6 ++++++
 .../multimedia/tidsp-binaries/tidsp-binaries.mk    |    9 +++++++++
 3 files changed, 16 insertions(+), 0 deletions(-)
 create mode 100644 package/multimedia/tidsp-binaries/Config.in
 create mode 100644 package/multimedia/tidsp-binaries/tidsp-binaries.mk
package/multimedia/Config.in +1 -0
index 3b0eec5..c84962d 100644
@@ -25,6 +25,7 @@ source "package/multimedia/mpg123/Config.in"
 source "package/multimedia/mplayer/Config.in"
 source "package/multimedia/speex/Config.in"
 source "package/multimedia/swfdec/Config.in"
+source "package/multimedia/tidsp-binaries/Config.in"
 source "package/multimedia/festival/Config.in"
 source "package/multimedia/taglib/Config.in"
 source "package/multimedia/tremor/Config.in"
package/multimedia/tidsp-binaries/Config.in new file +6 -0
new file mode 100644
index 0000000..2d50b62
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_TIDSP_BINARIES
+	bool "tidsp-binaries"
+	help
+	  TI OMAP3 DSP algorithms.
+
+	  https://gforge.ti.com/gf/project/openmax/
package/multimedia/tidsp-binaries/tidsp-binaries.mk new file +9 -0
new file mode 100644
index 0000000..5dc9205
@@ -0,0 +1,9 @@
+TIDSP_BINARIES_VERSION=23.i3.8
+TIDSP_BINARIES_SOURCE=tidsp-binaries-$(TIDSP_BINARIES_VERSION).tar.gz
+TIDSP_BINARIES_SITE:=http://gst-dsp.googlecode.com/files/
+
+define TIDSP_BINARIES_INSTALL_TARGET_CMDS
+	$(MAKE) -C $(@D) -e DESTDIR=$(TARGET_DIR) install
+endef
+
+$(eval $(call GENTARGETS,package/multimedia,tidsp-binaries))
Signature · 1 line
1.7.3
#3 lore raw

PATCH 3/5 Add gst-dsp package

In reply to Felipe Contreras
---
 package/multimedia/Config.in          |    1 +
 package/multimedia/gst-dsp/Config.in  |    8 ++++++++
 package/multimedia/gst-dsp/gst-dsp.mk |   15 +++++++++++++++
 3 files changed, 24 insertions(+), 0 deletions(-)
 create mode 100644 package/multimedia/gst-dsp/Config.in
 create mode 100644 package/multimedia/gst-dsp/gst-dsp.mk
package/multimedia/Config.in +1 -0
index c84962d..c921346 100644
@@ -5,6 +5,7 @@ source "package/multimedia/aumix/Config.in"
 source "package/multimedia/flac/Config.in"
 source "package/multimedia/ffmpeg/Config.in"
 source "package/multimedia/gstreamer/Config.in"
+source "package/multimedia/gst-dsp/Config.in"
 source "package/multimedia/gst-plugins-base/Config.in"
 source "package/multimedia/gst-plugins-good/Config.in"
 source "package/multimedia/gst-plugins-bad/Config.in"
package/multimedia/gst-dsp/Config.in new file +8 -0
new file mode 100644
index 0000000..c4d1033
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_GST_DSP
+	bool "gst-dsp"
+	depends on BR2_PACKAGE_GSTREAMER
+	select BR2_PACKAGE_TIDSP_BINARIES
+	help
+	  GStreamer plug-in to access TI OMAP3 DSP algorithms.
+
+	  http://code.google.com/p/gst-dsp/
package/multimedia/gst-dsp/gst-dsp.mk new file +15 -0
new file mode 100644
index 0000000..12ca5d8
@@ -0,0 +1,15 @@
+GST_DSP_VERSION=0.8.0
+GST_DSP_SOURCE=gst-dsp-$(GST_DSP_VERSION).tar.gz
+GST_DSP_SITE=http://gst-dsp.googlecode.com/files/
+
+define GST_DSP_BUILD_CMDS
+	$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) -e
+endef
+
+define GST_DSP_INSTALL_TARGET_CMDS
+	$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) -e DESTDIR=$(TARGET_DIR) install
+endef
+
+GST_DSP_DEPENDENCIES = gstreamer
+
+$(eval $(call GENTARGETS,package/multimedia,gst-dsp))
Signature · 1 line
1.7.3
#4 lore raw

PATCH 4/5 Add dsp-tools package

In reply to Felipe Contreras
---
 package/Config.in              |    1 +
 package/dsp-tools/Config.in    |    7 +++++++
 package/dsp-tools/dsp-tools.mk |   13 +++++++++++++
 3 files changed, 21 insertions(+), 0 deletions(-)
 create mode 100644 package/dsp-tools/Config.in
 create mode 100644 package/dsp-tools/dsp-tools.mk
package/Config.in +1 -0
index 2209b55..8fee423 100644
@@ -466,6 +466,7 @@ source "package/sysklogd/Config.in"
 source "package/sysvinit/Config.in"
 source "package/util-linux/Config.in"
 endif
+source "package/dsp-tools/Config.in"
 endmenu
 
 menu "Text editors and viewers"
package/dsp-tools/Config.in new file +7 -0
new file mode 100644
index 0000000..c37d76c
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_DSP_TOOLS
+	bool "dsp-tools"
+	select BR2_PACKAGE_TIDSP_BINARIES
+	help
+	  Utilities for TI OMAP3 DSP.
+
+	  http://github.com/felipec/dsp-tools
package/dsp-tools/dsp-tools.mk new file +13 -0
new file mode 100644
index 0000000..39d11d6
@@ -0,0 +1,13 @@
+DSP_TOOLS_VERSION=2.0
+DSP_TOOLS_SOURCE=dsp-tools-$(DSP_TOOLS_VERSION).tar.gz
+DSP_TOOLS_SITE=http://gst-dsp.googlecode.com/files/
+
+define DSP_TOOLS_BUILD_CMDS
+	$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) -e
+endef
+
+define DSP_TOOLS_INSTALL_TARGET_CMDS
+	$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) -e DESTDIR=$(TARGET_DIR) install
+endef
+
+$(eval $(call GENTARGETS,package,dsp-tools))
Signature · 1 line
1.7.3
#5 lore raw

PATCH 5/5 Add gst-omapfb package

In reply to Felipe Contreras
---
 package/multimedia/Config.in                |    1 +
 package/multimedia/gst-omapfb/Config.in     |    7 +++++++
 package/multimedia/gst-omapfb/gst-omapfb.mk |   15 +++++++++++++++
 3 files changed, 23 insertions(+), 0 deletions(-)
 create mode 100644 package/multimedia/gst-omapfb/Config.in
 create mode 100644 package/multimedia/gst-omapfb/gst-omapfb.mk
package/multimedia/Config.in +1 -0
index c921346..ab3ce90 100644
@@ -6,6 +6,7 @@ source "package/multimedia/flac/Config.in"
 source "package/multimedia/ffmpeg/Config.in"
 source "package/multimedia/gstreamer/Config.in"
 source "package/multimedia/gst-dsp/Config.in"
+source "package/multimedia/gst-omapfb/Config.in"
 source "package/multimedia/gst-plugins-base/Config.in"
 source "package/multimedia/gst-plugins-good/Config.in"
 source "package/multimedia/gst-plugins-bad/Config.in"
package/multimedia/gst-omapfb/Config.in new file +7 -0
new file mode 100644
index 0000000..e4a62c0
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_GST_OMAPFB
+	bool "gst-omapfb"
+	depends on BR2_PACKAGE_GSTREAMER
+	help
+	  GStreamer plug-in to use OMAP framebuffer.
+
+	  http://github.com/felipec/gst-omapfb
package/multimedia/gst-omapfb/gst-omapfb.mk new file +15 -0
new file mode 100644
index 0000000..e370c4e
@@ -0,0 +1,15 @@
+GST_OMAPFB_VERSION=1.0
+GST_OMAPFB_SOURCE=gst-omapfb-$(GST_OMAPFB_VERSION).tar.gz
+GST_OMAPFB_SITE=http://gst-dsp.googlecode.com/files/
+
+define GST_OMAPFB_BUILD_CMDS
+	$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) -e
+endef
+
+define GST_OMAPFB_INSTALL_TARGET_CMDS
+	$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) -e DESTDIR=$(TARGET_DIR) install
+endef
+
+GST_OMAPFB_DEPENDENCIES = gstreamer
+
+$(eval $(call GENTARGETS,package/multimedia,gst-omapfb))
Signature · 1 line
1.7.3
#6 lore raw

cover GStreamer patches for OMAP3

In reply to Felipe Contreras

Hi,

Quoted 6 lines · Felipe Contreras

The first patch is a bit of improvement for GStreamer, the next two enable TI's OMAP3 DSP (by using tidspbridge driver), the fourth ist some tools to test the afforementioned DSP, and the final one is another video sink optimized for OMAP.

I've tested these on a Nokia N900, but should work on any OMAP3 device.

Ping? Is there anything wrong with these?

Signature · 1 line
Felipe Contreras
#7 lore raw

cover GStreamer patches for OMAP3

Quoted 10 lines · Felipe Contreras
Quoted 6 lines · Felipe Contreras

The first patch is a bit of improvement for GStreamer, the next two enable TI's OMAP3 DSP (by using tidspbridge driver), the fourth ist some tools to test the afforementioned DSP, and the final one is another video sink optimized for OMAP.

I've tested these on a Nokia N900, but should work on any OMAP3 device.

Ping? Is there anything wrong with these?

Hello?

Signature · 1 line
Felipe Contreras
#8 lore raw

cover GStreamer patches for OMAP3

In reply to Felipe Contreras
Quoted 5 lines · On Mon, 20 Sep 2010 02:42:54 +0300 Felipe Contreras…

The first patch is a bit of improvement for GStreamer, the next two enable TI's OMAP3 DSP (by using tidspbridge driver), the fourth ist some tools to test the afforementioned DSP, and the final one is another video sink optimized for OMAP.

Quoted 8 lines

I've tested these on a Nokia N900, but should work on any OMAP3 device.

Felipe Contreras (5):
gstreamer: remove unnecessary feature
Add tidsp-binaries package
Add gst-dsp package
Add dsp-tools package
Add gst-omapfb package

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com