Samsung S3C6400X User Manual page 537

Table of Contents

Advertisement

S3C6400X RISC MICROPROCESSOR
Y-INCR
COLOR_MODE
BS_COLOR
ROP_REG
CMDR_1
CMDR_2 / CMDR_3
Color Expansion (Font Drawing)
Color Expansion expands the monochrome color to either background (BG_COLOR) or foreground (FG_COLOR)
color. Each bit of the source data presents a pixel, with '1' indicating the foreground color and '0' the background
color. The bit sequence is from MSB to LSB. The MSB of the first data corresponds to the leftmost topmost pixel
of the destination image. The image below serves as a good illustration of the function and data type of Color
Expansion. In this example, the foreground color is blue and background white, and the destination image is 16-
pixel wide.
MSB
1 0
1
0
0
1 1 1
FIMG-2D supports both host-to-screen mode and memory-to-screen mode of Color Expansion.
Related Registers
CMDR_1 is disabled or host-to-screen mode is used.
Y increment value of the source image coordinates. If it is greater than 1, the image
is shrunk vertically; smaller than 1, stretched. This value is ignored when S bit in
CMDR_1 is disabled or host-to-screen mode is used.
The color mode of the image
Blue screen color, used in the Transparent Mode.
Enable/disable Transparent Mode
Writing to this register starts the rendering process of memory-to-screen Bit Block
Transfer. If S bit is set, the image will be shrunk or stretched, depending on the
values of X-INCR and Y-INCR.
The host provides the source image data through these two command registers.
When the host writes the first 32-bit data into CMDR_2, the rendering process starts
in the host-to-screen mode. Then the host should provide the rest of data by writing
into CMDR_3 continuously.
0
1
1
1
1 0
Preliminary product information describe products that are in development,
for which full characterization data and associated errata are not yet available.
Specifications and information herein are subject to change without notice.
1
0
0
1 1 1
0
1
GRAPHICS 2D
1
1 1 0
1
0
0
1 1 1
LSB
18-5

Advertisement

Table of Contents
loading

Table of Contents