Lines Matching refs:buf_addr
4305 if (m_desc_buffer_ptr && m_desc_buffer_ptr[index].buf_addr) {
4306 free(m_desc_buffer_ptr[index].buf_addr);
4307 m_desc_buffer_ptr[index].buf_addr = NULL;
4421 unsigned char *buf_addr = NULL;
4453 buf_addr = (unsigned char *)malloc (drv_ctx.ip_buf.buffer_size);
4455 if (buf_addr == NULL) {
4463 input->pBuffer = (OMX_U8 *)buf_addr;
4514 unsigned char *buf_addr = NULL;
4608 buf_addr = (unsigned char *)mmap(NULL,
4612 if (buf_addr == MAP_FAILED) {
4627 drv_ctx.ptr_inputbuffer [i].bufferaddr = buf_addr;
4653 input->pBuffer = (OMX_U8 *)buf_addr;
5473 if (drv_ctx.disable_dmx && m_desc_buffer_ptr && m_desc_buffer_ptr[nPortIndex].buf_addr) {
5482 frameinfo.desc_addr = (OMX_U8 *)m_desc_buffer_ptr[nPortIndex].buf_addr;
8797 m_desc_buffer_ptr[index].buf_addr = (unsigned char *)malloc (DESC_BUFFER_SIZE * sizeof(OMX_U8));
8799 if (m_desc_buffer_ptr[index].buf_addr == NULL) {
8877 p_demux_data = (OMX_U8 *) m_desc_buffer_ptr[buffer_index].buf_addr;
8948 void *buf_addr = NULL;
9010 buf_addr = mmap(NULL, size,
9014 if (buf_addr == (void*) MAP_FAILED) {
9023 DEBUG_PRINT_ERROR("Error returned in allocating recon buffers buf_addr: %p",buf_addr);
9041 meta_buff.buffer = (unsigned char *) buf_addr;
9084 void *buf_addr = NULL;
9146 buf_addr = mmap(NULL, size,
9150 if (buf_addr == (void*) MAP_FAILED) {
9156 DEBUG_PRINT_ERROR("Error returned in allocating recon buffers buf_addr: %p",buf_addr);
9160 buf_addr =(unsigned char *) (pmem_fd + 1234);
9162 DEBUG_PRINT_LOW("Allocated virt:%p, FD: %d of size %d count: %d", buf_addr,
9178 h264_mv_buff.buffer = (unsigned char *) buf_addr;