English
Language : 

SH7205 Datasheet, PDF (1484/1904 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperHTM RISC engine Family / SH7200 Series
Section 26 2D Graphics Engine (2DG)
(b) Determining a subject line (duplicate-line)
The line to be used twice in succession can be determined according to the following test formula:
[Test formulae]
b0 = INT ((VDLT_DCML × INT (SL × DV/SL) + V1PHS_DCML + (VDLT_DCML ×
(– 2)))/4096)
b1 = INT ((VDLT_DCML × INT (SL × DV/SL) + V1PHS_DCML + (VDLT_DCML ×
(– 1)))/4096)
b2 = INT ((VDLT_DCML × INT (SL × DV/SL) + V1PHS_DCML + (VDLT_DCML ×
(0)))/4096)
b3 = INT ((VDLT_DCML × INT (SL × DV/SL) + V1PHS_DCML + (VDLT_DCML ×
(1)))/4096)
IF (OR (AND (b1 = (SL – 1), b1 = b0),
AND (b1 = (SL – 1), b1 = b2),
AND (b2 = (SL – 1), b2 = b3)), 2, 1)
[Legend]
SV: Vertical line count of the source image (before resizing)
DV: Vertical line count of the image after resizing
SL: Line number of the source image (before resizing) to be determined
VIPHS_DCML: Fractional part of the initial phase in the vertical direction (allows for settings
less than delta)
VDLT_DCML: Fractional part of delta in the vertical direction
Note: The line is transferred twice in succession if the computational result of the test formula is
true (2); if it is false (1), the line is transferred once.
Rev. 1.00 Mar. 25, 2008 Page 1452 of 1868
REJ09B0372-0100