Changeset 1388 in SHVCSoftware for branches/SHM-dev
- Timestamp:
- 4 Aug 2015, 02:56:50 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibCommon/TComRdCost.cpp
r1341 r1388 105 105 else 106 106 { 107 dRdCost = floor(Double(uiDistortion) + (floor((Double(uiBits) * dLambda) + 0.5) / 65536.0));107 dRdCost = Double(uiDistortion) + ((Double(uiBits) * dLambda) / 65536.0); 108 108 } 109 109 } … … 116 116 else 117 117 { 118 dRdCost = floor(Double(uiDistortion) + (Double(uiBits) * dLambda) + 0.5);118 dRdCost = Double(uiDistortion) + (Double(uiBits) * dLambda); 119 119 } 120 120 } … … 174 174 else 175 175 { 176 dRdCost = floor(Double(uiDistortion) + (floor((Double(uiBits) * dLambda) + 0.5) / 65536.0));176 dRdCost = Double(uiDistortion) + ((Double(uiBits) * dLambda) / 65536.0); 177 177 } 178 178 } … … 185 185 else 186 186 { 187 dRdCost = floor(Double(uiDistortion) + (Double(uiBits) * dLambda) + 0.5);187 dRdCost = Double(uiDistortion) + (Double(uiBits) * dLambda); 188 188 } 189 189 }
Note: See TracChangeset for help on using the changeset viewer.