3 ms·
That's fantastic, and a very cool demo. How does the encoder performance compare to libjpeg-turbo? That also has some SIMD work for NEON.
by mappu 13y ago
That's fantastic, and a very cool demo.
How does the encoder performance compare to libjpeg-turbo? That also has some SIMD work for NEON.
- jpap 13y agoYes, Nokia contributed the NEON code for the DCT in libjpeg-turbo. I haven't had a chance to do a side-by-side comparison as yet, but I suspect the SnappyCam encoder is faster for many reasons, including choice of algorithm and the way they use two multiplies (low, high) at times, and their image row-by-row nature with function call overhead in favour of code maintainability.
- mansr 13y agoI was involved in some NEON work on libjpeg-turbo, and I can confirm that the image buffer management there is hell, as are some other aspects of the design. A from-scratch implementation with performance in mind should easily be quite a bit faster.