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
|