Samsung S3C2451X User Manual page 426

Risc microprocessor
Table of Contents

Advertisement

2D
DEST_BASE_ADDR
SRC_HORI_RES_REG
SRC_VERT_RES_REG
SC_HORI_RES_REG
SRC_COLOR_MODE
DEST_COLOR_MODE
BG_COLOR
BS_COLOR
ROP_REG
CMD1_REG
CMD2_REG / CMD3_REG
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.
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.
19-6
The base address of the destination image (usually the frame buffer base address)
The horizontal resolution of the source image
The vertical resolution of the source image (used in YUV mode)
The screen resolution
The color mode of the source image
The color mode of the destination image
Background color, used in the Transparent Mode and Blue Screen Mode.
Blue screen color, used in the Blue Screen Mode.
Enable/disable Transparent Mode or Blue Screen 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 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.
S3C2451X RISC MICROPROCESSOR

Advertisement

Chapters

Table of Contents
loading

Table of Contents