Lines Matching refs:streamSetId

43     int streamSetId = streamInfo.streamSetId;  in registerStream()  local
45 if (streamId == CAMERA3_STREAM_ID_INVALID || streamSetId == CAMERA3_STREAM_SET_ID_INVALID) { in registerStream()
47 __FUNCTION__, streamId, streamSetId); in registerStream()
52 __FUNCTION__, streamId, streamSetId, streamInfo.totalBufferCount); in registerStream()
78 mStreamSetMap[i].streamInfoMap[streamIdx].streamSetId != streamInfo.streamSetId) { in registerStream()
86 ssize_t setIdx = mStreamSetMap.indexOfKey(streamSetId); in registerStream()
89 __FUNCTION__, streamSetId); in registerStream()
92 setIdx = mStreamSetMap.add(streamSetId, newStreamSet); in registerStream()
99 __FUNCTION__, streamId, streamSetId); in registerStream()
116 status_t Camera3BufferManager::unregisterStream(int streamId, int streamSetId) { in unregisterStream() argument
121 streamId, streamSetId); in unregisterStream()
123 if (!checkIfStreamRegisteredLocked(streamId, streamSetId)){ in unregisterStream()
125 __FUNCTION__, streamId, streamSetId); in unregisterStream()
130 StreamSet& currentSet = mStreamSetMap.editValueFor(streamSetId); in unregisterStream()
153 mStreamSetMap.removeItem(streamSetId); in unregisterStream()
159 void Camera3BufferManager::notifyBufferRemoved(int streamId, int streamSetId) { in notifyBufferRemoved() argument
161 StreamSet &streamSet = mStreamSetMap.editValueFor(streamSetId); in notifyBufferRemoved()
168 int streamId, int streamSetId) { in checkAndFreeBufferOnOtherStreamsLocked() argument
170 StreamSet &streamSet = mStreamSetMap.editValueFor(streamSetId); in checkAndFreeBufferOnOtherStreamsLocked()
172 ALOGV("StreamSet %d has no other stream available to free", streamSetId); in checkAndFreeBufferOnOtherStreamsLocked()
193 ALOGV("StreamSet %d has no buffer available to free", streamSetId); in checkAndFreeBufferOnOtherStreamsLocked()
239 status_t Camera3BufferManager::getBufferForStream(int streamId, int streamSetId, in getBufferForStream() argument
245 streamId, streamSetId); in getBufferForStream()
247 if (!checkIfStreamRegisteredLocked(streamId, streamSetId)) { in getBufferForStream()
249 __FUNCTION__, streamId, streamSetId); in getBufferForStream()
253 StreamSet &streamSet = mStreamSetMap.editValueFor(streamSetId); in getBufferForStream()
270 ALOGV("Stream %d set %d: Get buffer for stream: Allocate new", streamId, streamSetId); in getBufferForStream()
311 res = checkAndFreeBufferOnOtherStreamsLocked(streamId, streamSetId); in getBufferForStream()
317 res = checkAndFreeBufferOnOtherStreamsLocked(streamId, streamSetId); in getBufferForStream()
330 int streamId, int streamSetId, bool* shouldFreeBuffer) { in onBufferReleased() argument
339 ALOGV("Stream %d set %d: Buffer released", streamId, streamSetId); in onBufferReleased()
342 if (!checkIfStreamRegisteredLocked(streamId, streamSetId)){ in onBufferReleased()
344 "(stream %d with set id %d)", __FUNCTION__, streamId, streamSetId); in onBufferReleased()
349 StreamSet& streamSet = mStreamSetMap.editValueFor(streamSetId); in onBufferReleased()
353 ALOGV("%s: Stream %d set %d: Buffer count now %zu", __FUNCTION__, streamId, streamSetId, in onBufferReleased()
370 __FUNCTION__, streamId, streamSetId, streamSet.allocatedBufferWaterMark); in onBufferReleased()
393 status_t Camera3BufferManager::onBuffersRemoved(int streamId, int streamSetId, size_t count) { in onBuffersRemoved() argument
397 ALOGV("Stream %d set %d: Buffer removed", streamId, streamSetId); in onBuffersRemoved()
399 if (!checkIfStreamRegisteredLocked(streamId, streamSetId)){ in onBuffersRemoved()
401 "(stream %d with set id %d)", __FUNCTION__, streamId, streamSetId); in onBuffersRemoved()
406 StreamSet& streamSet = mStreamSetMap.editValueFor(streamSetId); in onBuffersRemoved()
426 __FUNCTION__, streamId, streamSetId, totalHandoutCount, totalAttachedCount); in onBuffersRemoved()
468 bool Camera3BufferManager::checkIfStreamRegisteredLocked(int streamId, int streamSetId) const { in checkIfStreamRegisteredLocked()
469 ssize_t setIdx = mStreamSetMap.indexOfKey(streamSetId); in checkIfStreamRegisteredLocked()
472 __FUNCTION__, streamSetId); in checkIfStreamRegisteredLocked()
486 __FUNCTION__, streamId, streamSetId, bufferWaterMark); in checkIfStreamRegisteredLocked()