gfxlib

所属分类:图片显示
开发工具:C/C++
文件大小:62KB
下载次数:91
上传日期:2008-03-23 09:19:32
上 传 者ljhaaa
说明:  针对arm7的GBA的jpeg解码库,有汇编优化,速度快,效率高,难得的好代码。
(ARM7 for the GBA)

文件列表:
Gasdepend (112, 2001-03-18)
glib.bin (17380, 2001-03-18)
glib.s (910, 2001-03-18)
gs.inc (46543, 2001-03-18)
main.c (2568, 2001-03-18)
main.h (955, 2001-03-11)
Makedepend (39, 2001-03-18)
Makefile (1093, 2001-07-29)
subs (0, 2001-03-12)
subs\defs.s (510, 2001-03-05)
subs\ellipse.s (3137, 2001-03-11)
subs\fill.s (4013, 2001-03-11)
subs\fill1.s (3574, 2001-03-11)
subs\fill2.s (4219, 2001-03-11)
subs\jpeg4.c (34308, 2001-04-04)
subs\jpeg5.c (27011, 2001-04-04)
subs\jpeg5.s (11385, 2001-03-18)
subs\line.s (2987, 2001-03-11)
subs\line1.s (2720, 2001-03-11)
subs\line2.s (4868, 2001-03-11)
subs\line3.s (5008, 2001-03-11)
subs\line4.s (6775, 2001-03-18)
subs\pixel.s (726, 2001-03-15)
subs\pixel2.s (745, 2001-03-05)
WS_FTP.LOG (446, 2001-04-04)

COMPILING SOURCE CODE --------------------- To compile this code you must have Thumb GCC, ARM GCC, or ARM/Thumb GCC installed. (ARM/Thumb GCC is a version of GCC that supports both processors in one compiler.) The following has only been tested with Thumb GCC for windows. Also, you need some of the standard include files. Get arminc.zip from http://www.devrs.com/gba in the C compilers section. Create a subdirectory with the name 'include' where you installed GCC and unzip arminc.zip in this subdirectory. You also need crt0.s & lnkscript files from here: http://www.devrs.com/gba/ccode.php#cmisc To compile the source code just type 'make'. Before you do that, though, you need to modify the 'makefile' and set the path for _GCCLIB to the path where you installed 'libgcc.a'. Then set the path for _GCCINC to the path where you unziped arminc.zip. For instance, if this file is in the directory c:/arm, then modify the 'makefile' like so using windows notepad or a similar editor that is capable of generating true tab characters: _GCCLIB = c:/arm LIBRARY DOCUMENTATION --------------------- The documentation for each of the library functions is currently found in the source code itself at the top of each file. (For JPEG documentation read jpeg5.c, for line drawing read line5.c, etc) There are often multiple versions of each library. (i.e. line2.s, line3.c, line4.c) The latest version (in this case line4.c) is the one to use. The others are usually obsolete but included anyway for the curious. Libgcc.a can be obtained from the 'armgcc.zip' package from http://www.devrs.com/gba/ Revision History ---------------- v1.0224 - Original Release v1.0311 - Line4.s Horizontal line draw is now ~twice as fast. - Bug fix for each .s file. STMED & LDMED replaced with STMFD & LDMFD. Now gfxLib can be used in subroutines. v1.0318 - Added JPEG decompression jpeg4.c & jpeg5.c/jpeg5.s. - Speeded up pixel.s just a small bit. - Speeded up line4.s just a small bit.

近期下载者

相关文件


收藏者