diff --git a/libavcodec/dsputil.c b/libavcodec/dsputil.c index 35494a3e2f..f91432c451 100644 --- a/libavcodec/dsputil.c +++ b/libavcodec/dsputil.c @@ -41,7 +41,6 @@ #include "mpegvideo.h" #include "config.h" -uint8_t ff_cropTbl[256 + 2 * MAX_NEG_CROP] = {0, }; uint32_t ff_squareTbl[512] = {0, }; #define BIT_DEPTH 9 @@ -59,17 +58,6 @@ uint32_t ff_squareTbl[512] = {0, }; #define pb_7f (~0UL/255 * 0x7f) #define pb_80 (~0UL/255 * 0x80) -const uint8_t ff_zigzag_direct[64] = { - 0, 1, 8, 16, 9, 2, 3, 10, - 17, 24, 32, 25, 18, 11, 4, 5, - 12, 19, 26, 33, 40, 48, 41, 34, - 27, 20, 13, 6, 7, 14, 21, 28, - 35, 42, 49, 56, 57, 50, 43, 36, - 29, 22, 15, 23, 30, 37, 44, 51, - 58, 59, 52, 45, 38, 31, 39, 46, - 53, 60, 61, 54, 47, 55, 62, 63 -}; - /* Specific zigzag scan for 248 idct. NOTE that unlike the specification, we interleave the fields */ const uint8_t ff_zigzag248_direct[64] = { @@ -2498,12 +2486,6 @@ av_cold void ff_dsputil_static_init(void) { int i; - for(i=0;i<256;i++) ff_cropTbl[i + MAX_NEG_CROP] = i; - for(i=0;i