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)
commit016b1b08ba78048755085fbbf44a0d1ef4ab6162
tree7b0a88b6a49bae7e9e63cdff7b7151e77771b228
parent2869d86430d4310c6c0d9daecee0294ec13087f6
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]