-
Notifications
You must be signed in to change notification settings - Fork 61
/
rgb.txt
45 lines (37 loc) · 2.32 KB
/
rgb.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
Just to document the convertion between rgb24 and planar rgb..
R0 G0 B0 R1 G1 B1 R2 G2 B2 R3 G3 B3 R4 G4 B4 R5
G5 B5 R6 G6 B6 R7 G7 B7 R8 G8 B8 R9 G9 B9 R10 G10
B10 R11 G11 B11 R12 G12 B12 R13 G13 B13 R14 G14 B14 R15 G15 B15
R16 G16 B16 R17 G17 B17 R18 G18 B18 R19 G19 B19 R20 G20 B20 R21
G21 B21 R22 G22 B22 R23 G23 B23 R24 G24 B24 R25 G25 B25 R26 G26
B26 R27 G27 B27 R28 G28 B28 R29 G29 B29 R30 G30 B30 R31 G31 B31
R0 R16 G0 G16 B0 B16 R1 R17 G1 G17 B1 B17 R2 R18 G2 G18
B2 B18 R3 R19 G3 G19 B3 B19 R4 R20 G4 G20 B4 B20 R5 R21
G5 G21 B5 B21 R6 R22 G6 G22 B6 B22 R7 R23 G7 G23 B7 B23
R8 R24 G8 G24 B8 B24 R9 R25 G9 G25 B9 B25 R10 R26 G10 G26
B10 B26 R11 R27 G11 G27 B11 B27 R12 R28 G12 G28 B12 B28 R13 R29
G13 G29 B13 B29 R14 R30 G14 G30 B14 B30 R15 R31 G15 G31 B15 B31
R0 R8 R16 R24 G0 G8 G16 G24 B0 B8 B16 B24 R1 R9 R17 R25
G1 G9 G17 G25 B1 B9 B17 B25 R2 R10 R18 R26 G2 G10 G18 G26
B2 B10 B18 B26 R3 R11 R19 R27 G3 G11 G19 G27 B3 B11 B19 B27
R4 R12 R20 R28 G4 G12 G20 G28 B4 B12 B20 B28 R5 R13 R21 R29
G5 G13 G21 G29 B5 B13 B21 B29 R6 R14 R22 R30 G6 G14 G22 G30
B6 B14 B22 B30 R7 R15 R23 R31 G7 G15 G23 G31 B7 B15 B23 B31
R0 R4 R8 R12 R16 R20 R24 R28 G0 G4 G8 G12 G16 G20 G24 G28
B0 B4 B8 B12 B16 B20 B24 B28 R1 R5 R9 R13 R17 R21 R25 R29
G1 G5 G9 G13 G17 G21 G25 G29 B1 B5 B9 B13 B17 B21 B25 B29
R2 R6 R10 R14 R18 R22 R26 R30 G2 G6 G10 G14 G18 G22 G26 G30
B2 B6 B10 B14 B18 B22 B26 B30 R3 R7 R11 R15 R19 R23 R27 R31
G3 G7 G11 G15 G19 G23 G27 G31 B3 B7 B11 B15 B19 B23 B27 B31
R0 R2 R4 R6 R8 R10 R12 R14 R16 R18 R20 R22 R24 R26 R28 R30
G0 G2 G4 G6 G8 G10 G12 G14 G16 G18 G20 G22 G24 G26 G28 G30
B0 B2 B4 B6 B8 B10 B12 B14 B16 B18 B20 B22 B24 B26 B28 B30
R1 R3 R5 R7 R9 R11 R13 R15 R17 R19 R21 R23 R25 R27 R29 R31
G1 G3 G5 G7 G9 G11 G13 G15 G17 G19 G21 G23 G25 G27 G29 G31
B1 B3 B5 B7 B9 B11 B13 B15 B17 B19 B21 B23 B25 B27 B29 B31
R0 R1 R2 R3 R4 R5 R6 R7 R8 R9 R10 R11 R12 R13 R14 R15
R16 R17 R18 R19 R20 R21 R22 R23 R24 R25 R26 R27 R28 R29 R30 R31
G0 G1 G2 G3 G4 G5 G6 G7 G8 G9 G10 G11 G12 G13 G14 G15
G16 G17 G18 G19 G20 G21 G22 G23 G24 G25 G26 G27 G28 G29 G30 G31
B0 B1 B2 B3 B4 B5 B6 B7 B8 B9 B10 B11 B12 B13 B14 B15
B16 B17 B18 B19 B20 B21 B22 B23 B24 B25 B26 B27 B28 B29 B30 B31