Home
last modified time | relevance | path

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

/hardware/qcom/media/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/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.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_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 …]
Domx_vdec_msm8974.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()
1589 struct v4l2_requestbuffers bufreq; in component_init() local
[all …]
/hardware/qcom/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_stream.c1540 struct v4l2_requestbuffers bufreq; in mm_stream_request_buf() local
1554 memset(&bufreq, 0, sizeof(bufreq)); in mm_stream_request_buf()
1555 bufreq.count = buf_num; in mm_stream_request_buf()
1556 bufreq.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in mm_stream_request_buf()
1557 bufreq.memory = V4L2_MEMORY_USERPTR; in mm_stream_request_buf()
1558 rc = ioctl(my_obj->fd, VIDIOC_REQBUFS, &bufreq); in mm_stream_request_buf()
1935 struct v4l2_requestbuffers bufreq; in mm_stream_unreg_buf() local
1941 bufreq.count = 0; in mm_stream_unreg_buf()
1942 bufreq.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in mm_stream_unreg_buf()
1943 bufreq.memory = V4L2_MEMORY_USERPTR; in mm_stream_unreg_buf()
[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 …]