Home
last modified time | relevance | path

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

123

/hardware/qcom/media/msm8974/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()
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device.cpp266 unsigned char *buf_addr = NULL; in venc_input_log_buffers() local
274 buf_addr = (OMX_U8 *)pmem_data_buf; in venc_input_log_buffers()
277 buf_addr = (unsigned char *)mmap(NULL, in venc_input_log_buffers()
284 fwrite((const char *)buf_addr, y_size, 1, m_debug.infile); in venc_input_log_buffers()
285 fwrite((const char *)(buf_addr + c_offset), (y_size>>1), 1, m_debug.infile); in venc_input_log_buffers()
289 munmap (buf_addr, ((encoder_media_buffer_type *)pbuffer->pBuffer)->meta_handle->data[2]); in venc_input_log_buffers()
1456 void *buf_addr = NULL; in pmem_allocate() local
1523 buf_addr = mmap(NULL, size, in pmem_allocate()
1527 if (buf_addr == (void*) MAP_FAILED) { in pmem_allocate()
1530 DEBUG_PRINT_ERROR("Error returned in allocating recon buffers buf_addr: %p",buf_addr); in pmem_allocate()
[all …]
Domx_swvenc_hevc.cpp1102 bool omx_swvenc::dev_use_buf(void *buf_addr,unsigned port,unsigned index) in dev_use_buf() argument
1104 struct pmem* buf = (struct pmem*)buf_addr; in dev_use_buf()
1125 bool omx_swvenc::dev_free_buf(void *buf_addr,unsigned port) in dev_free_buf() argument
1127 struct pmem* buf = (struct pmem*)buf_addr; in dev_free_buf()
/hardware/qcom/media/msm8974/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 …]
/hardware/qcom/media/msm8974/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 …]
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/src/
Domx_vdec.cpp4508 if (m_desc_buffer_ptr && m_desc_buffer_ptr[index].buf_addr) in free_input_buffer()
4510 free(m_desc_buffer_ptr[index].buf_addr); in free_input_buffer()
4511 m_desc_buffer_ptr[index].buf_addr = NULL; in free_input_buffer()
4613 unsigned char *buf_addr = NULL; in allocate_input_heap_buffer() local
4651 buf_addr = (unsigned char *)malloc (drv_ctx.ip_buf.buffer_size); in allocate_input_heap_buffer()
4653 if (buf_addr == NULL) in allocate_input_heap_buffer()
4662 input->pBuffer = (OMX_U8 *)buf_addr; in allocate_input_heap_buffer()
4715 unsigned char *buf_addr = NULL; in allocate_input_buffer() local
4816 buf_addr = (unsigned char *)mmap(NULL, in allocate_input_buffer()
4820 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/msm8998/original-kernel-headers/media/
Dmsmb_isp.h263 uint32_t buf_addr; member
279 uint32_t buf_addr; member
/hardware/qcom/msm8998/kernel-headers/media/
Dmsmb_isp.h287 uint32_t buf_addr; member
305 uint32_t buf_addr; member
/hardware/qcom/msm8x84/kernel-headers/linux/
Dmsm_audio.h181 void *buf_addr; member
/hardware/qcom/msm8x84/original-kernel-headers/linux/
Dmsm_audio.h189 void *buf_addr; member
/hardware/qcom/msm8x26/kernel-headers/linux/
Dmsm_audio.h181 void *buf_addr; member
/hardware/qcom/msm8x26/original-kernel-headers/linux/
Dmsm_audio.h197 void *buf_addr; member
/hardware/qcom/msm8998/original-kernel-headers/linux/
Dmsm_audio.h209 void *buf_addr; member
/hardware/qcom/msm8x09/original-kernel-headers/linux/
Dmsm_audio.h209 void *buf_addr; member
/hardware/qcom/msm8994/kernel-headers/linux/
Dmsm_audio.h189 void *buf_addr; member
/hardware/qcom/msm8994/original-kernel-headers/linux/
Dmsm_audio.h206 void *buf_addr; member
/hardware/qcom/msm8998/kernel-headers/linux/
Dmsm_audio.h191 void * buf_addr; member
/hardware/qcom/msm8x09/kernel-headers/linux/
Dmsm_audio.h191 void * buf_addr; member
/hardware/qcom/msm8996/original-kernel-headers/linux/
Dmsm_audio.h209 void *buf_addr; member
/hardware/qcom/msm8996/kernel-headers/linux/
Dmsm_audio.h191 void * buf_addr; member

123