
PRELIMINARY
S3C6400X RISC MICROPROCESSOR
GRAPHICS 2D
18-3
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.
COLOR FORMAT
FIMG2D supports the following color format: 15/16/18/24/32-bit per pixel. Each format is illustrated as below:
15-bpp
1 bit
R (5 bits)
G (5 bits)
B (5 bits)
16-bpp
R (5 bits)
G (6 bits)
B (5 bits)
18-bpp
14 bits reserved
R (6 bits)
G (6 bits)
B (6 bits)
24/32-bpp
Alpha(note)
R (8 bits)
G (8 bits)
B (8 bits)
Note) Alpha value is valid when perpixel alpha blending is applied.
Color format can be configured using COLOR_MODE register. All the color data except the Pattern data use the
same color format as specified in COLOR_MODE register; the Pattern data always use RGB565 format.
RENDERING PIPELINE
The figure below illustrates the rendering pipeline, each stage of which is explained in the following sections.
PRIMITIVE DRAWING
Primitive Drawing determines the pixels to fill, and pass their coordinates to the next stage for further operations.
FIMG-2D supports three types of primitive drawing: 1) line/point drawing; 2) bit block transfer; 3) color expansion.
Line/Point Drawing
Line Drawing renders a line between the starting point (sx, sy) and the ending point (ex, ey) specified by the user.
If the distance of these two points along y axis is greater than that along x axis ( |ey - sy| > |ex - sx| ), the Major
Axis should be set to y-axis; otherwise, x-axis. If y-axis is the Major Axis, the y-coordinate of a pixel on the line is
increased or decreased by 1 from its preceding pixel, while the x-coordinate increased or decreased by X-INCR
(smaller than 1). In the same vein, if x-axis is the Major Axis, the x-coordinate is increased or decreased by 1
while the y-coordinate by Y-INCR. Note that X-INCR and Y-INCR should be given in 2’s complement format as
shown below.
Related Registers