[x265] [PATCH 2 of 3] static m_bLFCrossTileBoundary since all of LCU use same value

Min Chen chenm003 at 163.com
Thu Jun 19 23:57:17 CEST 2014


# HG changeset patch
# User Min Chen <chenm003 at 163.com>
# Date 1403215006 25200
# Node ID 9fd5f9f6e1de1567adca64f26c8c5a34e2b1caa2
# Parent  188f12f4b16b26afcdb6f875455a3fb60f16b55d
static m_bLFCrossTileBoundary since all of LCU use same value

diff -r 188f12f4b16b -r 9fd5f9f6e1de source/Lib/TLibCommon/TComLoopFilter.cpp
--- a/source/Lib/TLibCommon/TComLoopFilter.cpp	Thu Jun 19 14:56:11 2014 -0700
+++ b/source/Lib/TLibCommon/TComLoopFilter.cpp	Thu Jun 19 14:56:46 2014 -0700
@@ -64,13 +64,14 @@
     0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 62, 64
 };
 
+bool TComLoopFilter::m_bLFCrossTileBoundary = true;
+
 // ====================================================================================================================
 // Constructor / destructor / create / destroy
 // ====================================================================================================================
 
 TComLoopFilter::TComLoopFilter()
     : m_numPartitions(0)
-    , m_bLFCrossTileBoundary(true)
 {
     for (uint32_t dir = 0; dir < 2; dir++)
     {
diff -r 188f12f4b16b -r 9fd5f9f6e1de source/Lib/TLibCommon/TComLoopFilter.h
--- a/source/Lib/TLibCommon/TComLoopFilter.h	Thu Jun 19 14:56:11 2014 -0700
+++ b/source/Lib/TLibCommon/TComLoopFilter.h	Thu Jun 19 14:56:46 2014 -0700
@@ -70,7 +70,7 @@
     uint32_t    m_numPartitions;
     uint8_t*    m_blockingStrength[2]; ///< Bs for [Ver/Hor][Y/U/V][Blk_Idx]
 
-    bool        m_bLFCrossTileBoundary;
+    static bool m_bLFCrossTileBoundary;
 
 protected:
 



More information about the x265-devel mailing list