Searched refs:dequeuedIdx (Results 1 – 2 of 2) sorted by relevance
1989 int dequeuedIdx = BAD_INDEX; in displayBuffer() local2014 dequeuedIdx = i; in displayBuffer()2019 if ((dequeuedIdx == BAD_INDEX) && (mMappableBuffers < mBufferCount)) { in displayBuffer()2020 dequeuedIdx = mMappableBuffers; in displayBuffer()2021 LOGD("Placing buffer in idx:%d", dequeuedIdx); in displayBuffer()2022 mBufferHandle[dequeuedIdx] = buffer_handle; in displayBuffer()2023 mLocalFlag[dequeuedIdx] = BUFFER_OWNED; in displayBuffer()2025 mPrivateHandle[dequeuedIdx] = in displayBuffer()2026 (struct private_handle_t *)(*mBufferHandle[dequeuedIdx]); in displayBuffer()2027 mMemInfo[dequeuedIdx].main_ion_fd = open("/dev/ion", O_RDONLY); in displayBuffer()[all …]
903 int dequeuedIdx = memory->dequeueBuffer(); in preview_stream_cb_routine() local904 LOGD("dequeuedIdx %d numMapped %d Loop running for %d", dequeuedIdx, numMapped, i); in preview_stream_cb_routine()905 if (dequeuedIdx < 0 || dequeuedIdx >= memory->getCnt()) { in preview_stream_cb_routine()907 dequeuedIdx); in preview_stream_cb_routine()913 if (dequeuedIdx >= numMapped) { in preview_stream_cb_routine()915 err = stream->mapNewBuffer((uint32_t)dequeuedIdx); in preview_stream_cb_routine()933 err = stream->bufDone((uint32_t)dequeuedIdx); in preview_stream_cb_routine()