[x265] [PATCH] analysis: Share only if best reference is valid
Steve Borho
steve at borho.org
Fri Feb 27 16:02:22 CET 2015
On 02/27, gopu at multicorewareinc.com wrote:
> # HG changeset patch
> # User Gopu Govindaswamy <gopu at multicorewareinc.com>
> # Date 1425017769 -19800
> # Fri Feb 27 11:46:09 2015 +0530
> # Node ID 018e8bbaa854b1a4bd82b3a2e23f7775a77da5cc
> # Parent 394c2f94a2dc5d0e9e6d1c063361b19b86b88cf6
> analysis: Share only if best reference is valid
queued
> diff -r 394c2f94a2dc -r 018e8bbaa854 source/encoder/search.cpp
> --- a/source/encoder/search.cpp Thu Feb 26 15:26:39 2015 -0600
> +++ b/source/encoder/search.cpp Fri Feb 27 11:46:09 2015 +0530
> @@ -2047,7 +2047,7 @@
> bool bDoUnidir = true;
>
> /* Uni-directional prediction */
> - if (m_param->analysisMode == X265_ANALYSIS_LOAD)
> + if (m_param->analysisMode == X265_ANALYSIS_LOAD && bestME[0].ref >= 0)
> {
> for (int l = 0; l < numPredDir; l++)
> {
> _______________________________________________
> x265-devel mailing list
> x265-devel at videolan.org
> https://mailman.videolan.org/listinfo/x265-devel
--
Steve Borho
More information about the x265-devel
mailing list