www.pudn.com > DVBT_SUNPLUS_0801.rar > cust_def.h, change:2006-07-31,size:19952b


 
#ifndef _CUST_DEF_H_ 
#define _CUST_DEF_H_ 
 
#include ".\\h\\set.h" 
 
#define SUPPORT_PLAYBACK_ICON       // display osd playback icons 
#define NO_PLAYBACK_STRING          // need define SUPPORT_PLAYBACK_ICON 
 
#ifdef SUPPORT_USB 
#define FS_FAT_HANDLE_DISCONTINUITY 
#endif 
 
 
#define SUPPORT_PRECALCULATE_VIDEOBITRATE_FOR_FILE_MODE   // 2004/08/11 yltseng 
//#define SEL_AUDIO_LANG_BY_USER 
//#define SEL_AUDIO_LANG_BY_SETUPMENU 
 
//#define FIX_VIDEO_RATIO_ISSUE//nono 20040518 
 
//#define SP_CTRL_BY_SETUP_MENU//nono 4-9-7 23:39 for SETUP MENU is set "OFF", but SUBP is still ON. Tkx for Terry's help. 
 
//#define DVD_REP_ALL_TITLE                //terry,2003/10/18 06:30PM 
#define SHARE_NAV_VAR                         //terry, share dvd/jpeg/vcd/mp3 global variable memory 
 
#ifdef SUPPORT_CDG 
    #define SUPPORT_ECC                       //define to use software ECC+De-Interlave for CDDA(CD-G) subchannel 
#endif 
 
//#define SUPPORT_STREAM_BUFFER 
//#define SUPPORT_MIX_MP3_CDDA 
#ifdef SUPPORT_MIX_MP3_CDDA     //linrc change "SUPPORT_MIX_MP3_CDDA" to "SUPPORT_MIX_DATA_CDDA_DISC" 
    #define SUPPORT_MIX_DATA_CDDA_DISC //because we support this type mix mode disc 2004-12-15 15:53 
#endif 
 
//#define UOP_PROHIBIT_ANGLE_SHOW_OFF		//nono 3-12-18 15:10 for YILI. 
 
//#define JPG_EFFECT   //David Add 3-6-26 17:12 
//#define JPG_ONCE_SHOW_ALL_PER_PIECE 
//#define USER_LOGO 
 
#define NEW_GOTO 
//#define BIG_AC3_VOICE                         //terry, adjust ac3 default voice volume,0508 ,avoid audio noise 
//#define SUPPORT_ID3 
//#define SUPPORT_CHINESE_FONT 
 
#if defined( SUPPORT_CHINESE_FONT ) || defined( SUPPORT_CHINESE_FONT_COMPRESSED ) 
    //spuuort BIG5 or GB. only one can be activated. 
    #ifdef SUPPORT_CHINESE_FONT 
        #ifdef PESI_BIG5_FONT 
            #define USE_PESI_COMMON_FONT    //tbdong add for USE_PESI_FONT //yuliang 0629 
        #elif defined (SUNPLUS_BIG5_FONT) 
            #define USE_SUNPLUS_BIG5_COMMON_FONT //tbdong added for sunplus demo fontbase: 24*24 Big5 Font Bitmap 
 
            #ifdef USE_SUNPLUS_BIG5_COMMON_FONT 
            #ifdef USE_14000_BIG5_FONT 
                #define USE_SunplusBig5_FONT_ALL_CHARACTER 
            #else 
                #define USE_SunplusBig5_FONT_5966_CHARACTER 
            #endif 
            #endif 
 
        #else 
            #define USE_SUNPLUS_BIG5_COMMON_FONT //tbdong added for sunplus demo fontbase: 24*24 Big5 Font Bitmap 
            //#define USE_BIG5_FONT 
            //#define USE_BIG5_COMMON_FONT 
            //#define USE_GB2312_FONT 
        #endif 
    #elif defined( SUPPORT_CHINESE_FONT_COMPRESSED )    // 2004/09/19 yltseng 
        #ifdef PESI_BIG5_FONT 
            #define USE_PESI_COMMON_FONT_COMPRESSED //yuliang 0629 
        #elif defined(SUNPLUS_BIG5_FONT) 
            #define USE_SUNPLUS_BIG5_COMMON_FONT_COMPRESSED  //tbdong added for sunplus demo fontbase: 24*24 Big5 Font Bitmap 
 
            #ifdef USE_SUNPLUS_BIG5_COMMON_FONT_COMPRESSED 
            #ifdef USE_14000_BIG5_FONT 
                #define USE_SunplusBig5_FONT_ALL_CHARACTER 
            #else 
                #define USE_SunplusBig5_FONT_5966_CHARACTER 
            #endif 
            #endif 
 
        #else 
            #define USE_SUNPLUS_BIG5_COMMON_FONT_COMPRESSED  //tbdong added for sunplus demo fontbase: 24*24 Big5 Font Bitmap 
            //#define USE_BIG5_FONT_COMPRESSED 
            //#define USE_BIG5_COMMON_FONT_COMPRESSED //yuliang 0629 
            //#define USE_GB2312_FONT_COMPRESSED 
        #endif 
    #endif 
 
    //#define SUPPORT_HZ	// support HZ to GB or BIG5 translate 
    //#define SUPPORT_GB_TO_BIG5	// support GB to BIG5 translate 
    //#define SUPPORT_BIG5_TO_GB	//support BIG5 to GB translate 
#endif 
 
// 2005/03/03 yltseng 
#if defined( SUPPORT_CHINESE_FONT ) || defined( USE_RUSSIAN_LANGUAGE ) || defined( EUROPE_FOREIGN_LANGUAGES ) || defined( MIDDLE_EUROPE_LANGUAGES ) || defined( USE_CYRILLIC_FONT ) || defined( SUPPORT_TURKISH_LANGUAGES ) || defined( USE_JAPANESE_FONT ) || defined( USE_KOREAN_FONT ) || defined( USE_WINDOWS_CODEPAGE_1250 ) 
    #define SUPPORT_FONT_UTIL 
    #define SUPPORT_MULTI_FONT_SWITCH     // 2005/03/10 yltseng 
#elif defined( SUPPORT_CHINESE_FONT_COMPRESSED ) || defined( USE_RUSSIAN_LANGUAGE_COMPRESSED ) || defined( EUROPE_FOREIGN_LANGUAGES_COMPRESSED ) || defined( MIDDLE_EUROPE_LANGUAGES_COMPRESSED ) || defined( USE_CYRILLIC_FONT_COMPRESSED ) || defined( SUPPORT_TURKISH_LANGUAGES_COMPRESSED ) || defined( USE_JAPANESE_FONT_COMPRESSED ) || defined( USE_KOREAN_FONT_COMPRESSED ) || defined( USE_WINDOWS_CODEPAGE_1250_COMPRESSED ) 
    #define SUPPORT_FONT_UTIL 
    #define FONT_COMPRESSED 
    #define SUPPORT_MULTI_FONT_SWITCH     // 2005/03/10 yltseng 
#endif 
 
/* 
***1,SUPPORT Sunplus Demo Fontbase ISO/IEC 8859-1~16, MUST DEFINE the following Micro: 
***           SUPPORT_FONT_UTIL,OSD_FONT_API 
***2,When USE COMPRESSED Fontbase, MUST DEFINE the following Micro: 
***            FONT_COMPRESSED 
***3,When use the Variable Width charset fontbase, MUST Define : 
***            SUPPORT_VARIABLE_WIDTH_CHAR 
***   Note:SUPPORT_VARIABLE_WIDTH_CHAR only support the ISO/IEC 88591~16 , ASCII and EASCII. 
***           if we use the other fontbase, pls. mask the micro define. 
***4,the Micro define USE_SP_FONT_GB2312 : including the GB1 and GB2 
***ADD BY tbdong@sunplus.com.cn in 050826 
*/ 
 
 
#ifdef USE_SP_FONT_GB2312 
#ifdef FONT_COMPRESSED 
#define USE_SP_FONT_GB2312_COMPRESSED 
#else 
#define USE_SP_FONT_GB2312_COMMON 
#endif 
#endif 
 
#ifdef USE_SP_FONT_ASCII 
#ifdef FONT_COMPRESSED 
#define USE_SP_FONT_ASCII_COMPRESSED 
#else 
#define USE_SP_FONT_ASCII_COMMON 
#endif 
#endif 
 
#ifdef USE_SP_FONT_EASCII 
#ifdef FONT_COMPRESSED 
#define USE_SP_FONT_EASCII_COMPRESSED 
#else 
#define USE_SP_FONT_EASCII_COMMON 
#endif 
#endif 
 
#ifdef USE_SP_FONT_ISOIEC_8859_1 
#ifdef FONT_COMPRESSED 
#define USE_SP_FONT_ISOIEC_8859_1_COMPRESSED 
#else 
#define USE_SP_FONT_ISOIEC_8859_1_COMMON 
#endif 
#endif 
 
#ifdef USE_SP_FONT_ISOIEC_8859_2 
#ifdef FONT_COMPRESSED 
#define USE_SP_FONT_ISOIEC_8859_2_COMPRESSED 
#else 
#define USE_SP_FONT_ISOIEC_8859_2_COMMON 
#endif 
#endif 
 
#ifdef USE_SP_FONT_ISOIEC_8859_3 
#ifdef FONT_COMPRESSED 
#define USE_SP_FONT_ISOIEC_8859_3_COMPRESSED 
#else 
#define USE_SP_FONT_ISOIEC_8859_3_COMMON 
#endif 
#endif 
 
#ifdef USE_SP_FONT_ISOIEC_8859_4 
#ifdef FONT_COMPRESSED 
#define USE_SP_FONT_ISOIEC_8859_4_COMPRESSED 
#else 
#define USE_SP_FONT_ISOIEC_8859_4_COMMON 
#endif 
#endif 
 
#ifdef USE_SP_FONT_ISOIEC_8859_5 
#ifdef FONT_COMPRESSED 
#define USE_SP_FONT_ISOIEC_8859_5_COMPRESSED 
#else 
#define USE_SP_FONT_ISOIEC_8859_5_COMMON 
#endif 
#endif 
 
#ifdef USE_SP_FONT_ISOIEC_8859_6 
#ifdef FONT_COMPRESSED 
#define USE_SP_FONT_ISOIEC_8859_6_COMPRESSED 
#else 
#define USE_SP_FONT_ISOIEC_8859_6_COMMON 
#endif 
#endif 
 
#ifdef USE_SP_FONT_ISOIEC_8859_7 
#ifdef FONT_COMPRESSED 
#define USE_SP_FONT_ISOIEC_8859_7_COMPRESSED 
#else 
#define USE_SP_FONT_ISOIEC_8859_7_COMMON 
#endif 
#endif 
 
#ifdef USE_SP_FONT_ISOIEC_8859_8 
#ifdef FONT_COMPRESSED 
#define USE_SP_FONT_ISOIEC_8859_8_COMPRESSED 
#else 
#define USE_SP_FONT_ISOIEC_8859_8_COMMON 
#endif 
#endif 
 
#ifdef USE_SP_FONT_ISOIEC_8859_9 
#ifdef FONT_COMPRESSED 
#define USE_SP_FONT_ISOIEC_8859_9_COMPRESSED 
#else 
#define USE_SP_FONT_ISOIEC_8859_9_COMMON 
#endif 
#endif 
 
#ifdef USE_SP_FONT_ISOIEC_8859_10 
#ifdef FONT_COMPRESSED 
#define USE_SP_FONT_ISOIEC_8859_10_COMPRESSED 
#else 
#define USE_SP_FONT_ISOIEC_8859_10_COMMON 
#endif 
#endif 
 
#ifdef USE_SP_FONT_ISOIEC_8859_11 
#ifdef FONT_COMPRESSED 
#define USE_SP_FONT_ISOIEC_8859_11_COMPRESSED 
#else 
#define USE_SP_FONT_ISOIEC_8859_11_COMMON 
#endif 
#endif 
 
#ifdef USE_SP_FONT_ISOIEC_8859_13 
#ifdef FONT_COMPRESSED 
#define USE_SP_FONT_ISOIEC_8859_13_COMPRESSED 
#else 
#define USE_SP_FONT_ISOIEC_8859_13_COMMON 
#endif 
#endif 
 
#ifdef USE_SP_FONT_ISOIEC_8859_14 
#ifdef FONT_COMPRESSED 
#define USE_SP_FONT_ISOIEC_8859_14_COMPRESSED 
#else 
#define USE_SP_FONT_ISOIEC_8859_14_COMMON 
#endif 
#endif 
 
#ifdef USE_SP_FONT_ISOIEC_8859_15 
#ifdef FONT_COMPRESSED 
#define USE_SP_FONT_ISOIEC_8859_15_COMPRESSED 
#else 
#define USE_SP_FONT_ISOIEC_8859_15_COMMON 
#endif 
#endif 
 
#ifdef USE_SP_FONT_ISOIEC_8859_16 
#ifdef FONT_COMPRESSED 
#define USE_SP_FONT_ISOIEC_8859_16_COMPRESSED 
#else 
#define USE_SP_FONT_ISOIEC_8859_16_COMMON 
#endif 
#endif 
 
 
//#define SLOT_IN_LOADER                        //robert 020919 
 
 
//==================================================================== 
// System misc. function related 
//==================================================================== 
 
#define DSPWATCHDOG     (5*100/50)         //RISC do DSP watchdog(x second) 
 
 
#if defined(INTRO_10S)			//dingzhy for tonic   2/3/2004 10:41AM 
    #define INTRO_LEN       10*75 + 5 
#elif defined(INTRO_7S)						//heqiang, cut down CD preview time to 7 seconds. 2004-3-5 11:03 
    #define INTRO_LEN       7*75 + 5 
#else 
    #define INTRO_LEN       15*75 + 5//dingzhy "+5" for some cd only play 14s    4-11-11 15:22 
#endif 
 
 
//define password to show vcd F/W code version 
#define PASSWORD 
 
//define multiple screen saver selection 
//#define MULTISCRNSAVER 
 
//==================================================================== 
// audio related parameter area 
//==================================================================== 
 
//Jeff modify, 20031222 
//Define audio DAC format(DSP --> DAC) 
//legacy define 
#if defined(WM8746I2S24) 
    #define USE_DAC_I2S24 
#elif defined(WM8746) 
    #define USE_DAC_RJ24        //recommend to use this 
//#elif defined(PCM1606) 
    //#define USE_DAC_RJ16        //wuxiaofeng add for Eton 
#endif 
 
 
#ifdef USE_DAC_RJ24 
    #define DACFORMAT       0x5e    //Right-justify format, High:L, Low:R 
#elif defined(USE_DAC_I2S24) 
    #define DACFORMAT       0x4d    //I2S  format, Low: L, High:R // benson update 2004.08.18 
#elif defined(USE_DAC_RJ16) 
    #define DACFORMAT       0x52    //Right-justify format, High:L, Low:R 
#elif defined(USE_DAC_I2S16) 
    #define DACFORMAT       0x41    //I2S  format, Low: L, High:R 
#elif defined(USE_DAC_LJ24) 
    #define DACFORMAT       0x5c    //LJ24  format, Low: L, High:R 
#elif defined(USE_DAC_LJ16) 
    #define DACFORMAT       0x50    //LJ16  format, Low: L, High:R 
#else 
    #define DACFORMAT       0x5e    //Right-justify format, High:L, Low:R 
#endif 
 
//Define AUD_XCK is output or input pin 
#define SUPPORT_AUD_XCK_OUT 
 
 
//Define Extern MIC OK 
//#define SUPPORT_EXT_MIC 
 
#ifndef NO_MIC 
    #define VOCAL_CANCEL 
#endif 
 
 
#ifdef SUPPORT_EXT_AD_SHOW_MIC_AUTO_SING    //ouyang add for extern AD achieve AUTO sing 2004-12-10 19:15 
    #define VOCAL_CANCEL 
#endif 
 
#ifdef VOCAL_CANCEL 
    #define MAX_CH_NUM  4 
    #define CH_AUTO_L   3 
    #define CH_AUTO_R   4 
    //#define SET_AUTO_SW_CH_TM 100 //1 sec    //200 //2 sec 
    //#define SET_AUTO_MUTE_TM 300 //3 sec /*jhuang 2001/4/20 05:37PM*/ 
#else 
    #define MAX_CH_NUM 2 
#endif 
 
#ifdef  SUPPORT_8202_EXT_ADC   //chyeh  2005/03/23 
    #undef  ADC_CONFIG_MODE 
    #define ADC_CONFIG_MODE     8 
#endif 
 
//==================================================================== 
// VFD related parameter area 
//==================================================================== 
 
//#define TEST_VFD  1 
//#define VFD2OSD_DBG_TXD 
 
//Define VFD driver type 
#define NEC16311         0x01       // Made by NEC 
#define NEC16312         0x02       // Made by NEC 
#define MN12510          0x03       // Made by Panasonic 
#define BU2872AK         0x04       // Made by Rohm 
#define HEF4021B         0x05       // Made by Philips 
#define NJU3421A         0x06       // Made by JRC 
#define VFD_NO_SCAN      0x20 
#define HT1621           0x21       // Made by Holtek 
#define SPL10            0x22       //SPL10 VFD 
#define HC595		     0x23				// gene 060408 
#define VFD_NONE_DRIVER  0xff 
 
 
//Define VFD module type 
#define ZEC_VFD28_0901  0x01      // Made by Zec 
#define ZEC_VFD28_0903  0x02      // Made by ZEC 
#define FUT_6_BT_265GK  0x03      // Made by Futaba 
#define FUT_6_BT_269GK  0x04      // Made by Futaba 
#define FUT_6_BT_253GK  0x05      // Made by Futaba 
#define FUT_6_BT_267GK  0x06      // Made by Futaba 
 
#define ZEC_0601        0x07      // Made by Futaba 
 
#define LCD_PANEL       0x08      // Made by Futaba 
#define FUT_6_BT_269GK1 0x09 
//#define HT1621_LCD      0x0a 
//#define HT1621_LCDX     0x0d    // תµúÒº¾§ÆÁ 
#define HT1611_LCD      0x0e       // chichang 2001 6/6 NINTAUS DVD-N701 
#define HO16512_VFD     0x0c      // zyf 2000/11/16 
#define VFD_NONE        0xff      // No Vfd Module 
 
#if defined(HT1621_PANNEL) 
    #define VFD_DRIVER      HT1621 
#elif defined(SPL10_PANNEL) 
    #define VFD_DRIVER      SPL10 
#elif defined(HC164_PANNEL) 
    #define VFD_DRIVER      HC164 
#elif defined(HC595_PANNEL)					// gene 2006-4-8 
	#define VFD_DRIVER  HC595 
#elif defined(AD7312_PANNEL) 
    #define VFD_DRIVER      AD7312 
#elif defined(GT1128_PANNEL) 
    #define VFD_DRIVER      GT1128 
#else 
    #define VFD_DRIVER      NEC16312 
    #define VFD_MODULE      FUT_6_BT_269GK1 
#endif 
 
 
//==================================================================== 
// IR related parameter area move to user_init.h 4-1-13 13:41 
//==================================================================== 
 
//Define for optional IR function 
//#define IR_GOTO_ON 
//#define IR_PROG_ON 
//#define IR_REPEAT_ALL_ON 
//#define IR_SHUFFLE_ON 
//#define LINEAR_PLAY_9FRAME 
 
//#define NEC16312SW   //lijinhai for rotary switch key 
 
 
// 
// SDRAM related config 
// 
#ifdef SDRAM_BUS_32BITS 
    //#define F94_5 
    #if defined(USE_108MHZ)||defined(USE_DEFAULT_CLOCK) 
        #define F108                // 4.00x 
        //#define F114_75             // 4.25x 
    #else 
        //#define F108 
        //#define F121_5              // 4.50x 
        //#define F128_25 
        //#define F135 
        //#define F141_75 
        //#define F148_5 
        //#define F155_25 
        //#define F162 
    #endif 
 
#else 
    #if defined(USE_108MHZ)||defined(USE_DEFAULT_CLOCK) 
        #define F108                // 4.00x 
    #else 
        //#define F108                // 4.00x (only for test, may not work) 
        //#define F114_75             // 4.25x 
        //#define F121_5              // 4.50x 
    #endif 
#endif 
 
#define SDRAM_NO_REORDER 
 
 
//#define MB22		            // potatooo: don't use now 
#define USE_LPCM_REPLACE_PCM //terry,2004/3/4 08:40PM 
 
#ifdef SDRAM_16Mb_Mode 
    #define MEMCFG_COMPACT_MODE         // potatooo 
    #define MEMCFG_MOVE_OSDSUP          // potatooo 
 
    #ifndef TURBO_DECODE    //kevinmonkey 050309 chosing TURBO_DECODE or L-memory 
        #define MEMCFG_PAL_LMEM             // potatooo 
        #define DTH_CFG_ENABLE              // potatooo 
    #endif 
    //#define NO_AUDIO_DSP 
    #define SDRAM_1PCS 
 
    #ifndef SUPPORT_SDRAM16M_DTS_5_1CH_OUTPUT //linrc  2004-11-24 17:55 
        #define NO_DTS_OUTPUT 
    #endif 
 
    #undef SUPPORT_SLOWBACKWARD 
    //#undef JPG_SUPPORT_PROGRESSIVE 
    #undef JPG_READ_SPEED_UP 
    /*#define ONLY_B_PIC*/ 
#else 
    /*#define JPEG_VFX_ENABLE*/ 
    //#define SUPPORT_BOOK  //this config should be moved to cfg_customer.h 
    #ifndef MAKE_ONLY_UPDATE_CODE 
    #ifndef SDRAM_2MB_MODE//Yvonne_051205 
        #define SUPPORT_3DSOUND 
    #endif 
        #define COMPRESS_CODE 
        #define PLAY_OKO_DISC 
    #endif//MAKE_ONLY_UPDATE_CODE:20050305 linrc only for make romA.bin(BootLoad). 
    #ifdef SDRAM_2MB_MODE //Yvonne_261005 
	#define SDRAM_1PCS 
    #endif 
#endif 
 
 
#if !defined(SDRAM_16Mb_Mode)//nono for GBM 
    #ifndef SUPPORT_JPEG_MIC 
    #ifndef SDRAM_2MB_MODE//Yvonne_051205 
        #define OSD_FONT_COMPRESS     /* alan 020424 : flag to decide if you want to compress osd font */ 
    #endif 
#endif 
#endif 
 
 
#define	FREQ_MASK_DEFAULT		0xf 
 
#define WATCHDOG_RENEW_TIME		0xbfff 
 
//#define BAD_DISC_SEQ_PLAY    //terry,2003/8/29 02:18AM,for all custumer 
 
#ifndef MAKE_ONLY_UPDATE_CODE//?? 
    //MAKE_ONLY_UPDATE_CODE:20050305 linrc only for make romA.bin(BootLoad). 
    #define DVD_ALWAYS_AUTO_PLAY    //terry 4-6-14 12:22 
#endif 
//#define CHANGE_DSP_SPDIF_OFF	//nono 2003-10-21 21:07 spdif output, when change dsp code, run spdif off. 
 
/* 
* setup rating level 
* wanghaoying 2003-11-22 17:27 
* If you want change the default setting of rate for some customer, 
* Please define RATE_DEFAULT in the customer's cfg_xxxx.h. 
* Notice: Please note me if you want to modify something here 
*/ 
#define RATE_LOW    2 
 
#ifdef RATING_8 
    #define RATE_HIGH   9 
#else 
    #define RATE_HIGH   4 
#endif 
 
#ifndef RATE_DEFAULT 
    #define RATE_DEFAULT    RATE_HIGH 
#endif 
 
 
// For DISC_ID_IN_FLASH to work, SAME_DISC_RESUME must also turn on 
// Use 64KB of flash to store DISC RESUME information and SETUP Information 
//#define SAME_DISC_RESUME   // in cfg_customer.h 
//#define DISC_ID_IN_FLASH 
#ifdef DISC_ID_IN_FLASH 
    #define SETUP_IN_FLASH  //Do you what to get rid of EEPROM and use the flash to store setup 
#endif 
 
#if defined(DISC_ID_IN_FLASH) && defined(SAME_DISC_RESUME) 
    //VERY IMPORTANT. 
    //if ROM.BIN>=458752bytes, you have to use a 8Mbit flash to support disc resume features 
    //for 4Mbit Flash, uses addr 0x70000-0x7ffff for disc id 
    //#define FLASH_START_ADDR  0x70000 
    //#define FLASH_ERASE_SECTOR 7 
 
    //for 8Mbit Flash, uses addr 0xf0000-0xfffff for disc id 
    #define FLASH_START_ADDR  0xf0000 
    #define FLASH_ERASE_SECTOR 0xf 
#endif 
 
 
/* 
*  Audio 
*/ 
#define USE_MIC_ECHO_PARAM     //terry,2004/1/8 05:37PM 
 
// 2004/07/16 yltseng 
#ifdef SDRAM_16Mb_Mode 
    #ifndef USE_NAV_BUF_16M_DECREASE_SUBPICTURE 
        #define USE_NAV_BUF_16M 
    #endif 
 
    //#define USE_NAV_BUF_16M_DECREASE_SUBPICTURE 
 
    #ifndef TURBO_DECODE     //kevinmonkey 050309 when TURBO DECODE,no L-memory, 2005/04/01 yltseng 
        #define MOVE_PAL_AUDYA 
    #endif 
 
    #ifdef SUPPORT_SDRAM16M_AC3_5_1CH_OUTPUT//nono move here.4-9-9 15:35 
        #undef ONLY_DOWNMIX   //terry,2005/3/30 11:50¤W¤È 
        #undef TEMP_TWO_CHANNEL 
        #undef TWO_CHANNEL_ONLY 
 
        #ifdef IC_8202D 
            #undef INTERNAL_AUDIO_DAC  // 8202D 
        #endif 
    #endif 
#else 
    #define USE_NAV_BUF 
#endif 
 
 
//moved to here for both 8200 and 8202 
#define SHOW_SYSTEM_CLOCK	//20040708//JSLin 
 
 
#define LmRm_CFG        1 
 
#ifdef SUPPORT_MP4_SUBTITLE 
    #define SUPPORT_OSDSRT 
    #define OSD_FONT_API 
#endif 
 
 
 
#if defined(DVB1000_NON_OS) 
    #ifdef SUPPORT_MP4_SUBTITLE 
        #define SUPPORT_OSDSRT//suqiaoli add 2004-3-17,show srt title on OSD 
        #define OSD_FONT_API 
        #define SUPPORT_FONT_UTIL   // 2004/09/19 yltseng 
 
        #ifdef SUPPORT_FONT_UTIL 
            #if defined(SUPPORT_CHINESE_FONT_COMPRESSED) || defined(USE_RUSSIAN_LANGUAGE_COMPRESSED) || defined(EUROPE_FOREIGN_LANGUAGES_COMPRESSED) || defined(MIDDLE_EUROPE_LANGUAGES_COMPRESSED) || defined(SUPPORT_TURKISH_LANGUAGES_COMPRESSED) || defined(USE_JAPANESE_FONT_COMPRESSED) || defined(USE_KOREAN_FONT_COMPRESSED) 
                #define FONT_COMPRESSED 
            #endif 
        #endif 
    #endif 
 
    #ifdef ZR10353_SP6508    //zengjun 
        #define DVB_TUNER_LABEL "SHARP_ZRLINK_MT353" 
    #elif defined(PHILIPS_TU1216_NIM) 
        #define DVB_TUNER_LABEL "PHILIPS_TU1216_NIM" 
    #elif defined(SAMSUNG_ZARLINK_MT352) 
        #define DVB_TUNER_LABEL "SAMSUNG_ZARLINK_MT352" 
    #elif defined(INFINEON_COMTECK_MT352) 
        #define DVB_TUNER_LABEL "INFINEON_COMTECK_MT352" 
    #elif defined(PANASONIC_ZARLINK_MT352) 
        #define DVB_TUNER_LABEL "PANASONIC_ZARLINK_MT352" 
    #else 
        #define DVB_TUNER_LABEL "NO_DEFINED" 
    #endif 
#endif 
 
#define SUPPORT_DVB 
 
#endif//#ifndef _CUST_DEF_H_