- Timestamp:
- 22 Mar 2016, 22:46:59 (9 years ago)
- Location:
- branches/SHM-dev/source/Lib/TLibEncoder
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibEncoder/TEncCu.cpp
r1534 r1535 694 694 // do normal intra modes 695 695 // speedup for inter frames 696 Double intraCost = 0.0;697 698 696 if((rpcBestCU->getSlice()->getSliceType() == I_SLICE) || 699 697 #if ENCODER_FAST_MODE … … 707 705 ))) 708 706 { 709 xCheckRDCostIntra( rpcBestCU, rpcTempCU, intraCost,SIZE_2Nx2N DEBUG_STRING_PASS_INTO(sDebug) );707 xCheckRDCostIntra( rpcBestCU, rpcTempCU, SIZE_2Nx2N DEBUG_STRING_PASS_INTO(sDebug) ); 710 708 rpcTempCU->initEstData( uiDepth, iQP, bIsLosslessMode ); 711 709 if( uiDepth == sps.getLog2DiffMaxMinCodingBlockSize() ) … … 713 711 if( rpcTempCU->getWidth(0) > ( 1 << sps.getQuadtreeTULog2MinSize() ) ) 714 712 { 715 Double tmpIntraCost; 716 xCheckRDCostIntra( rpcBestCU, rpcTempCU, tmpIntraCost, SIZE_NxN DEBUG_STRING_PASS_INTO(sDebug) ); 717 intraCost = std::min(intraCost, tmpIntraCost); 713 xCheckRDCostIntra( rpcBestCU, rpcTempCU, SIZE_NxN DEBUG_STRING_PASS_INTO(sDebug) ); 718 714 rpcTempCU->initEstData( uiDepth, iQP, bIsLosslessMode ); 719 715 } … … 1465 1461 Void TEncCu::xCheckRDCostIntra( TComDataCU *&rpcBestCU, 1466 1462 TComDataCU *&rpcTempCU, 1467 Double &cost,1468 1463 PartSize eSize 1469 1464 DEBUG_STRING_FN_DECLARE(sDebug) ) … … 1527 1522 1528 1523 xCheckDQP( rpcTempCU ); 1529 1530 cost = rpcTempCU->getTotalCost();1531 1524 1532 1525 xCheckBestMode(rpcBestCU, rpcTempCU, uiDepth DEBUG_STRING_PASS_INTO(sDebug) DEBUG_STRING_PASS_INTO(sTest)); -
branches/SHM-dev/source/Lib/TLibEncoder/TEncCu.h
r1369 r1535 150 150 Void xCheckRDCostIntra ( TComDataCU *&rpcBestCU, 151 151 TComDataCU *&rpcTempCU, 152 Double &cost,153 152 PartSize ePartSize 154 153 DEBUG_STRING_FN_DECLARE(sDebug)
Note: See TracChangeset for help on using the changeset viewer.