Changeset 1147 in 3DVCSoftware for branches/HTM-13.1-dev1-Samsung/source/Lib/TLibCommon/TComPrediction.cpp
- Timestamp:
- 25 Feb 2015, 12:11:05 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-13.1-dev1-Samsung/source/Lib/TLibCommon/TComPrediction.cpp
r1133 r1147 1255 1255 #if H_3D_NBDV 1256 1256 DisInfo cDistparity; 1257 #if SEC_ARP_REM_ENC_RESTRICT_K0035 1258 cDistparity.m_acNBDV = pcCU->getDvInfo(0).m_acNBDV; 1259 cDistparity.m_aVIdxCan = pcCU->getDvInfo(uiPartAddr).m_aVIdxCan; 1260 #else 1257 1261 cDistparity.bDV = pcCU->getDvInfo(uiPartAddr).bDV; 1258 1262 if( cDistparity.bDV ) … … 1262 1266 cDistparity.m_aVIdxCan = pcCU->getDvInfo(uiPartAddr).m_aVIdxCan; 1263 1267 } 1268 #endif 1264 1269 #else 1265 1270 assert(0); // ARP can be applied only when a DV is available 1266 1271 #endif 1267 1272 #if SEC_ARP_REM_ENC_RESTRICT_K0035 1273 UChar dW = pcCU->getARPW ( uiPartAddr ); 1274 #else 1268 1275 UChar dW = cDistparity.bDV ? pcCU->getARPW ( uiPartAddr ) : 0; 1269 1276 #endif 1277 1278 #if !SEC_ARP_REM_ENC_RESTRICT_K0035 1270 1279 if( cDistparity.bDV ) 1280 #endif 1271 1281 { 1272 1282 Int arpRefIdx = pcCU->getSlice()->getFirstTRefIdx(eRefPicList); … … 1320 1330 pYuvB0->clear(); pYuvB1->clear(); 1321 1331 } 1322 1332 #if !SEC_ARP_REM_ENC_RESTRICT_K0035 1323 1333 assert ( cDistparity.bDV ); 1324 1334 #endif 1325 1335 TComMv cNBDV = cDistparity.m_acNBDV; 1326 1336 pcCU->clipMv( cNBDV );
Note: See TracChangeset for help on using the changeset viewer.