English
Language : 

SH7205 Datasheet, PDF (1475/1904 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperHTM RISC engine Family / SH7200 Series
Section 26 2D Graphics Engine (2DG)
PHS_V = INT (SV/ DV × 4096) × DT + V1PHS_DCML
Integer part of the results of calculation of the phase in the starting position on the source
side (V1PHS_INTGR) = PHS_H (upper 9 bits) = H'
Fractional part of the results of calculation of the phase in the starting position on the
source side (V1PHS_DCML) = PHS_V (lower 12 bits) = H'
Note: In the above formulas, the letters INT mean that the fractional part is rounded to an
integer.
(e) Calculation examples of the values in the register setting (only for horizontal direction)
• Conditions
Width of the source area (SH): 280 pixels
Width of the destination area (DH): 350 pixels
Number of the left-edge pixel of the actually updated partial area of the source area (SL'): 55
Number of the right-edge pixel of the actually updated partial area of the source area (SR'):
133
Fractional part of the results of calculation of the phase for the starting position on the source
side (H1PHS_DCML (D)): 819 = H'333
• Parameters to be calculated by the user
In the case of partial resizing, the number of the left-edge pixel of the area set as the
destination (DL)
In the case of partial resizing, the number of the left-edge pixel of the area set as the source
(SL)
In the case of partial resizing, the width of the area set as the destination (DCWIDH)
In the case of partial resizing, the width of the area set as the source (SSWIDH)
Integer part of the result of calculating the phase of the starting position on the source side
(H1PHS_INTGR)
Fractional part of the result of calculating the phase of the starting position on the source side
(H1PHS_DCML)
Rev. 1.00 Mar. 25, 2008 Page 1443 of 1868
REJ09B0372-0100