utils: gst_util_uint64_scale*() micro-optimisations
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Mon, 8 Jun 2009 14:39:59 +0000 (15:39 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Mon, 8 Jun 2009 16:13:17 +0000 (17:13 +0100)
commitf44204c8fa671dc584ea838df7b2f7259a87a23a
tree8c49497248c98006531c727de48e24e1380c6da3
parent998b2392d3c4ca5fdd89ed5ee0b730a4b20e490e
utils: gst_util_uint64_scale*() micro-optimisations

Sprinkle G_LIKELY/G_UNLIKELY; add inlined _scale_int_unchecked()
so we don't do some checks twice when calling it from _scale().
gst/gstutils.c