camera_frametype_t
The frame types identifiers for an image buffer.
Synopsis:
#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_NUMFRAMETYPES
} camera_frametype_t;
Data:
- CAMERA_FRAMETYPE_UNSPECIFIED
- The frame type has no associated format, recognized format, or is unformatted.
- CAMERA_FRAMETYPE_NV12
- The frame type is NV12 formatted data.
-
The camera_frame_nv12_t structure represents this frame type.
- CAMERA_FRAMETYPE_RGB8888
- The frame type is 32-bit ARBG data.
-
The camera_frame_rgb8888_t structure represents this frame type.
- CAMERA_FRAMETYPE_RGB888
- The frame type is 24-bit RGB data.
-
The camera_frame_rgb888_t structure represents this frame type.
- CAMERA_FRAMETYPE_JPEG
- The frame type is JPEG image data.
-
The camera_frame_jpeg_t structure represents this frame type.
- CAMERA_FRAMETYPE_GRAY8
- The frame type is 8-bit gray-scale image data.
-
The camera_frame_gray8_t structure represents this frame type.
- CAMERA_FRAMETYPE_METADATA
- The frame type is metadata.
-
The camera_frame_meta_t structure represents this frame type.
- CAMERA_FRAMETYPE_BAYER
- The image is a 10-bit Bayer frame type.
-
This frame type contains uncompressed Bayer image data. The camera_frame_bayer_t structure represents this frame type.
- CAMERA_FRAMETYPE_CBYCRY
- The image is a YCbCr 4:2:2 packed frame type.
-
This frame type contains an uncompressed cbycry format. The camera_frame_cbycry_t structure represents this frame type.
- CAMERA_FRAMETYPE_COMPRESSEDVIDEO
- The frame consists of compressed video data.
-
The camera_frame_compressedvideo_t structure represents this frame type.
- CAMERA_FRAMETYPE_COMPRESSEDAUDIO
- The frame consists of compressed audio data.
-
The camera_frame_compressedaudio_t structure represents this frame type.
- CAMERA_FRAMETYPE_NUMFRAMETYPES
- An end-of-list identifier.
Library:
libcamapiDescription:
Frame types are used to distinguish between frame descriptors within a camera_buffer_t structure.