Bitmap
class and a derived class for each color space.
For now only RGB and RGBA color spaces are supported, but the abstraction should allow for YV12, YV12A and others. If you want to add support for generic bitmap functions I haven't created yet, this is the place.
The Bitmap
classes should be able to stand on their own and have no dependencies on rve or bmovl.
#include <stdlib.h>
#include <string.h>
Go to the source code of this file.
Compounds | |
class | ABGR |
32-bit ABGR bitmap where the first 8 bits is the alpha channel describing the opacity of each pixel. More... | |
class | Bitmap |
An abstract base class for all sorts of bitmaps. More... | |
class | Packed |
Abstract base class for all packed bitmap types. More... | |
class | RGB |
24-bit RGB bitmap More... | |
class | RGBA |
32-bit RGBA bitmap where the last 8 bits is the alpha channel describing the opacity of each pixel. More... | |
Defines | |
#define | MAX(a, b) ((a) > (b) ? (a) : (b)) |
#define | MIN(a, b) ((a) < (b) ? (a) : (b)) |