Part Number: TDA2EG
Hi
I am studying how to draw some custom image to the display device.
And i found the related sources are at "vision_sdk\apps\src\rtos\draw2d". For example, if a Jeep image is needed in the surround view, the Draw2D_getBmpProperty14 function of draw2d_jeep_Image_228x432.c will be called.
So if i want to draw something custom, i can write the draw2d***.c just like draw2d_jeep_Image_228x432.c. Here i have some question about draw2d_jeep_Image_228x432.c:
Q1: I think the key of draw2d is to set the "gDraw2D_Bmp" array. So what does the members of "gDraw2D_Bmp" array stands for? the RGB value of per pixel?
Q2: If i have a image file, what the value of its "gDraw2D_Bmp" array should be? how to get these value?
Thanks
xuanbo