Home
last modified time | relevance | path

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

12

/hardware/qcom/camera/msm8998/QCamera2/HAL3/
DQCamera3Stream.cpp168 uint32_t buf_idx = stream->mBatchBufDefs[index].user_buf.buf_idx[i]; in invalidate_buf() local
169 retVal = stream->invalidateBuf(buf_idx); in invalidate_buf()
172 buf_idx, retVal); in invalidate_buf()
208 uint32_t buf_idx = stream->mBatchBufDefs[index].user_buf.buf_idx[i]; in clean_invalidate_buf() local
209 retVal = stream->cleanInvalidateBuf(buf_idx); in clean_invalidate_buf()
212 buf_idx, retVal); in clean_invalidate_buf()
248 uint32_t buf_idx = stream->mBatchBufDefs[index].user_buf.buf_idx[i]; in clean_buf() local
249 retVal = stream->cleanBuf(buf_idx); in clean_buf()
252 buf_idx, retVal); in clean_buf()
613 bufDone(frame->bufs[0]->buf_idx); in processDataNotify()
[all …]
DQCamera3Stream.h94 int32_t mapBuf(uint8_t buf_type, uint32_t buf_idx,
96 int32_t unmapBuf(uint8_t buf_type, uint32_t buf_idx, int32_t plane_idx);
DQCamera3Channel.cpp368 rc = mStreams[j]->bufDone(recvd_frame->bufs[i]->buf_idx); in bufDone()
860 frameIndex = (uint8_t)super_frame->bufs[0]->buf_idx; in streamCbRoutine()
900 uint32_t buf_idx = super_buf->bufs[0]->buf_idx; in streamCbRoutine() local
901 int32_t frame_num = mMemory.getFrameNumber(buf_idx); in streamCbRoutine()
972 frameIndex = super_frame->bufs[0]->buf_idx; in streamCbRoutine()
1298 mMemory.unregisterBuffer(frame->buf_idx); in unregisterBuffer()
2397 mMemory.cleanCache(super_frame->bufs[0]->buf_idx); in streamCbRoutine()
3157 frameIndex = (uint8_t)super_frame->bufs[0]->buf_idx; in streamCbRoutine()
3595 snapshotIdx = (int32_t)src_frame->bufs[0]->buf_idx; in jpegEvtHandle()
4035 frameIndex = (uint8_t)super_frame->bufs[0]->buf_idx; in streamCbRoutine()
[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()
2330 my_obj->buf_idx = 0; in mm_camera_muxer_get_stream_bufs()
2335 (master_obj->buf_idx + master_obj->buf_num)) in mm_camera_muxer_get_stream_bufs()
2343 my_obj->buf_idx = master_obj->buf_idx + master_obj->buf_num; in mm_camera_muxer_get_stream_bufs()
2344 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.c58 uint32_t buf_idx);
229 my_obj->buf_status[buf_info->buf->buf_idx].buf_refcnt++; in mm_stream_handle_rcvd_buf()
353 uint32_t idx = buf_info.buf->buf_idx; in mm_stream_data_notify()
432 my_obj->buf_status[buf_info->buf->buf_idx].buf_refcnt++; in mm_stream_dispatch_app_data()
448 my_obj->buf_status[buf_info->buf->buf_idx].buf_refcnt++; in mm_stream_dispatch_app_data()
1324 for (i = my_obj->buf_idx; i < (my_obj->buf_idx + my_obj->buf_num); i++) { in mm_stream_streamon()
1522 my_obj->buf_status[buf->buf_idx].buf_refcnt--; in mm_stream_write_user_buf()
1523 if (0 == my_obj->buf_status[buf->buf_idx].buf_refcnt) { in mm_stream_write_user_buf()
1525 cont_buf = (struct msm_camera_user_buf_cont_t *)my_obj->buf[buf->buf_idx].buffer; in mm_stream_write_user_buf()
1526 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()
761 uint32_t idx = frame->buf_idx; in synchronous_stream_cb_routine()
845 memory->isBufSkipped(frame->buf_idx)) { in preview_stream_cb_routine()
847 memory->setBufferStatus(frame->buf_idx, STATUS_IDLE); in preview_stream_cb_routine()
853 stream->bufDone(frame->buf_idx); in preview_stream_cb_routine()
856 uint32_t idx = frame->buf_idx; in preview_stream_cb_routine()
1181 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()
1256 rc |= bufDone(super_buf->bufs[i]->buf_idx); in bufDone()
1319 uint8_t buf_idx = mStreamMetaMemory[index].buf_index[i]; in bufDone() local
1320 bufDone((uint32_t)buf_idx); in bufDone()
2597 int32_t QCameraStream::mapBuf(uint8_t buf_type, uint32_t buf_idx, in mapBuf() argument
[all …]
DQCameraChannel.cpp467 rc = mStreams[j]->bufDone(recvd_frame->bufs[i]->buf_idx); in bufDone()
502 rc = mStreams[j]->bufDone(recvd_frame->bufs[i]->buf_idx); in bufDone()
1750 param.reprocess.buf_index = frame->bufs[i]->buf_idx; in doReprocess()
1799 uint32_t buf_idx = 0; in doReprocess() local
1806 buf_idx, -1, in doReprocess()
1813 param.reprocess.buf_index = buf_idx; in doReprocess()
1819 buf_idx, -1); in doReprocess()
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/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.h317 uint8_t buf_idx; /* starting buffer index */ member
708 uint32_t buf_idx);
793 uint32_t buf_idx,
805 uint32_t buf_idx,
835 uint32_t stream_id, uint32_t buf_idx);
/hardware/qcom/camera/msm8998/QCamera2/stack/common/
Dmm_camera_interface.h116 int32_t buf_idx[MSM_CAMERA_MAX_USER_BUFF_CNT]; member
143 uint32_t buf_idx; member
679 uint32_t buf_idx,
717 uint32_t buf_idx,
825 uint32_t buf_idx);
/hardware/qcom/msm8998/original-kernel-headers/media/
Dmsmb_isp.h260 uint32_t buf_idx; member
276 uint32_t buf_idx; member
587 int32_t buf_idx; member
720 int8_t buf_idx; member
727 int8_t buf_idx; member
Dmsmb_camera.h204 unsigned int buf_idx[MSM_CAMERA_MAX_USER_BUFF_CNT]; member
/hardware/qcom/msm8998/kernel-headers/media/
Dmsmb_isp.h284 uint32_t buf_idx; member
301 uint32_t buf_idx; member
616 int32_t buf_idx; member
732 int8_t buf_idx; member
741 int8_t buf_idx; member
Dmsmb_camera.h174 unsigned int buf_idx[MSM_CAMERA_MAX_USER_BUFF_CNT]; 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
Dmsmb_camera.h202 unsigned int buf_idx[MSM_CAMERA_MAX_USER_BUFF_CNT]; member
/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/msm8994/kernel-headers/media/
Dmsmb_camera.h161 unsigned int buf_idx[MSM_CAMERA_MAX_USER_BUFF_CNT]; member
Dmsmb_isp.h252 uint32_t buf_idx; member
495 int32_t buf_idx; member
595 int8_t buf_idx; member
/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
Dmsmb_camera.h206 unsigned int buf_idx[MSM_CAMERA_MAX_USER_BUFF_CNT]; member
/hardware/qcom/msm8x84/original-kernel-headers/media/
Dmsmb_isp.h347 int32_t buf_idx; member
409 int8_t buf_idx; member
/hardware/qcom/msm8x84/kernel-headers/media/
Dmsmb_isp.h381 int32_t buf_idx; member
446 int8_t buf_idx; member

12