Camera device HAL 3.0
- High-level behavior is identical to device HAL 2.0 - Interface is cleaned up and simplified greatly Change-Id: Ia867bbf9484be2256470f4acfab7fc3d47e408f4
This commit is contained in:
committed by
Android (Google) Code Review
parent
18dff4eb63
commit
d2a877536a
@@ -25,8 +25,7 @@
|
|||||||
*
|
*
|
||||||
* EXPERIMENTAL.
|
* EXPERIMENTAL.
|
||||||
*
|
*
|
||||||
* Supports both the android.hardware.ProCamera and
|
* Supports the android.hardware.Camera APIs.
|
||||||
* android.hardware.Camera APIs.
|
|
||||||
*
|
*
|
||||||
* Camera devices that support this version of the HAL must return
|
* Camera devices that support this version of the HAL must return
|
||||||
* CAMERA_DEVICE_API_VERSION_2_0 in camera_device_t.common.version and in
|
* CAMERA_DEVICE_API_VERSION_2_0 in camera_device_t.common.version and in
|
||||||
@@ -38,6 +37,13 @@
|
|||||||
*
|
*
|
||||||
* See camera_common.h for more versioning details.
|
* See camera_common.h for more versioning details.
|
||||||
*
|
*
|
||||||
|
* Version history:
|
||||||
|
*
|
||||||
|
* 2.0: Initial release (Android 4.2):
|
||||||
|
* - Sufficient for implementing existing android.hardware.Camera API.
|
||||||
|
* - Allows for ZSL queue in camera service layer
|
||||||
|
* - Not tested for any new features such manual capture control,
|
||||||
|
* Bayer RAW capture, reprocessing of RAW data.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
__BEGIN_DECLS
|
__BEGIN_DECLS
|
||||||
|
|||||||
1344
include/hardware/camera3.h
Normal file
1344
include/hardware/camera3.h
Normal file
File diff suppressed because it is too large
Load Diff
@@ -80,8 +80,9 @@ __BEGIN_DECLS
|
|||||||
*/
|
*/
|
||||||
#define CAMERA_DEVICE_API_VERSION_1_0 HARDWARE_DEVICE_API_VERSION(1, 0)
|
#define CAMERA_DEVICE_API_VERSION_1_0 HARDWARE_DEVICE_API_VERSION(1, 0)
|
||||||
#define CAMERA_DEVICE_API_VERSION_2_0 HARDWARE_DEVICE_API_VERSION(2, 0)
|
#define CAMERA_DEVICE_API_VERSION_2_0 HARDWARE_DEVICE_API_VERSION(2, 0)
|
||||||
|
#define CAMERA_DEVICE_API_VERSION_3_0 HARDWARE_DEVICE_API_VERSION(3, 0)
|
||||||
|
|
||||||
// Device version 2.0 is experimental
|
// Device version 2.0 is outdated; device version 3.0 is experimental
|
||||||
#define CAMERA_DEVICE_API_VERSION_CURRENT CAMERA_DEVICE_API_VERSION_1_0
|
#define CAMERA_DEVICE_API_VERSION_CURRENT CAMERA_DEVICE_API_VERSION_1_0
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user