| 84706 packages online |
|
|
| dev/lib/fw_c2p_p2c.lha | | | No screenshot available |
|
Usage:
c2p.h:
void chunky2planar (uint8 *chunky, uint16 *planar, uint32 plane_size,
uint32 width, uint32 height, uint32 depth);
p2c.h:
void planar2chunky (uint16 *planar, uint32 plane_size, uint8 *chunky,
uint32 width, uint32 height, uint32 depth);
Usage of functions should be pretty straight forward. Planar data must be non-
interleaved with each plane following directly after the previous one. All
depths 1-8 are supported. Width must be a multiple of 16 pixels.
For examples on how to use these functions in a program see the CDXLPlay
(Source/cdxlplay.c) and/or SRec (Source/formats/cdxl.c) source code that can
be downloaded from OS4Depot/Aminet.
Compiling:
To compile PPC assembler versions:
cd ppc
make
To compile generic C versions:
cd generic
make
Changes:
1.1 (19-Nov-2009)
- Added generic C versions
1.0 (11-Nov-2009)
- First released version
|
Contents of dev/lib/fw_c2p_p2c.lha PERMSSN UID GID PACKED SIZE RATIO METHOD CRC STAMP NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic] 580 1097 52.9% -lh5- 0f3f Nov 19 2009 fw_c2p_p2c/fw_c2p_p2c.readme
[generic] 346 837 41.3% -lh5- f172 Nov 19 2009 fw_c2p_p2c/generic/c2p.c
[generic] 494 1365 36.2% -lh5- 079b Nov 19 2009 fw_c2p_p2c/generic/c2p/c2p_1.c
[generic] 630 2229 28.3% -lh5- 3b12 Nov 19 2009 fw_c2p_p2c/generic/c2p/c2p_2.c
[generic] 754 3093 24.4% -lh5- 623c Nov 19 2009 fw_c2p_p2c/generic/c2p/c2p_3.c
[generic] 868 3957 21.9% -lh5- 205c Nov 19 2009 fw_c2p_p2c/generic/c2p/c2p_4.c
[generic] 986 4821 20.5% -lh5- b4fd Nov 19 2009 fw_c2p_p2c/generic/c2p/c2p_5.c
[generic] 1105 5685 19.4% -lh5- 60a1 Nov 19 2009 fw_c2p_p2c/generic/c2p/c2p_6.c
[generic] 1218 6549 18.6% -lh5- e8f8 Nov 19 2009 fw_c2p_p2c/generic/c2p/c2p_7.c
[generic] 1340 7413 18.1% -lh5- 101c Nov 19 2009 fw_c2p_p2c/generic/c2p/c2p_8.c
[generic] 222 361 61.5% -lh5- f4fd Nov 19 2009 fw_c2p_p2c/generic/Makefile
[generic] 346 837 41.3% -lh5- 496f Nov 19 2009 fw_c2p_p2c/generic/p2c.c
[generic] 501 1943 25.8% -lh5- 3c0e Nov 19 2009 fw_c2p_p2c/generic/p2c/p2c_1.c
[generic] 652 2899 22.5% -lh5- 9d89 Nov 19 2009 fw_c2p_p2c/generic/p2c/p2c_2.c
[generic] 838 4239 19.8% -lh5- 275f Nov 19 2009 fw_c2p_p2c/generic/p2c/p2c_3.c
[generic] 979 5195 18.8% -lh5- a372 Nov 19 2009 fw_c2p_p2c/generic/p2c/p2c_4.c
[generic] 1162 6535 17.8% -lh5- 327c Nov 19 2009 fw_c2p_p2c/generic/p2c/p2c_5.c
[generic] 1304 7491 17.4% -lh5- be74 Nov 19 2009 fw_c2p_p2c/generic/p2c/p2c_6.c
[generic] 1474 8831 16.7% -lh5- eab5 Nov 19 2009 fw_c2p_p2c/generic/p2c/p2c_7.c
[generic] 1637 9787 16.7% -lh5- 6d50 Nov 19 2009 fw_c2p_p2c/generic/p2c/p2c_8.c
[generic] 174 253 68.8% -lh5- ce66 Nov 19 2009 fw_c2p_p2c/include/c2p.h
[generic] 175 253 69.2% -lh5- a74d Nov 19 2009 fw_c2p_p2c/include/p2c.h
[generic] 263 574 45.8% -lh5- da0f Nov 11 2009 fw_c2p_p2c/ppc/c2p.s
[generic] 302 758 39.8% -lh5- 7909 Nov 11 2009 fw_c2p_p2c/ppc/c2p/c2p_1.s
[generic] 399 1190 33.5% -lh5- 1da2 Nov 11 2009 fw_c2p_p2c/ppc/c2p/c2p_2.s
[generic] 487 1620 30.1% -lh5- 13d9 Nov 11 2009 fw_c2p_p2c/ppc/c2p/c2p_3.s
[generic] 560 2064 27.1% -lh5- c4d6 Nov 11 2009 fw_c2p_p2c/ppc/c2p/c2p_4.s
[generic] 634 2493 25.4% -lh5- 25b4 Nov 11 2009 fw_c2p_p2c/ppc/c2p/c2p_5.s
[generic] 714 2923 24.4% -lh5- 932e Nov 11 2009 fw_c2p_p2c/ppc/c2p/c2p_6.s
[generic] 788 3353 23.5% -lh5- c12c Nov 11 2009 fw_c2p_p2c/ppc/c2p/c2p_7.s
[generic] 862 3783 22.8% -lh5- e90c Nov 11 2009 fw_c2p_p2c/ppc/c2p/c2p_8.s
[generic] 139 222 62.6% -lh5- 300d Nov 19 2009 fw_c2p_p2c/ppc/Makefile
[generic] 262 574 45.6% -lh5- 84f9 Nov 9 2009 fw_c2p_p2c/ppc/p2c.s
[generic] 332 825 40.2% -lh5- f921 Nov 9 2009 fw_c2p_p2c/ppc/p2c/p2c_1.s
[generic] 436 1261 34.6% -lh5- 3a80 Nov 9 2009 fw_c2p_p2c/ppc/p2c/p2c_2.s
[generic] 526 1681 31.3% -lh5- d8ce Nov 9 2009 fw_c2p_p2c/ppc/p2c/p2c_3.s
[generic] 615 2102 29.3% -lh5- 57b5 Nov 9 2009 fw_c2p_p2c/ppc/p2c/p2c_4.s
[generic] 712 2523 28.2% -lh5- fa21 Nov 9 2009 fw_c2p_p2c/ppc/p2c/p2c_5.s
[generic] 803 2943 27.3% -lh5- 85ea Nov 9 2009 fw_c2p_p2c/ppc/p2c/p2c_6.s
[generic] 885 3355 26.4% -lh5- 4637 Nov 9 2009 fw_c2p_p2c/ppc/p2c/p2c_7.s
[generic] 969 3769 25.7% -lh5- 0cd2 Nov 9 2009 fw_c2p_p2c/ppc/p2c/p2c_8.s
---------- ----------- ------- ------- ------ ---------- ------------ -------------
Total 41 files 28473 123683 23.0% Aug 28 20:43
|
|
|
|
Aminet © 1992-2024 Urban
Müller and
the Aminet team.
Aminet contact address: <aminetaminet net> |