/hardware/qcom/camera/msm8998/QCamera2/HAL3/ |
D | QCamera3Stream.cpp | 168 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 …]
|
D | QCamera3Stream.h | 94 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);
|
D | QCamera3Channel.cpp | 368 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 …]
|
D | QCamera3PostProc.cpp | 1314 memObj->cleanInvalidateCache(recvd_frame->input_buffer.buf_idx); in encodeFWKData() 1635 jpeg_job_data->src_frame->bufs[0]->buf_idx); in encodeData() 1688 memObj->cleanInvalidateCache(main_frame->buf_idx); in encodeData() 1798 jpg_job.encode_job.src_index = (int32_t)main_frame->buf_idx; in encodeData() 1890 jpg_job.encode_job.thumb_index = main_frame->buf_idx; in encodeData()
|
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-interface/src/ |
D | mm_camera_muxer.c | 1021 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 …]
|
D | mm_camera_stream.c | 58 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 …]
|
D | mm_camera_interface.c | 966 uint32_t buf_idx) in mm_camera_intf_cancel_buf() argument 977 rc = mm_camera_cancel_buf(my_obj, ch_id, stream_id, buf_idx); in mm_camera_intf_cancel_buf() 2080 uint32_t buf_idx, int32_t plane_idx, int fd, in mm_camera_intf_map_stream_buf() argument 2089 camera_handle, ch_id, stream_id, buf_idx, plane_idx); in mm_camera_intf_map_stream_buf() 2101 buf_type, buf_idx, plane_idx, in mm_camera_intf_map_stream_buf() 2117 aux_strid, buf_type, buf_idx, plane_idx, fd, size, in mm_camera_intf_map_stream_buf() 2231 uint32_t buf_idx, in mm_camera_intf_unmap_stream_buf() argument 2241 camera_handle, ch_id, stream_id, buf_idx, plane_idx); in mm_camera_intf_unmap_stream_buf() 2252 aux_strid, buf_type, buf_idx, in mm_camera_intf_unmap_stream_buf() 2268 buf_type, buf_idx, plane_idx); in mm_camera_intf_unmap_stream_buf()
|
D | mm_camera.c | 591 uint32_t buf_idx) in mm_camera_cancel_buf() argument 599 rc = mm_channel_cancel_buf(ch_obj,stream_id,buf_idx); in mm_camera_cancel_buf() 1639 uint32_t buf_idx, in mm_camera_map_stream_buf() argument 1657 payload.frame_idx = buf_idx; in mm_camera_map_stream_buf() 1740 uint32_t buf_idx, in mm_camera_unmap_stream_buf() argument 1755 payload.frame_idx = buf_idx; in mm_camera_unmap_stream_buf()
|
/hardware/qcom/camera/msm8998/QCamera2/HAL/ |
D | QCamera2HWICallbacks.cpp | 257 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 …]
|
D | QCameraStream.cpp | 217 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 …]
|
D | QCameraStream.h | 102 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,
|
D | QCameraChannel.cpp | 467 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()
|
D | QCameraMem.cpp | 286 bufDef.buf_idx = index; in getBufDef() 343 bufDef.buf_idx = index; in getUserBufDef() 353 bufDef.user_buf.buf_idx[i] = -1; in getUserBufDef() 354 cont_buf->buf_idx[i] = planeBufDef[plane_idx].buf_idx; in getUserBufDef()
|
D | QCameraPostProc.cpp | 2378 camera_memory_t *mem = memObj->getMemory(main_frame->buf_idx, false); in encodeData() 2495 jpg_job.encode_job.src_index = (int32_t)main_frame->buf_idx; in encodeData() 2534 int workBufIndex = workBuf->buf_idx; in encodeData() 2705 jpg_job.encode_job.thumb_index = thumb_frame->buf_idx; in encodeData() 2922 raw_mem = rawMemObj->getMemory(frame->buf_idx, false); in processRawImageImpl() 3431 meta_buf_index = (uint8_t) src_frame->bufs[i]->buf_idx; in doReprocess() 3455 meta_buf_index = (uint8_t) src_reproc_frame->bufs[i]->buf_idx; in doReprocess()
|
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-interface/inc/ |
D | mm_camera_muxer.h | 111 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,
|
D | mm_camera.h | 317 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/ |
D | mm_camera_interface.h | 116 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/google/graphics/common/libgscaler/ |
D | libgscaler_obj.cpp | 1015 gsc->src_info.buf.buf_idx = 0; in m_gsc_out_config() 1333 gsc->dst_info.buf.buf_idx = 0; in m_gsc_cap_config() 1548 buf.index = gsc->src_info.buf.buf_idx; in m_gsc_out_run() 1571 __func__, gsc->src_info.buf.buf_idx, in m_gsc_out_run() 1575 gsc->src_info.buf.buf_idx++; in m_gsc_out_run() 1576 gsc->src_info.buf.buf_idx = in m_gsc_out_run() 1577 gsc->src_info.buf.buf_idx % MAX_BUFFERS_GSCALER_OUT; in m_gsc_out_run() 1623 __func__, gsc->src_info.buf.buf_idx, in m_gsc_cap_run() 1642 buf.index = gsc->dst_info.buf.buf_idx; in m_gsc_cap_run() 1665 __func__, gsc->dst_info.buf.buf_idx, in m_gsc_cap_run() [all …]
|
D | libgscaler_obj.h | 120 int buf_idx; member
|
/hardware/google/gchips/include/ |
D | exynos_format.h | 163 unsigned int buf_idx; member
|
/hardware/qcom/camera/msm8998/QCamera2/util/ |
D | QCameraDualFOVPP.cpp | 469 pMem->invalidateCache(main_snapshot_buf->buf_idx); in process() 472 pMem->invalidateCache(aux_snapshot_buf->buf_idx); in process()
|
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-jpeg-interface/src/ |
D | mm_jpeg.c | 2021 uint32_t buf_idx; in mm_jpeg_process_encoding_job() local 2052 buf_idx = qdata.u32; in mm_jpeg_process_encoding_job() 2054 if (0U == buf_idx) { in mm_jpeg_process_encoding_job() 2059 buf_idx--; in mm_jpeg_process_encoding_job() 2061 job_node->enc_info.encode_job.dst_index = (int32_t)buf_idx; in mm_jpeg_process_encoding_job() 3052 uint32_t buf_idx = 0U; in mm_jpeg_create_session() local 3071 buf_idx = i; in mm_jpeg_create_session() 3072 if (buf_idx < MM_JPEG_CONCURRENT_SESSIONS_COUNT) { in mm_jpeg_create_session() 3073 p_session->work_buffer = my_obj->ionBuffer[buf_idx]; in mm_jpeg_create_session()
|
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-test/src/ |
D | mm_qcamera_reprocess.c | 317 param.reprocess.buf_index = frame->buf_idx; in mm_app_do_reprocess()
|
D | mm_qcamera_app.c | 318 app_bufs[i].buf.buf_idx = i; in mm_app_alloc_bufs() 414 rc = ops_tbl->map_ops(pBufs[i].buf_idx, in mm_app_stream_initbuf() 429 ops_tbl->unmap_ops(pBufs[j].buf_idx, -1, in mm_app_stream_initbuf() 454 ops_tbl->unmap_ops(stream->s_bufs[i].buf.buf_idx, -1, in mm_app_stream_deinitbuf()
|
/hardware/qcom/camera/msm8998/ |
D | QCamera_Intf.h | 1037 int8_t buf_idx; /* buffer index */ member
|