89954d931d7b952597dc8e29e7a87da31a4ae0b1 |
|
22-May-2017 |
Yin-Chia Yeh <yinchiayeh@google.com> |
Camera: Free buffers more aggressively This change attempts to free buffers managerd by BufferManager more aggresively to reduce memory pressure. Also fix a small buffer accounting issue: check detachBuffer actually returns a non-null buffer. Test: keep taking single shot in GCA, CTS Bug: 38483630 Change-Id: I6c64d1dc2244cec4f1300bbf3992f66f2167eed2
/frameworks/av/services/camera/libcameraservice/device3/Camera3BufferManager.h
|
fd76cf5246c714a1c1ef10b2b974cacf0077f216 |
|
15-May-2017 |
Shuzhen Wang <shuzhenwang@google.com> |
Camera: Handle consumer side detach in BufferManager - BufferQueue consumer may detach buffers, and BufferManager isn't aware. Hook up onBufferRemoved callback so that BufferManager's internal handoutBuffer and attachedBuffer counts can be updated when a buffer is detached. - Deleted some code that's not exercised any more. Test: Camera CTS and burst capture. Bug: 38238747 Change-Id: I6861da6e013fe5609907f807639c5d691c0c3af9
/frameworks/av/services/camera/libcameraservice/device3/Camera3BufferManager.h
|
2752e5b66ac80b5d6bcba1db186f29f86722956b |
|
28-Feb-2017 |
Mathias Agopian <mathias@google.com> |
fallout of getting rid of IGraphicBufferAlloc Test: compile & run Bug: cleanup Change-Id: Ifba0668d798c523c556ca7dae2c172711a256b05
/frameworks/av/services/camera/libcameraservice/device3/Camera3BufferManager.h
|
01d56fe3fcad97dbed15093e03d6f50eca9fbef9 |
|
08-Feb-2017 |
Mathias Agopian <mathias@google.com> |
Add missing includes Test: compiled Bug: not applicable Change-Id: Ie4007970f83e5d08b2d35e78a49d93d696809d7b
/frameworks/av/services/camera/libcameraservice/device3/Camera3BufferManager.h
|
d19d994770a04f02c204affd29985c5aeaa58baa |
|
29-Aug-2016 |
Chih-Hung Hsieh <chh@google.com> |
Fix google-explicit-constructor warnings in camera. * Add explicit keyword to conversion constructors. Bug: 28341362 Test: build with WITH_TIDY=1 Change-Id: I61f9b5b2b6e13e0c6561327bc8dfe69c9cfc5ba5
/frameworks/av/services/camera/libcameraservice/device3/Camera3BufferManager.h
|
77c1a3554275a51ac8eb9fbe86f476afc8983192 |
|
13-Jun-2016 |
Eino-Ville Talvala <etalvala@google.com> |
Camera: BufferManager: Don't attach/detach on every frame - Maintain separate count of attached buffers - Only attach when new buffers need to be allocated - Only detach when a buffer needs to be freed - Fix missing notification initializations - Remove warning that's always logged Bug: 28695173 Change-Id: I38e997fa1e69c2b8743e43eed31a6a08a6f9cd7a
/frameworks/av/services/camera/libcameraservice/device3/Camera3BufferManager.h
|
8d1a154cc6239096edda698ea638e6ab6fe53c4e |
|
30-Jan-2016 |
Zhijun He <zhijunhe@google.com> |
Camera3: add dynamic buffer count water mark support The dynamic buffer count water mark starts from zero, and grows when the max of hand-out buffer counts grow, until reach to the max allowed total buffer count. For the case where the clients almost always uses less number of buffers than the max allowed total buffer count, the dynamic buffer count water mark will remain low, and the memory footprint will be smaller. Change-Id: I305f40232f4740d3e9bedf14ee9b76a81e29e244
/frameworks/av/services/camera/libcameraservice/device3/Camera3BufferManager.h
|
125684aba1a11b7adbf5f9d607ee2bcc9449081c |
|
27-Dec-2015 |
Zhijun He <zhijunhe@google.com> |
Camera3: add camera3 buffer manager support * Add camera buffer manager for buffer allocation and sharing management across multiple streams. Only gralloc v0 implementation is done, v1 implementation is pending. With this, the max mem footprint for multiple streams in the same stream set will be the max buffer count x max buffer size. * API1 client will still use the old bufferQueue code path, buffer manager is only targeting at API2 clients. * Prepare and teardown should work with buffer manager. * Some existing code typo fix and cleanup (to fix the compiling warnings). Bug: 25088440 Change-Id: I68b246faa43080302acd02a8e976384bd3e26a23
/frameworks/av/services/camera/libcameraservice/device3/Camera3BufferManager.h
|