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
#include <camera/camera_api.h>
typedef struct camera_buffer_t { 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;
This does not describe the size of the image data pointed to by framebuf. The actual image size must be computed using format-specific fields in the appropriate camera_framedesc_t member.
The timestamp is referenced to the system monotonic clock (CLOCK_MONOTONIC).
The rotation is measured in degrees, clockwise.
Do not use.