Lines Matching refs:set_h
919 gint set_h, set_par_n, set_par_d; in gst_video_scale_fixate_caps() local
951 gst_structure_get_int (tmp, "height", &set_h); in gst_video_scale_fixate_caps()
955 if (!gst_util_fraction_multiply (from_dar_n, from_dar_d, set_h, w, in gst_video_scale_fixate_caps()
974 gst_structure_set (outs, "height", G_TYPE_INT, set_h, in gst_video_scale_fixate_caps()
1000 gint set_h, set_w, f_h, f_w; in gst_video_scale_fixate_caps() local
1016 gst_structure_get_int (tmp, "height", &set_h); in gst_video_scale_fixate_caps()
1020 w = (guint) gst_util_uint64_scale_int_round (set_h, num, den); in gst_video_scale_fixate_caps()
1028 G_TYPE_INT, set_h, NULL); in gst_video_scale_fixate_caps()
1032 f_h = set_h; in gst_video_scale_fixate_caps()
1044 gst_structure_get_int (tmp, "height", &set_h); in gst_video_scale_fixate_caps()
1048 if (set_h == h) { in gst_video_scale_fixate_caps()
1050 G_TYPE_INT, set_h, NULL); in gst_video_scale_fixate_caps()
1058 if (set_w * ABS (set_h - h) < ABS (f_w - w) * f_h) { in gst_video_scale_fixate_caps()
1059 f_h = set_h; in gst_video_scale_fixate_caps()
1067 gint set_h, set_w, set_par_n, set_par_d, tmp2; in gst_video_scale_fixate_caps() local
1075 gst_structure_get_int (tmp, "height", &set_h); in gst_video_scale_fixate_caps()
1079 if (!gst_util_fraction_multiply (from_dar_n, from_dar_d, set_h, set_w, in gst_video_scale_fixate_caps()
1097 G_TYPE_INT, set_h, NULL); in gst_video_scale_fixate_caps()
1115 w = (guint) gst_util_uint64_scale_int_round (set_h, num, den); in gst_video_scale_fixate_caps()
1123 G_TYPE_INT, set_h, NULL); in gst_video_scale_fixate_caps()
1151 G_TYPE_INT, set_h, NULL); in gst_video_scale_fixate_caps()