diff options
author | Jean-Marc Valin <jmvalin@jmvalin.ca> | 2013-11-15 22:50:38 +0400 |
---|---|---|
committer | Jean-Marc Valin <jmvalin@jmvalin.ca> | 2013-11-15 22:50:38 +0400 |
commit | cbe93e23be564195d8bcc9842aeb764c32e3fe48 (patch) | |
tree | 802f6dc9b49960a2bb82da4d7fa2430d60234b6b /silk/control.h | |
parent | aad4117d780cee87e1be03e4a108b9e601367dc8 (diff) |
Adds OPUS_SET_PREDICTION_DISABLED() ctl to force "independent" frames
Works by turning off pitch and energy prediction in CELT, while
setting first_frame_after_reset in SILK to disable pitch and LSF interpolation
and reduce LPC gain.
Diffstat (limited to 'silk/control.h')
-rw-r--r-- | silk/control.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/silk/control.h b/silk/control.h index 896cbe8c..747e5426 100644 --- a/silk/control.h +++ b/silk/control.h @@ -92,6 +92,9 @@ typedef struct { /* I: Opus encoder is allowing us to switch bandwidth */ opus_int opusCanSwitch; + /* I: Make frames as independent as possible (but still use LPC) */ + opus_int reducedDependency; + /* O: Internal sampling rate used, in Hertz; 8000/12000/16000 */ opus_int32 internalSampleRate; |