[x265] [PATCH] tcomsao: this patch is reference to Changeset:(14bd4caff7bf), only get method is unused, set lcuboundary is required

gopu at multicorewareinc.com gopu at multicorewareinc.com
Mon Mar 3 11:15:10 CET 2014


# HG changeset patch
# User Gopu Govindaswamy
# Date 1393841634 -19800
#      Mon Mar 03 15:43:54 2014 +0530
# Node ID 795755b5e8d42d2285edf24103301747e90c4849
# Parent  00c2aaba1619e32fb1e7c22bd6de85dae69c533f
tcomsao: this patch is reference to Changeset:(14bd4caff7bf), only get method is unused,set lcuboundary is required.

diff -r 00c2aaba1619 -r 795755b5e8d4 source/Lib/TLibCommon/TComSampleAdaptiveOffset.h
--- a/source/Lib/TLibCommon/TComSampleAdaptiveOffset.h	Mon Mar 03 15:29:22 2014 +0530
+++ b/source/Lib/TLibCommon/TComSampleAdaptiveOffset.h	Mon Mar 03 15:43:54 2014 +0530
@@ -206,6 +206,7 @@
     void processSaoUnitAll(SaoLcuParam* saoLcuParam, bool oneUnitFlag, int yCbCr);
     void processSaoUnitRow(SaoLcuParam* saoLcuParam, int idxY, int yCbCr);
     void setSaoLcuBasedOptimization(int bVal)  { m_saoLcuBasedOptimization = bVal != 0; }
+    void setSaoLcuBoundary(int bVal)  { m_saoLcuBoundary = bVal != 0; }
 
     bool getSaoLcuBasedOptimization()           { return m_saoLcuBasedOptimization; }
 
diff -r 00c2aaba1619 -r 795755b5e8d4 source/encoder/framefilter.cpp
--- a/source/encoder/framefilter.cpp	Mon Mar 03 15:29:22 2014 +0530
+++ b/source/encoder/framefilter.cpp	Mon Mar 03 15:43:54 2014 +0530
@@ -77,6 +77,7 @@
 
     if (top->param.bEnableSAO)
     {
+        m_sao.setSaoLcuBoundary(top->param.saoLcuBoundary);
         m_sao.setSaoLcuBasedOptimization(top->param.saoLcuBasedOptimization);
         m_sao.setMaxNumOffsetsPerPic(top->getMaxNumOffsetsPerPic());
         m_sao.create(top->param.sourceWidth, top->param.sourceHeight, g_maxCUWidth, g_maxCUHeight, m_cfg->getColorFormat());


More information about the x265-devel mailing list