demOS

- Main Page
- Modules
- Data Structures
- Files

- File List

All Data Structures Files Modules Pages
Data Structures | Macros | Enumerations | Functions
SURFACE.H File Reference

BIT More...

`#include "DEMOSDK\BASTYPES.H"`
Include dependency graph for SURFACE.H:

Go to the source code of this file.

## Data Structures
union | BITlutPtr
struct | BITlut
struct | BITsurface

## Macros
#define | BIT_DEFAULT_PITCH 0xFFFF
#define | BITlutConstruct(INSTANCE_PTR) DEFAULT_CONSTRUCT(INSTANCE_PTR)
#define | BITsurfaceConstruct(INSTANCE_PTR) DEFAULT_CONSTRUCT(INSTANCE_PTR)

## Enumerations
enum | BITlutFormat { BITlutFormat_BnW, BITlutFormat_STe, BITlutFormat_444, BITlutFormat_x888 }
enum | BITformat { BITformat_Chunk4P, BITformat_Chunk3P, BITformat_Chunk2P, BITformat_Plane1P, BITformat_Plane2P, BITformat_Plane3P, BITformat_Plane4P, BITformat_4bits, BITformat_8bits, BITformat_888, BITformat_x888, BITformat_NBMAX }

## Functions
void | BITlutDestroy (BITlut *_lut)
void | BITlutInit (MEMallocator *_allocator, BITlut *_lut, BITlutFormat _format, u16 _lutSize)
void | BITlutSet (MEMallocator *_allocator, BITlut *_lut, BITlutFormat _format, void *_lutData, u16 _lutSize)
void | BITlutSetExternal (BITlut *_lut, BITlutFormat _format, void *_lutData, u16 _lutSize)
void | BITlutConvert (MEMallocator *_allocator, BITlut *_source, BITlut *_dest, BITlutFormat _destFormat)
void | BITsurfaceDestroy (BITsurface *_surface)
void | BITsurfaceInit (MEMallocator *_allocator, BITsurface *_surface, BITformat _format, u16 _w, u16 _h, u16 _pitch)
void | BITsurfaceSetExternal (BITsurface *_surface, void *_buffer, BITformat _format, u16 _w, u16 _h, u16 _pitch)
void | BITsurfaceConvert (MEMallocator *_allocator, BITsurface *_source, BITsurface *_dest, BITformat _destFormat)
void | BITsurfaceClear (BITsurface *_surface)
void | BITsurfaceFSErrorDiffuse (MEMallocator *_allocator, BITsurface *_surface, u16 _rbits, u16 _gbits, u16 _bbits)

## Detailed Description

BIT