Home
last modified time | relevance | path

Searched refs:buf_addr (Results 1 – 8 of 8) sorted by relevance

/hardware/qcom/media/mm-video/vidc/venc/src/
Dvideo_encoder_device.cpp1240 void *buf_addr = NULL; in pmem_allocate() local
1301 buf_addr = mmap(NULL, size, in pmem_allocate()
1305 if (buf_addr == (void*) MAP_FAILED) in pmem_allocate()
1309 DEBUG_PRINT_ERROR("Error returned in allocating recon buffers buf_addr: %p\n",buf_addr); in pmem_allocate()
1324 DEBUG_PRINT_HIGH("\n Allocated virt:%p, FD: %d of size %d \n", buf_addr, pmem_fd, size); in pmem_allocate()
1330 recon_addr.pbuffer = (unsigned char *)buf_addr; in pmem_allocate()
1343 recon_buff[count].virtual_address = (unsigned char *) buf_addr; in pmem_allocate()
1457 bool venc_dev::venc_use_buf(void *buf_addr, unsigned port,unsigned) in venc_use_buf() argument
1464 pmem_tmp = (struct pmem *)buf_addr; in venc_use_buf()
1556 bool venc_dev::venc_free_buf(void *buf_addr, unsigned port) in venc_free_buf() argument
[all …]
Dvideo_encoder_device_copper.cpp1222 void *buf_addr = NULL; in pmem_allocate() local
1279 buf_addr = mmap(NULL, size, in pmem_allocate()
1283 if (buf_addr == (void*) MAP_FAILED) in pmem_allocate()
1287 DEBUG_PRINT_ERROR("Error returned in allocating recon buffers buf_addr: %p\n",buf_addr); in pmem_allocate()
1301 DEBUG_PRINT_HIGH("\n Allocated virt:%p, FD: %d of size %d \n", buf_addr, pmem_fd, size); in pmem_allocate()
1306 recon_addr.pbuffer = (unsigned char *)buf_addr; in pmem_allocate()
1315 recon_buff[count].virtual_address = (unsigned char *) buf_addr; in pmem_allocate()
1434 bool venc_dev::venc_use_buf(void *buf_addr, unsigned port,unsigned index) in venc_use_buf() argument
1443 pmem_tmp = (struct pmem *)buf_addr; in venc_use_buf()
1509 bool venc_dev::venc_free_buf(void *buf_addr, unsigned port) in venc_free_buf() argument
[all …]
Domx_video_encoder.cpp1506 bool omx_venc::dev_use_buf(void *buf_addr,unsigned port,unsigned index) in dev_use_buf() argument
1508 return handle->venc_use_buf(buf_addr,port,index); in dev_use_buf()
1511 bool omx_venc::dev_free_buf(void *buf_addr,unsigned port) in dev_free_buf() argument
1513 return handle->venc_free_buf(buf_addr,port); in dev_free_buf()
Domx_video_base.cpp2053 unsigned char *buf_addr = NULL; in use_input_buffer() local
2228 unsigned char *buf_addr = NULL; in use_output_buffer() local
2379 buf_addr = (unsigned char *)buffer; in use_output_buffer()
/hardware/qcom/media/mm-video/vidc/vdec/src/
Domx_vdec.cpp4406 if (m_desc_buffer_ptr && m_desc_buffer_ptr[index].buf_addr) in free_input_buffer()
4408 free(m_desc_buffer_ptr[index].buf_addr); in free_input_buffer()
4409 m_desc_buffer_ptr[index].buf_addr = NULL; in free_input_buffer()
4511 unsigned char *buf_addr = NULL; in allocate_input_heap_buffer() local
4549 buf_addr = (unsigned char *)malloc (drv_ctx.ip_buf.buffer_size); in allocate_input_heap_buffer()
4551 if (buf_addr == NULL) in allocate_input_heap_buffer()
4560 input->pBuffer = (OMX_U8 *)buf_addr; in allocate_input_heap_buffer()
4613 unsigned char *buf_addr = NULL; in allocate_input_buffer() local
4714 buf_addr = (unsigned char *)mmap(NULL, in allocate_input_buffer()
4718 if (buf_addr == MAP_FAILED) in allocate_input_buffer()
[all …]
Domx_vdec_copper.cpp4162 if (m_desc_buffer_ptr && m_desc_buffer_ptr[index].buf_addr) in free_input_buffer()
4164 free(m_desc_buffer_ptr[index].buf_addr); in free_input_buffer()
4165 m_desc_buffer_ptr[index].buf_addr = NULL; in free_input_buffer()
4247 unsigned char *buf_addr = NULL; in allocate_input_heap_buffer() local
4285 buf_addr = (unsigned char *)malloc (drv_ctx.ip_buf.buffer_size); in allocate_input_heap_buffer()
4287 if (buf_addr == NULL) in allocate_input_heap_buffer()
4296 input->pBuffer = (OMX_U8 *)buf_addr; in allocate_input_heap_buffer()
4349 unsigned char *buf_addr = NULL; in allocate_input_buffer() local
4452 buf_addr = (unsigned char *)mmap(NULL, in allocate_input_buffer()
4456 if (buf_addr == MAP_FAILED) in allocate_input_buffer()
[all …]
/hardware/qcom/audio/libalsa-intf/
Dalsa_ucm.c3454 char *buf_addr, *p; in get_num_values() local
3458 buf_addr = (char *)malloc((strlen(buf)+1)*sizeof(char)); in get_num_values()
3459 if (buf_addr == NULL) { in get_num_values()
3463 strlcpy(buf_addr, buf, ((strlen(buf)+1)*sizeof(char))); in get_num_values()
3464 p = strtok_r(buf_addr, " ", &temp_ptr); in get_num_values()
3471 free(buf_addr); in get_num_values()
/hardware/qcom/media/mm-video/vidc/vdec/inc/
Domx_vdec.h515 OMX_U8 *buf_addr; member