aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/opus_pvq.h
diff options
context:
space:
mode:
authorRostislav Pehlivanov <atomnuker@gmail.com>2017-04-12 23:26:34 +0100
committerRostislav Pehlivanov <atomnuker@gmail.com>2017-04-14 12:12:43 +0100
commit3f1c527bf55537eb15da4c1384c0f4a08b08e1f3 (patch)
tree353f156684dab439675159fae8fe92e0d6fe267c /libavcodec/opus_pvq.h
parent802d94c36edcd05b53a56ee359d9559cc4e11597 (diff)
downloadffmpeg-3f1c527bf55537eb15da4c1384c0f4a08b08e1f3.tar.gz
opus_pvq: add resynth support and band encoding cost function
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
Diffstat (limited to 'libavcodec/opus_pvq.h')
-rw-r--r--libavcodec/opus_pvq.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/opus_pvq.h b/libavcodec/opus_pvq.h
index d414b47a42..045015406b 100644
--- a/libavcodec/opus_pvq.h
+++ b/libavcodec/opus_pvq.h
@@ -38,4 +38,7 @@ uint32_t ff_celt_encode_band(CeltFrame *f, OpusRangeCoder *rc, const int band,
float *lowband, int duration, float *lowband_out, int level,
float gain, float *lowband_scratch, int fill);
+float ff_celt_quant_band_cost(CeltFrame *f, OpusRangeCoder *rc, int band,
+ float *bits, float lambda);
+
#endif /* AVCODEC_OPUS_PVQ_H */