Lines Matching refs:count
254 * @count : number of buffers to be allocated
262 int QCamera3HeapMemory::alloc(int count, int size, int heap_id)
265 if (count > MM_CAMERA_MAX_NUM_FRAMES) {
266 ALOGE("Buffer count %d out of bound. Max is %d", count, MM_CAMERA_MAX_NUM_FRAMES);
274 for (int i = 0; i < count; i ++) {
422 * @count : number of buffers to be allocated
430 int QCamera3HeapMemory::allocate(int count, int size, bool queueAll)
433 int rc = alloc(count, size, heap_id_mask);
437 for (int i = 0; i < count; i ++) {
453 mBufferCount = count;