aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/opus.h
diff options
context:
space:
mode:
authorRostislav Pehlivanov <atomnuker@gmail.com>2017-12-30 17:02:54 +0000
committerRostislav Pehlivanov <atomnuker@gmail.com>2017-12-30 17:05:23 +0000
commit51027d0b8b2835d4c70c9cb7b2ab5e28d5e3f22f (patch)
tree602207df544f63dac1fb907c6ddc59bf4ed06b79 /libavcodec/opus.h
parent0c78b6a416c661afed745d44495b5194f714fb96 (diff)
downloadffmpeg-51027d0b8b2835d4c70c9cb7b2ab5e28d5e3f22f.tar.gz
opus: merge encoder and decoder bitallocation functions into one
There's no difference apart from which entropy coding functions get called. 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 a10db7f0e8..edbaab5ce7 100644
--- a/libavcodec/opus.h
+++ b/libavcodec/opus.h
@@ -194,4 +194,7 @@ int ff_silk_decode_superframe(SilkContext *s, OpusRangeCoder *rc,
/* Encode or decode CELT bands */
void ff_celt_quant_bands(CeltFrame *f, OpusRangeCoder *rc);
+/* Encode or decode CELT bitallocation */
+void ff_celt_bitalloc(CeltFrame *f, OpusRangeCoder *rc, int encode);
+
#endif /* AVCODEC_OPUS_H */