Searched refs:mem_info (Results 1 – 16 of 16) sorted by relevance
/hardware/qcom/camera/QCamera2/stack/mm-camera-test/src/ |
D | mm_qcamera_app.c | 134 alloc.len = buf->mem_info.size; in mm_app_allocate_ion_memory() 165 buf->mem_info.main_ion_fd = main_ion_fd; in mm_app_allocate_ion_memory() 166 buf->mem_info.fd = ion_info_fd.fd; in mm_app_allocate_ion_memory() 167 buf->mem_info.handle = ion_info_fd.handle; in mm_app_allocate_ion_memory() 168 buf->mem_info.size = alloc.len; in mm_app_allocate_ion_memory() 169 buf->mem_info.data = data; in mm_app_allocate_ion_memory() 187 rc = munmap(buf->mem_info.data, buf->mem_info.size); in mm_app_deallocate_ion_memory() 189 if (buf->mem_info.fd >= 0) { in mm_app_deallocate_ion_memory() 190 close(buf->mem_info.fd); in mm_app_deallocate_ion_memory() 191 buf->mem_info.fd = -1; in mm_app_deallocate_ion_memory() [all …]
|
D | mm_qcamera_snapshot.c | 68 mm_app_cache_ops((mm_camera_app_meminfo_t *) pme->current_job_frames->bufs[i]->mem_info, in jpeg_encode_cb() 261 mm_app_cache_ops((mm_camera_app_meminfo_t *)frame->mem_info, in mm_app_snapshot_metadata_notify_cb() 407 mm_app_cache_ops((mm_camera_app_meminfo_t *)m_frame->mem_info, in mm_app_snapshot_notify_cb() 442 mm_app_cache_ops((mm_camera_app_meminfo_t *)bufs->bufs[i]->mem_info, in mm_app_snapshot_notify_cb()
|
D | mm_qcamera_preview.c | 127 mm_app_cache_ops((mm_camera_app_meminfo_t *)frame->mem_info, in mm_app_metadata_notify_cb() 205 mm_app_cache_ops((mm_camera_app_meminfo_t *)m_frame->mem_info, in mm_app_snapshot_notify_cb() 240 mm_app_cache_ops((mm_camera_app_meminfo_t *)bufs->bufs[i]->mem_info, in mm_app_snapshot_notify_cb() 315 mm_app_cache_ops((mm_camera_app_meminfo_t *)frame->mem_info, in mm_app_preview_notify_cb() 489 mm_app_cache_ops((mm_camera_app_meminfo_t *)m_frame->mem_info, in mm_app_zsl_notify_cb() 500 mm_app_cache_ops((mm_camera_app_meminfo_t *)p_frame->mem_info, in mm_app_zsl_notify_cb() 509 mm_app_cache_ops((mm_camera_app_meminfo_t *)md_frame->mem_info, in mm_app_zsl_notify_cb()
|
D | mm_qcamera_reprocess.c | 92 mm_app_cache_ops((mm_camera_app_meminfo_t *)frame->mem_info, in mm_app_reprocess_notify_cb() 345 mm_app_cache_ops((mm_camera_app_meminfo_t *) recvd_frame->bufs[i]->mem_info, in mm_app_release_ppinput()
|
D | mm_qcamera_video.c | 51 mm_app_cache_ops((mm_camera_app_meminfo_t *)frame->mem_info, in mm_app_video_notify_cb()
|
D | mm_qcamera_rdi.c | 84 mm_app_cache_ops((mm_camera_app_meminfo_t *)frame->mem_info, in mm_app_rdi_notify_cb()
|
/hardware/qcom/camera/usbcamcore/src/ |
D | QualcommUsbCamera.cpp | 122 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/QCamera2/HAL3/ |
D | QCamera3Stream.cpp | 650 if( NULL == mBufDefs[index].mem_info) { in bufDone() 712 if (NULL != mBufDefs[index].mem_info) { in bufRelease() 725 mBufDefs[index].mem_info = NULL; in bufRelease() 878 if (mStreamBufs->valid(i) && NULL != mBufDefs[i].mem_info) { in putBufs() 1339 batchBufDef.mem_info = mStreamBatchBufs; in getBatchBufDef()
|
D | QCamera3StreamMem.cpp | 217 bufDef.mem_info = (void *)this; in getBufDef()
|
D | QCamera3Mem.cpp | 236 bufDef.mem_info = (void *)this; in getBufDef()
|
D | QCamera3PostProc.cpp | 1399 QCamera3StreamMem *memObj = (QCamera3StreamMem *)main_frame->mem_info; in encodeData()
|
/hardware/qcom/camera/QCamera2/HAL/ |
D | QCamera2HWICallbacks.cpp | 343 QCameraGrallocMemory *memory = (QCameraGrallocMemory *)preview_frame->mem_info; in selectScene() 611 QCameraMemory *memory = (QCameraMemory *)pFrame->mem_info; in TsMakeupProcess() 736 memory = (QCameraGrallocMemory *)super_frame->bufs[0]->mem_info; in synchronous_stream_cb_routine() 788 QCameraGrallocMemory *memory = (QCameraGrallocMemory *)super_frame->bufs[0]->mem_info; in preview_stream_cb_routine() 1155 QCameraMemory *previewMemObj = (QCameraMemory *)frame->mem_info; in nodisplay_preview_stream_cb_routine() 1233 QCameraMemory *previewMemObj = (QCameraMemory *)frame->mem_info; in rdi_mode_stream_cb_routine() 1270 QCameraMemory *previewMemObj = (QCameraMemory *)frame->mem_info; in rdi_mode_stream_cb_routine() 1328 QCameraGrallocMemory *memory = (QCameraGrallocMemory *)super_frame->bufs[0]->mem_info; in postview_stream_cb_routine() 1350 QCameraMemory *memObj = (QCameraMemory *)frame->mem_info; in postview_stream_cb_routine() 1426 videoMemObj = (QCameraMemory *)frame->mem_info; in video_stream_cb_routine() [all …]
|
D | QCameraMem.cpp | 275 bufDef.mem_info = (void *)this; in getBufDef() 332 bufDef.mem_info = (void *)this; in getUserBufDef()
|
D | QCameraPostProc.cpp | 2132 QCameraMemory *memObj = (QCameraMemory *)main_frame->mem_info; in encodeData() 2223 QCameraMemory *workMem = (QCameraMemory *)workBuf->mem_info; in encodeData() 2577 QCameraMemory *rawMemObj = (QCameraMemory *)frame->mem_info; in processRawImageImpl()
|
/hardware/qcom/camera/QCamera2/stack/mm-camera-test/inc/ |
D | mm_qcamera_app.h | 168 mm_camera_app_meminfo_t mem_info; member 381 extern int mm_app_cache_ops(mm_camera_app_meminfo_t *mem_info, int cmd);
|
/hardware/qcom/camera/QCamera2/stack/common/ |
D | mm_camera_interface.h | 139 void *mem_info; member
|