camera_bayerformat_t

The Bayer array pixel component 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 format is unknown or unspecified.
CAMERA_BAYERFORMAT_GRBG
Cameras that use Bayer array format as follows: G R B G.
CAMERA_BAYERFORMAT_RGGB
Cameras that use Bayer array format as follows: R G G B.
CAMERA_BAYERFORMAT_BGGR
Cameras that use Bayer array format as follows: B G G R.
CAMERA_BAYERFORMAT_GBRG
Cameras that use Bayer array format as follows: G B R G.

Library:

libcamapi

Description:

See camera_frame_bayer_t for details about the Bayer frame format.