Samsung S3C2440A User Manual
Page 493

S3C2440A RISC MICROPROCESSOR
CAMERA INTERFACE
23-15
CODEC TARGET FORMAT REGISTER
Register Address
R/W
Description
Reset
Value
CICOTRGFMT
0x4F000048
RW
Target image format of codec DMA
0
CICOTRGFMT Bit
Description
Initial
State
In422_Co [31]
0 = YCbCr 4:2:0 codec scaler input image format. In this case,
horizontal line decimation is performed before codec scaler.
(normally used)
1 = YCbCr 4:2:2 codec scaler input image format.
0
Out422_Co [30]
0 = YCbCr 4:2:0 codec scaler output image format. This mode is
mainly for MPEG-4 codec & H/W JPEG DCT (normally used)
1 = YCbCr 4:2:2 codec scaler output image format. This mode is
mainly for S/W JPEG.
0
TargetHsize_Co [28:16]
Horizontal pixel number of target image for codec DMA
(multiple of 16)
0
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
TargetVsize_Co
[12:0]
Vertical pixel number of target image for codec DMA
0
vG
TG
TG
X_WNG
Figure 23-11 Image Mirror and Rotation