vcxi.h

来自「ESS3890+SL原代码(1*16内存)」· C头文件 代码 · 共 140 行

H
140
字号
/* Copyright 1997-2003, ESS Technology, Inc.                         	*//* SCCSID @(#)vcxi.h	4.7 05/27/04 */#ifndef __VCXI_H__#define __VCXI_H__#include "common.h"#include "sysinfo.h"#define VCX_DECODE      2#define VCX_MPEG        1#ifdef NEW_EMULATORGBLDEF(volatile int VCX_emulator, 1);	/* Assume we are using emulator */#endif#ifndef MKROMGBLDEF(int vcx_standard, 		VCX_MPEG);GBLDEF(int vcx_code_type, 		VCX_DECODE);#endif/* RISC interface */#ifndef MKROMGBLDEF(int vcx_riface_width, 		0xff);	/* 0x7ff for cache off */GBLDEF(int vcx_riface_wait_state,	0x0c801e);#endifGBLDEF(int vcx_riface_turnoff_delay,	0xff);/* Audio/karaoke control */#ifdef PLAYONLY /* use during transition to one SCCS  */GBLDEF(int vcx_audio_volume,            0x1010); /* Volume when not fading */GBLDEF(int vcx_fade_audio_volume,       0x1010); /* Volume when fading	   */#elseGBLDEF(int vcx_audio_volume,            0x8080); /* Volume when not fading */GBLDEF(int vcx_fade_audio_volume,       0x8080); /* Volume when fading	   */#endif /* PLAYONLY */GBLDEF(int vcx_audio_channel,           2);GBLDEF_0(int vcx_karaokey,        	0);#ifdef PRE_EMPHASISGBLDEF_0(int vcx_deemphasis,            0);GBLDEF_0(int vcx_deemphasis_init,       0);#endif/* Misc high level control */GBLDEF_0(int vcx_playvideo_only,        0);GBLDEF_0(int vcx_playaudio_only,        0);GBLDEF_0(int vcx_disable_32,        	0);GBLDEF(int vcx_big,        		-1);GBLDEF_0(int vcx_ignore_pts,		0);/* Input selection */GBLDEF(int vcx_cd_drive,        	CD_SONY);GBLDEF_0(int vcx_bitstream_type,       	0);#ifdef EXT_INPUT GBLDEF(int vcx_ext_format,        	CD_SONY);#endif#ifdef MKROMGBLDEF(int vcx_xfer_mode,        	5);#elseGBLDEF_0(int vcx_xfer_mode,        	0);#endif/* Video output timing. NTSC settings. */GBLDEF(int vcx_scn_vstart,          	16);GBLDEF(int vcx_scn_hsyncperiod,		858);GBLDEF(int vcx_scn_vsyncperiod,		262);GBLDEF(int vcx_scn_hstart,		133);GBLDEF(int vcx_scn_hbstartval,		850);GBLDEF(int vcx_scn_hbendval,		108);GBLDEF(int vcx_scn_vbstartval,		260);GBLDEF(int vcx_scn_vbendval,		16);GBLDEF_0(int vcx_scn_outputcntl,	0);GBLDEF(int vcx_scn_counter_ctl,		0x17);/* High level video/scaling control */GBLDEF(int vcx_scn_display_rate,        60);GBLDEF(int vcx_scn_vscale, 		0x10);GBLDEF(int vcx_scn_height, 		240);GBLDEF(int vcx_osd_on,			1);/* Default to EDO! */GBLDEF(int vcx_use_edo,			1);	/* 1 for EDO; 0 for FP mode *//************************************************************ * used by VideoDecoder() ************************************************************/GBLDEF(int vcx_user_video_stream, 	0xe0);GBLDEF(int vcx_HorizSz, 		0xdead);GBLDEF(int vcx_VertSz, 			0xdead);GBLDEF_0(int vcx_step_advance, 		0);GBLDEF_0(int vcx_digest,		0);GBLDEF_0(int vcx_fast_forward,		0);GBLDEF_0(int vcx_stepmode,		0);GBLDEF_0(int vcx_interupt_FrameCount,	0);GBLDEF_0(int vcx_interupt_FrameCount_pause,0);GBLDEF_0(int vcx_interupt_stat,		0);GBLDEF_0(int vcx_int_framecount,	0);#define		vcx_subDigestPerPage	9GBLDEF_0(int vcx_freeze_frame,		0);GBLDEF_0(int vcx_status,		0);#ifdef MZOOMGBLDEF_0(int vcx_mzoom,                 0);#endif/*------------------------------------------------------------------------Variables are used in 3204. For porting purpose, we put them here.In ther future, we need to justify whether we need them.------------------------------------------------------------------------*/GBLDEF_0(int vcx_slow_motion, 0);GBLDEF_0(int vcx_pause_ack, 0);/************************************************************ * vcx_pause: bit representation  ************************************************************/typedef enum {    VC_PAUSE			=0x1,    VC_EMERG_SAVE		=0x2,    VC_CONTINUE			=0x4,    VC_E1E2_PAUSE		=0x8,    VC_CLEAN_DRAM		=0x10,    VC_INTERLACE		=0x20,} VCX_PAUSE;GBLDEF_0(VCX_PAUSE vcx_pause,	0);/************************************************************ * vcx_xseg_loaded..indicates current extra segment loaded. * use definitions from util.h.. * #define XSEG1_CODE	0x01  * #define XSEG2_CODE	0x02 * #define XSEG3_CODE	0x04 * #define XSEG4_CODE	0x08 ************************************************************/#define NOTHING_LOADED		0x00GBLDEF_0(int vcx_xseg_loaded, NOTHING_LOADED); #endif __VCXI_H__

⌨️ 快捷键说明

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