Lines Matching refs:bufreq
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
6764 struct v4l2_requestbuffers bufreq; in get_buffer_req() local
6775 bufreq.count = VP_INPUT_BUFFER_COUNT_INTERLACE; in get_buffer_req()
6778 bufreq.count = VP_OUTPUT_BUFFER_COUNT; in get_buffer_req()
6785 buffer_prop->actualcount = bufreq.count; in get_buffer_req()
6786 buffer_prop->mincount = bufreq.count; in get_buffer_req()
6787 DEBUG_PRINT_HIGH("Count = %d \n ",bufreq.count); in get_buffer_req()
6821 struct v4l2_requestbuffers bufreq; in set_buffer_req() local
6842 struct v4l2_requestbuffers bufreq; in get_buffer_req() local
6848 memset((void *)&bufreq, 0, sizeof(v4l2_requestbuffers)); in get_buffer_req()
6851 bufreq.memory = V4L2_MEMORY_USERPTR; in get_buffer_req()
6853 bufreq.type=V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE; in get_buffer_req()
6856 bufreq.count = VP_INPUT_BUFFER_COUNT_INTERLACE; in get_buffer_req()
6858 bufreq.type=V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in get_buffer_req()
6861 bufreq.count = VP_OUTPUT_BUFFER_COUNT; in get_buffer_req()
6864 ret = ioctl(drv_ctx.video_vpu_fd,VIDIOC_REQBUFS, &bufreq); in get_buffer_req()
6874 buffer_prop->actualcount = bufreq.count; in get_buffer_req()
6875 buffer_prop->mincount = bufreq.count; in get_buffer_req()
6876 DEBUG_PRINT_HIGH("Count = %d \n ",bufreq.count); in get_buffer_req()
7013 struct v4l2_requestbuffers bufreq; in set_buffer_req() local
7018 memset((void *)&bufreq, 0, sizeof(v4l2_requestbuffers)); in set_buffer_req()
7081 bufreq.memory = V4L2_MEMORY_USERPTR; in set_buffer_req()
7082 bufreq.count = buffer_prop->actualcount; in set_buffer_req()
7084 bufreq.type=V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE; in set_buffer_req()
7086 bufreq.type=V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in set_buffer_req()
7090 ret = ioctl(drv_ctx.video_vpu_fd,VIDIOC_REQBUFS, &bufreq); in set_buffer_req()
7097 } else if (bufreq.count < buffer_prop->actualcount) { in set_buffer_req()
7099 " on v4l2 port %d to %d (prefers %d)", bufreq.type, in set_buffer_req()
7100 buffer_prop->actualcount, bufreq.count); in set_buffer_req()