cancel
Showing results for 
Search instead for 
Did you mean: 

How to rotate jpeg image in stm32h7 by hw jpeg codec or libjpeg library

tehniksit
Associate

Hello. Is there a better way to rotate image by 90 degree than just decompress into pixel array and then rotate it by for cycle?

I’m trying to play mjpeg video from sd card by using hardware jpeg codec and dma2d. I’m successfuly done it. But if I want to rotate image using the way I mentioned, it’s slow and not possible to play it by 25fps but much less. Maybe is it possible to combine hw jpeg and libjpeg to do so? Also a thing that would be useful is to crop image.

0 REPLIES 0