DSP video (2009-09/10/11/12)
From AlwaysInnovating
This page gives information about DSP for an old software build (2009-09.a, 2009-10.a, 2009-11.a, 2009-12.a). Please upgrade to 2010-01.a on which DSP is working much better, and visit this page. We keep this page for history purpose only.
OMAP3530 includes the TI DSP co-processor which can decode MPEG2/4 video. This frees the main CPU while playing a video. There are two architectures: DSP Bridge and DSP link.
As a reminder, if you want to play a video with the main processor, use the following. As ai user:
gnome-mplayer /home/ai/Videos/air.avi
DSP Bridge
For DSP bridge, you need to launch the dspbridge-init service:
sudo /etc/init.d/dspbridge-init start
You can test the DSP with the following command:
/usr/bin/dynreg.out -r /dev/shm/dsp/pingdyn_3430.dll64P
/usr/bin/test-dsp/ping.out
To play a video with the co-processor, try the following as the ai user:
LD_PRELOAD=/lib/libbridge.so totem /home/ai/Videos/Protect\ Environment.avi
DSP Link
For DSP Link, you need to launch the dsplink-init service:
sudo /etc/init.d/dsplink-init start
To play a video with the co-processor, try the following as the ai user:
gst-launch -v filesrc location=/home/ai/Videos/Protect\ Environment.avi ! avidemux name=demux demux.video_00 ! TIViddec2 ! omapfbsink
