[vlc-devel] 2.0.0 and resampling

Jean-Baptiste Kempf jb at videolan.org
Wed Feb 29 16:51:56 CET 2012


On Wed, Feb 29, 2012 at 04:35:19PM +0100, Laurent Aimar wrote :
>  For CPU with an FPU, I don't really see why that would be so slow. Resampling
> is a FIR and you don't need that much taps to have a good enough quality. For
> a 48kHz resamling, around 40 mul + 40 add (+ a one integer div + mod) per
> output sample should be quite good, and it doesn't seem that much computation
> (especially compared to a video decoder).

Maybe, but people on Atom, G5, P4 cannot play video anymore with 2.0.0.
And people with C2D had +100% increase of CPU to decode a normal SD
Xvid/DviX with the current samplerate resampler.

> > It is a design bug that VLC needs to resample all the time.
>  Yes, for local playback that could be avoided but I haven't tried to change
> that.

shhh... Mans will come soon :)


-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device



More information about the vlc-devel mailing list