Lines Matching refs:factor
358 unsigned factor = 1;
379 factor = 2;
382 mp->height = h / factor;
384 struct v4l2_rect r = { 0, 0, mp->width, mp->height * factor };
398 mp->height = r.height / factor;
456 unsigned factor = 1;
482 factor = 2;
496 factor * r.height / MAX_ZOOM
501 factor * r.height * MAX_ZOOM
511 factor * crop->height / MAX_ZOOM
516 factor * crop->height * MAX_ZOOM
525 r.height *= factor;
530 r.height /= factor;
533 r.height *= factor;
536 crop->top *= factor;
537 crop->height *= factor;
540 crop->top /= factor;
541 crop->height /= factor;
547 r.height /= factor;
684 unsigned factor = V4L2_FIELD_HAS_T_OR_B(dev->field_out) ? 2 : 1;
705 (dev->sink_rect.height / factor) * MAX_ZOOM
713 (s->r.height * factor) / MAX_ZOOM
718 (s->r.height * factor) * MAX_ZOOM
726 s->r.top *= factor;
727 s->r.height *= factor;
731 s->r.top /= factor;
732 s->r.height /= factor;
735 s->r.height /= factor;
749 s->r.top /= factor;
750 s->r.height /= factor;
791 crop->height /= factor;
794 s->r.top *= factor;
795 s->r.height *= factor;