platform_hardware_interfaces/camera
Chris Jenneisch 356e28fdb1 Use std::unordered_map for mTagToTypeMap
In the profile we notice that  SortedVectorImpl::_indexOrderOf is
almost 1.6% which is quite high considering it is an access to
a container. We make mTagToNameMap as a std::unordered_map
to store the Tag and the types. The accesses would be in constant time.

This change removes this from the profile and give ~10% improvement.

Bug: 72526772
Change-Id: Iffd244febd093bdfec9fe4d5e846a0e59c0ecdce
2018-02-28 23:14:31 +00:00
..
common Use std::unordered_map for mTagToTypeMap 2018-02-28 23:14:31 +00:00
device Merge "Camera: avoid copying of HalRequest" 2018-02-21 21:53:22 +00:00
metadata camera: Add OisSamples synthetic key 2018-02-15 12:40:36 -08:00
provider Camera: assert no HAL1 in devices launched in P+ 2018-02-23 12:09:39 -08:00
README.md Camera: HIDLized camera HALs, first set 2016-12-02 19:43:39 +00:00

Camera HALs


Overview:

The camera.* HAL tree is used by the Android camera service to discover and operate camera devices available on the device.

More details and versioning information can be found within each particular HAL.

More complete information about the Android camera HAL and subsystem can be found at source.android.com.