vcxi.h
来自「一个两碟控制的VCD的代码,两碟之间的转动及连续播放,已大量生产的CODE.」· C头文件 代码 · 共 132 行
H
132 行
/* SCCSID @(#)vcxi.h 1.35 2/6/98 */
#ifndef __VCXI_H__
#define __VCXI_H__
#include "common.h"
#include "sysinfo.h"
#include "custom.h"
#define VCX_DECODE 2
#define VCX_MPEG 1
#ifndef MKROM
GBLDEF(int vcx_standard, VCX_MPEG);
GBLDEF(int vcx_code_type, VCX_DECODE);
#endif
/* RISC interface */
#ifndef MKROM
GBLDEF(int vcx_riface_width, 0xff); /* 0x7ff for cache off */
#ifdef SPDIF
GBLDEF(int vcx_riface_wait_state, 0x0c825e);
#else
GBLDEF(int vcx_riface_wait_state, 0x0c801e);
#endif
#endif
GBLDEF(int vcx_riface_turnoff_delay, 0xff);
/* Audio/karaoke control */
#ifdef INTECH_GONGFA
GBLDEF(int vcx_audio_volume, 0x0808); /* Volume when not fading */
#else
GBLDEF(int vcx_audio_volume, 0x1010); /* Volume when not fading */
#endif
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);
#endif
GBLDEF_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 MKROM
GBLDEF(int vcx_xfer_mode, 5);
#else
GBLDEF_0(int vcx_xfer_mode, 0);
#endif
#ifdef SVCD
GBLDEF_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 CUST4
GBLDEF(int vcx_scn_vsyncpixel, 20);
#endif
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);
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 9
GBLDEF_0(int vcx_freeze_frame, 0);
GBLDEF_0(int vcx_status, 0);
#ifdef MZOOM
GBLDEF_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 + =
减小字号Ctrl + -
显示快捷键?