JPEG Hardware Decode

I wanted to use JPEG hardware decoder on H7. It seems the support is there but is not enabled in the code:

Also, it is not using DMA (HAL_JPEG_Decode_DMA) that would be way much faster.

Need to get this updated per the PR comments and merged into the main code base. However, it’s not a priority right now.

I can understand this is not on the priority list currently. I would like to know if it would work by enabling and building it locally, or if further steps are needed.

/* Hardware JPEG decoder */
#include STM32_HAL_H

Also, how do you call the decoder function using an image object?

The PR I linked to works if you fix the merge errors with it.

@yokonav JPEG hardware decoding for the STM32 has been merged into main. You can download the latest development firmware release to run it.

We will extend the MJPEG class to support reading MJPEG files too for demoing video playback.

1 Like

Thanks @kwagyeman, will try out soon!

Fun with AVI Files - OpenMV Products - OpenMV Forums