bitbank2 / JPEGDEC

An optimized JPEG decoder suitable for microcontrollers and PCs.
Apache License 2.0
390 stars 46 forks source link

Have you done a benchmark comparison with same setup but using Espressif's esp_jpg_decode.c code on ESP32? #24

Closed ericfont closed 3 years ago

ericfont commented 3 years ago

I notice Espressif has https://github.com/espressif/esp32-camera/blob/master/conversions/esp_jpg_decode.c (https://github.com/espressif/esp32-camera/blob/master/conversions/include/esp_jpg_decode.h header) which calls https://github.com/espressif/esp32-camera/blob/master/target/esp32s2/tjpgd.c for decoding. Have you done a comparison using your same setup but with their code? That will help us evaluate which is better.

bitbank2 commented 3 years ago

I did some initial testing with competing JPEG decoders (e.g. Bodmer's library) and mine averages about 50% faster. It's easy enough to set up a comparison if you're curious.