/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/sdm845/media/mm-video-v4l2/vidc/venc/src/ |
D | video_encoder_device_v4l2.cpp | 1444 struct v4l2_requestbuffers bufreq; in venc_open() local 1511 bufreq.memory = V4L2_MEMORY_USERPTR; in venc_open() 1512 bufreq.count = 2; in venc_open() 1514 bufreq.type=V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE; in venc_open() 1515 ret = ioctl(m_nDriver_fd,VIDIOC_REQBUFS, &bufreq); in venc_open() 1516 m_sInput_buff_property.mincount = m_sInput_buff_property.actualcount = bufreq.count; in venc_open() 1518 bufreq.type=V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in venc_open() 1519 bufreq.count = 2; in venc_open() 1520 ret = ioctl(m_nDriver_fd,VIDIOC_REQBUFS, &bufreq); in venc_open() 1521 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 | 1715 struct v4l2_requestbuffers bufreq; in venc_open() local 1782 bufreq.memory = V4L2_MEMORY_USERPTR; in venc_open() 1783 bufreq.count = 2; in venc_open() 1785 bufreq.type=V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE; in venc_open() 1786 ret = ioctl(m_nDriver_fd,VIDIOC_REQBUFS, &bufreq); in venc_open() 1787 m_sInput_buff_property.mincount = m_sInput_buff_property.actualcount = bufreq.count; in venc_open() 1789 bufreq.type=V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in venc_open() 1790 bufreq.count = 2; in venc_open() 1791 ret = ioctl(m_nDriver_fd,VIDIOC_REQBUFS, &bufreq); in venc_open() 1792 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/sdm845/media/mm-video-v4l2/vidc/vdec/src/ |
D | omx_vdec_v4l2.cpp | 2236 struct v4l2_requestbuffers bufreq; in component_init() local 6179 struct v4l2_requestbuffers bufreq; in allocate_input_buffer() local 6182 bufreq.memory = V4L2_MEMORY_USERPTR; in allocate_input_buffer() 6183 bufreq.type=V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE; in allocate_input_buffer() 6184 bufreq.count = drv_ctx.ip_buf.actualcount; in allocate_input_buffer() 6185 ret = ioctl(drv_ctx.video_driver_fd,VIDIOC_REQBUFS, &bufreq); in allocate_input_buffer() 6190 } else if (bufreq.count != drv_ctx.ip_buf.actualcount) { in allocate_input_buffer() 6192 __FUNCTION__, drv_ctx.ip_buf.actualcount, bufreq.count); in allocate_input_buffer() 8785 struct v4l2_requestbuffers bufreq; in stream_off() local 8821 bufreq.type = V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE; in stream_off() [all …]
|
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/vdec/src/ |
D | omx_vdec_v4l2.cpp | 2291 struct v4l2_requestbuffers bufreq; in component_init() local 6552 struct v4l2_requestbuffers bufreq; in allocate_input_buffer() local 6555 bufreq.memory = V4L2_MEMORY_USERPTR; in allocate_input_buffer() 6556 bufreq.type=V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE; in allocate_input_buffer() 6557 bufreq.count = drv_ctx.ip_buf.actualcount; in allocate_input_buffer() 6558 ret = ioctl(drv_ctx.video_driver_fd,VIDIOC_REQBUFS, &bufreq); in allocate_input_buffer() 6563 } else if (bufreq.count != drv_ctx.ip_buf.actualcount) { in allocate_input_buffer() 6565 __FUNCTION__, drv_ctx.ip_buf.actualcount, bufreq.count); in allocate_input_buffer() 10027 struct v4l2_requestbuffers bufreq; in stream_off() local 10063 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/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 …]
|