• Home
  • Raw
  • Download

Lines Matching refs:dequeuedIdx

1989     int dequeuedIdx = BAD_INDEX;  in displayBuffer()  local
2014 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()
2028 if (mMemInfo[dequeuedIdx].main_ion_fd < 0) { in displayBuffer()
2035 ion_info_fd.fd = mPrivateHandle[dequeuedIdx]->fd; in displayBuffer()
2036 if (ioctl(mMemInfo[dequeuedIdx].main_ion_fd, in displayBuffer()
2045 mCameraMemory[dequeuedIdx] = in displayBuffer()
2046 mGetMemory(mPrivateHandle[dequeuedIdx]->fd, in displayBuffer()
2047 (size_t)mPrivateHandle[dequeuedIdx]->size, in displayBuffer()
2052 dequeuedIdx, mPrivateHandle[dequeuedIdx]->fd, in displayBuffer()
2053 mPrivateHandle[dequeuedIdx]->size, in displayBuffer()
2054 mPrivateHandle[dequeuedIdx]->offset); in displayBuffer()
2055 mMemInfo[dequeuedIdx].fd = mPrivateHandle[dequeuedIdx]->fd; in displayBuffer()
2056 mMemInfo[dequeuedIdx].size = in displayBuffer()
2057 (size_t)mPrivateHandle[dequeuedIdx]->size; in displayBuffer()
2058 mMemInfo[dequeuedIdx].handle = ion_info_fd.handle; in displayBuffer()
2065 return dequeuedIdx; in displayBuffer()
2132 int32_t dequeuedIdx = BAD_INDEX; in dequeueBuffer() local
2136 dequeuedIdx = BAD_INDEX; in dequeueBuffer()
2145 dequeuedIdx = i; in dequeueBuffer()
2150 if ((dequeuedIdx == BAD_INDEX) && in dequeueBuffer()
2152 dequeuedIdx = mMappableBuffers; in dequeueBuffer()
2153 LOGD("Placing buffer in idx:%d", dequeuedIdx); in dequeueBuffer()
2154 mBufferHandle[dequeuedIdx] = buffer_handle; in dequeueBuffer()
2155 mLocalFlag[dequeuedIdx] = BUFFER_OWNED; in dequeueBuffer()
2157 mPrivateHandle[dequeuedIdx] = in dequeueBuffer()
2158 (struct private_handle_t *)(*mBufferHandle[dequeuedIdx]); in dequeueBuffer()
2160 setMetaData(mPrivateHandle[dequeuedIdx], UPDATE_REFRESH_RATE, (void*)&mMaxFPS); in dequeueBuffer()
2161 mMemInfo[dequeuedIdx].main_ion_fd = open("/dev/ion", O_RDONLY); in dequeueBuffer()
2162 if (mMemInfo[dequeuedIdx].main_ion_fd < 0) { in dequeueBuffer()
2169 ion_info_fd.fd = mPrivateHandle[dequeuedIdx]->fd; in dequeueBuffer()
2170 if (ioctl(mMemInfo[dequeuedIdx].main_ion_fd, in dequeueBuffer()
2176 setMetaData(mPrivateHandle[dequeuedIdx], UPDATE_COLOR_SPACE, in dequeueBuffer()
2181 mCameraMemory[dequeuedIdx] = in dequeueBuffer()
2182 mGetMemory(mPrivateHandle[dequeuedIdx]->fd, in dequeueBuffer()
2183 (size_t)mPrivateHandle[dequeuedIdx]->size, in dequeueBuffer()
2188 dequeuedIdx, mPrivateHandle[dequeuedIdx]->fd, in dequeueBuffer()
2189 mPrivateHandle[dequeuedIdx]->size, in dequeueBuffer()
2190 mPrivateHandle[dequeuedIdx]->offset); in dequeueBuffer()
2191 mMemInfo[dequeuedIdx].fd = mPrivateHandle[dequeuedIdx]->fd; in dequeueBuffer()
2192 mMemInfo[dequeuedIdx].size = in dequeueBuffer()
2193 (size_t)mPrivateHandle[dequeuedIdx]->size; in dequeueBuffer()
2194 mMemInfo[dequeuedIdx].handle = ion_info_fd.handle; in dequeueBuffer()
2202 return dequeuedIdx; in dequeueBuffer()