summaryrefslogtreecommitdiffstats
path: root/services/camera/libcameraservice/device3/Camera3DummyStream.h
Commit message (Collapse)AuthorAgeFilesLines
* Camera3Device: Support batch requestsChien-Yu Chen2015-09-031-0/+5
| | | | | | | | | | | | | | | | Refactor request threadLoop to three parts: waiting for next batch of requests, preparing HAL requests and output buffers for next batch of requests, and submitting the batch of requests to HAL. Set the batch size to the size of the request list if it's a video recording request in a high speed video configuration. Add a flush lock so that HAL's flush() won't be called while submitting a batch of requests. Bug: 23360060 Change-Id: Icd395b1f955a9b336eec6fa5aff6b17741ce08c7
* Camera2: Add prepare for output streamsEino-Ville Talvala2015-04-151-1/+1
| | | | | | | | | The prepare call asynchronously pre-allocates buffers for a given output stream, and then fires the onPrepared callback. Not implemented for Camera2Device or used in Camera2Client. Change-Id: I1cccdfff846dd6985133c591dbdceed823929ade
* Camera: plumbing rotation field throughYin-Chia Yeh2015-03-181-0/+1
| | | | Change-Id: I0f4343a0bfa7bf09ba887c78a1da1c08daa35333
* Camera: Wire up dataSpace, clean up ICameraDeviceUserEino-Ville Talvala2015-03-061-0/+1
| | | | | | | - Remove unused arguments from ICameraDeviceUser::createStream - Add dataSpace as a stream parameter, plumb it through everything Change-Id: I608cafe694785d1c512276e71b2016f8ac3b0ccb
* CameraService: Create a dummy stream when 0 streams are requested.Eino-Ville Talvala2014-08-281-0/+98
A workaround for a camera device HAL v3.2 or older specification hole - it's not acceptable to configure_streams with 0 output streams. However, we allow for this at the public API level, to allow an application to release all output streams. So in this case, create a dummy stream that doesn't actually do anything as a placeholder. Bug: 17220694 Change-Id: Ib25242ffc2c9f2b2f619fd5fe6d652266579da85