Last edited 2 years ago

How to accelerate JPEG compression and decompression

Applicable for STM32MP13x lines, STM32MP15x lines

It is possible to accelerate JPEG compression and decompression by replacing the default libjpeg[1] library with the libjpeg-turbo[2]library that uses the Arm® NEON technology.

1. How to check the libjpeg-turbo installation

 dpkg -l | grep jpeg
...
Hardware accelerated JPEG compression/decompression library
...

2. How to add the libjpeg-turbo in your distribution

Browse the OpenEmbedded libjpeg-turbo recipe documentation[3]

3. References

  1. http://libjpeg.sourceforge.net/ libjpeg official web site
  2. https://libjpeg-turbo.org/ libjpeg-turbo official web site
  3. https://layers.openembedded.org/layerindex/recipe/45003 OpenEmbedded libjpeg-turbo recipe documentation