
PRELIMINARY
GRAPHICS 2D
S3C6400X RISC MICROPROCESSOR
18-8
ROTATION
The pixels can be rotated around the reference point (ox, oy) by 90/180/270 degree clockwise or perform a X-
axis/Y-axis flip around the horizontal or vertical line on which (ox, oy) lies. The effects of all rotation options are
summarized in the following table and illustrated in Figure 3.
Related Registers
ROT_OC_REG
Coordinate of the rotation reference point
ROTATE_REG
Rotation mode configuration
Rotation
Effect
0
°
90
°
180
°
270
°
X-flip Y-flip
x
dcx
-dcy + (ox+oy)
-dcx + 2ox
dcy + (ox-oy)
dcx
-dcx + 2ox
y
dcy
dcx - (ox-oy)
-dcy + 2oy
-dcx + (ox+oy)
-dcy + 2oy
dcy
FIMG-2D
FI
M
G
-2D
FI
M
G
-2D
Figure 2. Rotation Example