[FFmpeg-devel] [PATCH 16/16] avcodec/rv34data: Remove rv34_dquant_tab

Andreas Rheinhardt andreas.rheinhardt at gmail.com
Sat Feb 20 16:36:02 EET 2021


It is unused and coincides with ff_modified_quant_tab.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
---
 libavcodec/rv34data.h | 13 -------------
 1 file changed, 13 deletions(-)

diff --git a/libavcodec/rv34data.h b/libavcodec/rv34data.h
index 32ecc395a8..4509e1feed 100644
--- a/libavcodec/rv34data.h
+++ b/libavcodec/rv34data.h
@@ -99,19 +99,6 @@ static const uint8_t rv34_quant_to_vlc_set[2][32] = {
    3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 6, 6, 6, 6, 6 },
 };
 
-/**
- * table for obtaining the quantizer difference
- * @todo Use with ff_modified_quant_tab from h263data.h.
- */
-static const uint8_t rv34_dquant_tab[2][32]={
-//  0  1  2  3  4  5  6  7  8  9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
-{
-    0, 3, 1, 2, 3, 4, 5, 6, 7, 8, 9, 9,10,11,12,13,14,15,16,17,18,18,19,20,21,22,23,24,25,26,27,28
-},{
-    0, 2, 3, 4, 5, 6, 7, 8, 9,10,11,13,14,15,16,17,18,19,20,21,22,24,25,26,27,28,29,30,31,31,31,26
-}
-};
-
 /**
  * maximum number of macroblocks for each of the possible slice offset sizes
  * @todo This is the same as ff_mba_max, maybe use it instead.
-- 
2.27.0



More information about the ffmpeg-devel mailing list