📄 vcxi.h
字号:
/* SCCSID @(#)vcxi.h 1.35 2/6/98 */#ifndef __VCXI_H__#define __VCXI_H__#include "common.h"#include "sysinfo.h"#define VCX_DECODE 2#define VCX_MPEG 1#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 */#ifdef SPDIFGBLDEF(int vcx_riface_wait_state, 0x0c825e);#elseGBLDEF(int vcx_riface_wait_state, 0x0c801e);#endif#endifGBLDEF(int vcx_riface_turnoff_delay, 0xff);/* Audio/karaoke control */GBLDEF(int vcx_audio_volume, 0x1010); /* Volume when not fading */GBLDEF(int vcx_fade_audio_volume, 0x1010); /* Volume when fading */GBLDEF(int vcx_audio_channel, 2);#if 0 /* No one uses it now */GBLDEF(int vcx_audio_playmode, 0x302c2200);#endifGBLDEF_0(int vcx_karaokey, 0);/* 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 MKROMGBLDEF(int vcx_xfer_mode, 5);#elseGBLDEF_0(int vcx_xfer_mode, 0);#endif#ifdef SVCDGBLDEF_0(int vcx_svcd, 0);GBLDEF_0(int vcx_16_9, 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);#ifdef CUST4GBLDEF(int vcx_scn_vsyncpixel, 20);#endifGBLDEF_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);GBLDEF(int vcx_scn_horizontalamt, 0xdead); /* defunct */GBLDEF_0(int vcx_use_edo, 0); /* 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);#endif __VCXI_H__
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -