User's Manual

Table Of Contents
S3C2450X RISC MICROPROCESSOR 2D
19-7
4.1.8 Related Registers
COORD_0 Coordinate of the leftmost topmost coordinate of the source image
COORD_1 Coordinate of the rightmost bottommost coordinate of the source image
COORD_2 Coordinate of the leftmost topmost coordinate of the destination image
COORD_3 Coordinate of the rightmost bottommost coordinate of the destination image
X-INCR
X increment value of the source image coordinates. If it is greater than 1, the
image is shrunk horizontally; smaller than 1, stretched. This value is ignored
when S bit in CMDR_1 is disabled or host-to-screen mode is used.
X-INCR = (COORD1_X COORD0_X) / (COORD3_X COORD2_X)
Y-INCR
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.
Y_INCR = (COORD1_Y COORD0_Y) / ( COORD3_Y COORD2_Y)
SRC_BASE_ADDR The base address of the source image (when memory-to-screen mode is used).
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.