[Ffmpeg-devel] [PATCH] cook: use bitshift instead of pow(f) func

Benjamin Larsson banan
Fri Feb 10 13:45:36 CET 2006


Hi,
Alexander Strasser wrote:

>Hi,
>
>  basically it is all in the subject. Why?
>
>1 Because it is an integer operation anyway and this way it
>  is easier to recognize it. The produced tables are identical.
>2 The powf() function is not that widely supported yet, so when
>  there is no need for it i don't see any reason to harm portability.
>
>  Patch attached.
>
>  If this solution is considered flawed or not acceptable for
>one or the other reason, then at least consider changing powf()
>to pow().
>
>  Alex (beastd)
>  
>
If this also works on BE systems commit it. And while you are at it you
can continue to integerize the code :)

MvH
Benjamin Larsson

-- 
"incorrect information" is an oxymoron. Information is, by definition, factual, correct.





More information about the ffmpeg-devel mailing list