User's Manual

Table Of Contents
S3C2450X RISC MICROPROCESSOR CAMERA INTERFACE
23-15
6.2 WINDOW OPTION REGISTER
Register Address R/W Description Reset Value
CIWDOFST 0x4D80_0004 RW Window offset register 0
SourceHsize
Original Input
Window Cut
: WinHorOfst,WinHorOfst2
: WinVerOfst,WinVerOfst2
TargetHsize_xx
TargetHsize_xx
= TargetHsize_Co or
TargetHsize_Pr
1 2
3
4
3 4
1 2
,
,
Source Vsize
TargetVsize_xx
Figure 23-14. Window Offset Scheme
(WinHorOfst2 & WinVerOfst2 are assigned in the CIWDOFST2 register)
CIWDOFST Bit Description
Initial
State
Change
State
WinOfsEn
[31] 1 = window offset enable
0 = no offset
0 O
ClrOvCoFiY
[30] 1 = clear the overflow indication flag of input CODEC FIFO Y
0 = normal
0 X
Reserved [29:27] 0 X
WinHorOfst
[26:16] Window horizontal offset by pixel unit. (It should be 2’s multiple)
Caution: SourceHsize-WinHorOfst- WinHorOfst2 should be 8’s
multiple.
0 O
ClrOvCoFiCb
[15] 1 = clear the overflow indication flag of input CODEC FIFO Cb
0 = normal
0 X
ClrOvCoFiCr
[14] 1 = clear the overflow indication flag of input CODEC FIFO Cr
0 = normal
0 X
ClrOvPrFiCb
[13] 1 = clear the overflow indication flag of input PREVIEW FIFO Cb
0 = normal
0 X
ClrOvPrFiCr
[12] 1 = clear the overflow indication flag of input PREVIEW FIFO Cr
0 = normal
0 X
Reserved [11] 0 X
WinVerOfst [10:0] Window vertical offset by pixel unit 0 O