Does anyone know if there is a library or example code that uses the STM32's jpeg codec (the encoder specifically) that is on the Giga R1?
Why do you think that STM32 has a jpeg codec? If you have an additional info, please provide the link to it.
You can download the datasheet from the ST website here.
https://www.st.com/en/microcontrollers-microprocessors/stm32h747xi.html#documentation
The chip on the Giga R1 is STM32H747XI which I believe has the hardware jpeg codec available.
I decided to try Larry Banks software jpeg encoder (JPEGENC - Arduino Reference) but there a a name conflict with "JPEG". I had to comment out line #2839 "#define JPEG ((JPEG_TypeDef *) JPGDEC_BASE)" of the file .arduino15/packages/arduino/hardware/mbed_giga/4.1.1/cores/arduino/mbed/targets/TARGET_STM/TARGET_STM32H7/STM32Cube_FW/CMSIS/stm32h747xx.h. I'm sure there is a better way to avoid the name conflict but I haven't figured that out yet.
Otherwise I was able to get it to work.
The documentation for this encoder is pretty thin. I could not find an example on how to use it to encode an actual image, but once I realized what a JPEG MPU was, I figured out what was needed for the API.
I would still like to have a library that uses the hardware codec.
yes i tryed (JPEGENC - Arduino Reference ) with Nicla Vision but all the Pictures are pink