Last edited 4 months ago

How to accelerate JPEG compression and decompression

Applicable for STM32MP13x lines, STM32MP15x lines, Unknown MPU

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[edit | edit source]

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

2. How to add the libjpeg-turbo in your distribution[edit | edit source]

Browse the OpenEmbedded libjpeg-turbo recipe documentation[3]

3. References[edit | edit source]

  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