Lines Matching full:factor

353 	unsigned factor = 1;  in vivid_try_fmt_vid_out()  local
374 factor = 2; in vivid_try_fmt_vid_out()
377 mp->height = h / factor; in vivid_try_fmt_vid_out()
379 struct v4l2_rect r = { 0, 0, mp->width, mp->height * factor }; in vivid_try_fmt_vid_out()
393 mp->height = r.height / factor; in vivid_try_fmt_vid_out()
451 unsigned factor = 1; in vivid_s_fmt_vid_out() local
477 factor = 2; in vivid_s_fmt_vid_out()
491 factor * r.height / MAX_ZOOM in vivid_s_fmt_vid_out()
496 factor * r.height * MAX_ZOOM in vivid_s_fmt_vid_out()
506 factor * crop->height / MAX_ZOOM in vivid_s_fmt_vid_out()
511 factor * crop->height * MAX_ZOOM in vivid_s_fmt_vid_out()
520 r.height *= factor; in vivid_s_fmt_vid_out()
525 r.height /= factor; in vivid_s_fmt_vid_out()
528 r.height *= factor; in vivid_s_fmt_vid_out()
531 crop->top *= factor; in vivid_s_fmt_vid_out()
532 crop->height *= factor; in vivid_s_fmt_vid_out()
535 crop->top /= factor; in vivid_s_fmt_vid_out()
536 crop->height /= factor; in vivid_s_fmt_vid_out()
542 r.height /= factor; in vivid_s_fmt_vid_out()
681 unsigned factor = V4L2_FIELD_HAS_T_OR_B(dev->field_out) ? 2 : 1; in vivid_vid_out_s_selection() local
702 (dev->sink_rect.height / factor) * MAX_ZOOM in vivid_vid_out_s_selection()
710 (s->r.height * factor) / MAX_ZOOM in vivid_vid_out_s_selection()
715 (s->r.height * factor) * MAX_ZOOM in vivid_vid_out_s_selection()
723 s->r.top *= factor; in vivid_vid_out_s_selection()
724 s->r.height *= factor; in vivid_vid_out_s_selection()
728 s->r.top /= factor; in vivid_vid_out_s_selection()
729 s->r.height /= factor; in vivid_vid_out_s_selection()
732 s->r.height /= factor; in vivid_vid_out_s_selection()
746 s->r.top /= factor; in vivid_vid_out_s_selection()
747 s->r.height /= factor; in vivid_vid_out_s_selection()
788 crop->height /= factor; in vivid_vid_out_s_selection()
791 s->r.top *= factor; in vivid_vid_out_s_selection()
792 s->r.height *= factor; in vivid_vid_out_s_selection()