Poster | Thread |
Deniil715
| |
Jpeg.datatype and Jpeg.library for Altivec anyone?? Posted on 17-Apr-2015 9:03:34
| | [ #1 ] |
|
|
|
Elite Member |
Joined: 14-May-2003 Posts: 4236
From: Sweden | | |
|
| I have compiled libjpeg-turbo v9a which is a version of IJG libjpeg v9a with full Altivec-acceleration!
Now I seem unable to get hold of any author of jpeg.datatype or jpeg.library, but I would very much like to have a datatype based on this code since it is between 200-300% (!) faster that the normal libjpeg.
I have started to reimplement jpeg.library based on this code, but I would much rather (see anyone) use any existing code base to prevent reinventing the wheel, and to ensure full compatibility. _________________ - Don't get fooled by my avatar, I'm not like that (anymore, mostly... maybe only sometimes) > Amiga Classic and OS4 developer for OnyxSoft. |
|
Status: Offline |
|
|
tommysammy
| |
Re: Jpeg.datatype and Jpeg.library for Altivec anyone?? Posted on 17-Apr-2015 10:00:53
| | [ #2 ] |
|
|
|
Cult Member |
Joined: 20-Jan-2010 Posts: 662
From: Isselburg,Germany | | |
|
| @Deniil715
Well done, i hope we get something to play _________________ Amiga600/Vampire2/PrismaMegaMix |
|
Status: Offline |
|
|
broadblues
| |
Re: Jpeg.datatype and Jpeg.library for Altivec anyone?? Posted on 17-Apr-2015 10:17:27
| | [ #3 ] |
|
|
|
Amiga Developer Team |
Joined: 20-Jul-2004 Posts: 4446
From: Portsmouth England | | |
|
| |
Status: Offline |
|
|
Hypex
| |
Re: Jpeg.datatype and Jpeg.library for Altivec anyone?? Posted on 17-Apr-2015 16:11:40
| | [ #4 ] |
|
|
|
Elite Member |
Joined: 6-May-2007 Posts: 11180
From: Greensborough, Australia | | |
|
| @Deniil715
Is this a PPC specific thing or does it contain generic C/++ code with vector types? |
|
Status: Offline |
|
|
Severin
| |
Re: Jpeg.datatype and Jpeg.library for Altivec anyone?? Posted on 17-Apr-2015 16:20:23
| | [ #5 ] |
|
|
|
Elite Member |
Joined: 18-Aug-2003 Posts: 2740
From: Gloucestershire UK | | |
|
| @Deniil715
Whether it's the OS datatypes or WarpDT Oliver Roberts is the guy you need as he wrote both. _________________ OS4 Rocks X1000 beta tester, Sam440 Flex (733)
Visit the Official OS4 Support Site for more help.
It may be that your sole purpose is to serve as a warning to others. |
|
Status: Offline |
|
|
broadblues
| |
Re: Jpeg.datatype and Jpeg.library for Altivec anyone?? Posted on 17-Apr-2015 16:22:40
| | [ #6 ] |
|
|
|
Amiga Developer Team |
Joined: 20-Jul-2004 Posts: 4446
From: Portsmouth England | | |
|
| |
Status: Offline |
|
|
Deniil715
| |
Re: Jpeg.datatype and Jpeg.library for Altivec anyone?? Posted on 17-Apr-2015 20:36:00
| | [ #7 ] |
|
|
|
Elite Member |
Joined: 14-May-2003 Posts: 4236
From: Sweden | | |
|
| @Hypex
It's PPC Altivec specific, which means maximum acceleration.
But libjpeg-turbo has acceleration for a lot of CPUs. It started with MMX: "libjpeg-turbo is a JPEG image codec that uses SIMD instructions (MMX, SSE2, NEON, AltiVec) to accelerate baseline JPEG compression and decompression on x86, x86-64, ARM, and PowerPC systems. On such systems, libjpeg-turbo is generally 2-4x as fast as libjpeg, all else being equal." _________________ - Don't get fooled by my avatar, I'm not like that (anymore, mostly... maybe only sometimes) > Amiga Classic and OS4 developer for OnyxSoft. |
|
Status: Offline |
|
|
Tuxedo
| |
Re: Jpeg.datatype and Jpeg.library for Altivec anyone?? Posted on 17-Apr-2015 20:40:19
| | [ #8 ] |
|
|
|
Elite Member |
Joined: 28-Nov-2003 Posts: 2341
From: Perugia, ITALY | | |
|
| @Deniil715
For sure AW user Futaura(aka Oliver Roberts) was the guy you are looking for! ;) Only hope that he will/can do the job... _________________ Simone"Tuxedo"Monsignori, Perugia, ITALY. |
|
Status: Offline |
|
|
Hans
| |
Re: Jpeg.datatype and Jpeg.library for Altivec anyone?? Posted on 17-Apr-2015 20:51:50
| | [ #9 ] |
|
|
|
Elite Member |
Joined: 27-Dec-2003 Posts: 5066
From: New Zealand | | |
|
| @Deniil715
Since the JPEG datadype is part of the OS, you could try contacting Steven Solie if Oliver Roberts is hard to contact.
Hans
_________________ http://hdrlab.org.nz/ - Amiga OS 4 projects, programming articles and more. Home of the RadeonHD driver for Amiga OS 4.x project. https://keasigmadelta.com/ - More of my work. |
|
Status: Offline |
|
|
zzd10h
| |
Re: Jpeg.datatype and Jpeg.library for Altivec anyone?? Posted on 17-Apr-2015 23:04:38
| | [ #10 ] |
|
|
|
Amiga Developer Team |
Joined: 21-May-2012 Posts: 1077
From: France | | |
|
| @Deniil715
Please contact Futaura, it will be nice to have a very fast warpJPEG datatype delivered quickly ! _________________ http://apps.amistore.net/zTools |
|
Status: Offline |
|
|
Hypex
| |
Re: Jpeg.datatype and Jpeg.library for Altivec anyone?? Posted on 18-Apr-2015 16:03:25
| | [ #11 ] |
|
|
|
Elite Member |
Joined: 6-May-2007 Posts: 11180
From: Greensborough, Australia | | |
|
| @Deniil715
That good then, thanks. BTW, does that mean PCs now have a Turbo switch that activates MMX? |
|
Status: Offline |
|
|
Futaura
| |
Re: Jpeg.datatype and Jpeg.library for Altivec anyone?? Posted on 18-Apr-2015 20:21:43
| | [ #12 ] |
|
|
|
Regular Member |
Joined: 10-May-2004 Posts: 253
From: UK | | |
|
| Actually, Deniil715 did contact me before posting here - it just took me a while to reply, as my Amiga spare-time has been eaten up by trying to repair my A1200 motherboard (is looking like the chip ram has died). Would be a shame to lose it as it was the very first A1200 to successfully boot OS4 (after I fixed the kernel to work with a 603e) and it used to be my main development machine, and was important for WarpDT benchmarking. But, at least my BPPC/BVision and A1XE are still alive.
The Altivec libjpeg-turbo code hasn't been officially released yet, hence it flew below my radar, but I appreciate Deniil715 letting me know about it. I am now working on integrating the Altivec code into WarpJPEG - it will take a while as I can't simply replace jpeg-9a with libjpeg-turbo as my jpeg-9a build has many customisations and extensions, so it is a matter of merging everything together without affecting performance for those without Altivec. It is great that finally not just Apple users benefited from Altivec JPEG.
I will consider adding it to the OS4 jpeg.datatype too, but first Hyperion need to sort themselves out! WarpJPEG users are my priority having actually paid me to use it. _________________ IBrowse, AmiSSL and Warp Datatype Developer |
|
Status: Offline |
|
|
zzd10h
| |
Re: Jpeg.datatype and Jpeg.library for Altivec anyone?? Posted on 18-Apr-2015 20:50:47
| | [ #13 ] |
|
|
|
Amiga Developer Team |
Joined: 21-May-2012 Posts: 1077
From: France | | |
|
| @Futaura
"WarpJPEG users are my priority having actually paid me to use it."
If I understand well, you will implement this new JPEG Datatype ? Thank you ! _________________ http://apps.amistore.net/zTools |
|
Status: Offline |
|
|
Futaura
| |
Re: Jpeg.datatype and Jpeg.library for Altivec anyone?? Posted on 18-Apr-2015 22:53:28
| | [ #14 ] |
|
|
|
Regular Member |
Joined: 10-May-2004 Posts: 253
From: UK | | |
|
| @zzd10h
Yes, of course - anything in my quest to make the WarpDTs faster . I've been waiting a long time for Altivec optimisations like this. I can just about understand PowerPC assembly, but Altivec is beyond me. _________________ IBrowse, AmiSSL and Warp Datatype Developer |
|
Status: Offline |
|
|
smf
| |
Re: Jpeg.datatype and Jpeg.library for Altivec anyone?? Posted on 18-Apr-2015 23:41:57
| | [ #15 ] |
|
|
|
Regular Member |
Joined: 15-Mar-2003 Posts: 333
From: Växjö, Sweden | | |
|
| @Futaura
Off-topic
I'm a registered warpdt user since a while back, but i can't remember how the registration works, i registered warpdt to use it on my A4k with warpos but can i also use the same key on my Os4 machine? |
|
Status: Offline |
|
|
Futaura
| |
Re: Jpeg.datatype and Jpeg.library for Altivec anyone?? Posted on 18-Apr-2015 23:49:49
| | [ #16 ] |
|
|
|
Regular Member |
Joined: 10-May-2004 Posts: 253
From: UK | | |
|
| |
Status: Offline |
|
|
Chain-Q
| |
Re: Jpeg.datatype and Jpeg.library for Altivec anyone?? Posted on 19-Apr-2015 14:00:27
| | [ #17 ] |
|
|
|
Cult Member |
Joined: 31-Jan-2005 Posts: 824
From: Budapest, Hungary | | |
|
| @Futaura Quote:
It is great that finally not just Apple users benefited from Altivec JPEG. |
There are other operating systems too which sport Altivec accelerated jpeg support for many years now..._________________ MorphOS, classic Amiga, demoscene, and stuff "When a bridge is not enough, build a Viaduct!" "Strip the Amiga community of speculation and we can fit every forum on a 720k floppy" (by resle) |
|
Status: Offline |
|
|
broadblues
| |
Re: Jpeg.datatype and Jpeg.library for Altivec anyone?? Posted on 19-Apr-2015 15:10:19
| | [ #18 ] |
|
|
|
Amiga Developer Team |
Joined: 20-Jul-2004 Posts: 4446
From: Portsmouth England | | |
|
| |
Status: Offline |
|
|
Chain-Q
| |
Re: Jpeg.datatype and Jpeg.library for Altivec anyone?? Posted on 19-Apr-2015 15:17:51
| | [ #19 ] |
|
|
|
Cult Member |
Joined: 31-Jan-2005 Posts: 824
From: Budapest, Hungary | | |
|
| @broadblues Actually, no. Most widespread Linux distributions (Debian et.al.) don't support Altivec (in their precompiled binaries, that is), because most Linux libs (the few, which have Altivec optimizations anyway) usually don't support run-time detection and enabling of Altivec when the CPU supports it, only compile-time, and because the distributions usually have to run on non-Altivec systems too, they usually just disable it. Therefore if you want proper Altivec on Linux, you usually have to compile everything yourself. And most users of course don't do that.
You can have one more guess... _________________ MorphOS, classic Amiga, demoscene, and stuff "When a bridge is not enough, build a Viaduct!" "Strip the Amiga community of speculation and we can fit every forum on a 720k floppy" (by resle) |
|
Status: Offline |
|
|
Rob
| |
Re: Jpeg.datatype and Jpeg.library for Altivec anyone?? Posted on 19-Apr-2015 15:28:55
| | [ #20 ] |
|
|
|
Elite Member |
Joined: 20-Mar-2003 Posts: 6344
From: S.Wales | | |
|
| @Chain-Q
AROS PPC. |
|
Status: Offline |
|
|