User's Manual

Table Of Contents
S3C2450X RISC MICROPROCESSOR CAMERA INTERFACE
23-23
6.17 CODEC TARGET FORMAT REGISTER
Register Address R/W Description Reset Value
CICOTRGFMT 0x4D80_0048 RW Target image format of codec DMA 0
CICOTRGFMT Bit Description
Initial
State
Change
State
In422_Co
[31] 1 = YCbCr 4:2:2 codec scaler input image format.
0 = YCbCr 4:2:0 codec scaler input image format. In this
case, horizontal line decimation is performed before codec
scaler. (normal)
0 O
Out422_Co
[30] 1 = YCbCr 4:2:2 codec scaler output image format. This
mode is mainly for S/W JPEG.
0 = YCbCr 4:2:0 codec scaler output image format. This
mode is mainly for MPEG-4 codec and H/W JPEG
DCT.(normal)
It must not be set to 0 when In422_Co is set to 0.
0 O
Interleave_Co
[29] 1 = Interleave ON (support image format YCbCr 4:2:2 only)
Y
0
Cb
0
Y
1
Cr
0
Y
2
Cb
1
Y
3
Cr
1……
0 = Interleave OFF
Y
0
Y
1
Y
2
Y
3….
Cb
0
Cb
1….
Cr
0
Cr
1….
0 O
TargetHsize_Co
[28:16] Horizontal pixel number of target image for codec DMA (16’s
multiple)
0 X
FlipMd_Co
[15:14] Image mirror and rotation for codec DMA
00 = Normal
01 = X-axis mirror
10 = Y-axis mirror
11 = 180° rotation
0 O
Reserved [13] 0 X
TargetVsize_Co
[12:0] Vertical pixel number of target image for codec DMA(8’s
multiple when RGB mode is selected)
0 X
TargetHsize_Co and TargetVsize_Co should not be larger than SourceHsize and SourceVsize.
Caution! If TargetVsize_Co value is set to an odd number(N) and output format is YCbCr 4:2:0, The odd
number(N) of Y lines and the (N-1)/2 of Cb, Cr lines are generated.