Main Page | Modules | Class Hierarchy | Data Structures | File List | Data Fields | Globals | Related Pages

C API
[dcplaya documentation]


Detailed Description

programming dcplaya C components

Author:
benjamin gerard


Files

file  mutex.h
 Implements recursive mutex (mutual exclusion) over spinlock.

file  syserror.h
 Error functions.

file  sysmacro.h
 Macro defines.


Modules

Border Texture
 border texture

Console
 generic console

Controllers
 read controller status

Dcar Archiver
 tar like file archiver

Display list system.
 display list system

Driver and driver type
 drivers and driver type.

Exceptions and Guardians handling
 exceptions and guardians handling

External Heap
 external heap management

PCM fifo
 PCM fifo.

File utils
 file utils API.

Filename
 working with pathes and filenames

Filetypes
 filetype API.

Filesystem
 virtual filesystem for KOS

Containers
 Thread safe container.

Lef Loader
 lef loader

Mathematics
 mathematics various (float, integer, matrix, vertex, fft ...)

VT52 terminal
 VT52 compatible terminal.

Rescursive mutex
 rescursive mutex.

PCM and Bitstream buffers
 PCM and Bitstream buffers.

Playa
 music player

Priorities
 Priority settings.

Screen shot
 take a screen shot

Shell
 shell

Debug facilities
 debug facilities

VMU
 VMU.

Drawing system.
 Drawing system.

Data translators
 Data translators.

Plugins
 dcplaya plugins


Image format macros.

#define SHAPF_LOG2BPP(A)   ((int)(A)&7)
 Get log 2 of number of bit per pixel.

#define SHAPF_BPP(A)   (1<<SHAPF_LOG2BPP(A))
 Get number of bit per pixel.


Fixed size integer types

enum  SHApixelFormat_e {
  SHAPF_IND1 = 0x10, SHAPF_IND2 = 0x01, SHAPF_IND4 = 0x02, SHAPF_IND8 = 0x03,
  SHAPF_RGB233 = 0x13, SHAPF_GREY8 = 0x23, SHAPF_ARGB2222 = 0x33, SHAPF_RGB565 = 0x04,
  SHAPF_ARGB1555 = 0x14, SHAPF_ARGB4444 = 0x24, SHAPF_AIND88 = 0x34, SHAPF_ARGB32 = 0x05,
  SHAPF_UNKNOWN = 0x00
}
 Pixel format enumeration. More...


Enumeration Type Documentation

enum SHApixelFormat_e
 

Pixel format enumeration.

Format of pixel type number : 0xAB -[A] Most signifiant quartet is type identifier. -[B] Log 2 of bit per pixel for the pixel format.

Enumeration values:
SHAPF_IND1  Indexed 1 bit per pixel (black and white).
SHAPF_IND2  Indexed 2 bit per pixel (4 colors).
SHAPF_IND4  Indexed 4 bit per pixel (16 colors).
SHAPF_IND8  Indexed 8 bit per pixel (256 colors).
SHAPF_RGB233  Direct RGB 8 bit per pixel.
SHAPF_GREY8  Direct 8 bit intensity (grey level).
SHAPF_ARGB2222  Direct ARGB 8 bit per pixel.
SHAPF_RGB565  Direct 16 bit per pixel R:5 G:6 B:5.
SHAPF_ARGB1555  Direct 16 bit per pixel A:1 R:5 G:5 B:5.
SHAPF_ARGB4444  Direct 16 bit per pixel A:4 R:4 G:4 B:4.
SHAPF_AIND88  Interlaced 8 alpha bit, 8 indexed color bir.
SHAPF_ARGB32  Direct 32 bit per pixel A:8 R:8 G:8 B:8.
SHAPF_UNKNOWN  Reserved for error or unknown format.


dcplaya documentation version 1.2 Generated on January 2004 by doxygen 1.3.5