Virtual U.org
Get Personal Training on VU Today
    
Top shadow
 
 register/help
User Name:

Password:

PalDesc struct Reference
Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

PalDesc Struct Reference

Structure containing remap of ColorTable for PAL format. More...

#include <OCOLTBL.H>

List of all members.

Public Methods

 PalDesc (void *palPtr, int pitch, int size, int bitWidth, BYTE *rPtr=(unsigned char *) 0, int rCount=0)
BYTE normalize (BYTE c)
BYTE red (int n)
BYTE green (int n)
BYTE blue (int n)
RGBColor get_rgb (int n)
int is_reserved (BYTE c, int &reservedIndex)

Public Attributes

BYTEpal
int pal_pitch
int pal_size
int bit_width
BYTEreserved_color
int reserved_count


Detailed Description

Structure containing remap of ColorTable for PAL format.

Definition at line 38 of file OCOLTBL.H.


Constructor & Destructor Documentation

PalDesc::PalDesc void *    palPtr,
int    pitch,
int    size,
int    bitWidth,
BYTE   rPtr = (unsigned char*)0,
int    rCount = 0
[inline]
 

Definition at line 46 of file OCOLTBL.H.

References BYTE.


Member Function Documentation

BYTE PalDesc::blue int    n [inline]
 

Definition at line 53 of file OCOLTBL.H.

References BYTE.

RGBColor PalDesc::get_rgb int    n [inline]
 

Definition at line 54 of file OCOLTBL.H.

Referenced by ColorTable::generate_table(), and ColorTable::generate_table_fast().

BYTE PalDesc::green int    n [inline]
 

Definition at line 52 of file OCOLTBL.H.

References BYTE.

int PalDesc::is_reserved BYTE    c,
int &    reservedIndex
[inline]
 

Definition at line 55 of file OCOLTBL.H.

References BYTE.

Referenced by ColorTable::generate_table().

BYTE PalDesc::normalize BYTE    c [inline]
 

Definition at line 50 of file OCOLTBL.H.

References BYTE.

BYTE PalDesc::red int    n [inline]
 

Definition at line 51 of file OCOLTBL.H.

References BYTE.


Member Data Documentation

int PalDesc::bit_width
 

Definition at line 42 of file OCOLTBL.H.

BYTE* PalDesc::pal
 

Definition at line 39 of file OCOLTBL.H.

Referenced by ColorTable::generate_table(), and ColorTable::generate_table_fast().

int PalDesc::pal_pitch
 

Definition at line 40 of file OCOLTBL.H.

int PalDesc::pal_size
 

Definition at line 41 of file OCOLTBL.H.

Referenced by ColorTable::generate_table(), and ColorTable::generate_table_fast().

BYTE* PalDesc::reserved_color
 

Definition at line 43 of file OCOLTBL.H.

int PalDesc::reserved_count
 

Definition at line 44 of file OCOLTBL.H.

Referenced by ColorTable::generate_table(), and ColorTable::generate_table_fast().


The documentation for this struct was generated from the following file:
Generated on Fri Aug 23 01:39:27 2002 for VirtualU by doxygen1.2.17