⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 osd.h

📁 winboard vcd software
💻 H
📖 第 1 页 / 共 2 页
字号:
#define CHAR_CHANNEL1   CHAR_SOUND1
#define CHAR_CHANNEL2   CHAR_TRACK2
#define CHAR_SLOW1      (INDEX_BASE1+ 51)
#define CHAR_PLEASE     (INDEX_BASE1+ 52)
#define CHAR_CANCEL2    (INDEX_BASE1+ 53)
#define CHAR_RANDOM1    (INDEX_BASE1+ 54)
#define CHAR_RANDOM2    (INDEX_BASE1+ 55)
#define CHAR_STEP1      CHAR_SINGLE1
#define CHAR_STEP2      (INDEX_BASE1+ 56)
#define CHAR_STEP3      (INDEX_BASE1+ 57)
#define CHAR_STEP4      (INDEX_BASE1+ 58)
#define CHAR_FORWARD    CHAR_STEP4
#define CHAR_VIDEO1     (INDEX_BASE1+ 59)
#define CHAR_VIDEO2     (INDEX_BASE1+ 60)
#define CHAR_FREEZE1    (INDEX_BASE1+ 61)
#define CHAR_FREEZE2    CHAR_END1
#define CHAR_BOOK1      (INDEX_BASE1+ 62)
#define CHAR_BOOK2      (INDEX_BASE1+ 63)
#define CHAR_AUTO1      (INDEX_BASE1+ 64)
#define CHAR_AUTO2      (INDEX_BASE1+ 65)
#define CHAR_RESUME1    (INDEX_BASE1+ 66)
#define CHAR_RESUME2    CHAR_CONTINUE2
#define CHAR_STATE1     (INDEX_BASE1+ 67)
#define CHAR_STATE2     (INDEX_BASE1+ 68)
#define CHAR_REPEAT1    (INDEX_BASE1+ 69)
#define CHAR_LIVE1      (INDEX_BASE1+ 70)
#define CHAR_LIVE2      (INDEX_BASE1+ 71)
#define CHAR_MOVIE1     (INDEX_BASE1+ 72)
#define CHAR_MOVIE2     CHAR_VIDEO1
#define CHAR_READ       (INDEX_BASE1+ 73)
#define CHAR_ECHO2      (INDEX_BASE1+ 74)
#define CHAR_SURR1      (INDEX_BASE1+ 75)
#define CHAR_SURR2      (INDEX_BASE1+ 76)
#define CHAR_KARA1      (INDEX_BASE1+ 77)
#define CHAR_KARA2      (INDEX_BASE1+ 78)
#define CHAR_RETURN1    (INDEX_BASE1+ 79)
#define CHAR_REPEAT2    (INDEX_BASE1+ 80)
// #define CHAR_PREV3      (INDEX_BASE1+ 91)
// #define CHAR_NEXT3      CHAR_PREV3
#define CHAR_CANCEL1    (INDEX_BASE1+ 81)
#define CHAR_FOLLOW1    (INDEX_BASE1+ 82)
#define CHAR_FOLLOW2    (INDEX_BASE1+ 83)
#define CHAR_SING       CHAR_FOLLOW2
#define CHAR_ECHO1      (INDEX_BASE1+ 84)
#define CHAR_AUDIOLR    (INDEX_BASE1+ 85)//ban
#define CHAR_ORDER1     (INDEX_BASE1+ 86)
#define CHAR_ORDER2     (INDEX_BASE1+ 87)
// #define CHAR_BALANCE1   (INDEX_BASE1+ 99)
#define CHAR_PROGRAM1   (INDEX_BASE1+88)
#define CHAR_PROGRAM2   (INDEX_BASE1+89)
// #define CHAR_BALANCE2   (INDEX_BASE1+102)
#define CHAR_TIME1      (INDEX_BASE1+90)
#define CHAR_TIME2      (INDEX_BASE1+91)
#define CHAR_WAIT2      (INDEX_BASE1+92)
#define CHAR_CHANGE     (INDEX_BASE1+93)
#define CHAR_CENTER     (INDEX_BASE1+94)
#define CHAR_TRACKS     (INDEX_BASE1+95)
#define CHAR_DA         (INDEX_BASE1+96)
#define CHAR_BE         (INDEX_BASE1+97)
#define CHAR_XIANG      (INDEX_BASE1+98)
#define CHAR_MOVE       (INDEX_BASE1+99)
#define CHAR_AN         (INDEX_BASE1+100)
#define CHAR_JIAN	(INDEX_BASE1+101)
#define CHAR_GE		(INDEX_BASE1+102)
#define CHAR_WEI        (INDEX_BASE1+103)
#define CHAR_MU		(INDEX_BASE1+104)

// different from BC5380 begin
//#ifdef  ENGLISH_OSD
#define CHAR_END        (CHAR_MU) 
//#else
//#define CHAR_END        (CHAR_MOVE)
//#endif
#define CHAR_NUMBERS    (CHAR_END-CHAR_BEGIN +1)
//#define CHAR_NUMBERS    2
// different from BC5380 end

// the bMessage parameter for OSD_Output/ PANEL_Output function
// bMessage
#define MSG_OPEN            MSG_OSD_BASE+ 0
#define MSG_WAITING         MSG_OSD_BASE+ 1
#define MSG_STOPWAIT        MSG_OSD_BASE+ 2
#define MSG_INVALID         MSG_OSD_BASE+ 3
#define MSG_ABSTIME         MSG_OSD_BASE+ 4
#define MSG_RELTIME         MSG_OSD_BASE+ 5
#define MSG_REMAIN_ABSTIME  MSG_OSD_BASE+ 6
#define MSG_REMAIN_RELTIME  MSG_OSD_BASE+ 7

#define MSG_ENDLIST         MSG_OSD_BASE+ 10
#define MSG_PLAYLIST        MSG_OSD_BASE+ 11
#define MSG_SELECTIONLIST   MSG_OSD_BASE+ 12
// f/w 0.42
#define MSG_NEXT            MSG_OSD_BASE+ 13
// f/w 0.42
#define MSG_PREV            MSG_OSD_BASE+ 14
// f/w 0.42
#define MSG_RETURN          MSG_OSD_BASE+ 15
#define MSG_SELECTINPUT     MSG_OSD_BASE+ 16

#define MSG_PLAYING         MSG_OSD_BASE+ 20
#define MSG_STOP            MSG_OSD_BASE+ 21
#define MSG_SCANFORWARD     MSG_OSD_BASE+ 22
#define MSG_SCANBACKWARD    MSG_OSD_BASE+ 23
#define MSG_SLOW            MSG_OSD_BASE+ 24
#define MSG_PAUSE           MSG_OSD_BASE+ 25
#define MSG_FAST            MSG_OSD_BASE+ 26

#define MSG_DISCTYPE        MSG_OSD_BASE+ 30
#define MSG_DISCPOSITION    MSG_OSD_BASE+ 31
#define MSG_LOGO            MSG_OSD_BASE+ 32
#define MSG_TRACK           MSG_OSD_BASE+ 33
// f/w 0.42
#define MSG_NUMBER          MSG_OSD_BASE+ 34
#define MSG_DISPLAY         MSG_OSD_BASE+ 35
// f/w 0.42
#define MSG_CLEARPROGRAM    MSG_OSD_BASE+ 36
#define MSG_DIGEST          MSG_OSD_BASE+ 37
#define MSG_DIGESTNUMBER    MSG_OSD_BASE+ 38
#define MSG_VOLUME          MSG_OSD_BASE+ 39
#define MSG_MUTE            MSG_OSD_BASE+ 40
#define MSG_REPEAT          MSG_OSD_BASE+ 41
#define MSG_RANDOM          MSG_OSD_BASE+ 42
#define MSG_PROGRAM         MSG_OSD_BASE+ 43
#define MSG_SETPROGRAM      MSG_OSD_BASE+ 44
#define MSG_REPEATAB        MSG_OSD_BASE+ 45
#define MSG_PBC             MSG_OSD_BASE+ 46
#define MSG_TVMODE          MSG_OSD_BASE+ 47
// f/w 0.42 #define MSG_RESIZE          MSG_OSD_BASE+ 48
#define MSG_KEY10           MSG_OSD_BASE+ 49
// f/w 0.42 #define MSG_KARAOKEKEY      MSG_OSD_BASE+ 50
#define MSG_AUDIO           MSG_OSD_BASE+ 51
#define MSG_SETGOTOTIME     MSG_OSD_BASE+ 52
#define MSG_GOTOTIME        MSG_OSD_BASE+ 53
#define MSG_INTRO           MSG_OSD_BASE+ 54
#define MSG_PROCESSING      MSG_OSD_BASE+ 55
// update panel track number
// but OSD do not need to show
#define MSG_UPDATETRACK     MSG_OSD_BASE+ 56
// set current play program index
#define MSG_PROGRAMINDEX   MSG_OSD_BASE+ 57
#define MSG_MOTION         MSG_OSD_BASE+ 58
//disable current OSD display
// f/w 0.42 #define MSG_DISABLE         MSG_OSD_BASE+ 60
// f/w 0.42 #define MSG_SELECTINVALID   MSG_OSD_BASE+ 61
#define MSG_CDDA            MSG_OSD_BASE+ 62
#define MSG_KEYUP           MSG_OSD_BASE+ 63
#define MSG_KEYDOWN         MSG_OSD_BASE+ 64
#define MSG_KEYNORMAL       MSG_OSD_BASE+ 65
#define MSG_ENTER           MSG_OSD_BASE+ 66
#define MSG_VOCAL           MSG_OSD_BASE+ 67
#define MSG_STEP            MSG_OSD_BASE+ 68
#define MSG_FREEZE          MSG_OSD_BASE+ 69
#define MSG_RESUME          MSG_OSD_BASE+ 70
#define MSG_PRACTICE        MSG_OSD_BASE+ 71
#define MSG_AUTOSTOP        MSG_OSD_BASE+ 72
#define MSG_BOOKMARK        MSG_OSD_BASE+ 73
#define MSG_POWER           MSG_OSD_BASE+ 74
#define MSG_OSDRECOVER      MSG_OSD_BASE+ 75
#define MSG_ECHO            MSG_OSD_BASE+ 76
#define MSG_SURROUND        MSG_OSD_BASE+ 77
#define MSG_PALTITLE        MSG_OSD_BASE+ 78
// add a message to notify OSD do not process the next coming message
#define MSG_IGNORENEXT      MSG_OSD_BASE+ 79
#define MSG_INPUTPROGRAM    MSG_OSD_BASE+ 80
#define MSG_AUTOVOCAL       MSG_OSD_BASE+ 81
#define MSG_VOICECANCEL     MSG_OSD_BASE+ 82
#define MSG_KARAOKE         MSG_OSD_BASE+ 83
#define MSG_FORCEDISPLAY    MSG_OSD_BASE+ 84

// *TCH** 97.6.30; Please be continue NO.
#define MSG_LED1            MSG_OSD_BASE+ 85
#define MSG_LED2            MSG_OSD_BASE+ 86
#define MSG_LED3            MSG_OSD_BASE+ 87
#define MSG_LED4            MSG_OSD_BASE+ 88
#define MSG_VERSION         MSG_OSD_BASE+ 89

// *** Ver. 0.42;
#define MSG_DISCSTATUS      MSG_OSD_BASE+ 90
#define MSG_CHANGEDISCPOS   MSG_OSD_BASE+ 91
// f/w 0.42
#define MSG_CDROM_DECODE    MSG_OSD_BASE+ 92
#define MSG_ERR_PICTURE     MSG_OSD_BASE+ 93

#define MSG_CHECKLOADER     MSG_OSD_BASE+ 94   // *** MULTI_DISC;
#define MSG_TOTALTRACKS     MSG_OSD_BASE+ 95
#define MSG_3D              MSG_OSD_BASE+ 97
#define MSG_ZOOM            MSG_OSD_BASE+ 98
#define MSG_ZOOMMOVE        MSG_OSD_BASE+ 99

#define MSG_OSDDEMO         MSG_OSD_BASE+ 100

#define FOREVER_SHOW            0xff


//parameter for repeat AB
#define PARAM_OSD_BASE      0
#define REPEAT_A            REPEAT_NONE+ 1
#define REPEAT_AB           REPEAT_NONE+ 2
// f/w 0.42, parameter for MSG_INVALID
#define OSD_ERR_NONE        0
#define OSD_ERR_KEY         OSD_ERR_NONE+1
#define OSD_ERR_NUMBER      OSD_ERR_NONE+2
// f/w 0.42, parameter for GOTOTIME
#define OSD_CANCEL_TIME     0
#define OSD_INPUT_TIME      OSD_CANCEL_TIME+1
#define OSD_COMPLETE_TIME   OSD_CANCEL_TIME+2

#define OSD_ZOOM_LEFT       0
#define OSD_ZOOM_RIGHT      1
#define OSD_ZOOM_UP         2
#define OSD_ZOOM_DOWN       3

//functions
void OSD_Initial();
//build font table(H/W OSD)
void OSD_Output ( BYTE bMessage, WORD wParam, BYTE bSeconds );
void OSD_SetPosition(int row, int column);
//static storage for position, for digest number
void OSD_Trigger(WORD wTime);
#endif          //__OSD_H__
void PANEL_Initial();
void PANEL_Output ( BYTE bMessage, WORD wParam);
void PANEL_Trigger(WORD wTime);

/*
For LOGO display
Input source:
MPEG format
WORD:0x4D4D
WORD:words length
WORD:NTSC/PAL,H/N

Bitmap format(256 colors)
WORD:0x4242
WORD:width
WORD:height
pallete
index
*/

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -