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

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Tue Aug 11 02:51:42 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 #15 from Wim Taymans  2009-08-11 09:51 UTC -------
The 'refactored code' unoptimized the division. This code has been carefully
tweaked. I would try to add a new rounding version (with an extra argument to
specify the reounding type) then call the existing code if rounding down and
try to patch up the result or input parameters with other rounding modes. 


-- 
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