English
Language : 

SH7265 Datasheet, PDF (1538/2024 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperHTM RISC engine Family / SH7260 Series
Section 28 2D Graphics Engine (2DG)
For example, if the number of source pixels is 479 and the number of destination pixels is 240, Ch
will be:
Ch = (479 ⁄ 240) × 4096 ≅ 8174.933 = 1FEE (H)
Based on these results, the delta value for resizing will be as follows:
Since HDLT_INTGR is the integer part of Ch, HDLT_INTGR = 1 (H)
Since HDLT_DCML is the fractional part of Ch, HDLT_DCML = FEE (H)
If the BRSIZ bit of the GR_RISZSET register is 0, i.e., the resizing function is not to be used, the
operation will be the same as if the HDLT_INTGR and HDLT_DCML bits were set to H'1 and
H'000, respectively. However, the values of the HDLT_INTGR and HDLT_DCML bits do not
change.
The delta value for use in resizing (Cv) value can be calculated by using the following equation:
Cv = (source resolution ⁄ destination resolution) × 4096
In this case, through calculation similar to that for Ch, VDLT_INTGR and VDLT_DCML are
derived as the integer and fractional parts of Cv (2 and 12 bits, respectively). If the BRSIZ bit of
the GR_RISZSET register is 0, i.e., the resizing function is not to be used, the operation will be
the same as if the VDLT_INTGR and VDLT_DCML bits were set to H'1 and H'000, respectively.
However, the values of the VDLT_INTGR and VDLT_DCML bits do not change.
• Range of settings for full resizing
Since this is full resizing, the integer component (GR_HSPHAS register, H1PHS_INTGR bit)
is always 0.
Enlargement: H1PHS_INTGR = H'000, H1PHS_DCML = H'000 to H'(HDLT_DCML − 1)
Reduction: H1PHS_INTGR = H'000, H1PHS_DCML = H'000 to H'FFF
• Range of settings for partial resizing
Set the integer and fractional parts according to the left-edge pixels of the area for partial
resizing.
(d) Setting the source-side starting phase
The source-side starting phase (Psh) can be calculated by using the following equation:
Psh = Ch × (number of pixels to that where resizing starts) + (initial phase at starting pixel
× 4096)
Rev. 1.00 Mar. 14, 2008 Page 1502 of 1984
REJ09B0351-0100