[x265] [PATCH] analysis: do not add split cost if skip is chosen
sagar at multicorewareinc.com
sagar at multicorewareinc.com
Fri Apr 22 14:10:33 CEST 2016
# HG changeset patch
# User Sagar Kotecha<sagar at multicorewareinc.com>
# Date 1461327009 -19800
# Fri Apr 22 17:40:09 2016 +0530
# Node ID 3f2dfc9dad6e8756c4a9b5afd5b5f38516e04570
# Parent 02d79be487d7f825c961d15535a8681a201da3b1
analysis: do not add split cost if skip is chosen
diff -r 02d79be487d7 -r 3f2dfc9dad6e source/encoder/analysis.cpp
--- a/source/encoder/analysis.cpp Sun Apr 17 21:07:28 2016 +0000
+++ b/source/encoder/analysis.cpp Fri Apr 22 17:40:09 2016 +0530
@@ -1329,7 +1329,7 @@
if (m_bTryLossless)
tryLossless(cuGeom);
- if (mightSplit)
+ if (mightSplit && !foundSkip)
addSplitFlagCost(*md.bestMode, cuGeom.depth);
}
@@ -1707,7 +1707,7 @@
if (m_bTryLossless)
tryLossless(cuGeom);
- if (mightSplit)
+ if (mightSplit && !foundSkip)
addSplitFlagCost(*md.bestMode, cuGeom.depth);
}
More information about the x265-devel
mailing list