Files
hardware_interfaces/camera/common
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
..

Camera common HAL definitions


Overview:

The camera.common namesapce is used by the Android camera HALs for common enumeration and structure definitions.

This includes standard status codes returned by most camera HAL methods.

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

Version history:

types.hal:

@1.0:

Common enum and struct definitions for all camera HAL interfaces. Does not define any interfaces of its own.