0%

Android Camera device HAL 3.6文档翻译

这(Camera device HAL 3.6)是当前推荐使用的HAL版本。

This is the current recommended version of the camera device HAL.

其支持android.hardware.CameraAPI,但自从v3.2版本以来,android.hardware.camera2 API被设置为LIMITED或above hardware level状态。

Supports the android.hardware.Camera API, and as of v3.2, the android.hardware.camera2 API as LIMITED or above hardware level.

支持该版本的相机设备必须在camera_device_t.common.version和camera_info_t.device_version(由camera_module_t.get_camera_info获得)中返回CAMERA_DEVICE_API_VERSION_3_6。

Camera devices that support this version of the HAL must return CAMERA_DEVICE_API_VERSION_3_6 in camera_device_t.common.version and in camera_info_t.device_version (from camera_module_t.get_camera_info).

CAMERA_DEVICE_API_VERSION_3_3
或更高版本:包含3.3或更高版本的设备的相机模块至少需要支持2.2版本的相机模块接口(在camera_module_t.common.module_api_version中定义)。

CAMERA_DEVICE_API_VERSION_3_3 and above: Camera modules that may contain version 3.3 or above devices must implement at least version 2.2 of the camera module interface (as defined by camera_module_t.common.module_api_version).

CAMERA_DEVICE_API_VERSION_3_2
:包含3.2版本的设备的相机模块至少需要支持2.2版本的相机模块接口(如camera_module_t.common.module_api_version所定义的)。

CAMERA_DEVICE_API_VERSION_3_2: Camera modules that may contain version 3.2 devices must implement at least version 2.2 of the camera module interface (as defined by camera_module_t.common.module_api_version).

CAMERA_DEVICE_API_VERSION_3_1
或更低版本:包含3.1或更低版本的设备的相机模块至少需要支持2.0版本的相机模块接口(如camera_module_t.common.module_api_version所定义的)。

<= CAMERA_DEVICE_API_VERSION_3_1: Camera modules that may contain version 3.1 (or 3.0) devices must implement at least version 2.0 of the camera module interface (as defined by camera_module_t.common.module_api_version).

更多与版本相关的细节可参考camera_common.h。

See camera_common.h for more versioning details.

文档目录

Documentation index:

S1:版本历史(未开始)

S1. Version history

S2:启动和操作顺序

S2. Startup and operation sequencing

S3:操作模式(未开始)

S3. Operational modes

S4:3A模式和状态机(未开始)

S4. 3A modes and state machines

S5. 裁剪(未开始)

S5. Cropping

S6. 错误管理(未开始)

S6. Error management

S7. 关键性能指标(KPI)术语表(未开始)

S7. Key Performance Indicator (KPI) glossary

S8. 使用示例(未开始)

S8. Sample Use Cases

S9. 关于控件和元数据的说明(未开始)

S9. Notes on Controls and Metadata

S10. 再处理流程和控制(未开始)

S10. Reprocessing flow and controls