Updated: October 28, 2024 |
Return a buffer to the camera
#include <camera/camera_api.h>
camera_error_t camera_return_buffer(camera_handle_t handle, camera_buffer_t *buffer)
Don't return a buffer that was delivered to a callback function, or was allocated through other means.
CAMERA_EOK when the function successfully completes, otherwise another camera_error_t value that provides the reason that the call failed.