Changeset 305 in 3DVCSoftware for branches/HTM-6.0-LG/source/Lib/TLibCommon/TComPrediction.cpp
- Timestamp:
- 15 Mar 2013, 05:18:01 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-6.0-LG/source/Lib/TLibCommon/TComPrediction.cpp
r303 r305 1066 1066 else 1067 1067 { 1068 #if FIX_LGE_WP_FOR_3D_C0223 1069 if ( ( pcCU->getSlice()->getPPS()->getUseWP() && pcCU->getSlice()->getSliceType() == P_SLICE ) || 1070 ( pcCU->getSlice()->getPPS()->getWPBiPredIdc() && pcCU->getSlice()->getSliceType() == B_SLICE ) ) 1071 #else 1068 1072 if ( pcCU->getSlice()->getPPS()->getWPBiPredIdc() ) 1073 #endif 1069 1074 { 1070 1075 #if DEPTH_MAP_GENERATION … … 1100 1105 } 1101 1106 } 1102 1107 #if FIX_LGE_WP_FOR_3D_C0223 1108 if ( pcCU->getSlice()->getPPS()->getWPBiPredIdc() && pcCU->getSlice()->getSliceType() == B_SLICE ) 1109 #else 1103 1110 if ( pcCU->getSlice()->getPPS()->getWPBiPredIdc() ) 1111 #endif 1104 1112 { 1105 1113 #if MERL_VSP_C0152 … … 1110 1118 xWeightedPredictionBi( pcCU, &m_acYuvPred[0], &m_acYuvPred[1], iRefIdx[0], iRefIdx[1], uiPartAddr, iWidth, iHeight, rpcYuvPred ); 1111 1119 } 1120 #if FIX_LGE_WP_FOR_3D_C0223 1121 else if ( pcCU->getSlice()->getPPS()->getUseWP() && pcCU->getSlice()->getSliceType() == P_SLICE ) 1122 #endif 1123 { 1124 #if MERL_VSP_C0152 1125 if(pcCU->getVSPIndex(uiPartAddr)) 1126 m_acYuvPred[0].copyPartToPartYuv( rpcYuvPred, uiPartAddr, iWidth, iHeight ); 1127 else 1128 #endif 1129 xWeightedPredictionUni( pcCU, &m_acYuvPred[0], uiPartAddr, iWidth, iHeight, REF_PIC_LIST_0, rpcYuvPred, iPartIdx ); 1130 } 1131 1132 1133 1134 1135 1112 1136 else 1113 1137 {
Note: See TracChangeset for help on using the changeset viewer.