Implement generic movie player

This commit is contained in:
2019-12-15 18:57:26 +01:00
parent b05d4c0799
commit 5b18f1644a
5 changed files with 40 additions and 53 deletions

View File

@ -657,7 +657,7 @@ void LCD_ShowPicture(u16 x1,u16 y1,u16 x2,u16 y2)
{
int i;
LCD_Address_Set(x1,y1,x2,y2);
for(i=0;i<12800;i++)
for(i=0;i<FRAME_SIZE;i++)
{
// LCD_WR_DATA8(image[i*2+1]);
LCD_WR_DATA8(image[i]);
@ -668,7 +668,7 @@ void LCD_ShowLogo(void)
{
int i;
LCD_Address_Set(0,0,159,75);
for(i=0;i<25600;i++)
for(i=0;i<FRAME_SIZE;i++)
{
LCD_WR_DATA8(logo_bmp[i]);
}