Lines Matching full:denominator
348 bt->picture_aspect.denominator); 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()
372 ratio.denominator = d; in v4l2_dv_timings_aspect_ratio()
411 fps_fract.denominator = n; in v4l2_calc_timeperframe()
724 if (aspect.numerator == 0 || aspect.denominator == 0) { in v4l2_detect_gtf()
726 aspect.denominator = 9; in v4l2_detect_gtf()
728 image_width = ((image_height * aspect.numerator) / aspect.denominator); in v4l2_detect_gtf()
818 aspect.denominator = vert_portrait; in v4l2_calc_aspect_ratio()
827 aspect.denominator = 9; in v4l2_calc_aspect_ratio()
830 aspect.denominator = 3; in v4l2_calc_aspect_ratio()
833 aspect.denominator = 9; in v4l2_calc_aspect_ratio()
836 aspect.denominator = 100; 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()