Example - 5.1 English

MIPI CSI-2 Receiver Subsystem Product Guide (PG232)

Document ID
PG232
Release Date
2022-04-26
Version
5.1 English

Pixel mapping for different data types are shown in the following table:

Table 1-5: Pixel Packing for RAW8 Data Type

Bit Position

31

30

29

28

27

26

25

24

23

22

21

20

19

18

17

16

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

RAW8

s7

s6

s5

s4

s3

s2

s1

s0

r7

r6

r5

r4

r3

r2

r1

r0

q7

q6

q5

q4

q3

q2

q1

q0

p7

p6

p5

p4

p3

p2

p1

p0

Notes:

1. p0 to p7 is the 1st pixel bits of RAW8; q0 to q7 is the 2nd pixel bits of RAW8.

Table 1-6: Pixel Packing for RAW10 Data Type

Bit Position

31

30

29

28

27

26

25

24

23

22

21

20

19

18

17

16

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

RAW10

s9

s8

s7

s6

s5

s4

s3

s2

r9

r8

r7

r6

r5

r4

r3

r2

q9

q8

q7

q6

q5

q4

q3

q2

p9

p8

p7

p6

p5

p4

p3

p2

RAW10

v9

v8

v7

v6

v5

v4

v3

v2

u9

u8

u7

u6

u5

u4

u3

u2

t9

t8

t7

t6

t5

t4

t3

t2

s1

s0

r1

r0

q1

q0

p1

p0

RAW10

y9

y8

y7

y6

y5

y4

y3

y2

x9

x8

x7

x6

x5

x4

x3

x2

w1

w0

v1

v0

u1

u0

t1

t0

w9

w8

w7

w6

w5

w4

w3

w2

Notes:

1. In RAW10, MSB 8-bits of 4 pixels are transferred first, followed by LSB 2-bits of each pixel.

Table 1-7: Pixel Packing for RGB888 Data Type

Bit Position

31

30

29

28

27

26

25

24

23

22

21

20

19

18

17

16

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

RGB888

d7

d6

d5

d4

d3

d2

d1

d0

c7

c6

c5

c4

c3

c2

c1

c0

b7

b6

b5

b4

b3

b2

b1

b0

a7

a6

a5

a4

a3

a2

a1

a0

RGB888

h7

h6

h5

h4

h3

h2

h1

h0

g7

g6

g5

g4

g3

g2

g1

g0

f7

f6

f5

f4

f3

f2

f1

f0

e7

e6

e5

e4

e3

e2

e1

e0

Notes:

1. In RGB888, a0 to a7 represents the B component, b0 to b7 represents the G component and c0 to c7 represents the R component.