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

📄 custom_option_basic.h

📁 SAMSUNG 5009的源代码
💻 H
📖 第 1 页 / 共 4 页
字号:
 - 0: Set in color or video off.

 To decrease rom size.
 \remark This option just enabled in special case.
 */      
/** 
 \def _APP_CAP_OSD_AFTER_SEARCH_GOTO_INFO
 To select OSD open sequence after search OSD.

 - 1: search osd -> info key -> return to info osd
 - 0: support original scheme(search osd -> info key -> next info osd )

 It's from "_SUPPORT_SEARCH_OSD_RETURN_TO_INFO".
 \remark This option only work in Basic OSD type.
 */

/** 
 \def _APP_CAP_OSD_NOT_DSP_LOGO_AFTER_POWEROFF
 - 1: when power off it will close the video output first, not display logo
 */

/** 
 \def _APP_CAP_OSD_STR_TRICK
 Trick Mode String Style
 - 1: Trick Mode string, FF Xnumber, FR XNumber
 - 0: Trick Mode string, >> Xnumber, << XNumber
*/

/* 
 \def _APP_CAP_OSD_CHINESE_FOLDER_FILENAME
  - To support Chinese folder/file name display on MMN explorer.
  - actually, the rationale applys to any local-language-standard issue (convert from unicode).
     so you can expand it to any specific "_local-language_FOLDER_FILENAME", such as Korean, etc.
  - note: FS_SUPPORT_UNICODE_TO_GB2312 is a requisite for this func !!
  - [SuntoLee 060703]
*/

/*Only can be selecte one between the language changlina 060418*/

#define _APP_CAP_OSD_DATA_ON_FLASH						_COP_5009_SIMPLE_SOL
#define _APP_CAP_OSD_LANG_CHINESE_SUBTITLE				(!_COP_5009_SIMPLE_SOL)//(weilf)20060418
#define _APP_CAP_OSD_exSUBTITLE_THREE_LINE				_COP_5009_SIMPLE_SOL//(weilf)20060630
#define _APP_CAP_OSD_CAPTURE_LOGO_IN_SETUP				_COP_CAPTURE_LOGO_USED

/*Caution: the follow two marco is only can be choose one! RGB or YCbCr.
indicate the CLUT  of Mixer and GA. clina 060804*/
#define _APP_CAP_OSD_RGB_CLUT               0  
#define _APP_CAP_OSD_YCbCr_CLUT            1


#define _APP_CAP_OSD_LANG_CHINESE						_COP_UI_OSD_LANG_CHINESE
#define _APP_CAP_OSD_LANG_JAPANESE						_COP_UI_OSD_LANG_JAPANESE
#define _APP_CAP_OSD_LANG_PORTUGUESE					_COP_UI_OSD_LANG_PORTUGUESE		// Qian liping 060328
#define  _APP_CAP_OSD_LANG_RUSSIAN                                        _COP_UI_OSD_LANG_RUSSIAN	
#define _APP_CAP_OSD_CHINESE_FOLDER_FILENAME			0	// SuntoLee 060703. (see remark above)



#if _APP_CAP_OSD_LANG_PORTUGUESE||_APP_CAP_OSD_LANG_CHINESE
#define _APP_CAP_FONT_1BPP                                                        _COP_5009_SIMPLE_SOL//CLINA 061011
#endif


#if _APP_CAP_AUD_3D
#define _APP_CAP_OSD_3D									1
#else
#define _APP_CAP_OSD_3D									_APP_CAP_AUD_3D
#endif
#define _APP_CAP_OSD_PROG_SELECT_3_DIGIT				1
#define _APP_CAP_OSD_PROG_4_DIGIT						1
#define _APP_CAP_OSD_ZOOM_ICON							0

#define _APP_CAP_OSD_ZOOM_ICON_KEEPING					1//clina 060412	/* selectable */

#define _APP_CAP_OSD_FLATTEN_EXPLORER					1
#define _APP_CAP_OSD_SLIDE_ICON_FIRST_INFO				1
#if _USE_5005 || _USE_5009 // Qian liping 060404
#define _APP_CAP_OSD_DIFF_CURSOR_HANDLE					1
#else
#define _APP_CAP_OSD_DIFF_CURSOR_HANDLE					0
#endif
#define _APP_CAP_OSD_SHOW_PGM_TOTAL_ITEM				1
#define _APP_CAP_OSD_USE_LOGO_FOR_SETUP					0
#define _APP_CAP_OSD_TOGGLE_BY_HOTKEY					0 //azureming@060404
#define _APP_CAP_OSD_SEPERATE_ICON_TIMER				1
#define _APP_CAP_OSD_INFO_OSD_TIMEOUT					0 // Qian liping 060427
#define _APP_CAP_OSD_SETUP_OSD_TIMEOUT					0
#define _APP_CAP_OSD_SHOW_CURRENT_ITEM_NUM				1
#define _APP_CAP_OSD_SUBTITLE_INCLUDE_OFF				1			
#define _APP_CAP_OSD_SHOW_DTS_DISC						1
#define _APP_CAP_OSD_USE_PREVIEW_BORDER					1	
#define _APP_CAP_OSD_EXPLORE_NOTICE_TIMEOUT				1
#define _APP_CAP_OSD_USE_SMALL_IDLE_LOGO				0
#define _APP_CAP_OSD_USE_SETUP_LOGO						0
#define _APP_CAP_OSD_AFTER_SEARCH_GOTO_INFO				0 // Qian liping 060614
#define _APP_CAP_OSD_SHOW_DISC_TIME_IN_STOP				1

#define _APP_CAP_OSD_VCD_DIGEST							_COP_UI_FUNC_VCD_DIGEST
#define _APP_CAP_OSD_DIGEST                                                     _APP_CAP_OSD_VCD_DIGEST||_APP_CAP_FUNC_DVD_DIGEST//CLINA 060804

#define _APP_CAP_OSD_SVCD_MENUTIME_UPDATE                      0
#define _APP_CAP_OSD_COPYRIGHT_WIN						1
#define _APP_CAP_JPG_ASV								1	//roco spec //(!_COP_5009_SIMPLE_SOL)	//xh 20060424
#define _APP_CAP_JPG_ASV_SCALE                                              	1	//roco spec //(!_COP_5009_SIMPLE_SOL)//gaoping 20060622									1	//xh 20060424
#if _APP_CAP_GLB_DTS_AUD_SPDIF_IN_STREAM//CLINA 060418
#define _APP_CAP_OSD_SETUP_DTS                                              1
#else
#define _APP_CAP_OSD_SETUP_DTS                                              0
#endif

#if _APP_CAP_MMP_SUPPORT_EXT_SUBTITLE
#define _APP_CAP_OSD_SUBTITLE_CONCURRENT_DISPLAY		1//(weilf)20060213:divx info bar and subtile concurrent display
#define _APP_CAP_OSD_DIVX_LOADING_ICON					1		//(weilf)20060124 add loading icon for divx file playing
#define _APP_CAP_OSD_EXT_SUBTITLE_DISPLAY				1
#else	// cydrain 20060714
#define _APP_CAP_OSD_SUBTITLE_CONCURRENT_DISPLAY		0
#define _APP_CAP_OSD_DIVX_LOADING_ICON					0
#define _APP_CAP_OSD_EXT_SUBTITLE_DISPLAY				0
#endif

#ifdef _MTK_STYLE // Qian liping 060605
#define  _APP_CAP_OSD_MTK_STYLE_BAR						1 
#define  _APP_CAP_OSD_INFO_OSD_KEEP						1 
#define  _APP_CAP_OSD_INFO_SEL_TIME_ENABLE				1 
#define  _APP_CAP_OSD_DISC_TYPE							1 
#define  _APP_CAP_OSD_ENSURE_MESSAGE					1 
#define  _APP_CAP_OSD_MMP_MUTE_IN_FRONT					1
#define  _APP_CAP_OSD_DUALMONO_BAR						1 // Qian liping 060606
#define  _APP_CAP_OSD_MTK_VERSION                                           1
#else
#define  _APP_CAP_OSD_MTK_STYLE_BAR						0 
#define  _APP_CAP_OSD_INFO_OSD_KEEP						1 
#define  _APP_CAP_OSD_INFO_SEL_TIME_ENABLE				1		//(weilf)20060803
#define  _APP_CAP_OSD_DISC_TYPE							1
#define  _APP_CAP_OSD_ENSURE_MESSAGE					0 
#define  _APP_CAP_OSD_MMP_MUTE_IN_FRONT					0
#define  _APP_CAP_OSD_DUALMONO_BAR						0 
#endif 
#define _APP_CAP_OSD_NOT_DSP_LOGO_AFTER_POWEROFF		1

#define _APP_CAP_OSD_STR_TRICK							0

#define _APP_CAP_OSD_MMP_INFO1_BLANK					1
#define _APP_CAP_OSD_IMG_ALBUM_DEFAULT					0
#define _APP_CAP_OSD_PGM_NORMAL							1
#define _APP_CAP_OSD_IMG_INFO								1
#define _APP_CAP_OSD_SHOW_PLAY_PAGE						1
#define _APP_CAP_OSD_OTHER_LANG_INPUT_MECHNISM		0
#define _APP_CAP_OSD_BIG_NUM_SCORE						0 // Qian liping 061009
/* 
		Define Key options
 */
/**
 \def _APP_CAP_KEY_TIME_KEY
 If a seperated time key is available in customer's remote control, this option
 set in 1.
 
 That key is specialised in China.
 \remark Generally this option is disabled.
 */   
/**
 \def _APP_CAP_KEY_QUICK_RESPONSE_NEXT_PREV
 To prevent fast NEXT/PREV key operation during playback.

 \remark Generally this option is disabled.
 */   
/**
 \def _APP_CAP_KEY_DISC_CHANGE
 To support disc changer model

 \remark Generally this option is disabled.
 */   
/**
 \def _APP_CAP_KEY_INPUT_DELAY
 Accept any key input when there is no successive key input for a while.

 - 1: Delay key input
 - 0: No delay in key input

 \remark Generally this option is disabled.
 */    
/**
 \def _APP_CAP_KEY_SEPERATE_PLAY
 To select play/pause key type.

 - 1: Play and Pause key seperated
 - 0: Play/Pause key is in same key pad

 \remark Generally this option is enabled.
 */    
/**
 \def _APP_CAP_KEY_SELECTION_TIMEOUT
 To select key operaton timeout

 - 1: In some OSD handling key, if there is no next key entered, previous 
 	  work canceled.
 - 0: Wait infinitely.

 It's from "SEL_TIME_OUT".
 \remark Generally this option is enabled.
 */    
/**
 \def _APP_CAP_KEY_USE_TEN_PLUS
 To support 10+ key in remote controller

 - 1: Support
 - 0: Not support

 SetTempValue() function is changed by this option.
 \remark This option is depends on RC type.
 */    
/**
 \def _APP_CAP_KEY_USE_NTPAL_CHANGE
 To support NTSC/PAL change key

 - 1: Support
 - 0: Not support

 If this key cannot support directly, In setup menu, you can change.
 \remark This option is depends on RC type.
 */   
/**
 \def _APP_CAP_KEY_USE_VIDEO_OUT_CHANGE
 To support Video output mode key

 - 1: Support
 - 0: Not support

 Video mode (S-Video/Comp/CVBS (VGA/RGB) Change)

 If this key cannot support directly, in setup menu, you can change.
 \remark This option is depends on RC type.
 */  
/**
 \def _APP_CAP_KEY_USE_VIDEO_SCAN_CHANGE
 To support Progressive/Interlace change key

 - 1: Support
 - 0: Not support

 Video scan(Interlace/Progressive Scan)
	
 If this key cannot support directly, in setup menu, you can change.
 \remark This option is depends on RC type.
 */   
/**
 \def _APP_CAP_KEY_USE_CLEAR
 To support clear key

 - 1: Support
 - 0: Not support

 If clear key available, we have to change some setting procedure to clear.
 \remark This option is depends on RC type.
 */    

/**
 \def _APP_CAP_KEY_ARROW_KEY_ZOOM_MOVE
 To select arror key in zoom state with special OSD

 - 1: arrow key control to Zoom In Image Moving
 - 0: arrow key control to highlishgt on info osd first

 \remark This option is depends on key priority.
 */    

/**
 \def _APP_CAP_KEY_SUPPORT_EXT_AV
 To select external AV key in special remote control

 - 1: Support
 - 0: Not support

 \remark This option is depends on RC.
 */    
 
#define _APP_CAP_KEY_TIME_KEY							0
#define _APP_CAP_KEY_QUICK_RESPONSE_NEXT_PREV			0
#define _APP_CAP_KEY_DISC_CHANGE						0
#define _APP_CAP_KEY_INPUT_DELAY						0
#define _APP_CAP_KEY_SEPERATE_PLAY						1
#define _APP_CAP_KEY_SELECTION_TIMEOUT					1
#define _APP_CAP_KEY_USE_TEN_PLUS						1
#define _APP_CAP_KEY_USE_NTPAL_CHANGE					1
#define _APP_CAP_KEY_USE_VIDEO_OUT_CHANGE				1
#define _APP_CAP_KEY_USE_VIDEO_SCAN_CHANGE				1 
#define _APP_CAP_KEY_USE_CLEAR							1
#define _APP_CAP_KEY_ARROW_KEY_ZOOM_MOVE				1
#define _APP_CAP_KEY_SUPPORT_EXT_AV						0

/* 
		Define peripherals
 */
/**
 \def _APP_CAP_PERI_EEPROM_BUF_MEM
 If you want to use FLASH to EEPROM emulation, set following 2 option 
 to 1.
 
 - _APP_CAP_PERI_EEPROM_BUF_MEM : This option is not complete for EEPROM device 
 	application but it works well for EEPROM emulation mode using flash device. 
 	Just for EEPROM emulation mode, SET IT TO "1".
 	
 - _APP_CAP_PERI_EEPROM_USE_FLASH : This option is for EEPROM emulation or not. 
 
 	: If following 2 options are set in 0, EEPROM device will be used generaly.
 
   1. On SDRAM/FLASH with EEPROM
 	- _APP_CAP_PERI_EEPROM_BUF_MEM						0 
 	- _APP_CAP_PERI_EEPROM_USE_FLASH					0(1: flash 0:eeprom)
 	- _APP_CAP_PERI_EEPROM_DEBUG_WO_FLASH				0(1: dram only 0:use flash)
 
   2. On SRAM with EEPROM
 	- _APP_CAP_PERI_EEPROM_BUF_MEM						0
 	- _APP_CAP_PERI_EEPROM_USE_FLASH					0   
 	- _APP_CAP_PERI_EEPROM_DEBUG_WO_FLASH				1    
 
   3. On SDRAM/FLASH without EEPROM
 	- _APP_CAP_PERI_EEPROM_BUF_MEM						1
 	- _APP_CAP_PERI_EEPROM_USE_FLASH					1
 	- _APP_CAP_PERI_EEPROM_DEBUG_WO_FLASH				0
 
   4. On SRAM without EEPROM
 	- _APP_CAP_PERI_EEPROM_BUF_MEM						1
 	- _APP_CAP_PERI_EEPROM_USE_FLASH					1
 	- _APP_CAP_PERI_EEPROM_DEBUG_WO_FLASH				1 
 */
/**
 \def _APP_CAP_PERI_VFD
 To support VFD panel

 - 1: Support
 - 0: Not support
 
 \remark This option is based on customer's H/W spec.
 */ 
/**
 \def _APP_CAP_PERI_INPUT_DEV
 To select key input device.

 - _KEY_DEV_ID_IR : Main chip's IR module
 - _KEY_DEV_ID_MICOM : External Micom

 \see Custom_option.h
 \remark This option is based on customer's H/W spec.
 */  
/**
 \def _APP_CAP_PERI_EXT_ADC
 To toggle external ADC device use or not

 - 1 : Use external ADC device
 - 0 : Use internal ADC
In case of Karaoke supported mode,
we can choose whether we use EXTERNAL_ADC or internal ADC ( default : use internal ADC )

 \remark This option is based on customer's H/W spec and Karaoke option.
 */   
#define _APP_CAP_PERI_EEPROM_BUF_MEM					1	
#define _APP_CAP_PERI_EEPROM_USE_FLASH					_COP_SYS_EEPROM_USE_FLASH	/* 1: flash 0:eeprom */
#ifdef _SRAM_APP /* If SRAM mode, should set */
#define _APP_CAP_PERI_EEPROM_DEBUG_WO_FLASH			1	/* 1: dram only 0:use flash */
#else
#define _APP_CAP_PERI_EEPROM_DEBUG_WO_FLASH			0	/* 1: dram only 0:use flash */
#endif
#define _APP_CAP_PERI_DRM_USE_FLASH_ONLY				1
#define _APP_CAP_PERI_VFD									_COP_SYS_VFD
#define _APP_CAP_PERI_INPUT_DEV							_KEY_DEV_ID_IR
#if _APP_CAP_AUD_KARAOKE
#define _APP_CAP_PERI_EXT_ADC							0	/* 1: it will use external ADC device */
#else
#define _APP_CAP_PERI_EXT_ADC							0	/* Fix it when karaoke disabled */
#endif
#define _APP_CAP_PERI_FAT_DEVICE_NUM					(_APP_CAP_NAV_USB_DISC + 2*_APP_CAP_NAV_FX_DATA)

/****************************** API OPTIONS ***********************************/
/* 
		Define vaules
 */



/*
		Define module options
 */
/**
 \def _API_CAP_USE_ARM_JPG_DECODE
 To enable ARM jpeg decoder. 

 When this option enabled, a little SDRAM will be reserved for jpg decoding. And
 display module(post process) is prepared to support jpg decoder module interface.
 This option should be selected by application side's additional option. If
 applcation option is disabled for simultaneous play, this option should be
 disabled.
 \remark Generally this option is disabled.
 */   
/**
 \def _API_CAP_USE_USB_HOST
 To support USB host module.  

 - Support : S5L5005, S5L5009, S5L5010
 - Not support  S5L5008

 When this option enabled, a little SDRAM will be reserved for host cache. 
 If this option is enabled, FAT file system must be prepared to support this 
 device. In application side, USB device will be detected in USB_DISC type.
 \remark Check your device type.
 */  
/**
 \def _API_CAP_USE_11_IN_2
 To support 11in2 module  

 - Support : S5L5005, S5L5009, S5L5010
 - Not support  S5L5008

 When this option enabled, a little SDRAM will be reserved for host cache. 
 If this option is enabled, FAT file system must be prepared to support this 
 device. In application side, USB device will be detected in FX_DISC type.
 \remark Check your device type.
 */   
/**
 \def _API_CAP_USE_COMM_TOOL
 To support the communication tool using UART. 

 \remark This is used only for Funai.
 */    
#define _API_CAP_SUP_PAR_AVI2_INDEX					1
#define _API_CAP_SUP_AVI_PLAY_FROM_VOFFSET			1
#define _API_CAP_USE_MMN_AIMG_MEM					_COP_5009_SIMPLE_SOL
#define _API_CAP_SHARE_SUBBUF							_COP_5009_SIMPLE_SOL
#define _API_CAP_USE_ARM_JPG_DECODE						0
#if (_USE_5005 || _USE_5010 || _USE_5009 || _USE_5015)
#define _API_CAP_USE_USB_HOST							1
#if _USE_5010
#define _API_CAP_USE_11_IN_2					0	/* fixed */
#else
#define _API_CAP_USE_11_IN_2					1
#endif
#else
#define _API_CAP_USE_USB_HOST							0	/* fixed */
#define _API_CAP_USE_11_IN_2							0	/* fixed */
#endif
#define _API_CAP_USE_VIRTUAL_MEM						_COP_5009_SIMPLE_SOL					
#define _API_CAP_USE_HW_MEM_POOL						_COP_5009_SIMPLE_SOL
#define _API_CAP_USE_UNIQ_USBMCARD_MEMMAP				_COP_5009_SIMPLE_SOL
#define _API_CAP_USE_EXTVBV_BUF							_API_CAP_USE_VIRTUAL_MEM			
#define	_API_CAP_USE_COMM_TOOL						0

#define _SUPPORT_BOOKMARK_DETAIL_INFOMATION	1

#define _OLD_REMOTE_CONTROL						0

#define _HJL_NEW_SETUP_SCHEME			0

#define _SUPPORT_TVG_FUNCTION_					_COP_UI_OSD_TVG_IN_SETUP//Lumin060717==>TVG
#endif /* _CUSTOM_OPTION_BASIC_INC_ */

⌨️ 快捷键说明

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