Home
last modified time | relevance | path

Searched refs:bufreq (Results 1 – 10 of 10) sorted by relevance

/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device_v4l2.cpp924 struct v4l2_requestbuffers bufreq; in venc_open() local
987 bufreq.memory = V4L2_MEMORY_USERPTR; in venc_open()
988 bufreq.count = 2; in venc_open()
990 bufreq.type=V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE; in venc_open()
991 ret = ioctl(m_nDriver_fd,VIDIOC_REQBUFS, &bufreq); in venc_open()
992 m_sInput_buff_property.mincount = m_sInput_buff_property.actualcount = bufreq.count; in venc_open()
994 bufreq.type=V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in venc_open()
995 bufreq.count = 2; in venc_open()
996 ret = ioctl(m_nDriver_fd,VIDIOC_REQBUFS, &bufreq); in venc_open()
997 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/
Dvideo_encoder_device_v4l2.cpp1161 struct v4l2_requestbuffers bufreq; in venc_open() local
1245 bufreq.memory = V4L2_MEMORY_USERPTR; in venc_open()
1246 bufreq.count = 2; in venc_open()
1248 bufreq.type=V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE; in venc_open()
1249 ret = ioctl(m_nDriver_fd,VIDIOC_REQBUFS, &bufreq); in venc_open()
1250 m_sInput_buff_property.mincount = m_sInput_buff_property.actualcount = bufreq.count; in venc_open()
1252 bufreq.type=V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in venc_open()
1253 bufreq.count = 2; in venc_open()
1254 ret = ioctl(m_nDriver_fd,VIDIOC_REQBUFS, &bufreq); in venc_open()
1255 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/
Dvideo_encoder_device_copper.cpp327 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/media/msm8996/videopp/src/
Domx_vdpp.cpp782 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/msm8974/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_hevc.cpp720 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 …]
Domx_vdec_msm8974.cpp833 struct v4l2_requestbuffers bufreq; in release_buffers() local
836 bufreq.memory = V4L2_MEMORY_USERPTR; in release_buffers()
837 bufreq.count = 0; in release_buffers()
838 bufreq.type=V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in release_buffers()
839 rc = ioctl(obj->drv_ctx.video_driver_fd,VIDIOC_REQBUFS, &bufreq); in release_buffers()
841 bufreq.memory = V4L2_MEMORY_USERPTR; in release_buffers()
842 bufreq.count = 0; in release_buffers()
843 bufreq.type=V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE; in release_buffers()
844 rc = ioctl(obj->drv_ctx.video_driver_fd,VIDIOC_REQBUFS, &bufreq); in release_buffers()
1590 struct v4l2_requestbuffers bufreq; in component_init() local
[all …]
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_hevc.cpp715 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 …]
Domx_vdec_hevc_swvdec.cpp840 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/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_stream.c1746 struct v4l2_requestbuffers bufreq; in mm_stream_request_buf() local
1760 memset(&bufreq, 0, sizeof(bufreq)); in mm_stream_request_buf()
1761 bufreq.count = buf_num; in mm_stream_request_buf()
1762 bufreq.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in mm_stream_request_buf()
1763 bufreq.memory = V4L2_MEMORY_USERPTR; in mm_stream_request_buf()
1764 rc = ioctl(my_obj->fd, VIDIOC_REQBUFS, &bufreq); in mm_stream_request_buf()
2184 struct v4l2_requestbuffers bufreq; in mm_stream_unreg_buf() local
2190 bufreq.count = 0; in mm_stream_unreg_buf()
2191 bufreq.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in mm_stream_unreg_buf()
2192 bufreq.memory = V4L2_MEMORY_USERPTR; in mm_stream_unreg_buf()
[all …]
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/src/
Domx_vdec_copper.cpp1191 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 …]