English
Language : 

SH7205 Datasheet, PDF (1461/1904 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperHTM RISC engine Family / SH7200 Series
Section 26 2D Graphics Engine (2DG)
1. When the right edges of the whole source area and of the updated source area coincide
Whole source area = 100 pixels
123
98 99 100
Updated source area = 100 pixels (1-100)
= case where the right edges of the set source area and
the whole source area coincide
Source area as set in the register (SSWIDH bits)
Set the EDGE(0) bit to 1.
Set the SSWIDH bits to H'64.
2. When the right edges of the whole source area and of the updated source area do not coincide
(differing by two or more pixel positions)
Whole source area = 100 pixels
123
97 98 99 100
Two or
more
pixels
Source area as set in the register (SSWIDH bits)
Updated source area = 98 pixels (1-98)
= case where the right edges of the set source area and
the whole source area differ by two or more pixels
Set the EDGE(0) bit to 0.
Set the SSWIDH bits to H'63.
3. When the right edges of the whole source area and of the updated source area do not coincide
(differing by less than two pixel positions)
Whole source area = 100 pixels
123
97 98 99 100
Less than
two pixels
Updated source area = 99 pixels (1-99)
= case where the right edges of the set source area and
the whole source area differ, but not by two or more pixels
Source area as set in the register (SSWIDH bits)
Set the EDGE(0) bit to 1.
Set the SSWIDH bits to H'64.
Figure 26.33 Settings of EDGE Bits of GR_RISZSET Register
(only for horizontal direction)
(c) Setting the delta value for use in resizing
The delta value for use in resizing (Ch) can be calculated by using the following equation:
Ch = (source resolution ⁄ destination resolution) × 4096
Note: Ch = 1 ⁄ resizing ratio must be calculated from (number of source pixels ⁄ number of
destination pixels). Also, truncate any fractional part of the result.
Rev. 1.00 Mar. 25, 2008 Page 1429 of 1868
REJ09B0372-0100