#include <psppixelformat.h>
Public Types | |
| enum | Type { Type_None , Type_4444 , Type_5551 , Type_5650 , Type_8888 , Type_Palette_8bit , Type_Palette_4bit , Type_Unknown } |
Static Public Member Functions | |
| static void | convertFromScummvmPixelFormat (const Graphics::PixelFormat *pf, PSPPixelFormat::Type &bufferType, PSPPixelFormat::Type &paletteType, bool &fakeAlpha) |
| static Graphics::PixelFormat | convertToScummvmPixelFormat (PSPPixelFormat::Type type, bool fakeAlpha=false) |
Public Attributes | |
| Type | format |
| uint32 | bitsPerPixel |
| Must match bpp of selected type. | |
Specialized PixelFormat class Supports only those formats which the PSP allows, including 4 bit palettes. Also provides accurate color conversion (needed for color masking) As well as swapping of red and blue channels (needed by HE games, for example)