Changeset 1397 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibEncoder
- Timestamp:
- 4 Aug 2015, 03:26:38 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibEncoder/TEncSearch.cpp
r1389 r1397 386 386 // distortion 387 387 m_cDistParam.bitDepth = pcPatternKey->getBitDepthY(); 388 m_cDistParam.m_maximumDistortionForEarlyExit = rcStruct.uiBestSad; 389 388 390 if(m_pcEncCfg->getFastSearch() == SELECTIVE) 389 391 { … … 439 441 rcStruct.uiBestRound = 0; 440 442 rcStruct.ucPointNr = ucPointNr; 443 m_cDistParam.m_maximumDistortionForEarlyExit = uiSad; 441 444 } 442 445 } … … 458 461 rcStruct.uiBestRound = 0; 459 462 rcStruct.ucPointNr = ucPointNr; 463 m_cDistParam.m_maximumDistortionForEarlyExit = uiSad; 460 464 } 461 465 } … … 882 886 uiDistBest = uiDist; 883 887 uiDirecBest = i; 888 m_cDistParam.m_maximumDistortionForEarlyExit = uiDist; 884 889 } 885 890 } … … 3404 3409 } 3405 3410 } 3406 #if (ENCODER_FAST_MODE)3411 #if ENCODER_FAST_MODE 3407 3412 } 3408 3413 #endif 3409 3414 } 3410 #if (ENCODER_FAST_MODE)3415 #if ENCODER_FAST_MODE 3411 3416 } // for loop-iRefIdxTemp 3412 3417 #endif … … 4064 4069 iBestX = x; 4065 4070 iBestY = y; 4071 m_cDistParam.m_maximumDistortionForEarlyExit = uiSad; 4066 4072 } 4067 4073 }
Note: See TracChangeset for help on using the changeset viewer.