Home
last modified time | relevance | path

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

/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/test/
Ddecoder_driver_test.c391 munmap ( ptemp [i]->bufferaddr,ptemp [i]->mmaped_size); in free_buffer()
392 ptemp [i]->bufferaddr = NULL; in free_buffer()
429 munmap ( ptemp [i]->bufferaddr,ptemp [i]->mmaped_size); in free_buffer()
430 ptemp [i]->bufferaddr = NULL; in free_buffer()
567 ptemp [i]->bufferaddr = mmap(NULL,clp2(buffersize),PROT_READ|PROT_WRITE, in allocate_buffer()
570 ptemp [i]->bufferaddr); in allocate_buffer()
571 if (ptemp [i]->bufferaddr == MAP_FAILED) in allocate_buffer()
573 ptemp [i]->bufferaddr = NULL; in allocate_buffer()
633 fillbuffer.buffer.bufferaddr = in start_decoding()
634 decode_context->ptr_outputbuffer [i]->bufferaddr; in start_decoding()
[all …]
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/test/
Ddecoder_driver_test.c371 munmap ( ptemp [i]->bufferaddr,ptemp [i]->mmaped_size); in free_buffer()
372 ptemp [i]->bufferaddr = NULL; in free_buffer()
403 munmap ( ptemp [i]->bufferaddr,ptemp [i]->mmaped_size); in free_buffer()
404 ptemp [i]->bufferaddr = NULL; in free_buffer()
525 ptemp [i]->bufferaddr = mmap(NULL,clp2(buffersize),PROT_READ|PROT_WRITE, in allocate_buffer()
528 ptemp [i]->bufferaddr); in allocate_buffer()
530 if (ptemp [i]->bufferaddr == MAP_FAILED) { in allocate_buffer()
531 ptemp [i]->bufferaddr = NULL; in allocate_buffer()
590 fillbuffer.buffer.bufferaddr = in start_decoding()
591 decode_context->ptr_outputbuffer [i]->bufferaddr; in start_decoding()
[all …]
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/
Domx_swvdec.cpp2033 unsigned char *bufferaddr; in fill_this_buffer() local
2035 bufferaddr = (unsigned char *) mmap(NULL, in fill_this_buffer()
2042 if (bufferaddr == MAP_FAILED) in fill_this_buffer()
2053 p_buffer_payload->bufferaddr = bufferaddr; in fill_this_buffer()
2058 p_buffer_swvdec->p_buffer = bufferaddr; in fill_this_buffer()
3277 unsigned char *bufferaddr; in buffer_allocate_ip() local
3297 bufferaddr = (unsigned char *) mmap(NULL, in buffer_allocate_ip()
3304 if (bufferaddr == MAP_FAILED) in buffer_allocate_ip()
3317 m_buffer_array_ip[ii].buffer_payload.bufferaddr = bufferaddr; in buffer_allocate_ip()
3323 m_buffer_array_ip[ii].buffer_swvdec.p_buffer = bufferaddr; in buffer_allocate_ip()
[all …]
Domx_vdec_hevc_swvdec.cpp160 vdec_msg.msgdata.output_frame.bufferaddr=(void*)plane[0].m.userptr; in async_message_thread()
254 vdec_msg.msgdata.output_frame.bufferaddr = (void*)(intptr_t)ptr[2]; in async_message_thread()
1679 char *temp = (char *)drv_ctx.ptr_outputbuffer[buf_index].bufferaddr; in log_output_buffers()
1689 temp = (char *)drv_ctx.ptr_outputbuffer[buf_index].bufferaddr + stride * scanlines; in log_output_buffers()
4679 drv_ctx.ptr_outputbuffer[i].bufferaddr = buff; in use_output_buffer()
4732 drv_ctx.ptr_outputbuffer[i].bufferaddr = in use_output_buffer()
4736 if (drv_ctx.ptr_outputbuffer[i].bufferaddr == MAP_FAILED) { in use_output_buffer()
4773 drv_ctx.ptr_outputbuffer[i].bufferaddr = buff; in use_output_buffer()
4783 drv_ctx.ptr_outputbuffer[i].bufferaddr = *bufferHdr; in use_output_buffer()
4789 drv_ctx.ptr_outputbuffer[i].bufferaddr, in use_output_buffer()
[all …]
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/vdec/src/
Domx_swvdec.cpp2218 unsigned char *bufferaddr; in fill_this_buffer() local
2220 bufferaddr = ion_map(p_private_handle->fd,p_private_handle->size); in fill_this_buffer()
2222 if (bufferaddr == MAP_FAILED) in fill_this_buffer()
2235 p_buffer_payload->bufferaddr = bufferaddr; in fill_this_buffer()
2240 p_buffer_swvdec->p_buffer = bufferaddr; in fill_this_buffer()
3631 unsigned char *bufferaddr; in buffer_allocate_ip() local
3648 bufferaddr = ion_map(pmem_fd,size); in buffer_allocate_ip()
3650 if (bufferaddr == MAP_FAILED) in buffer_allocate_ip()
3664 m_buffer_array_ip[ii].buffer_payload.bufferaddr = bufferaddr; in buffer_allocate_ip()
3670 m_buffer_array_ip[ii].buffer_swvdec.p_buffer = bufferaddr; in buffer_allocate_ip()
[all …]
/hardware/qcom/sm7250/media/mm-video-v4l2/vidc/vdec/src/
Domx_swvdec.cpp2190 unsigned char *bufferaddr; in fill_this_buffer() local
2192 bufferaddr = ion_map(p_private_handle->fd,p_private_handle->size); in fill_this_buffer()
2194 if (bufferaddr == MAP_FAILED) in fill_this_buffer()
2207 p_buffer_payload->bufferaddr = bufferaddr; in fill_this_buffer()
2212 p_buffer_swvdec->p_buffer = bufferaddr; in fill_this_buffer()
3587 unsigned char *bufferaddr; in buffer_allocate_ip() local
3605 bufferaddr = ion_map(pmem_fd,size); in buffer_allocate_ip()
3607 if (bufferaddr == MAP_FAILED) in buffer_allocate_ip()
3622 m_buffer_array_ip[ii].buffer_payload.bufferaddr = bufferaddr; in buffer_allocate_ip()
3628 m_buffer_array_ip[ii].buffer_swvdec.p_buffer = bufferaddr; in buffer_allocate_ip()
[all …]
Domx_vdec_v4l2.cpp188 vdec_msg.msgdata.output_frame.bufferaddr=(void*)plane[0].m.userptr; in async_message_thread()
309 vdec_msg.msgdata.output_frame.bufferaddr = (void*)(intptr_t)ptr[2]; in async_message_thread()
1606 bufaddr = (char *)vdec_buf->bufferaddr; in log_output_buffers()
3721 drv_ctx.ptr_outputbuffer[i].bufferaddr = buff; in use_output_buffer()
3756 drv_ctx.ptr_outputbuffer[i].bufferaddr = in use_output_buffer()
3759 if (drv_ctx.ptr_outputbuffer[i].bufferaddr == MAP_FAILED) { in use_output_buffer()
3799 drv_ctx.ptr_outputbuffer[i].bufferaddr = buff; in use_output_buffer()
3809 m_pmem_info[i].buffer = drv_ctx.ptr_outputbuffer[i].bufferaddr; in use_output_buffer()
3814 drv_ctx.ptr_outputbuffer[i].bufferaddr = *bufferHdr; in use_output_buffer()
4091 drv_ctx.ptr_inputbuffer[index].bufferaddr, in free_input_buffer()
[all …]
/hardware/qcom/msm8960/kernel-headers/linux/
Dmsm_vidc_dec.h179 void __user *bufferaddr; member
472 void __user *bufferaddr; member
506 void __user *bufferaddr; member
/hardware/qcom/msm8994/kernel-headers/linux/
Dmsm_vidc_dec.h181 void __user *bufferaddr; member
477 void __user *bufferaddr; member
511 void __user *bufferaddr; member
/hardware/qcom/msm8960/original-kernel-headers/linux/
Dmsm_vidc_dec.h253 void __user *bufferaddr; member
515 void __user *bufferaddr; member
546 void __user *bufferaddr; member
/hardware/qcom/msm8994/original-kernel-headers/linux/
Dmsm_vidc_dec.h253 void __user *bufferaddr; member
517 void __user *bufferaddr; member
548 void __user *bufferaddr; member
/hardware/qcom/msm8x84/original-kernel-headers/linux/
Dmsm_vidc_dec.h253 void __user *bufferaddr; member
517 void __user *bufferaddr; member
548 void __user *bufferaddr; member
/hardware/qcom/msm8996/original-kernel-headers/linux/
Dmsm_vidc_dec.h253 void __user *bufferaddr; member
520 void __user *bufferaddr; member
554 void __user *bufferaddr; member
/hardware/qcom/msm8996/kernel-headers/linux/
Dmsm_vidc_dec.h181 void __user * bufferaddr; member
481 void __user * bufferaddr; member
519 void __user * bufferaddr; member
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_hevc_swvdec.cpp165 vdec_msg.msgdata.output_frame.bufferaddr=(void*)plane[0].m.userptr; in async_message_thread()
256 vdec_msg.msgdata.output_frame.bufferaddr = (void*)ptr[2]; in async_message_thread()
1662 char *temp = (char *)drv_ctx.ptr_outputbuffer[buf_index].bufferaddr; in log_output_buffers()
1672 temp = (char *)drv_ctx.ptr_outputbuffer[buf_index].bufferaddr + stride * scanlines; in log_output_buffers()
4482 drv_ctx.ptr_outputbuffer[i].bufferaddr = buff; in use_output_buffer()
4535 drv_ctx.ptr_outputbuffer[i].bufferaddr = in use_output_buffer()
4539 if (drv_ctx.ptr_outputbuffer[i].bufferaddr == MAP_FAILED) { in use_output_buffer()
4576 drv_ctx.ptr_outputbuffer[i].bufferaddr = buff; in use_output_buffer()
4586 drv_ctx.ptr_outputbuffer[i].bufferaddr = *bufferHdr; in use_output_buffer()
4592 drv_ctx.ptr_outputbuffer[i].bufferaddr, in use_output_buffer()
[all …]
Domx_vdec_msm8974.cpp176 vdec_msg.msgdata.output_frame.bufferaddr=(void*)plane[0].m.userptr; in async_message_thread()
288 vdec_msg.msgdata.output_frame.bufferaddr = (void*)(intptr_t)ptr[2]; in async_message_thread()
1547 char *temp = (char *)drv_ctx.ptr_outputbuffer[buf_index].bufferaddr; in log_output_buffers()
1557 temp = (char *)drv_ctx.ptr_outputbuffer[buf_index].bufferaddr + stride * scanlines; in log_output_buffers()
4828 drv_ctx.ptr_outputbuffer[i].bufferaddr = buff; in use_output_buffer()
4874 drv_ctx.ptr_outputbuffer[i].bufferaddr = in use_output_buffer()
4878 if (drv_ctx.ptr_outputbuffer[i].bufferaddr == MAP_FAILED) { in use_output_buffer()
4914 drv_ctx.ptr_outputbuffer[i].bufferaddr = buff; in use_output_buffer()
4923 m_pmem_info[i].buffer = drv_ctx.ptr_outputbuffer[i].bufferaddr; in use_output_buffer()
4927 drv_ctx.ptr_outputbuffer[i].bufferaddr = *bufferHdr; in use_output_buffer()
[all …]
Domx_vdec_hevc.cpp173 vdec_msg.msgdata.output_frame.bufferaddr=(void*)plane[0].m.userptr; in async_message_thread()
3713 drv_ctx.ptr_outputbuffer[i].bufferaddr = buff; in use_output_buffer()
3760 drv_ctx.ptr_outputbuffer[i].bufferaddr = in use_output_buffer()
3764 if (drv_ctx.ptr_outputbuffer[i].bufferaddr == MAP_FAILED) { in use_output_buffer()
3800 drv_ctx.ptr_outputbuffer[i].bufferaddr = buff; in use_output_buffer()
3810 drv_ctx.ptr_outputbuffer[i].bufferaddr = *bufferHdr; in use_output_buffer()
3816 drv_ctx.ptr_outputbuffer[i].bufferaddr, in use_output_buffer()
3823 plane[0].m.userptr = (unsigned long)drv_ctx.ptr_outputbuffer[i].bufferaddr - in use_output_buffer()
4037 drv_ctx.ptr_inputbuffer[index].bufferaddr); in free_input_buffer()
4038 munmap (drv_ctx.ptr_inputbuffer[index].bufferaddr, in free_input_buffer()
[all …]
Domx_vdec.cpp3955 drv_ctx.ptr_outputbuffer[i].bufferaddr = buff; in use_output_buffer()
4010 drv_ctx.ptr_outputbuffer[i].bufferaddr = in use_output_buffer()
4015 if (drv_ctx.ptr_outputbuffer[i].bufferaddr == MAP_FAILED) { in use_output_buffer()
4058 drv_ctx.ptr_outputbuffer[i].bufferaddr = buff; in use_output_buffer()
4070 drv_ctx.ptr_outputbuffer[i].bufferaddr = *bufferHdr; in use_output_buffer()
4297 drv_ctx.ptr_inputbuffer[index].bufferaddr); in free_input_buffer()
4298 munmap (drv_ctx.ptr_inputbuffer[index].bufferaddr, in free_input_buffer()
4335 drv_ctx.ptr_outputbuffer[index].bufferaddr); in free_output_buffer()
4355 munmap(drv_ctx.ptr_outputbuffer[index].bufferaddr, in free_output_buffer()
4370 drv_ctx.ptr_outputbuffer[index].bufferaddr); in free_output_buffer()
[all …]
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_v4l2.cpp209 vdec_msg.msgdata.output_frame.bufferaddr=(void*)plane[0].m.userptr; in async_message_thread()
338 vdec_msg.msgdata.output_frame.bufferaddr = (void*)(intptr_t)ptr[2]; in async_message_thread()
2122 temp = (char *)drv_ctx.ptr_outputbuffer[buf_index].bufferaddr; in log_output_buffers()
2154 temp = (char *)drv_ctx.ptr_outputbuffer[buf_index].bufferaddr; in log_output_buffers()
2160 temp = (char *)drv_ctx.ptr_outputbuffer[buf_index].bufferaddr + y_meta_plane + y_plane; in log_output_buffers()
2184 temp = (char *)drv_ctx.ptr_outputbuffer[buf_index].bufferaddr + stride * scanlines; in log_output_buffers()
6094 drv_ctx.ptr_outputbuffer[i].bufferaddr = buff; in use_output_buffer()
6141 drv_ctx.ptr_outputbuffer[i].bufferaddr = in use_output_buffer()
6145 if (drv_ctx.ptr_outputbuffer[i].bufferaddr == MAP_FAILED) { in use_output_buffer()
6181 drv_ctx.ptr_outputbuffer[i].bufferaddr = buff; in use_output_buffer()
[all …]
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/src/
Domx_vdec.cpp4176 drv_ctx.ptr_outputbuffer[i].bufferaddr = buff; in use_output_buffer()
4221 drv_ctx.ptr_outputbuffer[i].bufferaddr = in use_output_buffer()
4225 if (drv_ctx.ptr_outputbuffer[i].bufferaddr == MAP_FAILED) { in use_output_buffer()
4268 drv_ctx.ptr_outputbuffer[i].bufferaddr = buff; in use_output_buffer()
4278 drv_ctx.ptr_outputbuffer[i].bufferaddr = *bufferHdr; in use_output_buffer()
4502 drv_ctx.ptr_inputbuffer[index].bufferaddr); in free_input_buffer()
4503 munmap (drv_ctx.ptr_inputbuffer[index].bufferaddr, in free_input_buffer()
4540 drv_ctx.ptr_outputbuffer[index].bufferaddr); in free_output_buffer()
4558 munmap(drv_ctx.ptr_outputbuffer[index].bufferaddr, in free_output_buffer()
4572 drv_ctx.ptr_outputbuffer[index].bufferaddr); in free_output_buffer()
[all …]
/hardware/qcom/media/msm8996/videopp/inc/
Domx_vdpp.h293 void *bufferaddr; member
313 void *bufferaddr; member
/hardware/qcom/sm7250/media/mm-video-v4l2/vidc/vdec/inc/
Domx_swvdec.h104 void *bufferaddr; member
Domx_vdec.h300 void *bufferaddr; member
325 void *bufferaddr; member
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/vdec/inc/
Domx_swvdec.h104 void *bufferaddr; member
/hardware/qcom/sdm845/media/mm-video-v4l2/vidc/vdec/inc/
Domx_vdec.h360 void *bufferaddr; member
399 void *bufferaddr; member