userlogo.c
上传用户:caisangzi8
上传日期:2013-10-25
资源大小:15756k
文件大小:9k
- // 2004/10/07 yltseng
- #include "user_init.h"
- #include "global.h"
- #include "avd.h"
- #include "osd.h"
- #include "memcfg.h"
- #include "ircode.h"
- #include "timer.h"
- #include "userlogo.h"
- #include "memmap0.h"
- #include "vpp.h"
- #include "macro.h"
- #include "tvif.h"
- #include "fsnav.h"
- #include "kinf.h"
- //FLASH related
- extern UINT16 FlashRead();
- extern int FlashWrite(UINT32 iStartAddr, BYTE *pBuf, UINT32 iLen);
- extern int FlashEraseSector(UINT32 unSectorNum);
- extern void reset_sup(void);
- #define WRITE_FLASH
- // **************************************************************************************** //
- #ifdef JPG_LOGO
- extern char _stextf[];
- extern INT8 dis_pic_id_saved_0;
- UINT8 Use_Ref0_Flag;
- //Terry,2003/9/12 11:40PM
- //these code only for reference,we will be not maintain it
- static void show_jpg_logo(void)
- {
- if(!Is_Jpg_Logo())
- {
- BYTE *p;
- UINT32 unOffset;
- #ifdef MONE_LOGO
- printf("logo inn");
- #endif
- LoadModual(MODUAL_MPEG);
- show_logo=1;
- //terry,2003/1/15 08:32