Figure 20.4 argb conversion functions – Renesas SH7781 User Manual
Page 1045
20. Graphics Data Translation Accelerator (GDTA)
Rev.1.00 Jan. 10, 2008 Page 1015 of 1658
REJ09B0261-0100
(2)
Overview of ARGB Conversion Functions
The following shows an outline of the ARGB conversion specification.
Frame hei
g
ht
DDR2-SDRAM
A
R
B
G
A
R
B
G
A
R
B
G
A
R
B
G
A
R
B
G
A
R
B
G
A
R
B
G
B
R
B
G
B
R
B
G
B
R
B
G
A
R
B
G
A
R
B
G
A
R
B
G
A
R
B
G
A
R
B
G
A R
B
G
A R
B
G
A R
B
G
A R
B
G
A R
B
G
External memory
connected to the
local bus
U0: -0.392 (U-128)
A
Y1: 1.164 (Y-16)
U1: 2.017 (U-128)
V0: 1.596 (V-128)
V1: -0.813 (V-128)
U0: -0.392 (U-128)
A
Y1: 1.164 (Y-16)
U1: 2.017 (U-128)
V0: 1.596 (V-128)
V1: -0.813 (V-128)
U0: -0.392 (U-128)
A
Y1: 1.164 (Y-16)
U1: 2.017 (U-128)
V0: 1.596 (V-128)
V1: -0.813 (V-128)
.
.
.
.
16 bits
16 bits
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
A
R
G
B
A
R
G
B
A
R
G
B
A
R
G
B
A
R
G
B
A
R
G
B
** **
**
**
** **
**
**
Output pointer
.
.
Output padding size
data inserted
Multiple of 32 bytes of data
Buffer RAM 0
Display image
Frame width (4 pixels in this sample figure)
Invalid data
Converted data output order
Output padding size (= 48 bytes)
(4) ARGB conversion (with output padding)
(3) Color
information
reading
(5) Output data writing
(including output padding data)
For output
(= 16 bytes)
Not for output
(= 32 bytes)
Depending on the specified width and
padding size, there may exist either one or
neither of "padding data for output" and
"padding data not for output".
Data for the
frame width
of 1 line
Pallete
Pointer
256 entries
256 entries
256 entries
Figure 20.4 ARGB Conversion Functions