Samsung S3C2416 User Manual page 401

16/32-bit risc
Table of Contents

Advertisement

S3C2416X RISC MICROPROCESSOR
4.1.8 Related Registers
COORD_0
COORD_1
COORD_2
COORD_3
X-INCR
Y-INCR
SRC_BASE_ADDR
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
Coordinate of the leftmost topmost coordinate of the source image
Coordinate of the rightmost bottommost coordinate of the source image
Coordinate of the leftmost topmost coordinate of the destination image
Coordinate of the rightmost bottommost coordinate of the destination image
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 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)
The base address of the source image (when memory-to-screen mode is used).
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.
2D
18-7

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents