Lines Matching refs:buf_addr
1251 void *buf_addr = NULL;
1313 buf_addr = mmap(NULL, size,
1317 if (buf_addr == (void*) MAP_FAILED)
1321 DEBUG_PRINT_ERROR("Error returned in allocating recon buffers buf_addr: %p\n",buf_addr);
1336 DEBUG_PRINT_HIGH("\n Allocated virt:%p, FD: %d of size %d \n", buf_addr, pmem_fd, size);
1342 recon_addr.pbuffer = (unsigned char *)buf_addr;
1355 recon_buff[count].virtual_address = (unsigned char *) buf_addr;
1469 bool venc_dev::venc_use_buf(void *buf_addr, unsigned port,unsigned)
1476 pmem_tmp = (struct pmem *)buf_addr;
1568 bool venc_dev::venc_free_buf(void *buf_addr, unsigned port)
1574 pmem_tmp = (struct pmem *)buf_addr;
1680 unsigned char *buf_addr = NULL;
1689 buf_addr = (OMX_U8 *)pmem_data_buf;
1694 buf_addr = (unsigned char *)mmap(NULL,
1702 fwrite((const char *)buf_addr, y_size, 1,inputBufferFile1);
1703 fwrite((const char *)(buf_addr + c_offset), (y_size>>1), 1,inputBufferFile1);
1706 munmap (buf_addr, ((encoder_media_buffer_type *)bufhdr->pBuffer)->meta_handle->data[2]);