/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/ |
D | video_encoder_device_v4l2.cpp | 925 struct v4l2_requestbuffers bufreq; in venc_open() local 988 bufreq.memory = V4L2_MEMORY_USERPTR; in venc_open() 989 bufreq.count = 2; in venc_open() 991 bufreq.type=V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE; in venc_open() 992 ret = ioctl(m_nDriver_fd,VIDIOC_REQBUFS, &bufreq); in venc_open() 993 m_sInput_buff_property.mincount = m_sInput_buff_property.actualcount = bufreq.count; in venc_open() 995 bufreq.type=V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in venc_open() 996 bufreq.count = 2; in venc_open() 997 ret = ioctl(m_nDriver_fd,VIDIOC_REQBUFS, &bufreq); in venc_open() 998 m_sOutput_buff_property.mincount = m_sOutput_buff_property.actualcount = bufreq.count; in venc_open() [all …]
|
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/src/ |
D | video_encoder_device_v4l2.cpp | 1177 struct v4l2_requestbuffers bufreq; in venc_open() local 1262 bufreq.memory = V4L2_MEMORY_USERPTR; in venc_open() 1263 bufreq.count = 2; in venc_open() 1265 bufreq.type=V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE; in venc_open() 1266 ret = ioctl(m_nDriver_fd,VIDIOC_REQBUFS, &bufreq); in venc_open() 1267 m_sInput_buff_property.mincount = m_sInput_buff_property.actualcount = bufreq.count; in venc_open() 1269 bufreq.type=V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in venc_open() 1270 bufreq.count = 2; in venc_open() 1271 ret = ioctl(m_nDriver_fd,VIDIOC_REQBUFS, &bufreq); in venc_open() 1272 m_sOutput_buff_property.mincount = m_sOutput_buff_property.actualcount = bufreq.count; in venc_open() [all …]
|
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/venc/src/ |
D | video_encoder_device_v4l2.cpp | 1363 struct v4l2_requestbuffers bufreq; in venc_open() local 1448 bufreq.memory = V4L2_MEMORY_USERPTR; in venc_open() 1449 bufreq.count = 2; in venc_open() 1451 bufreq.type=V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE; in venc_open() 1452 ret = ioctl(m_nDriver_fd,VIDIOC_REQBUFS, &bufreq); in venc_open() 1453 m_sInput_buff_property.mincount = m_sInput_buff_property.actualcount = bufreq.count; in venc_open() 1455 bufreq.type=V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in venc_open() 1456 bufreq.count = 2; in venc_open() 1457 ret = ioctl(m_nDriver_fd,VIDIOC_REQBUFS, &bufreq); in venc_open() 1458 m_sOutput_buff_property.mincount = m_sOutput_buff_property.actualcount = bufreq.count; in venc_open() [all …]
|
/hardware/qcom/sm7250/media/mm-video-v4l2/vidc/venc/src/ |
D | video_encoder_device_v4l2_params.cpp | 549 struct v4l2_requestbuffers bufreq; in venc_set_param() local 607 bufreq.memory = V4L2_MEMORY_USERPTR; in venc_set_param() 608 bufreq.count = portDefn->nBufferCountActual; in venc_set_param() 609 bufreq.type=V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE; in venc_set_param() 610 if (ioctl(m_nDriver_fd,VIDIOC_REQBUFS, &bufreq)) { in venc_set_param() 611 … DEBUG_PRINT_ERROR("reqbufs failed, type %d, count %d", bufreq.type, bufreq.count); in venc_set_param() 693 bufreq.memory = V4L2_MEMORY_USERPTR; in venc_set_param() 694 bufreq.count = portDefn->nBufferCountActual; in venc_set_param() 695 bufreq.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in venc_set_param() 696 if (ioctl(m_nDriver_fd,VIDIOC_REQBUFS, &bufreq)) { in venc_set_param() [all …]
|
D | video_encoder_device_v4l2.cpp | 1583 struct v4l2_requestbuffers bufreq; in venc_open() local 1668 bufreq.memory = V4L2_MEMORY_USERPTR; in venc_open() 1669 bufreq.count = 2; in venc_open() 1671 bufreq.type=V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE; in venc_open() 1672 ret = ioctl(m_nDriver_fd,VIDIOC_REQBUFS, &bufreq); in venc_open() 1673 m_sInput_buff_property.mincount = m_sInput_buff_property.actualcount = bufreq.count; in venc_open() 1675 bufreq.type=V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in venc_open() 1676 bufreq.count = 2; in venc_open() 1677 ret = ioctl(m_nDriver_fd,VIDIOC_REQBUFS, &bufreq); in venc_open() 1678 m_sOutput_buff_property.mincount = m_sOutput_buff_property.actualcount = bufreq.count; in venc_open() [all …]
|
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/venc/src/ |
D | video_encoder_device_copper.cpp | 327 struct v4l2_requestbuffers bufreq; in venc_open() local 380 bufreq.memory = V4L2_MEMORY_USERPTR; in venc_open() 381 bufreq.count = 2; in venc_open() 383 bufreq.type=V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE; in venc_open() 384 ret = ioctl(m_nDriver_fd,VIDIOC_REQBUFS, &bufreq); in venc_open() 385 …_property.mincount=m_sInput_buff_property.maxcount=m_sInput_buff_property.actualcount=bufreq.count; in venc_open() 389 bufreq.type=V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in venc_open() 390 bufreq.count = 2; in venc_open() 391 ret = ioctl(m_nDriver_fd,VIDIOC_REQBUFS, &bufreq); in venc_open() 392 …roperty.mincount=m_sOutput_buff_property.maxcount=m_sOutput_buff_property.actualcount=bufreq.count; in venc_open() [all …]
|
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/venc/src/ |
D | video_encoder_device_v4l2.cpp | 1747 struct v4l2_requestbuffers bufreq; in venc_open() local 1826 bufreq.memory = V4L2_MEMORY_USERPTR; in venc_open() 1827 bufreq.count = 2; in venc_open() 1829 bufreq.type=V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE; in venc_open() 1830 ret = ioctl(m_nDriver_fd,VIDIOC_REQBUFS, &bufreq); in venc_open() 1831 m_sInput_buff_property.mincount = m_sInput_buff_property.actualcount = bufreq.count; in venc_open() 1833 bufreq.type=V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in venc_open() 1834 bufreq.count = 2; in venc_open() 1835 ret = ioctl(m_nDriver_fd,VIDIOC_REQBUFS, &bufreq); in venc_open() 1836 m_sOutput_buff_property.mincount = m_sOutput_buff_property.actualcount = bufreq.count; in venc_open() [all …]
|
/hardware/qcom/media/msm8996/videopp/src/ |
D | omx_vdpp.cpp | 782 struct v4l2_requestbuffers bufreq; in release_buffers() local 786 bufreq.memory = V4L2_MEMORY_USERPTR; in release_buffers() 787 bufreq.count = 0; in release_buffers() 788 bufreq.type=V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in release_buffers() 789 rc = ioctl(obj->drv_ctx.video_vpu_fd,VIDIOC_REQBUFS, &bufreq); in release_buffers() 791 bufreq.memory = V4L2_MEMORY_USERPTR; in release_buffers() 792 bufreq.count = 0; in release_buffers() 793 bufreq.type=V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE; in release_buffers() 794 rc = ioctl(obj->drv_ctx.video_vpu_fd,VIDIOC_REQBUFS, &bufreq); in release_buffers() 2391 struct v4l2_requestbuffers bufreq; in execute_omx_flush() local [all …]
|
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/src/ |
D | omx_vdec_v4l2.cpp | 981 struct v4l2_requestbuffers bufreq; in release_buffers() local 984 bufreq.memory = V4L2_MEMORY_USERPTR; in release_buffers() 985 bufreq.count = 0; in release_buffers() 986 bufreq.type=V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in release_buffers() 987 rc = ioctl(obj->drv_ctx.video_driver_fd,VIDIOC_REQBUFS, &bufreq); in release_buffers() 989 bufreq.memory = V4L2_MEMORY_USERPTR; in release_buffers() 990 bufreq.count = 0; in release_buffers() 991 bufreq.type=V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE; in release_buffers() 992 rc = ioctl(obj->drv_ctx.video_driver_fd,VIDIOC_REQBUFS, &bufreq); in release_buffers() 2218 struct v4l2_requestbuffers bufreq; in component_init() local [all …]
|
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/ |
D | omx_vdec_hevc.cpp | 715 struct v4l2_requestbuffers bufreq; in release_buffers() local 718 bufreq.memory = V4L2_MEMORY_USERPTR; in release_buffers() 719 bufreq.count = 0; in release_buffers() 720 bufreq.type=V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in release_buffers() 721 rc = ioctl(obj->drv_ctx.video_driver_fd,VIDIOC_REQBUFS, &bufreq); in release_buffers() 1233 struct v4l2_requestbuffers bufreq; in component_init() local 7078 struct v4l2_requestbuffers bufreq; in get_buffer_req() local 7083 bufreq.memory = V4L2_MEMORY_USERPTR; in get_buffer_req() 7084 bufreq.count = 1; in get_buffer_req() 7086 bufreq.type=V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE; in get_buffer_req() [all …]
|
D | omx_vdec_v4l2.cpp | 932 struct v4l2_requestbuffers bufreq; in release_buffers() local 935 bufreq.memory = V4L2_MEMORY_USERPTR; in release_buffers() 936 bufreq.count = 0; in release_buffers() 937 bufreq.type=V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in release_buffers() 938 rc = ioctl(obj->drv_ctx.video_driver_fd,VIDIOC_REQBUFS, &bufreq); in release_buffers() 940 bufreq.memory = V4L2_MEMORY_USERPTR; in release_buffers() 941 bufreq.count = 0; in release_buffers() 942 bufreq.type=V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE; in release_buffers() 943 rc = ioctl(obj->drv_ctx.video_driver_fd,VIDIOC_REQBUFS, &bufreq); in release_buffers() 2014 struct v4l2_requestbuffers bufreq; in component_init() local [all …]
|
D | omx_vdec_hevc_swvdec.cpp | 840 struct v4l2_requestbuffers bufreq; in release_buffers() local 843 bufreq.memory = V4L2_MEMORY_USERPTR; in release_buffers() 844 bufreq.count = 0; in release_buffers() 845 bufreq.type=V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in release_buffers() 846 rc = ioctl(obj->drv_ctx.video_driver_fd,VIDIOC_REQBUFS, &bufreq); in release_buffers() 848 bufreq.memory = V4L2_MEMORY_USERPTR; in release_buffers() 849 bufreq.count = 0; in release_buffers() 850 bufreq.type=V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE; in release_buffers() 851 rc = ioctl(obj->drv_ctx.video_driver_fd,VIDIOC_REQBUFS, &bufreq); in release_buffers() 1744 struct v4l2_requestbuffers bufreq; in component_init() local [all …]
|
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/src/ |
D | omx_vdec_hevc.cpp | 720 struct v4l2_requestbuffers bufreq; in release_buffers() local 723 bufreq.memory = V4L2_MEMORY_USERPTR; in release_buffers() 724 bufreq.count = 0; in release_buffers() 725 bufreq.type=V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in release_buffers() 726 rc = ioctl(obj->drv_ctx.video_driver_fd,VIDIOC_REQBUFS, &bufreq); in release_buffers() 1238 struct v4l2_requestbuffers bufreq; in component_init() local 7114 struct v4l2_requestbuffers bufreq; in get_buffer_req() local 7119 bufreq.memory = V4L2_MEMORY_USERPTR; in get_buffer_req() 7120 bufreq.count = 1; in get_buffer_req() 7122 bufreq.type=V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE; in get_buffer_req() [all …]
|
D | omx_vdec_hevc_swvdec.cpp | 832 struct v4l2_requestbuffers bufreq; in release_buffers() local 835 bufreq.memory = V4L2_MEMORY_USERPTR; in release_buffers() 836 bufreq.count = 0; in release_buffers() 837 bufreq.type=V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in release_buffers() 838 rc = ioctl(obj->drv_ctx.video_driver_fd,VIDIOC_REQBUFS, &bufreq); in release_buffers() 840 bufreq.memory = V4L2_MEMORY_USERPTR; in release_buffers() 841 bufreq.count = 0; in release_buffers() 842 bufreq.type=V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE; in release_buffers() 843 rc = ioctl(obj->drv_ctx.video_driver_fd,VIDIOC_REQBUFS, &bufreq); in release_buffers() 1727 struct v4l2_requestbuffers bufreq; in component_init() local [all …]
|
D | omx_vdec_msm8974.cpp | 834 struct v4l2_requestbuffers bufreq; in release_buffers() local 837 bufreq.memory = V4L2_MEMORY_USERPTR; in release_buffers() 838 bufreq.count = 0; in release_buffers() 839 bufreq.type=V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in release_buffers() 840 rc = ioctl(obj->drv_ctx.video_driver_fd,VIDIOC_REQBUFS, &bufreq); in release_buffers() 842 bufreq.memory = V4L2_MEMORY_USERPTR; in release_buffers() 843 bufreq.count = 0; in release_buffers() 844 bufreq.type=V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE; in release_buffers() 845 rc = ioctl(obj->drv_ctx.video_driver_fd,VIDIOC_REQBUFS, &bufreq); in release_buffers() 1591 struct v4l2_requestbuffers bufreq; in component_init() local [all …]
|
/hardware/qcom/sm7250/media/mm-video-v4l2/vidc/vdec/src/ |
D | omx_vdec_v4l2.cpp | 1768 struct v4l2_requestbuffers bufreq; in component_init() local 4254 struct v4l2_requestbuffers bufreq; in allocate_input_buffer() local 4257 bufreq.memory = V4L2_MEMORY_USERPTR; in allocate_input_buffer() 4258 bufreq.type=V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE; in allocate_input_buffer() 4259 bufreq.count = drv_ctx.ip_buf.actualcount; in allocate_input_buffer() 4260 ret = ioctl(drv_ctx.video_driver_fd,VIDIOC_REQBUFS, &bufreq); in allocate_input_buffer() 4265 } else if (bufreq.count != drv_ctx.ip_buf.actualcount) { in allocate_input_buffer() 4267 __FUNCTION__, drv_ctx.ip_buf.actualcount, bufreq.count); in allocate_input_buffer() 6888 struct v4l2_requestbuffers bufreq; in stream_off() local 6924 bufreq.type = V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE; in stream_off() [all …]
|
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-interface/src/ |
D | mm_camera_stream.c | 2049 struct v4l2_requestbuffers bufreq; in mm_stream_request_buf() local 2060 memset(&bufreq, 0, sizeof(bufreq)); in mm_stream_request_buf() 2061 bufreq.count = buf_num; in mm_stream_request_buf() 2062 bufreq.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in mm_stream_request_buf() 2063 bufreq.memory = V4L2_MEMORY_USERPTR; in mm_stream_request_buf() 2064 rc = ioctl(my_obj->fd, VIDIOC_REQBUFS, &bufreq); in mm_stream_request_buf() 2509 struct v4l2_requestbuffers bufreq; in mm_stream_unreg_buf() local 2515 bufreq.count = 0; in mm_stream_unreg_buf() 2516 bufreq.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in mm_stream_unreg_buf() 2517 bufreq.memory = V4L2_MEMORY_USERPTR; in mm_stream_unreg_buf() [all …]
|
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/vdec/src/ |
D | omx_vdec_v4l2.cpp | 2337 struct v4l2_requestbuffers bufreq; in component_init() local 6652 struct v4l2_requestbuffers bufreq; in allocate_input_buffer() local 6655 bufreq.memory = V4L2_MEMORY_USERPTR; in allocate_input_buffer() 6656 bufreq.type=V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE; in allocate_input_buffer() 6657 bufreq.count = drv_ctx.ip_buf.actualcount; in allocate_input_buffer() 6658 ret = ioctl(drv_ctx.video_driver_fd,VIDIOC_REQBUFS, &bufreq); in allocate_input_buffer() 6663 } else if (bufreq.count != drv_ctx.ip_buf.actualcount) { in allocate_input_buffer() 6665 __FUNCTION__, drv_ctx.ip_buf.actualcount, bufreq.count); in allocate_input_buffer() 10152 struct v4l2_requestbuffers bufreq; in stream_off() local 10188 bufreq.type = V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE; in stream_off() [all …]
|
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/src/ |
D | omx_vdec_copper.cpp | 1191 struct v4l2_requestbuffers bufreq; in component_init() local 7257 struct v4l2_requestbuffers bufreq; in get_buffer_req() local 7263 bufreq.memory = V4L2_MEMORY_USERPTR; in get_buffer_req() 7265 bufreq.count = 0; in get_buffer_req() 7267 bufreq.count = 2; in get_buffer_req() 7269 bufreq.type=V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE; in get_buffer_req() 7273 bufreq.type=V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in get_buffer_req() 7278 ret = ioctl(drv_ctx.video_driver_fd,VIDIOC_REQBUFS, &bufreq); in get_buffer_req() 7289 buffer_prop->actualcount = bufreq.count; in get_buffer_req() 7290 buffer_prop->mincount = bufreq.count; in get_buffer_req() [all …]
|