Lines Matching full:numerator
347 bt->picture_aspect.numerator, in v4l2_print_dv_timings()
366 ratio.numerator = t->bt.width * t->bt.picture_aspect.denominator; in v4l2_dv_timings_aspect_ratio()
367 ratio.denominator = t->bt.height * t->bt.picture_aspect.numerator; in v4l2_dv_timings_aspect_ratio()
369 rational_best_approximation(ratio.numerator, ratio.denominator, in v4l2_dv_timings_aspect_ratio()
370 ratio.numerator, ratio.denominator, &n, &d); in v4l2_dv_timings_aspect_ratio()
371 ratio.numerator = n; in v4l2_dv_timings_aspect_ratio()
410 fps_fract.numerator = d; in v4l2_calc_timeperframe()
724 if (aspect.numerator == 0 || aspect.denominator == 0) { in v4l2_detect_gtf()
725 aspect.numerator = 16; in v4l2_detect_gtf()
728 image_width = ((image_height * aspect.numerator) / aspect.denominator); in v4l2_detect_gtf()
817 aspect.numerator = hor_landscape; in v4l2_calc_aspect_ratio()
826 aspect.numerator = 16; in v4l2_calc_aspect_ratio()
829 aspect.numerator = 4; in v4l2_calc_aspect_ratio()
832 aspect.numerator = 15; in v4l2_calc_aspect_ratio()
835 aspect.numerator = hor_landscape + 99; in v4l2_calc_aspect_ratio()
840 /* The aspect ratio is for portrait, so swap numerator and denominator */ in v4l2_calc_aspect_ratio()
841 swap(aspect.denominator, aspect.numerator); in v4l2_calc_aspect_ratio()