Home
last modified time | relevance | path

Searched refs:refCount (Results 1 – 7 of 7) 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
272 refCount = getFrameRefCount(frameBuf, frameType); in returnFrame()
283 if ( 0 < refCount ) in returnFrame()
286 refCount--; in returnFrame()
287 setFrameRefCount(frameBuf, frameType, refCount); in returnFrame()
291 refCount += getFrameRefCount(frameBuf, CameraFrame::PREVIEW_FRAME_SYNC); in returnFrame()
293 refCount += getFrameRefCount(frameBuf, CameraFrame::VIDEO_FRAME_SYNC); in returnFrame()
295 refCount += getFrameRefCount(frameBuf, CameraFrame::VIDEO_FRAME_SYNC); in returnFrame()
307 CAMHAL_LOGVB("REFCOUNT 0x%x %d", frameBuf, refCount); in returnFrame()
312 if ( 0 == refCount ) in returnFrame()
[all …]
/hardware/ti/omap3/omx/system/src/openmax_il/omx_core/inc/
DOMX_ComponentRegistry.h17 int refCount; member
/hardware/libhardware_legacy/audio/
DAudioPolicyManagerBase.cpp656 if (outputDesc->refCount() == 0) { in releaseOutput()
1374 uint32_t refCount = hwOutputDesc->strategyRefCount(STRATEGY_SONIFICATION); in handleA2dpConnection() local
1375 refCount += hwOutputDesc->strategyRefCount(STRATEGY_ENFORCED_AUDIBLE); in handleA2dpConnection()
1376 for (uint32_t i = 0; i < refCount; i++) { in handleA2dpConnection()
1406 … uint32_t refCount = mOutputs.valueFor(mHardwareOutput)->strategyRefCount(STRATEGY_SONIFICATION); in handleA2dpDisconnection() local
1407 refCount += mOutputs.valueFor(mHardwareOutput)->strategyRefCount(STRATEGY_ENFORCED_AUDIBLE); in handleA2dpDisconnection()
1408 for (uint32_t i = 0; i < refCount; i++) { in handleA2dpDisconnection()
1430 int refCount = dupOutputDesc->mRefCount[i]; in closeA2dpOutputs() local
1431 hwOutputDesc->changeRefCount((AudioSystem::stream_type)i,-refCount); in closeA2dpOutputs()
2317 uint32_t AudioPolicyManagerBase::AudioOutputDescriptor::refCount() in refCount() function in android_audio_legacy::AudioPolicyManagerBase::AudioOutputDescriptor
[all …]
/hardware/ti/omap4xxx/camera/inc/
DBaseCameraAdapter.h157 void setFrameRefCount(void* frameBuf, CameraFrame::FrameType frameType, int refCount);
/hardware/libhardware_legacy/include/hardware_legacy/
DAudioPolicyManagerBase.h180 uint32_t refCount();
/hardware/ti/omap4xxx/camera/OMXCameraAdapter/
DOMXCameraAdapter.cpp2874 unsigned int refCount = 0; in OMXCameraAdapterFillBufferDone() local