Lines Matching refs:count
242 int QCameraMemory::alloc(int count, int size, int heap_id) in alloc() argument
245 if (count > MM_CAMERA_MAX_NUM_FRAMES) { in alloc()
246 ALOGE("Buffer count %d out of bound. Max is %d", count, MM_CAMERA_MAX_NUM_FRAMES); in alloc()
254 for (int i = 0; i < count; i ++) { in alloc()
440 int QCameraHeapMemory::allocate(int count, int size) in allocate() argument
443 int rc = alloc(count, size, heap_mask); in allocate()
447 for (int i = 0; i < count; i ++) { in allocate()
463 mBufferCount = count; in allocate()
616 int QCameraStreamMemory::allocate(int count, int size) in allocate() argument
619 int rc = alloc(count, size, heap_mask); in allocate()
623 for (int i = 0; i < count; i ++) { in allocate()
626 mBufferCount = count; in allocate()
799 int QCameraVideoMemory::allocate(int count, int size) in allocate() argument
801 int rc = QCameraStreamMemory::allocate(count, size); in allocate()
805 for (int i = 0; i < count; i ++) { in allocate()
824 mBufferCount = count; in allocate()
1025 int QCameraGrallocMemory::allocate(int count, int /*size*/) in allocate() argument
1048 count += mMinUndequeuedBuffers; in allocate()
1050 err = mWindow->set_buffer_count(mWindow, count); in allocate()
1078 for (int cnt = 0; cnt < count; cnt++) { in allocate()
1172 mBufferCount = count; in allocate()