Hi,everyone. i am a newbie on the DM6437. I try to use the OSD generator to show something.
I use VID0 to show a 800*480 picture on the LCD. It's already done. But when i add OSD0 to show
a color lump, i just can't understand why.
my code show next.
VPBE_OSD_OSDWIN0ADR = (Uint32)display_bmp_array;
VPBE_OSD_OSDWIN0OFST = 1;
VPBE_OSD_OSDWIN0XP = 100;
VPBE_OSD_OSDWIN0YP = 100;
VPBE_OSD_OSDWIN0XL = 1*16;
VPBE_OSD_OSDWIN0YL = 4;
VPBE_OSD_OSDWIN0MD = 0x00c7;
#pragma DATA_SECTION(display_bmp_array,"OSD_MEM");
#pragma DATA_ALIGN(dispaly_bmp_array,64);
unsigned char display_bmp_array[] =
{
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
}
I change the VPBE_OSD_OSDWIN0YL vaule. It's seems correct on the frist line.
regards
Johnson