English
Language : 

SH7205 Datasheet, PDF (1493/1904 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperHTM RISC engine Family / SH7200 Series
Section 26 2D Graphics Engine (2DG)
3. Repeats transferring data to SE1 and SE2 up to the 240th line, and outputs interrupt signal
INT_FILD at the 240th line.
4. The above steps 1 to 3 are repeated until the OUTEN bit of the GR_MIXPLY register is
updated to 0.
(4) Resizing
(a) How to set the delta value for use in resizing
The value of a resize delta (Ch) can be determined according to the following equation:
Ch = (source resolution/destination resolution) × 4096
Note: Ch = 1/resizing ratio must be calculated from source pixel count/destination pixel count.
For example, if the source pixel count is 720 and the destination pixel count is 480, Ch will be:
Ch = (720 ⁄ 480) × 4096 = 6144 = 1800 (H)
Based on these results, the resize delta value will be as follows:
Since MHDLT_INTGR is the integer part of Ch (4 bits), MHDLT_INTGR = 1 (H)
Since MHDLT_DCML is the fractional part of Ch (12 bits), MHDLT_DCML = 800 (H)
If the resizing function is not to be used, set the MHDLT_INTGR bit and MHDLT_DCML bit to
H'1 and H'000, respectively.
(b) Howe to set the source-side starting phase for use in resizing
The source-side starting phase (Psh) can be determined according to the following equation:
Psh = Ch × (starting pixel count) + (starting initial phase × 4096)
In this case, MH1PHS_DCML will be the fractional part (12 bits) of Psh. If resizing is not
performed or a resizing ratio = 1, Psh = 0 should be set. Note that the starting pixel count is always
0 (first pixel) for the output block, since the output block exclusively resizes moving pictures.
Therefore, only the fractional part is necessary for Psh unlike for the blitter.
Rev. 1.00 Mar. 25, 2008 Page 1461 of 1868
REJ09B0372-0100