DecompressorL8Base
platform/driver/lcd/LCD24bpp.hpp
Abstract interface for L8 decompressors.
Inherited by: LCD24bpp::DecompressorGFXPANDBase
Public Functions
| virtual void | blitCopyARGB8888(const uint8_t sourceData, const uint8_t clutData, const Rect & source, const Rect & blitRect, uint8_t alpha) =0 |
| Blits a 2D indexed L8_ARGB8888 compressed source to the framebuffer performing alpha-blending per pixel as specified. | |
| virtual void | blitCopyRGB888(const uint8_t sourceData, const uint8_t clutData, const Rect & source, const Rect & blitRect, uint8_t alpha) =0 |
| Blits a 2D indexed L8_RGB888 compressed source to the framebuffer performing alpha-blending per pixel as specified. | |
| virtual | ~DecompressorL8Base() |
Public Functions Documentation
blitCopyARGB8888
| virtual void blitCopyARGB8888 | ( | const uint8_t * | sourceData , | =0 | |
| const uint8_t * | clutData , | =0 | |||
| const Rect & | source , | =0 | |||
| const Rect & | blitRect , | =0 | |||
| uint8_t | alpha | =0 | |||
| ) | =0 |
Blits a 2D indexed L8_ARGB8888 compressed source to the framebuffer performing alpha-blending per pixel as specified.
Parameters:
| sourceData | The source-indexes pointer (points to the beginning of the data). The sourceData must be stored as compression opcodes. |
| clutData | The source-clut pointer (points to the beginning of the CLUT color format and size data followed by colors entries stored as 32- bits (ARGB8888) format. |
| source | The location and dimensions of the source. |
| blitRect | A rectangle describing what region is to be drawn. |
| alpha | The alpha value to use for blending applied to the whole image (255 = solid, no blending) |
blitCopyRGB888
| virtual void blitCopyRGB888 | ( | const uint8_t * | sourceData , | =0 | |
| const uint8_t * | clutData , | =0 | |||
| const Rect & | source , | =0 | |||
| const Rect & | blitRect , | =0 | |||
| uint8_t | alpha | =0 | |||
| ) | =0 |
Blits a 2D indexed L8_RGB888 compressed source to the framebuffer performing alpha-blending per pixel as specified.
Parameters:
| sourceData | The source-indexes pointer (points to the beginning of the data). The sourceData must be stored as 8- bits indexes. |
| clutData | The source-clut pointer (points to the beginning of the CLUT color format and size data followed by colors entries stored as 24- bits (RGB888) format. |
| source | The location and dimensions of the source. |
| blitRect | A rectangle describing what region is to be drawn. |
| alpha | The alpha value to use for blending applied to the whole image (255 = solid, no blending) |
~DecompressorL8Base
| virtual ~DecompressorL8Base | ( | ) |