English
Language : 

SH7265 Datasheet, PDF (1549/2024 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperHTM RISC engine Family / SH7260 Series
Section 28 2D Graphics Engine (2DG)
Formula for calculating DL:
When the result of formula for judging is true: DL = INT (DH ⁄ SH × (SL' − 1))
When the result of formula for judging is false: DL = INT (DH ⁄ SH × (SL' − 1)) + 1
Formula for judging DT:
When ST' > 1, INT (DV/ SV × (ST' − 1)) × INT (SV/ DV × 4096) + V1PHS_DCML ≥ (ST'
− 1) × 4096
When ST' ≤ 1, DT = 0 for exception handling, regardless of formula for calculation
Formula for calculating DT:
When the result of formula for judging is true: DT = INT (DV/ SV × (ST' − 1))
When the result of formula for judging is false: DT = INT (DV/ SV × (ST' − 1)) + 1
2. Formula for calculating the number of left-edge pixels (SL) and the number of top-edge lines
(ST) in the source set area
Formula for calculating SL:
When SL' > 1, SL = INT ((DL × INT (SH/ DH × 4096) + H1PHS_DCML/ 4096) =
(H1PHS_INTGR)
When SL' ≤ 1, SL = 0 as exception handling
Formula for calculating ST:
When ST' > 1, ST = INT ((DT × INT (SV/ DV × 4096) + V1PHS_DCML/ 4096) =
(V1PHS_INTGR)
When ST' ≤ 1, ST = 0 as exception handling
3. Formula for calculating the horizontal width (DCWIDH) and the vertical height (DCHIGH) in
the destination set area
Formula for judging DCWIDH:
When SR' < SH – 2, INT ((INT (DH/ SH × (SR' + 1)) × INT (SH/ DH × 4096) +
H1PHS_DCML ≥ (SR' + 1) × 4096
When SR' ≥ SH – 2, DCWIDH = DH – DL for exception handling, regardless of formula
for calculation
Formula for calculating DCWIDH:
When the result of formula for judging is true: DCWIDH = INT (DH/ SH × (SR' + 1)) −
DL
When the result of formula for judging is false: DCWIDH = INT (DH/ SH × (SR' + 1)) −
DL + 1
Formula for judging DCHIGH:
When SB' < SV – 2, INT ((INT (DV/ SV × (SB' + 1)) × INT (SV/ DV × 4096) +
V1PHS_DCML ≥ (SB' + 1) × 4096
Rev. 1.00 Mar. 14, 2008 Page 1513 of 1984
REJ09B0351-0100