From 2008f76054906e9ff6bf744800af0e5a5bfe61be Mon Sep 17 00:00:00 2001 From: Alexandra Hájková Date: Fri, 18 Dec 2015 14:54:02 +0100 Subject: dca: remove unused decode_hf function and quant_d tables They were superseded with their integer equivalents. Rename integer decode_hf to decode_hf. --- libavcodec/dcadata.c | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'libavcodec/dcadata.c') 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] = { -- cgit v1.2.3