OS4 DepotLogo by Alessandro Bacchia 
(anonymous IP: 3.15.149.24,2258) 
 HomeRecentStatsSearchSubmitUploadsMirrorsContactInfoDisclaimerConfigAdmin
 Menu

 Features
   Crashlogs
   Bug tracker
   Locale browser
 

 Categories

   o Audio (343)
   o Datatype (51)
   o Demo (203)
   o Development (602)
   o Document (24)
   o Driver (97)
   o Emulation (149)
   o Game (1011)
   o Graphics (500)
   o Library (118)
   o Network (234)
   o Office (66)
   o Utility (932)
   o Video (69)

Total files: 4399

Full index file
Recent index file

 Links

  Amigans.net
  OpenAmiga
  Aminet
  IntuitionBase


Support the site


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

Ppc_c2p_p2c

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 2009
Author: Fredrik Wikström
Submitter: Fredrik Wikström
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
Videos: 0
Downloads: 214  (Current version)
214  (Accumulated)
Votes: 0 (0/0)  (30 days/7 days)

Show comments Show snapshots Show videos Show content Show crashlogs Replace file 
Installation:

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/

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.

Changes:

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



Copyright © 2004-2024 by Björn Hagström All Rights Reserved