Searched refs:bufferIdx (Results 1 – 3 of 3) sorted by relevance
/frameworks/av/services/camera/libcameraservice/camera3/ |
D | Camera3Stream.cpp | 296 uint32_t bufferIdx = 0; in registerBuffersLocked() local 297 for (; bufferIdx < bufferCount; bufferIdx++) { in registerBuffersLocked() 298 res = getBufferLocked( &streamBuffers.editItemAt(bufferIdx) ); in registerBuffersLocked() 301 __FUNCTION__, bufferIdx); in registerBuffersLocked() 306 sp<Fence> fence = new Fence(streamBuffers[bufferIdx].acquire_fence); in registerBuffersLocked() 309 buffers.editItemAt(bufferIdx) = streamBuffers[bufferIdx].buffer; in registerBuffersLocked() 311 if (bufferIdx == bufferCount) { in registerBuffersLocked() 321 for (size_t i = 0; i < bufferIdx; i++) { in registerBuffersLocked()
|
/frameworks/native/libs/gui/ |
D | IGraphicBufferProducer.cpp | 54 virtual status_t requestBuffer(int bufferIdx, sp<GraphicBuffer>* buf) { in requestBuffer() argument 57 data.writeInt32(bufferIdx); in requestBuffer() 193 int bufferIdx = data.readInt32(); in onTransact() local 195 int result = requestBuffer(bufferIdx, &buffer); in onTransact()
|
/frameworks/av/services/camera/libcameraservice/ |
D | Camera2Device.cpp | 1091 uint32_t bufferIdx = 0; in connectToDevice() local 1092 for (; bufferIdx < mTotalBuffers; bufferIdx++) { in connectToDevice() 1094 &anwBuffers[bufferIdx]); in connectToDevice() 1097 "stream %d", __FUNCTION__, bufferIdx, mId); in connectToDevice() 1101 buffers[bufferIdx] = anwBuffers[bufferIdx]->handle; in connectToDevice() 1102 ALOGV("%s: Buffer %p allocated", __FUNCTION__, (void*)buffers[bufferIdx]); in connectToDevice() 1118 ALOGV("%s: Cleaning up %d buffers", __FUNCTION__, bufferIdx); in connectToDevice() 1119 for (uint32_t i = 0; i < bufferIdx; i++) { in connectToDevice()
|