AminetAminet
Search:
84476 packages online
About
Recent
Browse
Search
Upload
Setup
Services

dev/lib/libablit.lha

Mirror:Random
Showing:i386-arosgeneric
No screenshot available
Short:Alpha Channel Blit Library
Author:Jürgen Schober
Uploader:juergen cox net (Jürgen Schober)
Type:dev/lib
Version:0.3
Requires:AmigaOS4 SDK, SDL (optional)
Architecture:ppc-amigaos >= 4.0.0
Date:2005-11-22
Download:http://aminet.net/dev/lib/libablit.lha - View contents
Readme:http://aminet.net/dev/lib/libablit.readme
Downloads:2665

The ABLIT library provides a BltBitMap() compatible function call which adds the
missing alpha channel and blend support to AmigaOS (4.0). It also contains some
nice addons to integrate SDL_Surfaces into AmigaOS.
See the included readme for more information.

Available interfaces:

ablit/ablit.h:

    - BltAlphaBitMap()
    - BltAlphaBitMapRastPort() (v0.3)
    - WriteAlphaPixelArray() (v0.3)
    - ExtractMask() (v0.3)
    - InjectMask()  (v0.3)

ablit/ablit_SDL.h:

    - SDL_BlitAlphaSurfaceBitMap()
    - SDL_BlitAlphaBitMapSurface()
    - SDL_BlitAlphaSurface()
    - SDL_BlitAlphaBitMapRastPort() (v0.3)

ablit/ablit_utils.h:

    - ABU_InitVideo() (supports windowed and fullscreen modes now)
    - ABU_CloseVideo()


For more information check the header files. A complete documentation will
follow.

History:


v0.3: 11/21/2005
    - added BltAlphaBitMapRastPort()
    - added SDL_BlitAlphaSurfaceRastPort()
    - added WriteAlphaPixelArray() 
      (cgx compatible call with alpha channel support)
    - added ExtractAlphaMask() - untested 
      (create an 8bit bitmap out of alpha layer)
    - added InjectAlphaMask() - untested 
      (inject an 8bit alpha mask into a 32bit bitmap)
    - changed all calls to match AmigaOS camel case naming convention 
      (e.g. all "Bitmap" are now "BitMap")
    - added ablit_util ABU_InitVideo can now handle window or 
      full screen mode.
    - added some more direct ARGB32 target blits 
      (only with 32 bit source format for now, 16/24 bit is missing).

v0.2: 11/05/2005
    - removed $VER tags from link library. 
      Doesn't make sence in a link lib
    - fixed alignment exceptions (hope I got them all now), 
      16 bit source blits should work again
    - cleaned up code into more generic patterns. Adding a color 
      format should only be a matter of changeing some macro 
      and no code changes  any more -> easier maintenance.
    - fixed clipping bugs in 16/32 bit formats
    - removed C++ dependencies (libstdc++.a)
    - lib is now independent from clib2 or newlib. 
      Should run with both now. (libalib.a & libalib_utils.a)
      (I need a clib2 version of freetype to test SDL_ttf, though)
    - restructured code for new functionality yet to come
    - added some free ttf fonts for the demo 
      (see it's notes inside the fonts folder)

v0.1: 10/31/2005
    - Forgot a debug message, slowed everything down
    - added $VER in ablit and ablit_utils lib

v0.0: 10/31/2005
    - First OS4Depot Release

TO DO:
    - 32 bit target blits. All 32->ARGB32 is there now
    - 24 bit target blits (currently not optimized and not fully tested)
    - separated 8 bit alpha channel bitmap/surface:
    - ExtractAlphaMask(), ApplyAlphaMask()
    - BltBitMapAlphaMask(), SDL_BlitSurfaceAlphaMask()
    - color key blits for source bitmaps < 32 bits

ablit_demo:
    Demo with source code to demonstrate the blit functions

Requirements:
    - libSDL.a
    - libSDL_image.a
    - libSDL_ttf.a
    - libfreetype.a

Copyrights:

	- You can copy the lib and the header files on for your own needs,
      even in commercial usage. No seperate license required.
	- The link library and the header files are provided AS IS.
      No waranty! Use on your own risk.
    - all other contributions in the archive are (C) by their respective
      owner. If you find copyrighted material and think it should not be
      part of this distribution, please let me know. I will remove them 
      immediately.




Contents of dev/lib/libablit.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                34164   35249  96.9% -lh5- 6bf3 Nov 21  2005 libablit/bin.info
[generic]                34165   35249  96.9% -lh5- c057 Nov 21  2005 libablit/doc.info
[generic]                  906    1675  54.1% -lh5- fc9c May 24  2005 libablit/fonts/INSTALL
[generic]                 2564    5192  49.4% -lh5- 1da8 May 24  2005 libablit/fonts/README
[generic]                34166   35249  96.9% -lh5- 7a8f Nov 21  2005 libablit/include.info
[generic]                34166   35249  96.9% -lh5- 174c Nov 21  2005 libablit/install.info
[generic]                34167   35249  96.9% -lh5- 2cbc Nov 21  2005 libablit/lib.info
[generic]                34164   35249  96.9% -lh5- 32f7 Nov 21  2005 libablit/pictures.info
[generic]                34165   35249  96.9% -lh5- 5579 Nov 21  2005 libablit/src.info
[generic]                43584   78612  55.4% -lh5- 7f61 May 24  2005 libablit/fonts/FreeSansBold.ttf
[generic]                44540   86040  51.8% -lh5- 3657 May 24  2005 libablit/fonts/FreeSansBoldOblique.ttf
[generic]               310590  594132  52.3% -lh5- ad1b May 24  2005 libablit/fonts/FreeSerif.ttf
[generic]               101472  196692  51.6% -lh5- 7ccc May 24  2005 libablit/fonts/FreeSerifBold.ttf
[generic]                69636  126468  55.1% -lh5- c889 May 24  2005 libablit/fonts/FreeSerifBoldItalic.ttf
[generic]                85035  153140  55.5% -lh5- 9648 May 24  2005 libablit/fonts/FreeSerifItalic.ttf
[generic]               117844  292288  40.3% -lh5- 9232 May 24  2005 libablit/fonts/FreeMono.ttf
[generic]                74301  173864  42.7% -lh5- 0c22 May 24  2005 libablit/fonts/FreeMonoBold.ttf
[generic]                56517  127516  44.3% -lh5- e08d May 24  2005 libablit/fonts/FreeMonoBoldOblique.ttf
[generic]                88398  174076  50.8% -lh5- fee6 May 24  2005 libablit/fonts/FreeMonoOblique.ttf
[generic]               146884  253780  57.9% -lh5- 10ab May 24  2005 libablit/fonts/FreeSans.ttf
[generic]                54735  101272  54.0% -lh5- d8ba May 24  2005 libablit/fonts/FreeSansOblique.ttf
[generic]                  869    1751  49.6% -lh5- 55d6 Nov 21  2005 libablit/doc/history
[generic]                 4265    6499  65.6% -lh5- d6be Nov  5  2005 libablit/doc/history.info
[generic]                 1458    3749  38.9% -lh5- 67d6 Oct 30  2005 libablit/doc/readme
[generic]                 1586    3425  46.3% -lh5- c74f May 24  2005 libablit/fonts/AUTHORS
[generic]                 5588   21549  25.9% -lh5- 736d May 24  2005 libablit/fonts/ChangeLog
[generic]                 6698   15238  44.0% -lh5- ae63 May 24  2005 libablit/fonts/CREDITS
[generic]                   58      80  72.5% -lh5- b91b Oct 30  2005 libablit/install/install
[generic]                 1835    2051  89.5% -lh5- 3f83 Oct 30  2005 libablit/install/install.info
[generic]                 1966    2415  81.4% -lh5- f0dc Oct 30  2005 libablit/doc/readme.info
[generic]                34166   35249  96.9% -lh5- 4523 Nov 21  2005 libablit/include/ablit.info
[generic]                 1641    4625  35.5% -lh5- 5697 Nov 20  2005 libablit/include/ablit/ablit_SDL.h
[generic]                  651    1174  55.5% -lh5- 6780 Nov 21  2005 libablit/include/ablit/ablit_SDL.h.info
[generic]                  505     988  51.1% -lh5- 96dc Nov 20  2005 libablit/include/ablit/ablit_utils.h
[generic]                  655    1174  55.8% -lh5- b574 Nov 21  2005 libablit/include/ablit/ablit_utils.h.info
[generic]               609375 1732214  35.2% -lh5- a4ab Nov 21  2005 libablit/bin/ablit_demo
[generic]                 1797    2051  87.6% -lh5- 5382 Nov  5  2005 libablit/bin/ablit_demo.info
[generic]                 2125    6307  33.7% -lh5- 4b54 Nov 21  2005 libablit/include/ablit/ablit.h
[generic]                  653    1174  55.6% -lh5- 1f8c Nov 21  2005 libablit/include/ablit/ablit.h.info
[generic]                33621   98532  34.1% -lh5- e30c Nov 21  2005 libablit/lib/libablit.a
[generic]                 1448    2798  51.8% -lh5- 4ea6 Nov 20  2005 libablit/lib/libablit_utils.a
[generic]                 1605    1909  84.1% -lh5- 0836 Nov 21  2005 libablit/src/ablit_demo.c.info
[generic]                 1941    2148  90.4% -lh5- 10e0 Oct 30  2005 libablit/pictures/background.png.info
[generic]                 1943    2148  90.5% -lh5- 484f Oct 30  2005 libablit/pictures/blend.png.info
[generic]                 1941    2148  90.4% -lh5- ecd0 Oct 30  2005 libablit/pictures/colors.png.info
[generic]                 5891   27678  21.3% -lh5- 7790 Nov 21  2005 libablit/src/ablit_demo.c
[generic]                  313     481  65.1% -lh5- 9038 Nov 12  2005 libablit/src/Makefile
[generic]                 1876    2263  82.9% -lh5- 5f43 Nov 21  2005 libablit/src/Makefile.info
[generic]                26097   26101 100.0% -lh5- 381b Oct 30  2005 libablit/pictures/alpha.png
[generic]                 1942    2148  90.4% -lh5- 9cd7 Oct 30  2005 libablit/pictures/alpha.png.info
[generic]                85533   85533 100.0% -lh0- 7ed1 Jun  9  2005 libablit/pictures/blue.png
[generic]                 1948    2148  90.7% -lh5- 96a3 Oct 30  2005 libablit/pictures/blue.png.info
[generic]                 1941    2148  90.4% -lh5- 1a67 Oct 30  2005 libablit/pictures/colors32.png.info
[generic]                 1943    2148  90.5% -lh5- 09bc Oct 30  2005 libablit/pictures/darken.png.info
[generic]                34165   35249  96.9% -lh5- 448b Nov 21  2005 libablit.info
[generic]               160379  160379 100.0% -lh0- cb0b Oct 17  2005 libablit/pictures/background.png
[generic]                  284    2879   9.9% -lh5- e8c7 Oct 15  2005 libablit/pictures/blend.png
[generic]                15676   17894  87.6% -lh5- 3e07 Oct 15  2005 libablit/pictures/colors.png
[generic]                16639   19069  87.3% -lh5- cc5c Oct 15  2005 libablit/pictures/colors32.png
[generic]                  279    2877   9.7% -lh5- 38aa Oct 15  2005 libablit/pictures/darken.png
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total        60 files 2509459 4951881  50.7%            Nov 22  2005

Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>