Download LCD-Pro IP user manual Overview
Transcript
LCD-Pro IP user manual Alpha mask Besides standard 32-bit ARGB format, SRC1 and SRC2 bitmaps can be 8-bit alpha bitmasks. They are combined with the RGB components (bits [23:0]) stored in the foreground color register to form full 32-bit pixel bitmaps. This operation is especially useful in the generation of fonts with anti-aliased edges. • DST = BITMASK(SRC1) OVER SRC2 source 1 source 2 destination Alpha channel In the channel mode, each color component (R, G, B or alpha) can be selected between SRC1 and SRC2 pixel components to form the DST pixel. Bits [3:0] of the OPERATION register do selection of components to be used. This operation is especially useful for merging 24-bit bitmaps with the 8-bit alpha bitmask to form a 32-bit ARGB bitmap. Channel mode also supports the alpha fading, multiplying the alpha factor of each source with the value stored in the FG_COL_?(31:24), to achieve an increase in the transparency. To disable this function, write 0xFF to FG_COL_?(31:24). • DST = BITMASK(SRC1) CH SRC2, (OPERATION[3:0] = “0111”) source 1 UM0011 (v1.00) – 14 July 2009 source 2 destination www.exorint.net 68/112