[FFmpeg-cvslog] avcodec/dca: remove unused float quant table

Hendrik Leppkes git at videolan.org
Sat Jan 2 19:10:13 CET 2016


ffmpeg | branch: master | Hendrik Leppkes <h.leppkes at gmail.com> | Sat Jan  2 19:06:40 2016 +0100| [b95cba7b3c829e4efd9621f7425af0e0f8ad70d4] | committer: Hendrik Leppkes

avcodec/dca: remove unused float quant table

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b95cba7b3c829e4efd9621f7425af0e0f8ad70d4
---

 libavcodec/dcadata.c |    8 --------
 libavcodec/dcadata.h |    1 -
 2 files changed, 9 deletions(-)

diff --git a/libavcodec/dcadata.c b/libavcodec/dcadata.c
index fc877aa..af2c75b 100644
--- a/libavcodec/dcadata.c
+++ b/libavcodec/dcadata.c
@@ -4197,14 +4197,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] = {
diff --git a/libavcodec/dcadata.h b/libavcodec/dcadata.h
index 9964a92..262c37e 100644
--- a/libavcodec/dcadata.h
+++ b/libavcodec/dcadata.h
@@ -37,7 +37,6 @@ extern const uint32_t ff_dca_scale_factor_quant7[128];
 extern const uint32_t ff_dca_lossy_quant[32];
 
 extern const uint32_t ff_dca_lossless_quant[32];
-extern const float ff_dca_lossless_quant_d[32];
 
 extern const int8_t ff_dca_high_freq_vq[1024][32];
 



More information about the ffmpeg-cvslog mailing list