cancel
Showing results for 
Search instead for 
Did you mean: 

H7A3ZI-Q JPEG decoding

achovy
Associate II

hi 

I'm going to store JPEG data in an array and then decode it

I'm using H7A3ZI-Q for the board

 

uint16_t outdatabuffer [65535] ={0};

JPEG_Decode_DMA(&JPEG_Handle,(uint32_t)frameBuffer,bufferPointer , outdatabuffer);

I used this code, but only 0 was saved in outdatabuffer

 

Please let me know if there is any additional part or example code that needs to be set to decode the JPEG image data.

Thank you.

1 REPLY 1
Imen.D
ST Employee

Hello @achovy 

I recommend you that you get inspired from this JPEG decoding example:

STM32CubeH7/Projects/STM32H745I-DISCO/Examples/JPEG/JPEG_DecodingFromFLASH_DMA/readme.txt at master · STMicroelectronics/STM32CubeH7 · GitHub

You can get further information from this application note AN4996: How to use the JPEG codec peripheral on STM32 MCUs.

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen