Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Maemo: Developers

OGG support

 

 

First page Previous page 1 2 Next page Last page  View All Maemo developers RSS feed   Index | Next | Previous | View Threaded


mgrimme at online

Oct 30, 2005, 2:29 AM

Post #1 of 31 (4439 views)
Permalink
OGG support

Hello,

I have written a little program which can fluently play OGG Vorbis
files on the device. This shows that OGG support is technically
possible and, by utilizing the DSP, it could even be implemented more
efficient. My CPU-only implementation causes about 20% CPU load for
playing in CD quality.

I'm going to add a little GUI and provide an installer package
for my OGG player soon.


Regards, Martin


barbieri at gmail

Oct 30, 2005, 5:24 AM

Post #2 of 31 (4389 views)
Permalink
OGG support [In reply to]

On 10/29/05, Martin Grimme <mgrimme [at] online> wrote:
> Hello,
>
> I have written a little program which can fluently play OGG Vorbis
> files on the device. This shows that OGG support is technically
> possible and, by utilizing the DSP, it could even be implemented more
> efficient. My CPU-only implementation causes about 20% CPU load for
> playing in CD quality.
>
> I'm going to add a little GUI and provide an installer package
> for my OGG player soon.

Are you using GStreamer OGG or what? If not, why not?

A oggsink, in the same way mp3sink acts, would rock!

--
Gustavo Sverzut Barbieri
---------------------------------------
Computer Engineer 2001 - UNICAMP
GPSL - Grupo Pro Software Livre
Cell..: +55 (19) 9165 8010
Jabber: gsbarbieri [at] jabber
ICQ#: 17249123
MSN: barbieri [at] gmail
Skype: gsbarbieri
GPG: 0xB640E1A2 @ wwwkeys.pgp.net


linuxhippy at gmail

Oct 30, 2005, 1:06 PM

Post #3 of 31 (4390 views)
Permalink
OGG support [In reply to]

Wow, really great someone is really doing it finally, although I can't
really underand why they did not include it in the default
distribution - ogg is THE next generation audio compression format.
I am looking excited foreward to test the first version!

Personally I do not care which project is used as basis as long as:
- The package does not use too much flash space when installed (< 3mb or so)
- Can handle playlists
- Would be great to have: volume management using the dedicated buttons ;-)

lg Clemens

> > I have written a little program which can fluently play OGG Vorbis
> > files on the device. This shows that OGG support is technically
> > possible and, by utilizing the DSP, it could even be implemented more
> > efficient. My CPU-only implementation causes about 20% CPU load for
> > playing in CD quality.
> >
> > I'm going to add a little GUI and provide an installer package
> > for my OGG player soon.
>
> Are you using GStreamer OGG or what? If not, why not?
>
> A oggsink, in the same way mp3sink acts, would rock!
>
> --
> Gustavo Sverzut Barbieri
> ---------------------------------------
> Computer Engineer 2001 - UNICAMP
> GPSL - Grupo Pro Software Livre
> Cell..: +55 (19) 9165 8010
> Jabber: gsbarbieri [at] jabber
> ICQ#: 17249123
> MSN: barbieri [at] gmail
> Skype: gsbarbieri
> GPG: 0xB640E1A2 @ wwwkeys.pgp.net
> _______________________________________________
> maemo-developers mailing list
> maemo-developers [at] maemo
> https://maemo.org/mailman/listinfo/maemo-developers
>


mgrimme at online

Oct 30, 2005, 1:17 PM

Post #4 of 31 (4387 views)
Permalink
OGG support [In reply to]

Hello,

Am Sonntag, den 30.10.2005, 01:28 -0200 schrieb Gustavo Sverzut
Barbieri:

> Are you using GStreamer OGG or what? If not, why not?
>
> A oggsink, in the same way mp3sink acts, would rock!

Currently, I'm not using gstreamer. My Ogg player was just a
proof of concept to see whether the Nokia 770 is fast enough
to decode Ogg Vorbis or not.
Of course it is not fast enough for the standard Ogg Vorbis
decoder. But there exists an integer-only version called
Tremor (http://www.xiph.org/vorbis/) which is usable on the
device.
The best way, however, would be utilizing the DSP for
decoding in order to decrease CPU load (constantly 20% is
a lot and drains battery). The DSP is already used for
decoding MP3 and MPEG4, so Nokia should be able to provide
Ogg support as well.
The gstreamer guys also tested Ogg on the device, but by using
the standard plugin, which is too slow. Currently there is
no plugin which uses Tremor, but Christian Schaller wrote in
his blog that they will be working on it.


Regards, Martin


mgrimme at online

Oct 30, 2005, 1:28 PM

Post #5 of 31 (4391 views)
Permalink
OGG support [In reply to]

Hi,

Am Sonntag, den 30.10.2005, 11:10 +0000 schrieb Clemens Eisserer:
> Wow, really great someone is really doing it finally, although I can't
> really underand why they did not include it in the default
> distribution - ogg is THE next generation audio compression format.
> I am looking excited foreward to test the first version!

I think the reason why Nokia didn't support Ogg until now was that
the standard Ogg decoder heavily relies on floating point operations
and is thus way too slow on the Nokia 770. The alternative integer-only
decoder Tremor doesn't have a gstreamer plugin yet.


> Personally I do not care which project is used as basis as long as:
> - The package does not use too much flash space when installed (< 3mb or so)
> - Can handle playlists
> - Would be great to have: volume management using the dedicated buttons ;-)

I have a player like this in mind. :)
But I also wouldn't mind Nokia porting the Tremor decoder to the DSP. ;)


Regards, Martin


fred at crozat

Oct 30, 2005, 1:43 PM

Post #6 of 31 (4398 views)
Permalink
OGG support [In reply to]

Le dimanche 30 octobre 2005 ? 11:10 +0000, Clemens Eisserer a ?crit :
> Wow, really great someone is really doing it finally, although I can't
> really underand why they did not include it in the default
> distribution - ogg is THE next generation audio compression format.
> I am looking excited foreward to test the first version!

It is quite simple : Nokia folks explained it during their presentation
at GUADEC : they didn't had time to implement both MP3 and OGG, so they
decided to do MP3 support first, because it is still the most used audio
format by average users. Same idea for video, which is forcing N770 to
use both Real Helix and Gstreamer in the video player, because they
needed Real suppport. Of course, Nokia developers really wanted to
support open formats but those were not a priority, which is quite
understandable when you think they want to do a successful product for
everybody, not only free software geeks..

--
Fr?d?ric Crozat - fred [at] crozat


lassis at cc

Oct 30, 2005, 2:07 PM

Post #7 of 31 (4397 views)
Permalink
OGG support [In reply to]

Martin Grimme kirjoitti 30.10.2005 kello 13.21:

> The gstreamer guys also tested Ogg on the device, but by using
> the standard plugin, which is too slow. Currently there is
> no plugin which uses Tremor, but Christian Schaller wrote in
> his blog that they will be working on it.

Hi,

I think there is an "ivorbis" plugin for gstreamer 0.8 series (used
in the 770)
already. If the plugin cross-compiles, having ARM-side ogg support
might only
be a matter of modifying the configuration accordingly (such as
registering
the plugin, a new mimetype and an appropriate pipeline).

BR,
Lassi


koen at handhelds

Oct 30, 2005, 2:30 PM

Post #8 of 31 (4389 views)
Permalink
OGG support [In reply to]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Martin Grimme wrote:
> Hi,
>
> Am Sonntag, den 30.10.2005, 11:10 +0000 schrieb Clemens Eisserer:
>
>>Wow, really great someone is really doing it finally, although I can't
>>really underand why they did not include it in the default
>>distribution - ogg is THE next generation audio compression format.
>>I am looking excited foreward to test the first version!
>
>
> I think the reason why Nokia didn't support Ogg until now was that
> the standard Ogg decoder heavily relies on floating point operations
> and is thus way too slow on the Nokia 770. The alternative integer-only
> decoder Tremor doesn't have a gstreamer plugin yet.


Nonsense, gst-plugin-ivorbis has been around for a while now. The only
problem is that the gstreamer people forget to apply small API tweaks
every time gstreamer gets improved. Cristian has mentioned
(http://blogs.gnome.org/view/uraeus/2005/10/28/0) that they will port
ivorbis to gstreamer 0.9.

regards,

Koen

>
>
>
>>Personally I do not care which project is used as basis as long as:
>>- The package does not use too much flash space when installed (< 3mb or so)
>>- Can handle playlists
>>- Would be great to have: volume management using the dedicated buttons ;-)
>
>
> I have a player like this in mind. :)
> But I also wouldn't mind Nokia porting the Tremor decoder to the DSP. ;)
>
>
> Regards, Martin
>
>
> _______________________________________________
> maemo-developers mailing list
> maemo-developers [at] maemo
> https://maemo.org/mailman/listinfo/maemo-developers
>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFDZL4yMkyGM64RGpERAn5fAJwNjWVNgWtt8PqA2p6iJd7JIZ6LnwCgrDFv
Uf8IOgCJmYUG7l40tZ1ufc8=
=ehRU
-----END PGP SIGNATURE-----


zeenix at gmail

Oct 30, 2005, 4:26 PM

Post #9 of 31 (4390 views)
Permalink
OGG support [In reply to]

Hey buddies,

> Nonsense, gst-plugin-ivorbis has been around for a while now. The only
> problem is that the gstreamer people forget to apply small API tweaks
> every time gstreamer gets improved. Cristian has mentioned
> (http://blogs.gnome.org/view/uraeus/2005/10/28/0) that they will port
> ivorbis to gstreamer 0.9.

'small' API tweaks? Are you familliar with the changes between 0.8
and 0.9 for plugin writers?

--
Regards,

Zeeshan Ali


koen at handhelds

Oct 30, 2005, 4:48 PM

Post #10 of 31 (4393 views)
Permalink
OGG support [In reply to]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Zeeshan Ali wrote:
> Hey buddies,
>
>
>>Nonsense, gst-plugin-ivorbis has been around for a while now. The only
>>problem is that the gstreamer people forget to apply small API tweaks
>>every time gstreamer gets improved. Cristian has mentioned
>>(http://blogs.gnome.org/view/uraeus/2005/10/28/0) that they will port
>>ivorbis to gstreamer 0.9.
>
>
> 'small' API tweaks? Are you familliar with the changes between 0.8
> and 0.9 for plugin writers?

I was getting at 0.8. The ivorbis plugin doesn't play nice with playbin,
while other plugins do (the mad one). This is currently stopping GPE
from having reliable ogg support on arm based handhelds.
The main point of my reply was: there is an ivorbis plugin, so stop
saying it doesn't exist.

regards,

Koen

>
> --
> Regards,
>
> Zeeshan Ali
>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFDZN6BMkyGM64RGpERAuHqAKC3kaTKsM30A8btTp51/VQms3dfhACfbsUN
tQV3F1IVU3aD5Sg7D125HGs=
=vDfV
-----END PGP SIGNATURE-----


linuxhippy at gmail

Oct 30, 2005, 5:10 PM

Post #11 of 31 (4380 views)
Permalink
OGG support [In reply to]

Hello,

> Of course it is not fast enough for the standard Ogg Vorbis
> decoder. But there exists an integer-only version called
> Tremor (http://www.xiph.org/vorbis/) which is usable on the
> device.
What I wonder is that it seems FP is really slow on the Nokia770,
although the ARM9 built in seems to support FP operations in hw.
I am just a bit curious about that, any ideas why its still that slow?
Take the fp-instructions that much cycles?

lg Clemens


nils.faerber at kernelconcepts

Oct 30, 2005, 7:56 PM

Post #12 of 31 (4397 views)
Permalink
OGG support [In reply to]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Clemens Eisserer schrieb:
> Hello,
>>Of course it is not fast enough for the standard Ogg Vorbis
>>decoder. But there exists an integer-only version called
>>Tremor (http://www.xiph.org/vorbis/) which is usable on the
>>device.
> What I wonder is that it seems FP is really slow on the Nokia770,
> although the ARM9 built in seems to support FP operations in hw.
> I am just a bit curious about that, any ideas why its still that slow?
> Take the fp-instructions that much cycles?

I am quite sure that the ARM9 does not support FP at all. What is IMHO
supported are some FP traps that would trap into kernel or other FP
software implementations. But that dies not speed up anything. There is
to my knowledge no embedded CPU that has hw FP built in.

All software FP implementations are of course very CPU intensive. You
have to calculate the FP result in software which takes several hundred
cycles while in hardware it would only take just a few cycles. So FP on
emebdded devices will probably always be dead slow - at least for the
next future.

Concerning OGG the Vorbis people took integer only into account from the
very early beginning of the development. As a result the finaly codec
was quite easy to be optimised for integer, the result is Tremor which
was released just a few weeks after final OGG/Vorbis release.

Concerning the 770 the integer version could be a first start for having
OGG capabilities at all. The OMAP DSP device is open to a certain
extend. The tools to develop code for it are freely available, some
documentation is too. The DSP in the 770 is controlled by the also free
DSP gateway project. So there is no big reason why there cannot be a
free DSP OGG code any time in the near future. I guess on of the major
problems here is that developing code for DSPs is not very well known in
the open source community... on the other that could be a very
interesting software project ;)

> lg Clemens
Cheers
nils faerber

- --
kernel concepts Tel: +49-271-771091-12
Dreisbachstr. 24 Fax: +49-271-771091-19
D-57250 Netphen Mob: +49-176-21024535
- --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDZRgiJXeIURG1qHgRAgnvAKDWjNCxVnKIkQ42FGAtWt/oB5/5ngCg2Xyx
miia0f67DpZq9NVzTzRp9l0=
=63mu
-----END PGP SIGNATURE-----


eero.tamminen at movial

Oct 31, 2005, 11:37 AM

Post #13 of 31 (4395 views)
Permalink
OGG support [In reply to]

Hi,

> What I wonder is that it seems FP is really slow on the
> Nokia770, although the ARM9 built in seems to support FP operations in
> hw. I am just a bit curious about that, any ideas why its still that
> slow?

Linux kernel has FPU emulation support (has actually had since 386 times)
which to user space looks like the real HW. For ARM kernel there are
actually several alternatives for the FPU emulation...

- Eero


jpakkane at yahoo

Oct 31, 2005, 11:59 AM

Post #14 of 31 (4404 views)
Permalink
OGG support [In reply to]

--- Martin Grimme <mgrimme [at] online> wrote:

> I have written a little program which can fluently
> play OGG Vorbis
> files on the device. This shows that OGG support is
> technically
> possible and, by utilizing the DSP, it could even be
> implemented more
> efficient.

That's cool. There has been some confusion on why
there is no official OGG support. As far as I can
tell, the situation is as follows (note: I'm not
working for Nokia or any other such company, and I
don't actually know any hidden, hard facts. Consider
the following an educated guess)

The lack of OGG is caused by two things. The time
shortage has already been mentioned on this list.
There have been semi-reliable rumors that
DSP-accelerated OGG is now working somewhere in the
vaults of Nokia.

The other reason is a combination of lawyers and SW
patents. As far as people can tell, there are no
patents on OGG. But a company the size of Nokia can't
rely on that. They have to check and then double check
for themselves, which is a slow process. Their lawyers
simply will not allow an unchecked release, because
otherwise some IP poachers could sue them for millions
of dollars due to "patent infringement". Given the
current (sorry) state of patent laws, this is
unfortunately the way it _has_ to go.

Anyway, I'm fairly confident that the next (or the one
after that) SW release will support OGG. Until then
I'll just use this proggie to play my OGGs.


__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com


paul.mundt at nokia

Oct 31, 2005, 2:35 PM

Post #15 of 31 (4400 views)
Permalink
OGG support [In reply to]

On Sun, Oct 30, 2005 at 07:59:46PM +0100, Nils Faerber wrote:
> I am quite sure that the ARM9 does not support FP at all. What is IMHO
> supported are some FP traps that would trap into kernel or other FP
> software implementations. But that dies not speed up anything. There is
> to my knowledge no embedded CPU that has hw FP built in.
>
Some versions of the ARM9 support VFP, which allows for partial hardware
FP support for some basic single and double precision opcodes, and traps
for the rest (it however does not offer a IEEE754 compliant interface in
hardware, and requires quite a bit of help from software to do so). OMAP
2420 supports this, OMAP 1710 does not. As such, we presently use
in-kernel NWFPE.

Additionally, since VFP still uses this antiquated co-processor
load/store scheme, it's pretty tough to get instruction level
parallelism, or decent performance out of the pipelining (unless you can
come up with some carefully crafted set of instructions that you can keep
in the icache long enough for it to matter). This is just speculation
though, someone with more direct VFP experience might have some better
insight in to this.

As far as embedded CPUs supporting hardware FP, this is a ridiculous
statement. Almost every other embedded architecture out there besides ARM
supports IEEE754 in hardware. Some opt for something more like the VFP
approach, where most of the heavy and frequently used opcodes are
handled, and the rest is left to software.

> All software FP implementations are of course very CPU intensive. You
> have to calculate the FP result in software which takes several hundred
> cycles while in hardware it would only take just a few cycles. So FP on
> emebdded devices will probably always be dead slow - at least for the
> next future.
>
This is not necessarily true either, and is one of the bigger reasons for
pushing EABI. It makes sense to use VFP for what it supports natively,
most of the rest of it is better left to something like soft-float.
Kernel FP emulation is slow by definition.

> Concerning the 770 the integer version could be a first start for having
> OGG capabilities at all. The OMAP DSP device is open to a certain
> extend. The tools to develop code for it are freely available, some
> documentation is too. The DSP in the 770 is controlled by the also free
> DSP gateway project. So there is no big reason why there cannot be a
> free DSP OGG code any time in the near future. I guess on of the major
> problems here is that developing code for DSPs is not very well known in
> the open source community... on the other that could be a very
> interesting software project ;)
>
An integer based decoder on MPU side would certainly be the most sensible
approach.


koen at handhelds

Oct 31, 2005, 2:48 PM

Post #16 of 31 (4386 views)
Permalink
OGG support [In reply to]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Paul Mundt wrote:
<snip>
>>All software FP implementations are of course very CPU intensive. You
>>have to calculate the FP result in software which takes several hundred
>>cycles while in hardware it would only take just a few cycles. So FP on
>>emebdded devices will probably always be dead slow - at least for the
>>next future.
>>
>
> This is not necessarily true either, and is one of the bigger reasons for
> pushing EABI. It makes sense to use VFP for what it supports natively,
> most of the rest of it is better left to something like soft-float.
> Kernel FP emulation is slow by definition.

What's nokia's position on EABI[1]? I've heard debian has been
discussing this an other distros for ARM devices (Familiar and
OpenZaurus) are planning a switch too. I know glibc lacked EABI support
and RMK raised some more concerns, but I haven't been paying attention
to it for the past few months.
So I'm very interested in nokia's point of view on this EABI thing :)

regards,

Koen


[1] http://www.codesourcery.com/gnu_toolchains/arm/faq.html
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFDZhPIMkyGM64RGpERAiAuAJ9feX4ZGEOJKZtopkMVfjnivSyFWgCfZxKY
gaZiv8f7eG6LrxuPLd8jmA8=
=JDIQ
-----END PGP SIGNATURE-----


jholmblad at aol

Oct 31, 2005, 3:16 PM

Post #17 of 31 (4402 views)
Permalink
OGG support [In reply to]

Martin,

does the N770 have a programmer's reference manual? I would like to
learn more about the characteristics of the Digital Signal Processor
(DSP), part #, manufacturer, etc., and how it is integrated into the
N770. From the discussion on this list it would appear that even though
the initial release of the N770 software from Nokia will not make use of
the DSP, that it has been designed into the product in order to provide
signal processing offload for audio at least, and perhaps video/graphics
as well.

Best Regards,

John Holmblad

Televerage International
GSEC Gold,GCWN Gold,GGSC-0100,NSA-IAM,NSA-IEM

(H) 703 620 0672
(M) 703 407 2278
(F) 703 620 5388

primary email address: jholmblad [at] aol
backup email address: jholmblad [at] verizon

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://maemo.org/pipermail/maemo-developers/attachments/20051031/c724d74b/attachment.htm


dufkaf at seznam

Oct 31, 2005, 3:19 PM

Post #18 of 31 (4382 views)
Permalink
OGG support [In reply to]

Hello,

N770 has TI OMAP 1710
see documentation here http://dspgateway.sourceforge.net


Frantisek

John B. Holmblad wrote:
> Martin,
>
> does the N770 have a programmer's reference manual? I would like to
> learn more about the characteristics of the Digital Signal Processor
> (DSP), part #, manufacturer, etc., and how it is integrated into the
> N770. From the discussion on this list it would appear that even though
> the initial release of the N770 software from Nokia will not make use of
> the DSP, that it has been designed into the product in order to provide
> signal processing offload for audio at least, and perhaps video/graphics
> as well.
>
> Best Regards,
>
> John Holmblad
>
> Televerage International
> GSEC Gold,GCWN Gold,GGSC-0100,NSA-IAM,NSA-IEM
>
> (H) 703 620 0672
> (M) 703 407 2278
> (F) 703 620 5388
>
> primary email address: jholmblad [at] aol <mailto:jholmblad [at] aol>
> backup email address: jholmblad [at] verizon <mailto:jholmblad [at] verizon>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> maemo-developers mailing list
> maemo-developers [at] maemo
> https://maemo.org/mailman/listinfo/maemo-developers


juha.yrjola at nokia

Oct 31, 2005, 3:42 PM

Post #19 of 31 (4389 views)
Permalink
OGG support [In reply to]

On Mon, 2005-10-31 at 13:53 +0100, ext Koen Kooi wrote:

> What's nokia's position on EABI[1]?

At least this part of Nokia thinks that EABI is cool.

Cheers,
Juha


jan.wildeboer at gmx

Oct 31, 2005, 3:56 PM

Post #20 of 31 (4399 views)
Permalink
OGG support [In reply to]

Frantisek Dufka wrote:
> Hello,
>
> N770 has TI OMAP 1710
> see documentation here http://dspgateway.sourceforge.net

http://focus.ti.com/docs/prod/folders/print/omap5912.html#technicaldocuments


Seems a good starting point.

Kind regards

jan Wildeboer


nils.faerber at kernelconcepts

Oct 31, 2005, 6:29 PM

Post #21 of 31 (4394 views)
Permalink
OGG support [In reply to]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Paul Mundt schrieb:
> On Sun, Oct 30, 2005 at 07:59:46PM +0100, Nils Faerber wrote:
>>I am quite sure that the ARM9 does not support FP at all. What is IMHO
>>supported are some FP traps that would trap into kernel or other FP
>>software implementations. But that dies not speed up anything. There is
>>to my knowledge no embedded CPU that has hw FP built in.
[...]
> As far as embedded CPUs supporting hardware FP, this is a ridiculous
> statement. Almost every other embedded architecture out there besides ARM
> supports IEEE754 in hardware. Some opt for something more like the VFP
> approach, where most of the heavy and frequently used opcodes are
> handled, and the rest is left to software.

Well, then maybe my experience is limited here.
I had several ARM based platforms (no ARM9 up to now, admittedly) as
well as embedded PowerPC and MIPS. None of those had FP and had not
options for it.
At least to my experience lets say, hardware FP is uncommon...


> An integer based decoder on MPU side would certainly be the most sensible
> approach.

Sensible in what way?
Concerning time/effort effectiveness? Then this is probably correct.
Concerning the 770 the DSP based solution should improve device
performance since the MPU would be left for applications instead of
decoding.
Or do you think that the DSP is in general not able to handle OGG? If
yes it would be interesting to know why.

Cheers
nils faerber

- --
kernel concepts Tel: +49-271-771091-12
Dreisbachstr. 24 Fax: +49-271-771091-19
D-57250 Netphen Mob: +49-176-21024535
- --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDZkc3JXeIURG1qHgRAp8cAKCRSsua4ddyZOdQcloZa9UI6l3ifACgwyyF
zCSKXi/KkbS5oFc46ql4Wo0=
=q3w6
-----END PGP SIGNATURE-----


jholmblad at aol

Oct 31, 2005, 7:20 PM

Post #22 of 31 (4396 views)
Permalink
OGG support [In reply to]

Nils,

your assertion (incorrect it seems) about no ARM processors supporting
on-board floating point led me to do some searching and sure enough,
ARM, at least, has products that support onboard FPP. Check out the info
at the following urls:

http://www.arm.com/products/CPUs/Cortex-A8.html

http://www.us.design-reuse.com/articles/article11580.html

It appears that the Cortex-A8 has an onboard subsystem entitled "Neon" that has FPP and is designed to provide improved support for the kinds of multimedia apps being discussed in this thread.


Best Regards,

John Holmblad

Televerage International
GSEC Gold,GCWN Gold,GGSC-0100,NSA-IAM,NSA-IEM

(H) 703 620 0672
(M) 703 407 2278
(F) 703 620 5388

primary email address: jholmblad [at] aol
backup email address: jholmblad [at] verizon

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://maemo.org/pipermail/maemo-developers/attachments/20051031/faf3a5cc/attachment.html


ed at okerson

Oct 31, 2005, 7:40 PM

Post #23 of 31 (4386 views)
Permalink
OGG support [In reply to]

Martin,

The initial release does use the DSP quite extensively, just not for OGG.
This is all documented at http://dspgateway.sourceforge.net.

Ed

> Martin,
>
> does the N770 have a programmer's reference manual? I would like to
> learn more about the characteristics of the Digital Signal Processor
> (DSP), part #, manufacturer, etc., and how it is integrated into the
> N770. From the discussion on this list it would appear that even though
> the initial release of the N770 software from Nokia will not make use of
> the DSP, that it has been designed into the product in order to provide
> signal processing offload for audio at least, and perhaps video/graphics
> as well.
>
> Best Regards,
>
> John Holmblad
>
> Televerage International
> GSEC Gold,GCWN Gold,GGSC-0100,NSA-IAM,NSA-IEM
>
> (H) 703 620 0672
> (M) 703 407 2278
> (F) 703 620 5388
>
> primary email address: jholmblad [at] aol
> backup email address: jholmblad [at] verizon
>
> _______________________________________________
> maemo-developers mailing list
> maemo-developers [at] maemo
> https://maemo.org/mailman/listinfo/maemo-developers
>


paul.mundt at nokia

Oct 31, 2005, 9:44 PM

Post #24 of 31 (4398 views)
Permalink
OGG support [In reply to]

(This is really starting to veer off-topic for this list.. Hopefully
this will clear things up for people still wondering about hard FP)

On Mon, Oct 31, 2005 at 05:32:55PM +0100, Nils Faerber wrote:
> Well, then maybe my experience is limited here.
> I had several ARM based platforms (no ARM9 up to now, admittedly) as
> well as embedded PowerPC and MIPS. None of those had FP and had not
> options for it.
> At least to my experience lets say, hardware FP is uncommon...
>
I'm not sure what your experience is, or what kind of stripped down cores
you were using, but this kind of thing has _always_ been an option for
both embedded PowerPC and MIPS (at least as long as I have been hacking
on them).

With MIPS this kind of thing even goes back to the r2k (almost 2 decades
now, IEEE754 had been ratified in 1985), and has been optionally present
on virtually every major family and individual subtypes since then.
Generally implemented as CP1, where it's trivial to treat the FPUID (I
don't recall the official field designator off the top of my head) very
similar to how PRID parsing is done at runtime. Due to MIPS being fabless
(at least for a lot of its lifetime), I suppose it's quite probable that
whatever vendor you ended up with simply opted to drop this from the
package, however this is hardly the norm.

For embedded PowerPC it's just as common. Both 602 and 603e had it
(although it was only 603e that did double precision, but both were
IEEE754 compliant in hardware) -- this was also over a decade ago, and
people are still using these cores today. The only popular ones that were
lacking it were mpc860/mpc823 and some of the other low-end Motorola
cores (mpc750 had one).

Other embedded platforms (like SH) have even been doing separately
pipelined single-precision vector and matrix operations (128-bit) since
1997, and single/double-precision IEEE754 long before that. Even i960 was
doing hardware FP in those days and earlier.

ARM is really the _only_ architecture where lack of FP hardware is the
norm, rather than the exception. This is slowly starting to change now
with v6 and up supporting VFP (and some ARM9s as well), but I suppose it
will still be an optional component for quite some time, until they get
their implementations worked out. As others have also pointed out, there
are other ARM-based hard macros available with hard FP, besides VFP.

Anyways, let's not misrepresent other embedded architectures due to ARM
being late to the game. Making vague generalizations based on limited
exposure is misleading (even if based on your own experience and with
good intentions), and this will very likely end up confusing other
people. If you are still unsure about this, a few minutes with google
might help to clear things up.

The point remains however, FP of any sort is _not_ the way to go on 1710,
and I hope this is now sufficiently clear to anyone still wondering about
this.

> > An integer based decoder on MPU side would certainly be the most
> > sensible approach.
>
> Sensible in what way?
> Concerning time/effort effectiveness? Then this is probably correct.

Yes.

> Concerning the 770 the DSP based solution should improve device
> performance since the MPU would be left for applications instead of
> decoding.

If someone wants to go to the trouble of writing a DSP codec for OGG
decoding, they're certainly welcome to make a go of it. You can fetch a
toolchain from TI, load up the dspgateway page, and start hacking. I'm
certain Toshihiro-san will welcome any contributions :-)

The integer based decoder is clearly going to outperform any hard FP
based decoder (and most probably soft-float as well). 20% utilization on
MPU isn't that bad of a start though, so as far as time vs effort is
concerned, the integer based MPU way is still the most "approachable"
solution.


ross at burtonini

Oct 31, 2005, 10:37 PM

Post #25 of 31 (4400 views)
Permalink
Re: OGG support [In reply to]

On Mon, 2005-10-31 at 12:24 -0500, John B. Holmblad wrote:
> It appears that the Cortex-A8 has an onboard subsystem entitled "Neon"
> that has FPP and is designed to provide improved support for the kinds
> of multimedia apps being discussed in this thread.

To be fair the Cortex-A8 was released a few weeks ago...

Ross
--
Ross Burton mail: ross [at] burtonini
jabber: ross [at] burtonini
www: http://www.burtonini.com./
PGP Fingerprint: 1A21 F5B0 D8D0 CFE3 81D4 E25A 2D09 E447 D0B4 33DF

First page Previous page 1 2 Next page Last page  View All Maemo developers RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.