chunky2planar as an Amiga shared library

   Author:       Alimede Informatica
   Uploader:     Gabriele Budelacci <g bude alimede com>
   Type:         dev/misc
   Version:      1.5
   Requires:     68020+
   Architecture: m68k-amigaos >= 3.0
   Date:         2023-09-23
   Readme:       http://aminet.net/dev/misc/c2plib.readme
   Downloads:    1080

http://aminet.net/dev/misc/c2plib.lha

overview

-----------------------------

- c2p.library is a fast lowlevel Amiga shared library for chunky2planar

conversion.

- c2p.library is designed to run the core loop entirely into the CPU

instruction cache, resulting a very fast conversion.

- being a standard Amiga shared library, you can use c2p.library with

your favourite development language.

- c2p.library can convert chunky data in any resolution, up to 2 Mpx.

- c2p.library is released under the MIT license.

features

-----------------------------

- convert 8 bit chunky buffer to 1-8 bitplanes planar Bitmap

- fully OS compliant

- automatic CPU detection to select the best conversion algorithm

- sources included

- fully documented

- supplied with SDK for C, Assembly and Amiga E

- free to use, for any personal or commercial software

requirements

-----------------------------

- os3.x (v39) or newer

- CPU 68020 or greater

recent changes

-----------------------------

v1.5

- added support for delta conversion: convert only the pixels

that are modified in new frame.

v1.4

- added support for interleaved bitmaps as target of c2p

conversion.

v1.3

- you can choose to convert only a limited number of chunky

pixels, selecting them using a source offset and placing the

result using a destination offset (eg: useful for chunky

Blitter objects).

v1.2

- ability to use custom bitmaps.

v1.1

- optimized conversion algorithm for processors with bigger

instruction cache (Motorola 68040 or greater).

v1.0

- first public release.

Contents of dev/misc/c2plib.lha

 PERMSSN    UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[Amiga]                  23054   24435  94.3% -lh5- fdfb Apr 22  2022 c2plib/chunky2planar.ods
[Amiga]                   6917   19880  34.8% -lh5- 884a Sep 22 22:55 c2plib/libs/c2p.library
[Amiga]                    649    1104  58.8% -lh5- 4e6d May 31 22:36 c2plib/LICENSE
[Amiga]                   1064    4124  25.8% -lh5- e2ff Sep 22 22:54 c2plib/Makefile
[Amiga]                    716    1472  48.6% -lh5- 9215 May  7  2022 c2plib/Makefile-exe
[Amiga]                    861    1851  46.5% -lh5- 8a63 Sep 23 00:29 c2plib/README
[Amiga]                    825    2488  33.2% -lh5- 49a0 Sep 22 19:36 c2plib/sdk/Asm/c2p.i
[Amiga]                    303    1179  25.7% -lh5- 27d8 Nov 13  2022 c2plib/sdk/Asm/c2p_lib.i
[Amiga]                    269     524  51.3% -lh5- 0888 Nov 13  2022 c2plib/sdk/C/c2p.h
[Amiga]                    679    2488  27.3% -lh5- ea76 Sep 20 09:11 c2plib/sdk/C/c2p_context.h
[Amiga]                    377    1006  37.5% -lh5- 4791 Oct 16  2022 c2plib/sdk/C/c2p_system.h
[Amiga]                    332    1007  33.0% -lh5- d0e0 Nov 13  2022 c2plib/sdk/C/clib/c2p_protos.h
[Amiga]                    551    2169  25.4% -lh5- 1dd4 Nov 13  2022 c2plib/sdk/C/pragma/c2p_lib.h
[Amiga]                    792    4896  16.2% -lh5- a780 Nov 13  2022 c2plib/sdk/c2p.lib
[Amiga]                   4027   21112  19.1% -lh5- 0f62 Sep 22 23:42 c2plib/sdk/docs/c2p.autodoc
[Amiga]                   3396    9587  35.4% -lh5- e237 Sep 23 00:15 c2plib/sdk/docs/howto.txt
[Amiga]                    177     356  49.7% -lh5- 6a43 Nov 13  2022 c2plib/sdk/E/c2p.m
[Amiga]                    814    2943  27.7% -lh5- 90c7 Sep 22 19:34 c2plib/sdk/E/libraries/c2p.e
[Amiga]                    603    1876  32.1% -lh5- d65d Sep 22 19:55 c2plib/sdk/E/libraries/c2p.m
[Amiga]                    299     462  64.7% -lh5- e6bf May 11  2022 c2plib/sdk/E/README.txt
[Amiga]                   7701   14708  52.4% -lh5- 7b80 Nov 13  2022 c2plib/sdk/examples/basic
[Amiga]                   7886   15228  51.8% -lh5- a90a Sep 22 22:55 c2plib/sdk/examples/basic-delta
[Amiga]                   2305    8611  26.8% -lh5- e222 Sep 22 22:53 c2plib/sdk/examples/basic-delta.c
[Amiga]                   2200    8033  27.4% -lh5- f080 Jun 18  2022 c2plib/sdk/examples/basic.c
[Amiga]                   7685   14800  51.9% -lh5- a9ab Nov 13  2022 c2plib/sdk/examples/chunky
[Amiga]                   2251    8124  27.7% -lh5- b88d May  9  2022 c2plib/sdk/examples/chunky.c
[Amiga]                   7929   15892  49.9% -lh5- 6bba Nov 13  2022 c2plib/sdk/examples/custom-bitmap
[Amiga]                   2075    8022  25.9% -lh5- fe70 Nov 13  2022 c2plib/sdk/examples/custom-bitmap.c
[Amiga]                   7722   15300  50.5% -lh5- b634 Dec  9  2022 c2plib/sdk/examples/offset
[Amiga]                   2106    7346  28.7% -lh5- 4dda Dec  8  2022 c2plib/sdk/examples/offset.c
[Amiga]                   7797   15176  51.4% -lh5- 2911 Nov 13  2022 c2plib/sdk/examples/scrambled
[Amiga]                   2353    8622  27.3% -lh5- ec4d May 10  2022 c2plib/sdk/examples/scrambled.c
[Amiga]                   1981    3312  59.8% -lh5- ec44 May 17  2022 c2plib/sdk/examples/zoom
[Amiga]                   2094    3712  56.4% -lh5- efbc May 17  2022 c2plib/sdk/examples/zoom-optimized
[Amiga]                   2441    7984  30.6% -lh5- 93b9 May 17  2022 c2plib/sdk/examples/zoom-optimized.e
[Amiga]                   2241    7634  29.4% -lh5- e673 May 17  2022 c2plib/sdk/examples/zoom.e
[Amiga]                    335     825  40.6% -lh5- 52f8 Nov 13  2022 c2plib/sdk/fd/c2p.fd
[Amiga]                   2526   11320  22.3% -lh5- 9c89 Sep 20 10:13 c2plib/src/c2p_8.s
[Amiga]                   3093   13172  23.5% -lh5- 79c5 Sep 21 11:02 c2plib/src/c2p_8x1.s
[Amiga]                   1148    3728  30.8% -lh5- db5e Nov 27  2022 c2plib/src/c2p_8x1_040.s
[Amiga]                   2103    7735  27.2% -lh5- 411d Sep 21 11:02 c2plib/src/c2p_8x2.s
[Amiga]                   2498    8315  30.0% -lh5- 2cb7 Sep 19 02:11 c2plib/src/c2p_8x2_040.s
[Amiga]                   2188    8071  27.1% -lh5- cce6 Sep 21 11:02 c2plib/src/c2p_8x3.s
[Amiga]                   2544    8535  29.8% -lh5- 595e Sep 19 02:11 c2plib/src/c2p_8x3_040.s
[Amiga]                   2242    8343  26.9% -lh5- 14e2 Sep 21 11:02 c2plib/src/c2p_8x4.s
[Amiga]                   2626    8861  29.6% -lh5- c065 Sep 19 02:11 c2plib/src/c2p_8x4_040.s
[Amiga]                   2281    8494  26.9% -lh5- af5e Sep 21 11:02 c2plib/src/c2p_8x5.s
[Amiga]                   2648    8968  29.5% -lh5- 19e3 Sep 19 02:11 c2plib/src/c2p_8x5_040.s
[Amiga]                   2290    8547  26.8% -lh5- c4c1 Sep 21 11:02 c2plib/src/c2p_8x6.s
[Amiga]                   2673    9076  29.5% -lh5- 8a5c Sep 19 02:11 c2plib/src/c2p_8x6_040.s
[Amiga]                   2312    8680  26.6% -lh5- 609e Sep 21 11:02 c2plib/src/c2p_8x7.s
[Amiga]                   2714    9239  29.4% -lh5- 7767 Sep 19 02:11 c2plib/src/c2p_8x7_040.s
[Amiga]                   2872    9666  29.7% -lh5- d920 Sep 19 02:11 c2plib/src/c2p_8x8_040.s
[Amiga]                   2585    8751  29.5% -lh5- 8938 Nov 26  2022 c2plib/src/c2p_8x8_v1.s
[Amiga]                   2617    8889  29.4% -lh5- f849 Nov 26  2022 c2plib/src/c2p_8x8_v2.s
[Amiga]                   2680    8873  30.2% -lh5- 9a94 Nov 26  2022 c2plib/src/c2p_8x8_v3.s
[Amiga]                   2788    9751  28.6% -lh5- 2b82 Nov 26  2022 c2plib/src/c2p_8x8_v4.s
[Amiga]                   3193   11456  27.9% -lh5- 449a Nov 26  2022 c2plib/src/c2p_8x8_v5.s
[Amiga]                   3252   12315  26.4% -lh5- b4aa Nov 26  2022 c2plib/src/c2p_8x8_v6.s
[Amiga]                   3079   10550  29.2% -lh5- 8628 Nov 26  2022 c2plib/src/c2p_8x8_v7.s
[Amiga]                   3054   10559  28.9% -lh5- afdd Nov 27  2022 c2plib/src/c2p_8x8_v8.s
[Amiga]                   2343    8797  26.6% -lh5- 4bb1 Sep 21 11:02 c2plib/src/c2p_8x8_v9.s
[Amiga]                   6714   42795  15.7% -lh5- 9281 Sep 22 19:25 c2plib/src/c2p_context.c
[Amiga]                    928   15756   5.9% -lh5- 9c97 Sep 21 11:02 c2plib/src/c2p_context_proto.h
[Amiga]                    692    1683  41.1% -lh5- b731 May 17  2022 c2plib/src/c2p_copy_mem.s
[Amiga]                   1572    5569  28.2% -lh5- bbe3 Nov  6  2022 c2plib/src/c2p_system.c
[Amiga]                    414    1066  38.8% -lh5- d37a Nov  6  2022 c2plib/src/c2p_system_proto.h
[Amiga]                   1717    5630  30.5% -lh5- 5843 Apr 28  2022 c2plib/src/compiler.h
[Amiga]                   2937   11096  26.5% -lh5- 683a Sep 17 15:31 c2plib/src/hello.c
[Amiga]                   1996    5814  34.3% -lh5- f6fc Nov 12  2022 c2plib/src/LibInit.c
[Amiga]                    457    1094  41.8% -lh5- 78b0 Sep 23 00:23 c2plib/src/librarybase.h
[Amiga]                   2696   11299  23.9% -lh5- b96f Nov  1  2022 c2plib/src/StartUp.c
[Amiga]                    919    3115  29.5% -lh5- 30b6 Jun  5  2022 c2plib/src/sys_helpers.s
[Amiga]                    477    1445  33.0% -lh5- 1d1e Jun  5  2022 c2plib/src/sys_helpers_proto.h
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total        74 files  201675  605341  33.3%            Sep 23 23:39

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