summaryrefslogtreecommitdiff
path: root/camera/common/1.0/default/HandleImporter.cpp
AgeCommit message (Collapse)Author
2022-07-28Camera: Import gralloc buffers before metadata queriesEmilian Peev
Raw buffer handles do not support metadata queries and need to be imported first. Additionally map the result buffer ids to the inflight buffers and queue the maximum amount of inflight buffers as advertised by Hal. Since we will be streaming a set of buffers, use an appropriate preview size. Bug: 237576060 Test: adb shell /data/nativetest64/VtsAidlHalCameraProvider_TargetTest/VtsAidlHalCameraProvider_TargetTest --gtest_filter=PerInstance/CameraAidlTest.process10BitDynamicRangeRequest/0_android_hardware_camera_provider_ICameraProvider_internal_0 Change-Id: Id854c2a8d1588a151240d1b32197dbace7e1a057
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-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-14Merge "Implement lockYCbCr stub for Mapper 4.0" into rvc-devJason Macnak
2020-05-12Implement lockYCbCr stub for Mapper 4.0Jason Macnak
(Includes bpfmt changes from repo hook) Bug: b/146515640 Test: cts -m CtsCameraTestCases Change-Id: Ibd882db1883e0976c2baf95257e51c29de6e6853
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
2020-02-03Camera: fix offline processing VTS/CTSYin-Chia Yeh
Test: camera VTS test + add manual delay to webcam HAL output thread so there will be some requests left for offline processing camera CTS OfflineSessionTest Bug: 135142453 Change-Id: If5718350707ef051f96b96da75f934089b10467d
2019-11-21gralloc: update lock and lockYCbCrMarissa Wall
IMapper 4.0 does support lockYCbCr functionality through lock and BufferMetadata getters. However, we will wait to add the support in one central gralloc library. For now just stub out the call so there aren't any compiler errors. Bug: 141631415 Test: Compiles Change-Id: I9d2f70c87412f8ac2114db85eb6dc01539876e2b
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
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-22Camera: Add external camera providerYin-Chia Yeh
Bug: 64874137 63873538 Change-Id: I4309874a7dedd3dd71d4bd0c2004d460421db679
2017-04-27Camera: use gralloc mapper for handle importYin-Chia Yeh
Bug: 37540361 Test: marlin, smoke test GCA Change-Id: I9d58d9c6af20b37c016f036bce2dcf55817c59aa
2017-04-06Fix transitive includes.Steven Moreland
Files relying on transitive include of utils/Log.h (and things that it includes) from MQDescriptor.h Test: pass Merged-In: Iff316b21bef556bb026378b7f89e97ded3febef4 Change-Id: Iff316b21bef556bb026378b7f89e97ded3febef4
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