camera_frame_unspecified_t

Updated: April 19, 2023

A frame descriptor that holds only data

Synopsis:

#include <camera/camera_api.h>
typedef struct {
    uint8_t framedata[CAMERA_MAX_FRAMEDESC_SIZE];
} camera_frame_unspecified_t;

Data:

uint8_t framedata[CAMERA_MAX_FRAMEDESC_SIZE]
An array representing the frame data.

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.

Library:

libcamapi

Description:

Use this frame descriptor when CAMERA_FRAMETYPE_UNSPECIFIED is reported as the camera_frametype_t.