Searched refs:bufreq (Results 1 – 7 of 7) sorted by relevance
/hardware/qcom/media/mm-video-v4l2/vidc/venc/src/ |
D | video_encoder_device_v4l2.cpp | 924 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/ |
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/media/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 | 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() 1589 struct v4l2_requestbuffers bufreq; in component_init() local [all …]
|
/hardware/qcom/camera/QCamera2/stack/mm-camera-interface/src/ |
D | mm_camera_stream.c | 1540 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/ |
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 …]
|