diff options
author | Jean-Marc Valin <jmvalin@jmvalin.ca> | 2013-12-08 03:31:50 -0500 |
---|---|---|
committer | Jean-Marc Valin <jmvalin@jmvalin.ca> | 2013-12-09 15:26:03 -0500 |
commit | c94e4bb103e6a989bcd2677c9178ee6ef461912c (patch) | |
tree | 4938907cf54087f10eb180482d57e5cb1eb627c4 /src/opus_private.h | |
parent | 5626908ec3c96a79640b26bee42549c82eb26689 (diff) | |
download | libopus-c94e4bb103e6a989bcd2677c9178ee6ef461912c.tar.gz |
Optimizes encoder NaN detection and clipping by only running them when needed
NaN detection should now be able to catch values that would create NaNs
further down.
Diffstat (limited to 'src/opus_private.h')
-rw-r--r-- | src/opus_private.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/opus_private.h b/src/opus_private.h index 83225f2b..2ab484bd 100644 --- a/src/opus_private.h +++ b/src/opus_private.h @@ -104,7 +104,8 @@ opus_int32 compute_frame_size(const void *analysis_pcm, int frame_size, opus_int32 opus_encode_native(OpusEncoder *st, const opus_val16 *pcm, int frame_size, unsigned char *data, opus_int32 out_data_bytes, int lsb_depth, - const void *analysis_pcm, opus_int32 analysis_size, int c1, int c2, int analysis_channels, downmix_func downmix); + const void *analysis_pcm, opus_int32 analysis_size, int c1, int c2, + int analysis_channels, downmix_func downmix, int float_api); int opus_decode_native(OpusDecoder *st, const unsigned char *data, opus_int32 len, opus_val16 *pcm, int frame_size, int decode_fec, int self_delimited, |