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

📄 tvconfig.h.svn-base

📁 最新火热的CX32 源代码
💻 SVN-BASE
字号:
/****************************************************************************
 *
 * File: tvconfig.h
 *
 * Purpose: This file is for configing all functions and machines.
 *
 * Author: Robin Feng
 *
 * Copyright (C) 1999,2000, Trident Multimedia Technologies (Shanghai) Co., Ltd.
 *
 ***************************************************************************/
#ifndef __TVCONFIG_H
#define __TVCONFIG_H

#include "tdefs.h"

#ifdef __cplusplus
extern "C" {
#endif

//**************************************************************
//*************define machine **********************************
//**************************************************************
#define _CX32_LCD_MACHINE_
#ifndef _WIN32
	//#define _USE_STi7710_
#endif

//**************************************************************
//*********define mode type ************************************
//**************************************************************
#define _EUROPE_MODE_
//#define _CHINA_MODE_

//**************************************************************
//*********define board type************************************
//**************************************************************
#ifdef _CX32_LCD_MACHINE_
    #define _CX32_LCD203_ENABLE_    //is for LCD203 board
    //#define _CX32_LCD250A_ENABLE_		//is for LCD250A board
	//#define _CX32_TK204B_ENABLE_		//is for TK204B board
#elif defined(_CX12_CRT_MACHINE_)
    //#define _CX12_FB202A_ENABLE_      //is for FB202A board
    #define _CX12_FB203B_ENABLE_      //is for FB203B board
    //#define _CX12_FB201A_ENABLE_        //is for FB201A board
    //#define _CX12_LGBOARD_ENABLE_
#endif

//**************************************************************
//*********define device type **********************************
//**************************************************************
#ifdef _CX32_LCD203_ENABLE_ 
    //here define device is only for LCD
    //#define _USE_MSP3450G_ENABLE_
    #define _USE_STV82X7_ENABLE_
    #define _USE_TUNER_TDQ6F6_//YYM_06_03_23 add for[]
   // #define _USE_TUNER_1216_
#elif defined (_CX32_TK204B_ENABLE_)
	//here define device is only for LCD
    //#define _USE_MSP3415G_ENABLE_
    #define _USE_MSP3450G_ENABLE_
    #define _USE_TUNER_1216_
    //#define _USE_TUNER_JS6B2_
    //#define _USE_TUNER_TDQ6AB7_
#elif defined(_CX32_LCD250A_ENABLE_)
    //here define device is only for LCD
    //#define _USE_MSP3415G_ENABLE_
    #define _USE_TA1304F_ENABLE_
    //#define _USE_MSP3450G_ENABLE_
    //#define _USE_TUNER_1216_
    //#define _USE_TUNER_JS6B2_
    //#define _USE_TUNER_TDQ6AB7_
    #define _USE_TUNER_TEDE9_
#elif defined(_CX12_FB202A_ENABLE_) 	\
	|| defined(_CX12_FB203B_ENABLE_) 	\
	|| defined(_CX12_FB201A_ENABLE_)	\
	|| defined(_CX12_LGBOARD_ENABLE_)
    //here define device is only for CRT
    #define _USE_TB1307_ENABLE_
    //#define _USE_TB1306_ENABLE_   
    //#define _USE_TA1304F_ENABLE_
    #define _USE_TUNER_JS6B2_
    //#define _USE_TUNER_TDQ6AB7_
#endif
    //here define device is for all

//**************************************************************
//*********define functions enable******************************
//**************************************************************
#ifdef _CX32_LCD_MACHINE_
    //#define _CX32_LCD_PWM_SVA
#endif
#ifndef _WIN32
//#define _POWER_CHECK_ENABLE_
//#define _INPUT_DETECT_ENABLE_
//#define _USE_WATCHDOG_TIMER_
#endif

#ifdef _WIN32
    //define TTX and CC in Win32 mode
    //#define USE_TELETEXT2
    //#define USE_VBI
    //#define _USE_SECOND_CC_
#endif

#ifdef _CHINA_MODE_
    #ifdef USE_TELETEXT2
        #undef USE_TELETEXT2
    #endif
    
    #ifdef USE_VBI
        #undef USE_VBI
    #endif
    
    #ifdef _USE_SECOND_CC_
        #undef _USE_SECOND_CC_
    #endif
#endif

#ifdef _EUROPE_MODE_
    #define _USE_ATS_
    #define _USE_ACI_
    #ifdef _WIN32
        #define USE_TELETEXT2  //we need ttx in win32 platform
        #define _TEXT_LEVEL_25_
    #else
        #define USE_TELETEXT2
        #define _TEXT_LEVEL_25_
    #endif
#endif    

//#define  _YCBCR_TO_TCD3_

#ifdef _USA_MODE_
#define USE_VBI
#endif

#ifdef __cplusplus
};
#endif

#endif //the end of __TVCONFIG_H

⌨️ 快捷键说明

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