Lines Matching refs:probe
212 struct v4l2_format *fmt, struct uvc_streaming_control *probe,
287 memset(probe, 0, sizeof(*probe));
288 probe->bmHint = 1; /* dwFrameInterval */
289 probe->bFormatIndex = format->index;
290 probe->bFrameIndex = frame->bFrameIndex;
291 probe->dwFrameInterval = uvc_try_frame_interval(frame, interval);
293 * Some webcams stall the probe control set request when the
307 probe->dwMaxVideoFrameSize =
311 ret = uvc_probe_video(stream, probe);
317 * After the probe, update fmt with the values returned from
323 if (probe->bFormatIndex == stream->formats[i].index) {
332 probe->bFormatIndex);
335 if (probe->bFrameIndex == format->frames[i].bFrameIndex) {
344 probe->bFrameIndex);
350 fmt->fmt.pix.sizeimage = probe->dwMaxVideoFrameSize;
401 struct uvc_streaming_control probe;
409 ret = uvc_v4l2_try_format(stream, fmt, &probe, &format, &frame);
420 stream->ctrl = probe;
467 struct uvc_streaming_control probe;
497 probe = stream->ctrl;
498 probe.dwFrameInterval = uvc_try_frame_interval(frame, interval);
499 maxd = abs((s32)probe.dwFrameInterval - interval);
518 probe.bFrameIndex = frame->bFrameIndex;
519 probe.dwFrameInterval = ival;
524 ret = uvc_probe_video(stream, &probe);
530 stream->ctrl = probe;
535 timeperframe.numerator = probe.dwFrameInterval;
789 struct uvc_streaming_control probe;
791 return uvc_v4l2_try_format(stream, fmt, &probe, NULL, NULL);
799 struct uvc_streaming_control probe;
801 return uvc_v4l2_try_format(stream, fmt, &probe, NULL, NULL);