Samsung S3C6400X User Manual page 535

Table of Contents

Advertisement

S3C6400X RISC MICROPROCESSOR
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
16-bpp
R (5 bits)
18-bpp
24/32-bpp
Alpha(note)
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
R (5 bits)
G (5 bits)
G (6 bits)
14 bits reserved
R (8 bits)
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.
B (5 bits)
B (5 bits)
R (6 bits)
G (6 bits)
G (8 bits)
GRAPHICS 2D
B (6 bits)
B (8 bits)
18-3

Advertisement

Table of Contents
loading

Table of Contents