Home
last modified time | relevance | path

Searched refs:refCount (Results 1 – 14 of 14) sorted by relevance

/hardware/ti/omap3/omx/system/src/openmax_il/omx_core/src/
DOMX_Core.c212 cComponentName, componentTable[refIndex].refCount); in TIOMX_GetHandle()
215 if (componentTable[refIndex].refCount >= MAX_CONCURRENT_INSTANCES) { in TIOMX_GetHandle()
281 componentTable[refIndex].pHandle[componentTable[refIndex].refCount] = *pHandle; in TIOMX_GetHandle()
282 componentTable[refIndex].refCount += 1; in TIOMX_GetHandle()
364 for (handleIndex=0; handleIndex < componentTable[refIndex].refCount; handleIndex++){ in TIOMX_FreeHandle()
368 hComponent, refIndex, componentTable[refIndex].refCount); in TIOMX_FreeHandle()
369 if (componentTable[refIndex].refCount) { in TIOMX_FreeHandle()
370 componentTable[refIndex].refCount -= 1; in TIOMX_FreeHandle()
754 componentTable[numFiles].refCount = 0; //initialize reference counter. in TIOMX_BuildComponentTable()
/hardware/ti/omap4xxx/camera/
DBaseCameraAdapter.cpp259 int refCount = -1; in returnFrame() local
271 refCount = getFrameRefCount(frameBuf, frameType); in returnFrame()
282 if ( 0 < refCount ) in returnFrame()
285 refCount--; in returnFrame()
286 setFrameRefCount(frameBuf, frameType, refCount); in returnFrame()
290 refCount += getFrameRefCount(frameBuf, CameraFrame::PREVIEW_FRAME_SYNC); in returnFrame()
292 refCount += getFrameRefCount(frameBuf, CameraFrame::VIDEO_FRAME_SYNC); in returnFrame()
294 refCount += getFrameRefCount(frameBuf, CameraFrame::VIDEO_FRAME_SYNC); in returnFrame()
306 CAMHAL_LOGVB("REFCOUNT 0x%x %d", frameBuf, refCount); in returnFrame()
311 if ( 0 == refCount ) in returnFrame()
[all …]
/hardware/intel/common/libwsbm/src/
Dwsbm_pool.h47 struct _WsbmAtomic refCount; member
94 wsbmAtomicSet(&storage->refCount, 1); in wsbmBufStorageInit()
115 if (wsbmAtomicDecZero(&storage->refCount)) { in wsbmBufStorageUnref()
Dwsbm_fencemgr.c100 struct _WsbmAtomic refCount; member
171 if (wsbmAtomicDecZero(&fence->refCount)) { in wsbmFenceUnreference()
292 wsbmAtomicInc(&fence->refCount); in wsbmFenceReference()
313 wsbmAtomicSet(&fence->refCount, 1); in wsbmFenceCreateSig()
Dwsbm_manager.c73 struct _WsbmAtomic refCount; member
438 wsbmAtomicInc(&buf->storage->refCount); in wsbmBOReference()
440 wsbmAtomicInc(&buf->refCount); in wsbmBOReference()
477 if (wsbmAtomicDecZero(&buf->refCount)) { in wsbmBOUnreference()
770 wsbmAtomicSet(&newBuf->refCount, 1); in wsbmBOClone()
849 wsbmAtomicInc(&storage->refCount); in wsbmBOSubData()
984 wsbmAtomicSet(&buf->refCount, 1); in wsbmGenBuffers()
1147 wsbmAtomicInc(&storage->refCount); in wsbmBOAddListItem()
Dwsbm_slabpool.c832 wsbmAtomicSet(&sBuf->storage.refCount, 1); in pool_destroy()
/hardware/ti/omap4-aah/camera/
DBaseCameraAdapter.cpp338 int refCount = -1; in returnFrame() local
350 refCount = getFrameRefCount(frameBuf, frameType); in returnFrame()
361 if ( 0 < refCount ) in returnFrame()
364 refCount--; in returnFrame()
365 setFrameRefCount(frameBuf, frameType, refCount); in returnFrame()
369 refCount += getFrameRefCount(frameBuf, CameraFrame::PREVIEW_FRAME_SYNC); in returnFrame()
371 refCount += getFrameRefCount(frameBuf, CameraFrame::VIDEO_FRAME_SYNC); in returnFrame()
373 refCount += getFrameRefCount(frameBuf, CameraFrame::VIDEO_FRAME_SYNC); in returnFrame()
385 CAMHAL_LOGVB("REFCOUNT 0x%x %d", frameBuf, refCount); in returnFrame()
390 if ( 0 == refCount ) in returnFrame()
[all …]
/hardware/intel/img/hwcomposer/common/buffers/
DBufferManager.cpp210 int refCount = mapper->decRef(); in unmap() local
211 if (refCount < 0) { in unmap()
213 } else if (!refCount) { in unmap()
/hardware/ti/omap3/omx/system/src/openmax_il/omx_core/inc/
DOMX_ComponentRegistry.h17 int refCount; member
/hardware/ti/omap4xxx/camera/inc/
DBaseCameraAdapter.h160 void setFrameRefCount(void* frameBuf, CameraFrame::FrameType frameType, int refCount);
/hardware/ti/omap4-aah/camera/inc/
DBaseCameraAdapter.h179 void setFrameRefCount(CameraBuffer* frameBuf, CameraFrame::FrameType frameType, int refCount);
/hardware/ti/omap4-aah/camera/OMXCameraAdapter/
DOMXCameraAdapter.cpp3301 unsigned int refCount = 0; in OMXCameraAdapterEmptyBufferDone() local
3425 unsigned int refCount = 0; in OMXCameraAdapterFillBufferDone() local
/hardware/libhardware_legacy/audio/
DAudioPolicyManagerBase.cpp2260 int refCount = dupOutputDesc->mRefCount[j]; in closeOutput() local
2261 outputDesc2->changeRefCount((AudioSystem::stream_type)j,-refCount); in closeOutput()
/hardware/ti/omap4xxx/camera/OMXCameraAdapter/
DOMXCameraAdapter.cpp2935 unsigned int refCount = 0; in OMXCameraAdapterFillBufferDone() local