camera_return_buffer()
Return a buffer to the camera service.
Synopsis:
#include <camera/camera_api.h>
camera_error_t camera_return_buffer(camera_handle_t handle, camera_buffer_t *buffer)
Arguments:
- handle
-
The handle returned by a call to the camera_open() function.
- buffer
-
A pointer to a buffer acquired by a call to one of the above get-buffer functions
Library:
libcamapiDescription:
Use this function to return a buffer back to the camera service. The buffer value you provide must be acquired from the camera service using one of the following functions:
Returns:
CAMERA_EOK when the function successfully completes, otherwise another camera_error_t value that provides the reason that the call failed.