メイン・コンテンツまでスキップ

DecompressorRGBBase

platform/driver/lcd/LCD24bpp.hpp

Abstract interface for RGB decompressors.

Inherited by: LCD24bpp::DecompressorGFXPANDBase

Public Functions​

virtual voidblitCopyARGB8888(const uint8_t * sourceData, const Rect & source, const Rect & blitRect, uint8_t alpha) =0
Blits a RGB compressed 2D source-array to the framebuffer performing alpha-blending per pixel as specified.
virtual voidblitCopyRGB888(const uint8_t * sourceData, const Rect & source, const Rect & blitRect, uint8_t alpha) =0
Blits a RGB compressed 2D source-array to the framebuffer performing alpha-blending per pixel as specified.
virtual ~DecompressorRGBBase()

Public Functions Documentation​

blitCopyARGB8888​

virtual void blitCopyARGB8888(const uint8_t *sourceData ,=0
const Rect &source ,=0
const Rect &blitRect ,=0
uint8_talpha=0
)=0

Blits a RGB compressed 2D source-array to the framebuffer performing alpha-blending per pixel as specified.

Parameters:
sourceDataThe source-array pointer (points to the beginning of the data). The sourceData must be stored as compression opcodes.
sourceThe location and dimensions of the source.
blitRectA rectangle describing what region is to be drawn.
alphaThe 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 Rect &source ,=0
const Rect &blitRect ,=0
uint8_talpha=0
)=0

Blits a RGB compressed 2D source-array to the framebuffer performing alpha-blending per pixel as specified.

Parameters:
sourceDataThe source-array pointer (points to the beginning of the data). The sourceData must be stored as compression opcodes.
sourceThe location and dimensions of the source.
blitRectA rectangle describing what region is to be drawn.
alphaThe alpha value to use for blending applied to the whole image (255 = solid, no blending)

~DecompressorRGBBase​