diff options
author | Rostislav Pehlivanov <atomnuker@gmail.com> | 2017-02-11 03:25:07 +0300 |
---|---|---|
committer | Rostislav Pehlivanov <atomnuker@gmail.com> | 2017-02-14 09:15:36 +0300 |
commit | 07b78340dd1e6a8147585e31b2dae106d608eca2 (patch) | |
tree | 715de22fb49090d42c1e9b954739978fb262d38d /libavcodec/opustab.h | |
parent | e538108c219d7b3628a9ec33d85bf252ee70c957 (diff) |
opus_celt: rename structures to better names and reorganize them
This is meant to be applied on top of my previous patch which
split PVQ into celt_pvq.c and made opus_celt.h
Essentially nothing has been changed other than renaming CeltFrame
to CeltBlock (CeltFrame had absolutely nothing at all to do with
a frame) and CeltContext to CeltFrame.
3 variables have been put in CeltFrame as they make more sense
there rather than being passed around as arguments.
The coefficients have been moved to the CeltBlock structure
(why the hell were they in CeltContext and not in CeltFrame??).
Now the encoder would be able to use the exact context the decoder
uses (plus a couple of extra fields in there).
FATE passes, no slowdowns, etc.
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
Diffstat (limited to 'libavcodec/opustab.h')
-rw-r--r-- | libavcodec/opustab.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/opustab.h b/libavcodec/opustab.h index e6527c0270..b6be073659 100644 --- a/libavcodec/opustab.h +++ b/libavcodec/opustab.h @@ -27,6 +27,10 @@ #include <stdint.h> +extern const uint8_t ff_celt_band_end[]; + +extern const uint8_t ff_opus_default_coupled_streams[]; + extern const uint16_t ff_silk_model_stereo_s1[]; extern const uint16_t ff_silk_model_stereo_s2[]; extern const uint16_t ff_silk_model_stereo_s3[]; |