Functions in camera_api.h
Functions for using working with the Camera Library.
Related links
- camera_api.h
Functions, enumerated types, structures, types, and defines for the Camera library.
- camera_can_feature()
Retrieve a list of features that are usable on the camera in its current state.
- camera_close()
Discontinue use of a logical camera on the device.
- camera_config_ev_bracketing()
Set the exposure bracketing parameters.
- camera_config_flash()
Change the flash mode for the camera.
- camera_config_videolight()
Change the video-light on the camera.
- camera_config_photo_face_detect()
Configure still-image face-detection.
- camera_config_vf_face_detect()
Configure viewfinder face-detection.
- camera_deregister_resource()
Deregister from the resource management component of the camera service.
- camera_disable_event()
Disable the event specified by key.
- camera_enable_image_event()
Enable the final image data event.
- camera_enable_postview_event()
Enable the image data review event.
- camera_enable_raw_event()
Reserved for future use, do not use.
- camera_enable_status_event()
Enable the status event.
- camera_enable_shutter_event()
Enable the shutter event.
- camera_enable_video_event()
Enable the video event.
- camera_enable_viewfinder_event()
Enable the viewfinder event.
- camera_find_capable()
Find the cameras that have the specified features.
- camera_force_video_keyframe()
Inform the video encoder to generate a keyframe on demand when encoding video.
- camera_get_3a_lock_modes()
Retrieve the list of supported lock modes on the camera.
- camera_get_api_version()
Retrieve the current build version of the Camera library.
- camera_get_ev_bracketing_limits()
Retrieve the exposure bracketing minimum and maximum values.
- camera_get_exposure_mode()
Retrieve the exposure mode from the camera.
- camera_get_exposure_modes()
Retrieve the exposure modes that are available on the camera.
- camera_get_exposure_regions()
Retrieve the exposure regions configured on the camera.
- camera_get_flash_level()
Retrieve the flash charge level.
- camera_get_focus_mode()
Retrieve the focus mode from the camera.
- camera_get_focus_modes()
Retrieve the focus modes available on the camera.
- camera_get_focus_regions()
Retrieve the focus regions configured on the camera.
- camera_get_focus_state()
Retrieve the focus state of the camera.
- camera_get_image_buffers()
Get an image buffer from the camera service.
- camera_get_manual_focus_step()
Retrieve information regarding the manual focus step, including the currently configured step value and the maximum supported step value.
- camera_get_native_orientation()
Retrieve the native orientation of the camera relative to the default orientation of the device.
- camera_get_photo_frame_types()
Retrieve the photo frame types available on the camera.
- camera_get_photo_output_resolutions()
Retrieve the supported output resolutions for a photo.
- camera_get_photo_property()
Retrieve the output properties for a photo.
- camera_get_photo_rotations()
Retrieve the rotation angles supported for pictures by the camera.
- camera_get_photo_vf_framerates()
Retrieve the supported photo viewfinder frame rates.
- camera_get_photovf_frame_types()
Retrieve the photo viewfinder frame types available on the camera.
- camera_get_photo_vf_resolutions()
Retrieve the viewfinder output resolutions for photos.
- camera_get_photo_vf_rotations()
Retrieve the rotation angles supported by the viewfinder in photo mode.
- camera_get_photovf_property()
Retrieve one or more properties of the photo viewfinder.
- camera_get_postview_buffers()
Retrieve a postview buffer from the camera service.
- camera_get_raw_buffers()
Retrieve a raw buffer from the camera service.
- camera_get_scene_modes()
Retrieve the scene modes available for the camera.
- camera_get_status_details()
Retrieve status details from a status event.
- camera_get_supported_cameras()
Retrieve an enumerated list of cameras available on the device.
- camera_get_video_buffers()
Retrieve a video buffer from the camera service.
- camera_get_video_output_resolutions()
Retrieve the supported output resolutions for video.
- camera_get_video_property()
Retrieve the current output properties for video.
- camera_get_video_rotations()
Retrieve the configurable rotation angles supported for the encoded video produced by the camera.
- camera_get_video_vf_framerates()
Retrieve the supported photo viewfinder frame rates.
- camera_get_video_vf_resolutions()
Retrieve the viewfinder resolutions for video.
- camera_get_video_vf_rotations()
Retrieve rotation angles supported by the viewfinder in video mode.
- camera_get_videolight_level()
Retrieve the video-light level.
- camera_get_videovf_frame_types()
Retrieve the video viewfinder frame types available on the camera.
- camera_get_videovf_property()
Retrieve one or more properties from the video viewfinder.
- camera_get_viewfinder_buffers()
Retrieve a viewfinder buffer from the camera service.
- camera_get_whitebalance_mode()
Retrieve the white balance mode from the camera.
- camera_get_whitebalance_modes()
Retrieve the white balance modes that are available on the camera.
- camera_get_whitebalance_regions()
Retrieve the white balance regions configured on the camera.
- camera_get_zoom_limits()
Retrieve the supported range of zoom levels and whether smooth zooming is supported by the camera.
- camera_has_feature()
Retrieve a list of all available features on the camera.
- camera_open()
Request a handle to access a logical camera unit.
- camera_register_resource()
Register with the resource management component to let the camera service know that your application is ready to process buffers.
- camera_return_buffer()
Return a buffer to the camera service.
- camera_roll_available_photo()
Determines how much space (in bytes) is available to save a photo to the camera roll.
- camera_roll_available_video()
Determines how much space (in btyes) is available to save video files to the camera roll.
- camera_roll_close_photo()
Close the file descriptor for a file on the camera roll.
- camera_roll_close_video()
Close the file descriptor for a video file on a camera roll.
- camera_roll_get_path()
Retrieve the camera roll path.
- camera_roll_open_photo()
Create and open the next available file on the camera roll for writing.
- camera_roll_open_video()
Create and open a new video file on the camera roll for writing.
- camera_roll_set_path()
Set the camera roll path.
- camera_set_3a_lock()
Configures the autofocus, auto exposure, and auto white balance locks on the camera.
- camera_set_device_orientation()
Instruct the camera of the current device orientation.
- camera_set_exposure_mode()
Configure the exposure mode on the camera.
- camera_set_exposure_regions()
Configure the auto exposure regions on the camera.
- camera_set_focus_mode()
Configure the focus mode on the camera.
- camera_set_focus_regions()
Configure the focus regions on the camera.
- camera_set_geolocation()
Set or clear the geolocation data for photo metadata.
- camera_set_manual_focus_step()
Change the focus to a desired level manually on the camera.
- camera_set_photo_property()
Configure the current output properties for a photo.
- camera_set_photovf_property()
Configure one or more settings in the photo viewfinder.
- camera_set_scene_mode()
Change the scene mode on the camera.
- camera_set_video_filesize_warning()
Configure the threshold of recording time (in seconds) left on the device before a warning is issued.
- camera_set_video_property()
Configure the output properties for video.
- camera_set_videovf_property()
Configure one or more settings in the video viewfinder.
- camera_set_whitebalance_mode()
Configure the white balance mode on the camera.
- camera_set_whitebalance_regions()
Configure the auto white balance regions on the camera.
- camera_set_zoom()
Configure the zoom level on the camera for taking a photo.
- camera_start_burst()
Start to take pictures in burst mode.
- camera_start_photo_viewfinder()
Start the photo viewfinder on the camera.
- camera_start_video()
Start encoding video.
- camera_start_video_viewfinder()
Start the video viewfinder on the camera.
- camera_stop_burst()
Stop taking photos in burst mode.
- camera_stop_photo_viewfinder()
Stop using the photo viewfinder.
- camera_stop_video()
Stop encoding video.
- camera_stop_video_viewfinder()
Stop using the video viewfinder.
- camera_take_burst()
Take multiple photos in burst mode.
- camera_take_photo()
Take a photo.