Introduction

Understanding pixel formats allow you to understand how images are put together. More specifically,  understanding these pixel formats will help you if you need to extract specific information from the pixels in the image that you receive from the camera. 

Jump to:

Color-processed pixel formats

FOR YCbCr and YUV, see the separate sections for these formats. 

RGB8

Byte 0
7 6 5 4 3 2 1 0
7 0
Byte 1
7 6 5 4 3 2 1 0
7 0
Byte 2
7 6 5 4 3 2 1 0
7 0

RGB12p

Byte 0
7 6 5 4 3 2 1 0
7 0
Byte 1
3 2 1 0 11 10 9 8
7 0
Byte 2
11 10 9 8 7 6 5 4
7 0
Byte 3
7 6 5 4 3 2 1 0
7 0
Byte 4
3 2 1 0 11 10 9 8
7 0
Byte 5
3 2 1 0 7 6 5 4
7 0
Byte 6
7 6 5 4 3 2 1 0
7 0
Byte 7
3 2 1 0 11 10 9 8
7 0
Byte 8
3 2 1 0 7 6 5 4
7 0

RGB16

Byte 0
7 6 5 4 3 2 1 0
7 0
Byte 1
15 14 13 12 11 10 9 8
7 0
Byte 2
7 6 5 4 3 2 1 0
7 0
Byte 3
15 14 13 12 11 10 9 8
7 0
Byte 4
7 6 5 4 3 2 1 0
7 0
Byte 5
15 14 13 12 11 10 9 8
7 0

RGB24

Byte 0
7 6 5 4 3 2 1 0
7 0
Byte 1
15 14 13 12 11 10 9 8
7 0
Byte 2
23 22 21 20 19 18 17 16
7 0
Byte 3
7 6 5 4 3 2 1 0
7 0
Byte 4
15 14 13 12 11 10 9 8
7 0
Byte 5
23 22 21 20 19 18 17 16
7 0
Byte 6
7 6 5 4 3 2 1 0
7 0
Byte 7
15 14 13 12 11 10 9 8
7 0
Byte 8
23 22 21 20 19 18 17 16
7 0

BGR8

Byte 0
7 6 5 4 3 2 1 0
7 0
Byte 1
7 6 5 4 3 2 1 0
7 0
Byte 2
7 6 5 4 3 2 1 0
7 0

BGR12p

Byte 0
7 6 5 4 3 2 1 0
7 0
Byte 1
3 2 1 0 11 10 9 8
7 0
Byte 2
11 10 9 8 7 6 5 4
7 0
Byte 3
7 6 5 4 3 2 1 0
7 0
Byte 4
3 2 1 0 11 10 9 8
7 0
Byte 5
11 10 9 8 7 6 5 4
7 0
Byte 6
7 6 5 4 3 2 1 0
7 0
Byte 7
3 2 1 0 11 10 9 8
7 0
Byte 8
11 10 9 8 7 6 5 4
7 0

BGR16

Byte 0
7 6 5 4 3 2 1 0
7 0
Byte 1
15 14 13 12 11 10 9 8
7 0
Byte 2
7 6 5 4 3 2 1 0
7 0
Byte 3
15 14 13 12 11 10 9 8
7 0
Byte 4
7 6 5 4 3 2 1 0
7 0
Byte 5
15 14 13 12 11 10 9 8
7 0

BGR24

Byte 0
7 6 5 4 3 2 1 0
7 0
Byte 1
15 14 13 12 11 10 9 8
7 0
Byte 2
23 22 21 20 19 18 17 16
7 0
Byte 3
7 6 5 4 3 2 1 0
7 0
Byte 4
15 14 13 12 11 10 9 8
7 0
Byte 5
23 22 21 20 19 18 17 16
7 0
Byte 6
7 6 5 4 3 2 1 0
7 0
Byte 7
15 14 13 12 11 10 9 8
7 0
Byte 8
23 22 21 20 19 18 17 16
7 0

Bayer RG formats

The BayerRG pixel formats are repetitions of a 2×2 grid comprising a top row containing one red (R) and one green (G) filter, and a bottom row containing one green (G) and one blue (B) filter.

Bayer formats are raw pixel formats.

BayerRG8

Byte 0
7 6 5 4 3 2 1 0
7 0
Byte 1
7 6 5 4 3 2 1 0
7 0
Byte 2
7 6 5 4 3 2 1 0
7 0
Byte 3
7 6 5 4 3 2 1 0
7 0
Byte n
7 6 5 4 3 2 1 0
7 0
Byte n+1
7 6 5 4 3 2 1 0
7 0
Byte n+2
7 6 5 4 3 2 1 0
7 0
Byte n+3
7 6 5 4 3 2 1 0
7 0

BayerRG10

Byte 0
7 6 5 4 3 2 1 0
7 0
Byte 1
pad pad pad pad pad pad 9 8
7 0
Byte 2
7 6 5 4 3 2 1 0
7 0
Byte 3
pad pad pad pad pad pad 9 8
7 0
Byte 2n
7 6 5 4 3 2 1 0
7 0
Byte 2n+1
pad pad pad pad pad pad 9 8
7 0
Byte 2n+2
7 6 5 4 3 2 1 0
7 0
Byte 2n+3
pad pad pad pad pad pad 9 8
7 0

BayerRG10p

Byte 0
7 6 5 4 3 2 1 0
7 0
Byte 1
5 4 3 2 1 0 9 8
7 0
Byte 2
3 2 1 0 9 8 7 6
7 0
Byte 3
1 0 9 8 7 6 5 4
7 0
Byte 4
9 8 7 6 5 4 3 2
7 0
Byte 1.25n
7 6 5 4 3 2 1 0
7 0
Byte 1.25n+1
5 4 3 2 1 0 9 8
7 0
Byte 1.25n+2
3 2 1 0 9 8 7 6
7 0
Byte 1.25n+3
1 0 9 8 7 6 5 4
7 0
Byte 1.25n+4
9 8 7 6 5 4 3 2
7 0

BayerRG10Packed

Byte 0
9 8 7 6 5 4 3 2
7 0
Byte 1
pad pad 1 0 pad pad 1 0
7 0
Byte 2
11 10 9 8 7 6 5 4
7 0
Byte 1.5n
9 8 7 6 5 4 3 2
7 0
Byte 1.5n+1
pad pad 1 0 pad pad 1 0
7 0
Byte 1.5n+2
11 10 9 8 7 6 5 4
7 0

BayerRG12

Byte 0
7 6 5 4 3 2 1 0
7 0
Byte 1
pad pad pad pad 11 10 9 8
7 0
Byte 2
7 6 5 4 3 2 1 0
7 0
Byte 3
pad pad pad pad 11 10 9 8
7 0
Byte 2n
7 6 5 4 3 2 1 0
7 0
Byte 2n+1
pad pad pad pad 11 10 9 8
7 0
Byte 2n+2
7 6 5 4 3 2 1 0
7 0
Byte 2n+3
pad pad pad pad 11 10 9 8
7 0

BayerRG12p

Byte 0
7 6 5 4 3 2 1 0
7 0
Byte 1
3 2 1 0 11 10 9 8
7 0
Byte 2
11 10 9 8 7 6 5 4
7 0
Byte 1.5n
7 6 5 4 3 2 1 0
7 0
Byte 1.5n+1
3 2 1 0 11 10 9 8
7 0
Byte 1.5n+2
11 10 9 8 7 6 5 4
7 0

BayerRG12Packed

Byte 0
11 10 9 8 7 6 5 4
7 0
Byte 1
3 2 1 0 3 2 1 0
7 0
Byte 2
11 10 9 8 7 6 5 4
7 0
Byte 1.5n
11 10 9 8 7 6 5 4
7 0
Byte 1.5n+1
3 2 1 0 3 2 1 0
7 0
Byte 1.5n+2
11 10 9 8 7 6 5 4
7 0

BayerRG16

Byte 0
7 6 5 4 3 2 1 0
7 0
Byte 1
15 14 13 12 11 10 9 8
7 0
Byte 2
7 6 5 4 3 2 1 0
7 0
Byte 3
15 14 13 12 11 10 9 8
7 0
Byte 2n
7 6 5 4 3 2 1 0
7 0
Byte 2n+1
15 14 13 12 11 10 9 8
7 0
Byte 2n+2
7 6 5 4 3 2 1 0
7 0
Byte 2n+3
15 14 13 12 11 10 9 8
7 0

BayerRG24

Byte 0
7 6 5 4 3 2 1 0
7 0
Byte 1
15 14 13 12 11 10 9 8
7 0
Byte 2
23 22 21 20 19 18 17 16
7 0
Byte 3
7 6 5 4 3 2 1 0
7 0
Byte 4
15 14 13 12 11 10 9 8
7 0
Byte 5
23 22 21 20 19 18 17 16
7 0
Byte 3n
7 6 5 4 3 2 1 0
7 0
Byte 3n+1
15 14 13 12 11 10 9 8
7 0
Byte 3n+2
23 22 21 20 19 18 17 16
7 0
Byte 3n+3
7 6 5 4 3 2 1 0
7 0
Byte 3n+4
15 14 13 12 11 10 9 8
7 0
Byte 3n+5
23 22 21 20 19 18 17 16
7 0

Dual Bayer formats

The Dual Bayer pixel formats are for the dual extended-head cameras.

In the diagram below, Imager 1 pixels are shown with a regular border around each bit, and Imager 2 pixels are shown with a bold line around each bit.

Imager 1:

1

Imager 2:

1

DualBayerRG8

Byte 0
7 6 5 4 3 2 1 0
7 0
Byte 1
7 6 5 4 3 2 1 0
7 0
Byte 2
7 6 5 4 3 2 1 0
7 0
Byte 3
7 6 5 4 3 2 1 0
7 0
Byte 2n
7 6 5 4 3 2 1 0
7 0
Byte 2n+1
7 6 5 4 3 2 1 0
7 0
Byte 2n+2
7 6 5 4 3 2 1 0
7 0
Byte 2n+3
7 6 5 4 3 2 1 0
7 0

DualBayerRG10

Byte 0
7 6 5 4 3 2 1 0
7 0
Byte 1
pad pad pad pad pad pad 9 8
7 0
Byte 2
7 6 5 4 3 2 1 0
7 0
Byte 3
pad pad pad pad pad pad 9 8
7 0
Byte 4
7 6 5 4 3 2 1 0
7 0
Byte 5
pad pad pad pad pad pad 9 8
7 0
Byte 6
7 6 5 4 3 2 1 0
7 0
Byte 7
pad pad pad pad pad pad 9 8
7 0
Byte 4n
7 6 5 4 3 2 1 0
7 0
Byte 4n+1
pad pad pad pad pad pad 9 8
7 0
Byte 4n+2
7 6 5 4 3 2 1 0
7 0
Byte 4n+3
pad pad pad pad pad pad 9 8
7 0
Byte 4n+4
7 6 5 4 3 2 1 0
7 0
Byte 4n+5
pad pad pad pad pad pad 9 8
7 0
Byte 4n+6
7 6 5 4 3 2 1 0
7 0
Byte 4n+8
pad pad pad pad pad pad 9 8
7 0

DualBayerRG10p

Byte 0
7 6 5 4 3 2 1 0
7 0
Byte 1
5 4 3 2 1 0 9 8
7 0
Byte 2
3 2 1 0 9 8 7 6
7 0
Byte 3
1 0 9 8 7 6 5 4
7 0
Byte 4
9 8 7 6 5 4 3 2
7 0
Byte 2.5n
7 6 5 4 3 2 1 0
7 0
Byte 2.5n+1
5 4 3 2 1 0 9 8
7 0
Byte 2.5n+2
3 2 1 0 9 8 7 6
7 0
Byte 2.5n+3
1 0 9 8 7 6 5 4
7 0
Byte 2.5n+4
9 8 7 6 5 4 3 2
7 0

DualBayerRG10Packed

Byte 0
9 8 7 6 5 4 3 2
7 0
Byte 1
pad pad 1 0 pad pad 1 0
7 0
Byte 2
11 10 9 8 7 6 5 4
7 0
Byte 3
9 8 7 6 5 4 3 2
7 0
Byte 4
pad pad 1 0 pad pad 1 0
7 0
Byte 5
11 10 9 8 7 6 5 4
7 0
Byte 3n
9 8 7 6 5 4 3 2
7 0
Byte 3n+1
pad pad 1 0 pad pad 1 0
7 0
Byte 3n+2
11 10 9 8 7 6 5 4
7 0
Byte 3n+3
9 8 7 6 5 4 3 2
7 0
Byte 3n+4
pad pad 1 0 pad pad 1 0
7 0
Byte 3n+5
11 10 9 8 7 6 5 4
7 0

DualBayerRG12

Byte 0
7 6 5 4 3 2 1 0
7 0
Byte 1
pad pad pad pad 11 10 9 8
7 0
Byte 2
7 6 5 4 3 2 1 0
7 0
Byte 3
pad pad pad pad 11 10 9 8
7 0
Byte 4
7 6 5 4 3 2 1 0
7 0
Byte 5
pad pad pad pad 11 10 9 8
7 0
Byte 6
7 6 5 4 3 2 1 0
7 0
Byte 7
pad pad pad pad 11 10 9 8
7 0
Byte 4n
7 6 5 4 3 2 1 0
7 0
Byte 4n+1
pad pad pad pad 11 10 9 8
7 0
Byte 4n+2
7 6 5 4 3 2 1 0
7 0
Byte 4n+3
pad pad pad pad 11 10 9 8
7 0
Byte 4n+4
7 6 5 4 3 2 1 0
7 0
Byte 4n+5
pad pad pad pad 11 10 9 8
7 0
Byte 4n+6
7 6 5 4 3 2 1 0
7 0
Byte 4n+7
pad pad pad pad 11 10 9 8
7 0

DualBayerRG12p

Byte 0
7 6 5 4 3 2 1 0
7 0
Byte 1
3 2 1 0 11 10 9 8
7 0
Byte 2
11 10 9 8 7 6 5 4
7 0
Byte 3
7 6 5 4 3 2 1 0
7 0
Byte 4
3 2 1 0 11 10 9 8
7 0
Byte 5
11 10 9 8 7 6 5 4
7 0
Byte 3n
7 6 5 4 3 2 1 0
7 0
Byte 3n+1
3 2 1 0 11 10 9 8
7 0
Byte 3n+2
11 10 9 8 7 6 5 4
7 0
Byte 3n+3
7 6 5 4 3 2 1 0
7 0
Byte 3n+4
3 2 1 0 11 10 9 8
7 0
Byte 3n+5
11 10 9 8 7 6 5 4
7 0

DualBayerRG12Packed

Byte 0
11 10 9 8 7 6 5 4
7 0
Byte 1
3 2 1 0 3 2 1 0
7 0
Byte 2
11 10 9 8 7 6 5 4
7 0
Byte 3
11 10 9 8 7 6 5 4
7 0
Byte 4
3 2 1 0 3 2 1 0
7 0
Byte 5
11 10 9 8 7 6 5 4
7 0
Byte 3n
11 10 9 8 7 6 5 4
7 0
Byte 3n+1
3 2 1 0 3 2 1 0
7 0
Byte 3n+2
11 10 9 8 7 6 5 4
7 0
Byte 3n+3
11 10 9 8 7 6 5 4
7 0
Byte 3n+4
3 2 1 0 3 2 1 0
7 0
Byte 3n+5
11 10 9 8 7 6 5 4
7 0

DualBayerRG16

Byte 0
7 6 5 4 3 2 1 0
7 0
Byte 1
15 14 13 12 11 10 9 8
7 0
Byte 2
7 6 5 4 3 2 1 0
7 0
Byte 3
15 14 13 12 11 10 9 8
7 0
Byte 4
7 6 5 4 3 2 1 0
7 0
Byte 5
15 14 13 12 11 10 9 8
7 0
Byte 6
7 6 5 4 3 2 1 0
7 0
Byte 7
15 14 13 12 11 10 9 8
7 0
Byte 4n
7 6 5 4 3 2 1 0
7 0
Byte 4n+1
15 14 13 12 11 10 9 8
7 0
Byte 4n+2
7 6 5 4 3 2 1 0
7 0
Byte 4n+3
15 14 13 12 11 10 9 8
7 0
Byte 4n+4
7 6 5 4 3 2 1 0
7 0
Byte 4n+5
15 14 13 12 11 10 9 8
7 0
Byte 4n+6
7 6 5 4 3 2 1 0
7 0
Byte 4n+7
15 14 13 12 11 10 9 8
7 0

Polarized pixel formats

These pixel formats are for LUCID’s polarized-light cameras. 

PolarizedAngles_0d_45d_90d_135d_RGB8
32 bits per pixel

Byte 0
0 0 0 0 0 0 0 0
7 0
Byte 1
45 45 45 45 45 45 45 45
7 0
Byte 2
90 90 90 90 90 90 90 90
7 0
Byte 3
135 135 135 135 135 135 135 135 (0,0) pixel
7 0
Byte 0
0 0 0 0 0 0 0 0
7 0
Byte 1
45 45 45 45 45 45 45 45
7 0
Byte 2
90 90 90 90 90 90 90 90
7 0
Byte 3
135 135 135 135 135 135 135 135 (1,0) pixel
7 0
Byte 0
0 0 0 0 0 0 0 0
7 0
Byte 1
45 45 45 45 45 45 45 45
7 0
Byte 2
90 90 90 90 90 90 90 90
7 0
Byte 3
135 135 135 135 135 135 135 135 (0,1) pixel
7 0
Byte 0
0 0 0 0 0 0 0 0
7 0
Byte 1
45 45 45 45 45 45 45 45
7 0
Byte 2
90 90 90 90 90 90 90 90
7 0
Byte 3
135 135 135 135 135 135 135 135 (1,1) pixel
7 0

PolarizedAngles_0d_45d_90d_135d_Mono8
32 bits per pixel

Byte 0
0 0 0 0 0 0 0 0
7 0
Byte 1
45 45 45 45 45 45 45 45
7 0
Byte 2
90 90 90 90 90 90 90 90
7 0
Byte 3
135 135 135 135 135 135 135 135
7 0

PolarizedStokes_S0_S2_S1_S3_Mono8
32 bits per pixel

Byte 0
S0 S0 S0 S0 S0 S0 S0 S0
7 0
Byte 1
S1 S1 S1 S1 S1 S1 S1 S1
7 0
Byte 2
S2 S2 S2 S2 S2 S2 S2 S2
7 0
Byte 3
S3 S3 S3 S3 S3 S3 S3 S3
7 0

PolarizedDolpAolp_Mono8
16 bits per pixel

Byte 0
D D D D D D D D
7 0
Byte 1
A A A A A A A A
7 0


PolarizedDolpAolp_Mono12p
24 bits per pixel

11 10 9 8 7 6 5 4 3 2 1 0 AoLP Pixel
11 10 9 8 7 6 5 4 3 2 1 0 DoLP Pixel
Byte 0
7 6 5 4 3 2 1 0
7 0
Byte 1
3 2 1 0 11 10 9 8
7 0
Byte 2
11 10 9 8 7 6 5 4
7 0


PolarizedDolP_Mono8
8 bits per pixel

Byte 0
D D D D D D D D
7 0


PolarizedDolP_Mono12p
12 bits per pixel

11 10 9 8 7 6 5 4 3 2 1 0 DoLP Pixel 1
11 10 9 8 7 6 5 4 3 2 1 0 DoLP Pixel 2
Byte 0
7 6 5 4 3 2 1 0
7 0
Byte 1
3 2 1 0 11 10 9 8
7 0
Byte 2
11 10 9 8 7 6 5 4
7 0


PolarizedAoLP_Mono8
8 bits per pixel

Byte 0
A A A A A A A A
7 0


PolarizedAoLP_Mono12p
12 bits per pixel

11 10 9 8 7 6 5 4 3 2 1 0 AoLP Pixel 1
11 10 9 8 7 6 5 4 3 2 1 0 AoLP Pixel 2
Byte 0
7 6 5 4 3 2 1 0
7 0
Byte 1
3 2 1 0 11 10 9 8
7 0
Byte 2
11 10 9 8 7 6 5 4
7 0

3D pixel formats

These pixels formats are for LUCID’s 3D time-of-flight cameras. There are two types of pixel formats: coordinate data and confidence data. 

  • Confidence: The confidence value represents a measure of how reliable the depth data is. By analyzing the temporal variations of the light pulse signal, a 16-bit integer value per pixel is generated. The higher the confidence value for that pixel, the more reliable the depth measurement.
  • Intensity: The intensity shows the strength of the reflected laser light pulses received from the object.

Coord3D_ABCY16
64 bits per pixel

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 A Data (X-Coordinate)
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 B Data (Y-Coordinate)
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 C Data (Z-Coordinate)
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Y Data (Intensity)
Byte 0
7 6 5 4 3 2 1 0
7 0
Byte 1
15 14 13 12 11 10 9 8
7 0
Byte 2
7 6 5 4 3 2 1 0
7 0
Byte 3
15 14 13 12 11 10 9 8
7 0
Byte 4
7 6 5 4 3 2 1 0
7 0
Byte 5
15 14 13 12 11 10 9 8
7 0
Byte 6
7 6 5 4 3 2 1 0
7 0
Byte 7
15 14 13 12 11 10 9 8
7 0

Coord3D_ABC16
48 bits per pixel

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 A Data (X-Coordinate)
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 B Data (Y-Coordinate)
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 C Data (Z-Coordinate)
Byte 0
7 6 5 4 3 2 1 0
7 0
Byte 1
15 14 13 12 11 10 9 8
7 0
Byte 2
7 6 5 4 3 2 1 0
7 0
Byte 3
15 14 13 12 11 10 9 8
7 0
Byte 4
7 6 5 4 3 2 1 0
7 0
Byte 5
15 14 13 12 11 10 9 8
7 0

Coord3D_C16Y8
16-bit depth map Z plane + 8-bit intensity, unsigned

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 C Data (Z-Coordinate)
7 6 5 4 3 2 1 0 Y Data (Intensity)
Byte 0
15 14 13 12 11 10 9 8
Byte 2
7 6 5 4 3 2 1 0
Byte 1
7 6 5 4 3 2 1 0

Coord3D_CY16
16-bit depth map Z plane + 16-bit intensity, unsigned

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 C Data (Z-Coordinate)
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Y Data (Intensity)
Byte 0
15 14 13 12 11 10 9 8
Byte 2
15 14 13 12 11 10 9 8
Byte 1
7 6 5 4 3 2 1 0
Byte 3
7 6 5 4 3 2 1 0

Confidence16
16 bits per pixel

Byte 0
7 6 5 4 3 2 1 0
7 0
Byte 1
15 14 13 12 11 10 9 8
7 0

Mono pixel formats

Mono pixel formats supported by LUCID cameras are shown below. 

Mono8
8 bits per pixel

Byte 0
7 6 5 4 3 2 1 0
7 0

Mono10
10 bits per pixel

9 8 7 6 5 4 3 2 1 0 Pixel 1
9 8 7 6 5 4 3 2 1 0 Pixel 2
Byte 0
7 6 5 4 3 2 1 0
7 0
Byte 1
pad pad pad pad pad pad 9 8
7 0
Byte 2
7 6 5 4 3 2 1 0
7 0
Byte 3
pad pad pad pad pad pad 9 8
7 0

Mono10p
10 bits per pixel

9 8 7 6 5 4 3 2 1 0 Pixel 1
9 8 7 6 5 4 3 2 1 0 Pixel 2
9 8 7 6 5 4 3 2 1 0 Pixel 3
9 8 7 6 5 4 3 2 1 0 Pixel 4
Byte 0
7 6 5 4 3 2 1 0
7 0
Byte 1
5 4 3 2 1 0 9 8
7 0
Byte 2
3 2 1 0 9 8 7 6
7 0
Byte 3
1 0 9 8 7 6 5 4
7 0
Byte 4
9 8 7 6 5 4 3 2
7 0

Mono10Packed
10 bits per pixel

9 8 7 6 5 4 3 2 1 0 Pixel 1
9 8 7 6 5 4 3 2 1 0 Pixel 2
Byte 0
9 8 7 6 5 4 3 2
7 0
Byte 1
pad pad 1 0 pad pad 1 0
7 0
Byte 2
9 8 7 6 5 4 3 2
7 0

Mono12
12 bits per pixel

11 10 9 8 7 6 5 4 3 2 1 0 Pixel 1
11 10 9 8 7 6 5 4 3 2 1 0 Pixel 2
Byte 0
7 6 5 4 3 2 1 0
7 0
Byte 1
pad pad pad pad 11 10 9 8
7 0
Byte 2
7 6 5 4 3 2 1 0
7 0
Byte 3
pad pad pad pad 11 10 9 8
7 0

Mono12p
12 bits per pixel

11 10 9 8 7 6 5 4 3 2 1 0 Pixel 1
11 10 9 8 7 6 5 4 3 2 1 0 Pixel 2
Byte 0
7 6 5 4 3 2 1 0
7 0
Byte 1
3 2 1 0 11 10 9 8
7 0
Byte 2
11 10 9 8 7 6 5 4
7 0

Mono12Packed
12 bits per pixel

11 10 9 8 7 6 5 4 3 2 1 0 Pixel 1
11 10 9 8 7 6 5 4 3 2 1 0 Pixel 2
Byte 0
11 10 9 8 7 6 5 4
7 0
Byte 1
3 2 1 0 3 2 1 0
7 0
Byte 2
11 10 9 8 7 6 5 4
7 0

Mono16
16 bits per pixel

Byte 0
7 6 5 4 3 2 1 0
7 0
Byte 1
15 14 13 12 11 10 9 8
7 0

Linescan ROI

Linescan ROI

0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 ...
... 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047

Color linescan pixel formats

CFA_RBGG* pixel formats

On the TRT04KG, these raw pixel formats are associated with the two rows of 3.5 μm pixels.

CFA_RBGG8

Byte 0
7 6 5 4 3 2 1 0
7 0
Byte 1
7 6 5 4 3 2 1 0
7 0
Byte 2
7 6 5 4 3 2 1 0
7 0
Byte 3
7 6 5 4 3 2 1 0
7 0
Byte n
7 6 5 4 3 2 1 0
7 0
Byte n+1
7 6 5 4 3 2 1 0
7 0
Byte n+2
7 6 5 4 3 2 1 0
7 0
Byte n+3
7 6 5 4 3 2 1 0
7 0

CFA_RBGG10

Byte 0
7 6 5 4 3 2 1 0
7 0
Byte 1
pad pad pad pad pad pad 9 8
7 0
Byte 2
7 6 5 4 3 2 1 0
7 0
Byte 3
pad pad pad pad pad pad 9 8
7 0
Byte n
7 6 5 4 3 2 1 0
7 0
Byte n+1
pad pad pad pad pad pad 9 8
7 0
Byte n+2
7 6 5 4 3 2 1 0
7 0
Byte n+3
pad pad pad pad pad pad 9 8
7 0

CFA_RBGG10p

Byte 0
7 6 5 4 3 2 1 0
7 0
Byte 1
5 4 3 2 1 0 9 8
7 0
Byte 2
3 2 1 0 9 8 7 6
7 0
Byte 3
1 0 9 8 7 6 5 4
7 0
Byte n+4
9 8 7 6 5 4 3 2
7 0
Byte n
7 6 5 4 3 2 1 0
7 0
Byte n+1
5 4 3 2 1 0 9 8
7 0
Byte n+2
3 2 1 0 9 8 7 6
7 0
Byte n+3
1 0 9 8 7 6 5 4
7 0
Byte n+4
9 8 7 6 5 4 3 2
7 0

CFA_RBGG10Packed

Byte 0
9 8 7 6 5 4 3 2
7 0
Byte 1
pad pad 1 0 pad pad 1 0
7 0
Byte 2
9 8 7 6 5 4 3 2
7 0
Byte m
9 8 7 6 5 4 3 2
7 0
Byte n+1
pad pad 1 0 pad pad 1 0
7 0
Byte n+2
9 8 7 6 5 4 3 2
7 0

CFA_RBGG12

Byte 0
7 6 5 4 3 2 1 0
7 0
Byte 1
pad pad pad pad 11 10 9 8
7 0
Byte 2
7 6 5 4 3 2 1 0
7 0
Byte 3
pad pad pad pad 11 10 9 8
7 0
Byte n
7 6 5 4 3 2 1 0
7 0
Byte n+1
pad pad pad pad 11 10 9 8
7 0
Byte n+2
7 6 5 4 3 2 1 0
7 0
Byte n+3
pad pad pad pad 11 10 9 8
7 0

CFA_RBGG12p

Byte 0
7 6 5 4 3 2 1 0
7 0
Byte 1
3 2 1 0 11 10 9 8
7 0
Byte 2
11 10 9 8 7 6 5 4
7 0
Byte n
7 6 5 4 3 2 1 0
7 0
Byte n+1
3 2 1 0 11 10 9 8
7 0
Byte n+2
11 10 9 8 7 6 5 4
7 0

CFA_RBGG12Packed

Byte 0
11 10 9 8 7 6 5 4
7 0
Byte 1
3 2 1 0 3 2 1 0
7 0
Byte 2
11 10 9 8 7 6 5 4
7 0
Byte n
11 10 9 8 7 6 5 4
7 0
Byte n+1
3 2 1 0 3 2 1 0
7 0
Byte n+2
11 10 9 8 7 6 5 4
7 0

CFA_RBGG16

Byte 0
7 6 5 4 3 2 1 0
7 0
Byte 1
15 14 13 12 11 10 9 8
7 0
Byte 2
7 6 5 4 3 2 1 0
7 0
Byte 3
15 14 13 12 11 10 9 8
7 0
Byte n
7 6 5 4 3 2 1 0
7 0
Byte n+1
15 14 13 12 11 10 9 8
7 0
Byte n+2
7 6 5 4 3 2 1 0
7 0
Byte n+3
15 14 13 12 11 10 9 8
7 0

CFA1by2_RB* pixel formats

On the TRT04KG, these raw pixel formats are associated with a row of 3.5 μm pixels.

CFA1by2_RB8

Byte 0
7 6 5 4 3 2 1 0
7 0
Byte 1
7 6 5 4 3 2 1 0
7 0
Byte 2
7 6 5 4 3 2 1 0
7 0
Byte 3
7 6 5 4 3 2 1 0
7 0

CFA1by2_RB10

Byte 0
7 6 5 4 3 2 1 0
7 0
Byte 1
pad pad pad pad pad pad 9 8
7 0
Byte 2
7 6 5 4 3 2 1 0
7 0
Byte 3
pad pad pad pad pad pad 9 8
7 0

CFA1by2_RB10p

Byte 0
7 6 5 4 3 2 1 0
7 0
Byte 1
5 4 3 2 1 0 9 8
7 0
Byte 2
3 2 1 0 9 8 7 6
7 0
Byte 3
1 0 9 8 7 6 5 4
7 0
Byte n+4
9 8 7 6 5 4 3 2
7 0

CFA1by2_RB10Packed

Byte 0
9 8 7 6 5 4 3 2
7 0
Byte 1
pad pad 1 0 pad pad 1 0
7 0
Byte 2
9 8 7 6 5 4 3 2
7 0

CFA1by2_RB12

Byte 0
7 6 5 4 3 2 1 0
7 0
Byte 1
pad pad pad pad 11 10 9 8
7 0
Byte 2
7 6 5 4 3 2 1 0
7 0
Byte 3
pad pad pad pad 11 10 9 8
7 0

CFA1by2_RB12p

Byte 0
7 6 5 4 3 2 1 0
7 0
Byte 1
3 2 1 0 11 10 9 8
7 0
Byte 2
11 10 9 8 7 6 5 4
7 0

CFA1by2_RB12Packed

Byte 0
11 10 9 8 7 6 5 4
7 0
Byte 1
3 2 1 0 3 2 1 0
7 0
Byte 2
11 10 9 8 7 6 5 4
7 0

CFA1by2_RB16

Byte 0
7 6 5 4 3 2 1 0
7 0
Byte 1
15 14 13 12 11 10 9 8
7 0
Byte 2
7 6 5 4 3 2 1 0
7 0
Byte 3
15 14 13 12 11 10 9 8
7 0

CFA4by1_WBGR* pixel formats

On the TRT04KG, these raw pixel formats are associated with the four rows of 7 μm pixels.

CFA4by1_WBGR8

Byte 0
7 6 5 4 3 2 1 0
7 0
Byte 1
7 6 5 4 3 2 1 0
7 0
Byte 2
7 6 5 4 3 2 1 0
7 0
Byte 3
7 6 5 4 3 2 1 0
7 0
Byte n
7 6 5 4 3 2 1 0
7 0
Byte n+1
7 6 5 4 3 2 1 0
7 0
Byte n+2
7 6 5 4 3 2 1 0
7 0
Byte n+3
7 6 5 4 3 2 1 0
7 0
Byte 2n
7 6 5 4 3 2 1 0
7 0
Byte 2n+1
7 6 5 4 3 2 1 0
7 0
Byte 2n+2
7 6 5 4 3 2 1 0
7 0
Byte 2n+3
7 6 5 4 3 2 1 0
7 0
Byte 3n
7 6 5 4 3 2 1 0
7 0
Byte 3n+1
7 6 5 4 3 2 1 0
7 0
Byte 3n+2
7 6 5 4 3 2 1 0
7 0
Byte 3n+3
7 6 5 4 3 2 1 0
7 0

CFA4by1_WBGR10

Byte 0
7 6 5 4 3 2 1 0
7 0
Byte 1
pad pad pad pad pad pad 9 8
7 0
Byte 2
7 6 5 4 3 2 1 0
7 0
Byte 3
pad pad pad pad pad pad 9 8
7 0
Byte 2n
7 6 5 4 3 2 1 0
7 0
Byte 2n+1
pad pad pad pad pad pad 9 8
7 0
Byte 2n+2
7 6 5 4 3 2 1 0
7 0
Byte 2n+3
pad pad pad pad pad pad 9 8
7 0
Byte 4n
7 6 5 4 3 2 1 0
7 0
Byte 4n+1
pad pad pad pad pad pad 9 8
7 0
Byte 4n+2
7 6 5 4 3 2 1 0
7 0
Byte 4n+3
pad pad pad pad pad pad 9 8
7 0
Byte 6n
7 6 5 4 3 2 1 0
7 0
Byte 6n+1
pad pad pad pad pad pad 9 8
7 0
Byte 6n+2
7 6 5 4 3 2 1 0
7 0
Byte 6n+3
pad pad pad pad pad pad 9 8
7 0

CFA4by1_WBGR10p

Byte 0
7 6 5 4 3 2 1 0
7 0
Byte 1
5 4 3 2 1 0 9 8
7 0
Byte 2
3 2 1 0 9 8 7 6
7 0
Byte 3
1 0 9 8 7 6 5 4
7 0
Byte 4
9 8 7 6 5 4 3 2
7 0
Byte 1.25n
7 6 5 4 3 2 1 0
7 0
Byte 1.25n+1
5 4 3 2 1 0 9 8
7 0
Byte 1.25n+2
3 2 1 0 9 8 7 6
7 0
Byte 1.25n+3
1 0 9 8 7 6 5 4
7 0
Byte 1.25n+4
9 8 7 6 5 4 3 2
7 0
Byte 2.5n
7 6 5 4 3 2 1 0
7 0
Byte 2.5n+1
5 4 3 2 1 0 9 8
7 0
Byte 2.5n+2
3 2 1 0 9 8 7 6
7 0
Byte 2.5n+3
1 0 9 8 7 6 5 4
7 0
Byte 2.5n+4
9 8 7 6 5 4 3 2
7 0
Byte 3.75n
7 6 5 4 3 2 1 0
7 0
Byte 3.75n+1
5 4 3 2 1 0 9 8
7 0
Byte 3.75n+2
3 2 1 0 9 8 7 6
7 0
Byte 3.75n+3
1 0 9 8 7 6 5 4
7 0
Byte 3.75n+4
9 8 7 6 5 4 3 2
7 0

CFA4by1_WBGR10Packed

Byte 0
9 8 7 6 5 4 3 2
7 0
Byte 1
pad pad 1 0 pad pad 1 0
7 0
Byte 2
9 8 7 6 5 4 3 2
7 0
Byte 1.5n
9 8 7 6 5 4 3 2
7 0
Byte 1.5n+1
pad pad 1 0 pad pad 1 0
7 0
Byte 1.5n+2
9 8 7 6 5 4 3 2
7 0
Byte 3n
9 8 7 6 5 4 3 2
7 0
Byte 3n+1
pad pad 1 0 pad pad 1 0
7 0
Byte 3n+2
9 8 7 6 5 4 3 2
7 0
Byte 4.5n
9 8 7 6 5 4 3 2
7 0
Byte 4.5n+1
pad pad 1 0 pad pad 1 0
7 0
Byte 4.5n+2
9 8 7 6 5 4 3 2
7 0

CFA4by1_WBGR12

Byte 0
7 6 5 4 3 2 1 0
7 0
Byte 1
pad pad pad pad 11 10 9 8
7 0
Byte 2
7 6 5 4 3 2 1 0
7 0
Byte 3
pad pad pad pad 11 10 9 8
7 0
Byte 2n
7 6 5 4 3 2 1 0
7 0
2n+1
pad pad pad pad 11 10 9 8
7 0
Byte 2n+2
7 6 5 4 3 2 1 0
7 0
Byte 2n+3
pad pad pad pad 11 10 9 8
7 0
Byte 4n
7 6 5 4 3 2 1 0
7 0
4n+1
pad pad pad pad 11 10 9 8
7 0
Byte 4n+2
7 6 5 4 3 2 1 0
7 0
Byte 4n+3
pad pad pad pad 11 10 9 8
7 0
Byte 6n
7 6 5 4 3 2 1 0
7 0
6n+1
pad pad pad pad 11 10 9 8
7 0
Byte 6n+2
7 6 5 4 3 2 1 0
7 0
Byte 6n+3
pad pad pad pad 11 10 9 8
7 0

CFA4by1_WBGR12p

Byte 0
7 6 5 4 3 2 1 0
7 0
Byte 1
3 2 1 0 11 10 9 8
7 0
Byte 2
11 10 9 8 7 6 5 4
7 0
Byte 1.5n
7 6 5 4 3 2 1 0
7 0
Byte 1.5n+1
3 2 1 0 11 10 9 8
7 0
Byte 1.5n+2
11 10 9 8 7 6 5 4
7 0
Byte 3n
7 6 5 4 3 2 1 0
7 0
Byte 3n+1
3 2 1 0 11 10 9 8
7 0
Byte 3n+2
11 10 9 8 7 6 5 4
7 0
Byte 4.5n
7 6 5 4 3 2 1 0
7 0
Byte 4.5n+1
3 2 1 0 11 10 9 8
7 0
Byte 4.5n+2
11 10 9 8 7 6 5 4
7 0

CFA4by1_WBGR12Packed

Byte 0
11 10 9 8 7 6 5 4
7 0
Byte 1
3 2 1 0 3 2 1 0
7 0
Byte 2
11 10 9 8 7 6 5 4
7 0
Byte 1.5n
11 10 9 8 7 6 5 4
7 0
Byte 1.5n+1
3 2 1 0 3 2 1 0
7 0
Byte 1.5n+2
11 10 9 8 7 6 5 4
7 0
Byte 3n
11 10 9 8 7 6 5 4
7 0
Byte 3n+1
3 2 1 0 3 2 1 0
7 0
Byte 3n+2
11 10 9 8 7 6 5 4
7 0
Byte 4.5n
11 10 9 8 7 6 5 4
7 0
Byte 4.5n+1
3 2 1 0 3 2 1 0
7 0
Byte 4.5n+2
11 10 9 8 7 6 5 4
7 0

CFA4by1_WBGR16

Byte 0
7 6 5 4 3 2 1 0
7 0
Byte 1
15 14 13 12 11 10 9 8
7 0
Byte 2
7 6 5 4 3 2 1 0
7 0
Byte 3
15 14 13 12 11 10 9 8
7 0
Byte 2n
7 6 5 4 3 2 1 0
7 0
Byte 2n+1
15 14 13 12 11 10 9 8
7 0
Byte 2n+2
7 6 5 4 3 2 1 0
7 0
Byte 2n+3
15 14 13 12 11 10 9 8
7 0
Byte 4n
7 6 5 4 3 2 1 0
7 0
Byte 4n+1
15 14 13 12 11 10 9 8
7 0
Byte 4n+2
7 6 5 4 3 2 1 0
7 0
Byte 4n+3
15 14 13 12 11 10 9 8
7 0
Byte 6n
7 6 5 4 3 2 1 0
7 0
Byte 6n+1
15 14 13 12 11 10 9 8
7 0
Byte 6n+2
7 6 5 4 3 2 1 0
7 0
Byte 6n+3
15 14 13 12 11 10 9 8
7 0

YCbCr Pixel Formats: Basic and subsampled

YCbCr Pixel Formats – Basic

All basic (non-subsampled) YCbCr pixel formats capture one luma (Y) component and two chroma components (Cr and Cb). These basic pixel formats are also known as YCbCr444 formats. Note: For YUV8, YUV16, and YUV24, substitute U for Cb (and V for Cr) in the diagrams below.

YCbCr8

7 6 5 4 3 2 1 0 Y   Pixel 1
7 6 5 4 3 2 1 0 Cb
7 6 5 4 3 2 1 0 Cr
Byte 0
7 6 5 4 3 2 1 0 Y   Pixel 1
Byte 1
7 6 5 4 3 2 1 0 Cb
Byte 2
7 6 5 4 3 2 1 0 Cr

YCbCr16

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Y   Pixel 1
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Cb
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Cr
Byte 0 Byte 1
7 6 5 4 3 2 1 0 Y 15 14 13 12 11 10 9 8 Y   Pixel 1
Byte 2 Byte 3
7 6 5 4 3 2 1 0 Cb 15 14 13 12 11 10 9 8 Cb
Byte 4 Byte 5
7 6 5 4 3 2 1 0 Cr 15 14 13 12 11 10 9 8 Cr   Pixel 1

YCbCr24

23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Y   Pixel 1
23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Cb
23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Cr
Byte 0 Byte 1 Byte 2
7 6 5 4 3 2 1 0 Y 15 14 13 12 11 10 9 8 Y 23 22 21 20 19 18 17 16 Y   Pixel 1
Byte 3 Byte 4 Byte 5
7 6 5 4 3 2 1 0 Cb 15 14 13 12 11 10 9 8 Cb 23 22 21 20 19 18 17 16 Cb
Byte 6 Byte 7 Byte 8
7 6 5 4 3 2 1 0 Cr 15 14 13 12 11 10 9 8 Cb 23 22 21 20 19 18 17 16 Cr   Pixel 1

YCbCr Pixel Formats – Subsampled

In subsampled pixel formats, the luma value in each pixel is sampled (read), but the chroma values are not. The purpose of subsampling is to reduce the amount of data. “422” subsampling means that that two samples each of Cb and Cr is recorded for every four samples of luma. Similarly, “411” subsampling means that that one sample each of Cb and Cr is recorded for every four samples of luma. In each subsampling scheme, Y1, Y2, Y3, and Y4 are luma values from pixels 1 to 4 respectively. Cb and Cr are averages calculated from the available pixels. YCbCr422_8_CbYCrY means that “422” subsampling is being used with 8 bits per channel, and the order of bytes is Y, Cb, Y, Cr. Note: The patterns shown below applies to YCbCr formats. To see the equivalent YUV formats, substitute U for Cb (and V for Cr).

YCbCr422_8_CbYCrY

7 6 5 4 3 2 1 0 Y   Pixel 1
7 6 5 4 3 2 1 0 Cb
7 6 5 4 3 2 1 0 Cr
7 6 5 4 3 2 1 0 Y   Pixel 2
7 6 5 4 3 2 1 0 Cb
7 6 5 4 3 2 1 0 Cr
Byte 0
7 6 5 4 3 2 1 0 Cb   Pixel 1
Byte 1
7 6 5 4 3 2 1 0 Y
Byte 2
7 6 5 4 3 2 1 0 Cr
Byte 3
7 6 5 4 3 2 1 0 Y

YCbCr422_16_CbYCrY

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Y   Pixel 1
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Cb
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Cr
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Y   Pixel 2
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Cb
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Cr
Byte 0 Byte 1
7 6 5 4 3 2 1 0 Cb 15 14 13 12 11 10 9 8 Cb   Pixel 1
Byte 2 Byte 3
7 6 5 4 3 2 1 0 Y 15 14 13 12 11 10 9 8 Y
Byte 4 Byte 5
7 6 5 4 3 2 1 0 Cr 15 14 13 12 11 10 9 8 Cr   Pixel 1
Byte 6 Byte 7
7 6 5 4 3 2 1 0 Y 15 14 13 12 11 10 9 8 Y   Pixel 1

YCbCr422_24_CbYCrY

23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Y   Pixel 1
23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Cb
23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Cr
23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Y   Pixel 2
23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Cb
23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Cr
Byte 0 Byte 1 Byte 2
7 6 5 4 3 2 1 0 Cb 15 14 13 12 11 10 9 8 Cb 23 22 21 20 19 18 17 16 Cb   Pixel 1
Byte 3 Byte 4 Byte 5
7 6 5 4 3 2 1 0 Y 15 14 13 12 11 10 9 8 Y 23 22 21 20 19 18 17 16 Y
Byte 6 Byte 7 Byte 8
7 6 5 4 3 2 1 0 Cr 15 14 13 12 11 10 9 8 Cr 23 22 21 20 19 18 17 16 Cr   Pixel 1
Byte 9 Byte 10 Byte 11
7 6 5 4 3 2 1 0 Y 15 14 13 12 11 10 9 8 Y 23 22 21 20 19 18 17 16 Y   Pixel 1

YCbCr411_8_CbYYCrYY 

7 6 5 4 3 2 1 0 Y   Pixel 1
7 6 5 4 3 2 1 0 Cb
7 6 5 4 3 2 1 0 Cr
7 6 5 4 3 2 1 0 Y   Pixel 2
7 6 5 4 3 2 1 0 Cb
7 6 5 4 3 2 1 0 Cr
7 6 5 4 3 2 1 0 Y   Pixel 3
7 6 5 4 3 2 1 0 Cb
7 6 5 4 3 2 1 0 Cr
7 6 5 4 3 2 1 0 Y   Pixel 4
7 6 5 4 3 2 1 0 Cb
7 6 5 4 3 2 1 0 Cr
Byte 0
7 6 5 4 3 2 1 0 Cb   Pixel 1
Byte 1
7 6 5 4 3 2 1 0 Y1
Byte 2
7 6 5 4 3 2 1 0 Y2
Byte 3
7 6 5 4 3 2 1 0 Cr
Byte 4
7 6 5 4 3 2 1 0 Y3
Byte 5
7 6 5 4 3 2 1 0 Y4

YCbCr411_16_CbYYCrYY

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Y   Pixel 1
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Cb
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Cr
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Y   Pixel 2
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Cb
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Cr
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Y   Pixel 3
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Cb
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Cr
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Y   Pixel 4
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Cb
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Cr
Byte 0 Byte 1
7 6 5 4 3 2 1 0 Cb 15 14 13 12 11 10 9 8 Cb   Pixel 1
Byte 2 Byte 3
7 6 5 4 3 2 1 0 Y1 15 14 13 12 11 10 9 8 Y1
Byte 4 Byte 5
7 6 5 4 3 2 1 0 Y2 15 14 13 12 11 10 9 8 Y2   Pixel 1
Byte 6 Byte 7
7 6 5 4 3 2 1 0 Cr 15 14 13 12 11 10 9 8 Cr   Pixel 1
Byte 8 Byte 9
7 6 5 4 3 2 1 0 Y3 15 14 13 12 11 10 9 8 Y3   Pixel 1
Byte 10 Byte 11
7 6 5 4 3 2 1 0 Y4 15 14 13 12 11 10 9 8 Y4   Pixel 1

YCbCr411_24_CbYYCrYY

23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Y   Pixel 1
23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Cb
23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Cr
23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Y   Pixel 2
23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Cb
23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Cr
23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Y   Pixel 3
23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Cb
23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Cr
23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Y   Pixel 4
23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Cb
23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Cr
Byte 0 Byte 1 Byte 2
7 6 5 4 3 2 1 0 Cb 15 14 13 12 11 10 9 8 Cb 23 22 21 20 19 18 17 16 Cb   Pixel 1
Byte 3 Byte 4 Byte 5
7 6 5 4 3 2 1 0 Y1 15 14 13 12 11 10 9 8 Y1 23 22 21 20 19 18 17 16 Y1
Byte 6 Byte 7 Byte 8
7 6 5 4 3 2 1 0 Y2 15 14 13 12 11 10 9 8 Y2 23 22 21 20 19 18 17 16 Y2   Pixel 1
Byte 9 Byte 10 Byte 11
7 6 5 4 3 2 1 0 Cr 15 14 13 12 11 10 9 8 Cr 23 22 21 20 19 18 17 16 Cr   Pixel 1
Byte 12 Byte 13 Byte 14
7 6 5 4 3 2 1 0 Y3 15 14 13 12 11 10 9 8 Y3 23 22 21 20 19 18 17 16 Y3   Pixel 1
Byte 15 Byte 16 Byte 17
7 6 5 4 3 2 1 0 Y4 15 14 13 12 11 10 9 8 Y4 23 22 21 20 19 18 17 16 Y4   Pixel 1