Lines Matching full:bufreq
782 struct v4l2_requestbuffers bufreq;
786 bufreq.memory = V4L2_MEMORY_USERPTR;
787 bufreq.count = 0;
788 bufreq.type=V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE;
789 rc = ioctl(obj->drv_ctx.video_vpu_fd,VIDIOC_REQBUFS, &bufreq);
791 bufreq.memory = V4L2_MEMORY_USERPTR;
792 bufreq.count = 0;
793 bufreq.type=V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE;
794 rc = ioctl(obj->drv_ctx.video_vpu_fd,VIDIOC_REQBUFS, &bufreq);
2391 struct v4l2_requestbuffers bufreq;
6764 struct v4l2_requestbuffers bufreq;
6775 bufreq.count = VP_INPUT_BUFFER_COUNT_INTERLACE;
6778 bufreq.count = VP_OUTPUT_BUFFER_COUNT;
6785 buffer_prop->actualcount = bufreq.count;
6786 buffer_prop->mincount = bufreq.count;
6787 DEBUG_PRINT_HIGH("Count = %d \n ",bufreq.count);
6802 if (in_reconfig) // BufReq will be set to driver when port is disabled
6821 struct v4l2_requestbuffers bufreq;
6842 struct v4l2_requestbuffers bufreq;
6848 memset((void *)&bufreq, 0, sizeof(v4l2_requestbuffers));
6851 bufreq.memory = V4L2_MEMORY_USERPTR;
6853 bufreq.type=V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE;
6856 bufreq.count = VP_INPUT_BUFFER_COUNT_INTERLACE;
6858 bufreq.type=V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE;
6861 bufreq.count = VP_OUTPUT_BUFFER_COUNT;
6864 ret = ioctl(drv_ctx.video_vpu_fd,VIDIOC_REQBUFS, &bufreq);
6874 buffer_prop->actualcount = bufreq.count;
6875 buffer_prop->mincount = bufreq.count;
6876 DEBUG_PRINT_HIGH("Count = %d \n ",bufreq.count);
6993 if (in_reconfig) // BufReq will be set to driver when port is disabled
7013 struct v4l2_requestbuffers bufreq;
7018 memset((void *)&bufreq, 0, sizeof(v4l2_requestbuffers));
7081 bufreq.memory = V4L2_MEMORY_USERPTR;
7082 bufreq.count = buffer_prop->actualcount;
7084 bufreq.type=V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE;
7086 bufreq.type=V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE;
7090 ret = ioctl(drv_ctx.video_vpu_fd,VIDIOC_REQBUFS, &bufreq);
7097 } else if (bufreq.count < buffer_prop->actualcount) {
7099 " on v4l2 port %d to %d (prefers %d)", bufreq.type,
7100 buffer_prop->actualcount, bufreq.count);