camera_feature_t
The camera capabilities or available features
Synopsis:
#include <camera/camera_api.h>typedef enum {
CAMERA_FEATURE_FBM = 0,
CAMERA_FEATURE_VIDEO = 2,
CAMERA_FEATURE_VIDEOZOOM = 4,
CAMERA_FEATURE_PREVIEWISVIDEO = 10,
CAMERA_FEATURE_AUTOFOCUS = 11,
CAMERA_FEATURE_MANUALFOCUS = 12,
CAMERA_FEATURE_REGIONFOCUS = 13,
CAMERA_FEATURE_MACROFOCUS = 14,
CAMERA_FEATURE_VFHWOVERLAY = 16,
CAMERA_FEATURE_REGIONEXPOSURE = 17,
CAMERA_FEATURE_REGIONWHITEBALANCE = 18,
CAMERA_FEATURE_AUTOEXPOSURE = 23,
CAMERA_FEATURE_AUTOWHITEBALANCE = 24,
CAMERA_FEATURE_MANUALEXPOSURE = 25,
CAMERA_FEATURE_MANUALWHITEBALANCE = 26,
CAMERA_FEATURE_ANALOGCAMERA = 33,
CAMERA_FEATURE_VFWINDOW = 34,
CAMERA_FEATURE_NUMVFUSERBUFFERS = 35,
CAMERA_FEATURE_FILENAME = 36,
CAMERA_FEATURE_NUMFEATURES
} camera_feature_t;Data:
- CAMERA_FEATURE_FBM
- The camera supports queries from the camera_can_feature() and camera_has_feature() functions.
- CAMERA_FEATURE_VIDEO
- It is possible to encode video.
- CAMERA_FEATURE_VIDEOZOOM
- Zoom is available in the video viewfinder mode.
- CAMERA_FEATURE_PREVIEWISVIDEO
- There is no standalone video buffer stream available.
- CAMERA_FEATURE_AUTOFOCUS
- Autofocus is available.
- CAMERA_FEATURE_MANUALFOCUS
- Manual focus is available.
- CAMERA_FEATURE_REGIONFOCUS
- It is possible to focus on a specific region in the viewfinder.
- CAMERA_FEATURE_MACROFOCUS
- Macro focus mode is available.
- CAMERA_FEATURE_VFHWOVERLAY
- The viewfinder can use hardware acceleration for blitting.
- CAMERA_FEATURE_REGIONEXPOSURE
- Region exposure is available.
- CAMERA_FEATURE_REGIONWHITEBALANCE
- Region white balance is available.
- CAMERA_FEATURE_AUTOEXPOSURE
- Auto exposure is available.
- CAMERA_FEATURE_AUTOWHITEBALANCE
- Auto white balance is available.
- CAMERA_FEATURE_MANUALEXPOSURE
- Manual exposure is available.
- CAMERA_FEATURE_MANUALWHITEBALANCE
- Manual white balance is available.
- CAMERA_FEATURE_ANALOGCAMERA
- The camera is an analog camera and supports configuring parameters that are specific to analog cameras.
- CAMERA_FEATURE_VFWINDOW
- A visible viewfinder window is supported.
- CAMERA_FEATURE_NUMVFUSERBUFFERS
- It is possible to set the number of user buffers to be allocated for a viewfinder.
- CAMERA_FEATURE_FILENAME
- It is possible to call camera_set_filename() to dynamically change the file associated with a camera that plays out a file to simulate a camera.
- CAMERA_FEATURE_NUMFEATURES
- An end-of-list identifier that indicates the total number of features recognized by the Camera library.
Library:
libcamapiDescription:
This enumerated type is used with the camera_has_feature() and camera_can_feature() functions.
Page updated:
