Lines Matching defs:size

546 VideoHeap::VideoHeap(int devicefd, size_t size, void* base,
550 (void) size;
554 // ionInit(devicefd, base, size, 0 , MEM_DEVICE,handle,ionMapfd);
557 VideoHeap::VideoHeap(int fd, size_t size, void* base)
560 init(dup(fd), base, size, 0 , MEM_DEVICE);
3168 DEBUG_PRINT_LOW("Buffer queue size %lu pending buf cnt %d",
3829 buffer = (OMX_U8*)mmap(0, handle->size,
3832 DEBUG_PRINT_ERROR("Failed to mmap pmem with fd = %d, size = %d", handle->fd, handle->size);
3836 eRet = use_buffer(hComp,params->bufferHeader,params->nPortIndex,data,handle->size,buffer);
4044 drv_ctx.extradata_info.size = drv_ctx.extradata_info.count *
4142 DEBUG_PRINT_ERROR("ERROR: Custom buffer size set by client: %d, trying to set: %d",
4819 DEBUG_PRINT_ERROR("Failed to set input buffer size");
4825 DEBUG_PRINT_HIGH("Successfully set custom input buffer size = %d",
4832 DEBUG_PRINT_ERROR("ERROR: Custom buffer size in not supported on output port");
5149 /* In arbitrary bytes mode, the assembler strips out nal size and replaces
5478 munmap((void *)drv_ctx.extradata_info.uaddr, drv_ctx.extradata_info.size);
5482 drv_ctx.extradata_info.size = (drv_ctx.extradata_info.size + 4095) & (~4095);
5484 drv_ctx.extradata_info.size, 4096,
5492 drv_ctx.extradata_info.size,
5517 munmap((void *)drv_ctx.extradata_info.uaddr, drv_ctx.extradata_info.size);
5615 if ((OMX_U32)handle->size < drv_ctx.op_buf.buffer_size) {
5617 DEBUG_PRINT_HIGH("Buffer size expected %u, got %u, but it's ok since we will never map it",
5618 (unsigned int)drv_ctx.op_buf.buffer_size, (unsigned int)handle->size);
5622 (unsigned int)drv_ctx.op_buf.buffer_size, (unsigned int)handle->size);
5627 drv_ctx.op_buf.buffer_size = handle->size;
5631 buff = (OMX_U8*)mmap(0, handle->size,
5634 DEBUG_PRINT_ERROR("Failed to mmap pmem with fd = %d, size = %d", handle->fd, handle->size);
5651 drv_ctx.ptr_outputbuffer[i].mmaped_size = handle->size;
5743 m_pmem_info[i].size = drv_ctx.ptr_outputbuffer[i].buffer_len;
5990 DEBUG_PRINT_LOW("unmap the input buffer size=%u address = %p",
6061 DEBUG_PRINT_LOW("unmap the ouput buffer size=%u address = %p",
6556 m_pmem_info[i].size = drv_ctx.ptr_outputbuffer[i].buffer_len;
6985 DEBUG_PRINT_LOW("Non-Arbitrary mode - buffer address is: malloc %p, pmem%p in Index %d, buffer %p of size %u",
7323 //this with a more sane size so that we don't compensate in rest of code
7324 //We'll restore this size later on, so that it's transparent to client
7326 buffer->nAllocLen = handle->size;
7327 drv_ctx.op_buf.buffer_size = handle->size;
8123 DEBUG_PRINT_LOW("WRITING extradata, size=%d,type=%x",
8261 // to size of the handle. Do it _after_ log_output_buffers which
8661 DEBUG_PRINT_ERROR("Invalid filled length = %u, buffer size = %u, prev_length = %u",
8813 DEBUG_PRINT_LOW("Frame size %u source %p frame count %d",
8869 DEBUG_PRINT_LOW("Found a frame size = %u number = %d",
8947 DEBUG_PRINT_LOW("Non-zero NAL length clip, hence parse with NAL size %d ",nal_length);
8950 DEBUG_PRINT_ERROR("Error In Parsing NAL size, Return Error");
9019 DEBUG_PRINT_LOW("Found a frame size = %u number = %d",
9131 DEBUG_PRINT_LOW("Last frame in else dest addr %p size %u",
9200 DEBUG_PRINT_LOW("Non-zero NAL length clip, hence parse with NAL size %d",nal_length);
9203 DEBUG_PRINT_ERROR("Error In Parsing NAL size, Return Error");
9298 DEBUG_PRINT_LOW("Last frame in else dest addr %p size %u",
9379 allocation.size = buffer_size;
9386 allocation.align, allocation.size);
9674 drv_ctx.extradata_info.size = buffer_prop->actualcount * final_extra_data_size;
9684 drv_ctx.extradata_info.size, drv_ctx.extradata_info.buffer_size);
9709 DEBUG_PRINT_ERROR("Buffer size alignment error: Requested(%u) Required(%d)",
10451 DEBUG_PRINT_ERROR("Error: Insufficient size allocated for extra-data");
10472 DEBUG_PRINT_LOW("Invalid extra data size");
10667 ptr_extradatabuff->metadata_info.size = drv_ctx.extradata_info.buffer_size;
10970 " userdata size: %u\n"
11152 DEBUG_PRINT_ERROR("frame packing size mismatch");
11245 extra->nSize = OMX_VQZIPSEI_EXTRADATA_SIZE + vqzip_payload->size;
11249 extra->nDataSize = sizeof(OMX_QCOM_EXTRADATA_VQZIPSEI) + vqzip_payload->size;
11252 vq->nSize = vqzip_payload->size;
11253 memcpy(vq->data, vqzip_payload->data, vqzip_payload->size);
11392 DEBUG_PRINT_LOW("desc table data size=%u", (unsigned int)m_desc_buffer_ptr[buffer_index].desc_data_size);
11501 "driver size %u destination size %d",
11658 DEBUG_PRINT_ERROR("Get buffer size failed");
11850 DEBUG_PRINT_LOW("Cache %s: fd=%d handle=%d va=%p size=%d",
12155 //Get upper limit buffer size for max smooth streaming resolution set
12171 DEBUG_PRINT_LOW("enable adaptive - upper limit buffer size = %u",
12282 DEBUG_PRINT_LOW("Old size : %d, count : %d, width : %u, height : %u\n",
12290 DEBUG_PRINT_LOW("From driver, new size is %d, count is %d\n",
12306 DEBUG_PRINT_LOW("New calculated size for width : %d, height : %d, is %d\n",