Home
last modified time | relevance | path

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

12

/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/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/msm8998/mm-video-v4l2/vidc/vdec/src/
Domx_swvdec.cpp2198 unsigned char *bufferaddr; in fill_this_buffer() local
2200 bufferaddr = (unsigned char *) mmap(NULL, in fill_this_buffer()
2207 if (bufferaddr == MAP_FAILED) in fill_this_buffer()
2220 p_buffer_payload->bufferaddr = bufferaddr; in fill_this_buffer()
2225 p_buffer_swvdec->p_buffer = bufferaddr; in fill_this_buffer()
3582 unsigned char *bufferaddr; in buffer_allocate_ip() local
3602 bufferaddr = (unsigned char *) mmap(NULL, in buffer_allocate_ip()
3609 if (bufferaddr == MAP_FAILED) in buffer_allocate_ip()
3624 m_buffer_array_ip[ii].buffer_payload.bufferaddr = bufferaddr; in buffer_allocate_ip()
3630 m_buffer_array_ip[ii].buffer_swvdec.p_buffer = bufferaddr; in buffer_allocate_ip()
[all …]
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/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 …]
Domx_vdec_v4l2.cpp194 vdec_msg.msgdata.output_frame.bufferaddr=(void*)plane[0].m.userptr; in async_message_thread()
316 vdec_msg.msgdata.output_frame.bufferaddr = (void*)(intptr_t)ptr[2]; in async_message_thread()
1919 temp = (char *)drv_ctx.ptr_outputbuffer[buf_index].bufferaddr; in log_output_buffers()
1950 temp = (char *)drv_ctx.ptr_outputbuffer[buf_index].bufferaddr; in log_output_buffers()
1956 temp = (char *)drv_ctx.ptr_outputbuffer[buf_index].bufferaddr + y_meta_plane + y_plane; in log_output_buffers()
1980 temp = (char *)drv_ctx.ptr_outputbuffer[buf_index].bufferaddr + stride * scanlines; in log_output_buffers()
5670 drv_ctx.ptr_outputbuffer[i].bufferaddr = buff; in use_output_buffer()
5717 drv_ctx.ptr_outputbuffer[i].bufferaddr = in use_output_buffer()
5721 if (drv_ctx.ptr_outputbuffer[i].bufferaddr == MAP_FAILED) { in use_output_buffer()
5757 drv_ctx.ptr_outputbuffer[i].bufferaddr = buff; in use_output_buffer()
[all …]
Domx_vdec_hevc.cpp169 vdec_msg.msgdata.output_frame.bufferaddr=(void*)plane[0].m.userptr; in async_message_thread()
3692 drv_ctx.ptr_outputbuffer[i].bufferaddr = buff; in use_output_buffer()
3739 drv_ctx.ptr_outputbuffer[i].bufferaddr = in use_output_buffer()
3743 if (drv_ctx.ptr_outputbuffer[i].bufferaddr == MAP_FAILED) { in use_output_buffer()
3779 drv_ctx.ptr_outputbuffer[i].bufferaddr = buff; in use_output_buffer()
3789 drv_ctx.ptr_outputbuffer[i].bufferaddr = *bufferHdr; in use_output_buffer()
3795 drv_ctx.ptr_outputbuffer[i].bufferaddr, in use_output_buffer()
3802 plane[0].m.userptr = (unsigned long)drv_ctx.ptr_outputbuffer[i].bufferaddr - in use_output_buffer()
4016 drv_ctx.ptr_inputbuffer[index].bufferaddr); in free_input_buffer()
4017 munmap (drv_ctx.ptr_inputbuffer[index].bufferaddr, in free_input_buffer()
[all …]
/hardware/qcom/sdm845/media/mm-video-v4l2/vidc/vdec/src/
Domx_swvdec.cpp2218 unsigned char *bufferaddr; in fill_this_buffer() local
2220 bufferaddr = (unsigned char *) mmap(NULL, in fill_this_buffer()
2227 if (bufferaddr == MAP_FAILED) in fill_this_buffer()
2240 p_buffer_payload->bufferaddr = bufferaddr; in fill_this_buffer()
2245 p_buffer_swvdec->p_buffer = bufferaddr; in fill_this_buffer()
3634 unsigned char *bufferaddr; in buffer_allocate_ip() local
3654 bufferaddr = (unsigned char *) mmap(NULL, in buffer_allocate_ip()
3661 if (bufferaddr == MAP_FAILED) in buffer_allocate_ip()
3676 m_buffer_array_ip[ii].buffer_payload.bufferaddr = bufferaddr; in buffer_allocate_ip()
3682 m_buffer_array_ip[ii].buffer_swvdec.p_buffer = bufferaddr; in buffer_allocate_ip()
[all …]
/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/msm8998/original-kernel-headers/linux/
Dmsm_vidc_dec.h253 void *bufferaddr; member
524 void *bufferaddr; member
558 void *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/msm8996/kernel-headers/linux/
Dmsm_vidc_dec.h181 void __user * bufferaddr; member
481 void __user * bufferaddr; member
519 void __user * bufferaddr; member
/hardware/qcom/msm8x84/kernel-headers/linux/
Dmsm_vidc_dec.h181 void __user *bufferaddr; member
477 void __user *bufferaddr; member
511 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/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/msm8998/kernel-headers/linux/
Dmsm_vidc_dec.h181 void * bufferaddr; member
484 void * bufferaddr; member
521 void * 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/kernel-headers/linux/
Dmsm_vidc_dec.h179 void __user *bufferaddr; member
472 void __user *bufferaddr; member
506 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 …]
/hardware/qcom/media/msm8996/videopp/src/
Domx_vdpp.cpp172 vdpp_msg.msgdata.output_frame.bufferaddr=(void*)v4l2_buf.m.planes[0].m.userptr; in async_message_thread()
329 vdpp_msg.msgdata.output_frame.bufferaddr=(void*)v4l2_buf.m.userptr; in async_message_thread()
3943 drv_ctx.ptr_outputbuffer[i].bufferaddr = NULL; in use_output_buffer()
3947 drv_ctx.ptr_outputbuffer[i].bufferaddr, in use_output_buffer()
3984 drv_ctx.ptr_outputbuffer[i].bufferaddr = in use_output_buffer()
3988 if (drv_ctx.ptr_outputbuffer[i].bufferaddr == MAP_FAILED) { in use_output_buffer()
4025 drv_ctx.ptr_outputbuffer[i].bufferaddr = buff; in use_output_buffer()
4037 drv_ctx.ptr_outputbuffer[i].bufferaddr, in use_output_buffer()
4362 drv_ctx.ptr_inputbuffer [i].bufferaddr = buff; in use_input_buffers()
4510 drv_ctx.ptr_inputbuffer[index].bufferaddr); in free_input_buffer()
[all …]
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/src/
Domx_vdec_copper.cpp164 vdec_msg.msgdata.output_frame.bufferaddr=(void*)plane.m.userptr; in async_message_thread()
3839 drv_ctx.ptr_outputbuffer[i].bufferaddr = buff; in use_output_buffer()
3883 drv_ctx.ptr_outputbuffer[i].bufferaddr = in use_output_buffer()
3887 if (drv_ctx.ptr_outputbuffer[i].bufferaddr == MAP_FAILED) { in use_output_buffer()
3923 drv_ctx.ptr_outputbuffer[i].bufferaddr = buff; in use_output_buffer()
3933 drv_ctx.ptr_outputbuffer[i].bufferaddr = *bufferHdr; in use_output_buffer()
4147 drv_ctx.ptr_inputbuffer[index].bufferaddr); in free_input_buffer()
4148 munmap (drv_ctx.ptr_inputbuffer[index].bufferaddr, in free_input_buffer()
4183 drv_ctx.ptr_outputbuffer[index].bufferaddr); in free_output_buffer()
4200 munmap(drv_ctx.ptr_outputbuffer[index].bufferaddr, in free_output_buffer()
[all …]
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 …]

12