Libjpeg-turbo

by pykelloon 9/21/2016, 1:44 PMwith 25 comments

by mpweiheron 9/21/2016, 8:56 PM

I benchmarked libjpeg-turbo on iOS and Mac and it was significantly faster than the built-in stuff (typically around 2-3x), which includes the hardware decoder on iPhone.

by scosmanon 9/21/2016, 7:51 PM

Any context why this is suddenly trending? libjpeg-turbo is awesome, but hardly new.

by cmiller1on 9/21/2016, 8:27 PM

>a JPEG image codec that uses SIMD instructions (MMX, SSE2, NEON, AltiVec)

Wow, it's been a long time since I heard anything about AltiVec.

by devyon 9/21/2016, 9:48 PM

Honest questions: is this a complete re-implementation of libjpeg? (It was mentioned that this was originally based off libjpeg/SIMD, a libjpeg v6b fork.) If not, why can't this be backported to upstream libjpeg?

by rockdoeon 9/21/2016, 8:29 PM

If you need to save/encode images you really want mozjpeg instead.

by geoffton 9/21/2016, 9:25 PM

The libjpeg.so in Debian (from the current stable release onwards) and Ubuntu is libjpeg-turbo.

by gravypodon 9/22/2016, 5:15 PM

Is there a way to express SIMD in C? I'd expect that it's a solved problem.