aboutsummaryrefslogtreecommitdiff
path: root/libavcodec/opus.h
diff options
context:
space:
mode:
authorRostislav Pehlivanov2017-12-04 08:55:45 +0000
committerRostislav Pehlivanov2017-12-04 10:51:19 +0000
commitce87e630fa009d0bf78cd7a7599e6efc221e6543 (patch)
treea0dab6973b6b5c9b0ff994b28fc51afcaac0152c /libavcodec/opus.h
parent86fda8be3f3892c48474a319e0ef7509dc137e3e (diff)
opus_celt: deduplicate band quantization/dequantization function
No point in having the same code twice to do exactly the same thing. Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
Diffstat (limited to 'libavcodec/opus.h')
-rw-r--r--libavcodec/opus.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/opus.h b/libavcodec/opus.h
index 90b87ba5c4..a10db7f0e8 100644
--- a/libavcodec/opus.h
+++ b/libavcodec/opus.h
@@ -191,4 +191,7 @@ int ff_silk_decode_superframe(SilkContext *s, OpusRangeCoder *rc,
enum OpusBandwidth bandwidth, int coded_channels,
int duration_ms);
+/* Encode or decode CELT bands */
+void ff_celt_quant_bands(CeltFrame *f, OpusRangeCoder *rc);
+
#endif /* AVCODEC_OPUS_H */