Updated: October 28, 2024 |
Determine the number of 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 Sensor service calls this function to determine how many preview buffers need to be allocated for the camera. The Sensor service 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.