Updated: October 28, 2024 |
The major mode of the viewfinder
#include <camera/camera_api.h>
typedef enum { CAMERA_VFMODE_DEFAULT, CAMERA_VFMODE_VIDEO, CAMERA_VFMODE_HIGH_SPEED_VIDEO, CAMERA_VFMODE_HDR_VIDEO, CAMERA_VFMODE_NUM_MODES } camera_vfmode_t;
The camera_has_feature() function provides a complete list of features supported by the camera.
For more information, see camera_start_video() and camera_start_encode().
For more information, see camera_start_video() and camera_start_encode().
For more information, see camera_start_video() and camera_start_encode().
Each viewfinder mode provides a different set of capabilities, which can be checked using camera_has_feature() after choosing a mode. Not all cameras support all viewfinder modes, so ensure you query camera_get_supported_vf_modes() before using camera_set_vf_mode().
For more information, see Viewfinder Mode.