Atmel Evaluation Kit AT91SAM9X35-EK AT91SAM9X35-EK Data Sheet

Product codes
AT91SAM9X35-EK
Page of 1301
1107
SAM9X35 [DATASHEET]
11055E–ATARM–10-Mar-2014
46.6.11.5  Color Keying
Color keying involves a method of bit-block image transfer (Blit). This entails blitting one image onto another where not all
the pixels are copied. Blitting usually involves two bitmaps, a source bitmap and a destination bitmap. A raster operation
(ROP) is performed to define whether the iterated color or the overlay color is to be visible or not.
Source Color Keying
If the masked overlay color matches the color key then the iterated color is selected. Source Color Keying is activated
using the following configuration.
Select the Overlay to Blit 
Set DSTKEY field to zero
Activate Color Keying setting CRKEY field to 1
Program Color Key writing RKEY, GKEY and BKEY fields
Program Color Mask writing RKEY, GKEY and BKEY fields
When the Mask register is set to zero, the comparison is disabled and the raster operation is activated.
Destination Color Keying
If the iterated masked color matches the color key then the overlay color is selected. Destination Color Keying is
activated using the following configuration:
Select the Overlay to Blit
Set DSTKEY field to one
Activate Color Keying setting CRKEY field to 1
Program Color Key writing RKEY, GKEY and BKEY fields
Program Color Mask writing RKEY, GKEY and BKEY fields
When the Mask register is set to zero, the comparison is disabled and the raster operation is activated.
46.6.12 LCD Overall Performance
46.6.12.1  Color Lookup Table (CLUT)
Table 46-48. CLUT Pixel Performance
CLUT Mode
Pixels/Cycle
ROTATION
SCALING
1 bpp
32
Not supported
Supported
2 bpp
16
Not supported
Supported
4bpp
8
Not supported
Supported
8 bpp
4
Not supported
Supported