[gstreamer-bugs] [Bug 590919] gst_util_uint64_scale_int() and friends don't round

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Wed Aug 12 11:11:38 PDT 2009


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=590919

  GStreamer | gstreamer (core) | Ver: git




------- Comment #20 from Kipp  2009-08-12 18:11 UTC -------
Created an attachment (id=140571)
 --> (http://bugzilla.gnome.org/attachment.cgi?id=140571&action=view)
export new versions of scale() funcs with three rounding modes

This exports four new functions that provide two new rounding variants each of
gst_util_uint64_scale() and gst_util_uint64_scale_int().  The new functions
have _round and _ceil suffixes appended to their names indicating that they
return the result rounded to the nearest integer or rounded up to the smallest
integer not smaller than the result.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=590919.




More information about the Gstreamer-bugs mailing list