Home
last modified time | relevance | path

Searched refs:fd_data (Results 1 – 24 of 24) sorted by relevance

/hardware/qcom/display/msm8960/libgralloc/
Dionalloc.cpp70 struct ion_fd_data fd_data; in alloc_buffer() local
92 fd_data.handle = ionAllocData.handle; in alloc_buffer()
94 if(ioctl(mIonFd, ION_IOC_MAP, &fd_data)) { in alloc_buffer()
104 MAP_SHARED, fd_data.fd, 0); in alloc_buffer()
114 clean_buffer(base, data.size, data.offset, fd_data.fd, in alloc_buffer()
119 data.fd = fd_data.fd; in alloc_buffer()
182 struct ion_fd_data fd_data; in clean_buffer() local
190 fd_data.fd = fd; in clean_buffer()
191 if (ioctl(mIonFd, ION_IOC_IMPORT, &fd_data)) { in clean_buffer()
198 handle_data.handle = fd_data.handle; in clean_buffer()
[all …]
/hardware/qcom/display/msm8226/libgralloc/
Dionalloc.cpp70 struct ion_fd_data fd_data; in alloc_buffer() local
92 fd_data.handle = ionAllocData.handle; in alloc_buffer()
94 if(ioctl(mIonFd, ION_IOC_MAP, &fd_data)) { in alloc_buffer()
104 MAP_SHARED, fd_data.fd, 0); in alloc_buffer()
115 data.fd = fd_data.fd; in alloc_buffer()
182 struct ion_fd_data fd_data; in clean_buffer() local
190 fd_data.fd = fd; in clean_buffer()
191 if (ioctl(mIonFd, ION_IOC_IMPORT, &fd_data)) { in clean_buffer()
198 handle_data.handle = fd_data.handle; in clean_buffer()
199 flush_data.handle = fd_data.handle; in clean_buffer()
/hardware/qcom/display/msm8994/libgralloc/
Dionalloc.cpp73 struct ion_fd_data fd_data; in alloc_buffer() local
101 fd_data.handle = ionAllocData.handle; in alloc_buffer()
103 if(ioctl(mIonFd, ION_IOC_MAP, &fd_data)) { in alloc_buffer()
113 MAP_SHARED, fd_data.fd, 0); in alloc_buffer()
124 data.fd = fd_data.fd; in alloc_buffer()
196 struct ion_fd_data fd_data; in clean_buffer() local
204 fd_data.fd = fd; in clean_buffer()
205 if (ioctl(mIonFd, ION_IOC_IMPORT, &fd_data)) { in clean_buffer()
212 handle_data.handle = fd_data.handle; in clean_buffer()
213 flush_data.handle = fd_data.handle; in clean_buffer()
/hardware/qcom/display/msm8974/libgralloc/
Dionalloc.cpp70 struct ion_fd_data fd_data; in alloc_buffer() local
97 fd_data.handle = ionAllocData.handle; in alloc_buffer()
99 if(ioctl(mIonFd, ION_IOC_MAP, &fd_data)) { in alloc_buffer()
109 MAP_SHARED, fd_data.fd, 0); in alloc_buffer()
120 data.fd = fd_data.fd; in alloc_buffer()
183 struct ion_fd_data fd_data; in clean_buffer() local
191 fd_data.fd = fd; in clean_buffer()
192 if (ioctl(mIonFd, ION_IOC_IMPORT, &fd_data)) { in clean_buffer()
199 handle_data.handle = fd_data.handle; in clean_buffer()
200 flush_data.handle = fd_data.handle; in clean_buffer()
/hardware/qcom/display/msm8084/libgralloc/
Dionalloc.cpp70 struct ion_fd_data fd_data; in alloc_buffer() local
92 fd_data.handle = ionAllocData.handle; in alloc_buffer()
94 if(ioctl(mIonFd, ION_IOC_MAP, &fd_data)) { in alloc_buffer()
104 MAP_SHARED, fd_data.fd, 0); in alloc_buffer()
115 data.fd = fd_data.fd; in alloc_buffer()
178 struct ion_fd_data fd_data; in clean_buffer() local
186 fd_data.fd = fd; in clean_buffer()
187 if (ioctl(mIonFd, ION_IOC_IMPORT, &fd_data)) { in clean_buffer()
194 handle_data.handle = fd_data.handle; in clean_buffer()
195 flush_data.handle = fd_data.handle; in clean_buffer()
/hardware/qcom/camera/QCamera2/HAL/
DQCamera2HWI.cpp6320 int32_t QCamera2HardwareInterface::processFaceDetectionResult(cam_face_detection_data_t *fd_data) in processFaceDetectionResult() argument
6327 qcamera_face_detect_type_t fd_type = fd_data->fd_type; in processFaceDetectionResult()
6358 if(fd_data->num_faces_detected > 0){ in processFaceDetectionResult()
6360 sizeof(camera_face_t) * fd_data->num_faces_detected; in processFaceDetectionResult()
6417 roiData->number_of_faces = fd_data->num_faces_detected; in processFaceDetectionResult()
6421 faces[i].id = fd_data->faces[i].face_id; in processFaceDetectionResult()
6422 faces[i].score = fd_data->faces[i].score; in processFaceDetectionResult()
6426 … MAP_TO_DRIVER_COORDINATE(fd_data->faces[i].face_boundary.left, display_dim.width, 2000, -1000); in processFaceDetectionResult()
6430 … MAP_TO_DRIVER_COORDINATE(fd_data->faces[i].face_boundary.top, display_dim.height, 2000, -1000); in processFaceDetectionResult()
6434 … MAP_TO_DRIVER_COORDINATE(fd_data->faces[i].face_boundary.width, display_dim.width, 2000, 0); in processFaceDetectionResult()
[all …]
DQCamera2HWI.h408 int32_t processFaceDetectionResult(cam_face_detection_data_t *fd_data);
/hardware/qcom/media/mm-video-legacy/vidc/venc/inc/
Domx_video_base.h595 struct ion_fd_data *fd_data,int flag);
/hardware/qcom/media/mm-video-legacy/vidc/venc/src/
Domx_video_base.cpp4303 struct ion_fd_data *fd_data,int flag) in alloc_map_ion_memory() argument
4307 if (size <=0 || !alloc_data || !fd_data) { in alloc_map_ion_memory()
4340 fd_data->handle = alloc_data->handle; in alloc_map_ion_memory()
4341 rc = ioctl(ion_device_fd,ION_IOC_MAP,fd_data); in alloc_map_ion_memory()
4346 buf_ion_info.fd_ion_data = *fd_data; in alloc_map_ion_memory()
4348 fd_data->fd =-1; in alloc_map_ion_memory()
/hardware/qcom/media/mm-video-v4l2/vidc/venc/inc/
Domx_video_base.h558 struct ion_fd_data *fd_data,int flag);
/hardware/qcom/media/mm-video-v4l2/vidc/venc/src/
Domx_video_base.cpp4355 struct ion_fd_data *fd_data,int flag) in alloc_map_ion_memory() argument
4359 if (size <=0 || !alloc_data || !fd_data) { in alloc_map_ion_memory()
4402 fd_data->handle = alloc_data->handle; in alloc_map_ion_memory()
4403 rc = ioctl(ion_device_fd,ION_IOC_MAP,fd_data); in alloc_map_ion_memory()
4408 buf_ion_info.fd_ion_data = *fd_data; in alloc_map_ion_memory()
4410 fd_data->fd =-1; in alloc_map_ion_memory()
/hardware/qcom/media/mm-video-legacy/vidc/vdec/inc/
Domx_vdec.h619 struct ion_fd_data *fd_data,int flag);
/hardware/qcom/media/mm-video-v4l2/vidc/vdec/inc/
Domx_vdec_hevc.h634 struct ion_fd_data *fd_data,int flag);
Domx_vdec.h712 struct ion_fd_data *fd_data,int flag);
/hardware/qcom/media/mm-video-v4l2/vidc/vdec/src/
Domx_vdec.cpp7291 struct ion_fd_data *fd_data,int flag) in alloc_map_ion_memory() argument
7298 if (!alloc_data || buffer_size <= 0 || !fd_data) { in alloc_map_ion_memory()
7353 fd_data->handle = alloc_data->handle; in alloc_map_ion_memory()
7354 rc = ioctl(fd,ION_IOC_MAP,fd_data); in alloc_map_ion_memory()
7360 ion_buf_info.fd_ion_data = *fd_data; in alloc_map_ion_memory()
7362 fd_data->fd =-1; in alloc_map_ion_memory()
7370 alloc_data->flags, fd_data->handle, fd_data->fd); in alloc_map_ion_memory()
Domx_vdec_hevc.cpp6919 struct ion_fd_data *fd_data, int flag) in alloc_map_ion_memory() argument
6925 if (!alloc_data || buffer_size <= 0 || !fd_data) { in alloc_map_ion_memory()
6963 fd_data->handle = alloc_data->handle; in alloc_map_ion_memory()
6964 rc = ioctl(fd,ION_IOC_MAP,fd_data); in alloc_map_ion_memory()
6969 ion_buf_info.fd_ion_data = *fd_data; in alloc_map_ion_memory()
6971 fd_data->fd =-1; in alloc_map_ion_memory()
Domx_vdec_hevc_swvdec.cpp7879 struct ion_fd_data *fd_data, int flag, int heap_id) in alloc_map_ion_memory() argument
7885 if (!alloc_data || buffer_size <= 0 || !fd_data) { in alloc_map_ion_memory()
7923 fd_data->handle = alloc_data->handle; in alloc_map_ion_memory()
7924 rc = ioctl(fd,ION_IOC_MAP,fd_data); in alloc_map_ion_memory()
7929 ion_buf_info.fd_ion_data = *fd_data; in alloc_map_ion_memory()
7931 fd_data->fd =-1; in alloc_map_ion_memory()
Domx_vdec_msm8974.cpp8358 struct ion_fd_data *fd_data, int flag) in alloc_map_ion_memory() argument
8364 if (!alloc_data || buffer_size <= 0 || !fd_data) { in alloc_map_ion_memory()
8397 fd_data->handle = alloc_data->handle; in alloc_map_ion_memory()
8398 rc = ioctl(fd,ION_IOC_MAP,fd_data); in alloc_map_ion_memory()
8403 ion_buf_info.fd_ion_data = *fd_data; in alloc_map_ion_memory()
8405 fd_data->fd =-1; in alloc_map_ion_memory()
/hardware/qcom/media/mm-video-legacy/vidc/vdec/src/
Domx_vdec_copper.cpp7065 struct ion_fd_data *fd_data, int flag) in alloc_map_ion_memory() argument
7071 if (!alloc_data || buffer_size <= 0 || !fd_data) { in alloc_map_ion_memory()
7106 fd_data->handle = alloc_data->handle; in alloc_map_ion_memory()
7107 rc = ioctl(fd,ION_IOC_MAP,fd_data); in alloc_map_ion_memory()
7112 ion_buf_info.fd_ion_data = *fd_data; in alloc_map_ion_memory()
7114 fd_data->fd =-1; in alloc_map_ion_memory()
Domx_vdec.cpp7603 struct ion_fd_data *fd_data,int flag) in alloc_map_ion_memory() argument
7609 if (!alloc_data || buffer_size <= 0 || !fd_data) { in alloc_map_ion_memory()
7645 fd_data->handle = alloc_data->handle; in alloc_map_ion_memory()
7646 rc = ioctl(fd,ION_IOC_MAP,fd_data); in alloc_map_ion_memory()
7651 ion_buf_info.fd_ion_data = *fd_data; in alloc_map_ion_memory()
7653 fd_data->fd =-1; in alloc_map_ion_memory()
/hardware/qcom/msm8960/original-kernel-headers/media/
Dmsm_camera.h700 struct ion_fd_data fd_data; member
/hardware/qcom/msm8960/kernel-headers/media/
Dmsm_camera.h667 struct ion_fd_data fd_data; member
/hardware/qcom/msm8x74/original-kernel-headers/media/
Dmsm_camera.h766 struct ion_fd_data fd_data; member
/hardware/qcom/msm8x74/kernel-headers/media/
Dmsm_camera.h662 struct ion_fd_data fd_data; member