最終更新:2017-04-04 (火) 15:43:09 (2592d)
Camera HAL 3
Top / Camera HAL 3
https://source.android.com/devices/camera/camera3.html
バージョン
Camera HAL 3.0? Version of the camera device HAL released with Android 4.3. CAMERA_DEVICE_API_VERSION_3_0 Camera3Device Camera HAL 3.1? Version of the camera device HAL released with Android 4.4. CAMERA_DEVICE_API_VERSION_3_1? Camera HAL 3.2? Version of the camera device HAL released with Android 5.0. CAMERA_DEVICE_API_VERSION_3_2? Camera HAL 3.3? Version of the camera device HAL released with Android 6.0. CAMERA_DEVICE_API_VERSION_3_3? Camera HAL 3.4 Version of the camera device HAL released with Android 7.0. CAMERA_DEVICE_API_VERSION_3_4
CameraDeviceBase
- Base interface for version >= 2 camera device classes, which interface to camera HAL device versions >= 2.
派生クラス
Camera3Device AOSP/frameworks/av/services/camera/libcameraservice/device3 Android 4.3~ CameraDevice for HAL devices with version CAMERA_DEVICE_API_VERSION_3_0 or higher.
処理の流れ
Open the device. camera_module_t.common->open camera3_device_t.ops->initialize Configure the streams. camera3_device_t->configure_streams Allocate stream buffers. camera3_device_t.ops->register_stream_buffers Construct a capture request and send it to HAL. camera3_device_t.ops->process_capture_request HAL notifies the framework of a started capture request. camera3_callback_ops?->notify HAL notifies the framework of a finished capture request. camera3_callback_ops?->process_capture_result repeat capture request camera3_device_t->common->close