NO:
W90P710 Programming Guide
VERSION:
2.0
PAGE:
121
The above information is the exclusive intellectual property of Winbond Electronics and shall not be disclosed, distributed or reproduced without permission
from Winbond.
Table No.: 2005-W90P710-11-A
horizontal direction. Down-scaling function supports shrinking to
M
N
ratio in vertical direction
and shrinking to
2
1
,
4
1
, and
8
1
ratio in horizontal direction. N and M both range from 1 to 255 and
N must be smaller than M.
Up-Scaling and Down-Scaling functions can’t be enable simultaneously to avoid unpredictable
behavior.
The programming procedure is listed as follows:
1) If the Video up-scaling function is required, configure register Video Up-scaling Factor
(VDUPSCF)
.
2) If the OSD up-scaling function is required, configure register OSD Up-scaling Factor
(OSDUPSCF)
.
3) Go to Step 6.
4) If the Video down-scaling function is required, configure register Video Down-scaling Factor
(VDDNSCF)
.
5) If the OSD down-scaling function is required, configure register OSD Down-scaling Factor
(OSDNSCF)
.
6) Finish configurations.
9.10 Configure the starting address and the stride of frame buffer and FIFO
If there is an image with size 480*480, 24bpp, stored in memory device with starting address is
0x30000000. 24bpp means there are 4 bytes per pixel (real color 3 bytes and dummy data 1
byte). So:
FIFO1SADDR =
0x30000000
FIFO1COLCNT
=
0x01E0
FIFO1ROWCNT
= 0x01E0
FIFO1REALCOLCNT
= 0x01E0
The unit of FIFOCOLCNT is word. So, if the image is 16bpp, FIFO1COLCNT and
FIFO1REALCOLCNT are modified to 0x00F0 because under 16bpp mode, a word contains two
pixel data. When FIFO received the number of data which FIFOCOLCNT specified,
VLINEFINSH interrupt is generated and