[vlc-devel] 2.0.0 and resampling

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


On Wed, Feb 29, 2012 at 05:03:43PM +0100, Laurent Aimar wrote :
> On Wed, Feb 29, 2012 at 04:51:56PM +0100, Jean-Baptiste Kempf wrote:
> > 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.
>  Maybe it's a bug in the library we use, or the way they are compiled, or the
> option we gaves them, dunno. I am just a bit puzzled by the current issue.

Maybe we could try to lower the quality instead of the sinc (medium)
one? But the only options are then Sinc (fast), and zero_hold or linear.

Best regards,

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



More information about the vlc-devel mailing list