[FFmpeg-devel] Nellymoser encoder

Bartlomiej Wolowiec bartek.wolowiec
Sat Aug 30 16:00:04 CEST 2008


Saturday 30 August 2008 15:52:32 Ronald S. Bultje napisa?(a):
> Hi,
>
> On Sat, Aug 30, 2008 at 9:42 AM, Bartlomiej Wolowiec
>
> <bartek.wolowiec at gmail.com> wrote:
> > Friday 29 August 2008 22:36:10 Michael Niedermayer napisa?(a):
> >> (int)some_float is slow, lrintf() should be faster
> >
> > yes, but here rounding down is needed. lrintf(x-0.5) ?
>
> floorf(), not sure if it's portable.

...
float floorf(float x);
...

do you mean: lrintf(floorf(x)) ?
-- 
Bartlomiej Wolowiec




More information about the ffmpeg-devel mailing list