diff options
author | Alexandra Hájková <alexandra.khirnova@gmail.com> | 2015-12-18 14:54:02 +0100 |
---|---|---|
committer | Janne Grunau <janne-libav@jannau.net> | 2015-12-24 13:58:18 +0100 |
commit | 2008f76054906e9ff6bf744800af0e5a5bfe61be (patch) | |
tree | 4981d3e41d9d5b13d904d91da6342ba74020e1b9 /libavcodec/dcadata.c | |
parent | aebf07075f4244caf591a3af71e5872fe314e87b (diff) | |
download | ffmpeg-2008f76054906e9ff6bf744800af0e5a5bfe61be.tar.gz |
dca: remove unused decode_hf function and quant_d tables
They were superseded with their integer equivalents. Rename integer
decode_hf to decode_hf.
Diffstat (limited to 'libavcodec/dcadata.c')
-rw-r--r-- | libavcodec/dcadata.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/libavcodec/dcadata.c b/libavcodec/dcadata.c index 1db1938b29..6c41aef3a8 100644 --- a/libavcodec/dcadata.c +++ b/libavcodec/dcadata.c @@ -4187,13 +4187,6 @@ const uint32_t ff_dca_lossy_quant[32] = { 84, 42, 21, 0, 0, 0, 0, 0 }; -const float ff_dca_lossy_quant_d[32] = { - 0, 1.6, 1.0, 0.8, 0.59, 0.50, 0.42, 0.34, - 0.19, 0.11, 0.06, 0.035, 0.019, 0.011, 0.0065, 0.0040, - 0.0025, 0.0014, 0.0008, 0.00045, 0.00030, 0.00017, 0.00008, 0.00004, - 0.00002, 0.00001, 0.000005, 0, 0, 0, 0, 0 -}; - /* 20bits unsigned fractional binary codes */ const uint32_t ff_dca_lossless_quant[32] = { 0, 4194304, 2097152, 1384120, 1048576, 696254, 524288, 348127, @@ -4202,14 +4195,6 @@ const uint32_t ff_dca_lossless_quant[32] = { 4, 2, 1, 0, 0, 0, 0, 0 }; -const float ff_dca_lossless_quant_d[32] = { - 0, 1.0, 0.5, 0.33, 0.25, 0.166, 0.125, - 0.083, 0.0625, 0.03125, 0.0156, 7.874E-3, 3.922E-3, 1.957E-3, - 9.775E-4, 4.885E-4, 2.442E-4, 1.221E-4, 6.104E-5, 3.052E-5, 1.526E-5, - 7.629E-6, 3.815E-6, 1.907E-6, 9.537E-7, 4.768E-7, 2.384E-7, 0, - 0, 0, 0, 0 -}; - /* Vector quantization tables */ DECLARE_ALIGNED(8, const int8_t, ff_dca_high_freq_vq)[1024][32] = { |