Searched refs:GST_VALUE_HOLDS_FRACTION (Results 1 – 12 of 12) sorted by relevance
186 #define GST_VALUE_HOLDS_FRACTION(x) ((gpointer)(x) != NULL && G_VALUE_TYPE(x) == _gst_fraction_… macro
2012 g_return_if_fail (GST_VALUE_HOLDS_FRACTION (start)); in gst_value_set_fraction_range()2013 g_return_if_fail (GST_VALUE_HOLDS_FRACTION (end)); in gst_value_set_fraction_range()6920 g_return_if_fail (GST_VALUE_HOLDS_FRACTION (value)); in gst_value_set_fraction()6955 g_return_val_if_fail (GST_VALUE_HOLDS_FRACTION (value), 0); in gst_value_get_fraction_numerator()6971 g_return_val_if_fail (GST_VALUE_HOLDS_FRACTION (value), 1); in gst_value_get_fraction_denominator()6995 g_return_val_if_fail (GST_VALUE_HOLDS_FRACTION (factor1), FALSE); in gst_value_fraction_multiply()6996 g_return_val_if_fail (GST_VALUE_HOLDS_FRACTION (factor2), FALSE); in gst_value_fraction_multiply()7029 g_return_val_if_fail (GST_VALUE_HOLDS_FRACTION (minuend), FALSE); in gst_value_fraction_subtract()7030 g_return_val_if_fail (GST_VALUE_HOLDS_FRACTION (subtrahend), FALSE); in gst_value_fraction_subtract()7074 if (G_UNLIKELY (dest == NULL || !GST_VALUE_HOLDS_FRACTION (dest))) in gst_value_deserialize_fraction()
475 if (GST_VALUE_HOLDS_FRACTION (value)) { in gst_aspect_ratio_crop_set_property()
1032 fail_unless (GST_VALUE_HOLDS_FRACTION (min_v)); in _get_fraction_range()1037 fail_unless (GST_VALUE_HOLDS_FRACTION (max_v)); in _get_fraction_range()
139 if (GST_VALUE_HOLDS_FRACTION (framerate)) { in gst_jpeg_parse_set_sink_caps()
714 } else if (GST_VALUE_HOLDS_FRACTION (in_value)) { in _halve_value()803 } else if (GST_VALUE_HOLDS_FRACTION (in_value)) { in _double_value()
146 fail_unless (GST_VALUE_HOLDS_FRACTION (val)); in GST_START_TEST()
501 } else if (GST_VALUE_HOLDS_FRACTION (in_value)) { in _halve_value()590 } else if (GST_VALUE_HOLDS_FRACTION (in_value)) { in _double_value()
2739 if (fps != NULL && GST_VALUE_HOLDS_FRACTION (fps)) { in gst_ffmpeg_caps_to_pixfmt()2761 if (par && GST_VALUE_HOLDS_FRACTION (par)) { in gst_ffmpeg_caps_to_pixfmt()2783 g_return_if_fail (fps != NULL && GST_VALUE_HOLDS_FRACTION (fps)); in gst_ffmpeg_caps_to_pixfmt()
437 if (fps == NULL || !GST_VALUE_HOLDS_FRACTION (fps)) in gst_avi_mux_vidsink_set_caps()448 if (par && GST_VALUE_HOLDS_FRACTION (par) && in gst_avi_mux_vidsink_set_caps()
889 fail_unless (GST_VALUE_HOLDS_FRACTION (val)); in GST_START_TEST()
313 if (GST_VALUE_HOLDS_FRACTION (v)) { in gst_value_fraction_get_extremes()