/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/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 | 1565 struct v4l2_requestbuffers bufreq; in venc_open() local 1650 bufreq.memory = V4L2_MEMORY_USERPTR; in venc_open() 1651 bufreq.count = 2; in venc_open() 1653 bufreq.type=V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE; in venc_open() 1654 ret = ioctl(m_nDriver_fd,VIDIOC_REQBUFS, &bufreq); in venc_open() 1655 m_sInput_buff_property.mincount = m_sInput_buff_property.actualcount = bufreq.count; in venc_open() 1657 bufreq.type=V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in venc_open() 1658 bufreq.count = 2; in venc_open() 1659 ret = ioctl(m_nDriver_fd,VIDIOC_REQBUFS, &bufreq); in venc_open() 1660 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/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/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/media/msm8996/mm-video-v4l2/vidc/vdec/src/ |
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/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 …]
|