camera_vfmode_t
The major mode of the viewfinder
Synopsis:
#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;Data:
- CAMERA_VFMODE_DEFAULT
- The default viewfinder mode when a camera is opened.
- CAMERA_VFMODE_VIDEO
- Video mode allows for videos to be recorded or encoded.
- CAMERA_VFMODE_HIGH_SPEED_VIDEO
- High-speed video mode allows for videos to be recorded or encoded at higher frame rates than CAMERA_VFMODE_VIDEO.
- CAMERA_VFMODE_HDR_VIDEO
- HDR (high dynamic range) video mode allows for videos to be recorded with a higher dynamic range than CAMERA_VFMODE_VIDEO.
- CAMERA_VFMODE_NUM_MODES
- An end-of-list identifier.
Library:
libcamapiDescription:
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
.
Page updated:
