aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/opustab.c
diff options
context:
space:
mode:
authorRostislav Pehlivanov <atomnuker@gmail.com>2017-04-20 20:00:25 +0100
committerRostislav Pehlivanov <atomnuker@gmail.com>2017-04-26 23:22:25 +0100
commit4d59de39915099c5646af773ff98909dbea31799 (patch)
treeb0cdc2f2c9fbb29d9e45c0de6e89747f597ada5a /libavcodec/opustab.c
parent8de3458a07376b0a96772e586b6dba5e93432f52 (diff)
downloadffmpeg-4d59de39915099c5646af773ff98909dbea31799.tar.gz
opus_pvq: minor cleanups
Removes unneeded variables, renames confusing and innacurate variables and rewrites and slightly optimizes hadamard interleave/deinterleave functions. Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
Diffstat (limited to 'libavcodec/opustab.c')
-rw-r--r--libavcodec/opustab.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libavcodec/opustab.c b/libavcodec/opustab.c
index 02d548e71a..d0b4bf4bd5 100644
--- a/libavcodec/opustab.c
+++ b/libavcodec/opustab.c
@@ -930,11 +930,12 @@ const uint8_t ff_celt_bit_deinterleave[] = {
0xC0, 0xC3, 0xCC, 0xCF, 0xF0, 0xF3, 0xFC, 0xFF
};
-const uint8_t ff_celt_hadamard_ordery[] = {
+const uint8_t ff_celt_hadamard_order[] = {
1, 0,
3, 0, 2, 1,
7, 0, 4, 3, 6, 1, 5, 2,
- 15, 0, 8, 7, 12, 3, 11, 4, 14, 1, 9, 6, 13, 2, 10, 5
+ 15, 0, 8, 7, 12, 3, 11, 4, 14, 1, 9, 6, 13, 2, 10, 5,
+ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
};
const uint16_t ff_celt_qn_exp2[] = {