English
Language : 

SH7265 Datasheet, PDF (1551/2024 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperHTM RISC engine Family / SH7260 Series
Section 28 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. 14, 2008 Page 1515 of 1984
REJ09B0351-0100