📄 winav.h
字号:
// ** TCH0.391; Remove the definition "PRINTFSTR" to [DVDINFO]#ifdef RELEASE_SETTING// Brian1.07, Disable VGA Video Output when Release mode#define NO_VGA_OUTPUT// define it, means enable PANEL_KeyScan in [ISR]// else disable it as avoid the mistake if don't connect PANEL when testing#if (DECODER_SYSTEM != DVD956A_DEV)#define ENABLE_PANEL_KEYSCAN#endif //(DECODER_SYSTEM != DVD956A_DEV)// define it, means enable the IFD count checking// LLY2.79-2, always enable ERROR_CONCEAL mechanism while support serial-debug or not// Becasue, CoCo says that it's only code size issue to disable "Error Concealment" !!#define ERROR_CONCEAL //CoCo.sd// wyc2.15-909S, support watch dog.#ifdef ERROR_CONCEAL// wyc2.51-909P, add J300 code.#ifndef AutoTuning_MPEG //kenny disable watch dog for AT tool , 061123#define SUPPORT_WATCH_DOG#define SUPPORT_WATCHDOG_BURNIN // elmer2.78, support watchdog burn-in testing#endif#endif //#ifdef _DEBUG_INFO#undef _DEBUG_INFO#endif //_DEBUG_INFO#else#define _DEBUG_INFO// Micky1.00, only debug mode turn off panel.// Micky0.91, support panel, but only for P5 board.//#define NO_PANEL //jeffsun 20050103#endif //#ifdef RELEASE_SETTING#ifdef SUPPORT_4M_FLASH// wyc1.02-909, no DRM when define 4M flash.#define NO_DRM#endif // SUPPORT_4M_FLASH// wyc0.95, remove this define for M200 to test function.#define REMOVE_SETUP_SPEAKER_TEST// wyc2.21-909s, enable it.#define NO_DIGEST#define NO_FLOAT_POINT#define NO_DIRECT_OPERATION#define NO_SHIFT#define REMOVE_SETUP_ICON#define REMOVE_SETUP_HELP_MESSAGE// for 909S mode.#define NO_PIP#define RUNTIME_UNZIP_AUDIO_CODE#define SWITCH_USB_PORT// wyc2.17-909S, need to enable it.#define STACK_OVERFLOW_DETECTION#define NO_DRM#define SUPPORT_VSYNCPOLL// wyc2.16-909S, enable the define when 64M solution.//kevin1.05, support power up music//#define SUPPORT_POWERON_MUSIC//LJY1.23, if enable "SUPPORT_CDDA_WITH_SUBCODE", the CDIF will output subcode for pure CDDA// Micky1.24, disable the subcode, need DSP codes support/// #define SUPPORT_CDDA_WITH_SUBCODE//LJY1.24, if CDG was disabled, the CDIF won't output subcode.#ifdef NO_CDG#ifdef SUPPORT_CDDA_WITH_SUBCODE#undef SUPPORT_CDDA_WITH_SUBCODE#endif#endif// Alan2.18, to enable display or key scan/* --CoCo2.76, enable "ENABLE_PANEL_OUTPUT" or "ENABLE_PANEL_KEYSCAN" if need. Don't use NO_PANEL to enable/disable it.#ifndef NO_PANEL#define ENABLE_PANEL_OUTPUT#define ENABLE_PANEL_KEYSCAN#endif // #ifndef NO_PANEL*///Kevin1.23, the difference can't be noticable by eyes//#define JPEG_MPEG_USE_DIFFERENT_COLOR_GAINS//Kevin1.26-2, switch KEY_SCF & KEY_SCB function in FM#define MODE_SCAN_ONLY 1 //used only for SCF/SCB#define MODE_SCAN_PAGE 2 //used for SCF/SCB first, then page up/page down#define MODE_PAGE_ONLY 3 //used only for page up/page down#define FM_KEY_SCF_KEY_SCB_MODE MODE_SCAN_ONLY//Kevin1.26, customer may want to manually enable/disable PROLOGIC//#define SUPPORT_PROLOGIC//Kevin0.80a, customer may want to manually enable/disable DIVX#define SUPPORT_DIVX// wyc1.02-909, remove un-used define.#ifndef DEBUG_PROC2//kevin0.95, define it to reset Proc2 when audio reset fails, ...#define SUPPORT_RUNTIME_RESET_PROC2#endif// wyc1.00-909, add Micky's new define// Micky0.96, add a define for password query// enable it, when parental level is not allowed, it will query password// disable it, it will just display parental error, and don't allow the playing.// must disable for Forum title test///#define SUPPORT_PASSWORD_QUERY// If define it, it will show black screen while playback un-supported DivX video// Default is always on from v2.38a#define BLACK_SCREEN_WHILE_THROW_VIDEO// LLY0.80a, if define it, it will dump frame buffer data after each picture display done// And, the result is used for PSNR testing.//#define SUPPORT_PSNR_TEST// LLY1.05, always disable ERROR_CONCEAL mechanism while do PSNR testing.#ifdef SUPPORT_PSNR_TEST#undef ERROR_CONCEAL#endif // #ifdef SUPPORT_PSNR_TEST// LLY1.02, if define it, it will do some special setting for DivX Certification// ex. only playback one file then stop it. ie. don't auto playback the next file.//#define SUPPORT_DIVX_CERTIFICATION#ifdef SUPPORT_DIVX_CERTIFICATION// LLY1.05, always disable FAST mode while DivX certification#undef SAME_FAST_AS_SCF2// LLY1.11, always disable auto-playback feature while DivX certification#undef MMANAGER_AUTO_PLAY#endif // #ifdef SUPPORT_DIVX_CERTIFICATION// LLY2.51, must disable watch dog while disable error concealment#ifndef ERROR_CONCEAL#undef SUPPORT_WATCH_DOG#endif // #ifndef ERROR_CONCEAL// LLY2.53, define the stream ID for background playback item#define BG_ITEM_STREAM_ID 1#ifdef CT909P_IC_SYSTEM#define SUPPORT_BUILDIN_CARD_READER#endif //#ifdef CT951_PLATFORM //CoCo2.38#define SUPPORT_USB_POWER_BY_IO#define SUPPORT_BUILDIN_CARD_READER#define IOMUTE_NOT_ADD_PULL_HIGH_5V#define IOMUTE_ACTIVE_LOW/*#define REPEAT_MODE_REF_SETUP_INFO#define SUPPORT_TFT#define SUPPORT_CCIR656#define SUPPORT_2_CVBS#define NO_PANEL#define ENABLE_PANEL_KEYSCAN#define LED_BackLight#ifdef NO_SCREEN_SAVER#undef NO_SCREEN_SAVER#endif //NO_SCREEN_SAVER*/#endif//++CoCo2.37p#define CT950_STYLE// wyc2.37-909s,#ifdef CT950_STYLE#define REPEAT_MODE_REF_SETUP_INFO#define SUPPORT_TFT#define SUPPORT_CCIR656#define SUPPORT_2_CVBS#define NO_PANEL#if (DECODER_SYSTEM != DVD956A_DEV)#define ENABLE_PANEL_KEYSCAN#endif //(DECODER_SYSTEM != DVD956A_DEV)#define LED_BackLight#ifdef NO_SCREEN_SAVER#undef NO_SCREEN_SAVER#endif //NO_SCREEN_SAVER//#define SUPPORT_JPEG_FULL_SCREEN //JPEG full screen. For example, 4:3 picture will be full screen in 16:9 panel but the picture will be cut.//#define EMU_RTC#define SUPPORT_SAVE_VOLUME//#define MUSTEK_SETUP_MENU//#define NL_SOLUTION#ifdef NL_SOLUTION#define THUMB_NO_EDIT_MODE#endif //NL_SOLUTION//#define NO_TOOLBAR_SETUP_MENU#define SUPPORT_SET_DATE_BY_MENU#define SUPPORT_JPEG_AUDIO_PLAYING //1.05#define DONT_SHOW_JPEG_PROGRESS_BAR#define JPEG_SINGLE_BUFFER_FULL_SCREEN#define SUPPORT_POWERON_MENU //CoCo2.38#define IMAGE_FRAME_SETUP //CoCo2.38#define SUPPORT_PHOTO_BROWSE_MODE//#define SUPPORT_TEXT_TOOLBAR//#define SUPPORT_ALARM_WITH_FM_TUNER//#define SETUP_KEY_UP_DOWN_TOGGLE_OPTIONS//#define SUPPORT_CHOOSE_MEDIA//#define SUPPORT_PLAY_MEDIA_DIRECTLY_POWER_ON//#define SUPPORT_POWER_SWITCH#ifdef CT909P_IC_SYSTEM//#define SUPPORT_RADIO_TUNER#ifdef SUPPORT_RADIO_TUNER#define SUPPORT_RADIO_RDS#endif //SUPPORT_RADIO_TUNER#if (DECODER_SYSTEM != DVD956A_DEV)#define SUPPORT_AUTO_ROTATION#endif#ifdef SUPPORT_AUTO_ROTATION#define ROTATE_DIRECTION KEY_LEFT//#define ROTATE_ACTIVE_LOW#endif SUPPORT_AUTO_ROTATION//#define SUPPORT_USB_SWITCH//#define SUPPORT_LIGHT_DETECT#endif //CT909P_IC_SYSTEM// Define favorite number for radio tuner. The maximum number can't exceed 40.// The definition can't disabled. It's used in storage.h to set flash address.#define RADIO_FAVORITE_NUM 20 // wyc2.51-909P, JPG encode relative define.#if (FLASH_SIZE != FLASH_SIZE_8)#define SUPPORT_ENCODE_JPG_PICTURE#define SUPPORT_BUILD_IN_ENCODE_JPG#endif //FLASH_SIZE#ifdef SUPPORT_BUILD_IN_ENCODE_JPG#define BUILD_IN_JPG_ENCODE_NUM 3#endif //#ifdef SUPPORT_ENCODE_JPG_PICTURE#define SUPPORT_COPY_FILE_IN_MM_UI#define SUPPORT_DELETE_FILE_IN_THUMB_UI#define SUPPORT_COPY_FILE_IN_SLIDE_SHOW#define SUPPORT_FAVORITE_FUNCTION#endif //SUPPORT_ENCODE_JPG_PICTURE//Add the supported icons in the power on menu.#define SUPPORT_PHOTO_ICON#define SUPPORT_MUSIC_ICON#define SUPPORT_PHOTO_MUSIC_ICON#define SUPPORT_MOVIE_ICON#define SUPPORT_SETUP_ICON#define SUPPORT_CALENDAR_ICON#define SUPPORT_CLOCK_ICON#define SUPPORT_ALARM_ICON#ifndef NL_SOLUTION#define SUPPORT_AUTO_POWER_ICON#endif //NL_SOLUTION#ifdef SUPPORT_ENCODE_JPG_PICTURE#define SUPPORT_EDIT_ICON#ifdef SUPPORT_FAVORITE_FUNCTION#define SUPPORT_FAVORITE_ICON#endif //SUPPORT_FAVORITE_FUNCTION#endif //SUPPORT_ENCODE_JPG_PICTURE#ifdef SUPPORT_STB#define SUPPORT_STB_ICON#define SUPPORT_GAME_ICON#endif //SUPPORT_STB#ifdef SUPPORT_RADIO_TUNER#define SUPPORT_RADIO_TUNER_ICON#endif //SUPPORT_RADIO_TUNER#if defined(CT909P_IC_SYSTEM ) || defined(CT909G_IC_SYSTEM)#else#define CT909R_JPEG_AND_MP3#endif //#ifdef IMAGE_FRAME_SETUP#ifdef SUPPORT_TUNE_JPG_SHOW_TIME#undef SUPPORT_TUNE_JPG_SHOW_TIME#endif //SUPPORT_TUNE_JPG_SHOW_TIME#ifdef MMANAGER_AUTO_PLAY#undef MMANAGER_AUTO_PLAY#endif //MMANAGER_AUTO_PLAY#define NO_MM_BUTTON#endif //IMAGE_FRAME_SETUP#define FORCE_ENABLE_DIVX_4_5#define NO_DISC_MODE//#define NO_DVD#ifdef SUPPORT_SERVO_SOURCE#undef SUPPORT_SERVO_SOURCE#endif //SUPPORT_SERVO_SOURCE#endif //CT950_STYLE//#ifdef NO_CDDISC#ifdef NO_DISC_MODE //CoCo2.38#ifdef SUPPORT_UDF_FILE_SYSTEM#undef SUPPORT_UDF_FILE_SYSTEM#endif//#define NO_VCDDISC//#ifdef NO_VCDDISC//#define NO_VCD20//#endif //NO_VCDDISC#define NO_CDG#define NO_SEARCH_UI#define NO_PROGRAM_UI#ifdef OSDPRGM_MAIN_FILE#undef OSDPRGM_MAIN_FILE#endif#ifdef SUPPORT_BOOKMARK#undef SUPPORT_BOOKMARK#endif //SUPPORT_BOOKMARK#ifndef NO_DIGEST#define NO_DIGEST#ifdef OSDDG_MAIN_FILE#undef OSDDG_MAIN_FILE#endif#endif //NO_DIGEST#define NO_DVD_DISPLAY_UI#define NO_VCD_DISPLAY_UI#define NO_DVD_PASSWORD_DLG //CoCo2.38#ifdef SUPPORT_NAVIGATOR#undef SUPPORT_NAVIGATOR#endif //SUPPORT_NAVIGATOR#endif //NO_DISC_MODE// For the declaration of stings used in each UI#define OSDDSPLY_MAIN_FILE#define OSDND_MAIN_FILE#define OSDMM_MAIN_FILE#define THUMB_MAIN_FILE#ifndef CT950_STYLE#define OSDDG_MAIN_FILE //CoCo2.38#define OSDPRGM_MAIN_FILE //CoCo2.38#define SETUP_MAIN_FILE //CoCo2.38#define SUPPORT_PSCAN_PROMPT_SETUP //CoCo2.38#else#define IMAGE_FRAME_MENU_MAIN_FILE //CoCo2.38#endif //CT950_STYLE#ifndef SUPPORT_STB //Alan2.31, for the compatibility of DVD use DVB string files#ifndef IMAGE_FRAME_SETUP#define MENU_MAIN_FILE //CoCo2.38#endif //IMAGE_FRAME_SETUP#endif#ifdef SUPPORT_BOOKMARK#define OSDBMARK_MAIN_FILE#endif#define SUPPORT_AUDIO_EFFECT// LLY2.38, add one define to force enable DivX 4/5 to treat as MPEG4 even the IC don't support DivX feature//#define FORCE_ENABLE_DIVX_4_5#ifdef FORCE_ENABLE_DIVX_4_5#define NO_DIVX_311#define NO_DRM#endif // #ifdef FORCE_ENABLE_DIVX_4_5#include "oswrap.h"// LLY2.18, put "pio.h" at latest stage// Since, it may reference some define first, ex SUPPORT_CCIR656// LLY2.11, include "pio.h" to get corresponding pio define// Notice: Must be put after DECODER_SYSTEM is ready#include "pio.h"// LLY2.16, put the error check of user configure setting at latest stage// To make sure all setting are configure done#include "errchk.h"// Micky2.17c#ifdef APPLICATION_WINDOWS#include "xsupport.h"#endif //#ifdef APPLICATION_WINDOWS#ifdef __cplusplus }#endif#endif // __WINAV_H__
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -