?? display.h
字號:
/************************************************************************** * Copyright 1996, ESS Technology, Inc. * * Module: mem2scn.c * **************************************************************************//* SCCSID @(#)display.h 1.2 12/3/97 */ #ifdef DRIVER #ifndef _DISPLAY_H_#define _DISPLAY_H_/*----- Display control structure ---------------------*/typedef struct { int startY; int startU; int startV; int zY, zUV; int wY, wUV; int height; int RGBstart; int Pattern; int Overlay; int Patternstart; int MIDIstart; int MIDIlist; int MIDIevent; int MIDInew; int PCMstart; int Buscon_width2; int OSD_start; int OSD_X; int OSD_Y; int OSD_W; int OSD_H;}EVD_DISP_Info;extern int DISP_count;extern int DISP_scn_height;extern volatile int DISP_field; /* The current displayed field. 0 or 1 */#ifdef HRESGBLDEF_0(EVD_DISP_Info *EVD_DISP_info,NULL);GBLDEF(volatile int HRES_pic, 0); /* The current displayed field. 0 or 1 */#endifvoid EVD_DISP_interrupt_service(void);void EVD_DISP_init(void);void EVD_DISP_change_resolution(int, int, int);void EVD_DISP_mem_config(int);void EVD_DISP_change_TV(void);#if 0#ifdef VMASTER/* 3208/3210 is driving VSYNC/HSYNC, there is nothing to set. */#define SET_ENCODER_NTSC#define SET_ENCODER_PAL#else#ifdef DSC/* ES3207 A/V encoder */#define SET_ENCODER_NTSC DSC_cmd(dsc_dvectl1, 0x02)#define SET_ENCODER_PAL DSC_cmd(dsc_dvectl1, 0x00)#else#define SET_ENCODER_NTSC SET_AUX4#define SET_ENCODER_PAL CLEAR_AUX4#endif#endif#endif /* if 0*/#ifdef VMASTER/* 3208/3210 is driving VSYNC/HSYNC, there is nothing to set. */#ifdef CUST3#ifndef S215#define SET_ENCODER_NTSC SET_AUX4#define SET_ENCODER_PAL CLEAR_AUX4#else#define SET_ENCODER_NTSC#define SET_ENCODER_PAL#endif#else#ifdef CUST4#define SET_ENCODER_NTSC CLEAR_AUX3#define SET_ENCODER_PAL SET_AUX3#else /* not CUST4 */#define SET_ENCODER_NTSC#define SET_ENCODER_PAL#endif /*CUST4*/#endif#else#ifdef DSC/* ES3207 A/V encoder */#define SET_ENCODER_NTSC DSC_set_TV(TV_NTSC)#define SET_ENCODER_PAL DSC_set_TV(TV_PAL)#else/* 3208/3210 is the video slave, so we need to info the encoder */#ifdef PLAYONLY#ifdef P1O#define SET_ENCODER_NTSC SET_AUX5#define SET_ENCODER_PAL CLEAR_AUX5#else#ifdef P2O#define SET_ENCODER_NTSC SET_AUX5#define SET_ENCODER_PAL CLEAR_AUX5#else#ifdef P3O#define SET_ENCODER_NTSC SET_AUX4#define SET_ENCODER_PAL CLEAR_AUX4#else#ifdef P4O#define SET_ENCODER_NTSC SET_AUX2#define SET_ENCODER_PAL CLEAR_AUX2#endif /* P4O */#endif /* P3O */#endif /* P2O */#endif /* P1O */#else /* PLAY20 */#ifdef CUST3#define SET_ENCODER_NTSC SET_AUX5#define SET_ENCODER_PAL CLEAR_AUX5#else/* Turnkey default */#define SET_ENCODER_NTSC SET_AUX4#define SET_ENCODER_PAL CLEAR_AUX4#endif /* CUST3 */#endif /* PLAYONLY/PLAY20 */#endif /* DSC (3207) */#endif /* VMASTER */#define DISP_MODES 4#if 0#ifdef HRES#define YFRAMESTART 0xa7c0#define UFRAMESTART 0x18d40#define VFRAMESTART 0x18d73#define RGBFRAME_ADDR 0xa7c0#else#define YFRAMESTART 0xa7c0#define UFRAMESTART 0x18540#define VFRAMESTART 0x18d73#ifndef VCD30#define RGBFRAME_ADDR 0x11900#define Pattern_Buf 0x118a0#define OBJ_overlay 0x11860#define Pattern_ADDR 0xef9e#else#define RGBFRAME_ADDR 0x10880#define Pattern_Buf 0x10820#define OBJ_overlay 0x107e0#define Pattern_ADDR 0xdf1e#define YScale 0x1be00#define UScale 0x1c380#define VScale 0x1c3ac#endif#endif#endifGBLDEF(int YScaleH, 0x18000);GBLDEF(int UScaleH, 0x18880);GBLDEF(int VScaleH, 0x18c84);GBLDEF(int YScale, 0x1be00);GBLDEF(int UScale, 0x1c380);GBLDEF(int VScale, 0x1c3ac);GBLDEF_0(int disp_mode, 0);GBLDEF_0(int Pattern_Buf, 0);GBLDEF_0(int OBJ_overlay, 0);GBLDEF_0(int Pattern_ADDR, 0);GBLDEF_0(int YFrameAddr, 0);GBLDEF_0(int UFrameAddr, 0);GBLDEF_0(int VFrameAddr, 0);#endif /* _DISPLAY_H_ */#endif DRIVER
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -