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

📄 vscale.h

📁 ESS3890+SL原代码(1*16内存)
💻 H
字号:
/* Copyright 1996, ESS Technology, Inc.					*//* SCCSID @(#)vscale.h	4.2 05/22/03 *//* * $Log$ */#ifdef VSCALE#ifndef _VSCALE_H_#define _VSCALE_H_#ifdef GSCALE#define NUM_MODES    5#define VSCL_OFF     0      /* No vertical scaling */#define VSCL_N2P     1      /* NTSC->PAL, 16->20 */#define VSCL_LB      2      /* Letterbox, 16->12 */#define VSCL_P2N     3      /* PAL->NTSC, 16->12 */#define VSCL_P2N_VCD 4      /* PAL ->NTSC, 16->13, for VCD*/#define VSCL_GENERIC 5      /* Generic polyphase scaling factor *//*======================================================================*//*  Data structure for scaling assignment                               *//*======================================================================*/typedef struct {    unsigned char vsize;         /* scaled vertical size of a macroblock */    unsigned char ucode[2];      /* VP ucode to load */    void (*functn)();            /* ptr to I/P scaling function */} VscaleInfo_t;#endif GSCALE/************************************************************************* * Data structure for scaling assignment                                 * *************************************************************************/typedef struct {    unsigned char ratio;   /* ratio of frame to screen height */    unsigned char vsize;   /* scaled vertical size of a macroblock */    unsigned char ucode;	 /* VP ucode to run */    unsigned char dummy;} VSCALE_Info;/************************************************************************* * global variables defined in vscale.c 				 * *************************************************************************/extern int VscaleReady;		/* ready to scale */extern int VscaleStart;		/* start to scale */extern int VscaleLineOutY;	/* where to find output */extern int VscaleLineInY; 	/* where to find input */extern int VscaleDeltaOut;	/* vertical size of macroblock after scaling */extern int VscaleLastFrame;	/* force last frame scaling when we see 0xb7 */extern int H_VscaleFrame; 	/* input only, not changed inside vscale */#ifdef LESS_DISP_MEM#define P2P_DIFF	6#else#define P2P_DIFF	0#endif /* LESS_DISP_MEM */extern int e0pal2pal;		/* LESS_DISP_MEM *//************************************************************************* * global function prototype 						 * *************************************************************************/void vscale2(void);void resetVscale(void);void initVscale(int);void initVscale_Pointer(void);void load_scaling_ucode(int);#ifdef PLAY20int  rescale_still(void);#endif	/* PLAY20 */ #endif	/* _VSCALE_H_ */#endif	/* VSCALE */

⌨️ 快捷键说明

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