Confirmed users
198
edits
| Line 2: | Line 2: | ||
== Background == | == Background == | ||
In Android 5 Lollipop (API version 21), Google introduced a new camera Java API ([http://developer.android.com/reference/android/hardware/camera2/package-summary.html android.hardware.camera2]) and deprecated the one it had been provided since the beginning of Android history ([http://developer.android.com/reference/android/hardware/Camera.html Camera]). Along with this API, new Android camera HAL interface ([http://source.android.com/devices/camera/camera3.html HAL v3]) were created and the camera service built on top of that extended. Some [https://android.googlesource.com/platform/frameworks/av/+/master/camera/camera2/ (internal/WIP) native API | In Android 5 Lollipop (API version 21), Google introduced a new camera Java API ([http://developer.android.com/reference/android/hardware/camera2/package-summary.html android.hardware.camera2]) and deprecated the one it had been provided since the beginning of Android history ([http://developer.android.com/reference/android/hardware/Camera.html Camera]). Along with this API, new Android camera HAL interface ([http://source.android.com/devices/camera/camera3.html HAL v3]) were created and the camera service built on top of that extended. Some [https://android.googlesource.com/platform/frameworks/av/+/master/camera/camera2/ (internal/WIP) native API (camera2)] is also found in current Android code base already. | ||
The old HAL was designed as a black box with high-level controls targeting conventional camera apps (preview, video recording, and still capture) and makes it difficult, if not impossible, to implement new type of features such as burst mode[http://en.wikipedia.org/wiki/Burst_mode_%28photography%29] without extending HAL by vendors. | The old HAL was designed as a black box with high-level controls targeting conventional camera apps (preview, video recording, and still capture) and makes it difficult, if not impossible, to implement new type of features such as burst mode[http://en.wikipedia.org/wiki/Burst_mode_%28photography%29] without extending HAL by vendors. | ||