camera_bayerformat_t

Updated: May 06, 2022

The Bayer array macro-pixel format

Synopsis:

#include <camera/camera_api.h>
typedef enum {
    CAMERA_BAYERFORMAT_UNSPECIFIED,
    CAMERA_BAYERFORMAT_GRBG,
    CAMERA_BAYERFORMAT_RGGB,
    CAMERA_BAYERFORMAT_BGGR,
    CAMERA_BAYERFORMAT_GBRG
} camera_bayerformat_t;

Data:

CAMERA_BAYERFORMAT_UNSPECIFIED
Camera Bayer array macro-pixel format is unknown or unspecified.
CAMERA_BAYERFORMAT_GRBG
Camera Bayer array macro-pixel format is:
  G R
  B G
CAMERA_BAYERFORMAT_RGGB
Camera Bayer array macro-pixel format is:
  R G
  G B
CAMERA_BAYERFORMAT_BGGR
Camera Bayer array macro-pixel format is:
  B G
  G R
CAMERA_BAYERFORMAT_GBRG
Camera Bayer array macro-pixel format is:
  G B
  R G

Library:

libcamapi

Description:

For more information about the Bayer frame format, see camera_frame_bayer_t.