Lines Matching full:denominator
370 bt->picture_aspect.denominator); in v4l2_print_dv_timings()
388 ratio.numerator = t->bt.width * t->bt.picture_aspect.denominator; in v4l2_dv_timings_aspect_ratio()
389 ratio.denominator = t->bt.height * t->bt.picture_aspect.numerator; in v4l2_dv_timings_aspect_ratio()
391 rational_best_approximation(ratio.numerator, ratio.denominator, in v4l2_dv_timings_aspect_ratio()
392 ratio.numerator, ratio.denominator, &n, &d); in v4l2_dv_timings_aspect_ratio()
394 ratio.denominator = d; in v4l2_dv_timings_aspect_ratio()
433 fps_fract.denominator = n; in v4l2_calc_timeperframe()
746 if (aspect.numerator == 0 || aspect.denominator == 0) { in v4l2_detect_gtf()
748 aspect.denominator = 9; in v4l2_detect_gtf()
750 image_width = ((image_height * aspect.numerator) / aspect.denominator); in v4l2_detect_gtf()
840 aspect.denominator = vert_portrait; in v4l2_calc_aspect_ratio()
849 aspect.denominator = 9; in v4l2_calc_aspect_ratio()
852 aspect.denominator = 3; in v4l2_calc_aspect_ratio()
855 aspect.denominator = 9; in v4l2_calc_aspect_ratio()
858 aspect.denominator = 100; in v4l2_calc_aspect_ratio()
862 /* The aspect ratio is for portrait, so swap numerator and denominator */ in v4l2_calc_aspect_ratio()
863 swap(aspect.denominator, aspect.numerator); in v4l2_calc_aspect_ratio()