mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-02 17:31:58 +00:00
* Common camera definitions (camera.common/1.0) * Basic status codes, shared types * Provider 2.4 API (camera.provider/2.4), including vendor tag APIs * Enumerate and acquire camera device instances * Mostly equivalent to legacy camera module v2.4. * Device 1.0 API (camera.device/1.0) * Mostly equivalent to legacy camera HAL v1.0. * Device 3.2 API (camera.device/3.2) * Mostly equivalent to legacy camera HAL v3.2. * Metadata 3.2 API (camera.metadata/3.2) * Definitions for valid metadata fields for device 3.2 Only the key initial interfaces are added; default implementations are in a later CL. Other interfaces that will likely need to be added: * Other provider minor versions * Other device 3.x minor versions Test: make -j32 Bug: 30985004 Bug: 32991603 Change-Id: I1c6a9a269bf45276055707bbc58cfc50d29fa919
38 lines
992 B
Markdown
38 lines
992 B
Markdown
## Camera Provider HAL ##
|
|
---
|
|
|
|
## Overview: ##
|
|
|
|
The camera.provider HAL is used by the Android camera service to discover,
|
|
query, and open individual camera devices.
|
|
|
|
It also allows for direct control of the flash unit of camera devices that have
|
|
one, for turning on/off torch mode.
|
|
|
|
More complete information about the Android camera HAL and subsystem can be found at
|
|
[source.android.com](http://source.android.com/devices/camera/index.html).
|
|
|
|
## Version history: ##
|
|
|
|
## types.hal: ##
|
|
|
|
### @0.0:
|
|
|
|
Common enum and struct definitions for all camera HAL interfaces. Does not
|
|
define any interfaces of its own.
|
|
|
|
## ICameraProvider.hal: ##
|
|
|
|
### @2.4:
|
|
|
|
First HIDL version of the camera provider HAL, closely matching the feature set
|
|
and operation of the pre-HIDL camera HAL module v2.4.
|
|
|
|
## ICameraProviderCallback.hal: ##
|
|
|
|
### @2.4:
|
|
|
|
First HIDL version of the camara provider HAL callback interface, closely
|
|
matching the feature set and operation of the pre-HIDL camera HAL module
|
|
callbacks v2.4.
|