All times are UTC-06:00




Post new topic  Reply to topic  [ 7 posts ] 
Author Message
PostPosted: Mon Apr 25, 2005 7:45 am 
Offline

Joined: Fri Sep 24, 2004 1:39 am
Posts: 5
Hi!

I found that libdv library (http://libdv.sf.net/) is quite well writen and easily vectorisable, but curently don't use any potential power that is in PowerPC processors. Is there anyone interested?

I will be very happy if someone with knowledge looks at it. Kino will work much faster if this library is optimised.

Regards, Marek Szyprowski


Top
   
PostPosted: Mon Apr 25, 2005 7:54 pm 
Offline

Joined: Wed Oct 13, 2004 7:26 am
Posts: 348
Added to my TODO list :)
Though I still have a long list of things I want to check out, I'll definitely try to look at this one.

Thanks

Konstantinos


Top
   
PostPosted: Mon May 09, 2005 12:11 am 
Offline
Genesi

Joined: Fri Sep 24, 2004 1:39 am
Posts: 1422
Hi markos, how are you coming on this one?

R&B :-)


Top
   
PostPosted: Mon May 09, 2005 12:27 am 
Offline

Joined: Wed Oct 13, 2004 7:26 am
Posts: 348
Haven't started working on this one, yet. As you probably saw, I just posted a post on MySQL. Seems that I'll have to choose another app to show off Altivec. Might as well, be this one (libdv), if you like.
Apart from the glibc stuff I mean. I just want to find an app that would benefit from Altivec and work on it, till the FTF event.

Do you think I should start on this, or should I pick sth else? Here's my TODO list:

Algorithms:
Glibc calls (mem*, str* calls)
crc32 (vectorizable, known algorithm)
mysql(hashing, maybe vectorizable)
C math library calls
umac (hashing algorithm)
gzip (parallelizable, but may or may not be vectorizable)
bzip2 (same)
gmp (definitely vectorizable, but quite hard to do)
libmcrypt (AES, RC5, DES, 3DES) (vectorizable but needs lots of testing)
SSL (maybe, I haven't checked)
STL (it's vectorizable, see macstl)
CommonC++ (some of the methods in its classes may be vectorizable)
Boost (same)
xine/mplayer (I believe they already use altivec for codecs)
Cinerella (barely works on powerpc, it's in an alpha stage yet)
X RENDER extension (X.org, that might be useful)
ogg encoding (probably vectorizable?)
libdv (probably vectorizable)

So far I have done 7-9 mem* calls and 5/20 str* calls. I could go faster doing only Altivec, but I have to do scalar optimizations to cope with smaller sizes as well.

Konstantinos


Top
   
PostPosted: Mon May 16, 2005 8:34 am 
Offline

Joined: Thu Nov 18, 2004 11:48 am
Posts: 110
Quote:

Algorithms:

xine/mplayer (I believe they already use altivec for codecs)
ffmpeg, xine, mplayer and so on already use altivec optimizations, but aren't present as widely as the x86 SIMD ones. There is plenty of work available =)
Quote:
Cinellera (barely works on powerpc, it's in an alpha stage yet)
it uses ffmpeg and other libs see before, cinelerra-cvs (is a fork/branch that is buildable w/out black magic) seems working on ppc relatively fine
Quote:
X RENDER extension (X.org, that might be useful)
That could be quite useful.
Quote:
ogg encoding (probably vectorizable?)
Each segment is 255 bytes, I guess that it could enjoy some speedup even if is just for the IO (maybe libfreevec could help)

You may have a look at evas since it is a portable canvas that is embedded ready (works already on pdas) and could enjoy altivec optimizations.

(www.get-e.org)


Top
   
PostPosted: Wed May 18, 2005 8:08 am 
Offline

Joined: Fri Sep 24, 2004 1:39 am
Posts: 5
There is one more thing that urgently need to be (better) vectorised: mpeg2enc from mjpeg-tools. Right now it is hardly usable because of the speed. Please add it somewhere at the end of your todo list.
I know that Mpeg2 can be encoded using ffmpeg (almost 2 times faster!) but ffmpeg procudes streams that are not playable on my standalone DVD player.


Top
   
PostPosted: Wed May 18, 2005 8:28 pm 
Offline

Joined: Wed Oct 13, 2004 7:26 am
Posts: 348
Quote:
There is one more thing that urgently need to be (better) vectorised: mpeg2enc from mjpeg-tools. Right now it is hardly usable because of the speed. Please add it somewhere at the end of your todo list.
I know that Mpeg2 can be encoded using ffmpeg (almost 2 times faster!) but ffmpeg procudes streams that are not playable on my standalone DVD player.
added. thanks.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 7 posts ] 

All times are UTC-06:00


Who is online

Users browsing this forum: No registered users and 9 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
PowerDeveloper.org: Copyright © 2004-2012, Genesi USA, Inc. The Power Architecture and Power.org wordmarks and the Power and Power.org logos and related marks are trademarks and service marks licensed by Power.org.
All other names and trademarks used are property of their respective owners. Privacy Policy
Powered by phpBB® Forum Software © phpBB Group