OS4 DepotLogo by mason 
(anonymous IP:,895) 

   Bug tracker
   Locale browser

   o Audio (322)
   o Datatype (47)
   o Demo (178)
   o Development (502)
      o Cross (35)
      o Debug (8)
      o Edit (5)
      o Example (31)
      o Game (20)
      o Guitool (6)
      o Ide (6)
      o Install (0)
      o Language (39)
      o Library (245)
         o Audio (54)
         o Graphics (63)
         o Gui (6)
         o Math (8)
         o Misc (105)
         o Toolkit (8)
      o Misc (30)
      o Utility (77)
      o Webtool (0)
   o Document (20)
   o Driver (86)
   o Emulation (138)
   o Game (830)
   o Graphics (433)
   o Library (82)
   o Network (190)
   o Office (52)
   o Utility (763)
   o Video (58)

Total files: 3701

Full index file. Download
Recent index file. Download



Support the site

 Readme for:  Development » Library » Graphics » ppc_c2p_p2c.lha


Description: PPC assembler C2P and P2C routines
Download: ppc_c2p_p2c.lha       (TIPS: Use the right click menu if your browser takes you back here all the time)
Size: 15kb
Version: 1.0
Date: 11 Nov 09
Author: Fredrik Wikstrom
Submitter: Fredrik Wikstrom
Email: fredrik/a500 org
Homepage: http://a500.org
Category: development/library/graphics
License: Freeware
Distribute: yes
Min OS Version: 4.0
FileID: 5130
Comments: 0
Snapshots: 0
Downloads: 103  (Current version)
103  (Accumulated)
Votes: 0 (0/0)  (30 days/7 days)

Show comments Show snapshots Show content Show crashlogs Replace file 

Copy libc2p.a libp2c.a SDK:Local/newlib/lib/
Copy libc2p.a libp2c.a SDK:Local/clib2/lib/
Copy c2p.h p2c.h SDK:Local/common/include/


void chunky2planar (uint8 *chunky, uint16 *planar, uint32 plane_size,
	uint32 width, uint32 height, uint32 depth);

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.


1.0 (11-Nov-2009)
 - First released version

Copyright (c) 2004-2015 by Björn Hagström All Rights Reserved
Amiga OS and its logos are registered trademarks of Hyperion Entertainment