more detail blog: http://vinta.ws/booch/?p=27
ref:
Camera 2
Google I/o video:https://www.youtube.com/watch?v=92fgcUNCHic#t=1758
Camera basic demo code: https://developer.android.com/preview/samples.html
Camera2 sdk reference (Need download 60mb): http://storage.googleapis.com/androiddevelopers/preview/l-developer-preview-reference.zip
Set up android l: https://developer.android.com/preview/setup-sdk.html
Camera
HAL3:https://source.android.com/devices/camera/camera3.html
HAL Subsystem https://source.android.com/devices/camera/camera3_requests_hal.html
https://source.android.com/devices/camera/camera.html
2. Camera API History
Camera APIs
Package - android.hardware.camera
Android version API Level Addition to Camera class
Android L 20 Camera2
kit-kat 19 None
Jelly bean mr2 18 None
Jelly bean mr1 17
Minor (shutterSound
enable)
Jelly bean 16
Minor (AutoFocus Move
Callback)
Ice-cream sandwitch 15
Minor (Video Stabilization)
Ice-cream sandwitch 14
3. Camera 2 API Overview
• ● Android.hardware.camera2 API to facilitate fine-grain photo
capture and image processing.
• ● The android.hardware.camera2 package provides an
interface to individual camera devices connected to an
Android device. It replaces the deprecated Camera class.
4. Why Camera 2
Maybe because some Camera1 API limitation
High level black box Operating Modes
1.Preview 2.Still Capture 3.Video Record
Burst Mode Photography – hard to implement
1.Zero Shutter Lag 2.Multi-Shot HDR 3.Panoramic Stitch…
Metadata: Practically, only face detection data could be returned
to the application