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_NUMFRAMETYPES   
} camera_frametype_t;

Data:

CAMERA_FRAMETYPE_UNSPECIFIED
Indicates that the frame type has no associated format, recognized format, or is unformatted.
CAMERA_FRAMETYPE_NV12
Indicates that the frame type is NV12 formatted data.

The camera_frame_nv12_t structure represents this frame type.

CAMERA_FRAMETYPE_RGB8888
Indicates that the frame type is 32-bit ARBG data.

The camera_frame_rgb8888_t structure represents this frame type.

CAMERA_FRAMETYPE_RGB888
Indicates that the frame type is 24-bit RGB data.

The camera_frame_rgb888_t structure represents this frame type.

CAMERA_FRAMETYPE_JPEG
Indicates that the frame type is JPEG image data.

The camera_frame_jpeg_t structure represents this frame type.

CAMERA_FRAMETYPE_GRAY8
Indicates that the frame type is 8-bit gray-scale image data.

The camera_frame_gray8_t structure represents this frame type.

CAMERA_FRAMETYPE_METADATA
Indicates that the frame type is metadata.

The camera_frame_meta_t structure represents this frame type.

CAMERA_FRAMETYPE_BAYER
Indicates that 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
Indicates that the image is 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_NUMFRAMETYPES
An end-of-list identifier.

Library:

libcamapi

Description:

Frame types are used to distinguish between frame descriptors within a camera_buffer_t structure.