Home
last modified time | relevance | path

Searched refs:mNumBufs (Results 1 – 18 of 18) sorted by relevance

/device/lge/bullhead/camera/QCamera2/HAL/
DQCameraStream.cpp118 *num_bufs = stream->mNumBufs; in get_bufs_deffered()
121 __func__, stream->getMyType(), stream->mRegFlags, stream->mNumBufs); in get_bufs_deffered()
283 mNumBufs(0), in QCameraStream()
610 mNumBufs = minNumBuffers; in init()
653 mNumBufs = 0; in init()
1004 if (index >= mNumBufs || mBufDefs == NULL) in bufDone()
1035 if (index == -1 || index >= mNumBufs || mBufDefs == NULL) { in bufDone()
1054 if (index == -1 || index >= mNumBufs || mBufDefs == NULL) { in bufDone()
1119 uint8_t numBufAlloc = mNumBufs; in getBufs()
1123 if (numBufAlloc > mNumBufs) { in getBufs()
[all …]
DQCameraStream.h110 uint8_t getBufferCount() { return mNumBufs; } in getBufferCount()
128 uint8_t mNumBufs; variable
/device/huawei/angler/camera/QCamera2/HAL/
DQCameraStream.cpp118 *num_bufs = stream->mNumBufs; in get_bufs_deffered()
121 __func__, stream->getMyType(), stream->mRegFlags, stream->mNumBufs); in get_bufs_deffered()
283 mNumBufs(0), in QCameraStream()
610 mNumBufs = minNumBuffers; in init()
653 mNumBufs = 0; in init()
1004 if (index >= mNumBufs || mBufDefs == NULL) in bufDone()
1035 if (index == -1 || index >= mNumBufs || mBufDefs == NULL) { in bufDone()
1054 if (index == -1 || index >= mNumBufs || mBufDefs == NULL) { in bufDone()
1119 uint8_t numBufAlloc = mNumBufs; in getBufs()
1123 if (numBufAlloc > mNumBufs) { in getBufs()
[all …]
DQCameraStream.h110 uint8_t getBufferCount() { return mNumBufs; } in getBufferCount()
128 uint8_t mNumBufs; variable
/device/moto/shamu/camera/QCamera2/HAL/
DQCameraStream.cpp107 *num_bufs = stream->mNumBufs; in get_bufs_deffered()
240 mNumBufs(0), in QCameraStream()
412 mNumBufs = minNumBuffers; in init()
447 mNumBufs = 0; in init()
791 if (index >= mNumBufs || mBufDefs == NULL) in bufDone()
819 if (index == -1 || index >= mNumBufs || mBufDefs == NULL) { in bufDone()
861 uint8_t numBufAlloc = mNumBufs; in getBufs()
865 if (numBufAlloc > mNumBufs) { in getBufs()
867 numBufAlloc = mNumBufs; in getBufs()
869 mNumBufsNeedAlloc = mNumBufs - numBufAlloc; in getBufs()
[all …]
DQCameraStream.h120 uint8_t mNumBufs; variable
/device/moto/shamu/camera/QCamera2/HAL3/
DQCamera3Stream.cpp173 mNumBufs(0), in QCamera3Stream()
289 mNumBufs = minNumBuffers; in init()
330 mNumBufs = 0; in init()
517 if ((index >= mNumBufs) || (mBufDefs == NULL)) { in bufDone()
567 if ((index >= mNumBufs) || (mBufDefs == NULL)) { in bufRelease()
647 regFlags = (uint8_t *)malloc(sizeof(uint8_t) * mNumBufs); in getBufs()
655 memset(regFlags, 0, sizeof(uint8_t) * mNumBufs); in getBufs()
657 mBufDefs = (mm_camera_buf_def_t *)malloc(mNumBufs * sizeof(mm_camera_buf_def_t)); in getBufs()
667 memset(mBufDefs, 0, mNumBufs * sizeof(mm_camera_buf_def_t)); in getBufs()
685 *num_bufs = mNumBufs; in getBufs()
[all …]
DQCamera3Stream.h101 uint8_t mNumBufs; variable
DQCamera3Channel.cpp515 mNumBufs(0), in QCamera3RegularChannel()
573 mNumBufs = CAM_MAX_NUM_BUFS_PER_STREAM; in initialize()
646 mNumBufs, in initialize()
763 if ((uint32_t)mMemory.getCnt() > (mNumBufs - 1)) { in registerBuffer()
822 if(frameIndex >= mNumBufs) { in streamCbRoutine()
DQCamera3Channel.h166 uint32_t mNumBufs; variable
/device/huawei/angler/camera/QCamera2/HAL3/
DQCamera3Stream.cpp229 mNumBufs(0), in QCamera3Stream()
369 mNumBufs = minNumBuffers; in init()
428 mNumBufs = 0; in init()
621 if ((index >= mNumBufs) || (mBufDefs == NULL)) { in bufDone()
622 ALOGE("%s: index; %d, mNumBufs: %d", __func__, index, mNumBufs); in bufDone()
684 if ((index >= mNumBufs) || (mBufDefs == NULL)) { in bufRelease()
750 for (uint32_t i = 0; i < mNumBufs; i++) { in getBufs()
776 regFlags = (uint8_t *)malloc(sizeof(uint8_t) * mNumBufs); in getBufs()
779 for (uint32_t i = 0; i < mNumBufs; i++) { in getBufs()
787 memset(regFlags, 0, sizeof(uint8_t) * mNumBufs); in getBufs()
[all …]
DQCamera3Stream.h104 uint8_t mNumBufs; variable
DQCamera3Channel.cpp528 mNumBufs(CAM_MAX_NUM_BUFS_PER_STREAM), in QCamera3ProcessingChannel()
602 if(frameIndex >= mNumBufs) { in streamCbRoutine()
817 if ((uint32_t)mMemory.getCnt() > (mNumBufs - 1)) { in registerBuffer()
1499 mNumBufs, in initialize()
2368 mNumBufs, in initialize()
2526 if(frameIndex >= mNumBufs) { in streamCbRoutine()
DQCamera3Channel.h211 uint32_t mNumBufs; variable
/device/lge/bullhead/camera/QCamera2/HAL3/
DQCamera3Stream.cpp229 mNumBufs(0), in QCamera3Stream()
369 mNumBufs = minNumBuffers; in init()
428 mNumBufs = 0; in init()
621 if ((index >= mNumBufs) || (mBufDefs == NULL)) { in bufDone()
622 ALOGE("%s: index; %d, mNumBufs: %d", __func__, index, mNumBufs); in bufDone()
684 if ((index >= mNumBufs) || (mBufDefs == NULL)) { in bufRelease()
750 for (uint32_t i = 0; i < mNumBufs; i++) { in getBufs()
776 regFlags = (uint8_t *)malloc(sizeof(uint8_t) * mNumBufs); in getBufs()
779 for (uint32_t i = 0; i < mNumBufs; i++) { in getBufs()
787 memset(regFlags, 0, sizeof(uint8_t) * mNumBufs); in getBufs()
[all …]
DQCamera3Stream.h104 uint8_t mNumBufs; variable
DQCamera3Channel.cpp528 mNumBufs(CAM_MAX_NUM_BUFS_PER_STREAM), in QCamera3ProcessingChannel()
602 if(frameIndex >= mNumBufs) { in streamCbRoutine()
817 if ((uint32_t)mMemory.getCnt() > (mNumBufs - 1)) { in registerBuffer()
1499 mNumBufs, in initialize()
2368 mNumBufs, in initialize()
2526 if(frameIndex >= mNumBufs) { in streamCbRoutine()
DQCamera3Channel.h211 uint32_t mNumBufs; variable