Searched defs:pool (Results 1 - 14 of 14) sorted by relevance

/hardware/intel/common/libmix/mix_video/src/
H A Dmixbuffer_private.h20 MixBufferPool *pool; member in struct:_MixBufferPrivate
36 mix_buffer_set_pool (MixBuffer *obj, MixBufferPool *pool);
H A Dmixvideoframe_private.h28 MixSurfacePool *pool; member in struct:_MixVideoFramePrivate
47 mix_videoframe_set_pool (MixVideoFrame *obj, MixSurfacePool *pool);
H A Dmixbuffer.c41 priv->pool = NULL;
192 MIX_RESULT mix_buffer_set_pool(MixBuffer *obj, MixBufferPool *pool) { argument
196 priv->pool = pool;
209 // Check if we have reduced to 1, in which case we add ourselves to free pool
212 g_return_if_fail(priv->pool != NULL);
217 mix_bufferpool_put(priv->pool, obj);
H A Dmixvideoframe.c52 /* set pool pointer in private structure to NULL */
53 priv -> pool = NULL;
126 // Check if we have reduced to 1, in which case we add ourselves to free pool
130 LOG_I("Adding obj %x, frame id %d back to pool\n", (guint) obj,
133 MixSurfacePool *pool = NULL; local
134 pool = priv -> pool;
135 if(pool == NULL) {
136 LOG_E("pool is NULL\n");
140 mix_surfacepool_put(pool, ob
329 mix_videoframe_set_pool(MixVideoFrame * obj, MixSurfacePool * pool) argument
[all...]
/hardware/intel/common/libwsbm/src/
H A Dwsbm_mallocpool.c56 pool_create(struct _WsbmBufferPool *pool, argument
64 wsbmBufStorageInit(&mBuf->buf, pool);
156 pool_takedown(struct _WsbmBufferPool *pool) argument
158 free(pool);
164 struct _WsbmBufferPool *pool; local
166 pool = (struct _WsbmBufferPool *)calloc(1, sizeof(*pool));
167 if (!pool)
170 pool->fd = -1;
171 pool
[all...]
H A Dwsbm_pool.h45 struct _WsbmBufferPool *pool; member in struct:_WsbmBufStorage
68 struct _WsbmBufStorage *(*create) (struct _WsbmBufferPool * pool,
73 pool, uint32_t handle);
82 void (*takeDown) (struct _WsbmBufferPool * pool);
87 struct _WsbmBufferPool *pool)
93 storage->pool = pool;
118 storage->pool->destroy(&storage);
158 extern void wsbmUserPoolClean(struct _WsbmBufferPool *pool,
86 wsbmBufStorageInit(struct _WsbmBufStorage *storage, struct _WsbmBufferPool *pool) argument
H A Dwsbm_ttmpool.c58 * Buffer pool implementation using DRM buffer objects as wsbm buffer objects.
92 struct _WsbmBufferPool pool; member in struct:_TTMPool
100 return containerOf(dBuf->buf.pool, struct _TTMPool, pool);
110 pool_create(struct _WsbmBufferPool *pool, argument
115 struct _TTMPool *ttmPool = containerOf(pool, struct _TTMPool, pool);
126 ret = wsbmBufStorageInit(&dBuf->buf, pool);
138 DRMRESTARTCOMMANDWRITEREAD(pool->fd, ttmPool->devOffset + TTM_PL_CREATE,
163 pool_reference(struct _WsbmBufferPool *pool, unsigne argument
440 struct _WsbmBufferPool *pool = buf->pool; local
453 pool_takedown(struct _WsbmBufferPool *pool) argument
469 struct _WsbmBufferPool *pool = buf->pool; local
498 struct _WsbmBufferPool *pool; local
532 ttm_pool_ub_create(struct _WsbmBufferPool *pool, unsigned long size, uint32_t placement, unsigned alignment, const unsigned long *user_ptr, int fd) argument
[all...]
H A Dwsbm_userpool.c63 /* Protected by the pool mutex */
92 struct _WsbmBufferPool pool; member in struct:_WsbmUserPool
111 return containerOf(buf->buf.pool, struct _WsbmUserPool, pool);
204 pool_create(struct _WsbmBufferPool *pool, argument
207 struct _WsbmUserPool *p = containerOf(pool, struct _WsbmUserPool, pool);
213 wsbmBufStorageInit(&vBuf->buf, pool);
389 * pool mutex held when accessing the buffer fence member.
583 pool_takedown(struct _WsbmBufferPool *pool) argument
612 wsbmUserPoolClean(struct _WsbmBufferPool *pool, int cleanVram, int cleanAgp) argument
631 struct _WsbmBufferPool *pool; local
[all...]
H A Dwsbm_manager.c79 struct _WsbmBufferPool *pool; member in struct:_WsbmBufferObject
366 (void)storage->pool->waitIdle(storage, lazy);
376 retval = storage->pool->map(storage, mode, &virtual);
389 storage->pool->unmap(storage);
397 return storage->pool->syncforcpu(storage, mode);
405 storage->pool->releasefromcpu(storage, mode);
413 return storage->pool->offset(storage);
421 return storage->pool->poolOffset(storage);
431 return storage->pool->placement(storage);
454 if (storage->pool
747 struct _WsbmBufferPool *pool = storage->pool; local
773 struct _WsbmBufferPool *pool = buf->storage->pool; local
821 struct _WsbmBufferPool *pool = storage->pool; local
884 struct _WsbmBufferPool *pool = storage->pool; local
929 wsbmBOCreateSimple(struct _WsbmBufferPool *pool, unsigned long size, uint32_t placement, unsigned alignment, size_t extra_size, size_t * offset) argument
968 wsbmGenBuffers(struct _WsbmBufferPool *pool, unsigned n, struct _WsbmBufferObject *buffers[], unsigned alignment, uint32_t placement) argument
1276 wsbmPoolTakeDown(struct _WsbmBufferPool *pool) argument
[all...]
H A Dwsbm_slabpool.c171 struct _WsbmBufferPool pool; member in struct:_WsbmSlabPool
192 slabPoolFromPool(struct _WsbmBufferPool *pool) argument
194 return containerOf(pool, struct _WsbmSlabPool, pool);
200 return slabPoolFromPool(sBuf->storage.pool);
246 (void)drmCommandWrite(slabPool->pool.fd,
374 DRMRESTARTCOMMANDWRITEREAD(slabPool->pool.fd,
407 DRMRESTARTCOMMANDWRITEREAD(slabPool->pool.fd,
424 slabPool->pool.fd, kbo->mapHandle);
437 (void)drmCommandWrite(slabPool->pool
697 pool_create(struct _WsbmBufferPool *pool, unsigned long size, uint32_t placement, unsigned alignment) argument
1123 pool_takedown(struct _WsbmBufferPool *pool) argument
1148 struct _WsbmBufferPool *pool; local
[all...]
/hardware/interfaces/automotive/vehicle/2.1/default/impl/vhal_v2_1/
H A DEmulatedVehicleHal.cpp226 auto& pool = *getValuePool(); local
230 v = pool.obtainComplex();
234 v = pool.obtainComplex();
/hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/
H A DEmulatedVehicleHal.cpp131 auto& pool = *getValuePool(); local
137 v = pool.obtain(*internalPropValue);
/hardware/intel/img/psb_video/src/
H A Dpsb_drv_video.c3075 struct _WsbmBufferPool *pool; local
3106 pool = wsbmTTMPoolInit(driver_data->drm_fd,
3108 if (pool == NULL) {
3109 drv_debug_msg(VIDEO_DEBUG_ERROR, "failed to get ttm pool\n");
3112 driver_data->main_pool = pool;
/hardware/interfaces/camera/provider/2.4/vts/functional/
H A DVtsHalCameraProviderV2_4TargetTest.cpp615 sp<::android::MemoryHeapBase> pool = new ::android::MemoryHeapBase( local
617 mParent->mMemoryPool.emplace(pool->getHeapID(), pool);
619 return pool->getHeapID();
624 ALOGE("%s: memory pool ID %d not found", __FUNCTION__, memId);
651 ADD_FAILURE() << "memory pool ID " << data << "not found";
667 ADD_FAILURE() << "memory pool ID " << data << " not found";
684 ADD_FAILURE() << "memory pool ID " << msg.data << " not found";

Completed in 5183 milliseconds