camera_buffer_list_t

This structure is used to keep information about buffers, which will be used for preview

Synopsis:

#include <camera/external_camera_api.h>
typedef struct camera_buffer_list_t {
    uint32_t num;
    off_t* physical_addrs;
    void** virtual_addrs;
    screen_buffer_t* screen_addrs;
    uint64_t* sizes;
    int* widths;
    int* heights;
} camera_buffer_list_t;

Data:

uint32_t num
The number of buffers in list.
off_t* physical_addrs
The list of buffer's physical addresses.
void** virtual_addrs
The list of buffer's virtual addresses.
screen_buffer_t* screen_addrs
The list of buffer's screen addresses.
uint64_t* sizes
The list of buffer's sizes in bytes.
int* widths
The list of buffer's widths in pixels.
int* heights
The list of buffer's heights in pixels.

Library:

libcamapi