Home
last modified time | relevance | path

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

/device/google/marlin/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_app.c137 alloc.len = buf->mem_info.size; in mm_app_allocate_ion_memory()
168 buf->mem_info.main_ion_fd = main_ion_fd; in mm_app_allocate_ion_memory()
169 buf->mem_info.fd = ion_info_fd.fd; in mm_app_allocate_ion_memory()
170 buf->mem_info.handle = ion_info_fd.handle; in mm_app_allocate_ion_memory()
171 buf->mem_info.size = alloc.len; in mm_app_allocate_ion_memory()
172 buf->mem_info.data = data; in mm_app_allocate_ion_memory()
190 rc = munmap(buf->mem_info.data, buf->mem_info.size); in mm_app_deallocate_ion_memory()
192 if (buf->mem_info.fd >= 0) { in mm_app_deallocate_ion_memory()
193 close(buf->mem_info.fd); in mm_app_deallocate_ion_memory()
194 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()
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()
Dmm_qcamera_preview.c129 mm_app_cache_ops((mm_camera_app_meminfo_t *)frame->mem_info, in mm_app_metadata_notify_cb()
207 mm_app_cache_ops((mm_camera_app_meminfo_t *)m_frame->mem_info, in mm_app_snapshot_notify_cb()
242 mm_app_cache_ops((mm_camera_app_meminfo_t *)bufs->bufs[i]->mem_info, in mm_app_snapshot_notify_cb()
317 mm_app_cache_ops((mm_camera_app_meminfo_t *)frame->mem_info, in mm_app_preview_notify_cb()
491 mm_app_cache_ops((mm_camera_app_meminfo_t *)m_frame->mem_info, in mm_app_zsl_notify_cb()
502 mm_app_cache_ops((mm_camera_app_meminfo_t *)p_frame->mem_info, in mm_app_zsl_notify_cb()
511 mm_app_cache_ops((mm_camera_app_meminfo_t *)md_frame->mem_info, in mm_app_zsl_notify_cb()
Dmm_qcamera_reprocess.c92 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()
Dmm_qcamera_video.c51 mm_app_cache_ops((mm_camera_app_meminfo_t *)frame->mem_info, in mm_app_video_notify_cb()
Dmm_qcamera_rdi.c86 mm_app_cache_ops((mm_camera_app_meminfo_t *)frame->mem_info, in mm_app_rdi_notify_cb()
/device/google/marlin/camera/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 …]
/device/linaro/bootloader/arm-trusted-firmware/include/plat/common/
Dplatform.h194 void bl2_plat_get_bl33_meminfo(struct meminfo *mem_info);
201 void bl2_plat_get_scp_bl2_meminfo(struct meminfo *mem_info);
217 void bl2_plat_get_bl32_meminfo(struct meminfo *mem_info);
/device/google/marlin/camera/QCamera2/HAL/
DQCamera2HWICallbacks.cpp340 QCameraGrallocMemory *memory = (QCameraGrallocMemory *)preview_frame->mem_info; in selectScene()
609 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()
1156 QCameraMemory *previewMemObj = (QCameraMemory *)frame->mem_info; in nodisplay_preview_stream_cb_routine()
1236 QCameraMemory *previewMemObj = (QCameraMemory *)frame->mem_info; in rdi_mode_stream_cb_routine()
1275 QCameraMemory *previewMemObj = (QCameraMemory *)frame->mem_info; in rdi_mode_stream_cb_routine()
1335 QCameraGrallocMemory *memory = (QCameraGrallocMemory *)super_frame->bufs[0]->mem_info; in postview_stream_cb_routine()
1357 QCameraMemory *memObj = (QCameraMemory *)frame->mem_info; in postview_stream_cb_routine()
1433 videoMemObj = (QCameraVideoMemory *)frame->mem_info; in video_stream_cb_routine()
[all …]
DQCameraMem.cpp281 bufDef.mem_info = (void *)this; in getBufDef()
338 bufDef.mem_info = (void *)this; in getUserBufDef()
DQCameraPostProc.cpp2136 QCameraMemory *memObj = (QCameraMemory *)main_frame->mem_info; in encodeData()
2229 QCameraMemory *workMem = (QCameraMemory *)workBuf->mem_info; in encodeData()
2608 QCameraMemory *rawMemObj = (QCameraMemory *)frame->mem_info; in processRawImageImpl()
/device/google/marlin/camera/QCamera2/HAL3/
DQCamera3Stream.cpp751 if( NULL == mBufDefs[index].mem_info) { in bufDone()
857 if (NULL != mBufDefs[index].mem_info) { in bufRelease()
870 mBufDefs[index].mem_info = NULL; in bufRelease()
1024 if (mStreamBufs->valid(i) && NULL != mBufDefs[i].mem_info) { in putBufs()
1515 batchBufDef.mem_info = mStreamBatchBufs; in getBatchBufDef()
DQCamera3StreamMem.cpp240 bufDef.mem_info = (void *)this; in getBufDef()
DQCamera3Mem.cpp237 bufDef.mem_info = (void *)this; in getBufDef()
DQCamera3PostProc.cpp1197 QCamera3StreamMem *memObj = (QCamera3StreamMem *)(recvd_frame->input_buffer.mem_info); in encodeFWKData()
1402 QCamera3StreamMem *memObj = (QCamera3StreamMem *)main_frame->mem_info; in encodeData()
/device/google/marlin/camera/QCamera2/stack/mm-camera-test/inc/
Dmm_qcamera_app.h168 mm_camera_app_meminfo_t mem_info; member
381 extern int mm_app_cache_ops(mm_camera_app_meminfo_t *mem_info, int cmd);
/device/google/marlin/camera/QCamera2/stack/common/
Dmm_camera_interface.h140 void *mem_info; member
/device/linaro/bootloader/arm-trusted-firmware/docs/
Dporting-guide.rst1653 Argument : meminfo *mem_info, void *plat_info
1660 The platform may copy the contents of the ``mem_info`` and ``plat_info`` into