Searched refs:gBufferPool (Results 1 – 1 of 1) sorted by relevance
50 std::vector<sp<EncodedBuffer>> gBufferPool; variable55 if (gBufferPool.size() == 0) { in get_buffer_from_pool()58 sp<EncodedBuffer> buffer = gBufferPool.back(); in get_buffer_from_pool()59 gBufferPool.pop_back(); in get_buffer_from_pool()66 gBufferPool.push_back(buffer); in return_buffer_to_pool()71 gBufferPool.clear(); in clear_buffer_pool()