Searched refs:mBufDefs (Results 1 – 5 of 5) sorted by relevance
/device/google/marlin/camera/QCamera2/HAL/ |
D | QCameraStream.cpp | 216 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() 1193 if (index >= mNumBufs || mBufDefs == NULL) in bufDone() 1196 rc = mCamOps->qbuf(mCamHandle, mChannelHandle, &mBufDefs[index]); in bufDone() 1230 if (index == -1 || index >= mNumBufs || mBufDefs == NULL) { in bufDone() [all …]
|
D | QCameraPostProc.cpp | 842 mm_camera_buf_def_t *mBufDefs = NULL; in getOfflinePPInputBuffer() local 855 mBufDefs = (mm_camera_buf_def_t *)malloc(bufDefsSize); in getOfflinePPInputBuffer() 856 if (mBufDefs == NULL) { in getOfflinePPInputBuffer() 860 memset(mBufDefs, 0, bufDefsSize); in getOfflinePPInputBuffer() 882 mBufDefs[i] = *data_frame; in getOfflinePPInputBuffer() 883 mOfflineDataBufs->getBufDef(offset, mBufDefs[i], i); in getOfflinePPInputBuffer() 887 memcpy(mBufDefs[i].buffer, data_frame->buffer, in getOfflinePPInputBuffer() 888 mBufDefs[i].frame_len); in getOfflinePPInputBuffer() 892 free(mBufDefs); in getOfflinePPInputBuffer() 893 mBufDefs = NULL; in getOfflinePPInputBuffer() [all …]
|
D | QCameraStream.h | 176 mm_camera_buf_def_t *mBufDefs; variable
|
/device/google/marlin/camera/QCamera2/HAL3/ |
D | QCamera3Stream.cpp | 294 mBufDefs(NULL), in QCamera3Stream() 741 if ((index >= mNumBufs) || (mBufDefs == NULL)) { in bufDone() 751 if( NULL == mBufDefs[index].mem_info) { in bufDone() 769 rc = mStreamBufs->getBufDef(mFrameLenOffset, mBufDefs[index], index); in bufDone() 782 rc = aggregateBufToBatch(mBufDefs[index]); in bufDone() 787 rc = mCamOps->qbuf(mCamHandle, mChannelHandle, &mBufDefs[index]); in bufDone() 813 if ((index >= mNumBufs) || (mBufDefs == NULL)) { in cancelBuffer() 853 if ((index >= mNumBufs) || (mBufDefs == NULL)) { in bufRelease() 857 if (NULL != mBufDefs[index].mem_info) { in bufRelease() 870 mBufDefs[index].mem_info = NULL; in bufRelease() [all …]
|
D | QCamera3Stream.h | 123 mm_camera_buf_def_t *mBufDefs; variable
|