Searched refs:pmem_fd (Results 1 - 25 of 37) sorted by relevance

12

/hardware/qcom/media/mm-video-legacy/vidc/vdec/test/
H A Ddecoder_driver_test.c389 if (ptemp [i]->pmem_fd != -1)
393 close (ptemp [i]->pmem_fd);
427 if (ptemp [i]->pmem_fd != -1)
431 close (ptemp [i]->pmem_fd);
553 ptemp [i]->pmem_fd = -1;
559 ptemp [i]->pmem_fd = open ("/dev/pmem_adsp",O_RDWR);
561 if (ptemp [i]->pmem_fd < 0)
568 MAP_SHARED,ptemp [i]->pmem_fd,0);
569 DEBUG_PRINT ("\n pmem fd = %d virt addr = %p",ptemp [i]->pmem_fd,\
637 fillbuffer.buffer.pmem_fd
[all...]
H A Domx_vdec_test.cpp185 int pmem_fd; member in struct:temp_egl
372 static bool align_pmem_buffers(int pmem_fd, OMX_U32 buffer_size,
2353 p_eglHeaders[bufCnt]->pmem_fd = open(PMEM_DEVICE,O_RDWR);
2355 if(p_eglHeaders[bufCnt]->pmem_fd < 0) {
2362 align_pmem_buffers(p_eglHeaders[bufCnt]->pmem_fd, bufSize,
2365 DEBUG_PRINT_ERROR("\n allocation size %d pmem fd %d",bufSize,p_eglHeaders[bufCnt]->pmem_fd);
2367 MAP_SHARED,p_eglHeaders[bufCnt]->pmem_fd,0);
2432 pPMEMInfo[bufCnt].pmem_fd = open(PMEM_DEVICE,O_RDWR);;
2433 if(pPMEMInfo[bufCnt].pmem_fd < 0) {
2439 align_pmem_buffers(pPMEMInfo[bufCnt].pmem_fd, bufSiz
3840 align_pmem_buffers(int pmem_fd, OMX_U32 buffer_size, OMX_U32 alignment) argument
3902 int pmem_fd = open (PMEM_DEVICE,O_RDWR); local
[all...]
/hardware/qcom/media/mm-video-v4l2/vidc/vdec/test/
H A Ddecoder_driver_test.c370 if (ptemp [i]->pmem_fd != -1) {
373 close (ptemp [i]->pmem_fd);
402 if (ptemp [i]->pmem_fd != -1) {
405 close (ptemp [i]->pmem_fd);
513 ptemp [i]->pmem_fd = -1;
518 ptemp [i]->pmem_fd = open ("/dev/pmem_adsp",O_RDWR);
520 if (ptemp [i]->pmem_fd < 0) {
526 MAP_SHARED,ptemp [i]->pmem_fd,0);
527 DEBUG_PRINT ("\n pmem fd = %d virt addr = %p",ptemp [i]->pmem_fd,\
594 fillbuffer.buffer.pmem_fd
[all...]
H A Domx_vdec_test.cpp270 int pmem_fd; member in struct:temp_egl
469 static bool align_pmem_buffers(int pmem_fd, OMX_U32 buffer_size,
2467 p_eglHeaders[bufCnt]->pmem_fd = open(PMEM_DEVICE,O_RDWR);
2469 if (p_eglHeaders[bufCnt]->pmem_fd < 0) {
2476 align_pmem_buffers(p_eglHeaders[bufCnt]->pmem_fd, bufSize,
2479 DEBUG_PRINT_ERROR("\n allocation size %d pmem fd %d",bufSize,p_eglHeaders[bufCnt]->pmem_fd);
2481 MAP_SHARED,p_eglHeaders[bufCnt]->pmem_fd,0);
2546 pPMEMInfo[bufCnt].pmem_fd = open(PMEM_DEVICE,O_RDWR);;
2547 if (pPMEMInfo[bufCnt].pmem_fd < 0) {
2553 align_pmem_buffers(pPMEMInfo[bufCnt].pmem_fd, bufSiz
4088 align_pmem_buffers(int pmem_fd, OMX_U32 buffer_size, OMX_U32 alignment) argument
4148 int pmem_fd = open (PMEM_DEVICE,O_RDWR); local
[all...]
/hardware/qcom/media/mm-video-v4l2/vidc/vdec/src/
H A Domx_vdec.cpp3953 drv_ctx.ptr_outputbuffer[i].pmem_fd = handle->fd;
3980 drv_ctx.ptr_outputbuffer[i].pmem_fd = \
3983 drv_ctx.ptr_outputbuffer[i].pmem_fd = \
3986 if (drv_ctx.ptr_outputbuffer[i].pmem_fd < 0) {
3990 if (drv_ctx.ptr_outputbuffer[i].pmem_fd == 0) {
3991 drv_ctx.ptr_outputbuffer[i].pmem_fd = \
3994 if (drv_ctx.ptr_outputbuffer[i].pmem_fd < 0) {
3999 if (!align_pmem_buffers(drv_ctx.ptr_outputbuffer[i].pmem_fd,
4003 close(drv_ctx.ptr_outputbuffer[i].pmem_fd);
4013 drv_ctx.ptr_outputbuffer[i].pmem_fd,
4515 int pmem_fd = -1; local
4710 int pmem_fd = -1; local
5967 int pmem_fd; member in struct:temp_egl
7267 align_pmem_buffers(int pmem_fd, OMX_U32 buffer_size, OMX_U32 alignment) argument
8946 OMX_U32 pmem_fd = -1, pmem_fd_iommu = -1; local
9082 OMX_U32 pmem_fd = -1; local
[all...]
H A Domx_vdec_hevc.cpp3696 drv_ctx.ptr_outputbuffer[i].pmem_fd = handle->fd;
3715 drv_ctx.ptr_outputbuffer[i].pmem_fd = \
3718 drv_ctx.ptr_outputbuffer[i].pmem_fd = \
3721 if (drv_ctx.ptr_outputbuffer[i].pmem_fd < 0) {
3722 DEBUG_PRINT_ERROR("ION/pmem buffer fd is bad %d\n", drv_ctx.ptr_outputbuffer[i].pmem_fd);
3727 if (drv_ctx.ptr_outputbuffer[i].pmem_fd == 0) {
3728 drv_ctx.ptr_outputbuffer[i].pmem_fd = \
3730 if (drv_ctx.ptr_outputbuffer[i].pmem_fd < 0) {
3731 DEBUG_PRINT_ERROR("ION/pmem buffer fd is bad %d\n", drv_ctx.ptr_outputbuffer[i].pmem_fd);
3736 if (!align_pmem_buffers(drv_ctx.ptr_outputbuffer[i].pmem_fd,
4196 int pmem_fd = -1; local
4396 int pmem_fd = -1; local
5531 int pmem_fd; member in struct:temp_egl
6873 align_pmem_buffers(int pmem_fd, OMX_U32 buffer_size, OMX_U32 alignment) argument
[all...]
H A Domx_vdec_msm8974.cpp3968 drv_ctx.ptr_outputbuffer[i].pmem_fd = handle->fd;
3986 drv_ctx.ptr_outputbuffer[i].pmem_fd = \
3989 drv_ctx.ptr_outputbuffer[i].pmem_fd = \
3992 if (drv_ctx.ptr_outputbuffer[i].pmem_fd < 0) {
3993 DEBUG_PRINT_ERROR("ION/pmem buffer fd is bad %d\n", drv_ctx.ptr_outputbuffer[i].pmem_fd);
3998 if (drv_ctx.ptr_outputbuffer[i].pmem_fd == 0) {
3999 drv_ctx.ptr_outputbuffer[i].pmem_fd = \
4001 if (drv_ctx.ptr_outputbuffer[i].pmem_fd < 0) {
4002 DEBUG_PRINT_ERROR("ION/pmem buffer fd is bad %d\n", drv_ctx.ptr_outputbuffer[i].pmem_fd);
4007 if (!align_pmem_buffers(drv_ctx.ptr_outputbuffer[i].pmem_fd,
4474 int pmem_fd = -1; local
4674 int pmem_fd = -1; local
5904 int pmem_fd; member in struct:temp_egl
7234 align_pmem_buffers(int pmem_fd, OMX_U32 buffer_size, OMX_U32 alignment) argument
[all...]
/hardware/qcom/media/mm-video-legacy/vidc/vdec/src/
H A Domx_vdec.cpp4142 drv_ctx.ptr_outputbuffer[i].pmem_fd = handle->fd;
4160 drv_ctx.ptr_outputbuffer[i].pmem_fd = \
4163 drv_ctx.ptr_outputbuffer[i].pmem_fd = \
4166 if (drv_ctx.ptr_outputbuffer[i].pmem_fd < 0) {
4170 if(drv_ctx.ptr_outputbuffer[i].pmem_fd == 0)
4172 drv_ctx.ptr_outputbuffer[i].pmem_fd = \
4174 if (drv_ctx.ptr_outputbuffer[i].pmem_fd < 0) {
4179 if(!align_pmem_buffers(drv_ctx.ptr_outputbuffer[i].pmem_fd,
4184 close(drv_ctx.ptr_outputbuffer[i].pmem_fd);
4192 drv_ctx.ptr_outputbuffer[i].pmem_fd,
4683 int pmem_fd = -1; local
4884 int pmem_fd = -1; local
6116 int pmem_fd; member in struct:temp_egl
7547 align_pmem_buffers(int pmem_fd, OMX_U32 buffer_size, OMX_U32 alignment) argument
8871 OMX_U32 pmem_fd = -1; local
[all...]
H A Domx_vdec_copper.cpp3837 drv_ctx.ptr_outputbuffer[i].pmem_fd = handle->fd;
3854 drv_ctx.ptr_outputbuffer[i].pmem_fd = \
3857 drv_ctx.ptr_outputbuffer[i].pmem_fd = \
3860 if (drv_ctx.ptr_outputbuffer[i].pmem_fd < 0) {
3864 if(drv_ctx.ptr_outputbuffer[i].pmem_fd == 0)
3866 drv_ctx.ptr_outputbuffer[i].pmem_fd = \
3868 if (drv_ctx.ptr_outputbuffer[i].pmem_fd < 0) {
3873 if(!align_pmem_buffers(drv_ctx.ptr_outputbuffer[i].pmem_fd,
3878 close(drv_ctx.ptr_outputbuffer[i].pmem_fd);
3886 drv_ctx.ptr_outputbuffer[i].pmem_fd,
4340 int pmem_fd = -1; local
4557 int pmem_fd = -1; local
5757 int pmem_fd; member in struct:temp_egl
7138 align_pmem_buffers(int pmem_fd, OMX_U32 buffer_size, OMX_U32 alignment) argument
[all...]
/hardware/qcom/msm8960/kernel-headers/linux/
H A Dmsm_vidc_dec.h181 int pmem_fd; member in struct:vdec_bufferpayload
462 int pmem_fd; member in struct:vdec_seqheader
480 int pmem_fd; member in struct:vdec_input_frameinfo
544 int pmem_fd; member in struct:vdec_h264_mv
559 int pmem_fd; member in struct:vdec_meta_buffers
/hardware/qcom/msm8960/original-kernel-headers/linux/
H A Dmsm_vidc_dec.h255 int pmem_fd; member in struct:vdec_bufferpayload
505 int pmem_fd; member in struct:vdec_seqheader
521 int pmem_fd; member in struct:vdec_input_frameinfo
580 int pmem_fd; member in struct:vdec_h264_mv
594 int pmem_fd; member in struct:vdec_meta_buffers
/hardware/qcom/msm8x74/kernel-headers/linux/
H A Dmsm_vidc_dec.h180 int pmem_fd; member in struct:vdec_bufferpayload
462 int pmem_fd; member in struct:vdec_seqheader
480 int pmem_fd; member in struct:vdec_input_frameinfo
544 int pmem_fd; member in struct:vdec_h264_mv
559 int pmem_fd; member in struct:vdec_meta_buffers
/hardware/qcom/msm8x74/original-kernel-headers/linux/
H A Dmsm_vidc_dec.h252 int pmem_fd; member in struct:vdec_bufferpayload
503 int pmem_fd; member in struct:vdec_seqheader
519 int pmem_fd; member in struct:vdec_input_frameinfo
578 int pmem_fd; member in struct:vdec_h264_mv
592 int pmem_fd; member in struct:vdec_meta_buffers
/hardware/qcom/media/mm-video-legacy/vidc/venc/src/
H A Dvideo_encoder_device.cpp1251 OMX_U32 pmem_fd = -1; local
1290 pmem_fd = recon_buff[count].ion_alloc_fd.fd;
1293 pmem_fd = open(MEM_DEVICE, O_RDWR);
1295 if ((int)(pmem_fd) < 0)
1307 if (ioctl(pmem_fd, PMEM_ALLOCATE_ALIGNED, &allocation) < 0)
1317 MAP_SHARED, pmem_fd, 0);
1321 close(pmem_fd);
1322 pmem_fd = -1;
1338 DEBUG_PRINT_HIGH("\n Allocated virt:%p, FD: %d of size %d \n", buf_addr, pmem_fd, size);
1341 recon_addr.pmem_fd
[all...]
H A Dvideo_encoder_device_copper.cpp1221 OMX_U32 pmem_fd = -1; local
1257 pmem_fd = recon_buff[count].ion_alloc_fd.fd;
1259 pmem_fd = open(MEM_DEVICE, O_RDWR);
1261 if ((int)(pmem_fd) < 0)
1273 if (ioctl(pmem_fd, PMEM_ALLOCATE_ALIGNED, &allocation) < 0)
1282 MAP_SHARED, pmem_fd, 0);
1286 close(pmem_fd);
1287 pmem_fd = -1;
1302 DEBUG_PRINT_HIGH("\n Allocated virt:%p, FD: %d of size %d \n", buf_addr, pmem_fd, size);
1305 recon_addr.pmem_fd
[all...]
/hardware/qcom/media/mm-video-v4l2/vidc/venc/src/
H A Dvideo_encoder_device.cpp1349 OMX_U32 pmem_fd = -1; local
1395 pmem_fd = recon_buff[count].ion_alloc_fd.fd;
1398 pmem_fd = open(MEM_DEVICE, O_RDWR);
1400 if ((int)(pmem_fd) < 0) {
1411 if (ioctl(pmem_fd, PMEM_ALLOCATE_ALIGNED, &allocation) < 0) {
1420 MAP_SHARED, pmem_fd, 0);
1423 close(pmem_fd);
1424 pmem_fd = -1;
1441 DEBUG_PRINT_HIGH("\n Allocated virt:%p, FD: %d of size %d \n", buf_addr, pmem_fd, size);
1444 recon_addr.pmem_fd
[all...]
/hardware/qcom/media/mm-video-legacy/vidc/venc/inc/
H A Dvideo_encoder_device.h89 int pmem_fd; member in struct:venc_dev::recon_buffer
H A Dvideo_encoder_device_copper.h202 int pmem_fd; member in struct:venc_dev::recon_buffer
/hardware/qcom/media/mm-video-v4l2/vidc/vdec/inc/
H A Domx_vdec_hevc.h633 bool align_pmem_buffers(int pmem_fd, OMX_U32 buffer_size,
827 int pmem_fd; member in struct:omx_vdec::h264_mv_buffer
836 int pmem_fd; member in struct:omx_vdec::meta_buffer
906 int pmem_fd[MAX_COUNT]; member in class:omx_vdec::allocate_color_convert_buf
H A Domx_vdec.h656 bool align_pmem_buffers(int pmem_fd, OMX_U32 buffer_size,
875 int pmem_fd; member in struct:omx_vdec::h264_mv_buffer
884 int pmem_fd; member in struct:omx_vdec::meta_buffer
966 int pmem_fd[MAX_COUNT]; member in class:omx_vdec::allocate_color_convert_buf
/hardware/qcom/media/mm-video-v4l2/vidc/venc/inc/
H A Dvideo_encoder_device.h90 int pmem_fd; member in struct:venc_dev::recon_buffer
/hardware/qcom/media/mm-video-legacy/vidc/venc/test/
H A Dvenc_test.cpp393 pMem->pmem_fd = ion_data.ion_alloc_fd.fd;
395 pMem->pmem_fd = open(PMEM_DEVICE, O_RDWR);
396 if ((int)(pMem->pmem_fd) < 0)
403 MAP_SHARED, pMem->pmem_fd, pMem->offset);
406 close(pMem->pmem_fd);
407 pMem->pmem_fd = -1;
420 D("allocated pMem->fd = %d pvirt=0x%x, pMem->phys=0x%x, size = %d", pMem->pmem_fd,
432 close(pMem->pmem_fd);
433 pMem->pmem_fd = -1;
/hardware/qcom/media/mm-video-v4l2/vidc/venc/test/
H A Dvenc_test.cpp426 pMem->pmem_fd = ion_data.ion_alloc_fd.fd;
428 pMem->pmem_fd = open(PMEM_DEVICE, O_RDWR);
430 if ((int)(pMem->pmem_fd) < 0)
438 MAP_SHARED, pMem->pmem_fd, pMem->offset);
441 close(pMem->pmem_fd);
442 pMem->pmem_fd = -1;
458 D("allocated pMem->fd = %lu pvirt=0x%p, pMem->phys=0x%lx, size = %d", pMem->pmem_fd,
470 close(pMem->pmem_fd);
471 pMem->pmem_fd = -1;
/hardware/qcom/media/mm-video-legacy/vidc/vdec/inc/
H A Domx_vdec.h623 bool align_pmem_buffers(int pmem_fd, OMX_U32 buffer_size,
802 int pmem_fd; member in struct:omx_vdec::h264_mv_buffer
867 int pmem_fd[MAX_COUNT]; member in class:omx_vdec::allocate_color_convert_buf
/hardware/qcom/media/mm-core/omxcore/inc/
H A DOMX_QCOMExtns.h192 OMX_U32 pmem_fd; member in struct:OMX_QCOM_PLATFORM_PRIVATE_PMEM_INFO

Completed in 1427 milliseconds

12