camera_preview_frame_flags_t

Updated: April 19, 2023

This structure represents the camera preview frame status

Synopsis:

#include <camera/external_camera_api.h>
typedef struct {
    bool captured;
    bool freeInputBuffer;
    uint32_t filledSize;
    uint32_t internal;
} camera_preview_frame_flags_t;

Data:

bool captured
This value is true if a preview frame was captured; otherwise, it is false for initial pipelining.
bool freeInputBuffer
This value is true if the input buffer provided wasn't consumed by the external camera library and should be freed; otherwise it is false.
uint32_t filledSize
This value specifies the number of bytes of data in the buffer.

This value is used for compressed camera frame types.

uint32_t internal
For internal use only; do not use.

Library:

libcamapi