Home
last modified time | relevance | path

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

/device/lge/hammerhead/camera/QCamera2/HAL3/
DQCamera3Stream.cpp179 mBufDefs(NULL), in QCamera3Stream()
508 if ((index >= mNumBufs) || (mBufDefs == NULL) || in getInternalFormatBuffer()
509 (NULL == mBufDefs[index].mem_info)) { in getInternalFormatBuffer()
516 memcpy(rc, &mBufDefs[index], sizeof(mm_camera_buf_def_t)); in getInternalFormatBuffer()
539 if (index >= mNumBufs || mBufDefs == NULL) in bufDone()
542 if( NULL == mBufDefs[index].mem_info) { in bufDone()
555 rc = mStreamBufs->getBufDef(mFrameLenOffset, mBufDefs[index], index); in bufDone()
563 rc = mCamOps->qbuf(mCamHandle, mChannelHandle, &mBufDefs[index]); in bufDone()
634 mBufDefs = (mm_camera_buf_def_t *)malloc(mNumBufs * sizeof(mm_camera_buf_def_t)); in getBufs()
635 if (mBufDefs == NULL) { in getBufs()
[all …]
DQCamera3Stream.h106 mm_camera_buf_def_t *mBufDefs; variable
/device/moto/shamu/camera/QCamera2/HAL3/
DQCamera3Stream.cpp179 mBufDefs(NULL), in QCamera3Stream()
515 if ((index >= mNumBufs) || (mBufDefs == NULL)) { in bufDone()
519 if( NULL == mBufDefs[index].mem_info) { in bufDone()
532 rc = mStreamBufs->getBufDef(mFrameLenOffset, mBufDefs[index], index); in bufDone()
540 rc = mCamOps->qbuf(mCamHandle, mChannelHandle, &mBufDefs[index]); in bufDone()
565 if ((index >= mNumBufs) || (mBufDefs == NULL)) { in bufRelease()
569 if (NULL != mBufDefs[index].mem_info) { in bufRelease()
581 mBufDefs[index].mem_info = NULL; in bufRelease()
655 mBufDefs = (mm_camera_buf_def_t *)malloc(mNumBufs * sizeof(mm_camera_buf_def_t)); in getBufs()
656 if (mBufDefs == NULL) { in getBufs()
[all …]
DQCamera3Stream.h109 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/asus/flo/camera/QCamera2/HAL3/
DQCamera3Stream.cpp175 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()
[all …]
DQCamera3Stream.h103 mm_camera_buf_def_t *mBufDefs; variable
/device/asus/flo/camera/QCamera2/HAL/
DQCameraStream.cpp172 mBufDefs(NULL) in QCameraStream()
499 if (index >= mNumBufs || mBufDefs == NULL) in bufDone()
502 rc = mCamOps->qbuf(mCamHandle, mChannelHandle, &mBufDefs[index]); in bufDone()
527 if (index == -1 || index >= mNumBufs || mBufDefs == NULL) { in bufDone()
531 ALOGD("%s: Buffer Index = %d, Frame Idx = %d", __func__, index, mBufDefs[index].frame_idx); in bufDone()
606 mBufDefs = (mm_camera_buf_def_t *)malloc(mNumBufs * sizeof(mm_camera_buf_def_t)); in getBufs()
607 if (mBufDefs == NULL) { in getBufs()
620 mStreamBufs->getBufDef(mFrameLenOffset, mBufDefs[i], i); in getBufs()
632 free(mBufDefs); in getBufs()
633 mBufDefs = NULL; in getBufs()
[all …]
DQCameraStream.h105 mm_camera_buf_def_t *mBufDefs; variable
/device/lge/hammerhead/camera/QCamera2/HAL/
DQCameraStream.cpp172 mBufDefs(NULL) in QCameraStream()
499 if (index >= mNumBufs || mBufDefs == NULL) in bufDone()
502 rc = mCamOps->qbuf(mCamHandle, mChannelHandle, &mBufDefs[index]); in bufDone()
527 if (index == -1 || index >= mNumBufs || mBufDefs == NULL) { in bufDone()
531 ALOGD("%s: Buffer Index = %d, Frame Idx = %d", __func__, index, mBufDefs[index].frame_idx); in bufDone()
606 mBufDefs = (mm_camera_buf_def_t *)malloc(mNumBufs * sizeof(mm_camera_buf_def_t)); in getBufs()
607 if (mBufDefs == NULL) { in getBufs()
620 mStreamBufs->getBufDef(mFrameLenOffset, mBufDefs[i], i); in getBufs()
632 free(mBufDefs); in getBufs()
633 mBufDefs = NULL; in getBufs()
[all …]
DQCameraStream.h105 mm_camera_buf_def_t *mBufDefs; variable