Updated: October 28, 2024 |
A frame descriptor that holds only data
#include <camera/camera_api.h>
typedef struct { uint8_t framedata[CAMERA_MAX_FRAMEDESC_SIZE]; } camera_frame_unspecified_t;
The size of the array is indicated by the CAMERA_MAX_FRAMEDESC_SIZE value. This placeholder value ensures that the buffer descriptor is always padded for forward compatibility.
Use this frame descriptor when CAMERA_FRAMETYPE_UNSPECIFIED is reported as the camera_frametype_t.