• Home
  • Raw
  • Download

Lines Matching refs:mBufDefs

216         for (int i = 0; i < stream->mBufDefs[index].user_buf.bufs_used; i++) {  in invalidate_buf()
217 uint32_t buf_idx = stream->mBufDefs[index].user_buf.buf_idx[i]; in invalidate_buf()
253 for (int i = 0; i < stream->mBufDefs[index].user_buf.bufs_used; i++) { in clean_invalidate_buf()
254 uint32_t buf_idx = stream->mBufDefs[index].user_buf.buf_idx[i]; in clean_invalidate_buf()
290 for (int i = 0; i < stream->mBufDefs[index].user_buf.bufs_used; i++) { in clean_buf()
291 uint32_t buf_idx = stream->mBufDefs[index].user_buf.buf_idx[i]; in clean_buf()
370 mBufDefs(NULL), in QCameraStream()
1193 if (index >= mNumBufs || mBufDefs == NULL) in bufDone()
1196 rc = mCamOps->qbuf(mCamHandle, mChannelHandle, &mBufDefs[index]); in bufDone()
1230 if (index == -1 || index >= mNumBufs || mBufDefs == NULL) { in bufDone()
1245 mBufDefs[index].frame_idx); in bufDone()
1381 mBufDefs = (mm_camera_buf_def_t *)malloc(mNumBufs * sizeof(mm_camera_buf_def_t)); in getBufs()
1382 if (mBufDefs == NULL) { in getBufs()
1394 memset(mBufDefs, 0, mNumBufs * sizeof(mm_camera_buf_def_t)); in getBufs()
1396 mStreamBufs->getBufDef(mFrameLenOffset, mBufDefs[i], i); in getBufs()
1408 free(mBufDefs); in getBufs()
1409 mBufDefs = NULL; in getBufs()
1417 *bufs = mBufDefs; in getBufs()
1469 if (!mRegFlags || !mBufDefs) { in getBufsDeferred()
1476 *bufs = mBufDefs; in getBufsDeferred()
1524 mStreamBufs->getBufDef(mFrameLenOffset, mBufDefs[index], index); in mapNewBuffer()
1551 &mBufDefs, NULL); in allocateBuffers()
1601 mBufDefs = (mm_camera_buf_def_t *)malloc(bufDefsSize); in allocateBuffers()
1602 if (mBufDefs == NULL) { in allocateBuffers()
1614 memset(mBufDefs, 0, bufDefsSize); in allocateBuffers()
1616 mStreamBufs->getBufDef(mFrameLenOffset, mBufDefs[i], i); in allocateBuffers()
1628 free(mBufDefs); in allocateBuffers()
1629 mBufDefs = NULL; in allocateBuffers()
1860 mBufDefs = (mm_camera_buf_def_t *)malloc(mNumBufs * sizeof(mm_camera_buf_def_t)); in allocateBatchBufs()
1861 if (mBufDefs == NULL) { in allocateBatchBufs()
1874 memset(mBufDefs, 0, mNumBufs * sizeof(mm_camera_buf_def_t)); in allocateBatchBufs()
1882 free(mBufDefs); in allocateBatchBufs()
1883 mBufDefs = NULL; in allocateBatchBufs()
1900 mBufDefs[i], i, mFrameLenOffset, mPlaneBufDefs, in allocateBatchBufs()
1906 *bufs = mBufDefs; in allocateBatchBufs()
1939 if ((NULL != mBufDefs) && (mStreamBufs != NULL)) { in releaseBuffs()
1950 mBufDefs = NULL; in releaseBuffs()
1998 mBufDefs = NULL; in releaseBatchBufs()
2071 pme->mStreamBufs->getBufDef(pme->mFrameLenOffset, pme->mBufDefs[i], i); in BufAllocRoutine()
2073 &pme->mBufDefs[i]); in BufAllocRoutine()
2146 mBufDefs = NULL; // mBufDefs just keep a ptr to the buffer in putBufs()