• Home
  • Raw
  • Download

Lines Matching refs:set_w

837       gint set_w, set_par_n, set_par_d;  in gst_video_scale_fixate_caps()  local
869 gst_structure_get_int (tmp, "width", &set_w); in gst_video_scale_fixate_caps()
873 if (!gst_util_fraction_multiply (from_dar_n, from_dar_d, h, set_w, in gst_video_scale_fixate_caps()
893 gst_structure_set (outs, "width", G_TYPE_INT, set_w, in gst_video_scale_fixate_caps()
1000 gint set_h, set_w, f_h, f_w; in gst_video_scale_fixate_caps() local
1022 gst_structure_get_int (tmp, "width", &set_w); in gst_video_scale_fixate_caps()
1026 if (set_w == w) { in gst_video_scale_fixate_caps()
1027 gst_structure_set (outs, "width", G_TYPE_INT, set_w, "height", in gst_video_scale_fixate_caps()
1033 f_w = set_w; in gst_video_scale_fixate_caps()
1038 gst_structure_get_int (tmp, "width", &set_w); in gst_video_scale_fixate_caps()
1042 h = (guint) gst_util_uint64_scale_int_round (set_w, den, num); in gst_video_scale_fixate_caps()
1049 gst_structure_set (outs, "width", G_TYPE_INT, set_w, "height", 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()
1060 f_w = set_w; 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
1077 gst_structure_get_int (tmp, "width", &set_w); 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()
1096 gst_structure_set (outs, "width", G_TYPE_INT, set_w, "height", in gst_video_scale_fixate_caps()
1132 h = (guint) gst_util_uint64_scale_int_round (set_w, den, num); in gst_video_scale_fixate_caps()
1139 gst_structure_set (outs, "width", G_TYPE_INT, set_w, "height", in gst_video_scale_fixate_caps()
1150 gst_structure_set (outs, "width", G_TYPE_INT, set_w, "height", in gst_video_scale_fixate_caps()