Searched refs:maxd (Results 1 – 2 of 2) sorted by relevance
167 unsigned int d, maxd; in uvc_v4l2_try_format() local204 maxd = (unsigned int)-1; in uvc_v4l2_try_format()212 if (d < maxd) { in uvc_v4l2_try_format()213 maxd = d; in uvc_v4l2_try_format()217 if (maxd == 0) in uvc_v4l2_try_format()419 u32 interval, maxd; in uvc_v4l2_set_streamparm() local447 maxd = abs((s32)probe.dwFrameInterval - interval); in uvc_v4l2_set_streamparm()450 for (i = 0; i < format->nframes && maxd != 0; i++) { in uvc_v4l2_set_streamparm()462 if (d >= maxd) in uvc_v4l2_set_streamparm()468 maxd = d; in uvc_v4l2_set_streamparm()
141 unsigned int d, maxd; in find_closest_frame_by_size() local147 maxd = (unsigned int)-1; in find_closest_frame_by_size()161 if (d < maxd) { in find_closest_frame_by_size()162 maxd = d; in find_closest_frame_by_size()166 if (maxd == 0) in find_closest_frame_by_size()