S5PC110_UM
12 11BJPEG
12-4
12.5 DESCRIPTION OF SUPPORTED COLOR FORMAT
JPEG supports several color formats during compression/ decompression.
12.5.1 IN COMPRESSION MODE
Before compression starts, raw image data must be in main memory. The raw image data address is specified in
IMGADR register. The raw images are stored in interleaved YCbCr4:2:2 or RGB565 color format as shown in
Figure 12-3
. After compression is complete, result file is baseline JPEG in YCbCr4:2:0 or YCbCr4:2:2 format with
interleaved scan. Therefore color space conversion (RGB
Æ
YCbCr) and decimation of chrominance component is
necessary. JPEG IP has its own color space converter. COEF1, COEF2 and COEF3 register sets the coefficients
of color space converter. Decimation of JPEG IP is downsampling process. For example, decimation from
YCbCr4:2:2 to YCbCr4:2:0 needs 2:1 vertical downsampling for Cb and Cr component as shown in
Figure 12-4
.
12.5.2 IN DECOMPRESSION MODE
In decompression mode, input file is baseline JPEG in YCbCr4:4:4, YCbCr4:2:2, YCbCr4:2:0, gray with
interleaved scan and output raw image has interleaved YCbCr4:2:2 or YCbCr4:2:0 formats. Therefore for input file
with YCbCr format, decimation and interpolation process is done during decompression. In this case, decimation
is same as downsampling and interpolation is sample-and-hold (repetition of recent value) process. Each
operation is described in
Figure 12-3.
The result of gray format JPEG file input is YCbCr4:2:2 or YCbCr4:2:0 raw
images. This raw images have Y component, which is result of decompression, and Cb and Cr component with
“128” value.
31
Cr
0
Y
1
Cb
0
Y
0
0
R
1
G
1
B
1
R
0
G
0
31
0
(a)
(b)
B
0
Figure 12-3 Raw Image Format in Memory (a) YCbCr4:2:2 (b) RGB5:6:5
C
11
C
12
C
13
C
14
C
21
C
22
C
23
C
24
C
31
C
32
C
33
C
34
C
41
C
42
C
43
C
44
C
11
C
12
C
13
C
14
C
31
C
32
C
33
C
34
C
11
C
12
C
13
C
14
C
31
C
32
C
33
C
34
C
11
C
12
C
13
C
14
C
31
C
32
C
33
C
34
Decimation
Interpolation
Figure 12-4 Decimation and 1:2 Interpolation in Vertical Direction
Summary of Contents for S5PC110
Page 4: ...Section 1 OVERVIEW ...
Page 28: ...Section 2 SYSTEM ...
Page 374: ...S5PC110_UM 4 POWER MANAGEMENT 4 14 4 Let DRAMs exit from self refresh mode ...
Page 473: ...S5PC110_UM 6 BOOTING SEQUENCE 6 10 Figure 6 3 Secure Booting Diagram ...
Page 474: ...Section 3 BUS ...
Page 491: ...S5PC110_UM 2 CORESIGHT Figure 2 4 Structure of the Coresight DAP Components 2 8 ...
Page 506: ...Section 4 INTERRUPT ...
Page 537: ...Section 5 MEMORY ...
Page 540: ......
Page 703: ...Section 6 DMA ...
Page 705: ...List of Figures Figure Title Page Number Number Figure 1 1 Two DMA Tops 1 1 ...
Page 737: ...Section 7 TIMER ...
Page 795: ...Section 8 CONNECTIVITY STORAGE ...
Page 883: ...S5PC110_UM 5 USB2 0 HS OTG 5 7 5 6 3 OTG FIFO ADDRESS MAPPING Figure 5 3 OTG FIFO Mapping ...
Page 1100: ...Section 9 MULTIMEDIA ...
Page 1116: ...S5PC110_UM 1 0BDISPLAY CONTROLLER 1 5 Figure 1 2 Block Diagram of the Data Flow ...
Page 1125: ...S5PC110_UM 1 0BDISPLAY CONTROLLER 1 14 1 3 3 2 7 16BPP Display 1555 P1 P2 P3 P4 P5 LCD Panel ...
Page 1145: ...S5PC110_UM 1 0BDISPLAY CONTROLLER 1 34 Figure 1 10 Blending Decision Diagram ...
Page 1149: ...S5PC110_UM 1 0BDISPLAY CONTROLLER 1 38 Figure 1 14 Hue Control Block Diagram ...
Page 1184: ...S5PC110_UM 1 0BDISPLAY CONTROLLER 1 73 ...
Page 1226: ...S5PC110_UM 1 0BDISPLAY CONTROLLER 1 115 ...
Page 1328: ...S5PC110_UM 2 1BCAMERA INTERFACE 2 81 ...
Page 1369: ...S5PC110_UM 4 3BMIPI CSIS 4 2 4 2 BLOCK DIAGRAM Figure 4 1 MIPI CSI System Block Diagram ...
Page 1381: ...S5PC110_UM 4 3BMIPI CSIS 4 14 ...
Page 1431: ...S5PC110_UM 6 5BMULTI FORMAT CODEC 6 39 ...
Page 1471: ...S5PC110_UM 6 5BMULTI FORMAT CODEC 6 79 Figure 6 7 VC1 Parameters ...
Page 1626: ...S5PC110_UM 10 9BHIGH DEFINITION MULTIMEDIA INTERFACE 10 17 Figure 10 10 Channel Status Block ...
Page 1775: ...S5PC110_UM 13 12BG2D 13 6 FIMG 2D FIMG 2D FIMG 2D Figure 13 3 Rotation and Flip Example ...
Page 1798: ...Section 10 AUDIO ETC ...
Page 1803: ...S5PC110_UM 1 AUDIO SUBSYSTEM 1 2 Figure 8 7 Keypad I F Block Diagram 8 8 ...
Page 1951: ...Section 11 SECURITY ...
Page 1954: ...List of Tables Table Title Page Number Number Table 1 1 Security Features of S5PC110 1 2 ...
Page 1964: ...S5PC110_UM 2 ADVANCED CRYPTO ENGINE Figure 2 9 DES Byte Swapping Scheme 2 9 ...
Page 2005: ...Section 12 ETC ...
Page 2039: ...Section 13 SIZE BALL MAP ...