주요 내용으로 건너뛰기

DecompressorL8Base

platform/driver/lcd/LCD24bpp.hpp

Abstract interface for L8 decompressors.

Inherited by: LCD24bpp::DecompressorGFXPANDBase

Public Functions​

virtual voidblitCopyARGB8888(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 voidblitCopyRGB888(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_talpha=0
)=0

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

Parameters:
sourceDataThe source-indexes pointer (points to the beginning of the data). The sourceData must be stored as compression opcodes.
clutDataThe 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.
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 uint8_t *clutData ,=0
const Rect &source ,=0
const Rect &blitRect ,=0
uint8_talpha=0
)=0

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

Parameters:
sourceDataThe source-indexes pointer (points to the beginning of the data). The sourceData must be stored as 8- bits indexes.
clutDataThe 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.
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)

~DecompressorL8Base​