Home
last modified time | relevance | path

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

/hardware/qcom/media/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device_v4l2.cpp839 struct v4l2_requestbuffers bufreq; in venc_open() local
901 bufreq.memory = V4L2_MEMORY_USERPTR; in venc_open()
902 bufreq.count = 2; in venc_open()
904 bufreq.type=V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE; in venc_open()
905 ret = ioctl(m_nDriver_fd,VIDIOC_REQBUFS, &bufreq); in venc_open()
906 m_sInput_buff_property.mincount = m_sInput_buff_property.actualcount = bufreq.count; in venc_open()
908 bufreq.type=V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in venc_open()
909 bufreq.count = 2; in venc_open()
910 ret = ioctl(m_nDriver_fd,VIDIOC_REQBUFS, &bufreq); in venc_open()
911 m_sOutput_buff_property.mincount = m_sOutput_buff_property.actualcount = bufreq.count; in venc_open()
[all …]
/hardware/qcom/media/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/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_hevc.cpp722 struct v4l2_requestbuffers bufreq; in release_buffers() local
725 bufreq.memory = V4L2_MEMORY_USERPTR; in release_buffers()
726 bufreq.count = 0; in release_buffers()
727 bufreq.type=V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in release_buffers()
728 rc = ioctl(obj->drv_ctx.video_driver_fd,VIDIOC_REQBUFS, &bufreq); in release_buffers()
1240 struct v4l2_requestbuffers bufreq; in component_init() local
7110 struct v4l2_requestbuffers bufreq; in get_buffer_req() local
7115 bufreq.memory = V4L2_MEMORY_USERPTR; in get_buffer_req()
7116 bufreq.count = 1; in get_buffer_req()
7118 bufreq.type=V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE; in get_buffer_req()
[all …]
Domx_vdec_msm8974.cpp802 struct v4l2_requestbuffers bufreq; in release_buffers() local
805 bufreq.memory = V4L2_MEMORY_USERPTR; in release_buffers()
806 bufreq.count = 0; in release_buffers()
807 bufreq.type=V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in release_buffers()
808 rc = ioctl(obj->drv_ctx.video_driver_fd,VIDIOC_REQBUFS, &bufreq); in release_buffers()
810 bufreq.memory = V4L2_MEMORY_USERPTR; in release_buffers()
811 bufreq.count = 0; in release_buffers()
812 bufreq.type=V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE; in release_buffers()
813 rc = ioctl(obj->drv_ctx.video_driver_fd,VIDIOC_REQBUFS, &bufreq); in release_buffers()
1469 struct v4l2_requestbuffers bufreq; in component_init() local
[all …]
Domx_vdec_hevc_swvdec.cpp832 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 …]
/hardware/qcom/media/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 …]