summaryrefslogtreecommitdiff
path: root/camera/common/1.0/default/include
AgeCommit message (Collapse)Author
2022-02-04Merge TP1A.220120.003Haamed Gheibi
Change-Id: Ie5eba313ee102e452f5f96942ed2f3a7bb4e8f01
2022-01-05Camera: Add device 3.8 and HDR10 native APIsEmilian Peev
Initial set of native API extensions to support 10-bit output capable device: - Identification - Configuration - Data plumbing Bug: 195946346 Test: adb shell /data/nativetest64/VtsHalCameraProviderV2_4TargetTest/VtsHalCameraProviderV2_4TargetTest --gtest_filter=PerInstance/CameraHidlTest.process10BitDynamicRangeRequest/0_internal_0 Change-Id: I526120944232ce211259cbd215935db7e445a6c5
2021-06-04Merge SP1A.210604.001Scott Lobdell
Change-Id: I78feee65e602d45bb0e3e90536729623b0f3d4f5
2021-05-25Camera: Add support for single plane stride queriesEmilian Peev
Allow buffer mapper clients to query the current buffer stride of the first plane. Bug: 188992806 Test: Camera CTS Change-Id: I503ad8ae2e144405f0f365636210275f8e56ae82
2020-05-13Merge RP1A.200513.002Steven Laver
Change-Id: I6da005525cf489004a7d726490bc1afff1f1384c
2020-05-12Adds a lock method to HandleImporter w/ access regionJason Macnak
... to allow locking 2D regions of non-BLOB buffers. Bug: b/146515640 Test: cts -m CtsCameraTestCases Change-Id: Ia68abf96ffe15891520833921e103efa3f7a80c5
2019-11-01[automerger] Add call to get camera device version am: 669be8f0d0Sreelakshmi D
Change-Id: I61e70c660be7c5954dcdacc437f25152df160436
2019-11-01Add call to get camera device versionPeter Kalauskas
Bug: 79374634 Test: Start camera CRs-Fixed: 2545487 Change-Id: Iaf0300d0116d5da0694105c82d1e4282f626cb86
2019-08-20gralloc: add IAllocator/IMapper 4.0 to camera HIDLMarissa Wall
Add support for gralloc 4.0 to camera interface. Bug: 136016160 Test: VtsHalCameraProviderV2_4TargetTest on a pixel with a local rev'd version of gralloc 4.0. Change-Id: I7f2e14c291fbdafcb68c1e9c6e94fed87d810191
2019-05-14Camera: Add support for IMapper 3.0Shuzhen Wang
Use IMapper 3.0 if available. Otherwise, fall back to IMapper 2.0. Test: Update camera VTS test passes Bug: 128013727 Change-Id: I9bb54bbc290f1b90ef593dee9796b22b0dd49671
2019-02-12Camera: Handle binder call failure due to static metadata sizeShuzhen Wang
For physical camera static metadata, we should reduce its size before passing it across binder if possible. Test: Camera CTS Bug: 124129552 Change-Id: I0d9129642ddcbb4c1a1c7fcf7a88bac734be4f5a
2019-02-07Camera: Restructure default camera.provider 2.4Eino-Ville Talvala
To allow for implementation inheritance of @2.4 legacy wrapper and @2.4 external webcamera HALs in the @2.5 implementations, restructure the existing default provider to separate the service interface into a thin shim that calls the implementations. Test: Camera starts as usual after refactor, VTS tests pass Bug: 121379978 Change-Id: Id40790ed4fb495577fd2b885c706b2ed7a96d64e
2019-01-14Add VendorTagDescriptorCache to android.hardware.camera.common@1.0-helperJayant Chowdhary
Since android.hardware.camera.common@1.0-helper is a utility VNDK library, where the implementation isn't linked to a specific version of any HIDL interface we don't uprev the library. Bug: 122477622 Test: builds Change-Id: Idb7cb9569cf4490659be0090d72f91f411c8dbc8 Signed-off-by: Jayant Chowdhary <jchowdhary@google.com>
2018-11-29Camera: Add support for stream combination queryEmilian Peev
Camera devices 3.5 and later can optionally support stream combination queries. These use the regular 'StreamConfiguration' structure however in contrast to normal stream configuration, the query will be much faster and will not cause any HW/SW side effects. Additionally it will be possible to run stream combination queries at any time after the camera device is open. Implement stream combination query for the external camera provider. Bug: 111593096 Test: vts-tradefed run commandAndExit vts --skip-all-system-status-check --skip-preconditions --module VtsHalCameraProviderV2_4Target -l INFO Change-Id: I59ec936d17dabc89ba49407a750df1cd2e61b145
2018-10-04VTS: Add test for device version 3.5Shuzhen Wang
Also includes: - Add test for getPhysicalCameraCharacteristics. - Doc update for the new HIDL API. - Tighten boundary check for camera ID in CameraModule. Test: vts-tradefed run commandAndExit vts --skip-all-system-status-check --skip-preconditions --module VtsHalCameraProviderV2_4Target -l INFO Bug: 79523700 Bug: 115969176 Bug: 116512585 Change-Id: I051d1b0c91834781a1f8d893ed5ebfa579b03774
2018-09-13Camera: Add support for physical camera characteristics queryShuzhen Wang
- Add version 3.5 for ICameraDevice for physical camera characteristics query. - Add version 3.5 for ICameraDeviceSession to work around HIDL versioning bug. Test: Camera CTS Bug: 79523700 Change-Id: I8df6cdd4ee6ac5755758510c0dc1ea1cec31aa73
2018-02-28Use std::unordered_map for mTagToTypeMapChris Jenneisch
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-01-26Common: Added CameraMetadata -> libexif converterYuriy Romanenko
A fully-ported version of the ExifUtils class from ChromeOS (see [chromeos]/src/platform/arc-camera/common/exif_utils.cc) * Made into an interface to remove libexif dependencies from header file * Rewrote ChromeOS dependencies * Minor fixes Change-Id: I2e93fa3e08e6b82b26641cc736eeb1c61b04a2c0
2018-01-25Common: Added lock() to camera HandleImporterYuriy Romanenko
Effectively a counterpart to lockYCbCr() but for generic single-plane buffers Change-Id: I73d051c085fe2b96810a1ed761deac177db2733d
2018-01-23Merge "Camera: Add external camera provider"Yin-Chia Yeh
2018-01-22Camera: Add external camera providerYin-Chia Yeh
Bug: 64874137 63873538 Change-Id: I4309874a7dedd3dd71d4bd0c2004d460421db679
2018-01-22camera: add support for camera removalGuennadi Liakhovetski
Add camera removal support to CameraProvider and CameraModule. Change-Id: I047e486d1665ba9e0b1455f77a7bbbb5e0d66653 Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@intel.com>
2017-06-12Move CameraParameters class to android.hardware.camera.common@1.0-helperJiyong Park
The CameraParamters class is widely used by many of the camera-related vendor libs. However, they have been using the class from the libcamera_client.so which is not a VNDK library. By moving the class to the common@1.0-helper, which is available to vendors, we can eliminate the dependency to libcamera_client.so from the vendor libs. Bug: 62523241 Test: 2016/2017 Pixel devices build and boots. Camera functionalities work. Change-Id: I3f69f1591663390c050d1e75ac2957d3ecc38ba7
2017-05-09fix circular dependency libnativewindow <-> libuiMathias Agopian
Bug: 37647680, 37648355 Test: compile, manual Change-Id: I2fdec8e86f6729aadd572a250b9d55d77f0d4eef
2017-04-27Camera: use gralloc mapper for handle importYin-Chia Yeh
Bug: 37540361 Test: marlin, smoke test GCA Change-Id: I9d58d9c6af20b37c016f036bce2dcf55817c59aa
2017-03-01Camera: default implementation of device 1.0Yin-Chia Yeh
Also some updates to HIDL interface: - Add releaseRecordingFrameHandle to ICameraDevice for native handle metadata recording mode - Add handleCallbackTimestamp to ICameraDevieCallback for native handle metadata recording mode - Add missing face detection metadata to ICameraDeviceCallback::dataCallback - Instead of passing native handle, pass buffer ID in dequeueBuffer/enqueueBuffer/cancelBuffer in ICameraDevicePreviewCallback - Add CameraFrameMetadata in types.hal for face metadata Test: Camera CTS passing (except FlashLightTest) on Angler Bug: 30985004 Change-Id: Idf72a4b5f4c934845ac698f0b13536608ffd0100
2017-01-05Camera: Add default camera provider 2.4Yin-Chia Yeh
Supports legacy camera HAL modules; also exports ICameraDevice instances. Test: compile Bug: 30985004 Change-Id: I2b9624a412de95dd43979a5e6650b170010c577a
2017-01-05Camera: default implementation of device 3.2Yin-Chia Yeh
Test: compile Bug: 30985004 Change-Id: Ibb48673840de6a5f7c75dc6993d5457a272177a2