Home
last modified time | relevance | path

Searched refs:buf_idx (Results 1 – 25 of 63) sorted by relevance

123

/hardware/qcom/camera/msm8998/QCamera2/HAL3/
DQCamera3Stream.cpp167 uint32_t buf_idx = stream->mBatchBufDefs[index].user_buf.buf_idx[i]; in invalidate_buf() local
168 retVal = stream->invalidateBuf(buf_idx); in invalidate_buf()
171 buf_idx, retVal); in invalidate_buf()
207 uint32_t buf_idx = stream->mBatchBufDefs[index].user_buf.buf_idx[i]; in clean_invalidate_buf() local
208 retVal = stream->cleanInvalidateBuf(buf_idx); in clean_invalidate_buf()
211 buf_idx, retVal); in clean_invalidate_buf()
247 uint32_t buf_idx = stream->mBatchBufDefs[index].user_buf.buf_idx[i]; in clean_buf() local
248 retVal = stream->cleanBuf(buf_idx); in clean_buf()
251 buf_idx, retVal); in clean_buf()
599 bufDone(frame->bufs[0]->buf_idx); in processDataNotify()
[all …]
DQCamera3Stream.h93 int32_t mapBuf(uint8_t buf_type, uint32_t buf_idx,
95 int32_t unmapBuf(uint8_t buf_type, uint32_t buf_idx, int32_t plane_idx);
DQCamera3Channel.cpp361 rc = mStreams[j]->bufDone(recvd_frame->bufs[i]->buf_idx); in bufDone()
826 frameIndex = (uint8_t)super_frame->bufs[0]->buf_idx; in streamCbRoutine()
905 frameIndex = super_frame->bufs[0]->buf_idx; in streamCbRoutine()
2218 mMemory.cleanInvalidateCache(super_frame->bufs[0]->buf_idx); in streamCbRoutine()
2859 frameIndex = (uint8_t)super_frame->bufs[0]->buf_idx; in streamCbRoutine()
3262 snapshotIdx = (int32_t)src_frame->bufs[0]->buf_idx; in jpegEvtHandle()
3644 frameIndex = (uint8_t)super_frame->bufs[0]->buf_idx; in streamCbRoutine()
4018 frameIndex = (uint8_t)super_frame->bufs[0]->buf_idx; in streamCbRoutine()
4045 frameIndex = (uint8_t)super_frame->bufs[0]->buf_idx; in streamCbRoutine()
4367 uint32_t buf_idx = recvd_frame->bufs[0]->buf_idx; in bufDone() local
[all …]
/hardware/qcom/camera/QCamera2/HAL3/
DQCamera3Stream.cpp166 uint32_t buf_idx = stream->mBatchBufDefs[index].user_buf.buf_idx[i]; in invalidate_buf() local
167 retVal = stream->invalidateBuf(buf_idx); in invalidate_buf()
170 buf_idx, retVal); in invalidate_buf()
206 uint32_t buf_idx = stream->mBatchBufDefs[index].user_buf.buf_idx[i]; in clean_invalidate_buf() local
207 retVal = stream->cleanInvalidateBuf(buf_idx); in clean_invalidate_buf()
210 buf_idx, retVal); in clean_invalidate_buf()
544 bufDone(frame->bufs[0]->buf_idx); in processDataNotify()
581 stream->bufDone(recvd_frame->bufs[0]->buf_idx); in dataNotifyCB()
641 pme->bufDone(frame->bufs[0]->buf_idx); in dataProcRoutine()
1136 int32_t QCamera3Stream::mapBuf(uint8_t buf_type, uint32_t buf_idx, in mapBuf() argument
[all …]
DQCamera3Stream.h93 int32_t mapBuf(uint8_t buf_type, uint32_t buf_idx,
95 int32_t unmapBuf(uint8_t buf_type, uint32_t buf_idx, int32_t plane_idx);
DQCamera3Channel.cpp360 rc = mStreams[j]->bufDone(recvd_frame->bufs[i]->buf_idx); in bufDone()
808 frameIndex = (uint8_t)super_frame->bufs[0]->buf_idx; in streamCbRoutine()
887 frameIndex = super_frame->bufs[0]->buf_idx; in streamCbRoutine()
2180 mMemory.cleanInvalidateCache(super_frame->bufs[0]->buf_idx); in streamCbRoutine()
2814 frameIndex = (uint8_t)super_frame->bufs[0]->buf_idx; in streamCbRoutine()
3238 snapshotIdx = (int32_t)src_frame->bufs[0]->buf_idx; in jpegEvtHandle()
3610 frameIndex = (uint8_t)super_frame->bufs[0]->buf_idx; in streamCbRoutine()
4024 frameIndex = (uint8_t)super_frame->bufs[0]->buf_idx; in streamCbRoutine()
4051 frameIndex = (uint8_t)super_frame->bufs[0]->buf_idx; in streamCbRoutine()
4374 uint32_t buf_idx = recvd_frame->bufs[0]->buf_idx; in bufDone() local
[all …]
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_muxer.c1021 uint8_t buf_type, uint32_t buf_idx, int32_t plane_idx, int fd, in mm_camera_muxer_map_stream_buf() argument
1031 camera_handle, ch_id, stream_id, buf_idx, plane_idx); in mm_camera_muxer_map_stream_buf()
1037 buf_type, buf_idx, plane_idx, in mm_camera_muxer_map_stream_buf()
1106 uint8_t buf_type, uint32_t buf_idx, in mm_camera_muxer_unmap_stream_buf() argument
1114 camera_handle, ch_id, stream_id, buf_idx, plane_idx); in mm_camera_muxer_unmap_stream_buf()
1120 buf_type, buf_idx, plane_idx); in mm_camera_muxer_unmap_stream_buf()
2322 my_obj->buf_idx = 0; in mm_camera_muxer_get_stream_bufs()
2327 (master_obj->buf_idx + master_obj->buf_num)) in mm_camera_muxer_get_stream_bufs()
2335 my_obj->buf_idx = master_obj->buf_idx + master_obj->buf_num; in mm_camera_muxer_get_stream_bufs()
2336 if ((my_obj->buf_idx + my_obj->buf_num) > my_obj->total_buf_cnt) { in mm_camera_muxer_get_stream_bufs()
[all …]
Dmm_camera_stream.c55 uint32_t buf_idx);
225 my_obj->buf_status[buf_info->buf->buf_idx].buf_refcnt++; in mm_stream_handle_rcvd_buf()
349 uint32_t idx = buf_info.buf->buf_idx; in mm_stream_data_notify()
428 my_obj->buf_status[buf_info->buf->buf_idx].buf_refcnt++; in mm_stream_dispatch_app_data()
444 my_obj->buf_status[buf_info->buf->buf_idx].buf_refcnt++; in mm_stream_dispatch_app_data()
1314 for (i = my_obj->buf_idx; i < (my_obj->buf_idx + my_obj->buf_num); i++) { in mm_stream_streamon()
1466 my_obj->buf_status[buf->buf_idx].buf_refcnt--; in mm_stream_write_user_buf()
1467 if (0 == my_obj->buf_status[buf->buf_idx].buf_refcnt) { in mm_stream_write_user_buf()
1469 cont_buf = (struct msm_camera_user_buf_cont_t *)my_obj->buf[buf->buf_idx].buffer; in mm_stream_write_user_buf()
1470 cont_buf->buf_cnt = my_obj->buf[buf->buf_idx].user_buf.bufs_used; in mm_stream_write_user_buf()
[all …]
/hardware/qcom/camera/msm8998/QCamera2/HAL/
DQCamera2HWICallbacks.cpp257 frame->bufs[i]->buf_idx, in zsl_channel_cb()
344 uint32_t idx = preview_frame->buf_idx; in selectScene()
615 memory->cleanCache(pFrame->buf_idx); in TsMakeupProcess()
738 memory->setBufferStatus(frame->buf_idx, STATUS_SKIPPED); in synchronous_stream_cb_routine()
757 uint32_t idx = frame->buf_idx; in synchronous_stream_cb_routine()
841 memory->isBufSkipped(frame->buf_idx)) { in preview_stream_cb_routine()
843 memory->setBufferStatus(frame->buf_idx, STATUS_IDLE); in preview_stream_cb_routine()
849 stream->bufDone(frame->buf_idx); in preview_stream_cb_routine()
852 uint32_t idx = frame->buf_idx; in preview_stream_cb_routine()
1173 stream->bufDone(frame->buf_idx); in nodisplay_preview_stream_cb_routine()
[all …]
DQCameraStream.cpp217 uint32_t buf_idx = stream->mBufDefs[index].user_buf.buf_idx[i]; in invalidate_buf() local
218 stream->invalidateBuf(buf_idx); in invalidate_buf()
254 uint32_t buf_idx = stream->mBufDefs[index].user_buf.buf_idx[i]; in clean_invalidate_buf() local
255 stream->cleanInvalidateBuf(buf_idx); in clean_invalidate_buf()
291 uint32_t buf_idx = stream->mBufDefs[index].user_buf.buf_idx[i]; in clean_buf() local
292 stream->cleanBuf(buf_idx); in clean_buf()
1248 rc |= bufDone(super_buf->bufs[i]->buf_idx); in bufDone()
1302 uint8_t buf_idx = mStreamMetaMemory[index].buf_index[i]; in bufDone() local
1303 bufDone((uint32_t)buf_idx); in bufDone()
2580 int32_t QCameraStream::mapBuf(uint8_t buf_type, uint32_t buf_idx, in mapBuf() argument
[all …]
DQCameraStream.h102 int32_t mapBuf(uint8_t buf_type, uint32_t buf_idx,
108 int32_t unmapBuf(uint8_t buf_type, uint32_t buf_idx, int32_t plane_idx,
/hardware/qcom/camera/QCamera2/HAL/
DQCamera2HWICallbacks.cpp254 frame->bufs[i]->buf_idx, in zsl_channel_cb()
341 uint32_t idx = preview_frame->buf_idx; in selectScene()
609 memory->cleanCache(pFrame->buf_idx); in TsMakeupProcess()
740 uint32_t idx = frame->buf_idx; in synchronous_stream_cb_routine()
820 (memory->isBufOwnedByCamera(frame->buf_idx)))) { in preview_stream_cb_routine()
825 stream->bufDone(frame->buf_idx); in preview_stream_cb_routine()
836 uint32_t idx = frame->buf_idx; in preview_stream_cb_routine()
1143 stream->bufDone(frame->buf_idx); in nodisplay_preview_stream_cb_routine()
1155 preview_mem = previewMemObj->getMemory(frame->buf_idx, false); in nodisplay_preview_stream_cb_routine()
1168 cbArg.user_data = (void *) &frame->buf_idx; in nodisplay_preview_stream_cb_routine()
[all …]
DQCameraStream.cpp217 uint32_t buf_idx = stream->mBufDefs[index].user_buf.buf_idx[i]; in invalidate_buf() local
218 stream->invalidateBuf(buf_idx); in invalidate_buf()
254 uint32_t buf_idx = stream->mBufDefs[index].user_buf.buf_idx[i]; in clean_invalidate_buf() local
255 stream->cleanInvalidateBuf(buf_idx); in clean_invalidate_buf()
1002 bufDone(frame->bufs[0]->buf_idx); in processDataNotify()
1068 stream->bufDone(recvd_frame->bufs[0]->buf_idx); in dataNotifyCB()
1118 pme->bufDone(frame->bufs[0]->buf_idx); in dataProcRoutine()
1199 uint8_t buf_idx = mStreamMetaMemory[index].buf_index[i]; in bufDone() local
1200 bufDone((uint32_t)buf_idx); in bufDone()
2449 int32_t QCameraStream::mapBuf(uint8_t buf_type, uint32_t buf_idx, in mapBuf() argument
[all …]
DQCameraStream.h102 int32_t mapBuf(uint8_t buf_type, uint32_t buf_idx,
108 int32_t unmapBuf(uint8_t buf_type, uint32_t buf_idx, int32_t plane_idx,
DQCameraChannel.cpp423 rc = mStreams[j]->bufDone(recvd_frame->bufs[i]->buf_idx); in bufDone()
457 rc = mStreams[j]->bufDone(recvd_frame->bufs[i]->buf_idx); in bufDone()
1519 param.reprocess.buf_index = frame->bufs[i]->buf_idx; in doReprocess()
1567 uint32_t buf_idx = 0; in doReprocess() local
1574 buf_idx, -1, in doReprocess()
1581 param.reprocess.buf_index = buf_idx; in doReprocess()
1587 buf_idx, -1); in doReprocess()
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-interface/inc/
Dmm_camera_muxer.h111 uint8_t buf_type, uint32_t buf_idx, int32_t plane_idx, int fd,
118 uint8_t buf_type, uint32_t buf_idx,
180 int32_t mm_camera_map_stream_buf_ops(uint32_t buf_idx,
187 int32_t mm_camera_unmap_stream_buf_ops(uint32_t buf_idx,
Dmm_camera.h316 uint8_t buf_idx; /* starting buffer index */ member
705 uint32_t buf_idx);
788 uint32_t buf_idx,
800 uint32_t buf_idx,
830 uint32_t stream_id, uint32_t buf_idx);
/hardware/qcom/camera/QCamera2/stack/common/
Dmm_camera_interface.h102 int32_t buf_idx[MSM_CAMERA_MAX_USER_BUFF_CNT]; member
128 uint32_t buf_idx; member
636 uint32_t buf_idx,
674 uint32_t buf_idx,
758 uint32_t buf_idx);
/hardware/qcom/camera/msm8998/QCamera2/stack/common/
Dmm_camera_interface.h115 int32_t buf_idx[MSM_CAMERA_MAX_USER_BUFF_CNT]; member
142 uint32_t buf_idx; member
678 uint32_t buf_idx,
716 uint32_t buf_idx,
800 uint32_t buf_idx);
/hardware/qcom/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_stream.c53 uint32_t buf_idx);
215 my_obj->buf_status[buf_info->buf->buf_idx].buf_refcnt++; in mm_stream_handle_rcvd_buf()
333 uint32_t idx = buf_info.buf->buf_idx; in mm_stream_data_notify()
416 my_obj->buf_status[buf_info->buf->buf_idx].buf_refcnt++; in mm_stream_dispatch_app_data()
1320 my_obj->buf_status[buf->buf_idx].buf_refcnt--; in mm_stream_write_user_buf()
1321 if (0 == my_obj->buf_status[buf->buf_idx].buf_refcnt) { in mm_stream_write_user_buf()
1323 cont_buf = (struct msm_camera_user_buf_cont_t *)my_obj->buf[buf->buf_idx].buffer; in mm_stream_write_user_buf()
1324 cont_buf->buf_cnt = my_obj->buf[buf->buf_idx].user_buf.bufs_used; in mm_stream_write_user_buf()
1326 cont_buf->buf_idx[i] = my_obj->buf[buf->buf_idx].user_buf.buf_idx[i]; in mm_stream_write_user_buf()
1331 buf->buf_idx, rc); in mm_stream_write_user_buf()
[all …]
Dmm_camera_interface.c649 uint32_t buf_idx) in mm_camera_intf_cancel_buf() argument
660 rc = mm_camera_cancel_buf(my_obj, ch_id, stream_id, buf_idx); in mm_camera_intf_cancel_buf()
1366 uint32_t buf_idx, int32_t plane_idx, int fd, in mm_camera_intf_map_stream_buf() argument
1376 camera_handle, ch_id, stream_id, buf_idx, plane_idx); in mm_camera_intf_map_stream_buf()
1382 buf_type, buf_idx, plane_idx, in mm_camera_intf_map_stream_buf()
1459 uint32_t buf_idx, in mm_camera_intf_unmap_stream_buf() argument
1469 camera_handle, ch_id, stream_id, buf_idx, plane_idx); in mm_camera_intf_unmap_stream_buf()
1475 buf_type, buf_idx, plane_idx); in mm_camera_intf_unmap_stream_buf()
/hardware/qcom/msm8996/kernel-headers/media/
Dmsmb_isp.h277 uint32_t buf_idx; member
572 int32_t buf_idx; member
689 int8_t buf_idx; member
697 int8_t buf_idx; member
/hardware/qcom/msm8996/original-kernel-headers/media/
Dmsmb_isp.h253 uint32_t buf_idx; member
547 int32_t buf_idx; member
680 int8_t buf_idx; member
687 int8_t buf_idx; member
/hardware/qcom/camera/QCamera2/stack/mm-camera-interface/inc/
Dmm_camera.h596 uint32_t buf_idx);
680 uint32_t buf_idx,
692 uint32_t buf_idx,
718 uint32_t stream_id, uint32_t buf_idx);
/hardware/qcom/msm8994/original-kernel-headers/media/
Dmsmb_isp.h235 uint32_t buf_idx; member
464 int32_t buf_idx; member
576 int8_t buf_idx; member

123