#include <lib/sconfig.h>
Include dependency graph for format.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Classes | |
class | PixmapFormat |
This class describes a pixmap format. More... | |
struct | PixmapFormat::FMT |
Defines | |
#define | _PIXMAP_FORMAT_H_ 1 |
The class stores a PixmapFormat::Format identifier (Gray,RGB,RGBA,...). From knowledge of this format identifier, it is clear which interpretation the channels should have (e.g. for RGB the channel 0 is red while for Gray, it is the gray indensity). Hence, the number of channels is also known from the PixmapFormat::Format identifier.
Furthermore, the class stores the number of bits in each channel in a separate array. This allows for image formats which have a different number of bits in different channels such as well-known RGB-565 with 5 bits red and blue and 6 bits green.
Definition in file format.h.
|
|