Michael Niedermayer
|
6bc4e36ba7
|
swr: set scale for 32->32/24 dither
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
12 years ago |
Michael Niedermayer
|
8b3affda87
|
swr: support a seperate output sample bits.
This avoids user apps having to mangle dither scale. for pcm24
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
12 years ago |
Michael Niedermayer
|
55d0528669
|
swr/dither: fix division by 0
Found-by: Daemon404
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
12 years ago |
Michael Niedermayer
|
e5a736261b
|
swr: Use a temporary buffer for dither/Noise shaping when the input is read only
This avoids copying the input
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
12 years ago |
Michael Niedermayer
|
2672b2c1d2
|
swr: scale data down in noise shaping to avoid cliping
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
12 years ago |
Michael Niedermayer
|
0b60fc94aa
|
swr: reorder the operations in the noise shaping code
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
12 years ago |
Michael Niedermayer
|
ead3a2a37e
|
swr: add noise_scale field to seperate it from the noise shaping scales
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
12 years ago |
Michael Niedermayer
|
6908ded20e
|
swr: fix the noise sample type for noise shaping
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
12 years ago |
Michael Niedermayer
|
3ef06f3415
|
swr: split swri_dither_init() out
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
12 years ago |
Michael Niedermayer
|
3ab1970612
|
swr: move dither related fields to their own context
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
12 years ago |
Michael Niedermayer
|
ba1314c2ef
|
swr: update copyright years of a few files iam working on
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
12 years ago |
Michael Niedermayer
|
82742294b7
|
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>
|
12 years ago |
Michael Niedermayer
|
edbde52226
|
swr: change sample format representation so as to maintain the planer/packed distinction.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
13 years ago |
Michael Niedermayer
|
c1d404b9e4
|
swr: add a dither_scale parameter to tune the amplitude of the dither.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
13 years ago |
Michael Niedermayer
|
a2c92e6063
|
swr: pass context to swri_get_dither()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
13 years ago |
Michael Niedermayer
|
f8a237a307
|
swr: add triangular highpass dither
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
13 years ago |
Michael Niedermayer
|
b1ef4dc406
|
swr: add triangular dither support
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
13 years ago |
Michael Niedermayer
|
db2eadb2f5
|
swr: add dither support.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
13 years ago |