[x265] [PATCH] tcomrom: remove unused g_sigLastScan8x8 and g_sigLastScanCG32x32 variables

gopu at multicorewareinc.com gopu at multicorewareinc.com
Fri Feb 21 01:01:48 CET 2014


# HG changeset patch
# User Gopu Govindaswamy
# Date 1392940888 28800
#      Thu Feb 20 16:01:28 2014 -0800
# Node ID af51cfe0217c897c24133edb302b802d1fdc9021
# Parent  e4afe6f86144dfd24c3a14a518df5275010b5e14
tcomrom: remove unused  g_sigLastScan8x8 and g_sigLastScanCG32x32 variables

diff -r e4afe6f86144 -r af51cfe0217c source/Lib/TLibCommon/TComRom.cpp
--- a/source/Lib/TLibCommon/TComRom.cpp	Thu Feb 20 15:53:12 2014 -0800
+++ b/source/Lib/TLibCommon/TComRom.cpp	Thu Feb 20 16:01:28 2014 -0800
@@ -443,24 +443,6 @@
 // Scanning order & context model mapping
 // ====================================================================================================================
 
-const uint32_t g_sigLastScan8x8[3][4] =
-{
-    { 0, 2, 1, 3 },
-    { 0, 1, 2, 3 },
-    { 0, 2, 1, 3 }
-};
-const uint32_t g_sigLastScanCG32x32[64] =
-{
-    0,  8,  1, 16,  9,  2, 24, 17,
-    10,  3, 32, 25, 18, 11,  4, 40,
-    33, 26, 19, 12,  5, 48, 41, 34,
-    27, 20, 13,  6, 56, 49, 42, 35,
-    28, 21, 14,  7, 57, 50, 43, 36,
-    29, 22, 15, 58, 51, 44, 37, 30,
-    23, 59, 52, 45, 38, 31, 60, 53,
-    46, 39, 61, 54, 47, 62, 55, 63
-};
-
 const uint32_t g_minInGroup[10] = { 0, 1, 2, 3, 4, 6, 8, 12, 16, 24 };
 const uint32_t g_groupIdx[32]   = { 0, 1, 2, 3, 4, 4, 5, 5, 6, 6, 6, 6, 7, 7, 7, 7, 8, 8, 8, 8, 8, 8, 8, 8, 9, 9, 9, 9, 9, 9, 9, 9 };
 
diff -r e4afe6f86144 -r af51cfe0217c source/Lib/TLibCommon/TComRom.h
--- a/source/Lib/TLibCommon/TComRom.h	Thu Feb 20 15:53:12 2014 -0800
+++ b/source/Lib/TLibCommon/TComRom.h	Thu Feb 20 16:01:28 2014 -0800
@@ -137,15 +137,6 @@
 extern const uint32_t g_goRiceRange[5];      //!< maximum value coded with Rice codes
 extern const uint32_t g_goRicePrefixLen[5];  //!< prefix length for each maximum value
 
-extern const uint32_t g_sigLastScan8x8[3][4];   //!< coefficient group scan order for 8x8 TUs
-extern const uint32_t g_sigLastScanCG32x32[64];
-
-// ====================================================================================================================
-// ADI table
-// ====================================================================================================================
-
-extern const UChar g_intraModeNumFast[7];
-
 // ====================================================================================================================
 // Bit-depth
 // ====================================================================================================================


More information about the x265-devel mailing list