Displaying 1 result from an estimated 1 matches for "resample4".
Did you mean:
resample
2009 Jun 13
1
Resampler saturation
...to be enough in resampler_basic_direct_single(), so we can saturate before storing.
But in resampler_basic_interpolate_single(), we can also saturate in the cubic interpolation part.
So I propose shifting the 32 bits accumulators 1 bit right before this operation.
--> Implemented and tested in resample4.patch
About the 4 accumulators:
Simple DSPs have only 2 accumulators, so this is really not good on DSPs for 2 reasons:
- this inserts extra load/store operations, cutting performance in half
- we lose the accumulator register guard bits
However, for resampler_basic_interpolate_single(), this is...