Lines Matching refs:mBufDefs
175 mBufDefs(NULL), in QCamera3Stream()
495 if (index >= mNumBufs || mBufDefs == NULL) { in getInternalFormatBuffer()
502 memcpy(rc, &mBufDefs[index], sizeof(mm_camera_buf_def_t)); in getInternalFormatBuffer()
525 if (index >= mNumBufs || mBufDefs == NULL) in bufDone()
528 rc = mCamOps->qbuf(mCamHandle, mChannelHandle, &mBufDefs[index]); in bufDone()
596 mBufDefs = (mm_camera_buf_def_t *)malloc(mNumBufs * sizeof(mm_camera_buf_def_t)); in getBufs()
597 if (mBufDefs == NULL) { in getBufs()
607 mStreamBufs->getBufDef(mFrameLenOffset, mBufDefs[i], i); in getBufs()
616 free(mBufDefs); in getBufs()
617 mBufDefs = NULL; in getBufs()
625 *bufs = mBufDefs; in getBufs()
650 mBufDefs = NULL; // mBufDefs just keep a ptr to the buffer in putBufs()