Home | History | Annotate | Download | only in src

Lines Matching refs:pmem_fd

3021   int pmem_fd = -1;
3050 driver_context.ptr_inputbuffer [i].pmem_fd = -1;
3064 pmem_fd = open ("/dev/pmem_adsp",O_RDWR | O_SYNC);
3066 if (pmem_fd < 0)
3071 if(pmem_fd == 0)
3073 pmem_fd = open ("/dev/pmem_adsp",O_RDWR | O_SYNC);
3074 if (pmem_fd < 0)
3080 if(!align_pmem_buffers(pmem_fd, m_inp_buf_size,
3084 close(pmem_fd);
3089 MAP_SHARED,pmem_fd,0);
3097 driver_context.ptr_inputbuffer [i].pmem_fd = pmem_fd;
3247 pPMEMInfo->pmem_fd = 0;
3250 driver_context.ptr_outputbuffer[i].pmem_fd = -1;
3303 driver_context.ptr_outputbuffer[i].pmem_fd = \
3306 if (driver_context.ptr_outputbuffer[i].pmem_fd < 0)
3311 if(driver_context.ptr_outputbuffer[i].pmem_fd == 0)
3313 driver_context.ptr_outputbuffer[i].pmem_fd = \
3316 if (driver_context.ptr_outputbuffer[i].pmem_fd < 0)
3322 if(!align_pmem_buffers(driver_context.ptr_outputbuffer[i].pmem_fd,
3326 close(driver_context.ptr_outputbuffer[i].pmem_fd);
3332 MAP_SHARED,driver_context.ptr_outputbuffer[i].pmem_fd,0);
3340 m_pmem_info[i].pmem_fd = driver_context.ptr_outputbuffer[i].pmem_fd;
3454 if (driver_context.ptr_inputbuffer[index].pmem_fd > 0)
3471 driver_context.ptr_inputbuffer[index].pmem_fd);
3477 close (driver_context.ptr_inputbuffer[index].pmem_fd);
3478 driver_context.ptr_inputbuffer[index].pmem_fd = -1;
3517 if (driver_context.ptr_outputbuffer[0].pmem_fd > 0)
3520 driver_context.ptr_outputbuffer[0].pmem_fd);
3526 close (driver_context.ptr_outputbuffer[0].pmem_fd);
3527 driver_context.ptr_outputbuffer[0].pmem_fd = -1;
3668 int pmem_fd = -1;
3700 driver_context.ptr_inputbuffer [i].pmem_fd = -1;
3716 pmem_fd = open ("/dev/pmem_adsp", O_RDWR, O_SYNC);
3718 if (pmem_fd < 0)
3724 if (pmem_fd == 0)
3726 pmem_fd = open ("/dev/pmem_adsp", O_RDWR | O_SYNC);
3728 if (pmem_fd < 0)
3735 if(!align_pmem_buffers(pmem_fd, m_inp_buf_size,
3739 close(pmem_fd);
3744 MAP_SHARED,pmem_fd,0);
3753 driver_context.ptr_inputbuffer [i].pmem_fd = pmem_fd;
3827 int pmem_fd = -1;
3851 pmem_fd = open ("/dev/pmem_adsp", O_RDWR | O_SYNC);
3853 if (pmem_fd < 0)
3859 if(pmem_fd == 0)
3861 pmem_fd = open ("/dev/pmem_adsp", O_RDWR | O_SYNC);
3863 if (pmem_fd < 0)
3870 if(!align_pmem_buffers(pmem_fd, m_out_buf_size * m_out_buf_count,
3874 close(pmem_fd);
3879 PROT_READ|PROT_WRITE,MAP_SHARED,pmem_fd,0);
3880 pmem_fd,
3942 pPMEMInfo->pmem_fd = 0;
3945 driver_context.ptr_outputbuffer[i].pmem_fd = pmem_fd;
3955 DEBUG_PRINT_LOW("\n pmem_fd = %d offset = %d address = %p",\
3956 pmem_fd,driver_context.ptr_outputbuffer[i].offset,driver_context.ptr_outputbuffer[i].bufferaddr);
4006 m_pmem_info[i].pmem_fd = (OMX_U32) m_heap_ptr.get ();
4532 frameinfo.pmem_fd = temp_buffer->pmem_fd;
4549 seq_header.pmem_fd = frameinfo.pmem_fd;
5383 DEBUG_PRINT_LOW("\n Before FBD callback Accessed Pmeminfo %d",pPMEMInfo->pmem_fd);
5385 DEBUG_PRINT_LOW("\n After Fill Buffer Done callback %d",pPMEMInfo->pmem_fd);
6181 bool omx_vdec::align_pmem_buffers(int pmem_fd, OMX_U32 buffer_size,
6195 if (ioctl(pmem_fd, PMEM_ALLOCATE_ALIGNED, &allocation) < 0)