Determine the number of required preview buffers that the camera requires
#include <camera/external_camera_api.h>
typedef int(* get_preview_num_buffers_func_t)(void *handle);
When allocating buffers, the platform may call this function to determine how many preview buffers need to be allocated for the specified viewfinder type. The platform adds to this number the additional number of buffers required by other parts of the system.
The number of preview buffers required for this camera.