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

📄 gdi_img.h

📁 ESS3890+SL原代码(1*16内存)
💻 H
字号:
/* Copyright 2000, ESS Technology, Inc.                                 *//* SCCSID @(#)gdi_img.h	1.1 10/16/01 *//* Based on DVD/SVCD version 	1.1 12/01/00 *//* $Id$ *//* * $Log$ */#ifndef GDI_IMAGE_H#define GDI_IMAGE_H#include "platform.h"/*#include "../lib_browser/browser_config.h"*/#ifdef __cplusplusextern "C"{#endif#ifndef COLORREF#define COLORREF int#endif#ifndef VESTEL#define BOOL int#endiftypedef struct IMAGE{	unsigned char *imagebuf;    int imagebuf_length;  /* length of buffer for JPEG */	/* for gif display */	int image_buf_size;	int local_color_table;#ifdef BETA_RESEARCH	unsigned int *palette;#else	unsigned short *palette;#endif	int CodeSize, BitMask, Interlace;	/* For GIF89a animation only */	int left_offset;  	int top_offset;	int width;	int height;    int delay;    int disposal;    int user_input;    int bg_color;#ifdef INC_DECODE	void *pImagePar;#endif} IMAGE;#define IMAGE_TYPE_GIF 1#define IMAGE_TYPE_JPEG 2#define IMAGE_TYPE_JBMP 3#define IMAGE_LOAD_FAIL 4typedef struct SHOW{	int picindex;	char *name;	int x, y, x1, y1, bgc;	int width, height;	int animationState;    	long animationCount;	unsigned long timeout;	char * backup;} SHOW;typedef struct ImageStruct{	char *name;	struct ImageStruct *next;	int imagetype;#ifdef CHM	int x1, y1, x2, y2;#endif	int bg_image;		/* 1 for background image */	int width;	int height;#ifdef INC_DECODE	int lastheight;    int lastdisplayheight ;#endif	struct IMAGE **pImage;	/* For GIF89A Animation only */	int frameTotal;	/* total number of image frames */	struct SHOW **pShow;	int showTotal;	long animationRuntime;    	int bgc;#ifdef INC_DECODE	void *pStructPar;#endif} ImageStruct;extern int putImage(void* imagebuf, int x, int y, int x2, int y2);extern int pasteImage(void* imagebuf, int x, int y, int x2, int y2, int bgcolor);extern void putGifImage(ImageStruct *pImgStruct,long frameIndex,long showIndex, int x1, int y1, int x2, int y2);#ifdef INC_DECODE#ifdef GBMPextern void Inc_putGifImage(ImageStruct *pImgStruct,long frameIndex,long showIndex, int x1, int y1, int x2, int y2);#endif#endif#ifdef __cplusplus}#endif#endif /* GDI_IMAGE_H */

⌨️ 快捷键说明

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