Lines Matching refs:probe
151 struct v4l2_format *fmt, struct uvc_streaming_control *probe,
222 memset(probe, 0, sizeof(*probe));
223 probe->bmHint = 1; /* dwFrameInterval */
224 probe->bFormatIndex = format->index;
225 probe->bFrameIndex = frame->bFrameIndex;
226 probe->dwFrameInterval = uvc_try_frame_interval(frame, interval);
227 /* Some webcams stall the probe control set request when the
241 probe->dwMaxVideoFrameSize =
245 ret = uvc_probe_video(stream, probe);
250 /* After the probe, update fmt with the values returned from
256 if (probe->bFormatIndex == stream->format[i].index) {
265 probe->bFormatIndex);
268 if (probe->bFrameIndex == format->frame[i].bFrameIndex) {
277 probe->bFrameIndex);
283 fmt->fmt.pix.sizeimage = probe->dwMaxVideoFrameSize;
335 struct uvc_streaming_control probe;
343 ret = uvc_v4l2_try_format(stream, fmt, &probe, &format, &frame);
354 stream->ctrl = probe;
401 struct uvc_streaming_control probe;
431 probe = stream->ctrl;
432 probe.dwFrameInterval = uvc_try_frame_interval(frame, interval);
433 maxd = abs((s32)probe.dwFrameInterval - interval);
452 probe.bFrameIndex = frame->bFrameIndex;
453 probe.dwFrameInterval = ival;
458 ret = uvc_probe_video(stream, &probe);
464 stream->ctrl = probe;
469 timeperframe.numerator = probe.dwFrameInterval;
726 struct uvc_streaming_control probe;
728 return uvc_v4l2_try_format(stream, fmt, &probe, NULL, NULL);
736 struct uvc_streaming_control probe;
738 return uvc_v4l2_try_format(stream, fmt, &probe, NULL, NULL);