📄 shareinf.h
字号:
#define SI_SHI_SZ wSIItemPos(SI_SHM_CFG_GRP, 5)
#define SI_SHI_NS wSIItemPos(SI_SHM_CFG_GRP, 6)
#define SI_ID0 wSIItemPos(SI_SHM_CFG_GRP, 7)
#define SI_ID1 wSIItemPos(SI_SHM_CFG_GRP, 8)
#define SI_ID2 wSIItemPos(SI_SHM_CFG_GRP, 9)
#define SI_ID3 wSIItemPos(SI_SHM_CFG_GRP, 10)
#define SI_VID0 wSIItemPos(SI_SHM_CFG_GRP, 11)
#define SI_VID1 wSIItemPos(SI_SHM_CFG_GRP, 12)
#define SI_VID2 wSIItemPos(SI_SHM_CFG_GRP, 13)
#define SI_VID3 wSIItemPos(SI_SHM_CFG_GRP, 14)
// Group 29: ERROR_RET
// note these four items must be in one DWRD,
// and only could be read & write by RISC
#define SI_UOP_ID wSIItemPos(SI_UOP_ERR_RET_GRP, 1)
#define SI_UOP_RET_VAL wSIItemPos(SI_UOP_ERR_RET_GRP, 2)
#define SI_UOP_SUB_ID wSIItemPos(SI_UOP_ERR_RET_GRP, 3)
#define SI_UOP_SUB_RET_VAL wSIItemPos(SI_UOP_ERR_RET_GRP, 4)
#define SI_OSD_ERR_RET wSIItemPos(SI_UOP_ERR_RET_GRP, 5)
#define SI_ADAC_COMMAND_OK wSIItemPos(SI_UOP_ERR_RET_GRP, 6)
// group 30 for RISC config
// group 31 for firmware version
// group 32 ~ 35 for optinal play item info, total 128 bytes
#define SI_ITEM_INFO_START wSIItemPos(SI_ITEM_INFO_GRP, 1)
#define SI_DVD_TT_CH SI_ITEM_INFO_START
// USR_BOOKMARK_INF, current use 12 items, 96 bytes, group 36 to 38
#define SI_USR_BOOKMARK_INF wSIItemPos(SI_USR_BOOKMARK_INF_GRP1, 1)
#define SI_USR_BOOKMARK_ITEM_1 SI_USR_BOOKMARK_INF
// A-B REPEAT_INF
#define SI_AB_REPEAT_A_INF wSIItemPos(SI_AB_REPEAT_INF_GRP, 1)
// group 20, GROUP FOR JPEG DECODING AND DISPLAY MODULE
#define SI_JPG_START wSIItemPos(SI_JPG_GRP, 1)
#define SI_JPG_DIGEST_BG wSIItemPos(SI_JPG_GRP, 1)
//current jpg rotate & mirror mode,
// D[1:0]: 0 = no rotate, 1= CCLKW 90 deg, 2= CCLKW 180 deg, 3= CCLKW 270 deg
// D[4] : 0 = mirror mode(horizontal) disable , 1 = mirror mode(horizontal) enable
// D[5] : 0 = invert mode(vertical) disable, 1 = invert mode(vertical) enable
#define SI_JPG_ROTATE_MIRROR_MODE wSIItemPos(SI_JPG_GRP, 2)
//current JPEG operation status
//D[0]: slideshow on(1)/off(0)
//D[1]: rotate&mirror modes on(1)/off(0)
#define SI_JPG_OP_STATUS wSIItemPos(SI_JPG_GRP, 3)
#define SI_JPG_SLIDESHOW_INTERVAL wSIItemPos(SI_JPG_GRP, 4) //jpeg slideshow interval (sec)
#define SI_JPG_TRANSITION_EFFECT wSIItemPos(SI_JPG_GRP, 5)
#define SI_JPG_TRANSITION_SPEED wSIItemPos(SI_JPG_GRP, 6) //tranistion speed, 0:fastest
//To set jpg auto slide show after rotate or mirror
//D[7]: 1 = On, 0 = off
//D[3:0] : Staying time before slide
#define SI_JPG_ROTATE_AUTO_SLIDE wSIItemPos(SI_JPG_GRP, 7)
#define SI_JPG_AUTO_SLIDE wSIItemPos(SI_JPG_GRP, 8) // - enable slide show automatically when the picture is displayed
// SI_JPG_BG_CLR_Y must be dword aligned
#define SI_JPG_BG_CLR_Y wSIItemPos(SI_JPG_GRP, 9)
#define SI_JPG_BG_CLR_CB wSIItemPos(SI_JPG_GRP, 10)
#define SI_JPG_BG_CLR_CR wSIItemPos(SI_JPG_GRP, 11)
#define SI_JPG_PROGRESSIVE_SHOW wSIItemPos(SI_JPG_GRP, 12)
//JPEG Digest Customization
#define SI_DIGEST_START_X wSIItemPos(SI_JPG_GRP, 13)
#define SI_DIGEST_START_Y_NTSC wSIItemPos(SI_JPG_GRP, 14)
#define SI_DIGEST_X_DIM_NUMS wSIItemPos(SI_JPG_GRP, 15)
#define SI_DIGEST_Y_DIM_NUMS wSIItemPos(SI_JPG_GRP, 16)
#define SI_DIGEST_H_GAP wSIItemPos(SI_JPG_GRP, 17)
#define SI_DIGEST_V_GAP_NTSC wSIItemPos(SI_JPG_GRP, 18)
#define SI_DIGEST_WIDTH wSIItemPos(SI_JPG_GRP, 19)
#define SI_DIGEST_HEIGHT wSIItemPos(SI_JPG_GRP, 20)
#define SI_JPG_ITEM_IDX_LO wSIItemPos(SI_JPG_GRP, 21)
#define SI_JPG_ITEM_IDX_HI wSIItemPos(SI_JPG_GRP, 22) // - the index of current item
#define SI_JPG_STT wSIItemPos(SI_JPG_GRP, 23) // - the state of the module
#define SI_JPG_MODE wSIItemPos(SI_JPG_GRP, 24) // - operation mode
#define SI_JPG_ROTATE_PAN_ACK wSIItemPos(SI_JPG_GRP, 25)
#define SI_JPG_SLIDE_SHOW_DONE wSIItemPos(SI_JPG_GRP, 26)
#define SI_PREVIEW_MODE wSIItemPos(SI_JPG_GRP, 27)
#define SI_PREVIEW_START_X wSIItemPos(SI_JPG_GRP, 28)
#define SI_PREVIEW_START_Y wSIItemPos(SI_JPG_GRP, 29)
#define SI_PREVIEW_WIDTH wSIItemPos(SI_JPG_GRP, 30)
#define SI_PREVIEW_HEIGHT wSIItemPos(SI_JPG_GRP, 31)
#define SI_PREVIEW_BG wSIItemPos(SI_JPG_GRP, 32)
//group 57,
#define SI_JPG_ORG_WIDTH_LO wSIItemPos(SI_JPG_GRP_1, 1)
#define SI_JPG_ORG_WIDTH_HI wSIItemPos(SI_JPG_GRP_1, 2)
#define SI_JPG_ORG_HEIGHT_LO wSIItemPos(SI_JPG_GRP_1, 3)
#define SI_JPG_ORG_HEIGHT_HI wSIItemPos(SI_JPG_GRP_1, 4)
#define SI_JPG_ITEM_INFO_B1 wSIItemPos(SI_JPG_GRP_1, 5)
#define SI_JPG_ITEM_INFO_B2 wSIItemPos(SI_JPG_GRP_1, 6)
#define SI_JPG_ITEM_INFO_B3 wSIItemPos(SI_JPG_GRP_1, 7)
#define SI_JPG_ITEM_INFO_B4 wSIItemPos(SI_JPG_GRP_1, 8)
#define SI_JPG_DSP_ITEM_IDX_LO wSIItemPos(SI_JPG_GRP_1, 9)
#define SI_JPG_DSP_ITEM_IDX_HI wSIItemPos(SI_JPG_GRP_1, 10)
#define SI_JPG_PROG_PIC_SIZ_LIMIT wSIItemPos(SI_JPG_GRP_1, 11)
#define SI_JPG_H_PAN_STEP_NUM wSIItemPos(SI_JPG_GRP_1, 12)
#define SI_JPG_V_PAN_STEP_NUM wSIItemPos(SI_JPG_GRP_1, 13)
#define SI_JPG_HW_MODE wSIItemPos(SI_JPG_GRP_1, 14)
#define SI_JPG_ORIENTATION_CHG wSIItemPos(SI_JPG_GRP_1, 15)
#define SI_JPG_TARGET wSIItemPos(SI_JPG_GRP_1, 16)
#define SI_JPG_ERROR_TYPE wSIItemPos(SI_JPG_GRP_1, 17)
// - TODO: other items.
#define SI_FSMENU_ITEM_REGION_START wSIItemPos(SI_FSMENU_ITEM_REGION_GRP, 1)
//Group 14 //Mars,[2002/5/29]
#define SI_JPG_THUMBNAIL_START wSIItemPos(SI_JPG_THUMBNAIL_GRP, 1)
#define SI_THUMBNAIL_1_IDX_LO wSIItemPos(SI_JPG_THUMBNAIL_GRP, 1)
#define SI_THUMBNAIL_1_IDX_HI wSIItemPos(SI_JPG_THUMBNAIL_GRP, 2)
#define SI_THUMBNAIL_2_IDX_LO wSIItemPos(SI_JPG_THUMBNAIL_GRP, 3)
#define SI_THUMBNAIL_2_IDX_HI wSIItemPos(SI_JPG_THUMBNAIL_GRP, 4)
#define SI_THUMBNAIL_3_IDX_LO wSIItemPos(SI_JPG_THUMBNAIL_GRP, 5)
#define SI_THUMBNAIL_3_IDX_HI wSIItemPos(SI_JPG_THUMBNAIL_GRP, 6)
#define SI_THUMBNAIL_4_IDX_LO wSIItemPos(SI_JPG_THUMBNAIL_GRP, 7)
#define SI_THUMBNAIL_4_IDX_HI wSIItemPos(SI_JPG_THUMBNAIL_GRP, 8)
#define SI_THUMBNAIL_5_IDX_LO wSIItemPos(SI_JPG_THUMBNAIL_GRP, 9)
#define SI_THUMBNAIL_5_IDX_HI wSIItemPos(SI_JPG_THUMBNAIL_GRP, 10)
#define SI_THUMBNAIL_6_IDX_LO wSIItemPos(SI_JPG_THUMBNAIL_GRP, 11)
#define SI_THUMBNAIL_6_IDX_HI wSIItemPos(SI_JPG_THUMBNAIL_GRP, 12)
#define SI_THUMBNAIL_7_IDX_LO wSIItemPos(SI_JPG_THUMBNAIL_GRP, 13)
#define SI_THUMBNAIL_7_IDX_HI wSIItemPos(SI_JPG_THUMBNAIL_GRP, 14)
#define SI_THUMBNAIL_8_IDX_LO wSIItemPos(SI_JPG_THUMBNAIL_GRP, 15)
#define SI_THUMBNAIL_8_IDX_HI wSIItemPos(SI_JPG_THUMBNAIL_GRP, 16)
#define SI_THUMBNAIL_9_IDX_LO wSIItemPos(SI_JPG_THUMBNAIL_GRP, 17)
#define SI_THUMBNAIL_9_IDX_HI wSIItemPos(SI_JPG_THUMBNAIL_GRP, 18)
#define SI_THUMBNAIL_10_IDX_LO wSIItemPos(SI_JPG_THUMBNAIL_GRP, 19)
#define SI_THUMBNAIL_10_IDX_HI wSIItemPos(SI_JPG_THUMBNAIL_GRP, 20)
#define SI_THUMBNAIL_11_IDX_LO wSIItemPos(SI_JPG_THUMBNAIL_GRP, 21)
#define SI_THUMBNAIL_11_IDX_HI wSIItemPos(SI_JPG_THUMBNAIL_GRP, 22)
#define SI_THUMBNAIL_12_IDX_LO wSIItemPos(SI_JPG_THUMBNAIL_GRP, 23)
#define SI_THUMBNAIL_12_IDX_HI wSIItemPos(SI_JPG_THUMBNAIL_GRP, 24)
#define SI_THUMBNAIL_13_IDX_LO wSIItemPos(SI_JPG_THUMBNAIL_GRP, 25)
#define SI_THUMBNAIL_13_IDX_HI wSIItemPos(SI_JPG_THUMBNAIL_GRP, 26)
#define SI_THUMBNAIL_14_IDX_LO wSIItemPos(SI_JPG_THUMBNAIL_GRP, 27)
#define SI_THUMBNAIL_14_IDX_HI wSIItemPos(SI_JPG_THUMBNAIL_GRP, 28)
#define SI_THUMBNAIL_15_IDX_LO wSIItemPos(SI_JPG_THUMBNAIL_GRP, 29)
#define SI_THUMBNAIL_15_IDX_HI wSIItemPos(SI_JPG_THUMBNAIL_GRP, 30)
#define SI_THUMBNAIL_16_IDX_LO wSIItemPos(SI_JPG_THUMBNAIL_GRP, 31)
#define SI_THUMBNAIL_16_IDX_HI wSIItemPos(SI_JPG_THUMBNAIL_GRP, 32)
// SHARED GROUPD FOR FS UI COMMANDS
// COMMAND GROUP 0 for the original UI component "FS MENU"
#define SI_FSMENU_COMMAND_START_0 wSIItemPos(SI_FSMENU_COMMAND_GRP_0, 1)
// - commands passed thru command grp 0 are of the old command set
#define SI_FSMENU_ITEM_1 wSIItemPos(SI_FSMENU_COMMAND_GRP_0, 1)
#define SI_FSMENU_ITEM_2 wSIItemPos(SI_FSMENU_COMMAND_GRP_0, 2)
#define SI_FSMENU_ITEM_3 wSIItemPos(SI_FSMENU_COMMAND_GRP_0, 3)
#define SI_FSMENU_ITEM_4 wSIItemPos(SI_FSMENU_COMMAND_GRP_0, 4)
#define SI_FSMENU_ITEM_5 wSIItemPos(SI_FSMENU_COMMAND_GRP_0, 5)
#define SI_FSMENU_ENROLL_MENU wSIItemPos(SI_FSMENU_COMMAND_GRP_0, 2)
#define SI_FSMENU_SHOW_PAGE wSIItemPos(SI_FSMENU_COMMAND_GRP_0, 4)
#define SI_FSMENU_CLR_PAGE wSIItemPos(SI_FSMENU_COMMAND_GRP_0, 5)
#define SI_FSMENU_ACT_ITEM wSIItemPos(SI_FSMENU_COMMAND_GRP_0, 6)
#define SI_FSMENU_ADD_TO_PLAYLIST wSIItemPos(SI_FSMENU_COMMAND_GRP_0, 7)
#define SI_FSMENU_REMOVE_FROM_PLAYLIST wSIItemPos(SI_FSMENU_COMMAND_GRP_0, 8)
// - for notification
#define SI_FSMENU_DIR_CHANGED wSIItemPos(SI_FSMENU_COMMAND_GRP_0, 10)
// COMMAND GROUP 1 for the UI component "FS LIST"
#define SI_FSMENU_COMMAND_START_1 wSIItemPos(SI_FSMENU_COMMAND_GRP_1, 1)
// FS MENU ICON SET GROUP "SI_FSMENU_ICON_SET_GRP"
#define SI_FSMENU_AC3_ICON wSIItemPos(SI_FSMENU_ICON_SET_GRP, 1)
#define SI_FSMENU_MP3_ICON wSIItemPos(SI_FSMENU_ICON_SET_GRP, 2)
#define SI_FSMENU_MP2_ICON wSIItemPos(SI_FSMENU_ICON_SET_GRP, 3)
#define SI_FSMENU_MP1_ICON wSIItemPos(SI_FSMENU_ICON_SET_GRP, 4)
#define SI_FSMENU_WAV_ICON wSIItemPos(SI_FSMENU_ICON_SET_GRP, 5)
#define SI_FSMENU_JPG_ICON wSIItemPos(SI_FSMENU_ICON_SET_GRP, 6)
#define SI_FSMENU_MLP_ICON wSIItemPos(SI_FSMENU_ICON_SET_GRP, 7)
#define SI_FSMENU_WMA_ICON wSIItemPos(SI_FSMENU_ICON_SET_GRP, 8)
#define SI_FSMENU_ASF_ICON wSIItemPos(SI_FSMENU_ICON_SET_GRP, 9)
#define SI_FSMENU_MPG_ICON wSIItemPos(SI_FSMENU_ICON_SET_GRP, 10)
#define SI_FSMENU_DAT_ICON wSIItemPos(SI_FSMENU_ICON_SET_GRP, 11)
#define SI_FSMENU_VOB_ICON wSIItemPos(SI_FSMENU_ICON_SET_GRP, 12)
#define SI_FSMENU_DSD_ICON wSIItemPos(SI_FSMENU_ICON_SET_GRP, 13)
#define SI_FSMENU_DIR_ICON wSIItemPos(SI_FSMENU_ICON_SET_GRP, 14)
#define SI_FSMENU_UNKNOWN_ICON wSIItemPos(SI_FSMENU_ICON_SET_GRP, 15)
#define SI_FSMENU_PARENT_DIR_ICON wSIItemPos(SI_FSMENU_ICON_SET_GRP, 16)
// SI FSMENU PROPERTY GROUP "SI_FSMENU_PROPERTY_GRP"
#define SI_FSMENU_OPMODE wSIItemPos(SI_FSMENU_PROPERTY_GRP, 1)
#define SI_FSMENU_PARENT_DIR_MSG_LO wSIItemPos(SI_FSMENU_PROPERTY_GRP, 2)
#define SI_FSMENU_PARENT_DIR_MSG_HI wSIItemPos(SI_FSMENU_PROPERTY_GRP, 3)
#define SI_FSMENU_CUR_FOLDER_IDX_LO wSIItemPos(SI_FSMENU_PROPERTY_GRP, 4)
#define SI_FSMENU_CUR_FOLDER_IDX_HI wSIItemPos(SI_FSMENU_PROPERTY_GRP, 5)
#define SI_FSMENU_LOGO_ID wSIItemPos(SI_FSMENU_PROPERTY_GRP, 6)
// Group 30: for RISC config
#define SI_VCD_CONFIG_0 wSIItemPos(SI_RISC_CONFIG_GRP, 1)
#define SV_LASTMEM_BIT 0x1
#define SV_AUTOPLAY_BIT 0x2
#define SV_KEEP_FF_BIT 0x4
//#define SV_AUTO_PBC_BIT 0x8
#define SV_KEEP_SF_BIT 0x8
#define SV_USE_BOOKMARK_PBC_BIT 0x10
#define SV_NOT_KEEP_FF_IN_TRK_0 0x20
#define SV_KEEP_FR_BIT 0x40
#define SV_FF2X_NO_MUTE 0x80
#define SI_VCD_CONFIG_1 wSIItemPos(SI_RISC_CONFIG_GRP, 2)
#define SV_SVD_SERCH_KEEP_FF_BIT 0x1
#define SV_SVD_SERCH_KEEP_FR_BIT 0x2
#define SV_SVD_SERCH_KEEP_SF_BIT 0x4
#define SV_SVD_SERCH_KEEP_PAUSE_BIT 0x8
#define SV_SVD_REPAB_KEEP_FF_BIT 0x10
//#define SV_SVD_REPAB_KEEP_FR_BIT 0x20
#define SV_SVD_REPAB_KEEP_SF_BIT 0x40
#define SI_VCD_CONFIG_2 wSIItemPos(SI_RISC_CONFIG_GRP, 3)
// if pbc table is wrong, go to simulate pbc on
#define SV_SVD_FAKE_PBC_BIT 0x01
// if pbc state of last memory slot is not equal to current pbc state, discard last memory play
#define SV_SVD_STRICT_MEM_CHK_BIT 0x02
// LLY.1225, add new shared info. for DVD-VR playing setting
#define SI_VR_PLAY_SET wSIItemPos(SI_RISC_CONFIG_GRP, 7)
// The value for SI_VR_PLAY_SET
#define SV_VR_AUTO_PLAY 0x1
#define SI_DSP_RECOVERY wSIItemPos(SI_RISC_CONFIG_GRP, 8)
#define SI_CDDA_CONFIG wSIItemPos(SI_RISC_CONFIG_GRP, 9)
#define SV_CDDA_AUTOPLAY_BIT 0x01
#define SV_RTIME_USE_ATIME 0x02
#define SV_CDDA_FF_KEEP_TRICK 0x04
#define
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -