Lines Matching refs:mBufDefs
235 mBufDefs(NULL), in QCamera3Stream()
621 if ((index >= mNumBufs) || (mBufDefs == NULL)) { in bufDone()
626 if( NULL == mBufDefs[index].mem_info) { in bufDone()
643 rc = mStreamBufs->getBufDef(mFrameLenOffset, mBufDefs[index], index); in bufDone()
656 rc = aggregateBufToBatch(mBufDefs[index]); in bufDone()
658 rc = mCamOps->qbuf(mCamHandle, mChannelHandle, &mBufDefs[index]); in bufDone()
684 if ((index >= mNumBufs) || (mBufDefs == NULL)) { in bufRelease()
688 if (NULL != mBufDefs[index].mem_info) { in bufRelease()
700 mBufDefs[index].mem_info = NULL; in bufRelease()
789 mBufDefs = (mm_camera_buf_def_t *)malloc(mNumBufs * sizeof(mm_camera_buf_def_t)); in getBufs()
790 if (mBufDefs == NULL) { in getBufs()
802 memset(mBufDefs, 0, mNumBufs * sizeof(mm_camera_buf_def_t)); in getBufs()
805 mStreamBufs->getBufDef(mFrameLenOffset, mBufDefs[i], i); in getBufs()
818 free(mBufDefs); in getBufs()
819 mBufDefs = NULL; in getBufs()
827 *bufs = mBufDefs; in getBufs()
849 if (mStreamBufs->valid(i) && NULL != mBufDefs[i].mem_info) { in putBufs()
856 mBufDefs = NULL; // mBufDefs just keep a ptr to the buffer in putBufs()
1301 batchBufDef.user_buf.plane_buf = mBufDefs; in getBatchBufDef()
1443 buf = mBufDefs[buf_idx]; in handleBatchBuffer()