Home
last modified time | relevance | path

Searched refs:mBufDefs (Results 1 – 12 of 12) sorted by relevance

/device/lge/bullhead/camera/QCamera2/HAL/
DQCameraStream.cpp119 *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()
[all …]
DQCameraStream.h143 mm_camera_buf_def_t *mBufDefs; variable
/device/huawei/angler/camera/QCamera2/HAL/
DQCameraStream.cpp119 *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()
[all …]
DQCameraStream.h143 mm_camera_buf_def_t *mBufDefs; variable
/device/moto/shamu/camera/QCamera2/HAL3/
DQCamera3Stream.cpp179 mBufDefs(NULL), in QCamera3Stream()
517 if ((index >= mNumBufs) || (mBufDefs == NULL)) { in bufDone()
521 if( NULL == mBufDefs[index].mem_info) { in bufDone()
534 rc = mStreamBufs->getBufDef(mFrameLenOffset, mBufDefs[index], index); in bufDone()
542 rc = mCamOps->qbuf(mCamHandle, mChannelHandle, &mBufDefs[index]); in bufDone()
567 if ((index >= mNumBufs) || (mBufDefs == NULL)) { in bufRelease()
571 if (NULL != mBufDefs[index].mem_info) { in bufRelease()
583 mBufDefs[index].mem_info = NULL; in bufRelease()
657 mBufDefs = (mm_camera_buf_def_t *)malloc(mNumBufs * sizeof(mm_camera_buf_def_t)); in getBufs()
658 if (mBufDefs == NULL) { in getBufs()
[all …]
DQCamera3Stream.h110 mm_camera_buf_def_t *mBufDefs; variable
/device/moto/shamu/camera/QCamera2/HAL/
DQCameraStream.cpp108 *bufs = stream->mBufDefs; in get_bufs_deffered()
248 mBufDefs(NULL), in QCameraStream()
791 if (index >= mNumBufs || mBufDefs == NULL) in bufDone()
794 rc = mCamOps->qbuf(mCamHandle, mChannelHandle, &mBufDefs[index]); in bufDone()
819 if (index == -1 || index >= mNumBufs || mBufDefs == NULL) { in bufDone()
823 CDBG_HIGH("%s: Buffer Index = %d, Frame Idx = %d", __func__, index, mBufDefs[index].frame_idx); in bufDone()
915 mBufDefs = (mm_camera_buf_def_t *)malloc(mNumBufs * sizeof(mm_camera_buf_def_t)); in getBufs()
916 if (mBufDefs == NULL) { in getBufs()
928 memset(mBufDefs, 0, mNumBufs * sizeof(mm_camera_buf_def_t)); in getBufs()
930 mStreamBufs->getBufDef(mFrameLenOffset, mBufDefs[i], i); in getBufs()
[all …]
DQCameraStream.h132 mm_camera_buf_def_t *mBufDefs; variable
/device/huawei/angler/camera/QCamera2/HAL3/
DQCamera3Stream.cpp235 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()
[all …]
DQCamera3Stream.h113 mm_camera_buf_def_t *mBufDefs; variable
/device/lge/bullhead/camera/QCamera2/HAL3/
DQCamera3Stream.cpp235 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()
[all …]
DQCamera3Stream.h113 mm_camera_buf_def_t *mBufDefs; variable