[x265] [PATCH] TComRdCost::setLambda cleanup
praveen at multicorewareinc.com
praveen at multicorewareinc.com
Fri Jul 12 07:44:17 CEST 2013
# HG changeset patch
# User praveentiwari
# Date 1373607846 -19800
# Node ID e4eafcb35d23cd00f049b3e6ed72e9b313427213
# Parent b518fa481bd4eef520dfa7d5f898ef32c753c88f
TComRdCost::setLambda cleanup
diff -r b518fa481bd4 -r e4eafcb35d23 source/Lib/TLibCommon/TComRdCost.cpp
--- a/source/Lib/TLibCommon/TComRdCost.cpp Fri Jul 12 11:09:33 2013 +0530
+++ b/source/Lib/TLibCommon/TComRdCost.cpp Fri Jul 12 11:14:06 2013 +0530
@@ -51,9 +51,9 @@
TComRdCost::~TComRdCost()
{}
-Void TComRdCost::setLambda(Double dLambda)
+Void TComRdCost::setLambda(Double lambda)
{
- m_lambda2 = dLambda;
+ m_lambda2 = lambda;
m_lambda = sqrt(m_lambda2);
m_lambdaMotionSAD = (UInt64)floor(65536.0 * m_lambda);
m_lambdaMotionSSE = (UInt64)floor(65536.0 * m_lambda2);
More information about the x265-devel
mailing list