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.