getting jpeg-mmx to work
getting jpeg-mmx to work
I'd like to start a thread about getting jpeg-mmx or some other mmx/sse optimized jpeg library working. There have been some claims of success, but I've not been able to get anywhere.
So, anyone got it working? What did you have to do?
-db
So, anyone got it working? What did you have to do?
-db
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
i havnt got a c lue how to but i have read elsewhere about some success and i would love to see this as i think it would give a huge performance boost
James Wilson
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
A friend ofmine was trying to get it working on another project and I think he got it mostly working ok but only on Intel boxes. Plus it was a bit flaky especially if compiled with optimisation (half the point really!) and DCT_FASTEST caused it to barf.
Still, if anyone can get it working consistently, even on a limited set of platforms, I'd be interested to see what performance improvements you might get.
Phil
Still, if anyone can get it working consistently, even on a limited set of platforms, I'd be interested to see what performance improvements you might get.
Phil
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
i dont suppose we could have both libraries installed then have an option which to use. or does it have to be built the way you want it to work?
James
James
James Wilson
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
oh i see i will try this then so if i renem the library file from the mmx one to the one currently in use that should work? i mean work in the loosest possible sense of course lol
James Wilson
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
http://sourceforge.net/project/showfile ... e_id=12468
I have found this is it any use?
When you say build it do you need to tell what processor its on etc cos it appears it works it out for itself?
And would this help with zms too
I have found this is it any use?
When you say build it do you need to tell what processor its on etc cos it appears it works it out for itself?
And would this help with zms too
James Wilson
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
damn. when you say certain files are these jpg as it wouldnt be working on anything else would it? Platform wise, im gonna build something to test with, would amd or intel be prefered
James Wilson
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
Yes. My 'day job' has also involved some messing around with jpeg-mmx. We have foudn that sometimes it just crashes. Or we can get it to encode but not decode (or it might be the other way round). Basically it's just been a bit frustrating trying to get it to work consistently. And I think it won't work on AMD chips either as far as I recall, though it may have only been some of them.
Phil
Phil
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
ok then p4 then. Im gonna have a go cos i think it will help my slowdown problem.
James Wilson
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
it will be a 3gig celeron d i suppose the chipset is irrelevant
James Wilson
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk