changeset 12569:f46aa2bc1c34

Fix output change observed during analysis-load for inter-refine levels 2 and 3.
author Pooja Venkatesan <pooja@multicorewareinc.com>
date Tue, 24 Sep 2019 15:02:05 +0530
parents 354901970679
children 37648fca915b
files source/encoder/analysis.cpp
diffstat 1 files changed, 2 insertions(+-), 2 deletions(-) [+]
line wrap: on
line diff
--- a/source/encoder/analysis.cpp	Fri Sep 13 15:57:26 2019 +0530
+++ b/source/encoder/analysis.cpp	Tue Sep 24 15:02:05 2019 +0530
@@ -2475,7 +2475,7 @@ void Analysis::recodeCU(const CUData& pa
                     }
                     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 @@ void Analysis::recodeCU(const CUData& pa
 
                             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;