camera_buffer_t
The camera buffer structure is used to convey image data between the API and an application and to adequately describe the format of the image data.
Synopsis:
#include <camera/camera_api.h>
typedef struct { camera_frametype_t frametype ; uint64_t framesize ; uint8_t * framebuf ; uint64_t framemetasize ; void * framemeta ; int64_t frametimestamp ; int32_t frameorientation ; uint32_t reserved [4]; camera_framedesc_t framedesc ; }camera_buffer_t;
Since:
BlackBerry 10.0.0
Data:
- camera_frametype_t frametype
- The type of frame descriptor that is used to distinguish between members of the camera_framedesc_t union.
- uint64_t framesize
- The size of the camera_buffer_t structure.
- uint8_t * framebuf
- A pointer to the frame data.
- uint64_t framemetasize
- The size of the associated metadata.
- void * framemeta
- A pointer to the associated metadata.
- int64_t frametimestamp
- The timestamp when the buffer was filled.
- int32_t frameorientation
- The rotation delta from the default device orientation.
- uint32_t reserved[4]
- For internal use.
- camera_framedesc_t framedesc
- The union which describes the geometry of the image data being reported by the framebuf field in this structure.
Library:
libcamapi (For the qcc command, use the -l camapi option to link against this library)Last modified: 2014-06-24