2024-09-03 10:55 AM
I wish to decode the output of the JPEG accelerator using the DMA2D controller from YCbCr to RGB, as referenced here:
I am using an stm32h7 nucleo board. In the DMA2D configuration menu I have set transfer mode to "Memory to Memory with Pixel Format Conversion". My problem is that in the foreground layer configuration, the input color mode drop down menu does not show YCbCr as an option. Do I have to set it up manually or is there some other way to configure DMA2D for this use case? For manual setup, are there any extra steps I should consider other than simply replacing the input color mode field to YCbCr? Do I need to consider any changes to the pinout?
I have checked and in the source files there is a macro for YCbCr input mode.