Retrieve a raw buffer from the camera service.
camera_error_t camera_get_raw_buffers(camera_handle_t handle, camera_eventkey_t key, camera_buffer_t *inbuffer, camera_buffer_t *outbuffer)
The handle returned by a call to the camera_open() function.
The key value that was returned by a call to the camera_enable_raw_event() function.
A pointer to the input camera_buffer_t structure returned by the camera service.
A pointer to the output camera_buffer_t structure returned by the camera service.
Use this function to retrieve a buffer with raw data. Only call this function after you receive a raw event.
CAMERA_OK when the function successfully completes, otherwise another camera_error_t value that provides the reason that the call failed.