S3C2440A RISC MICROPROCESSOR CAMERA INTERFACE
23-7
MEMORY STORING METHOD
The little-endian method in codec path is used to store in the frame memory. The pixels are stored from LSB to
MSB side. AHB bus carries 32-bit word data. So, CAMIF makes each of the Y-Cb-Cr words in little-endian style.
For preview path, two different formats exist. One pixel (Color 1 pixel) is one word for RGB 24-bit format.
Otherwise, two pixels are one word for RGB 16-bit format. Please refer the following figure.
Camera
Interface
Y frame memory
PCLK
DATA
ITU-601/656 YCbCr
4:2:2 8-bit input timing
Cb frame memory
Cr frame memory
Little endian method
time
Y1 Cb1 Y2 Cr1 Y3 Cb2 Y4 Cr2
Y4 Y3 Y2 Y1 Y8 Y7 Y6 Y5
Cb4 Cb3 Cb2 Cb1 Cb8 Cb7 Cb6 Cb5
Little endian method
Cr4 Cr3 Cr2 Cr1 Cr8 Cr7 Cr6 Cr5
Little endian method
RGB frame memory
(24-bit)
RGB1 RGB2 RGB3 RGB4 RGB5 RGB6 RGB7 RGB8
RGB frame memory
(16-bit)
RGB2/1 RGB4/3 RGB6/5 RGB8/7 RGB10/9 RGB12/11 RGB14/13 RGB16/15
32-bit
R G B
2
32-bit
1
R 5 G 6 B 5
16-bit
Figure 23-7 Memory Storing Style