Lines Matching defs:size

206 VideoHeap::VideoHeap(int fd, size_t size, void* base)
209 init(dup(fd), base, size, 0 , MEM_DEVICE);
1523 DEBUG_PRINT_LOW("m_sInPortDef: size = %d, min cnt = %d, actual cnt = %d",
1548 DEBUG_PRINT_LOW("m_sOutPortDef: size = %d, min cnt = %d, actual cnt = %d",
2155 m_pInput_pmem[i].size = m_sInPortDef.nBufferSize;
2157 m_pInput_pmem[i].buffer = (unsigned char *)mmap(NULL,m_pInput_pmem[i].size,PROT_READ|PROT_WRITE,
2179 m_pInput_pmem[i].size = m_sInPortDef.nBufferSize;
2355 m_pOutput_pmem[i].size = m_sOutPortDef.nBufferSize;
2357 m_pOutput_pmem[i].buffer = (unsigned char *)mmap(NULL,m_pOutput_pmem[i].size,PROT_READ|PROT_WRITE,
2379 m_pOutput_pmem[i].size = m_sOutPortDef.nBufferSize;
2529 munmap (m_pInput_pmem[index].buffer,m_pInput_pmem[index].size);
2544 munmap (m_pInput_pmem[index].buffer,m_pInput_pmem[index].size);
2584 munmap (m_pOutput_pmem[index].buffer,m_pOutput_pmem[index].size);
2599 munmap (m_pOutput_pmem[index].buffer,m_pOutput_pmem[index].size);
2691 DEBUG_PRINT_ERROR("\nERROR: Buffer size mismatch error: bytes[%u] != nBufferSize[%u]\n",
2698 DEBUG_PRINT_HIGH("%s: size = %d, actual cnt %d", __FUNCTION__,
2775 m_pInput_pmem[i].size = m_sInPortDef.nBufferSize;
2778 m_pInput_pmem[i].buffer = (unsigned char *)mmap(NULL,m_pInput_pmem[i].size,PROT_READ|PROT_WRITE,
2840 DEBUG_PRINT_HIGH("%s: size = %d, actual cnt %d", __FUNCTION__,
2932 m_pOutput_pmem[i].size = m_sOutPortDef.nBufferSize;
2935 m_pOutput_pmem[i].buffer = (unsigned char *)mmap(NULL,m_pOutput_pmem[i].size,PROT_READ|PROT_WRITE,
3000 DEBUG_PRINT_LOW("\n Allocate buffer of size = %d on port %d \n", bytes, (int)port);
3288 DEBUG_PRINT_ERROR("\nERROR: omx_video::etb--> buffer is null or buffer size is invalid");
3410 Input_pmem_info.size = media_buffer->meta_handle->data[2];
3411 DEBUG_PRINT_LOW("ETB fd = %d, offset = %d, size = %d",Input_pmem_info.fd,
3413 Input_pmem_info.size);
3425 Input_pmem_info.size = handle->size;
3513 DEBUG_PRINT_ERROR("ERROR: omx_video::ftb-->Invalid buffer or size\n");
3999 DEBUG_PRINT_LOW("fill_buffer_done: buffer->pBuffer[%p], flags=0x%x size = %d",
4301 int omx_video::alloc_map_ion_memory(int size,struct ion_allocation_data *alloc_data,
4306 if (size <=0 || !alloc_data || !fd_data) {
4317 alloc_data->len = size;
4396 Input_pmem.size = media_ptr->meta_handle->data[2];
4398 DEBUG_PRINT_LOW("EBD fd = %d, offset = %d, size = %d",Input_pmem.fd,
4400 Input_pmem.size);
4406 Input_pmem.size = handle->size;
4526 bufferreq.size = 0;
4530 buf_size = bufferreq.size;
4660 DEBUG_PRINT_LOW("\n Buffer header %p Filled len size %d",
4664 uva = (unsigned char *)mmap(NULL, Input_pmem_info.size,
4682 "size mismatch buf size %d alloc size %d",
4690 DEBUG_PRINT_LOW("\n Buffer header %p Filled len size %d",
4694 munmap(uva,Input_pmem_info.size);
4751 Input_pmem_info.size = media_buffer->meta_handle->data[2];
4752 DEBUG_PRINT_LOW("ETB fd = %d, offset = %d, size = %d",Input_pmem_info.fd,
4754 Input_pmem_info.size);
4763 Input_pmem_info.size = handle->size;