Retrieve the screen buffer associated with a camera buffer
#include <camera/camera_api.h>
camera_error_t camera_get_screen_buffer(camera_handle_t handle, camera_buffer_t *camera_buffer, screen_buffer_t *screen_buffer)
After having called camera_start_viewfinder() to start the viewfinder, call this function to retrieve the screen buffer associated with a given camera buffer. The screen buffer is useful to perform zero-copy of buffers using OpenGL.
CAMERA_EOK when the function successfully completes, otherwise another camera_error_t value that provides the reason that the call failed.