/device/huawei/angler/camera/QCamera2/HAL3/ |
D | QCamera3Stream.cpp | 150 uint32_t buf_idx = stream->mBatchBufDefs[index].user_buf.buf_idx[i]; in invalidate_buf() local 151 retVal = stream->invalidateBuf(buf_idx); in invalidate_buf() 154 __func__, buf_idx, retVal); in invalidate_buf() 190 uint32_t buf_idx = stream->mBatchBufDefs[index].user_buf.buf_idx[i]; in clean_invalidate_buf() local 191 retVal = stream->cleanInvalidateBuf(buf_idx); in clean_invalidate_buf() 194 __func__, buf_idx, retVal); in clean_invalidate_buf() 494 bufDone(frame->bufs[0]->buf_idx); in processDataNotify() 531 stream->bufDone(recvd_frame->bufs[0]->buf_idx); in dataNotifyCB() 584 pme->bufDone(frame->bufs[0]->buf_idx); in dataProcRoutine() 1009 int32_t QCamera3Stream::mapBuf(uint8_t buf_type, uint32_t buf_idx, in mapBuf() argument [all …]
|
D | QCamera3Stream.h | 89 int32_t mapBuf(uint8_t buf_type, uint32_t buf_idx, 91 int32_t unmapBuf(uint8_t buf_type, uint32_t buf_idx, int32_t plane_idx);
|
D | QCamera3Channel.cpp | 330 rc = mStreams[j]->bufDone(recvd_frame->bufs[i]->buf_idx); in bufDone() 601 frameIndex = (uint8_t)super_frame->bufs[0]->buf_idx; in streamCbRoutine() 1857 frame_number = mMemory.getFrameNumber((uint8_t)super_frame->bufs[0]->buf_idx); in streamCbRoutine() 1878 mMemory.cleanInvalidateCache(super_frame->bufs[0]->buf_idx); in streamCbRoutine() 2525 frameIndex = (uint8_t)super_frame->bufs[0]->buf_idx; in streamCbRoutine() 2886 snapshotIdx = (int32_t)src_frame->bufs[0]->buf_idx; in jpegEvtHandle() 3203 frameIndex = (uint8_t)super_frame->bufs[0]->buf_idx; in streamCbRoutine() 3546 frameIndex = (uint8_t)super_frame->bufs[0]->buf_idx; in streamCbRoutine() 3580 frameIndex = (uint8_t)super_frame->bufs[0]->buf_idx; in streamCbRoutine() 3868 uint32_t buf_idx = recvd_frame->bufs[0]->buf_idx; in bufDone() local [all …]
|
/device/lge/bullhead/camera/QCamera2/HAL3/ |
D | QCamera3Stream.cpp | 150 uint32_t buf_idx = stream->mBatchBufDefs[index].user_buf.buf_idx[i]; in invalidate_buf() local 151 retVal = stream->invalidateBuf(buf_idx); in invalidate_buf() 154 __func__, buf_idx, retVal); in invalidate_buf() 190 uint32_t buf_idx = stream->mBatchBufDefs[index].user_buf.buf_idx[i]; in clean_invalidate_buf() local 191 retVal = stream->cleanInvalidateBuf(buf_idx); in clean_invalidate_buf() 194 __func__, buf_idx, retVal); in clean_invalidate_buf() 494 bufDone(frame->bufs[0]->buf_idx); in processDataNotify() 531 stream->bufDone(recvd_frame->bufs[0]->buf_idx); in dataNotifyCB() 584 pme->bufDone(frame->bufs[0]->buf_idx); in dataProcRoutine() 1009 int32_t QCamera3Stream::mapBuf(uint8_t buf_type, uint32_t buf_idx, in mapBuf() argument [all …]
|
D | QCamera3Stream.h | 89 int32_t mapBuf(uint8_t buf_type, uint32_t buf_idx, 91 int32_t unmapBuf(uint8_t buf_type, uint32_t buf_idx, int32_t plane_idx);
|
D | QCamera3Channel.cpp | 330 rc = mStreams[j]->bufDone(recvd_frame->bufs[i]->buf_idx); in bufDone() 601 frameIndex = (uint8_t)super_frame->bufs[0]->buf_idx; in streamCbRoutine() 1857 frame_number = mMemory.getFrameNumber((uint8_t)super_frame->bufs[0]->buf_idx); in streamCbRoutine() 1878 mMemory.cleanInvalidateCache(super_frame->bufs[0]->buf_idx); in streamCbRoutine() 2525 frameIndex = (uint8_t)super_frame->bufs[0]->buf_idx; in streamCbRoutine() 2886 snapshotIdx = (int32_t)src_frame->bufs[0]->buf_idx; in jpegEvtHandle() 3203 frameIndex = (uint8_t)super_frame->bufs[0]->buf_idx; in streamCbRoutine() 3546 frameIndex = (uint8_t)super_frame->bufs[0]->buf_idx; in streamCbRoutine() 3580 frameIndex = (uint8_t)super_frame->bufs[0]->buf_idx; in streamCbRoutine() 3868 uint32_t buf_idx = recvd_frame->bufs[0]->buf_idx; in bufDone() local [all …]
|
/device/lge/bullhead/camera/QCamera2/HAL/ |
D | QCamera2HWICallbacks.cpp | 265 frame->bufs[i]->buf_idx, in zsl_channel_cb() 347 uint32_t idx = preview_frame->buf_idx; in selectScene() 574 stream->bufDone(frame->buf_idx); in preview_stream_cb_routine() 583 uint32_t idx = frame->buf_idx; in preview_stream_cb_routine() 828 stream->bufDone(frame->buf_idx); in nodisplay_preview_stream_cb_routine() 840 preview_mem = previewMemObj->getMemory(frame->buf_idx, false); in nodisplay_preview_stream_cb_routine() 853 cbArg.user_data = (void *) &frame->buf_idx; in nodisplay_preview_stream_cb_routine() 859 stream->bufDone(frame->buf_idx); in nodisplay_preview_stream_cb_routine() 862 stream->bufDone(frame->buf_idx); in nodisplay_preview_stream_cb_routine() 907 stream->bufDone(frame->buf_idx); in rdi_mode_stream_cb_routine() [all …]
|
D | QCameraStream.cpp | 208 uint32_t buf_idx = stream->mBufDefs[index].user_buf.buf_idx[i]; in invalidate_buf() local 209 stream->invalidateBuf(buf_idx); in invalidate_buf() 245 uint32_t buf_idx = stream->mBufDefs[index].user_buf.buf_idx[i]; in clean_invalidate_buf() local 246 stream->cleanInvalidateBuf(buf_idx); in clean_invalidate_buf() 883 bufDone(frame->bufs[0]->buf_idx); in processDataNotify() 918 stream->bufDone(recvd_frame->bufs[0]->buf_idx); in dataNotifyCB() 968 pme->bufDone(frame->bufs[0]->buf_idx); in dataProcRoutine() 2029 int32_t QCameraStream::mapBuf(uint8_t buf_type, uint32_t buf_idx, in mapBuf() argument 2033 return ops_tbl->map_ops(buf_idx, plane_idx, fd, in mapBuf() 2037 mHandle, buf_type, buf_idx, plane_idx, in mapBuf() [all …]
|
/device/huawei/angler/camera/QCamera2/HAL/ |
D | QCamera2HWICallbacks.cpp | 265 frame->bufs[i]->buf_idx, in zsl_channel_cb() 347 uint32_t idx = preview_frame->buf_idx; in selectScene() 574 stream->bufDone(frame->buf_idx); in preview_stream_cb_routine() 583 uint32_t idx = frame->buf_idx; in preview_stream_cb_routine() 828 stream->bufDone(frame->buf_idx); in nodisplay_preview_stream_cb_routine() 840 preview_mem = previewMemObj->getMemory(frame->buf_idx, false); in nodisplay_preview_stream_cb_routine() 853 cbArg.user_data = (void *) &frame->buf_idx; in nodisplay_preview_stream_cb_routine() 859 stream->bufDone(frame->buf_idx); in nodisplay_preview_stream_cb_routine() 862 stream->bufDone(frame->buf_idx); in nodisplay_preview_stream_cb_routine() 907 stream->bufDone(frame->buf_idx); in rdi_mode_stream_cb_routine() [all …]
|
D | QCameraStream.cpp | 208 uint32_t buf_idx = stream->mBufDefs[index].user_buf.buf_idx[i]; in invalidate_buf() local 209 stream->invalidateBuf(buf_idx); in invalidate_buf() 245 uint32_t buf_idx = stream->mBufDefs[index].user_buf.buf_idx[i]; in clean_invalidate_buf() local 246 stream->cleanInvalidateBuf(buf_idx); in clean_invalidate_buf() 883 bufDone(frame->bufs[0]->buf_idx); in processDataNotify() 918 stream->bufDone(recvd_frame->bufs[0]->buf_idx); in dataNotifyCB() 968 pme->bufDone(frame->bufs[0]->buf_idx); in dataProcRoutine() 2029 int32_t QCameraStream::mapBuf(uint8_t buf_type, uint32_t buf_idx, in mapBuf() argument 2033 return ops_tbl->map_ops(buf_idx, plane_idx, fd, in mapBuf() 2037 mHandle, buf_type, buf_idx, plane_idx, in mapBuf() [all …]
|
/device/moto/shamu/camera/QCamera2/HAL/ |
D | QCamera2HWICallbacks.cpp | 244 frame->bufs[i]->buf_idx, in zsl_channel_cb() 333 int32_t idx = preview_frame->buf_idx; in selectScene() 552 stream->bufDone(frame->buf_idx); in preview_stream_cb_routine() 561 int idx = frame->buf_idx; in preview_stream_cb_routine() 720 stream->bufDone(frame->buf_idx); in nodisplay_preview_stream_cb_routine() 732 preview_mem = previewMemObj->getMemory(frame->buf_idx, false); in nodisplay_preview_stream_cb_routine() 745 int user_data = frame->buf_idx; in nodisplay_preview_stream_cb_routine() 752 stream->bufDone(frame->buf_idx); in nodisplay_preview_stream_cb_routine() 755 stream->bufDone(frame->buf_idx); in nodisplay_preview_stream_cb_routine() 799 stream->bufDone(frame->buf_idx); in rdi_mode_stream_cb_routine() [all …]
|
D | QCameraStream.cpp | 671 bufDone(frame->bufs[0]->buf_idx); in processDataNotify() 706 stream->bufDone(recvd_frame->bufs[0]->buf_idx); in dataNotifyCB() 755 pme->bufDone(frame->bufs[0]->buf_idx); in dataProcRoutine() 1478 uint32_t buf_idx, in mapBuf() argument 1485 buf_idx, plane_idx, in mapBuf() 1504 int32_t QCameraStream::unmapBuf(uint8_t buf_type, uint32_t buf_idx, int32_t plane_idx) in unmapBuf() argument 1508 buf_idx, plane_idx); in unmapBuf() 1584 pme->bufDone(frame->bufs[0]->buf_idx); in releaseFrameData()
|
D | QCameraStream.h | 92 int32_t mapBuf(uint8_t buf_type, uint32_t buf_idx, 94 int32_t unmapBuf(uint8_t buf_type, uint32_t buf_idx, int32_t plane_idx);
|
D | QCameraChannel.cpp | 364 rc = mStreams[j]->bufDone(recvd_frame->bufs[i]->buf_idx); in bufDone() 1182 meta_buf_index = frame->bufs[i]->buf_idx; in doReprocess() 1209 param.reprocess.buf_index = frame->bufs[i]->buf_idx; in doReprocess() 1253 uint32_t buf_idx = 0; in doReprocess() local 1256 buf_idx, -1, in doReprocess() 1263 param.reprocess.buf_index = buf_idx; in doReprocess() 1269 buf_idx, -1); in doReprocess()
|
/device/moto/shamu/camera/QCamera2/HAL3/ |
D | QCamera3Stream.cpp | 394 bufDone(frame->bufs[0]->buf_idx); in processDataNotify() 431 stream->bufDone(recvd_frame->bufs[0]->buf_idx); in dataNotifyCB() 481 pme->bufDone(frame->bufs[0]->buf_idx); in dataProcRoutine() 870 uint32_t buf_idx, in mapBuf() argument 877 buf_idx, plane_idx, in mapBuf() 896 int32_t QCamera3Stream::unmapBuf(uint8_t buf_type, uint32_t buf_idx, int32_t plane_idx) in unmapBuf() argument 900 buf_idx, plane_idx); in unmapBuf() 945 pme->bufDone(frame->bufs[0]->buf_idx); in releaseFrameData()
|
D | QCamera3Stream.h | 86 int32_t mapBuf(uint8_t buf_type, uint32_t buf_idx, 88 int32_t unmapBuf(uint8_t buf_type, uint32_t buf_idx, int32_t plane_idx);
|
/device/huawei/angler/camera/QCamera2/stack/mm-camera-interface/src/ |
D | mm_camera_stream.c | 211 my_obj->buf_status[buf_info->buf->buf_idx].buf_refcnt++; in mm_stream_handle_rcvd_buf() 284 uint32_t idx = buf_info.buf->buf_idx; in mm_stream_data_notify() 361 my_obj->buf_status[buf_info->buf->buf_idx].buf_refcnt++; in mm_stream_dispatch_app_data() 1043 my_obj->buf_status[buf->buf_idx].buf_refcnt--; in mm_stream_write_user_buf() 1044 if (0 == my_obj->buf_status[buf->buf_idx].buf_refcnt) { in mm_stream_write_user_buf() 1045 cont_buf = (struct msm_camera_user_buf_cont_t *)my_obj->buf[buf->buf_idx].buffer; in mm_stream_write_user_buf() 1046 cont_buf->buf_cnt = my_obj->buf[buf->buf_idx].user_buf.bufs_used; in mm_stream_write_user_buf() 1048 cont_buf->buf_idx[i] = my_obj->buf[buf->buf_idx].user_buf.buf_idx[i]; in mm_stream_write_user_buf() 1053 __func__, buf->buf_idx, rc); in mm_stream_write_user_buf() 1056 my_obj->buf[buf->buf_idx].user_buf.buf_idx[i] = -1; in mm_stream_write_user_buf() [all …]
|
/device/lge/bullhead/camera/QCamera2/stack/mm-camera-interface/src/ |
D | mm_camera_stream.c | 211 my_obj->buf_status[buf_info->buf->buf_idx].buf_refcnt++; in mm_stream_handle_rcvd_buf() 284 uint32_t idx = buf_info.buf->buf_idx; in mm_stream_data_notify() 361 my_obj->buf_status[buf_info->buf->buf_idx].buf_refcnt++; in mm_stream_dispatch_app_data() 1043 my_obj->buf_status[buf->buf_idx].buf_refcnt--; in mm_stream_write_user_buf() 1044 if (0 == my_obj->buf_status[buf->buf_idx].buf_refcnt) { in mm_stream_write_user_buf() 1045 cont_buf = (struct msm_camera_user_buf_cont_t *)my_obj->buf[buf->buf_idx].buffer; in mm_stream_write_user_buf() 1046 cont_buf->buf_cnt = my_obj->buf[buf->buf_idx].user_buf.bufs_used; in mm_stream_write_user_buf() 1048 cont_buf->buf_idx[i] = my_obj->buf[buf->buf_idx].user_buf.buf_idx[i]; in mm_stream_write_user_buf() 1053 __func__, buf->buf_idx, rc); in mm_stream_write_user_buf() 1056 my_obj->buf[buf->buf_idx].user_buf.buf_idx[i] = -1; in mm_stream_write_user_buf() [all …]
|
/device/lge/bullhead/camera/QCamera2/stack/common/ |
D | mm_camera_interface.h | 98 int32_t buf_idx[MSM_CAMERA_MAX_USER_BUFF_CNT]; member 124 uint32_t buf_idx; member 590 uint32_t buf_idx, 615 uint32_t buf_idx,
|
/device/huawei/angler/camera/QCamera2/stack/common/ |
D | mm_camera_interface.h | 98 int32_t buf_idx[MSM_CAMERA_MAX_USER_BUFF_CNT]; member 124 uint32_t buf_idx; member 590 uint32_t buf_idx, 615 uint32_t buf_idx,
|
/device/moto/shamu/camera/QCamera/HAL2/core/src/ |
D | QCameraStream_Preview.cpp | 101 mDisplayBuf[i].buf_idx = i; in initBuffers() 276 mNotifyBuffer[frame->bufs[0]->buf_idx] = *frame; in processPreviewFrame() 279 &mPreviewMemory.buffer_handle[frame->bufs[0]->buf_idx]); in processPreviewFrame() 283 mPreviewMemory.local_flag[frame->bufs[0]->buf_idx] = BUFFER_NOT_OWNED; in processPreviewFrame() 312 mLastQueuedFrame = &(mDisplayBuf[frame->bufs[0]->buf_idx]); in processPreviewFrame()
|
/device/moto/shamu/camera/QCamera/stack/mm-camera-interface/src/ |
D | mm_camera_stream.c | 232 idx = buf_info.buf->buf_idx; in mm_stream_data_notify() 284 my_obj->buf[my_obj->local_buf_idx].buf_idx = 0; in mm_stream_buf_notify() 939 buf_info->buf->buf_idx = idx; in mm_stream_read_msm_frame() 1164 buffer.index = buf->buf_idx; in mm_stream_qbuf() 1401 my_obj->buf[i].buf_idx = i; in mm_stream_reg_buf() 1623 if(my_obj->buf_status[frame->buf_idx].buf_refcnt == 0) { in mm_stream_buf_done() 1625 __func__, frame->buf_idx, in mm_stream_buf_done() 1626 my_obj->buf_status[frame->buf_idx].buf_refcnt, in mm_stream_buf_done() 1630 my_obj->buf_status[frame->buf_idx].buf_refcnt--; in mm_stream_buf_done() 1631 if (0 == my_obj->buf_status[frame->buf_idx].buf_refcnt) { in mm_stream_buf_done() [all …]
|
/device/moto/shamu/camera/QCamera2/stack/common/ |
D | mm_camera_interface.h | 68 int8_t buf_idx; member 514 uint32_t buf_idx, 539 uint32_t buf_idx,
|
/device/moto/shamu/camera/QCamera2/stack/mm-camera-interface/inc/ |
D | mm_camera.h | 307 uint32_t buf_idx; member 316 uint32_t buf_idx; member 551 uint32_t buf_idx, 559 uint32_t buf_idx,
|
/device/lge/bullhead/camera/QCamera2/stack/mm-camera-interface/inc/ |
D | mm_camera.h | 335 uint32_t buf_idx; member 344 uint32_t buf_idx; member 606 uint32_t buf_idx, 614 uint32_t buf_idx,
|