Home
last modified time | relevance | path

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

/hardware/qcom/camera/msm8998/QCamera2/HAL/
DQCameraStream.cpp216 for (int i = 0; i < stream->mBufDefs[index].user_buf.bufs_used; i++) { in invalidate_buf()
217 uint32_t buf_idx = stream->mBufDefs[index].user_buf.buf_idx[i]; in invalidate_buf()
253 for (int i = 0; i < stream->mBufDefs[index].user_buf.bufs_used; i++) { in clean_invalidate_buf()
254 uint32_t buf_idx = stream->mBufDefs[index].user_buf.buf_idx[i]; in clean_invalidate_buf()
290 for (int i = 0; i < stream->mBufDefs[index].user_buf.bufs_used; i++) { in clean_buf()
291 uint32_t buf_idx = stream->mBufDefs[index].user_buf.buf_idx[i]; in clean_buf()
370 mBufDefs(NULL), in QCameraStream()
1228 if (index >= mNumBufs || mBufDefs == NULL) in bufDone()
1231 rc = mCamOps->qbuf(mCamHandle, mChannelHandle, &mBufDefs[index]); in bufDone()
1303 if (index == -1 || index >= mNumBufs || mBufDefs == NULL) { in bufDone()
[all …]
DQCameraPostProc.cpp986 mm_camera_buf_def_t *mBufDefs = NULL; in getOfflinePPInputBuffer() local
999 mBufDefs = (mm_camera_buf_def_t *)malloc(bufDefsSize); in getOfflinePPInputBuffer()
1000 if (mBufDefs == NULL) { in getOfflinePPInputBuffer()
1004 memset(mBufDefs, 0, bufDefsSize); in getOfflinePPInputBuffer()
1026 mBufDefs[i] = *data_frame; in getOfflinePPInputBuffer()
1027 mOfflineDataBufs->getBufDef(offset, mBufDefs[i], i); in getOfflinePPInputBuffer()
1031 memcpy(mBufDefs[i].buffer, data_frame->buffer, in getOfflinePPInputBuffer()
1032 mBufDefs[i].frame_len); in getOfflinePPInputBuffer()
1036 free(mBufDefs); in getOfflinePPInputBuffer()
1037 mBufDefs = NULL; in getOfflinePPInputBuffer()
[all …]
DQCameraStream.h185 mm_camera_buf_def_t *mBufDefs; variable
/hardware/qcom/camera/msm8998/QCamera2/HAL3/
DQCamera3Stream.cpp295 mBufDefs(NULL), in QCamera3Stream()
776 if ((index >= mNumBufs) || (mBufDefs == NULL)) { in bufDoneLocked()
786 if( NULL == mBufDefs[index].mem_info) { in bufDoneLocked()
806 rc = mStreamBufs->getBufDef(mFrameLenOffset, mBufDefs[index], index, mMapStreamBuffers); in bufDoneLocked()
819 rc = aggregateBufToBatch(mBufDefs[index]); in bufDoneLocked()
824 rc = mCamOps->qbuf(mCamHandle, mChannelHandle, &mBufDefs[index]); in bufDoneLocked()
850 if ((index >= mNumBufs) || (mBufDefs == NULL)) { in cancelBuffer()
890 if ((index >= mNumBufs) || (mBufDefs == NULL)) { in bufRelease()
894 if (NULL != mBufDefs[index].mem_info) { in bufRelease()
907 mBufDefs[index].mem_info = NULL; in bufRelease()
[all …]
DQCamera3Stream.h125 mm_camera_buf_def_t *mBufDefs; variable