Lines Matching refs:streaming
113 if (fmt->type != video->streaming->type) in uvc_v4l2_try_format()
123 for (i = 0; i < video->streaming->nformats; ++i) { in uvc_v4l2_try_format()
124 format = &video->streaming->format[i]; in uvc_v4l2_try_format()
190 video->streaming->ctrl.dwMaxVideoFrameSize; in uvc_v4l2_try_format()
216 struct uvc_format *format = video->streaming->cur_format; in uvc_v4l2_get_format()
217 struct uvc_frame *frame = video->streaming->cur_frame; in uvc_v4l2_get_format()
219 if (fmt->type != video->streaming->type) in uvc_v4l2_get_format()
230 fmt->fmt.pix.sizeimage = video->streaming->ctrl.dwMaxVideoFrameSize; in uvc_v4l2_get_format()
245 if (fmt->type != video->streaming->type) in uvc_v4l2_set_format()
255 memcpy(&video->streaming->ctrl, &probe, sizeof probe); in uvc_v4l2_set_format()
256 video->streaming->cur_format = format; in uvc_v4l2_set_format()
257 video->streaming->cur_frame = frame; in uvc_v4l2_set_format()
267 if (parm->type != video->streaming->type) in uvc_v4l2_get_streamparm()
270 numerator = video->streaming->ctrl.dwFrameInterval; in uvc_v4l2_get_streamparm()
275 parm->type = video->streaming->type; in uvc_v4l2_get_streamparm()
277 if (video->streaming->type == V4L2_BUF_TYPE_VIDEO_CAPTURE) { in uvc_v4l2_get_streamparm()
297 struct uvc_frame *frame = video->streaming->cur_frame; in uvc_v4l2_set_streamparm()
303 if (parm->type != video->streaming->type) in uvc_v4l2_set_streamparm()
314 memcpy(&probe, &video->streaming->ctrl, sizeof probe); in uvc_v4l2_set_streamparm()
326 memcpy(&video->streaming->ctrl, &probe, sizeof probe); in uvc_v4l2_set_streamparm()
494 if (video->streaming->type == V4L2_BUF_TYPE_VIDEO_CAPTURE) in uvc_v4l2_do_ioctl()
677 if (fmt->type != video->streaming->type || in uvc_v4l2_do_ioctl()
678 fmt->index >= video->streaming->nformats) in uvc_v4l2_do_ioctl()
681 format = &video->streaming->format[fmt->index]; in uvc_v4l2_do_ioctl()
720 for (i = 0; i < video->streaming->nformats; i++) { in uvc_v4l2_do_ioctl()
721 if (video->streaming->format[i].fcc == in uvc_v4l2_do_ioctl()
723 format = &video->streaming->format[i]; in uvc_v4l2_do_ioctl()
749 for (i = 0; i < video->streaming->nformats; i++) { in uvc_v4l2_do_ioctl()
750 if (video->streaming->format[i].fcc == in uvc_v4l2_do_ioctl()
752 format = &video->streaming->format[i]; in uvc_v4l2_do_ioctl()
814 struct uvc_frame *frame = video->streaming->cur_frame; in uvc_v4l2_do_ioctl()
816 if (ccap->type != video->streaming->type) in uvc_v4l2_do_ioctl()
840 video->streaming->ctrl.dwMaxVideoFrameSize; in uvc_v4l2_do_ioctl()
842 if (rb->type != video->streaming->type || in uvc_v4l2_do_ioctl()
862 if (buf->type != video->streaming->type) in uvc_v4l2_do_ioctl()
888 if (*type != video->streaming->type) in uvc_v4l2_do_ioctl()
903 if (*type != video->streaming->type) in uvc_v4l2_do_ioctl()