|
| PixelFormat () |
|
| PixelFormat (byte BytesPerPixel, byte RBits, byte GBits, byte BBits, byte ABits, byte RShift, byte GShift, byte BShift, byte AShift) |
|
bool | operator== (const PixelFormat &fmt) const |
|
bool | operator!= (const PixelFormat &fmt) const |
|
uint32 | RGBToColor (uint8 r, uint8 g, uint8 b) const |
|
template<class T > |
uint32 | RGBToColorT (uint8 r, uint8 g, uint8 b) const |
|
uint32 | ARGBToColor (uint8 a, uint8 r, uint8 g, uint8 b) const |
|
template<class T > |
uint32 | ARGBToColorT (uint8 a, uint8 r, uint8 g, uint8 b) const |
|
void | colorToRGB (uint32 color, uint8 &r, uint8 &g, uint8 &b) const |
|
template<class T > |
void | colorToRGBT (uint32 color, uint8 &r, uint8 &g, uint8 &b) const |
|
void | colorToARGB (uint32 color, uint8 &a, uint8 &r, uint8 &g, uint8 &b) const |
|
template<class T > |
void | colorToARGBT (uint32 color, uint8 &a, uint8 &r, uint8 &g, uint8 &b) const |
|
Common::String | toString () const |
|
template<> |
uint32 | RGBToColorT (uint8 r, uint8 g, uint8 b) const |
|
template<> |
uint32 | ARGBToColorT (uint8 a, uint8 r, uint8 g, uint8 b) const |
|
template<> |
void | colorToRGBT (uint32 color, uint8 &r, uint8 &g, uint8 &b) const |
|
template<> |
void | colorToARGBT (uint32 color, uint8 &a, uint8 &r, uint8 &g, uint8 &b) const |
|
byte | rBits () const |
|
byte | gBits () const |
|
byte | bBits () const |
|
byte | aBits () const |
|
byte | bpp () const |
|
uint | rMax () const |
|
uint | gMax () const |
|
uint | bMax () const |
|
uint | aMax () const |
|
static PixelFormat | createFormatCLUT8 () |
|
static uint | expand (uint bits, uint color) |
|