The frame types identifiers for an image buffer
#include <camera/camera_api.h>
typedef enum {
CAMERA_FRAMETYPE_UNSPECIFIED = 0,
CAMERA_FRAMETYPE_NV12,
CAMERA_FRAMETYPE_RGB8888,
CAMERA_FRAMETYPE_RGB888,
CAMERA_FRAMETYPE_JPEG,
CAMERA_FRAMETYPE_GRAY8,
CAMERA_FRAMETYPE_METADATA,
CAMERA_FRAMETYPE_BAYER,
CAMERA_FRAMETYPE_CBYCRY,
CAMERA_FRAMETYPE_COMPRESSEDVIDEO,
CAMERA_FRAMETYPE_COMPRESSEDAUDIO,
CAMERA_FRAMETYPE_RGB565,
CAMERA_FRAMETYPE_PRIVATE,
CAMERA_FRAMETYPE_YCBCR420P,
CAMERA_FRAMETYPE_YCBYCR,
CAMERA_FRAMETYPE_YCRYCB,
CAMERA_FRAMETYPE_CRYCBY,
CAMERA_FRAMETYPE_ROI,
CAMERA_FRAMETYPE_NUMFRAMETYPES
} camera_frametype_t;
The camera_frame_nv12_t structure represents this frame type.
The camera_frame_rgb8888_t structure represents this frame type.
The camera_frame_rgb888_t structure represents this frame type.
Do not use.
The camera_frame_gray8_t structure represents this frame type.
The camera_frame_meta_t structure represents this frame type.
The camera_frame_bayer_t structure represents this frame type.
The camera_frame_cbycry_t structure represents this frame type.
The camera_frame_compressedvideo_t structure represents this frame type.
The camera_frame_compressedaudio_t structure represents this frame type.
The camera_frame_rgb565_t structure represents this frame type.
Do not use.
The camera_frame_ycbcr420p_t structure represents this frame type.
The camera_frame_ycbycr_t structure represents this frame type.
The camera_frame_ycrycb_t structure represents this frame type.
The camera_frame_crycby_t structure represents this frame type.
The camera_frame_roi_t structure represents this frame type.
Frame types are used to distinguish between frame descriptors within a camera_buffer_t structure.