[vlc-devel] [PATCH 0/2] [RFC] cut down audio resamplers

Rémi Denis-Courmont remi at remlab.net
Sun Nov 22 10:54:23 CET 2009


	Hello,

VLC currently have four audio resampling filters:
 - trivial: padding with zeros or cropping,
 - ugly: insertion/removal of extra samples,
 - linear: linear interpolation,
 - bandlimited: band-limited interpolation.

bandlimited is by far best and slowest, and requires floating point. If
--no-hq-resamplig is used, then VLC discards it, and falls back to the one
with the second highest priority. In 1.0, that would be linear for floating
point, and ugly for fixed point. In 1.1, that's linear in both cases.

Hence, I really don't see the point of all 3 of the /poor/ resamplers.

 modules/audio_filter/resampler/Modules.am |    2
 modules/audio_filter/resampler/linear.c   |  256 ------------------------------
 modules/audio_filter/resampler/trivial.c  |  108 ------------
 3 files changed, 366 deletions(-)


-- 
Rémi Denis-Courmont
http://www.remlab.net/



More information about the vlc-devel mailing list