summaryrefslogtreecommitdiff
path: root/camera/device/3.5/default/CameraDeviceSession.cpp
AgeCommit message (Collapse)Author
2019-06-06Camera: Use original dataspace/format for 3.5 deviceShuzhen Wang
Starting from CameraDeviceSession 3.5, for IMPLEMENTATION_DEFINED pixel format, configureStreams call uses original format and dataspace instead of the overridden value. This makes sure the HAL interface behavior is consistent between first and subsequent processCaptureRequest() calls. Test: Camera CTS and partner testing Bug: 131864007 Change-Id: Id701141d2c11089ef063fd3f32444212855f84ab
2019-03-05Camera: fill in num_output_buffersYin-Chia Yeh
And also assert fence import should never fail. Test: none Bug: 125472550 Change-Id: Ib9bcc0234108ed0c752d5245d75fca6972e0c8ed
2019-02-14Camera: remove stream_configuration_counter from camera3.hYin-Chia Yeh
Handle the race issue in the wrapper HAL instead of letting HAL implementation handing it. Test: Pixel 3 + camera CTS + GCA Bug: 120986771 Change-Id: Iff97fcaa969bea6668679c57642e4322c4ca5c19
2019-02-14Camera: fix per stream error code for HAL buffer managerYin-Chia Yeh
Also some refactoring to make the code more readable and less indent. Also clarify the unknown error case that per stream error code might still be provided. Test: GCA smoke test and camera CTS Bug: 120986771 Change-Id: I3b7d3eadfe3895a3fdf3888735a3932d5c6c03bc
2019-02-12Camera: Enable session parameter reconfiguration queriesEmilian Peev
Check with Hal whether stream reconfiguration is required in case of session parameter updates. Bug: 122609098 Test: Manual using application, vts-tradefed run commandAndExit vts --skip-all-system-status-check --skip-preconditions --module VtsHalCameraProviderV2_4Target -l INFO Change-Id: Ic02525871aa079393b28b2da53764093f95f881d
2019-01-28Camera: support libhardware camera device 3.6Yin-Chia Yeh
Add buffer management API support. Test: VTS to be written. Need Pixel device impl to verify. Bug: 120986771 Change-Id: Icdbc621f8cd17aa0868d3ac361867c44793a268c
2018-10-15Camera: implement configureStreams@3.5Yin-Chia Yeh
So camera continue to work when camera service switch to use the @3.5 session. Test: manually check configureStream works Bug: 109829698 Change-Id: I4c7edcf59e68a2b4f04fee8229ed5d3c9b261c9f
2018-09-27Camera: new buffer management HIDL APIsYin-Chia Yeh
No actual implementations yet. Test: compile, new VTS to be written Bug: 109829698 Change-Id: Ibe509dd743a84b147fdfed6599d8f066adb8793b