adds functions gst_cast_float and gst_cast_double. Will use lrint and lrintf if avail...
authorSteve Baker <steve@stevebaker.org>
Fri, 26 Apr 2002 09:21:14 +0000 (09:21 +0000)
committerSteve Baker <steve@stevebaker.org>
Fri, 26 Apr 2002 09:21:14 +0000 (09:21 +0000)
commit893b1ebd1aef84816587c87df665aacd2cdd316e
treeb10312cf9eef450fffc3fd99c587b047432c730d
parentda2189b3d2fad32fa05b7c976f367f7cd73d7c13
adds functions gst_cast_float and gst_cast_double. Will use lrint and lrintf if available and a pure c rounding macro...

Original commit message from CVS:
adds functions gst_cast_float and gst_cast_double. Will use lrint and lrintf if available and a pure c rounding macro if not.

This is where optimised asm alternatives can be placed - omega, this means you!

However you have to prove that your asm version is faster than lrintf ;)
gst-libs/gst/floatcast/floatcast.h [new file with mode: 0644]