Video for Linux Two API Specification: Revision 0.24
Prev |  | Next

# V4L2_PIX_FMT_SBGGR8 ('BA81')

## Name

`V4L2_PIX_FMT_SBGGR8` -- Bayer RGB format

## Description

This is commonly the native format of digital cameras, reflecting the arrangement of sensors on the CCD device. Only one red, green or blue value is given for each pixel. Missing components must be interpolated from neighbouring pixels. From left to right the first row consists of a blue and green value, the second row of a green and red value. This scheme repeats to the right and down for every two columns and rows.

Example 2-1. `V4L2_PIX_FMT_SBGGR8` 4 × 4 pixel image

Byte Order. Each cell is one byte.

start + 0: | B00 | G01 | B02 | G03
start + 4: | G10 | R11 | G12 | R13
start + 8: | B20 | G21 | B22 | G23
start + 12: | G30 | R31 | G32 | R33

Prev | Home | Next
Packed RGB formats | Up | V4L2_PIX_FMT_SBGGR16 ('BA82')