[x265] [PATCH] Fix output change observed during analysis-load for inter-refine levels 2 and 3

pooja at multicorewareinc.com pooja at multicorewareinc.com
Wed Oct 9 11:13:57 CEST 2019


# HG changeset patch
# User Pooja Venkatesan <pooja at multicorewareinc.com>
# Date 1569317525 -19800
#      Tue Sep 24 15:02:05 2019 +0530
# Branch Release_3.2
# Node ID b1f83c0a8b685a4211e02c7102b72a1eba3ce557
# Parent  cdd80b53c90d224fd9281ad13de3ca9a1b6e1d39
Fix output change observed during analysis-load for inter-refine levels 2 and 3.

diff -r cdd80b53c90d -r b1f83c0a8b68 source/encoder/analysis.cpp
--- a/source/encoder/analysis.cpp	Fri Sep 13 12:16:52 2019 +0530
+++ b/source/encoder/analysis.cpp	Tue Sep 24 15:02:05 2019 +0530
@@ -2475,7 +2475,7 @@
                     }
                     if (!mode.cu.m_mergeFlag[pu.puAbsPartIdx])
                     {
-                        if (m_param->mvRefine || m_param->interRefine == 1)
+                        if (m_param->interRefine == 1)
                             m_me.setSourcePU(*mode.fencYuv, pu.ctuAddr, pu.cuAbsPartIdx, pu.puAbsPartIdx, pu.width, pu.height, m_param->searchMethod, m_param->subpelRefine, false);
                         //AMVP
                         MV mvc[(MD_ABOVE_LEFT + 1) * 2 + 2];
@@ -2489,7 +2489,7 @@
 
                             int numMvc = mode.cu.getPMV(mode.interNeighbours, list, ref, mode.amvpCand[list][ref], mvc);
                             mvp = mode.amvpCand[list][ref][mode.cu.m_mvpIdx[list][pu.puAbsPartIdx]];
-                            if (m_param->mvRefine || m_param->interRefine == 1)
+                            if (m_param->interRefine == 1)
                             {
                                 MV outmv, mvpSelect[3];
                                 mvpSelect[0] = interDataCTU->mv[list][cuIdx + part].word;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: x265.patch
Type: text/x-patch
Size: 1646 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20191009/e211165a/attachment.bin>


More information about the x265-devel mailing list