Displaying 2 results from an estimated 2 matches for "dither_output_".
2014 May 17
3
PATCH for replaygain_synthesis
...not-lossless=Ln0)
So this hack is really useless today, and the first patch removes
fast_float_math_hack.h from the sources.
MSVS profiler shows that tanh calculation doesn't require too much CPU resources,
the real problem is an integer division (int_64/int_32) in this line:
val64 = dither_output_(........) / conv_factor;
Since all possible values of conv_factor are powers of 2, it's possible to
replace division with shift. The second patch does this.
Decoding time decreases from 94.5s to 64.1s for 32-bit ICC compile, and
from 82.6s to 50.0s for 64-bit ICC compile.
****************...
2014 May 18
0
PATCH for replaygain_synthesis
...less today, and the first patch removes
> fast_float_math_hack.h from the sources.
>
>
>
>
> MSVS profiler shows that tanh calculation doesn't require too much CPU
> resources,
> the real problem is an integer division (int_64/int_32) in this line:
>
> val64 = dither_output_(........) / conv_factor;
>
> Since all possible values of conv_factor are powers of 2, it's possible to
> replace division with shift. The second patch does this.
>
> Decoding time decreases from 94.5s to 64.1s for 32-bit ICC compile, and
> from 82.6s to 50.0s for 64-bit ICC c...