camera_feature_t
The camera capabilities or features available on the camera.
Synopsis:
#include <camera/camera_api.h>
typedef enum {
CAMERA_FEATURE_FBM = 0
CAMERA_FEATURE_PHOTO = 1
CAMERA_FEATURE_VIDEO = 2
CAMERA_FEATURE_PHOTOZOOM = 3
CAMERA_FEATURE_VIDEOZOOM = 4
CAMERA_FEATURE_ZSL = 5
CAMERA_FEATURE_BURST = 6
CAMERA_FEATURE_EVBRACKETING = 7
CAMERA_FEATURE_FLASH = 8
CAMERA_FEATURE_VIDEOLIGHT = 9
CAMERA_FEATURE_PREVIEWISVIDEO = 10
CAMERA_FEATURE_AUTOFOCUS = 11
CAMERA_FEATURE_MANUALFOCUS = 12
CAMERA_FEATURE_REGIONFOCUS = 13
CAMERA_FEATURE_MACROFOCUS = 14
CAMERA_FEATURE_FOCUSASSIST = 15
CAMERA_FEATURE_VFHWOVERLAY = 16
CAMERA_FEATURE_REGIONEXPOSURE = 17
CAMERA_FEATURE_REGIONWHITEBALANCE = 18
CAMERA_FEATURE_CONTINUOUSBURST = 19
CAMERA_FEATURE_VFFACEDETECT = 20
CAMERA_FEATURE_FACEDETECT = 21
CAMERA_FEATURE_PHOTOVFVARIABLEFRAMERATE = 22
CAMERA_FEATURE_AUTOEXPOSURE = 23
CAMERA_FEATURE_AUTOWHITEBALANCE = 24
CAMERA_FEATURE_MANUALEXPOSURE = 25
CAMERA_FEATURE_MANUALWHITEBALANCE = 26
CAMERA_FEATURE_NUMFEATURES
} camera_feature_t;
Data:
- CAMERA_FEATURE_FBM
- Indicates that whether the camera supports queries from the camera_can _feature() and camera_has_feature() functions.
- CAMERA_FEATURE_PHOTO
- Indicates that it is possible to take photos (still images).
- CAMERA_FEATURE_VIDEO
- Indicates that it is possible to encode video.
- CAMERA_FEATURE_PHOTOZOOM
- Indicates zoom is available for shooting photos.
- CAMERA_FEATURE_VIDEOZOOM
- Indicates that zoom is available for recording video.
- CAMERA_FEATURE_ZSL
- Indicates that zero-shutter lag is available.
- CAMERA_FEATURE_BURST
- Indicates that burst mode is available for taking multiple photos consecutively.
-
When CAMERA_FEATURE_BURST is available, but CAMERA_FEATURE_CONTINUOUSBURST isn't, then only the camera_take_burst() function can be used. The camera_start_burst() function will not work.
- CAMERA_FEATURE_EVBRACKETING
- Indicates that exposure bracketing is available in burst capture mode.
-
EV represents Exposure value, which is a combination of a number camera functions such as shutter speed, aperture, and gain.
- CAMERA_FEATURE_FLASH
- Indicates that flash is available.
- CAMERA_FEATURE_VIDEOLIGHT
- Indicates that an on-board light source is available for use with video capture.
- CAMERA_FEATURE_PREVIEWISVIDEO
- Indicates that there is no standalone video buffer stream available.
-
Preview buffers are used for both viewfinder and video encoding.
- CAMERA_FEATURE_AUTOFOCUS
- Indicates that autofocus is available.
- CAMERA_FEATURE_MANUALFOCUS
- Indicates that manual focus is available.
- CAMERA_FEATURE_REGIONFOCUS
- Indicates that it is possible to focus on a specific region in the photo.
- CAMERA_FEATURE_MACROFOCUS
- Indicates that macro focus mode is available.
-
Macro mode allows you to take a picture when the object is extremely close to the camera, such as 10 centimeters away.
- CAMERA_FEATURE_FOCUSASSIST
- Indicates that focus-assist mode is available.
-
Focus assist turns on the light before taking a picture in low-light conditions. Turning on the light improves focus performance in low-light conditions.
- CAMERA_FEATURE_VFHWOVERLAY
- Indicates that the viewfinder can use hardware acceleration for blitting.
-
Blitting is an operation where you copy the viewfinder buffer to the video display. For more information, see the SCREEN_USAGE_OVERLAY ( screen_set_window_property_iv() function) in the Screen and Windowing API.
- CAMERA_FEATURE_REGIONEXPOSURE
- Indicates that region exposure is available.
-
Region exposure allows you to perform spot and partial metering to regions of an image.
- CAMERA_FEATURE_REGIONWHITEBALANCE
- Indicates that region white balance is available.
-
Region white balance corrects image data in the user-specified region when correcting the white balance levels.
- CAMERA_FEATURE_CONTINUOUSBURST
- Indicates that continuous-burst mode is available.
-
Continuous burst allows for multiple images to be taken over an indefinite time-frame.
When CAMERA_FEATURE_BURST is available, but CAMERA_FEATURE_CONTINUOUSBURST isn't, then only the camera_take_burst() function can be used. The camera_start_burst() function will not work.
- CAMERA_FEATURE_VFFACEDETECT
- Indicates that face-detection is available in the viewfinder image stream.
-
Face detection permits you retrieve the coordinates of the faces detected in the scene via the accompanying preview metadata.
- CAMERA_FEATURE_FACEDETECT
- Indicates that face-detection is available in the still image stream.
-
Face detection permits you retrieve the coordinates of the faces detected in the scene via the accompanying still-image metadata.
- CAMERA_FEATURE_PHOTOVFVARIABLEFRAMERATE
- Indicates that variable frame rate is supported for photo viewfinder.
-
For more information, see the description for the CAMERA_IMGPROP_VARIABLEFRAMERATE.
- CAMERA_FEATURE_AUTOEXPOSURE
- Indicates that auto exposure is available.
- CAMERA_FEATURE_AUTOWHITEBALANCE
- Indicates that auto white balance is available.
- CAMERA_FEATURE_MANUALEXPOSURE
- Indicates that manual exposure is available.
- CAMERA_FEATURE_MANUALWHITEBALANCE
- Indicates that manual white balance is available.
- CAMERA_FEATURE_NUMFEATURES
- An end-of-list identifier.
-
Also indicates the total number of features recognized by the Camera library.
Library:
libcamapiDescription:
The enumeration values are used with camera_has_feature() and camera_can_feature() functions.