Searched refs:refcount (Results 1 – 1 of 1) sorted by relevance
259 int refcount = 0; in processNewFrame() local273 refcount += 1; in processNewFrame()282 if (refcount > 0) { in processNewFrame()284 mBufferRecords.put(id, refcount); in processNewFrame()290 return refcount; in processNewFrame()394 int refcount = mBufferRecords.get(bufferId) - 1; in doneWithFrame() local395 if (refcount > 0) { in doneWithFrame()397 Slogf.d(mLogTag, "Buffer %d has %d references.", id, refcount); in doneWithFrame()399 mBufferRecords.put(bufferId, refcount); in doneWithFrame()