[x265] [PATCH 3 of 8] remove duplicate vars, get() methods
aarthi at multicorewareinc.com
aarthi at multicorewareinc.com
Sun Aug 4 12:21:06 CEST 2013
# HG changeset patch
# User Aarthi<aarthi at multicorewareinc.com>
# Date 1375610932 -19800
# Sun Aug 04 15:38:52 2013 +0530
# Node ID e663fcc31791c125e7d40143098c457748f002d6
# Parent 51cc06668ca45be4f4f550b865c9ecdcf4e754ad
remove duplicate vars, get() methods
diff -r 51cc06668ca4 -r e663fcc31791 source/Lib/TLibCommon/TComSampleAdaptiveOffset.h
--- a/source/Lib/TLibCommon/TComSampleAdaptiveOffset.h Sun Aug 04 15:37:10 2013 +0530
+++ b/source/Lib/TLibCommon/TComSampleAdaptiveOffset.h Sun Aug 04 15:38:52 2013 +0530
@@ -210,11 +210,11 @@
Void convertQT2SaoUnit(SAOParam* saoParam, UInt partIdx, Int yCbCr);
Void convertOnePart2SaoUnit(SAOParam *saoParam, UInt partIdx, Int yCbCr);
Void processSaoUnitAll(SaoLcuParam* saoLcuParam, Bool oneUnitFlag, Int yCbCr);
- Void setSaoLcuBoundary(Bool bVal) { m_saoLcuBoundary = bVal; }
+ Void setSaoLcuBoundary(int bVal) { m_saoLcuBoundary = bVal != 0; }
Bool getSaoLcuBoundary() { return m_saoLcuBoundary; }
- Void setSaoLcuBasedOptimization(Bool bVal) { m_saoLcuBasedOptimization = bVal; }
+ Void setSaoLcuBasedOptimization(int bVal) { m_saoLcuBasedOptimization = bVal != 0; }
Bool getSaoLcuBasedOptimization() { return m_saoLcuBasedOptimization; }
diff -r 51cc06668ca4 -r e663fcc31791 source/Lib/TLibCommon/TComTrQuant.cpp
--- a/source/Lib/TLibCommon/TComTrQuant.cpp Sun Aug 04 15:37:10 2013 +0530
+++ b/source/Lib/TLibCommon/TComTrQuant.cpp Sun Aug 04 15:38:52 2013 +0530
@@ -387,7 +387,7 @@
}
}
-Void TComTrQuant::init(UInt maxTrSize, Bool useRDOQ, Bool useRDOQTS, Bool useTransformSkipFast)
+Void TComTrQuant::init(UInt maxTrSize, int useRDOQ, int useRDOQTS, int useTransformSkipFast)
{
m_maxTrSize = maxTrSize;
m_useRDOQ = useRDOQ;
diff -r 51cc06668ca4 -r e663fcc31791 source/Lib/TLibCommon/TComTrQuant.h
--- a/source/Lib/TLibCommon/TComTrQuant.h Sun Aug 04 15:37:10 2013 +0530
+++ b/source/Lib/TLibCommon/TComTrQuant.h Sun Aug 04 15:38:52 2013 +0530
@@ -121,7 +121,7 @@
~TComTrQuant();
// initialize class
- Void init(UInt maxTrSize, Bool useRDOQ, Bool useRDOQTS, Bool useTransformSkipFast);
+ Void init(UInt maxTrSize, int useRDOQ, int useRDOQTS, int useTransformSkipFast);
// transform & inverse transform functions
UInt transformNxN(TComDataCU* cu, Short* residual, UInt stride, TCoeff* coeff, UInt width, UInt height,
More information about the x265-devel
mailing list