30-/36/-42-/48-bit RGB planar

Table 1. Beginning-of-line memory layout when ImageFlipX = OFF
Plane Byte offset

n-bit => n-bit

n = {30, 36, 42, 48}

30-bit => 48-bit 36-bit => 48-bit 42-bit => 48-bit
B 0

Bit[3:0]: IIN[4:1]

Bit[5:4]: DIN[2:1]

Bit[7:6]: 00b

Bit[5:0]: 000000b

Bit[7:6]: IIN[2:1]

Bit[3:0]: 0000b

Bit[7:4]: IIN[4:1]

Bit[1:0]: 00b

Bit[5:2]: IIN[4:1]

Bit[7:6]: DIN[2:1]

B 1 00h

Bit[1:0]: IIN[4:3]

Bit[3:2]: DIN[2:1]

Bit[7:4]: 0000b

Bit[1:0]: DIN[2:1]

Bit[7:2]: 000000b

00h
G 0 00h 00h 00h 00h
G 1 00h 00h 00h 00h
R 0 00h 00h 00h 00h
R 1 00h 00h 00h 00h
B 2 Pixel #2 Blue LSB Pixel #2 Blue<<6: LSB Pixel #2 Blue<<4: LSB Pixel #2 Blue<<2: LSB
B 3 Pixel #2 Blue MSB Pixel #2 Blue<<6: MSB Pixel #2 Blue<<4: MSB Pixel #2 Blue<<2: MSB
G 2 Pixel #2 Green LSB Pixel #2 Green<<6: LSB Pixel #2 Green<<4: LSB Pixel #2 Green<<2: LSB
G 3 Pixel #2 Green MSB Pixel #2 Green<<6: MSB Pixel #2 Green<<4: MSB Pixel #2 Green<<2: MSB
R 2 Pixel #2 Red LSB Pixel #2 Red<<6: LSB Pixel #2 Red<<4: LSB Pixel #2 Red<<2: LSB
R 3 Pixel #2 Red MSB Pixel #2 Red<<6: MSB Pixel #2 Red<<4: MSB Pixel #2 Red<<2: MSB
Table 2. End-of-line memory layout when ImageFlipX = ON
Plane Byte offset

n-bit => n-bit

n = {30, 36, 42, 48}

30-bit => 48-bit 36-bit => 48-bit 36-bit => 48-bit
B last-3 Pixel #2 Blue LSB Pixel #2 Blue<<6: LSB Pixel #2 Blue<<4: LSB Pixel #2 Blue<<2: LSB
B last-2 Pixel #2 Blue MSB Pixel #2 Blue<<6: MSB Pixel #2 Blue<<4: MSB Pixel #2 Blue<<2: MSB
G last-3 Pixel #2 Green LSB Pixel #2 Green<<6: LSB Pixel #2 Green<<4: LSB Pixel #2 Green<<2: LSB
G last-2 Pixel #2 Green MSB Pixel #2 Green<<6: MSB Pixel #2 Green<<4: MSB Pixel #2 Green<<2: MSB
R last-3 Pixel #2 Red LSB Pixel #2 Red<<6: LSB Pixel #2 Red<<4: LSB Pixel #2 Red<<2: LSB
R last-2 Pixel #2 Red MSB Pixel #2 Red<<6: MSB Pixel #2 Red<<4: MSB Pixel #2 Red<<2: MSB
B last-1

Bit[3:0]: IIN[4:1]

Bit[5:4]: DIN[2:1]

Bit[7:6]: 00b

Bit[5:0]: 000000b

Bit[7:6]: IIN[2:1]

Bit[3:0]: 0000b

Bit[7:4]: IIN[4:1]

Bit[1:0]: 00b

Bit[5:2]: IIN[4:1]

Bit[7:6]: DIN[2:1]

B last 00h

Bit[1:0]: IIN[4:3]

Bit[3:2]: DIN[2:1]

Bit[7:4]: 0000b

Bit[1:0]: DIN[2:1]

Bit[7:2]: 000000b

00h
G 0 00h 00h 00h 00h
G 1 00h 00h 00h 00h
R 0 00h 00h 00h 00h
R 1 00h 00h 00h 00h
Note: last= address offset of the last byte of the rightmost active pixel of the line