| Updated: October 28, 2024 |
The frame types for an image buffer
#include <camera/camera_api.h>
typedef enum {
CAMERA_FRAMETYPE_UNSPECIFIED = 0,
CAMERA_FRAMETYPE_NV12 = 1,
CAMERA_FRAMETYPE_RGB8888 = 2,
CAMERA_FRAMETYPE_RGB888 = 3,
CAMERA_FRAMETYPE_GRAY8 = 5,
CAMERA_FRAMETYPE_METADATA = 6,
CAMERA_FRAMETYPE_BAYER = 7,
CAMERA_FRAMETYPE_CBYCRY = 8,
CAMERA_FRAMETYPE_COMPRESSEDVIDEO = 9,
CAMERA_FRAMETYPE_COMPRESSEDAUDIO = 10,
CAMERA_FRAMETYPE_RGB565 = 11,
CAMERA_FRAMETYPE_YCBCR420P = 13,
CAMERA_FRAMETYPE_YCBYCR = 14,
CAMERA_FRAMETYPE_YCRYCB = 15,
CAMERA_FRAMETYPE_CRYCBY = 16,
CAMERA_FRAMETYPE_ROI = 17,
CAMERA_FRAMETYPE_BAYER14_RGGB_PADLO16 = 18,
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 structure represents this frame type.
Frame types are used to distinguish between frame descriptors within a camera_buffer_t structure.