Changeset 1402 in 3DVCSoftware for branches/HTM-16.1-dev/source/Lib/TLibEncoder/TEncCu.cpp
- Timestamp:
- 26 May 2016, 15:03:18 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-16.1-dev/source/Lib/TLibEncoder/TEncCu.cpp
r1401 r1402 1096 1096 // do normal intra modes 1097 1097 // speedup for inter frames 1098 Double intraCost = 0.0;1099 1098 1100 1099 if((rpcBestCU->getSlice()->getSliceType() == I_SLICE) || … … 1122 1121 if( bUseIVP ) 1123 1122 { 1124 xCheckRDCostIntra( rpcBestCU, rpcTempCU, intraCost,SIZE_2Nx2N DEBUG_STRING_PASS_INTO(sDebug), bOnlyIVP );1125 #else 1126 xCheckRDCostIntra( rpcBestCU, rpcTempCU, intraCost,SIZE_2Nx2N DEBUG_STRING_PASS_INTO(sDebug) );1123 xCheckRDCostIntra( rpcBestCU, rpcTempCU, SIZE_2Nx2N DEBUG_STRING_PASS_INTO(sDebug), bOnlyIVP ); 1124 #else 1125 xCheckRDCostIntra( rpcBestCU, rpcTempCU, SIZE_2Nx2N DEBUG_STRING_PASS_INTO(sDebug) ); 1127 1126 #endif 1128 1127 #if KWU_RC_MADPRED_E0227 … … 1143 1142 if( rpcTempCU->getWidth(0) > ( 1 << sps.getQuadtreeTULog2MinSize() ) ) 1144 1143 { 1145 Double tmpIntraCost;1146 1144 #if NH_3D_ENC_DEPTH 1147 xCheckRDCostIntra( rpcBestCU, rpcTempCU, tmpIntraCost, SIZE_NxN DEBUG_STRING_PASS_INTO(sDebug), bOnlyIVP ); 1148 #else 1149 xCheckRDCostIntra( rpcBestCU, rpcTempCU, tmpIntraCost, SIZE_NxN DEBUG_STRING_PASS_INTO(sDebug) ); 1150 #endif 1151 1152 intraCost = std::min(intraCost, tmpIntraCost); 1145 xCheckRDCostIntra( rpcBestCU, rpcTempCU, SIZE_NxN DEBUG_STRING_PASS_INTO(sDebug), bOnlyIVP ); 1146 #else 1147 xCheckRDCostIntra( rpcBestCU, rpcTempCU, SIZE_NxN DEBUG_STRING_PASS_INTO(sDebug) ); 1148 #endif 1153 1149 rpcTempCU->initEstData( uiDepth, iQP, bIsLosslessMode ); 1154 1150 } … … 2784 2780 Void TEncCu::xCheckRDCostIntra( TComDataCU *&rpcBestCU, 2785 2781 TComDataCU *&rpcTempCU, 2786 Double &cost,2787 2782 PartSize eSize 2788 2783 DEBUG_STRING_FN_DECLARE(sDebug) … … 2895 2890 2896 2891 xCheckDQP( rpcTempCU ); 2897 2898 cost = rpcTempCU->getTotalCost();2899 2892 2900 2893 xCheckBestMode(rpcBestCU, rpcTempCU, uiDepth DEBUG_STRING_PASS_INTO(sDebug) DEBUG_STRING_PASS_INTO(sTest));
Note: See TracChangeset for help on using the changeset viewer.