Home
last modified time | relevance | path

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

12

/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()
512 bufDone(frame->bufs[0]->buf_idx); in processDataNotify()
549 stream->bufDone(recvd_frame->bufs[0]->buf_idx); in dataNotifyCB()
603 pme->bufDone(frame->bufs[0]->buf_idx); in dataProcRoutine()
1054 int32_t QCamera3Stream::mapBuf(uint8_t buf_type, uint32_t buf_idx, in mapBuf() argument
[all …]
DQCamera3Stream.h92 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);
DQCamera3Channel.cpp357 rc = mStreams[j]->bufDone(recvd_frame->bufs[i]->buf_idx); in bufDone()
799 frameIndex = (uint8_t)super_frame->bufs[0]->buf_idx; in streamCbRoutine()
2076 mMemory.cleanInvalidateCache(super_frame->bufs[0]->buf_idx); in streamCbRoutine()
2704 frameIndex = (uint8_t)super_frame->bufs[0]->buf_idx; in streamCbRoutine()
3062 snapshotIdx = (int32_t)src_frame->bufs[0]->buf_idx; in jpegEvtHandle()
3426 frameIndex = (uint8_t)super_frame->bufs[0]->buf_idx; in streamCbRoutine()
3751 frameIndex = (uint8_t)super_frame->bufs[0]->buf_idx; in streamCbRoutine()
3778 frameIndex = (uint8_t)super_frame->bufs[0]->buf_idx; in streamCbRoutine()
4101 uint32_t buf_idx = recvd_frame->bufs[0]->buf_idx; in bufDone() local
4102 mFreeBufferList.push_back(buf_idx); in bufDone()
[all …]
/hardware/qcom/camera/QCamera2/HAL/
DQCamera2HWICallbacks.cpp257 frame->bufs[i]->buf_idx, in zsl_channel_cb()
344 uint32_t idx = preview_frame->buf_idx; in selectScene()
612 memory->cleanCache(pFrame->buf_idx); in TsMakeupProcess()
743 uint32_t idx = frame->buf_idx; in synchronous_stream_cb_routine()
823 (memory->isBufOwnedByCamera(frame->buf_idx)))) { in preview_stream_cb_routine()
828 stream->bufDone(frame->buf_idx); in preview_stream_cb_routine()
839 uint32_t idx = frame->buf_idx; in preview_stream_cb_routine()
1146 stream->bufDone(frame->buf_idx); in nodisplay_preview_stream_cb_routine()
1158 preview_mem = previewMemObj->getMemory(frame->buf_idx, false); in nodisplay_preview_stream_cb_routine()
1171 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()
2443 int32_t QCameraStream::mapBuf(uint8_t buf_type, uint32_t buf_idx, in mapBuf() argument
[all …]
DQCameraChannel.cpp419 rc = mStreams[j]->bufDone(recvd_frame->bufs[i]->buf_idx); in bufDone()
453 rc = mStreams[j]->bufDone(recvd_frame->bufs[i]->buf_idx); in bufDone()
1514 param.reprocess.buf_index = frame->bufs[i]->buf_idx; in doReprocess()
1561 uint32_t buf_idx = 0; in doReprocess() local
1568 buf_idx, -1, in doReprocess()
1575 param.reprocess.buf_index = buf_idx; in doReprocess()
1581 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,
DQCameraMem.cpp278 bufDef.buf_idx = index; in getBufDef()
335 bufDef.buf_idx = index; in getUserBufDef()
345 bufDef.user_buf.buf_idx[i] = -1; in getUserBufDef()
346 cont_buf->buf_idx[i] = planeBufDef[plane_idx].buf_idx; in getUserBufDef()
/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
642 uint32_t buf_idx,
679 uint32_t buf_idx,
/hardware/qcom/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_stream.c213 my_obj->buf_status[buf_info->buf->buf_idx].buf_refcnt++; in mm_stream_handle_rcvd_buf()
331 uint32_t idx = buf_info.buf->buf_idx; in mm_stream_data_notify()
414 my_obj->buf_status[buf_info->buf->buf_idx].buf_refcnt++; in mm_stream_dispatch_app_data()
1254 my_obj->buf_status[buf->buf_idx].buf_refcnt--; in mm_stream_write_user_buf()
1255 if (0 == my_obj->buf_status[buf->buf_idx].buf_refcnt) { in mm_stream_write_user_buf()
1256 cont_buf = (struct msm_camera_user_buf_cont_t *)my_obj->buf[buf->buf_idx].buffer; in mm_stream_write_user_buf()
1257 cont_buf->buf_cnt = my_obj->buf[buf->buf_idx].user_buf.bufs_used; in mm_stream_write_user_buf()
1259 cont_buf->buf_idx[i] = my_obj->buf[buf->buf_idx].user_buf.buf_idx[i]; in mm_stream_write_user_buf()
1264 buf->buf_idx, rc); in mm_stream_write_user_buf()
1267 my_obj->buf[buf->buf_idx].user_buf.buf_idx[i] = -1; in mm_stream_write_user_buf()
[all …]
Dmm_camera_interface.c1293 uint32_t buf_idx, in mm_camera_intf_map_stream_buf() argument
1305 camera_handle, ch_id, stream_id, buf_idx, plane_idx); in mm_camera_intf_map_stream_buf()
1311 buf_type, buf_idx, plane_idx, in mm_camera_intf_map_stream_buf()
1388 uint32_t buf_idx, in mm_camera_intf_unmap_stream_buf() argument
1398 camera_handle, ch_id, stream_id, buf_idx, plane_idx); in mm_camera_intf_unmap_stream_buf()
1404 buf_type, buf_idx, plane_idx); in mm_camera_intf_unmap_stream_buf()
Dmm_camera.c1532 uint32_t buf_idx, in mm_camera_map_stream_buf() argument
1549 payload.frame_idx = buf_idx; in mm_camera_map_stream_buf()
1631 uint32_t buf_idx, in mm_camera_unmap_stream_buf() argument
1646 payload.frame_idx = buf_idx; in mm_camera_unmap_stream_buf()
/hardware/qcom/msm8996/kernel-headers/media/
Dmsmb_isp.h277 uint32_t buf_idx; member
559 int32_t buf_idx; member
675 int8_t buf_idx; member
684 int8_t buf_idx; member
Dmsmb_camera.h169 unsigned int buf_idx[MSM_CAMERA_MAX_USER_BUFF_CNT]; member
/hardware/qcom/msm8996/original-kernel-headers/media/
Dmsmb_isp.h264 uint32_t buf_idx; member
542 int32_t buf_idx; member
675 int8_t buf_idx; member
682 int8_t buf_idx; member
Dmsmb_camera.h217 unsigned int buf_idx[MSM_CAMERA_MAX_USER_BUFF_CNT]; 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
/hardware/qcom/camera/QCamera2/stack/mm-jpeg-interface/src/
Dmm_jpeg.c1829 uint32_t buf_idx; in mm_jpeg_process_encoding_job() local
1860 buf_idx = qdata.u32; in mm_jpeg_process_encoding_job()
1862 if (0U == buf_idx) { in mm_jpeg_process_encoding_job()
1867 buf_idx--; in mm_jpeg_process_encoding_job()
1869 job_node->enc_info.encode_job.dst_index = (int32_t)buf_idx; in mm_jpeg_process_encoding_job()
2633 uint32_t buf_idx = 0U; in mm_jpeg_create_session() local
2652 buf_idx = i; in mm_jpeg_create_session()
2653 if (buf_idx < MM_JPEG_CONCURRENT_SESSIONS_COUNT) { in mm_jpeg_create_session()
2654 p_session->work_buffer = my_obj->ionBuffer[buf_idx]; in mm_jpeg_create_session()
/hardware/qcom/camera/QCamera2/stack/mm-camera-interface/inc/
Dmm_camera.h672 uint32_t buf_idx,
683 uint32_t buf_idx,
/hardware/qcom/msm8960/original-kernel-headers/media/
Dmsm_camera.h338 unsigned short buf_idx; member
598 int buf_idx; member
760 int buf_idx; member

12