Preliminary
2D
S3C2451X
RISC MICROPROCESSOR
19-6
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.
DEST_BASE_ADDR
The base address of the destination image (usually the frame buffer base address)
SRC_HORI_RES_REG
The horizontal resolution of the source image
SRC_VERT_RES_REG
The vertical resolution of the source image (used in YUV mode)
SC_HORI_RES_REG
The screen resolution
SRC_COLOR_MODE
The color mode of the source image
DEST_COLOR_MODE
The color mode of the destination image
BG_COLOR
Background color, used in the Transparent Mode and Blue Screen Mode.
BS_COLOR
Blue screen color, used in the Blue Screen Mode.
ROP_REG
Enable/disable Transparent Mode or Blue Screen Mode.
CMD1_REG
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.
CMD2_REG / CMD3_REG
The host provides the source image data through these two command registers.
When the host writes the first 32-bit data into CMD2_REG, the rendering process
starts in the host-to-screen mode. Then the host should provide the rest of data by
writing into CMD3_REG continuously. Note that the data written to
CMD2_REG/CMD3_REG each time represents only one pixel, regardless of the
source color format. If the source color format is 16-bpp (e.g., RGB565), the upper
16 bits of the data are ignored.
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. Figure 19-6 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.