Conversion from Raw Bayer format to RGB format in STM32F7508-DK
From the example code 'CAMERA' for STM32F7508-DK.
main.c/ "static void LCD_LL_ConvertLineToARGB8888(void *pSrc, void *pDst)" function we have configured DMA2D_Input_Color_Mode macro to DMA2D_INPUT_RGB888 and we are getting color image but the colors are not identical, in the place of yellow color we ara getting blue color and in the place of blue we are getting yellow color. This may be because of Bayer's color format. We tried all the macros mentioned below under DMA2D_Input_Color_Mode.
DMA2D_INPUT_ARGB8888 0x00000000U
DMA2D_INPUT_RGB888 0x00000001U
DMA2D_INPUT_RGB565 0x00000002U
DMA2D_INPUT_ARGB1555 0x00000003U
DMA2D_INPUT_ARGB4444 0x00000004U
DMA2D_INPUT_L8 0x00000005U
DMA2D_INPUT_AL44 0x00000006U
DMA2D_INPUT_AL88 0x00000007U
DMA2D_INPUT_L4 0x00000008U
DMA2D_INPUT_A8 0x00000009U
DMA2D_INPUT_A4 0x0000000AU
Can you please share the configuration for Bayer format.
