[x265] [PATCH 3 of 7] reduce g_minInGroup from uint32_t to uint8_t

Min Chen chenm003 at 163.com
Mon Mar 24 20:00:40 CET 2014


# HG changeset patch
# User Min Chen <chenm003 at 163.com>
# Date 1395687502 25200
# Node ID 700a63ba598db1828534ee824fbb1f93fef86c0f
# Parent  928156df5d736de1c8f053ae06d8bb6ce11185e4
reduce g_minInGroup from uint32_t to uint8_t

diff -r 928156df5d73 -r 700a63ba598d source/Lib/TLibCommon/TComRom.cpp
--- a/source/Lib/TLibCommon/TComRom.cpp	Mon Mar 24 11:58:00 2014 -0700
+++ b/source/Lib/TLibCommon/TComRom.cpp	Mon Mar 24 11:58:22 2014 -0700
@@ -433,7 +433,7 @@
 // Scanning order & context model mapping
 // ====================================================================================================================
 
-const uint32_t g_minInGroup[10] = { 0, 1, 2, 3, 4, 6, 8, 12, 16, 24 };
+const uint8_t g_minInGroup[10] = { 0, 1, 2, 3, 4, 6, 8, 12, 16, 24 };
 const uint8_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 };
 
 // Rice parameters for absolute transform levels
diff -r 928156df5d73 -r 700a63ba598d source/Lib/TLibCommon/TComRom.h
--- a/source/Lib/TLibCommon/TComRom.h	Mon Mar 24 11:58:00 2014 -0700
+++ b/source/Lib/TLibCommon/TComRom.h	Mon Mar 24 11:58:22 2014 -0700
@@ -129,7 +129,7 @@
 // ====================================================================================================================
 
 extern const uint8_t g_groupIdx[32];
-extern const uint32_t g_minInGroup[10];
+extern const uint8_t g_minInGroup[10];
 
 extern const uint8_t g_goRiceRange[5];      //!< maximum value coded with Rice codes
 //extern const uint8_t g_goRicePrefixLen[5];  //!< prefix length for each maximum value



More information about the x265-devel mailing list