Lines Matching refs:mNumBufs
357 mNumBufs(0), in QCameraStream()
748 mNumBufs = mStreamInfo->num_bufs; in init()
1228 if (index >= mNumBufs || mBufDefs == NULL) in bufDone()
1303 if (index == -1 || index >= mNumBufs || mBufDefs == NULL) { in bufDone()
1387 uint8_t numBufAlloc = mNumBufs; in getBufs()
1391 if (numBufAlloc > mNumBufs) { in getBufs()
1393 numBufAlloc = mNumBufs; in getBufs()
1395 mNumBufsNeedAlloc = (uint8_t)(mNumBufs - numBufAlloc); in getBufs()
1413 mNumBufs = (uint8_t)(numBufAlloc + mNumBufsNeedAlloc); in getBufs()
1449 regFlags = (uint8_t *)malloc(sizeof(uint8_t) * mNumBufs); in getBufs()
1460 memset(regFlags, 0, sizeof(uint8_t) * mNumBufs); in getBufs()
1462 mBufDefs = (mm_camera_buf_def_t *)malloc(mNumBufs * sizeof(mm_camera_buf_def_t)); in getBufs()
1475 memset(mBufDefs, 0, mNumBufs * sizeof(mm_camera_buf_def_t)); in getBufs()
1496 *num_bufs = mNumBufs; in getBufs()
1500 mStreamInfo->stream_type, regFlags, mNumBufs); in getBufs()
1555 *num_bufs = mNumBufs; in getBufsDeferred()
1559 getMyType(), mRegFlags, mNumBufs); in getBufsDeferred()
1630 &mNumBufs, &mRegFlags, in allocateBuffers()
1638 uint8_t numBufAlloc = mNumBufs; in allocateBuffers()
1642 if (numBufAlloc > mNumBufs) { in allocateBuffers()
1644 numBufAlloc = mNumBufs; in allocateBuffers()
1646 mNumBufsNeedAlloc = (uint8_t)(mNumBufs - numBufAlloc); in allocateBuffers()
1662 mNumBufs = (uint8_t)(numBufAlloc + mNumBufsNeedAlloc); in allocateBuffers()
1667 mRegFlags = (uint8_t *)malloc(sizeof(uint8_t) * mNumBufs); in allocateBuffers()
1678 memset(mRegFlags, 0, sizeof(uint8_t) * mNumBufs); in allocateBuffers()
1680 size_t bufDefsSize = mNumBufs * sizeof(mm_camera_buf_def_t); in allocateBuffers()
1834 mNumBufs, mStreamBatchBufs->getPtr(i)); in allocateBatchBufs()
1860 (mNumBufs * mStreamInfo->user_buf_info.frame_buf_cnt); in allocateBatchBufs()
1920 mNumBufs, mNumPlaneBufs); in allocateBatchBufs()
1923 regFlags = (uint8_t *)malloc(sizeof(uint8_t) * mNumBufs); in allocateBatchBufs()
1935 memset(regFlags, 0, sizeof(uint8_t) * mNumBufs); in allocateBatchBufs()
1936 for (uint32_t i = 0; i < mNumBufs; i++) { in allocateBatchBufs()
1940 mBufDefs = (mm_camera_buf_def_t *)malloc(mNumBufs * sizeof(mm_camera_buf_def_t)); in allocateBatchBufs()
1954 memset(mBufDefs, 0, mNumBufs * sizeof(mm_camera_buf_def_t)); in allocateBatchBufs()
1984 *num_bufs = mNumBufs; in allocateBatchBufs()
1988 mStreamInfo->stream_type, mNumBufs, mNumPlaneBufs); in allocateBatchBufs()
2118 uint8_t numBufAlloc = (uint8_t)(pme->mNumBufs - pme->mNumBufsNeedAlloc); in BufAllocRoutine()
2130 for (uint32_t i = numBufAlloc; i < pme->mNumBufs; i++) { in BufAllocRoutine()
2158 for (uint32_t i = numBufAlloc; i < pme->mNumBufs; i++) { in BufAllocRoutine()