Home
last modified time | relevance | path

Searched refs:pool (Results 1 – 12 of 12) sorted by relevance

/device/google/cuttlefish/host/frontend/webrtc/
Dcvd_video_frame_buffer.cpp34 std::multimap<int, std::vector<uint8_t>> pool; variable
39 auto it = pool.find(size); in FromPool()
40 if (it != pool.end()) { in FromPool()
42 pool.erase(it); in FromPool()
51 pool.insert({item.size(), std::move(item)}); in BackToPool()
/device/generic/goldfish-opengl/system/codecs/c2/decoders/vpxdec/
DC2GoldfishVpxDec.h39 const std::shared_ptr<C2BlockPool> &pool) override;
41 const std::shared_ptr<C2BlockPool> &pool) override;
67 void checkContext(const std::shared_ptr<C2BlockPool> &pool);
75 status_t outputBuffer(const std::shared_ptr<C2BlockPool> &pool,
78 const std::shared_ptr<C2BlockPool> &pool,
DC2GoldfishVpxDec.cpp591 void C2GoldfishVpxDec::checkContext(const std::shared_ptr<C2BlockPool> &pool) { in checkContext() argument
606 const bool isGraphic = (pool->getAllocatorId() & C2Allocator::GRAPHIC); in checkContext()
607 DDD("buffer pool allocator id %x", (int)(pool->getAllocatorId())); in checkContext()
609 uint64_t client_usage = getClientUsage(pool); in checkContext()
724 const std::shared_ptr<C2BlockPool> &pool) { in process() argument
751 checkContext(pool); in process()
829 status_t err = outputBuffer(pool, work); in process()
845 drainInternal(DRAIN_COMPONENT_WITH_EOS, pool, work); in process()
890 C2GoldfishVpxDec::outputBuffer(const std::shared_ptr<C2BlockPool> &pool, in outputBuffer() argument
892 if (!(work && pool)) in outputBuffer()
[all …]
/device/generic/goldfish-opengl/system/codecs/c2/decoders/base/
Dcolor_buffer_utils.cpp68 uint64_t getClientUsage(const std::shared_ptr<C2BlockPool> &pool) { in getClientUsage() argument
72 pool->fetchGraphicBlock(2, 2, format, usage, &myOutBlock); in getClientUsage()
138 uint64_t getClientUsage(const std::shared_ptr<C2BlockPool> &pool) { in getClientUsage() argument
139 return getGlobals()->getClientUsage(pool); in getClientUsage()
/device/generic/goldfish-opengl/system/codecs/c2/decoders/hevcdec/
DC2GoldfishHevcDec.h57 const std::shared_ptr<C2BlockPool> &pool) override;
59 const std::shared_ptr<C2BlockPool> &pool) override;
62 void checkMode(const std::shared_ptr<C2BlockPool> &pool);
69 c2_status_t ensureDecoderState(const std::shared_ptr<C2BlockPool> &pool);
73 const std::shared_ptr<C2BlockPool> &pool,
DC2GoldfishHevcDec.cpp666 C2GoldfishHevcDec::ensureDecoderState(const std::shared_ptr<C2BlockPool> &pool) { in ensureDecoderState() argument
675 c2_status_t err = pool->fetchGraphicBlock(ALIGN2(mWidth), mHeight, in ensureDecoderState()
695 void C2GoldfishHevcDec::checkMode(const std::shared_ptr<C2BlockPool> &pool) { in checkMode() argument
699 const bool isGraphic = (pool->getAllocatorId() & C2Allocator::GRAPHIC); in checkMode()
700 DDD("buffer pool allocator id %x", (int)(pool->getAllocatorId())); in checkMode()
702 uint64_t client_usage = getClientUsage(pool); in checkMode()
850 const std::shared_ptr<C2BlockPool> &pool) { in process() argument
863 checkMode(pool); in process()
891 if (C2_OK != ensureDecoderState(pool)) { in process()
941 drainInternal(DRAIN_COMPONENT_NO_EOS, pool, work); in process()
[all …]
/device/generic/goldfish-opengl/system/codecs/c2/decoders/avcdec/
DC2GoldfishAvcDec.h57 const std::shared_ptr<C2BlockPool> &pool) override;
59 const std::shared_ptr<C2BlockPool> &pool) override;
62 void checkMode(const std::shared_ptr<C2BlockPool> &pool);
69 c2_status_t ensureDecoderState(const std::shared_ptr<C2BlockPool> &pool);
73 const std::shared_ptr<C2BlockPool> &pool,
DC2GoldfishAvcDec.cpp720 C2GoldfishAvcDec::ensureDecoderState(const std::shared_ptr<C2BlockPool> &pool) { in ensureDecoderState() argument
729 c2_status_t err = pool->fetchGraphicBlock(ALIGN2(mWidth), mHeight, in ensureDecoderState()
749 void C2GoldfishAvcDec::checkMode(const std::shared_ptr<C2BlockPool> &pool) { in checkMode() argument
753 const bool isGraphic = (pool->getAllocatorId() & C2Allocator::GRAPHIC); in checkMode()
754 DDD("buffer pool allocator id %x", (int)(pool->getAllocatorId())); in checkMode()
756 uint64_t client_usage = getClientUsage(pool); in checkMode()
903 const std::shared_ptr<C2BlockPool> &pool) { in process() argument
916 checkMode(pool); in process()
944 if (C2_OK != ensureDecoderState(pool)) { in process()
988 drainInternal(DRAIN_COMPONENT_NO_EOS, pool, work); in process()
[all …]
/device/generic/goldfish-opengl/system/codecs/c2/decoders/base/include/
Dcolor_buffer_utils.h20 uint64_t getClientUsage(const std::shared_ptr<C2BlockPool> &pool);
DSimpleC2Component.h98 const std::shared_ptr<C2BlockPool> &pool) = 0;
111 const std::shared_ptr<C2BlockPool> &pool) = 0;
/device/google/cuttlefish_vmm/qemu/x86_64-linux-gnu/usr/share/qemu/
Dtrace-events-all157 # thread-pool.c
158 thread_pool_submit(void *pool, void *req, void *opaque) "pool %p req %p opaque %p"
159 thread_pool_complete(void *pool, void *req, void *opaque, int ret) "pool %p req %p opaque %p ret %d"
379 … *pool, const char *action, int cluster_type, uint64_t host_offset, uint64_t offset, uint64_t byte…
3124 spapr_vlan_get_rx_bd_from_pool_found(int pool, int32_t count, uint32_t rx_bufs) "pool=%d count=%"PR…
3130 spapr_vlan_add_rxbuf_to_pool_create(int pool, uint64_t len) "created RX pool %d for size %"PRIu64
3131 spapr_vlan_add_rxbuf_to_pool(int pool, uint64_t len, int32_t count) "add buf using pool %d (size %"…
/device/google/cuttlefish_vmm/qemu/aarch64-linux-gnu/usr/share/qemu/
Dtrace-events-all157 # thread-pool.c
158 thread_pool_submit(void *pool, void *req, void *opaque) "pool %p req %p opaque %p"
159 thread_pool_complete(void *pool, void *req, void *opaque, int ret) "pool %p req %p opaque %p ret %d"
379 … *pool, const char *action, int cluster_type, uint64_t host_offset, uint64_t offset, uint64_t byte…
3124 spapr_vlan_get_rx_bd_from_pool_found(int pool, int32_t count, uint32_t rx_bufs) "pool=%d count=%"PR…
3130 spapr_vlan_add_rxbuf_to_pool_create(int pool, uint64_t len) "created RX pool %d for size %"PRIu64
3131 spapr_vlan_add_rxbuf_to_pool(int pool, uint64_t len, int32_t count) "add buf using pool %d (size %"…