Lines Matching refs:buf_addr
266 unsigned char *buf_addr = NULL;
274 buf_addr = (OMX_U8 *)pmem_data_buf;
277 buf_addr = (unsigned char *)mmap(NULL,
284 fwrite((const char *)buf_addr, y_size, 1, m_debug.infile);
285 fwrite((const char *)(buf_addr + c_offset), (y_size>>1), 1, m_debug.infile);
289 munmap (buf_addr, ((encoder_media_buffer_type *)pbuffer->pBuffer)->meta_handle->data[2]);
1456 void *buf_addr = NULL;
1523 buf_addr = mmap(NULL, size,
1527 if (buf_addr == (void*) MAP_FAILED) {
1530 DEBUG_PRINT_ERROR("Error returned in allocating recon buffers buf_addr: %p",buf_addr);
1546 DEBUG_PRINT_HIGH("Allocated virt:%p, FD: %d of size %d", buf_addr, pmem_fd, size);
1551 recon_addr.pbuffer = (unsigned char *)buf_addr;
1561 recon_buff[count].virtual_address = (unsigned char *) buf_addr;
1676 bool venc_dev::venc_use_buf(void *buf_addr, unsigned port,unsigned)
1683 pmem_tmp = (struct pmem *)buf_addr;
1766 bool venc_dev::venc_free_buf(void *buf_addr, unsigned port)
1772 pmem_tmp = (struct pmem *)buf_addr;