Changeset 1397 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibEncoder


Ignore:
Timestamp:
4 Aug 2015, 03:26:38 (9 years ago)
Author:
seregin
Message:

port rev 4550

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-dev/source/Lib/TLibEncoder/TEncSearch.cpp

    r1389 r1397  
    386386  // distortion
    387387  m_cDistParam.bitDepth = pcPatternKey->getBitDepthY();
     388  m_cDistParam.m_maximumDistortionForEarlyExit = rcStruct.uiBestSad;
     389
    388390  if(m_pcEncCfg->getFastSearch() == SELECTIVE)
    389391  {
     
    439441          rcStruct.uiBestRound    = 0;
    440442          rcStruct.ucPointNr      = ucPointNr;
     443          m_cDistParam.m_maximumDistortionForEarlyExit = uiSad;
    441444        }
    442445      }
     
    458461      rcStruct.uiBestRound    = 0;
    459462      rcStruct.ucPointNr      = ucPointNr;
     463      m_cDistParam.m_maximumDistortionForEarlyExit = uiSad;
    460464    }
    461465  }
     
    882886      uiDistBest  = uiDist;
    883887      uiDirecBest = i;
     888      m_cDistParam.m_maximumDistortionForEarlyExit = uiDist;
    884889    }
    885890  }
     
    34043409            }
    34053410          }
    3406 #if (ENCODER_FAST_MODE)
     3411#if ENCODER_FAST_MODE
    34073412          }
    34083413#endif
    34093414        }
    3410 #if (ENCODER_FAST_MODE)
     3415#if ENCODER_FAST_MODE
    34113416        } // for loop-iRefIdxTemp
    34123417#endif
     
    40644069        iBestX    = x;
    40654070        iBestY    = y;
     4071        m_cDistParam.m_maximumDistortionForEarlyExit = uiSad;
    40664072      }
    40674073    }
Note: See TracChangeset for help on using the changeset viewer.