aboutsummaryrefslogtreecommitdiff
path: root/src/opus_private.h
diff options
context:
space:
mode:
authorJean-Marc Valin <jmvalin@jmvalin.ca>2013-12-08 03:31:50 -0500
committerJean-Marc Valin <jmvalin@jmvalin.ca>2013-12-09 15:26:03 -0500
commitc94e4bb103e6a989bcd2677c9178ee6ef461912c (patch)
tree4938907cf54087f10eb180482d57e5cb1eb627c4 /src/opus_private.h
parent5626908ec3c96a79640b26bee42549c82eb26689 (diff)
downloadlibopus-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.h3
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,