Home
last modified time | relevance | path

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

/hardware/qcom/media/mm-video-legacy/vidc/venc/src/
Dvideo_encoder_device.cpp1251 void *buf_addr = NULL; in pmem_allocate() local
1313 buf_addr = mmap(NULL, size, in pmem_allocate()
1317 if (buf_addr == (void*) MAP_FAILED) in pmem_allocate()
1321 DEBUG_PRINT_ERROR("Error returned in allocating recon buffers buf_addr: %p\n",buf_addr); in pmem_allocate()
1336 DEBUG_PRINT_HIGH("\n Allocated virt:%p, FD: %d of size %d \n", buf_addr, pmem_fd, size); in pmem_allocate()
1342 recon_addr.pbuffer = (unsigned char *)buf_addr; in pmem_allocate()
1355 recon_buff[count].virtual_address = (unsigned char *) buf_addr; in pmem_allocate()
1469 bool venc_dev::venc_use_buf(void *buf_addr, unsigned port,unsigned) in venc_use_buf() argument
1476 pmem_tmp = (struct pmem *)buf_addr; in venc_use_buf()
1568 bool venc_dev::venc_free_buf(void *buf_addr, unsigned port) in venc_free_buf() argument
[all …]
Dvideo_encoder_device_copper.cpp1221 void *buf_addr = NULL; in pmem_allocate() local
1278 buf_addr = mmap(NULL, size, in pmem_allocate()
1282 if (buf_addr == (void*) MAP_FAILED) in pmem_allocate()
1286 DEBUG_PRINT_ERROR("Error returned in allocating recon buffers buf_addr: %p\n",buf_addr); in pmem_allocate()
1300 DEBUG_PRINT_HIGH("\n Allocated virt:%p, FD: %d of size %d \n", buf_addr, pmem_fd, size); in pmem_allocate()
1305 recon_addr.pbuffer = (unsigned char *)buf_addr; in pmem_allocate()
1314 recon_buff[count].virtual_address = (unsigned char *) buf_addr; in pmem_allocate()
1433 bool venc_dev::venc_use_buf(void *buf_addr, unsigned port,unsigned index) in venc_use_buf() argument
1442 pmem_tmp = (struct pmem *)buf_addr; in venc_use_buf()
1508 bool venc_dev::venc_free_buf(void *buf_addr, unsigned port) in venc_free_buf() argument
[all …]
Domx_video_encoder.cpp1535 bool omx_venc::dev_use_buf(void *buf_addr,unsigned port,unsigned index) in dev_use_buf() argument
1537 return handle->venc_use_buf(buf_addr,port,index); in dev_use_buf()
1540 bool omx_venc::dev_free_buf(void *buf_addr,unsigned port) in dev_free_buf() argument
1542 return handle->venc_free_buf(buf_addr,port); in dev_free_buf()
Domx_video_base.cpp2061 unsigned char *buf_addr = NULL; in use_input_buffer() local
2236 unsigned char *buf_addr = NULL; in use_output_buffer() local
2387 buf_addr = (unsigned char *)buffer; in use_output_buffer()
/hardware/qcom/media/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device.cpp265 unsigned char *buf_addr = NULL; in venc_input_log_buffers() local
273 buf_addr = (OMX_U8 *)pmem_data_buf; in venc_input_log_buffers()
276 buf_addr = (unsigned char *)mmap(NULL, in venc_input_log_buffers()
283 fwrite((const char *)buf_addr, y_size, 1, m_debug.infile); in venc_input_log_buffers()
284 fwrite((const char *)(buf_addr + c_offset), (y_size>>1), 1, m_debug.infile); in venc_input_log_buffers()
288 munmap (buf_addr, ((encoder_media_buffer_type *)pbuffer->pBuffer)->meta_handle->data[2]); in venc_input_log_buffers()
1455 void *buf_addr = NULL; in pmem_allocate() local
1522 buf_addr = mmap(NULL, size, in pmem_allocate()
1526 if (buf_addr == (void*) MAP_FAILED) { in pmem_allocate()
1529 DEBUG_PRINT_ERROR("Error returned in allocating recon buffers buf_addr: %p",buf_addr); in pmem_allocate()
[all …]
Domx_video_encoder.cpp1775 bool omx_venc::dev_use_buf(void *buf_addr,unsigned port,unsigned index) in dev_use_buf() argument
1777 return handle->venc_use_buf(buf_addr,port,index); in dev_use_buf()
1780 bool omx_venc::dev_free_buf(void *buf_addr,unsigned port) in dev_free_buf() argument
1782 return handle->venc_free_buf(buf_addr,port); in dev_free_buf()
Dvideo_encoder_device_v4l2.cpp2167 bool venc_dev::venc_use_buf(void *buf_addr, unsigned port,unsigned index) in venc_use_buf() argument
2175 pmem_tmp = (struct pmem *)buf_addr; in venc_use_buf()
2240 bool venc_dev::venc_free_buf(void *buf_addr, unsigned port) in venc_free_buf() argument
2246 pmem_tmp = (struct pmem *)buf_addr; in venc_free_buf()
Domx_video_base.cpp2087 unsigned char *buf_addr = NULL; in use_input_buffer() local
2254 unsigned char *buf_addr = NULL; in use_output_buffer() local
2404 buf_addr = (unsigned char *)buffer; in use_output_buffer()
/hardware/qcom/media/mm-video-v4l2/vidc/vdec/src/
Domx_vdec.cpp4305 if (m_desc_buffer_ptr && m_desc_buffer_ptr[index].buf_addr) { in free_input_buffer()
4306 free(m_desc_buffer_ptr[index].buf_addr); in free_input_buffer()
4307 m_desc_buffer_ptr[index].buf_addr = NULL; in free_input_buffer()
4421 unsigned char *buf_addr = NULL; in allocate_input_heap_buffer() local
4453 buf_addr = (unsigned char *)malloc (drv_ctx.ip_buf.buffer_size); in allocate_input_heap_buffer()
4455 if (buf_addr == NULL) { in allocate_input_heap_buffer()
4463 input->pBuffer = (OMX_U8 *)buf_addr; in allocate_input_heap_buffer()
4514 unsigned char *buf_addr = NULL; in allocate_input_buffer() local
4608 buf_addr = (unsigned char *)mmap(NULL, in allocate_input_buffer()
4612 if (buf_addr == MAP_FAILED) { in allocate_input_buffer()
[all …]
Domx_vdec_hevc.cpp4044 if (m_desc_buffer_ptr && m_desc_buffer_ptr[index].buf_addr) { in free_input_buffer()
4045 free(m_desc_buffer_ptr[index].buf_addr); in free_input_buffer()
4046 m_desc_buffer_ptr[index].buf_addr = NULL; in free_input_buffer()
4120 unsigned char *buf_addr = NULL; in allocate_input_heap_buffer() local
4152 buf_addr = (unsigned char *)malloc (drv_ctx.ip_buf.buffer_size); in allocate_input_heap_buffer()
4154 if (buf_addr == NULL) { in allocate_input_heap_buffer()
4162 input->pBuffer = (OMX_U8 *)buf_addr; in allocate_input_heap_buffer()
4212 unsigned char *buf_addr = NULL; in allocate_input_buffer() local
4303 buf_addr = (unsigned char *)mmap(NULL, in allocate_input_buffer()
4307 if (buf_addr == MAP_FAILED) { in allocate_input_buffer()
[all …]
Domx_vdec_hevc_swvdec.cpp4870 if (m_desc_buffer_ptr && m_desc_buffer_ptr[index].buf_addr) in free_input_buffer()
4872 free(m_desc_buffer_ptr[index].buf_addr); in free_input_buffer()
4873 m_desc_buffer_ptr[index].buf_addr = NULL; in free_input_buffer()
4950 unsigned char *buf_addr = NULL; in allocate_input_heap_buffer() local
4988 buf_addr = (unsigned char *)malloc (drv_ctx.ip_buf.buffer_size); in allocate_input_heap_buffer()
4990 if (buf_addr == NULL) in allocate_input_heap_buffer()
4999 input->pBuffer = (OMX_U8 *)buf_addr; in allocate_input_heap_buffer()
5052 unsigned char *buf_addr = NULL; in allocate_input_buffer() local
5165 buf_addr = (unsigned char *)mmap(NULL, in allocate_input_buffer()
5169 if (buf_addr == MAP_FAILED) in allocate_input_buffer()
[all …]
Domx_vdec_msm8974.cpp4714 if (m_desc_buffer_ptr && m_desc_buffer_ptr[index].buf_addr) { in free_input_buffer()
4715 free(m_desc_buffer_ptr[index].buf_addr); in free_input_buffer()
4716 m_desc_buffer_ptr[index].buf_addr = NULL; in free_input_buffer()
4797 unsigned char *buf_addr = NULL; in allocate_input_heap_buffer() local
4829 buf_addr = (unsigned char *)malloc (drv_ctx.ip_buf.buffer_size); in allocate_input_heap_buffer()
4831 if (buf_addr == NULL) { in allocate_input_heap_buffer()
4839 input->pBuffer = (OMX_U8 *)buf_addr; in allocate_input_heap_buffer()
4888 unsigned char *buf_addr = NULL; in allocate_input_buffer() local
4982 buf_addr = (unsigned char *)mmap(NULL, in allocate_input_buffer()
4986 if (buf_addr == MAP_FAILED) { in allocate_input_buffer()
[all …]
/hardware/qcom/media/mm-video-legacy/vidc/vdec/src/
Domx_vdec.cpp4502 if (m_desc_buffer_ptr && m_desc_buffer_ptr[index].buf_addr) in free_input_buffer()
4504 free(m_desc_buffer_ptr[index].buf_addr); in free_input_buffer()
4505 m_desc_buffer_ptr[index].buf_addr = NULL; in free_input_buffer()
4607 unsigned char *buf_addr = NULL; in allocate_input_heap_buffer() local
4645 buf_addr = (unsigned char *)malloc (drv_ctx.ip_buf.buffer_size); in allocate_input_heap_buffer()
4647 if (buf_addr == NULL) in allocate_input_heap_buffer()
4656 input->pBuffer = (OMX_U8 *)buf_addr; in allocate_input_heap_buffer()
4709 unsigned char *buf_addr = NULL; in allocate_input_buffer() local
4810 buf_addr = (unsigned char *)mmap(NULL, in allocate_input_buffer()
4814 if (buf_addr == MAP_FAILED) in allocate_input_buffer()
[all …]
Domx_vdec_copper.cpp4152 if (m_desc_buffer_ptr && m_desc_buffer_ptr[index].buf_addr) in free_input_buffer()
4154 free(m_desc_buffer_ptr[index].buf_addr); in free_input_buffer()
4155 m_desc_buffer_ptr[index].buf_addr = NULL; in free_input_buffer()
4237 unsigned char *buf_addr = NULL; in allocate_input_heap_buffer() local
4275 buf_addr = (unsigned char *)malloc (drv_ctx.ip_buf.buffer_size); in allocate_input_heap_buffer()
4277 if (buf_addr == NULL) in allocate_input_heap_buffer()
4286 input->pBuffer = (OMX_U8 *)buf_addr; in allocate_input_heap_buffer()
4339 unsigned char *buf_addr = NULL; in allocate_input_buffer() local
4442 buf_addr = (unsigned char *)mmap(NULL, in allocate_input_buffer()
4446 if (buf_addr == MAP_FAILED) in allocate_input_buffer()
[all …]
/hardware/qcom/msm8960/kernel-headers/linux/
Dmsm_audio.h181 void *buf_addr; member
/hardware/qcom/msm8960/original-kernel-headers/linux/
Dmsm_audio.h189 void *buf_addr; member
/hardware/qcom/msm8x84/original-kernel-headers/linux/
Dmsm_audio.h189 void *buf_addr; member
/hardware/qcom/msm8x74/original-kernel-headers/linux/
Dmsm_audio.h189 void *buf_addr; member
/hardware/qcom/msm8x74/kernel-headers/linux/
Dmsm_audio.h181 void *buf_addr; member
/hardware/qcom/msm8x84/kernel-headers/linux/
Dmsm_audio.h181 void *buf_addr; member
/hardware/intel/img/psb_video/src/
Dpsb_cmdbuf.c1008 unsigned char *buf_addr; in psb_context_flush_cmdbuf() local
1011 || (psb_buffer_map(debug_dump_buf[index], &buf_addr) != 0)) { in psb_context_flush_cmdbuf()
1017 psb__hexdump(buf_addr + debug_dump_offset[index], debug_dump_size[index]); in psb_context_flush_cmdbuf()
/hardware/qcom/audio/legacy/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-legacy/vidc/vdec/inc/
Domx_vdec.h515 OMX_U8 *buf_addr; member
/hardware/qcom/media/mm-video-v4l2/vidc/vdec/inc/
Domx_vdec_hevc.h512 OMX_U8 *buf_addr; member
Domx_vdec.h569 OMX_U8 *buf_addr; member