[x265] [PATCH] analysis: respect X265_REF_LIMIT_DEPTH with RD 5/6
ashok at multicorewareinc.com
ashok at multicorewareinc.com
Mon May 25 17:02:47 CEST 2015
# HG changeset patch
# User Ashok Kumar Mishra<ashok at multicorewareinc.com>
# Date 1432566054 -19800
# Mon May 25 20:30:54 2015 +0530
# Node ID 16dcf6bf3b8545cd6e0f9c0b837f6764048930af
# Parent ca1805a61c2a93244aaea2d10d85d16add1ab4b1
analysis: respect X265_REF_LIMIT_DEPTH with RD 5/6
diff -r ca1805a61c2a -r 16dcf6bf3b85 source/encoder/analysis.cpp
--- a/source/encoder/analysis.cpp Mon May 25 20:30:54 2015 +0530
+++ b/source/encoder/analysis.cpp Mon May 25 20:30:54 2015 +0530
@@ -1357,7 +1357,9 @@
/* determine which motion references the parent CU should search */
uint32_t refMask;
- if (md.bestMode == &md.pred[PRED_SPLIT])
+ if (!(m_param->limitReferences & X265_REF_LIMIT_DEPTH))
+ refMask = 0;
+ else if (md.bestMode == &md.pred[PRED_SPLIT])
refMask = allSplitRefs;
else
{
More information about the x265-devel
mailing list