swr: Implement Noise shaping dither
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 9 Jan 2013 17:03:49 +0000 (18:03 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 9 Jan 2013 17:25:06 +0000 (18:25 +0100)
commit82742294b7a866b89d6fd228b0692867d9e08fcd
tree054242b79f9f2ad1dfa6b85d5bbfe3e24d83d3ed
parent5b69c07d12b1e505fd7468828ed85d6d8d634621
swr: Implement Noise shaping dither

The following variants are implemented:
lipshitz noise shaping dither
shibata noise shaping dither
low shibata noise shaping dither
high shibata noise shaping dither
f-weighted noise shaping dither
modified-e-weighted noise shaping dither
improved-e-weighted noise shaping dither

Data tables taken from SOX

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libswresample/dither.c
libswresample/dither_template.c [new file with mode: 0644]
libswresample/noise_shaping_data.c [new file with mode: 0644]
libswresample/swresample.c
libswresample/swresample.h
libswresample/swresample_internal.h