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_RGB565   
      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_RGB565
The frame type is 16-bit RGB data (5-bit Red Component, 6-bit Green Component, 5-bit Blue Component).

The camera_frame_rgb565_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.

Last modified: 2013-12-21

comments powered by Disqus