Lines Matching refs:mBufDefs
294 mBufDefs(NULL), in QCamera3Stream()
741 if ((index >= mNumBufs) || (mBufDefs == NULL)) { in bufDone()
751 if( NULL == mBufDefs[index].mem_info) { in bufDone()
769 rc = mStreamBufs->getBufDef(mFrameLenOffset, mBufDefs[index], index); in bufDone()
782 rc = aggregateBufToBatch(mBufDefs[index]); in bufDone()
787 rc = mCamOps->qbuf(mCamHandle, mChannelHandle, &mBufDefs[index]); in bufDone()
813 if ((index >= mNumBufs) || (mBufDefs == NULL)) { in cancelBuffer()
853 if ((index >= mNumBufs) || (mBufDefs == NULL)) { in bufRelease()
857 if (NULL != mBufDefs[index].mem_info) { in bufRelease()
870 mBufDefs[index].mem_info = NULL; in bufRelease()
964 mBufDefs = (mm_camera_buf_def_t *)malloc(mNumBufs * sizeof(mm_camera_buf_def_t)); in getBufs()
965 if (mBufDefs == NULL) { in getBufs()
977 memset(mBufDefs, 0, mNumBufs * sizeof(mm_camera_buf_def_t)); in getBufs()
980 mStreamBufs->getBufDef(mFrameLenOffset, mBufDefs[i], i); in getBufs()
993 free(mBufDefs); in getBufs()
994 mBufDefs = NULL; in getBufs()
1002 *bufs = mBufDefs; in getBufs()
1024 if (mStreamBufs->valid(i) && NULL != mBufDefs[i].mem_info) { in putBufs()
1031 mBufDefs = NULL; // mBufDefs just keep a ptr to the buffer in putBufs()
1521 batchBufDef.user_buf.plane_buf = mBufDefs; in getBatchBufDef()
1662 buf = mBufDefs[buf_idx]; in handleBatchBuffer()