Home
last modified time | relevance | path

Searched refs:mem_info (Results 1 – 17 of 17) sorted by relevance

/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_app.c138 alloc.len = buf->mem_info.size; in mm_app_allocate_ion_memory()
169 buf->mem_info.main_ion_fd = main_ion_fd; in mm_app_allocate_ion_memory()
170 buf->mem_info.fd = ion_info_fd.fd; in mm_app_allocate_ion_memory()
171 buf->mem_info.handle = ion_info_fd.handle; in mm_app_allocate_ion_memory()
172 buf->mem_info.size = alloc.len; in mm_app_allocate_ion_memory()
173 buf->mem_info.data = data; in mm_app_allocate_ion_memory()
191 rc = munmap(buf->mem_info.data, buf->mem_info.size); in mm_app_deallocate_ion_memory()
193 if (buf->mem_info.fd >= 0) { in mm_app_deallocate_ion_memory()
194 close(buf->mem_info.fd); in mm_app_deallocate_ion_memory()
195 buf->mem_info.fd = -1; in mm_app_deallocate_ion_memory()
[all …]
Dmm_qcamera_snapshot.c68 mm_app_cache_ops((mm_camera_app_meminfo_t *) pme->current_job_frames->bufs[i]->mem_info, in jpeg_encode_cb()
243 encode_param.dest_buf[0].buf_size = test_obj->jpeg_buf.mem_info.size; in createEncodingSession()
244 encode_param.dest_buf[0].buf_vaddr = (uint8_t *) test_obj->jpeg_buf.mem_info.data; in createEncodingSession()
245 encode_param.dest_buf[0].fd = test_obj->jpeg_buf.mem_info.fd; in createEncodingSession()
343 mm_app_cache_ops((mm_camera_app_meminfo_t *)frame->mem_info, in mm_app_snapshot_metadata_notify_cb()
489 mm_app_cache_ops((mm_camera_app_meminfo_t *)m_frame->mem_info, in mm_app_snapshot_notify_cb()
492 pme->jpeg_buf.mem_info.size = m_frame->frame_len; in mm_app_snapshot_notify_cb()
522 mm_app_cache_ops((mm_camera_app_meminfo_t *)bufs->bufs[i]->mem_info, in mm_app_snapshot_notify_cb()
Dmm_qcamera_video.c116 mm_app_cache_ops((mm_camera_app_meminfo_t *)frame->mem_info, in mm_app_metadata_notify_cb()
195 mm_app_cache_ops((mm_camera_app_meminfo_t *)m_frame->mem_info, in mm_app_snapshot_notify_cb()
230 mm_app_cache_ops((mm_camera_app_meminfo_t *)bufs->bufs[i]->mem_info, in mm_app_snapshot_notify_cb()
305 mm_app_cache_ops((mm_camera_app_meminfo_t *)frame->mem_info, in mm_app_preview_notify_cb()
329 mm_app_cache_ops((mm_camera_app_meminfo_t *)frame->mem_info, in mm_app_video_notify_cb()
Dmm_qcamera_reprocess.c92 mm_app_cache_ops((mm_camera_app_meminfo_t *)frame->mem_info, in mm_app_reprocess_notify_cb()
348 mm_app_cache_ops((mm_camera_app_meminfo_t *) recvd_frame->bufs[i]->mem_info, in mm_app_release_ppinput()
Dmm_qcamera_preview.c220 mm_app_cache_ops((mm_camera_app_meminfo_t *)frame->mem_info, in mm_app_metadata_notify_cb()
298 mm_app_cache_ops((mm_camera_app_meminfo_t *)m_frame->mem_info, in mm_app_snapshot_notify_cb()
333 mm_app_cache_ops((mm_camera_app_meminfo_t *)bufs->bufs[i]->mem_info, in mm_app_snapshot_notify_cb()
411 mm_app_cache_ops((mm_camera_app_meminfo_t *)frame->mem_info, in mm_app_preview_notify_cb()
594 mm_app_cache_ops((mm_camera_app_meminfo_t *)m_frame->mem_info, in mm_app_zsl_notify_cb()
605 mm_app_cache_ops((mm_camera_app_meminfo_t *)p_frame->mem_info, in mm_app_zsl_notify_cb()
614 mm_app_cache_ops((mm_camera_app_meminfo_t *)md_frame->mem_info, in mm_app_zsl_notify_cb()
Dmm_qcamera_rdi.c85 mm_app_cache_ops((mm_camera_app_meminfo_t *)frame->mem_info, in mm_app_rdi_notify_cb()
/hardware/qcom/camera/msm8998/usbcamcore/src/
DQualcommUsbCamera.cpp122 static int allocate_ion_memory(QCameraHalMemInfo_t *mem_info, int ion_type);
123 static int deallocate_ion_memory(QCameraHalMemInfo_t *mem_info);
913 camHal->previewMem.mem_info[cnt].main_ion_fd = in initDisplayBuffers()
915 if (camHal->previewMem.mem_info[cnt].main_ion_fd < 0) { in initDisplayBuffers()
921 if (ioctl(camHal->previewMem.mem_info[cnt].main_ion_fd, in initDisplayBuffers()
926 camHal->previewMem.mem_info[cnt].fd = in initDisplayBuffers()
928 camHal->previewMem.mem_info[cnt].size = in initDisplayBuffers()
930 camHal->previewMem.mem_info[cnt].handle = ion_info_fd.handle; in initDisplayBuffers()
1012 ion_handle.handle = camHal->previewMem.mem_info[cnt].handle; in deInitDisplayBuffers()
1013 if (ioctl(camHal->previewMem.mem_info[cnt].main_ion_fd, in deInitDisplayBuffers()
[all …]
/hardware/qcom/camera/msm8998/QCamera2/HAL/
DQCamera2HWICallbacks.cpp343 QCameraGrallocMemory *memory = (QCameraGrallocMemory *)preview_frame->mem_info; in selectScene()
614 QCameraMemory *memory = (QCameraMemory *)pFrame->mem_info; in TsMakeupProcess()
734 QCameraGrallocMemory *memory = (QCameraGrallocMemory *) frame->mem_info; in synchronous_stream_cb_routine()
807 QCameraGrallocMemory *memory = (QCameraGrallocMemory *)super_frame->bufs[0]->mem_info; in preview_stream_cb_routine()
1190 QCameraMemory *previewMemObj = (QCameraMemory *)frame->mem_info; in nodisplay_preview_stream_cb_routine()
1262 QCameraMemory *memObj = (QCameraMemory *)frame->mem_info; in secure_stream_cb_routine()
1349 previewMemObj = (QCameraMemory *)frame->mem_info; in rdi_mode_stream_cb_routine()
1412 QCameraGrallocMemory *memory = (QCameraGrallocMemory *)super_frame->bufs[0]->mem_info; in postview_stream_cb_routine()
1434 QCameraMemory *memObj = (QCameraMemory *)frame->mem_info; in postview_stream_cb_routine()
1508 videoMemObj = (QCameraVideoMemory *)frame->mem_info; in video_stream_cb_routine()
[all …]
DQCameraMem.cpp283 bufDef.mem_info = (void *)this; in getBufDef()
340 bufDef.mem_info = (void *)this; in getUserBufDef()
DQCameraPostProc.cpp2367 QCameraMemory *memObj = (QCameraMemory *)main_frame->mem_info; in encodeData()
2535 QCameraMemory *workMem = (QCameraMemory *)workBuf->mem_info; in encodeData()
2915 QCameraMemory *rawMemObj = (QCameraMemory *)frame->mem_info; in processRawImageImpl()
/hardware/qcom/camera/msm8998/QCamera2/HAL3/
DQCamera3Stream.cpp786 if( NULL == mBufDefs[index].mem_info) { in bufDoneLocked()
894 if (NULL != mBufDefs[index].mem_info) { in bufRelease()
907 mBufDefs[index].mem_info = NULL; in bufRelease()
1063 if (mStreamBufs->valid(i) && NULL != mBufDefs[i].mem_info) { in putBufs()
1561 batchBufDef.mem_info = mStreamBatchBufs; in getBatchBufDef()
DQCamera3StreamMem.cpp245 bufDef.mem_info = (void *)this; in getBufDef()
DQCamera3Mem.cpp239 bufDef.mem_info = (void *)this; in getBufDef()
DQCamera3PostProc.cpp1287 QCamera3StreamMem *memObj = (QCamera3StreamMem *)(recvd_frame->input_buffer.mem_info); in encodeFWKData()
1660 QCamera3StreamMem *memObj = (QCamera3StreamMem *)main_frame->mem_info; in encodeData()
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-test/inc/
Dmm_qcamera_app.h170 mm_camera_app_meminfo_t mem_info; member
395 extern int mm_app_cache_ops(mm_camera_app_meminfo_t *mem_info, int cmd);
/hardware/qcom/camera/msm8998/QCamera2/util/
DQCameraDualFOVPP.cpp468 QCameraMemory *pMem = (QCameraMemory *)main_snapshot_buf->mem_info; in process()
471 pMem = (QCameraMemory *)aux_snapshot_buf->mem_info; in process()
/hardware/qcom/camera/msm8998/QCamera2/stack/common/
Dmm_camera_interface.h154 void *mem_info; member