Lines Matching refs:mBufDefs
119 *bufs = stream->mBufDefs; in get_bufs_deffered()
207 for (int i = 0; i < stream->mBufDefs[index].user_buf.bufs_used; i++) { in invalidate_buf()
208 uint32_t buf_idx = stream->mBufDefs[index].user_buf.buf_idx[i]; in invalidate_buf()
244 for (int i = 0; i < stream->mBufDefs[index].user_buf.bufs_used; i++) { in clean_invalidate_buf()
245 uint32_t buf_idx = stream->mBufDefs[index].user_buf.buf_idx[i]; in clean_invalidate_buf()
294 mBufDefs(NULL), in QCameraStream()
1004 if (index >= mNumBufs || mBufDefs == NULL) in bufDone()
1007 rc = mCamOps->qbuf(mCamHandle, mChannelHandle, &mBufDefs[index]); in bufDone()
1035 if (index == -1 || index >= mNumBufs || mBufDefs == NULL) { in bufDone()
1054 if (index == -1 || index >= mNumBufs || mBufDefs == NULL) { in bufDone()
1059 mBufDefs[index].frame_idx); in bufDone()
1177 mBufDefs = (mm_camera_buf_def_t *)malloc(mNumBufs * sizeof(mm_camera_buf_def_t)); in getBufs()
1178 if (mBufDefs == NULL) { in getBufs()
1190 memset(mBufDefs, 0, mNumBufs * sizeof(mm_camera_buf_def_t)); in getBufs()
1192 mStreamBufs->getBufDef(mFrameLenOffset, mBufDefs[i], i); in getBufs()
1204 free(mBufDefs); in getBufs()
1205 mBufDefs = NULL; in getBufs()
1213 *bufs = mBufDefs; in getBufs()
1215 __func__, mStreamInfo->stream_type, regFlags, mBufDefs); in getBufs()
1256 &mBufDefs, NULL); in allocateBuffers()
1309 mBufDefs = (mm_camera_buf_def_t *)malloc(bufDefsSize); in allocateBuffers()
1310 if (mBufDefs == NULL) { in allocateBuffers()
1322 memset(mBufDefs, 0, bufDefsSize); in allocateBuffers()
1324 mStreamBufs->getBufDef(mFrameLenOffset, mBufDefs[i], i); in allocateBuffers()
1336 free(mBufDefs); in allocateBuffers()
1337 mBufDefs = NULL; in allocateBuffers()
1460 mBufDefs = (mm_camera_buf_def_t *)malloc(mNumBufs * sizeof(mm_camera_buf_def_t)); in allocateBatchBufs()
1461 if (mBufDefs == NULL) { in allocateBatchBufs()
1474 memset(mBufDefs, 0, mNumBufs * sizeof(mm_camera_buf_def_t)); in allocateBatchBufs()
1482 free(mBufDefs); in allocateBatchBufs()
1483 mBufDefs = NULL; in allocateBatchBufs()
1500 mBufDefs[i], i, mFrameLenOffset, mPlaneBufDefs, in allocateBatchBufs()
1506 *bufs = mBufDefs; in allocateBatchBufs()
1542 if (NULL != mBufDefs) { in releaseBuffs()
1552 mBufDefs = NULL; in releaseBuffs()
1600 mBufDefs = NULL; in releaseBatchBufs()
1644 pme->mStreamBufs->getBufDef(pme->mFrameLenOffset, pme->mBufDefs[i], i); in BufAllocRoutine()
1646 &pme->mBufDefs[i]); in BufAllocRoutine()
1723 mBufDefs = NULL; // mBufDefs just keep a ptr to the buffer in putBufs()