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_GRAY8, CAMERA_FRAMETYPE_METADATA, CAMERA_FRAMETYPE_BAYER, CAMERA_FRAMETYPE_CBYCRY, CAMERA_FRAMETYPE_COMPRESSEDVIDEO, CAMERA_FRAMETYPE_COMPRESSEDAUDIO, CAMERA_FRAMETYPE_RGB565, CAMERA_FRAMETYPE_YCBCR420P, CAMERA_FRAMETYPE_YCBYCR, CAMERA_FRAMETYPE_YCRYCB, CAMERA_FRAMETYPE_CRYCBY, CAMERA_FRAMETYPE_ROI, CAMERA_FRAMETYPE_BAYER14_RGGB_PADLO16, CAMERA_FRAMETYPE_NV16 = 27, 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.
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.
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.
format = CAMERA_BAYERFORMAT_RGGB packing = 16 bpp = 14 le = false cadence_length = 16 pixels_per_cadence = 1 justification = CAMERA_BAYERJUSTIFY_LEFT_BIT0LSB, Bit: FEDCBA9876543210 FEDCBA9876543210 Scanline n: RRRRRRRRRRRRRR00 GGGGGGGGGGGGGG00 Scanline n+1: GGGGGGGGGGGGGG00 BBBBBBBBBBBBBB00
The camera_frame_nv12_t (both are semiplanar) structure represents this frame type.
Frame types are used to distinguish between frame descriptors within a camera_buffer_t structure.