commit | d5cd5ffe3ada6b71818d9957bd7ca68b10e54268 | [log] [tgz] |
---|---|---|
author | Yin-Chia Yeh <yinchiayeh@google.com> | Mon Oct 01 14:43:04 2018 -0700 |
committer | Yin-Chia Yeh <yinchiayeh@google.com> | Thu Nov 08 10:32:30 2018 -0800 |
tree | 453088b96fa46fd9e8a43154add309a36456db12 | |
parent | 0b28757873bdd37a537d7d820408d6bf98e6c35a [diff] [blame] |
Camera: implement buffer managment API Test: compile Bug: 109829698 Change-Id: I3d95792282da52db9db6fd6a086bbd7b3ff9dca9
diff --git a/services/camera/libcameraservice/device3/Camera3SharedOutputStream.cpp b/services/camera/libcameraservice/device3/Camera3SharedOutputStream.cpp index fb3ce4c..1c13950 100644 --- a/services/camera/libcameraservice/device3/Camera3SharedOutputStream.cpp +++ b/services/camera/libcameraservice/device3/Camera3SharedOutputStream.cpp
@@ -138,6 +138,10 @@ return res; } + // TODO: need to refactor this to support requestStreamBuffers API + // Need to wait until processCaptureResult to decide the source buffer + // to attach to output... + // Attach the buffer to the splitter output queues. This could block if // the output queue doesn't have any empty slot. So unlock during the course // of attachBufferToOutputs.