Updated: October 28, 2024 |
The camera capabilities or available features
#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;
Preview buffers are used for both viewfinder and video encoding. For more information, see camera_set_video_property().
This mode allows you to focus on objects that are close to the camera, such as 10 centimeters away.
Blitting is a hardware acceleration feature for efficiently transferring image buffers to the video display. For more information, see SCREEN_USAGE_OVERLAY in the screen_set_window_property_iv() function reference in the Screen Developer's Guide. When you use this value, the viewfinder window uses the SCREEN_USAGE_OVERLAY window property where possible.
Region exposure allows you to perform spot and partial metering in specific regions of an image.
Region white balance uses the image data in the user-specified region to make white balance adjustment (color correction) computations.
For more information, see CAMERA_IMGPROP_CREATEWINDOW.
For more information, see CAMERA_IMGPROP_NUMUSERBUFFERS.
This enumerated type is used with the camera_has_feature() and camera_can_feature() functions.