星期三, 一月 07, 2009

MT1389 Vendor.h Introduction

Vendor.h Introduction
MediaTek Confidential Revision 1.0 – 2004-11-1 Page: 1 of 31
© 2005 MediaTek Inc.
The information contained in this document can not be modified without notice
Release Date: 2005/07/31
Revision: 1.0
Vendor.h introduction
MediaTek Proprietary Document
Vendor.h Introduction
MediaTek Confidential Revision 1.0 – 2004-11-1 Page: 1 of 31
© 2005 MediaTek Inc.
The information contained in this document can not be modified without notice
Revision History
Change Log
Revision Date Author Change Log
1.0 2005/07/31 Leon Lin Initial
Reviewer’s Comments
Date Reviewer Comments
Vendor.h Introduction
MediaTek Confidential Revision 1.0 – 2004-11-1 Page: 1 of 31
© 2005 MediaTek Inc.
The information contained in this document can not be modified without notice
Table of contents
Vendor.h Introduction
MediaTek Confidential Revision 1.0 – 2004-11-1 Page: 1 of 31
© 2005 MediaTek Inc.
The information contained in this document can not be modified without notice
1. Introduction .
This document is one introduction of vendor.h. The main purpose is to new
colleagues can understand and use our FW as quickly ad possible.
2. Decomposition Description .
2.01. Select chip version
#define MT1389
//#define MT1389_REV_C
//#define MT1389_REV_D
//#define MT1389_REV_E
//#define MT1389_REV_HD
Only open one of them, the others must be closed while open the one of them.
Different chip version will have different firmware options.
This includes
PLAYER_2_CHANNEL à 2 channels player configuration
NO_DTS_DECODE à disable DTS decoding
DDISC_FTYPE_WMA_SUPPORT à enable WMA support
HDCD_EN à enable HDCD support
SUPPORT_DVD_AUDIO à enable DVD_Audio support
(1) PSCAN_FORCE_TV_AUDIO: let it enter auto model
(2) SETUP_NO_PSCAN_CTRL: PSCAN invalid in setup model
(3) PSCAN_SIMPLE_MENU: in PSCAN auto or video
(4) KARAOKE_SCORING_TEST: Karaoke scoring test
(5) VIN_USE_PORT_B: GPIO pins as input for port B
2.02. HDMI related definition
(1) SUPPORT_HDMI: support HDMI.
(2) HDMI_FULL_MENU:
(3) HDMI_SOFTWARE_COMPARE: support software compare, to support more sinks, can
up to 21.
(4) HDMI_DVI_BY_MENU: if define HDMI_FULL_MENU, can define it to divide the full menu.
2.03. USB and DRM related definition
Vendor.h Introduction
MediaTek Confidential Revision 1.0 – 2004-11-1 Page: 1 of 31
© 2005 MediaTek Inc.
The information contained in this document can not be modified without notice
(1) SUPPORT_USB: support USB, can only use in 1389B and 1389HD.
(2) SUPPORT_MCR: support Card direct to our IC.1389B can support MS,SD Card.1389HD
can support MS,SD,CF,MMC,XD card.
(3) USB_DO_NOT_USE_GPIO: the VBUS line can not use our IC GPIO pin to control it.
(4) SUPPORT_GPS: support GPS.
(5) USB_EXT_CLK: using external clock.
(6) USB_EXT_CLK_LARGE_BOARD: using external clock on large PCB board.
(7) SUPPORT_USB_COPY: support writing a file in USB.
(8) SUPPORT_DRM: support DRM, can have DIVX attestation.
2.04. Firmware upgrade from disc
To enable disk firmware upgrade, please enable this option
#define DISC_UPDATE_CODE
And specify the upgrade disc volume ID and filename
#define VOLUME_ID 'M', 'E', 'D', 'I', 'A', 'T', 'E', 'K', '\0'
#define UPDATE_FILE 'M', 'T', 'K', '.', 'B', 'I', 'N', '\0'
To disable volume ID check, you can define like this:
#define VOLUME_ID ‘\0’
Note the used flash, if you use 8-bit flash, should define
#define FLASH_8BIT eg: the flash type is 400,040,080 is 8-bit flash
If you use flash type is 16-bit flash, should define
#define FLASH_16BIT_SWAP
or
#define FLASH_16BIT_NO_SWAP
eg: the flash type is 800,160 is 16-bit flash. And when the flash D15 is connect with A0,is
support 8bit mode and swap, you should select “FLASH_16BIT_NO_SWAP”,and if the flash
D15 is not connect with A0, it support 16bit mode, and we should select
“FALSH_16BIT_SWAP”. In our System, our can not support”FLASH_16BIT_NO_SWAP” up
to now.
Others:
(1) UPG_FINISH_TRAY_OUT: force the tray out after UPG finish
(2) UPG_VFG_STATUS: no another define
(3) UPDATE_KEEP_CPPM_KEY :default is replace ,CPPM_KEY is for dvd_audio
(4) FLASH_USE_POLLING: Two Schemes , default is Toggling Mode
(5) FLASH_USE_RESET: Use Reset Command, XBYTE[0x5555] = 0xf0
(6) FLASH_CHECK_DQ5:Use DQ5 Mode checkout
(7) FLASH_LOOP_CNT :Flash Erase&Write Loop Counter
(8) FLASH_BYTE_RETRY: Write Flash retry 3 times
2.05 ser password file
Vendor.h Introduction
MediaTek Confidential Revision 1.0 – 2004-11-1 Page: 1 of 31
© 2005 MediaTek Inc.
The information contained in this document can not be modified without notice
#define LOAD_USR_PWD_FILE
could load a file into share memory SI_PWD_STRING_GRP_0 and
SI_PWD_STRING_GRP_1.The max file length is 64 bytes and the filename is defined as
PWD_FILENAME.
2.06 I/O port definition & board components related setting
(1)
#define DRAM_2M 0x200000
#define DRAM_4M 0x400000
#define DRAM_8M 0x800000
#define DRAM_16M 0x1000000
(2)
#define DRAM_SZ DRAM_8M: define DRAM size select, select bass on your platform
(3)
#define DRAM_CASCADE: no DRAM burst mode. Only define when use 4M DRAM in
1389C,89D and 89E
(4) DRAM_1B1M16X2 4MB :1 bank , two chips DRAM
(5)DRAM_4B1M16X1 8MB: 4 bank, one chip DRAM
(6)DRAM_16BIT_ONLY: Test 16Bit or 32Bit
(7)DRAM_REFRESH_PERIOD 0x20: DRAM refresh period
(8)DRAM_RAMPC 0x96: 12mA DRAM driving strength, clock invert
(9)DRAM_RAMPC 0x16: 12mA DRAM driving strength
(10)DRAM_RAMPC 0x9A: 4mA DRAM driving strength
(11)DRAM_CL3T: DRAM&HOST delay 3T, default 2T
2.07 Disc support configuration options
Open the disc define which you want to support, otherwise close it.
(1) DVD-Video: always on
(2) CDI: SUPPORT_CDI
(3) DTS_CD: SUPPORT_DTS_CD
(4) DACD: SUPPORT_DACD
(5) VCD 1.0/1.1: SUPPORT_VCD_1X
(6) VCD 2.0: SUPPORT_VCD_20
(7) VCD 3.0: SUPPORT_VCD_30
(8) SVCD: SUPPORT_SVCD
(9) CVD: SUPPORT_CVD
(10) PCD: SUPPORT_PCD (support Kodak PCD,the JPEG support must be on)
(11) SUPPORT_CD_TEXT: support CD-Text reading
(12) DVD_VR_SUPPORT: support DVD-VR and dual mono switch.
(13) miniDVD: MINI_DVD_SUPPORT
Vendor.h Introduction
MediaTek Confidential Revision 1.0 – 2004-11-1 Page: 1 of 31
© 2005 MediaTek Inc.
The information contained in this document can not be modified without notice
(14) SUPPORT_DATA_DISC: support the data disc
Data disc file type support
(a) MP1/2: DDISC_FTYPE_MPEGA_SUPPORT
(b) MP3: DDISC_FTYPE_MP3_SUPPORT
(c) WMA: DDISC_FTYPE_WMA_SUPPORT
(d) JPEG: DDISC_FTYPE_JPEG_SUPPORT
(e) MPEG: DDISC_FTYPE_MPG_SUPPORT
2.08. EEPROM related option and I2C EEPROM configuration
(1) I2C_EEPROM: define I2C format E2PROM ,to enable I2C EEPROM support, If this
option is not enabled, all the setup menu configurations are loaded from default value.
(2) EEPROM_INIT_RETRY 0: disable init_retry timeout
(3) EEPROM_RUN_RETRY 0: disable run_retry timeout
(4) DISC_UPG_RESET_DEFAULT: Force EERPOM load default value after disc firmware
upgrade
(5) DISC_UPG_RESET_KEEP_REGION: Keep region code after disc UPG and Reset
Default Value
(6) EEPROM_SLOW_ACK_POLLING: Slowly detect ACK Polling
(7)define _24C02_: To configure the I2C EEPROM size, available types are _24C01_,
_24C02_, _24C04_, _24C08_, _24C16_.
2.09. Audio DAC setting
(1)MTK_6CH_ADAC, #undef _WM8756_:
Only 89E &89HD DAC define. If Use internal DAC, open the two define, or you use the
external DAC, close the two define.
(2)DSP_AUTO_MUTE: mask it temperally, open it until DSP complete auto mute function.
(3)INIT_ADAC, BOTH_INT_EXT_ADAC:
Only 89D DAC define.
Use internal ADAC only, Open INT_ADAC, close BOTH_INT_EXT_ADAC
Use external ADAC only, Close both INT_ADAC and BOTH_INT_EXT_ADAC
Use internal and external ADAC, Close INT_ADAC and open BOTH_INT_EXT_ADAC
Others:
(1) AC3_DITHER_MUTE: Avoid the resolution error in AC3 bit stream,
vWriteDspSharedDInfo(D_MUTE_THRESHOLD, 0x18 or ox00) in InitAdspGeneral(void).
(2) AC3_BASS_OVERFLOW_DETECT: For 1379 bass overflow detection of AC3, Change
wFlag value-->vWriteDspSharedWInfo (W_PROCMOD, wFlag) in vInitAdspGeneral(void)
(3) DAC_AUTO_MUTE: Enable auto-mute function when use CS4391 audio DAC-->
fgI2CByteWrite (0x10, 0x0, 0x80) in ADACInit (void)
(4) DAC_DEEMPH: Change wFlag value-->vWriteDspSharedBInfo(B_DACBIT, bFlag) in
vInitAdspGeneral(void),enable external Audio DAC de-emphasis
(5) DAC_EXTPIN_MUTE: Disable auto-mute function to use mute pin when use CS4360--
>fgI2CByteWrite (0x10, 0x01, 0x00) in ADACInit, Enable Mute Control Normal when use
CS4228-->fgI2CByteWrite (0x10, 0x05, 0x40) in ADACInit
(6) AUDIO_256FS: setup external master clock,change times sampling clock
Vendor.h Introduction
MediaTek Confidential Revision 1.0 – 2004-11-1 Page: 1 of 31
© 2005 MediaTek Inc.
The information contained in this document can not be modified without notice
(7) ADSP_USE_APLL: ADSP clock use APLL
(8) ADSP_APLL_RATIO: APLL clock divided by x
(9) AUDIO_DATA_18BIT: Audio DAC bit resolution
(10) _NPADAC_: define no programming ADAC
(11) AUDIO_DATA_LTJ: Audio data format
(12) _INTACLK_: use MT1389 audio clock
(13) AUDIO_POLARITY_NINV: Use even stages, setup Audio DAC Configuration
(14) AUDIO_LR_INV: Inverse the channel (L->R, R->L), analog circuit
(15)POWERDOWN_AUDIOOUT_CLK: Still AudioClk output in the PowerDown Mode
(16)USE_1379_MUTE: USE ASData3 as mute function
(17)USE_1369_MUTE: USE AMUTE--P31 as mute function
(18)USE_IOA20_MUTE: USE 1379 IOA20 as mute function
(19)define LOW_MUTE: mute use low voltage
2.10. TV encoder setting
(1) MACROVISION_CERTIFICATION: This function is when playing the macrovision
signals,if to the Non-Support_Macrovision TV_Encoder, will turn off the DAC to turn off video,
else turn on the video. Only for non-support-macrovision chip
(2) NO_SUPPORT_MACROVISION: YesàNo support the macrovision signal, only use for
video quality testing
(3) CVBS2_OUTPUT_ON_G: Only use when 89D, bass the new schematic, for the CVBS2
will be out from G, Must open it when 89D.
(4)SV_TVE_DIRECT:
89D----------- CVBS1, S-Video, CVBS2
Others-------- CVBS, S-Video, Off, used for direct drive
(5)SV_TVE_YCBCR: CVBS, YCBCR or CVBS, S, YCBCR
(6)SV_TVE_RGB: CVBS, RGB or CVBS, S, RGB
(7)SV_TVE_VGA: Off, Off, VGA, force P-Scan on
(8)SV_TVE_SCART: SCART
(9)COMPONENT_ON_S_OFF: When Component is turned on, turn off S-video
Others:
(1) NO_PEDESTAL_OFFSET: No 7.5IRE
(2) NTSC_ADJUST_H: Adjust the NTSC main video horizontal position
(3) NTSC_ADJUST_V: Adjust the NTSC main video vertical position
(4) PAL_ADJUST_H: Adjust the PAL main video horizontal position
(5) PAL_ADJUST_V: Adjust the PAL main video vertical position
These 4 Parameters is used to adjust TV Main Video Position, value from (-10 ~ 10)
(6)OSD_NTSC_ADJUST_H: 2 pixel base Adjust the NTSC OSD horizontal position
(7)OSD_NTSC_ADJUST_V: 1 pixel base Adjust the NTSC OSD vertical position
(8)OSD_PAL_ADJUST_H: 2 pixel base Adjust the PAL OSD horizontal position
(9)OSD_PAL_ADJUST_V: 1 pixel base Adjust the PAL OSD vertical position
(10)ENCODER_MASTER: Enable MT1369 to master mode
(11)TVE_YCDELAY_ON: yc signal delay:
(12)TVE_REDGE_ON: Rise Edge toggle: a. yes->turn off video, no->turn on video with
macrovision title b. Only for non-support-macrovision chip
Vendor.h Introduction
MediaTek Confidential Revision 1.0 – 2004-11-1 Page: 1 of 31
© 2005 MediaTek Inc.
The information contained in this document can not be modified without notice
(14)VDO_CFG_NO SV_HI_IMP_FLT_FRONT:High-Impedance Mode filter in front of the
transistor gets the better performance than in back.
(15)VDO_CFG_NO SV_HI_IMP_FLT_BACK
(16)VDO_CFG_NO SV_LO_IMP: Low-Impedance Mode
(17)P_DEVICE_DEBUG: I2C peripheral debug
2.11. Playback behavior setup
(1)TRICK_MODE_USE_PLAY: in trick mode, the trick mode key as PLAY key.
(2) PLAY_PAUSE_TRICK_PLAY: in trick mode, PLAY/PAUSE key is used as PLAY key
(3) PAUSE_NO_TRICK: in pause state, the trick mode key is not allowed
(4) PROGRAM_NO_REPEAT: repeat key is not allowed for PROGRAM mode
(5) RANDOM_SHUFFLE_NO_REPEAT: repeat key is not allowed for RANDOM/SHUFFLE
mode.
(6) USR_CTRL_CANCEL_REPEAT: cancel repeat mode when enter user control mode
(PROGRAM/RANDOM/SHUFFLE)
(7) STOP_RESUME_CANCEL_REPEAT: cancel repeat mode when enter STOP_RESUME
state
(8) DIGIT_CANCEL_REPEAT: user select digit key or time search will cannel repeat mode.
(9) REVERSE_END_RESTART_PLAY: restart playing instead of continue trick mode
reverse
(10) KEEP_TRICK_AFTER_SEARCH: keep the trick mode after search
(11) FF_2X_PLAY_AUDIO: let DSP play at 2X speed instead of mute
(12) BM_CLR_REARRANGE: when one bookmark is cleared, rearrange others.
(13) DVD_TITLE_SHUFFLE: use title to do shuffle, instead of program.
(14) FFSCAN_NO_STILL: forward scan no vobu still, no cell still
(15) BAN_STEP_WHEN_PAUSE_BLOCK: If Pause is blocked, prohibit Step
(16) FF_2X4X_NOSP: fast forward 2X/4X, the sub-picture will be disabled
(17) TITLE_PLAY_RESET_ASTN: reset ASTN after a Title_Play()
(18) TITLE_PLAY_RESET_SPSTN: reset SPSTN after a Title_Play()
(19) TIME_SRCH_WITHIN_A_B: time search to C < A then C = A; to C > B then ignore time
search
(20) PAUSE_MODE_SWITCH: switch among auto, frame and video pause mode
(21) PAUSE_MODE_SWITCH: set pause mode switch
2.12. Player system configuration
(1) REGION_NO: select region number, from 1~6
(2) PLAYER_POWERDOWN: enable power down mode
(a) PLAYER_ACON_STANDBY: let system enter power down mode when player power
is first on
Vendor.h Introduction
MediaTek Confidential Revision 1.0 – 2004-11-1 Page: 1 of 31
© 2005 MediaTek Inc.
The information contained in this document can not be modified without notice
(b) POWERDOWN_KEY_SCAN: set players into standby state.
(c) POWERDOWN_HOLD_RESET: hold the external peripheral reset pin when system
in power down mode
(3) PLAYER_IDLE: enable idle mode
(a) IDLE_FORCE_SRV_STOP: force servo stop when system enter idle mode
(b) PLAYER_IDLE_SPEED_DOWN: let system enter a low running speed mode in
idle mode to save power consumption
(c) PLAYER_AUTO_PWR_DOWN: enable player auto power down feature, the
auto power down timer is defined as AUTO_PWR_DOWN_TIMEOUT.
(d) AUTO_PWR_DOWN_TIMEOUT: 1 tick is 5 seconds.
(4) PLAYER_STOP_SRV_STOP: force servo stop when player enter fully stop mode
(5) CDDA_SPEED_DOWN: let system enter low clock mode when play CDDA to save power
consumption. Note this option will make several features, like equalizer, spectrum, key shift,
etc, not available.
(6) POWERDOWN_HOLD_RESET: forbid to reset system when in power down mode
2.13. Video related setting note this setting could be override by setup menu
setting
(1) PSCAN_DEFAULT_VIDEO_MODE: this setting could be override by setup menu
setting
(a) SV_PSCAN_HR: PSCAN High-resolution
(b) SV_PSCAN_NF: PSCAN Non-flicker(Smooth)
(2) PSCAN_MOTION_THD_LOW: these three threshold be Low
(3) PSCAN_MOTION_THD_MID: these three threshold be Mid
(4) PSCAN_MOTION_THD_HIGH: these three threshold be High
(5)PSCAN_MODE_SWITCH_THD: mode change sensitivity smaller: mode change more
sensitive larger: mode change need longer time This is the interface for tuning pscan motion
adaptive in 1379 A, B , our chip only support frame-base motion adaptive pscan .the
interface includes following shareinfo
#define SI_PSCAN_MOTION_THD_LOW wSIItemPos(SI_PSCAN_PARM, 1)
#define SI_PSCAN_MOTION_THD_MID wSIItemPos(SI_PSCAN_PARM, 2)
#define SI_PSCAN_MOTION_THD_HIGH wSIItemPos(SI_PSCAN_PARM, 3)
#define SI_PSCAN_SWITCH_THD wSIItemPos(SI_PSCAN_PARM, 4)
basically, when video is motion scene, we use BOB mode to de-interlace, when video is still,
we use weave mode to de-interlace, the default value is set as standard release. If you shift
these values up, more scene will be detected as still, use weave. If you shift these values
down, more scene will be detected as motion, use BOB the switch threshold is how many
frame can the scene change, larger->detect longer time, small->detect short time.
2.14. Video related setting
Vendor.h Introduction
(1)SETUP_MENU_VID_CTRL: setup menu video control.
(2)RESET_VDO_TRAY_OUT: reset video setting when tray out, this option is for testing.
(3)POWER_ON_RESET_VDO: reset video setting when power on, this option is for testing.
(4)ENABLE_ZOOM_USER_MODE: enable zoom.
(5)SIMPLE_ZOOM_MODE: for old zoom mode, only zoom big.
(6) VBI_OFF: Disable CGMS, WSS and APS VBI signal, NTSC: line 20; PAL: line 23
(7) VBI_CGMS_OFF: only disable CGMS VBI signal.
(8) VBI_WSS_OFF: only disable WSS VBI signal
2.15. Video/OSD start offset
(1) There are 4 parameters used to adjust TV main video position. The setting may be different for
different TV encoder. The setting value range is from –10 to +10.
(a) NTSC_ADJUST_H: 2 pixel base
(b) NTSC_ADJUST_V: 1 pixel base
(c) PAL_ADJUST_H: 2 pixel base
(d) PAL_ADJUST_H: 1 pixel base
(2) There are also 2 parameters to adjust OSD display start position. The setting value is from -10 to
10.
(a) OSD_NTSC_ADJUST_H: 2 pixel base
(b) OSD_PAL_ADJUST_H: 2 pixel base
2.16. Audio related setting
(1)DSP_AUTO_MUTE: enable DSP auto mute when init.
(2)HDCD_FILTER: enable HDCD filter, must be defined while certification.
(3)HDCD_AUTO_LEVEL: when play HDCD and CD, audio signal value halve
(4)SIMULTANEOUS_DOWNMIX_OUTPUT: use ASDATA3 output downmix audio signal
(5)SIMULTANEOUS_DOWNMIX_OUTPUT_LTRT: Output is LT/RT, else is LO/RO
(6)SUPPORT_VOLUME_ADJUST: support volume adjust +,-, mute or not
(7)MUTE_KEY_MUTE_SPDIF: mute the SPDIF output when mute is enabled by mute key
(8)VOL_ZERO_AS_MUTE: when decrease volume to level 0, set it as mute function
(9)SPDIF_PCM_CH_SELECT: choice SPDIF channel is LR or LS_RS or C_LFE or CH78
(10) SPDIF_PCM_FORCE_DOWNMIX: when set SPDIF in PCM output mode, force audio output in
downmix mode
(11) MUTE_NO_VOL_KEY: block volume up/down key when mute is enabled
(12) DISC_IDENT_AUTO_MUTE_OFF: cancel mute mode when disc is identified
(13) SPDIF_MODE_CHANGE_MUTE: add additional mute time when switch SPDIF output mode
(14) AUDIO_STREAM_CHANGE_MUTE: when user switching the audio stream, add additional mute
time (15) USE_EXTERNAL_KARAOKE: use external echo IC to implement karaoke mode
(16) SPDIF_NO_MPEG_OUT: disable MPEG audio RAW data output function and use PCM mode
instead
(10) PLAYER_KARAOKE: use internal audio DSP to implement karaoke function
(11) PLAYER_SURROUND: support virtual surround function
(12) DOLBY_PROLOGIC2: support DOLBY_PROLOGIC2 function
(13) DOLBY_PROLOGIC: support DOLBY_PROLOGIC function
(14) SPDIF_FORCE_MPEG_OUT: enable MPEG audio RAW mode data output function
Vendor.h Introduction
MediaTek Confidential Revision 1.0 – 2004-11-1 Page: 12 of 31
© 2005 MediaTek Inc.
The information contained in this document can be modified without notice
(15) PL2_CAR_AUDIO: change stpmenu-->PRO LOGIC2 SETUP
(16) KARA_FORCE_SPDIF_PCM: force SPDIF output in PCM mode when karaoke mode is on
(17) VOCAL_ASSIST_STREAM_CHANGE: enable the DVD vocal assist function which is implement
by audio stream switching
(18) AC3_KARA_MODE: enable AC3 karaoke mode
(19) AC3_KARA_MIC_ON_VOCAL: use vocal for mic on.
(20) define AC3_KARA_MIC_OFF_BOTH: both vocal //when 2 ch both vocals will exist in L/R vocal
//when 5 ch both vocals will exist in L/R vocal.
(21) AC3_KARA_MELODY:hasn't been used in program
(22) KARAOKE_SIMPLE_ECHO: use simple echo adjustment mode instead full
(23) KARAOKE_MIC_THRESHOLD: set the microphone input threshold level fo vocal assist
switching level
(24) KARAOKE_MIC_REC: Support mic record
(25) MIC_AUTOMUTE: enable MIC auto mute
(26) VOCAL_ASSIST_MIC_CNT: change time enable _rAudioCtrl.sVocal.fgMicActive = FALSE
(27) VCD_VA_MIC_OFF_STEREO: use stereo as default rTmp.Union.Bit.LRMix = FALSE
(28) MIC_DOWNSAMPLE_RATIO: choice MIC sample ratio, 0 for 44K, 1 for 22K, 2 for 11K
(29) KARAOKE_MIC_REC:4M bytes can not support mic record
(30) MIC_AUTOMUTE: When mic record on, do not use mic auto mute
(31) KARAOKE_SCORING: define this to enable karaoke scoring
(32) MIC_TH_DEFAULT: MIC Threshold default value
(33) MANUAL_MIC_ON_OFF: no microphone detect pin
(34) DSP_STOP_NO_NOTIFY: notify _rAudioCtrl.sFlag.fgDspStop
(35) NO_POST_DRC_ON_OFF: disable post DRC
(36) PLAY_AUDIO_CLIP:
(37) SPDIF_PCM_FREQ_SELECT: select PCM out frequency
(38) PCM_FREQ_CHANGE_MUTE: enable mute when change PCM out frequency
(39) PLAY_NO_PCM_FREQ_SELECT: disable PCM out frequency
(40) PROLOGIC_NO_KEY_SHIFT: don't support plus and minus tone when use PROLOGIC
(41) DTS_NO_KEY_SHIFT: don't support plus and minus tone when play DTS format disc
(42) CH_EQ_NO_SUPER_EQ: force value of BASS_SW_POS to EV_OFF and //force value of
AUD_BASS_BOOST_CTRL to ADSP_OFF
(43) DVD_AUDIO_NO_KEY_SHIFT: don't support plus and minus tone when play DVD_Audio disc
(44) BASS_TO_SUB: Bass Management method select.
(45) AUD_EN_MIXED_MONO: enable audio mixed mono
(46) PLAYER_KARAOKE: use internal audio DSP to implement karaoke function
(b) KARA_FORCE_SPDIF_PCM: force SPDIF output in PCM mode when karaoke mode is on
(c) VOCAL_ASSIST_STREAM_CHANGE: enable the DVD vocal assist function which is
implement by audio stream switching
(d) AC3_KARA_MODE: enable AC3 karaoke mode support
(e) KARAOKE_SIMPLE_ECHO: use simple echo adjustment mode instead full echo adjusting
functions
Vendor.h Introduction
MediaTek Confidential Revision 1.0 – 2004-11-1 Page: 13 of 31
© 2005 MediaTek Inc.
The information contained in this document can be modified without notice
(f) KARAOKE_MIC_THRESHOLD: set the microphone input threshold level for vocal assist
switching level
(g) MIC_AUTOMUTE
(h) VOCAL_ASSIST_MIC_CNT
(47) SUPPORT_DDEX:
2.17. Spectrum related setting
(1) SPTM_SUPPORT: no 2_channel to enable spectrum display, please define the option.
(2) SPTM_EN_BAR_TYPE: spectrum bar and spectrum grid, enable bar spectrum.
(3) SPTM_BAR_NOISE: add velocity on bar type spectrum.
(3) SPTM_GRID_NOISE: add velocity on bar type spectrum.
(4) USE_LARGE_SPTM, USE_MED_SPTM, and USE_SMALL_SPTM: There are three types
spectrum available,
(5)SPTM_DATA_OUT: out spectrum data to 8032.
(6)SPTM_TOTAL_LINE: spectrum line amount total.
(7) SPTM_LINE_HEIGHT: spectrum height.
(8) SPTM_LINE_WIDTH: spectrum width.
(9) SPTM_LINE_SPACE: spectrum line space.
2.18. Auto play options
(1) DVD_AUTO_PLAY: enable DVD auto play
(2) VCD_AUTO_PLAY: enable VCD auto play
(3) CDDA_AUTO_PLAY: enable CDDA auto play
(4) ISO_AUTO_PLAY: enable ISO auto play, play the first file, regardless of the file type
(5) USE_8032_AUTO_PLAY: support disc auto play
(6) AUTO_LONGEST_TT_PLAY: set this to auto play the longest title
(7) LONG_TT_OPTION_MAX_PT: set this to use title with max PttNs as the longest title, otherwise
use title with longest time instead
2.19. Last memory options
(1) VCD_LAST_MEM: enable VCD last memory play function
(2) DVD_LAST_MEM: enable DVD last memory play function
(3) CDDA_LAST_MEM: enable CDDA last memory play function
(4) ISO_LAST_MEM: enable ISO last memory play function
(5) MEMORY_SUPPORT: enable memory key support, note memory key and last memory use the
same mechanism and should the last memory flag should not be turn on when memory key is used.
(6) SHARED_LASTMEM_SLOT: support last memory slot
(7) EEPROM_LASTMEM_EJECT_WR_BACK: support eeprom slot last memory write back
(8) EEPROM_CHK_LASTMEM_CHKSUM: add eeprom place for last memory slot
(9) EN_DISC_ID_CHK: enable disc ID check
Vendor.h Introduction
MediaTek Confidential Revision 1.0 – 2004-11-1 Page: 14 of 31
© 2005 MediaTek Inc.
The information contained in this document can be modified without notice
(9) DVD_DISC_ID_CHK: check _rOsdStateCtx.bDiscInitFlag == DISC_INIT_CHECKED before find
play disc type
(10) VCD_DISC_ID_CHK
(11) CDDA_DISC_ID_CHK
(12) ISO_DISC_ID_CHK
(13) PCD_DISC_ID_CHK
2.20. Miscellaneous options of DVD
(1) TITLE_PLAY_IGNORE_UOP_BLOCK: this option is set to TRUE, the navigation engine do not
check UOP block for UOP_TITLE_PLAY
(2) DVD_STOP_PLAY_NO_FP: when user press PLAY key in fully stop mode, we will go to play title
1 chapter directly and do not play from the DVD first play domain.
(3) DVD_IGNORE_BTN_NO_CMD: when this option is set to TRUE, and the DVD menu button
contains no navigation command, we just ignore the button select UOP and do not return UOP_FAIL.
(4) MENU_TITLE_KEY_RESUME: take the TITLE key as RESUME key function in DVD menu
(5) DVD_FORCE_CHG_ANGLE: force to change angle when play DVD.
(6) VIDEO_PAUSE_SHOW_1FLD: when the option is set, it always shows one field replace two field.
(7) DVD_NO_VID_NO_STEP: when there only still picture exists, this option will prohibit the STEP
key function.
(8) DVD_MENU_NO_ZOOM: force the ZOOM mode off in DVD menu (hi-light exist)
(9) DVD_SHOW_MSG_FIRST: when this option is set, we show NEXT/PREVIOUS OSD first then
send the UOP to increase the user key operation response time.
(10) DVD_SHOW_MENU_TIME: when this option is set, we will show time mark in DVD menu.
(11) DVD_MENU_OSD_TIME_ZERO: when option DVD_SHOW_MENU_TIME is enabled, set this
option will always show time mark as 0 in DVD menu domain.
(12) TREAT_PS_LB_AS_THE_SAME: when this option is set, in 16:9 video, if user selects an unexisted
TV Display mode (PS/LB), system will switch to the other if exists.
(13)VIDEO_PAUSE_SHOW_1FLD: if this option is set, it will output only one field when the video is
paused or enter step mode
(14) VIDEO_PN_NO_FRM_YC: if this option is set, it will output only one field when PAL to NTSC or
NTSC to PAL conversion is used.
(15) VIDEO_SHOW_DYNAMIC_BITRATE: if this option is set, we will calculate video bit rate
dynamically instead of using the bit rate value encoded in the bit-stream
(16) VIDEO_LOGO_KEEP_TVSYS: if this option is set, we will use the same TV System to show
LOGO as previous playing video
(17) VIDEO_SPEED_CONTROL: if this option is set, the new 2X, 4X speed control mechanism will
be enabled
Vendor.h Introduction
MediaTek Confidential Revision 1.0 – 2004-11-1 Page: 15 of 31
© 2005 MediaTek Inc.
The information contained in this document can be modified without notice
(18) SP_N2P_NO_SCALE: when this option is set, the LINK_PREV_CELL command will check the
existence of previous PG, and then link to last cell of previous PG if exists.
(19)ENABLE_LNKPRVC_CHK_PRV_PG: some system config determined in compile time
(20) USR_CTRL_NO_MENU_TITLE_KEY: block the TITLE key and MENU key when user control
mode is enabled.
(21) DVD_NO_PTT_PLAY_UOP_BLOCK: if this option is enabled, we do not check PTT search
block flag for chapter search mode.
(22) DVD_STOP_NO_MENU_CALL: prohibit TITLE key and MENU key when PBC state is stop.
(23) DVD_NO_REPEAT_ALL: remove DVD repeat all title mode in repeat key
(24) DVD_DGST_SHOW_MSG_ONLY: when this option is enabled, we will only show DIGEST
message on VFD, not show current digest item info on VFD.
(25) DVD_CHAP_3_DIGITS: enable 3 digits mode for DVD chapter display and input.
(26)DVD_IN_MENU_BLOCK_MENU_CALL: we this option is set to TRUE, the Menu key can call
when the menu UOP block.
(27) DVD_SP_UNKNOWN_LCD_MSG: when DVD sub-picture LCD code is not in built-in message
table, you can select OSD_MSG_NULL, OSD_MSG_SP_OTHERS, or OSD_MSG_UNKNOWN for
OSD display.
(28)DVD_AUDIO_INFO_NO_CHNL: DVD AUDIO INFO NO OSD msg.
(29) DVDAUD_HIDE_HGR: In some DVD-Audio discs, the last group is marked as a hidden group If
the user wants to play the last group by Group_Play(),the player should ask user for the password,
which is recorded SI_HIDDEN_PASSWD0/SI_HIDDEN_PASSWD1. If DVDAUD_HIDE_HGR is
defined, RISC considers the hidden group as hidden. If it is not defined, RISC treats the hidden
group like a normal group. Note that if SI_HIDDEN_PASSWD0/SI_HIDDEN_PASSWD1 are both
0,the last group is not a hidden group. To follow DVD-Audio spec, we should treat it as hidden.
(30)DVDAUD_PREV_DLIST_CYCLE: In some tracks, there are so-calledASVs(Audio Still
Videos),which are also called a PAGES or DLISTs. ASV has 2 basic presentation modes: Sequential
and Browsable. If it's browsable, the user is supposed to be able to control which page he/she wants
to watch by remote controller. There're two standard UOPs for this control: UOP_NEXT_DLIST and
UOP_PREV_DLIST .According to the spec, if the player receives UOP_NEXT_DLIST at the last Dlist,
it should display the 1st Dlist. If the player receives UOP_PREV_DLIST at the first Dlist, it should
ignore this UOP. However, some customer may want UOP_PREV_DLIST tojump to the last Dlist in
this case. If DVDAUD_PREV_DLIST_CYCLE is defined, it will cycle to the last Dlist. If not, it will
follow spec.
(31) DVD_STOP_NO_RESET_PTL: if this option is set, the navigation engine do not reset temp
parental setting when PBC state enter stop mode
(32) DVD_STOP_NO_RESET_ASTN: if this option is set, the navigation engine do not reset ASTN
setting when PBC state enter stop mode.
(33)DVD_STOP_NO_RESET_SPSTN: if this option is set, the navigation engine do not reset SPSTN
setting when PBC state enter stop mode.
(34)DVD_STOP_NO_RESET_AGLN: One modes of sysconfigDVD.
(35)DVD_REVERSE_END_RESTART_PLAY: restart playing instead of continue trick mode reverse
Vendor.h Introduction
MediaTek Confidential Revision 1.0 – 2004-11-1 Page: 16 of 31
© 2005 MediaTek Inc.
The information contained in this document can be modified without notice
(36)DVD_KEEP_TRICK_AFTER_SEARCH: keep the trick mode after search
(37)DVD_FORWARD_END_RESTART_PLAY: restart playing instead of continue trick mode forward
(38)DVD_FF_2X_PLAY_AUDIO: let DSP play at 2X speed instead of mute
(39)DVD_SKIP_KEEP_A: keep a point when doing next pg search
(40)DVD_STILL_NO_TRICK: in still menu, trick mode is prohibited.
(41)DVD_FAST_ALLOW_NO_VIDEO: in fast mode, allow jumping to a VOBU without video
(42)DVD_FORCE_CHG_ANGLE: allow user to change angle even in non-angle-block cell
(43)DVD_FAST_SL_AGL_CHG: seamless angle change doesn't block UOP
(44) DVD_AST_FOLLOW_USR: warning: turning this on violates the spec
(45)DVD_SPST_FOLLOW_USR: warning: turning this on violates the spec
(46)DVD_LOCK_INI_LCD: allow INI_LCD to be changed only in Initial Access
2.21. Miscellaneous options of VCD
(1) VCD_PBC_ON_PLAY: when user use PBC key switch to PBC on, let player start auto PBC play
(2) VCD_PLAY_PBC_ON: when user enter stop mode and the PBC is switched to off not by PBC
key (i.e. by SHUFFLE key), we will auto switch to PBC on and play when PLAY key is pressed.
(3) VCD_KEEP_FF, VCD_KEEP_FR, VCD_KEEP_SF: enable this option to keep FF/FR/SF state
when crossing tracks
(4) VCD_FORCE_PBC_ON_OFF: when user press the PBC key when disc is playing, we will switch
to PBC off from PBC on directly, continue current track playing. If the PBC is off, we will stop current
play track and switch it to PBC on then play the disc from PBC menu.
(5) VCD_FF2X_NO_MUTE: when user enters ff, not allow mute-state.
(6) VCD_SEARCH_KEEP_FF: when user enters search, allow use ff.
(7) VCD_SEARCH_KEEP_FR: when user enters search, allow use fr
(8) VCD_SEARCH_KEEP_SF: when user enters search, allow use sf
(9) VCD_SEARCH_KEEP_PAUSE: when user enters search, allow use PAUSE_STATE
(10) VCD_REPAB_KEEP_FF: when user enters repeat A_B, allow use FF-state.
(11) VCD_REPAB_KEEP_SF: when user enter repeat A_B, will allow use SF-state.
(12) VCD_FAKE_PBC: if PBC table is wrong, go to simulate PBC on.
(13) VCD_STRICT_MEM_CHK: if PBC state of last memory slot is not equal to current PBC state,
discard last memory play
(14) SETUP_MENU_PBC_CTRL: enable setup menu PBC control item
(15) VCD_DEFAULT_PBC_OFF: the PBC-state’s default value is PBC_OFF
(16) VCD_MENU_NO_ZOOM_IN: disable zoom in mode in PBC menu
(17) VCD_MENU_NO_ZOOM_OUT: disable zoom out mode in PBC menu
(18) VCD_MENU_NO_ZOOM: in PBC menu, not allow zoom-state.
(19) SVCD_4AST: add two additional and not available audio streams for SVCD disks
(20) VCD_USE_BOOKMARK_PBC: when this option is set, we will use the bookmark item’s PBC
state when the item is recalled. Otherwise, current PBC state will be kept.
Vendor.h Introduction
MediaTek Confidential Revision 1.0 – 2004-11-1 Page: 17 of 31
© 2005 MediaTek Inc.
The information contained in this document can be modified without notice
(21) VCD_NOT_KEEP_FF_IN_TRK_0: if this option is set, we do not keep FF state when go to track
0 even when VCD_KEEP_FF is set.
(22) CVD_4AST: assume CVD disc contains multiple audio streams.
(23) VCD_DGST_SHOW_MSG_ONLY: when this option is enabled, we will only show DIGEST
message on VFD, not show current digest item info on VFD.
(24) VCD_VFD_SHOW_HOUR: when this option is set, we will show 1:30:00 instead 90:00 on VFD.
(25) VCD_VFD_TRACK0_SHOW_TIME: when this option is, we will show play time for track 0.
(26) VCD_PSR_ERR_SKIP_LV 0: the range of this constant is from 0 to 10. Bigger value means
higher skip rate.
2.22. Miscellaneous options of CDDA
(1) CDDA_FF_KEEP_TRICK: if it is set, FF state will be held until end of the disk; if not, track FF
state will turn to PLAY when reach next track
(2) CDDA_FR_KEEP_TRICK : if it is set ,FF state will be held until beginning of the disk; if not, track
FF state will turn to PLAY when reach next track
(3) CDDA_AUTO_DISPLAY: when this option is set, we will turn on OSD display automatically after
CDDA auto play.
(4) NO_CDG_SUPPORT: support CDG format disk
(5) CDDA_NO_DISPLAY_OFF: define this option will remove the display off mode for CDDA
(6) CDDA_AUTO_DISPLAY: when this option is set, we will turn on OSD display automatically after
CDDA auto play
(7) HDCD_EN: enable HDCD support
(8) SHOW_CD_STREAM_TYPE: when HDCD is enabled
(9) CDDA_RTIME_FROM_ATIME: if this option is set, we will calculate relative time from absolute
time. This could fix the time stamp show problem if the disc's relative time is not reliable.
(10) CDDA_FAST_LOWER_VOL: this option allow decreasing the audio volume level in fast forward
mode
(11) CDDA_LOWER_LVL: the value of decreasing the audio volume in fast forward mode.
(12) CDG_START_X: CDG sub picture Start X
(13) CDG_START_Y: CDG sub picture Start Y
(14) CDG_M_WIDTH: CDG sub picture width
(15) CDG_M_H_PAL: CDG sub picture show mode PAL
(16) CDG_M_H_NTSC: CDG sub picture show mode NTSC
(17) SHOW_CD_JACKET: show jacket switch
(18) SHOW_CD_TEXT: show text switch
(19) SUPPORT_CD_TEXT: support text switch
2.23. Miscellaneous options of SACD
(1) SUPPORT_SACD: support SACD
(2) SACD_PCM_OUTPUT: if not define, SACD will output DSD data to DAC
Vendor.h Introduction
MediaTek Confidential Revision 1.0 – 2004-11-1 Page: 18 of 31
© 2005 MediaTek Inc.
The information contained in this document can be modified without notice
(3) SACD_PCM_88K, SACD_PCM_176K: SACD PCM output frequency, please note when output is
176k, most of the post processing can not be open.
(4) SACD_INFO_LIKE_CDDA: SACD info behavior like CDDA or not.
2.24. Miscellaneous options of PCD and JPEG
(1) JPEG_SHOW_DEC_STATUS: show OSD message when a JPEG image is under decoding
(2) JPEG_SEL_AUTOSLIDE: enable auto slide show when a JPEG picture is selected
(3) JPEG_SHOW_THUMBNAIL_IDX: if this is turned on, the index of the picture selected in this
page will be shown on OSD, else the index of the picture selected in the total play list will be shown.
(4) JPEG_DIGEST_BK_USE_LOGO: add this option to save space, whether use logo when show
jpeg digest background.
(5) JPEG_BG_FOR_DIGEST_MENU: to customize background of JPEG digest display
(6) JPEG_BG_COLOR_Y, JPEG_BG_COLOR_CB, JPEG_BG_COLOR_CR: three ponderance Y.
Cb. Cr to define the background color
(7) JPEG_SLIDESHOW_INTERVAL: define the time interval to proceed to the next picture in slide
show mode
(8) JPEG_TRANSITION_SPEED: define the wiping speed of JPG transition effect, form 0 to 255, 0
fastest, 255 slowest.
(9) JPEG_AUTO_SLIDE_AFTER_ROTATE: if this is set, the auto slide show mode will be able after
a picture is rotated, else will be disabled.
(10) JPEG_TIME_TO_SLIDE: the time between rotate and slide show
(11) JPEG_DDISC_DIGEST_ENABLE: enable JPG digest display mode for data disc
(12) JPEG_PROGRESS_SHOW_ENABLE: enable the progressing display effect for progressive
JPEG images
(13) JPEG_DGST_SHOW_NO: show the index of the picture selected on VFD in JPG digest mode
(14) JPEG_DIGEST_4x3: if this is set, 12 (4x3) pictures will be shown as one page in JPEG digest
else it will be shown 3x3 pictures
(15) DIGEST_X_DIM_NUMS: the number of picture in one X row
(16) DIGEST_Y_DIM_NUMS: the number of picture in one Y row
(17) DIGEST_H_GAP_DIV_4: the gap of each picture in X row
(18) DIGEST_V_GAP_NTSC_DIV_5: the gap of each picture in X row
(19) DIGEST_WIDTH_DIV_4: the picture width in digest mode
(20) DIGEST_HEIGHT_DIV_5: the picture height in digest mode
(21) JPG_MAX_PROGRESS_PIC_SIZ: if set > 0 maximum progressive jpg picture size (width x
height) to (n*100000) else n=0 turn off
(22) JPG_ADAPTIVE_PAN_STEP:
(23) JPG_H_PAN_STEP_NUM:
(24) JPG_V_PAN_STEP_NUM:
Vendor.h Introduction
MediaTek Confidential Revision 1.0 – 2004-11-1 Page: 19 of 31
© 2005 MediaTek Inc.
The information contained in this document can be modified without notice
2.25. Miscellaneous options of MPEG4
(1) AVI_FSCAN_MODE, AVI_RSCAN_MODE: for high-speed scan mode, there have four mode
(a) SV_AVISCAN_DELAY 0: good accuracy with delay
(b) SV_AVISCAN_QUICK 1: quick and inaccurate, with no delay
(c) SV_AVISCAN_ACCURATE 2: good accuracy, no delay, only FWD SCAN
(d) SV_AVISCAN_DELAY_INDIS 3: delay indiscriminately, no accuracy
(2) AVI_FF_JMP_SPEED: mpeg4 scan speed
(3) AV_PLAY_MPG: support MPG
(4) AV_PLAY_AVI: support AVI
(5) AV_PLAY_OGG: support OGG
(6) AV_PLAY_A_LNLY_FILE:
(7) AVI_FAST_BM: fast but inaccurate bookmark and stop-resume
(8) AVI_FAST_TIME_PLAY: fast but inaccurate time search
(9) FITLONG_TV_SQ_PXL:
(10) AV_CFG_KEEP_ZOOM: keep zoom scale after file change
(11) AV_PLAY_UNSUP_A:
(12) AV_PLAY_UNSUP_V:
(13) AV_PLAY_UNSUP_FPS:
(14) AVI_ILLILV_A_FST_MODE:
(15) AVI_DELAY_INDIS_BASE:
2.26. Miscellaneous options of data disc
(1) DDISC_PB_SINGLE_ENABLED: the playback mode "SIGNAL" is not allowed if this option is not
set.
(2) DDISC_DEF_PLAYBACK_MODE: init the playback mode
(3) SV_REPEAT_NONE: the default playback mode when the system just booted.
(4) DDISC_READ_DISC_RETRY: set retry time for read disk
(5) DDISC_ENB_CONC_AV_MODE: config data disc playback mode properties
(6) DDISC_ENB_CDFS: enable CDFS
(7) DDISC_ENB_MIXED_TYPE_MODE: enable the mixed type mode
(8) DDISC_FTYPE_MP3_SUPPORT: Data disc file type MP3 support
(9) DDISC_FTYPE_MPEGA_SUPPORT: Data disc file type MPEGA support
(10) DDISC_FTYPE_AAC_SUPPORT: support AAC file type
(11) DDISC_FTYPE_JPEG_SUPPORT: support jpeg file type
(12) DDISC_FTYPE_MPG_SUPPORT: support MPG file type
(13) DDISC_FTYPE_WMA_SUPPORT: support WMA file type
(14) DDISC_FTYPE_MLP_SUPPORT: support MLP file type
Vendor.h Introduction
MediaTek Confidential Revision 1.0 – 2004-11-1 Page: 20 of 31
© 2005 MediaTek Inc.
The information contained in this document can be modified without notice
(15) DDISC_FTYPE_WAV_SUPPORT: support WAV file type
(16) DDISC_FTYPE_MP3PRO_SUPPORT: support MP3PRO file type
(17) DDISC_FTYPE_MAP_SUPPORT: support MAP file type
(18) DDISC_FTYPE_CDDA_SUPPORT: support CDDA file type
(17) DDISC_FTYPE_ASF_SUPPORT: support ASF file type
2.27. Certification related definition
(1)HDCD_AUTO_LEVEL: we will have -6 dB gain on CDDA/HDCD output.
(2)SHOW_CD_STREAM_TYPE: when HDCD is enabled
(3)DVD_IGNORE_BTN_NO_CMD: when this option is set to TRUE, and the DVD menu button
contains no navigation command, we just ignore the button select UOP and do not return UOP_FAIL.
(4)DVD_NEXT_STYLE: enter next style
(5)DVD_PREV_STYLE: reback the prev style
(6)DVD_GOTOP_OFFSET: can reback the last style in some limit time
(7)DVD_CHG_AST_OPT3 this option is the third option of audio stream change UOP
(a) SV_UOP_FORCE: set to this style the audio stream change will always be successful,
even between AC3 and DTS streams. Note this option does not complete the DVD certification
requirement.
(b) SV_UOP_BLOCK: we will always check the UOP block before switching audio
stream. If the UOP is blocked, the navigation engine will return UOP fail.
(8)DVD_SHOW_MSG_FIRST: when this option is set, we show NEXT/PREVIOUS OSD first then
send the UOP to increase the user key operation response time.
(9)DVD_NO_PTT_PLAY_UOP_BLOCK: if this option is enabled, we do not check PTT search block
flag for chapter search mode.
(10)TITLE_PLAY_IGNORE_UOP_BLOCK: we this option is set to TRUE, the navigation engine do
not check UOP block for UOP_TITLE_PLAY
(11)TREAT_PS_LB_AS_THE_SAME: when this option is set, in 16:9 video, if user selects an unexisted
TV Display mode (PS/LB), system will switch to the other if exists. (12)DVD_NEXT_STYLE
SV_NEXT_NORMAL
(13)DVD_NEXT_STYLE SV_DVD_NEXT_TITLE DVD_NEXT_STYLE (SV_DVD_NEXTCHAP_FST
+SV_NEXT_POST)
(14)DVD_PREV_STYLE SV_PREV_ONLY
DVD_PREV_STYLE (SV_DVD_PREV_TITLE + SV_DVD_PREV_CHAP + SV_PREV_GOTOP)
(15)DVD_GOTOP_OFFSET 2 //0
(a) SV_PREV_ONLY: when this option is set, do not perform GOTOP.
(b) SV_DVD_PREV_TITLE: when this option is set, go to previous title if in first chapter of
current title.
(c) SV_DVD_PREV_CHAP: when this option is set, if current PG is the first PG of a PGC,the
first priority is to jump to previous chapter, rather than go to the first PG of previous PGCN.
(d) SV_PREV_GOTOP: when this option is set, if the player has played this PG for a while,
jump to the beginning of this PG instead of going to previous PG. The threshold is
specified in BYTE2.
(e) DVD_GOTOP_OFFSET: 2 VOBUs
(16)DVD_CHG_AST_OPT3 SV_UOP_BLOCK
(a) SV_UOP_FORCE: set to this style the audio stream change will always be successful,
even between AC3 and DTS streams. Note this option does not comply the DVD certification
requirement.
Vendor.h Introduction
MediaTek Confidential Revision 1.0 – 2004-11-1 Page: 21 of 31
© 2005 MediaTek Inc.
The information contained in this document can be modified without notice
(b) SV_UOP_BLOCK: we will always check the UOP block before switching audio stream. If
the UOP is blocked, the navigation engine will return UOP fail.
(17)TITLE_PLAY_IGNORE_UOP_BLOCK (FALSE)
(18)CHECK_TV_ASPECT_SET
2.28. Miscellaneous options of file system menu
(1) FSMENU_STYLE_1: The menu with the alternative style.
(2) FSMENU_WITH_BUTTONS: We present the items on file menu with buttons if this option is set.
Otherwise, we present all the items with highlight only.
(3) FSMENU_DISABLE_PREV_WHEN_SHUFFLE: The playback mode "SHUFFLE" is disabled
during searching the previous item if this option is set.
(4) FSMENU_DEF_OPMODE: The default operation mode of file menu when the system just booted.
(5) FSMENU_DISABLE_OPMODE_SWITCH: The operation mode of file menu is disabled if this
option is set.
(6) FSMENU_SYNC_SELECTED_AND_HILIT: We force to sync the selected item with the one on
highlight now. It means that the hovering item can't be moved when an item is on highlight (played).
(7) FSMENU_PARENT_DIR_MSG_IDX: The index indicates the message used to present the
parent directory on menu.
(8) FSMENU_HLITEM_TEXT_COLOR: Which color we use to present the text on a selected button.
(9) FSMENU_DENY_PLAYING_ITEM_SELECTION: We don't allow the select the playing if the
option is set.
(10) FS_ENABLE_NEXT_PREV_WHEN_SINGLE: We will change to next item when we press
"NEXT" or "PREV" even it is under playback mode "SINGLE" if this option is set.
(11) FSMENU_INFO_PANEL: A WB area to show information
(12) ISO_PAUSE_STEP_NO_STEP: if set it, there is no step function when play ISO file.
(13)FSMENU_WITH_FILE_INFO:
2.29. Audio file option
(1) AFILE_TRICK_MODE_STILL:
(2) ENABLE_ID3 : enable ID3
2.30. OSD display option
(1) MT1389_OSD: only define after 1389 only.
(2) FONT_NO_BORDER: this option will let the OSD font boarder color as background color
(3) NUI_OSD_STYLE: use NUI OSD style.
(4) OSD_SLIDER_SUPPORT: support slider in setup menu.
(5) OSD_TRANSPARENT_BG: support transparent background
(6) KEEP_REMAIN_TYPE_SHOW: define this option will let the time remain type kept on the screen
is the display mode is not off
(7) KEEP_PLAY_INFO_SHOW: define this option will let the play info (title/chapter/track) be kept on
the screen after display time mode switched if the display mode is not off
(8) DISPLAY_SHOW_INFO_FIRST: this is an exclusive option of KEEP_PLAY_INFO_SHOW. When
Vendor.h Introduction
MediaTek Confidential Revision 1.0 – 2004-11-1 Page: 22 of 31
© 2005 MediaTek Inc.
The information contained in this document can be modified without notice
this option is defined, the first DISPLAY key pressed will show current display mode message first.
Before the message is timeout, the second DISPLAY key input is used to switch display mode really.
(9) TIME_INFO_SAME_LINE: if this option is set, we will let time mark and play info show at the
same line
(10) USR_PBC_NO_TOTAL_TIME: when user control mode, like shuffle mode, is turned on, we will
disable the total elapsed/remain time display mode if this option is set.
(11) SHOW_ERROR_TYPE_MSG: if the user operation is failed, show icon only or show help
message also
(12) NO_DISC_STOP_CLEAR: this is only for demo purpose. When press STOP key in no disc state,
clear OSD and show logo only.
(13) MULTI_LANG: support Multi-Language, open it when you use multi-language OSD .
2.31. DVD next/previous style
(1) DVD_NEXT_STYLE:
(a) SV_DVD_NEXT_POST: when this option is set, UOP blocking is ignored.
(b) SV_DVD_NEXT_TITLE: when this option is set, it’ll jump to next title.
(c) SV_DVD_NEXT_POST: when this option is set, post command is executed.
(2) DVD_PREV_STYLE:
(a) SV_PREV_ONLY: when this option is set, PREVIOUS key will go to previous item directly.
(b) SV_DVD_PREV_TITLE: when this option is set, go to previous title if in first chapter of
current title.
(c) SV_DVD_PREV_CHAP: when this option is set, if current PG is the first PG of a PGC, the
first priority is to jump to previous chapter, rather than go to the first PG of previous PGCN.
(d) SV_PREV_GOTOP: when set DVD_PREV_STYLE as this style, PREVIOUIS key will go to
current item start if current item time is greater than DVD_GOTOP_OFFSET (in seconds). Otherwise,
jump to the previous item.
(3) DVD_FIRST_ITEM_PREV_STOP: when in program mode and repeat mode is not set, press the
PREVIOUS key in the first item of the list will stop the playback.
(4) DVD_LAST_ITEM_NEXT_STOP: when in program mode and repeat mode is not set, press the
NEXT key in the last item of the will stop the playback.
(5) DVD_SHUFFLE_NO_PREV: if this option is set, the PREVIOUS key in shuffle mode is prohibited
2.32. VCD next/previous style
(1) VCD_PBC_NEXT_STYLE:
(a) SV_VCD_NEXT_NORMAL: if NEXT fails, ignore the UOP and return UOP_FAIL
(b) SV_VCD_NEXT_RETURN: if NEXT fails, call RETURN
(c) SV_VCD_NEXT_STOP: if NEXT fails, go to STOP state.
(2) VCD_PBC_PREV_STYLE:
(a) SV_VCD_PREV_NORMAL: if PREVIOUS fails, ignore the UOP and return UOP_FAIL
(b) SV_VCD_PREV_RETURN: if PREVIOUS fails, call RETURN.
(c) SV_VCD_PREV_STOP: if PREVIOUS fails, go to STOP state.
(3) VCD_PREV_STYLE: this is used to define the PREVIOUS key style of VCD
(a) SV_PREV_ONLY: when set VCD_PREV_STYLE as this style, PREVIOUS key will go to
previous item directly
(b) SV_PREV_GOTOP: when set VCD_PREV_STYLE as this style, PREVIOUIS key will go to
current item start if current item time is not greater than VCD_GOTOP_OFFSET (in seconds).
(4) VCD_FIRST_TRACK_PREV_STOP: when this option is set, and in PBC off sequential play mode,
Vendor.h Introduction
MediaTek Confidential Revision 1.0 – 2004-11-1 Page: 23 of 31
© 2005 MediaTek Inc.
The information contained in this document can be modified without notice
press the PREVIOUS key in the first track will go to stop mode directly.
(5) VCD_LAST_TRACK_NEXT_STOP: when this option is set, and in PBC off sequential play mode,
press the NEXT key in the last track will go to stop mode directly.
(6) VCD_SHUFFLE_NO_PREV: if this option is set, the PREVIOUS key in shuffle mode is prohibited.
Note current version doesn’t support PREVIOUS in shuffle mode when playing VCD.
(7) PBC_ON_NUM_SEL_TRK: when this option is set, the number key input in PBC play list state
will go to select track mode directly
2.33. CDDA next/previous style
(1)CDDA_PREV_STYLE: set the style to SV_PREV_ONLY or V_PREV_GOTOP.
(2) SV_PREV_ONLY: when set CDDA_PREV_STYLE as this style, REVIOUS key will go to previous
item directly
(3) SV_PREV_GOTOP: when set CDDA_PREV_STYLE as this style, REVIOUIS key will go to
current item start if current item time is not greater than CDDA_GOTOP_OFFSET (in seconds).
(4) CDDA_GOTOP_OFFSET: set the time which effect SV_PREV_GOTOP
(5) CDDA_FIRST_TRACK_PREV_STOP: when this option is set, and in equally play mode, press
the NEXT key in the last track will go to stop mode directly
(6) CDDA_LAST_TRACK_NEXT_STOP:DDA_LAST_TRACK_NEXT_STOP when this option is set,
and in sequential play mode, press the NEXT key in the last track will go to stop mode directly
(7) CDDA_SHUFFLE_NO_PREV: if this option is set, the PREVIOUS key in shuffle mode is
prohibited
2.34. Stop mode options
(1) STOP_RESUME_STYLE: there are two stop-resume styles are supported.
(a) STOP_RESUME_TWO_KEYS: when set STOP_RESUME_STYLE as this style, there are
only one stop state and use RESUME key to resume playback and PLAY key to play from the start of
the disc.
(b) STOP_RESUME_TWO_STOP: when set STOP_RESUME_STYLE as this style, there are
two stop states. When press first stop key in the normal playback state, it will go to stop-resume state.
Press PLAY key at this time will resume playback. When press second stop key in the stop-resume
state, it will enter fully stop state, and press PLAY key in this state will play from the start of the disc.
(2) DVD/VCD/ISO/CDDA_STOP_LOGO/ISO: when enter the stop mode from playback state, you
can select which logo will be shown on the screen. Different disc types could have different logo.
(a) SV_LOGO_JACKET: this is only for DVD, if the Jacket is not available, the normal logo will
shown.
(b) SV_LOGO_FLASH: set to this type will show the logo in the FLASH.
(c) SV_LOGO_COLOR: set to this type will let the screen show a single color. The color could
be customized or you can use predefined color, such as LOGO_BLACK, LOGO_BLUE, and etc.
(3) SUPPORT_CAPTURE_LOGO: Support capture LOGO function
(4) DVD_LOGO_COLOR 0: let the screen show a single color [0, 1, 2].
(8) CAP_LOGO_SZ: define capture logo size
2.35. DVD audio/sub-title/angle change option
(1) DVD_USER_STREAM_CHANGE: there are three stream changing methods available
(a) DVD_STREAM_CHANGE_DIRECT: when set to this style, press the AUDIO/SUBTITLE
Vendor.h Introduction
MediaTek Confidential Revision 1.0 – 2004-11-1 Page: 24 of 31
© 2005 MediaTek Inc.
The information contained in this document can be modified without notice
key will switch to next available stream number directly.
(b) DVD_STREAM_CHANGE_INFO: when set to this option, press the AUDIO/SUBTITLE key
first time will show current stream information directly. Press the key before the OSD disappeared will
switch to next available stream number.
(c) DVD_STREAM_CHANGE_SELECT: this style is the same with
DVD_STREAM_CHANGE_INFO, but user could use number key to select preferred stream number
directly.
(d) DVD_UOP_BLOCK_NO_STREAM_INFO: if the DVD_USER_STREAM_CHANGE is set
to DVD_STREAM_CHANGE_INFO or DVD_STREAM_CHANGE_SELECT style, we will check if the
UOP is blocked before current stream information shown. If the UOP is blocked, we will show invalid
operation message and the user operation will be failed.
(2) DVD_ANGLE_CHANGE_SELECT: when this option is set, user will be allowed to use number
key to select angle number directly, or the ANGLE key will switch to next available angle number
directly.
(3) DVD_CHG_AST_OPT2: this option is the second option of audio stream change UOP
(UOP_CHANGE_ASTN) actually.
(a) SV_AUDIO_MASTER: this is the default style, and this will let the audio switching more
smoothly.
(b) SV_VIDEO_MASTER: this mode is not used.
(4) DVD_CHG_AST_OPT3 this option is the third option of audio stream change UOP
(a) SV_UOP_FORCE: set to this style the audio stream change will always be successful, even
between AC3 and DTS streams. Note this option does not comply the DVD certification requirement.
(b) SV_UOP_BLOCK: we will always check the UOP block before switching audio stream. If
the UOP is blocked, the navigation engine will return UOP fail.
2.36. Trick mode customization
(1) DVD: default we have 5 modes (Normal/2X/4X/8X/16X) for fast forward/reverse mode and 5
modes (Normal////) for slow forward/reverse mode. For the fast playback, the first mode is trivial. The
second/third modes are done by video decoding process. The fourth and larger modes could be
customized. For the slow playback, the first mode is also trivial. The other modes will repeat the
picture n times for mode n.
(a) DVD_FAST_MAX: the max modes for fast forward/reverse. Default we have 5 modes.
(b) DVD_SLOW_MAX: the max modes for slow forward/reverse. Default we have 5 modes.
(c) pbDVDFastSpeedTbl: this is the fast skip VOBU numbers array which must contain items
as many as the number DVD_FAST_MAX. The first 3 modes could not be customized and the value
must be set to 0. The other elements all could be adjusted. Default we skip 2 VOBUS for 8X and 4
VOBUS for 16X.
(d) pbDVDFastDispTbl: this is OSD display number for each fast mode. Note the first item is
also not used.
(e) pbDVDSlowDispTbl: this is OSD display number for each slow mode. Note the first item is
also not used.
(2) VCD: for VCD we also have the same mechanism with DVD, and the skip number is changed
from VOBU to seconds.
(3) MP3/WMA: for MP3 and WMA, the trick mode is fixed and could not be customization in the
current implementation.
(4) CDDA:
(a) CDDA_FAST_MAX: the max modes for fast forward/reverse. Default we have 5 modes.
(b) pbCDDAFastSpeedTbl: this is not used in current code
(c) pbCDDAFastDispTbl: this is the displayed speed OSD for each mode
Vendor.h Introduction
MediaTek Confidential Revision 1.0 – 2004-11-1 Page: 25 of 31
© 2005 MediaTek Inc.
The information contained in this document can be modified without notice
2.37. User control option
(1) PLAYER_PROGRAM: define this option will enable the program function module for
DVD/VCD/CDDA.
(2) PLAYER_BOOKMARK define this option will enable the bookmark function module for
DVD/VCD/CDDA.
(3) PLAYER_DIGEST: define this function will enable the digest function for DVD/VCD/MPS.
(4) PLAYER_FLMENU: new file system menu
(5) PLAYER_VRMT: support VRMT function
(6) PLAYER_GOTO: support GOTO function
(7) PLAYER_ZOOMIN_INDICATOR: support zoom function
(8) STPMN_HEAD_GRAY: add for nui, gray header bitmap when unselected.
(9) PROG_NO_STOP_RESUME: if the option is set, press STOP will enter to fully stop state directly.
(10) PLAYER_SCAN: change input state when play DVD-audio
(11) STOP_CANCEL_USR_CTRL: when this option is set, the user control mode
(program/shuffle/random) will be cancelled when PBC state switch to stop state.
(12) SINGLE_STOP_KEEP_USR_CTRL: the user control mode will be enabled when PBC state
switch to stop state
2.38. VFD display related configuration
(1) VFD_SUPPORT: support VFD, the driver IC of VFD is 16311 or 16312.
(2) PANEL_LED: support led show.
(3) LCD_HT1621: support LCD, the driver IC of LCD is HT1621.
(4) VFD_SHOW_PBC_PLAY: when this option is set, we will show PBC PLAY on VFD, instead show
time mark.
(5)VFD_SHOW_CVD_AS_VCD: when this option is set, we will show VCD icon on the VFD for CVD,
else we will show CVD icon, if we have the icon.
(6)PLAYER_IO_KEY: when this option is set, support IO key key-press.
(7)PLAYER_IO_LED: when this option is set, support IO LED.
(8) VFD_KEYSCAN_LOOP_CNT: in power down mode, how long will detect the key scan.
(9) VFD_MAX_UPDATE_CNT: VFD can update how many changed position per timer interrupt.
(10) DISC_STYLE: from 0 to 4.
(a) 0: diagonal light, clockwise
(b) 1: diagonal light, counter clockwise.
(c) 2: only one dark, others light, clockwise
(d) 3: only one dark, others light, counter clockwise
(e) 4: diagonal dark, others light, clockwise
(11)VFD_SHOW_ERR: if your system internal test, you can see error on VFD.
(12)PANEL_VFD_LED: turn on this option to support VFD control IC's LED port
(13)VFD_TEMP_TEXT: turn on this option to support VFD-temp text.
(14)DVD_MENU_SHOW_VFD_CIRCLE: the default setting do not turn on the VFD wheel when we
in the DVD menu domain. Enable this option will let the wheel on in the domain.
(15)VCD_MENU_SHOW_VFD_CIRCLE: the default setting do not turn on the VFD wheel when we
in the VCD menu domain. Enable this option will let the wheel on in the domain.
(16)VFD_NO_DIRECT_TEXT: VFD does not support direct text.
(17)VFD_INIT_STATE_FLASHING: support VFD init state VFD flashing.
(18)VFD_STANDBY_LED: if you use VFD control IC's LED port to set power on/standby indicator,
Vendor.h Introduction
MediaTek Confidential Revision 1.0 – 2004-11-1 Page: 26 of 31
© 2005 MediaTek Inc.
The information contained in this document can be modified without notice
you could turn on this option to support this function.
(19)VFD_HDCD_LED: if you use VFD control IC's LED port to set HDCD decoding indicator, you
could turn on this option to support this function.
(20)VFD_DATA_H: use the field “vfd\vfd_data.h”
(21)VFD_DATA_C: use the field “vfd\vfd_data.c”
(22)VFD_KEY_C: use the field “vfd\vfdkey.c”
(23)RISC_1K_SQUARE_WAVE: turn RISC_1K_SQUARE_WAVE on will ask RISC to generate 1K
HZ square wave in P3.5.
2.39. Password
(1) PASSWORD_LEN: this option will set the DVD parental level change passwords, it could be 4, 5,
or 6 digits.
(2) NO_DEFAULT_PASSWORD: if this option is set, we will reset the parental password to an invalid
value, so the user do not need to look up the factory default password setting when he or she first
using the player.
(3) _pbSuperPass[ ]: this the universal password for parental level in case the user forget his
password setting.
(4) _pbFactoryPass[ ]: this is the factory default password. Note this is only useful when the option
NO_DEFAULT_PASSWORD is not defined.
(5) GOTO_VTSTT_DOM_ONLY: allow entering Goto in VTSTT_DOM only
(6) GOTO_IN_TRACK_ONLY: allow entering Goto in track only
(7) NO_SCROLL_OVER: define this to disable scrolling over behavilor, such as setup menu, goto
menu.
(3)GOTO_VCD_SEGMENT: define this to enable VCD's segment search
(4) GOTO_STATUS_NO_TTCH: define this to show displayed time type and bitrate number
(5) GOTO_SEPARATE_KEY IR_XXX: define this to use another key for entering Goto
2.40. Setup menu configuration
(1) SETUP_NO_BORDER: draw border for WB_SETUP_ITEM & WB_SETUP_MSG
(2) SETUP_MENU_OPTION_SELECT_RETAIN_OPTION: Retain in option area when option is
selected.
(3) SETUP_HEAD_BITMAP: in setup menu, the bitmap of head has three types: BITMAP_DEF,
BITMAP_JYC, BITMAP_JYC2
(4) NO_REGION_CODE: do not show region code
(5) NO_INT_VER: do not show internal version number
(6) SHOW_MARK: show right arrow between item & option
(7) SIMPLE_MENU: simpler menu for 2 channels model
(8) USE_TYPE_2: type 1 menu is flat style, type 2 menu is button style
(9) SETUP_NO_AGL_MARK: in setup menu, has no angle mark.
(10) SUPPORT_TRUECOLOR: support true color.
(11) SETUP_MENU_TRUECOLOR: setup menu white board use true color
(12) WB_ALLOC_MIN:
(13) ENABLE_USER_LANG_CODE: let user can input language code
(14) ALL_WB_USE_TRUECOLOR: all of white boards use true color
(15) STP_VDO_Q_MENU: setup menu has video quality menu.
(16) SET_VSURR_IN_SPKCFG: put virtual surround related setting item in speak configuration page
(17) RESET_CLOSE_SETUP_MENU: if defined, after user press reset, the setup menu will closed.
(18) SIMPLE_USE_MULTI_MENU: in 2 channels version, user can select flat style or button style
Vendor.h Introduction
MediaTek Confidential Revision 1.0 – 2004-11-1 Page: 27 of 31
© 2005 MediaTek Inc.
The information contained in this document can be modified without notice
setup menu.
(19) SCART_SELECTION: enable SCART output select items in setup menu
(20) SET_PTL_NEED_PWD: if defined, when user want to set parental level, he/she need input
password first.
(21) PWD_ON_NO_SET_PTL: if defined, if password switch is on, user can’t set parental level.
(22) SETUP_ENABLE_TEST_TONE: enable test tone item in setup menu
(23) SETUP_ENABLE_DIALOG_GAIN: enable dialog gain item in setup menu.
(24) DOWNMIX_NO_SUBWOFFER: in downmix state, has no subwoofer.
(25) SPDIF_ON_NO_TEST_TONE: when option SETUP_ENABLE_TEST_TONE and this option
both are set, we will not allow user select test tone when SPDIF output mode is enabled.
(26) SUBWOOFER_TEST_TONE: when option SETUP_ENABLE_TEST_TONE and this option art
set, we will allow user select test tone when subwoofer output mode is enable.
(27) MENU_ITEM_PIC_MODE: enable picture mode.
(28) SETUP_PAUSE_PLAY: when this option is set, enter in setup menu, the disc will pause, exit
setup menu, the disc will play continue.
(29) PLAY_NO_CHG_TV_FMT: when disc playback (include digest), user can’t change TV format.
(30) SETUP_CIRCULAR_ITEM: if defined, when user go to the last item (option), press next, it will
go to the first item (option).
(31)SIMPLE_AUDIO_SETUP_MENU: show simple audio item in setup menu when define simple
menu.
(32) SIMPLE_SPDIF_CTRL: show simple spdif ctrl item in setup menu.
(33) CHNL_DELAY_USE_TIME: channel delay use time display (0ms ~ 15ms)
(34) SPDIF_PCM_CH_SELECT: in PCM of SPDIF, the channel can select.
(35) SHOW_SPK: if defined, the TRIM_PAGE will show 5 speakers.
(36) PLAYER_TRIM: enable Trim page in setup menu/audio page and related function.
(37) PLAYER_SEQ: enable Super Equalizer page in setup menu/audio page and related function.
(38) PLAYER_ADV_EQ: enable Advanced Equalizer page in setup menu/audio page and related
function.
(39) PLAYER_MIC_EQ: enable Microphone Equalizer page in setup menu/audio page and related
function.
(40) PLAYER_3D_GAIN: enable Gain page in setup menu/audio/3D page and related function.
2.41. Setup Menu Default Option
(1) TV_SYSTEM_DEFAULT SV_PAL: the default value of TV system is SV_PAL
(2) OSD_LANG_DEFAULT EV_OSD_CHINESE: the default value of OSD language is
EV_OSD_CHINESE.
(3) AUDIO_LCD_DEFAULT EV_CHINESE: the default value of Audio LCD is EV_CHINESE
(4) SP_LCD_DEFAULT EV_CHINESE: the default value of subtitle is EV_CHINESE
(5) MENU_LCD_DEFAULT EV_CHINESE: the default value of Menu Lcd is EV_CHINESE
(6) REGION_DEFAULT EV_CHINA: the default value of region code is EV_CHINA.
(7) ASPECT_DEFAULT SV_4_3_PS: the default value of aspect is SV_4_3_PS.
(8) TV_SYSTEM_DEFAULT SV_NTSC: the default value of TV system is SV_NTSC.
(9) OSD_LANG_DEFAULT EV_OSD_ENGLISH: the default value of osd language is
EV_OSD_ENGLISH
(10) AUDIO_LCD_DEFAULT EV_ENGLISH: the default value of audio LCD is EV_ENGLSIH
(11) SP_LCD_DEFAULT EV_OTHER: the default value of subtitle is EV_OTHER.
(12) SP_LCD_DEFAULT EV_LANG_OFF: the default value of subtitle is EV_LANG_OFF.
(13) MENU_LCD_DEFAULT EV_ENGLISH: the default value of menu LCD is EV_ENGLISH
(14) REGION_DEFAULT EV_USA: the default value of region code is EV_USA.
Vendor.h Introduction
MediaTek Confidential Revision 1.0 – 2004-11-1 Page: 28 of 31
© 2005 MediaTek Inc.
The information contained in this document can be modified without notice
(15) ASPECT_DEFAULT SV_4_3_PS: the default value of aspect is SV_4_3_PS
(16) GLOBAL_SPDIF_DEFAULT EV_PCM: the default value of SPDIF is EV_PCM
(17) SPEAKER_SET_DEFAULT EV_DOWN_OFF: the default value of speaker set is
EV_DOWN_OFF
(18) CNTR_SPK_DEFAULT EV_LARGE: the default value of center speaker is EV_LARGE
(19) REAR_SPK_DEFAULT EV_LARGE: the default value of rear speaker is EV_LARGE
(20) POST_DRC_DEFAULT EV_POST_DRC_OFF: the default value of post dynamic is EV_POST
DRC_OFF.
(21) GLOBAL_SPDIF_DEFAULT EV_RAW: the default value of SPDIF is EV_RAW
(22) SPEAKER_SET_DEFAULT EV_DOWN_LORO: the default value of speaker set is
EV_DOWN_LORO
(23) CNTR_SPK_DEFAULT EV_SMALL: the default value of center speaker is EV_SMALL
(24) REAR_SPK_DEFAULT EV_SMALL: the default value of rear speaker is EV_SAMLL.
(25) POST_DRC_DEFAULT EV_POST_DRC_AUTO: the default value of post dynamic is
EV_POST_DRC_AUTO
2.42. Screen saver configuration
(1) Select screen saver type: there are two types provided, SS_BMP and SS_RECT. SS_BMP is for
bitmap type and SS_RECT is for rectangle type screen saver. Note that rectangle type is no use any
more.
(2) SS_USE_ONE_BMP: use one bitmap or animation bitmaps (two bitmaps)
(3) SCR_SAVER_TIMEOUT: this constant configures the screen saver timeout count, 1 tick for 5
seconds. Default is 3 minutes.
(4) MOVE_PER_STATE: move speed, bigger for higher speed
(5) SS_START_X/Y: start location X/Y
(6) SS_BMP_WIDTH/HEIGHT: bitmap width and bitmap height in pixel
(7) SS_NO_LIGHT_COL: no use lighter color
(8) SCR_SAVER_TIMEOUT: this constant configures the screen saver timeout count, 1 tick for 5
seconds. Default is 3 minutes.
(9)SS_NO_LIGHT_COL: no use lighter color.
(10)SS_FADE_INOUT: use fade in / fade out screen saver.
2.43. Remote controller setup
(1) PLAYER_NO_IR: if no remote control, define it
(2) IR_USE_HW: if this option is set, we will use the hardware assisted circuit to detect IR input
sequence. The default setting is on to reduce the IR interrupt input frequency.
(3) IR_USE_REPEAT: turn on this option to enable IR repeat code support. Both hardware and
software method support this function.
Vendor.h Introduction
MediaTek Confidential Revision 1.0 – 2004-11-1 Page: 29 of 31
© 2005 MediaTek Inc.
The information contained in this document can be modified without notice
(4) IR_CHECK_DATA_CODE_INV: if this option is set, we will check if the data code inverse
coincides with the data code. This will increase IR interrupt processing time and reduce the possible
error for the IR receiving.
(5) IR_STRICT_TIMING: if this option is set, we will use a strict time margin to check the IR
sequence's timing. This will reduce the possible error for IR receiving and the sensitivity of IR will be
reduced also if the IR emitter timing is biased.
(6) MTK_REMOTE: select the built-in remote controller mapping table.
(7) SF_SR_SAME_KEY: if the option is set, we will switch to slow reverse mode when press slow
forward key in the max slow forward mode.
(8) IR_SUPPORT_SHIFT_KEY: if this option is set, we will support the key combination
of SHIFT and other keys.
(9) ISO_SELECT_USE_ADD10_KEY: for the ISO file number selection, you could press digital
number key 2, 5, 6, to select file number 256. If you want the style to be compatible with the other
input mode, you could set this option on.
(10) STOP_RESUME_STYLE: set stop style
(11) STOP_RESUME_TWO_KEYS: when set STOP_RESUME_STYLE as this style, there are only
one stop state and use RESUME key to resume playback and PLAY key to play from the start of the
disc.
(12) STOP_RESUME_TWO_STOP: when set STOP_RESUME_STYLE as this style, there are two
stop states. When press first stop key in the normal playback state, it will go to stop-resume state.
Press PLAY key at this time will resume playback. When press second stop key in the stop-resume
state, it will enter fully stop state, and press PLAY key in this state will play from the start of the disc.
(13) CDDA_NO_STOP_RESUME: define this option will remove stop-resume state for CDDA. Press
the STOP key in playback mode will enter full stop mode directly.
(14) USE_NUM0_AS_NUM10: if this option is set, and user press number key 0 directly in the
number input state, we will set the input number as 10 and finish the number input sate.
(15) NO_ADD10_KEY: if your remote controller does not have +10 key, please set this option. All the
number input will be sequentially input as TV set.
(16) PN_IP_SAME_KEY: PAL and NTSC use one key
(17) USE_TEMP_DIGEST_KEY: the switch of IR_DIGEST
(18) ADD10_SHOW_10: OSD show add 10 flag
(19) USE_TEMP_SR_KEY: the switch of IR_SR
(20) USE_TEMP_CLEAR_KEY: the switch of IR_CLEAR
(21) PTT_TRK_SEARCH_CONFIRM: for DVD PTT and VCD Track search
(22) SHUFFLE_RANDOM_SAME_KEY: SHUFFLE and RANDOM use same key switch
(23) ZOOM_IN_OUT_SAME_KEY: if this option is set, we will switch to zoom out mode from the
zoom in 4X mode for the ZOOM IN key.
(24) ISO_TIMEOUT_SELECT: if this option is set, we will use current input number to select file
automatically when the OSD display is timeout.
(25) NUM_KEY_SEARCH for DVD/VCD: if this option is set, press number key in the normal play
mode will auto switch to chapter search for DVD and track search for VCD.
Vendor.h Introduction
MediaTek Confidential Revision 1.0 – 2004-11-1 Page: 30 of 31
© 2005 MediaTek Inc.
The information contained in this document can be modified without notice
(26) NUM_KEY_DIRECT_SEARCH: if this option is set, the first input number key will pass to
number input state as current select number. If this option is not set, this first number is used to
activate the search state only.
(27) NUM_KEY_SEARCH: for DVD/VCD: if this option is set, press number key in the normal play
mode will auto switch to chapter search for DVD and track search for VCD.
(28) NUM_KEY_DIRECT_SEARCH: if this option is set, the first input number key will pass to
number input state as current select number. If this option is not set, this first number is used to
activate the search state only.
(29) NUM_KEY_DIRECT_SEARCH_CHECK_RANGE: if this state is set, we will check if the current
press number key is in the valid range. If it is not, we will not process the number key.
(30) ONE_PTT_NO_SEARCH: DVD: if this option is set, we will prohibit the search mode when the
current played title has one chapter only.
(31) ONE_TRACK_NO_SEARCH: if this option is set, we will prohibit the search mode for the VCD
only has one track only.
(32) DIGIT_CANCEL_REPEAT: if this option is set, user use digit button to select or use the time
search function will cancel repeat mode
(33) ZOOM_NO_SLOW_STEP: if this option is set, we will not allow user use SLOW key and STEP
when the ZOOM mode is on.
2.44. Tray control define area
(1) SLOT_IN: if you use slot in tray, please define it.
(2) THOMSON_TRAY: if you use Thomson tray, please define it.
(3) TOP_LOADER: please define this option to support top open cover loader
(4) MT1389HD_NO_SERVO: 1389HD, if no servo, please define it.
(5) ENABLE_TRAY_PWM: Tray Power function control, the value is 0 or 1.0 is not eject control, 1
has eject control.
(6) TRAY_IN_OUT_DELAY: add some delay time when touch/leave limit S/W.
(7) TRAY_OPEN_LEVEL1, TRAY_OPEN_TIME1, TRAY_OPEN_LEVEL2, TRAY_OPEN_TIME2,
TRAY_OPEN_LEVEL3: for the tray open over use time
(8) TRAY_CLOSE_LEVEL1, TRAY_ CLOSE _TIME1, TRAY_ CLOSE _LEVEL2, TRAY_ CLOSE
_TIME2, TRAY_ CLOSE _LEVEL3: for the tray close over use time
(4) LIMIT_TRAY_ERR: when the tray is jammed, we will try to do open when tray is closing, and try
to do close when tray is opening. If you want to limit the retry times, you could enable this option and
set the constant MAX_TRAY_ERR_CNT as you want.
(10) MAX_TRAY_ERR_CNT: the tray errors retry count.
2.45. Servo related setting
Vendor.h Introduction
MediaTek Confidential Revision 1.0 – 2004-11-1 Page: 31 of 31
© 2005 MediaTek Inc.
The information contained in this document can be modified without notice
(1) SRV_DATA_READ_TIMEOUT: this constant is used to configure the max timeout value for the
single data sector reading. Current setting is 2 seconds and this is dependant on the loader
performance.
(2) SRV_ERROR_RETRY: servo errors retry count.
(3) SRV_SHOW_ERROR_COUNTER: if this option is enabled, we could display current servo error
counter on the OSD.
(4) DVD_ARBUF_DEFAULT: this constant is used to set the audio muting time during audio stream
switching. This setting depends on the loader’s seek performance and its scale is 90000256×n
seconds.
(5) MINI_DVD_8X_SPEED: if support MINI_DVD, the servo reads it as 8x speed.
2.46. Define Vendor DEBUG ATAPI CMD
(1) DRS232_DEBUG: must define it, that with it we can read the data value by mtktool.
2.47. Certification related definition
(1) DVD_CERTIFICATION: it will define some DVD certification, and is same like define in DVD
Miscellaneous. This function is convenient to user to define some values that we should change
always.
2.48. Include file
Only define some files we use.

没有评论:

发表评论