Changeset 773 in 3DVCSoftware for trunk/source/Lib/TLibDecoder/TDecEntropy.cpp
- Timestamp:
- 16 Jan 2014, 09:56:13 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/Lib/TLibDecoder/TDecEntropy.cpp
r735 r773 111 111 pcCU->setICFlagSubParts( false , uiAbsPartIdx, 0, uiDepth ); 112 112 113 #if SEC_ONLY_TEXTURE_IC_F0151114 113 if ( pcCU->isIntra( uiAbsPartIdx ) || ( pcCU->getSlice()->getViewIndex() == 0 ) || pcCU->getSlice()->getIsDepth() ) 115 #else116 if ( pcCU->isIntra( uiAbsPartIdx ) || ( pcCU->getSlice()->getViewIndex() == 0 ) )117 #endif118 114 { 119 115 return; … … 213 209 UChar uhInterDirNeighbours[MRG_MAX_NUM_CANDS]; 214 210 #endif 215 #if MTK_SPIVMP_F0110211 #if H_3D_SPIVMP 216 212 Bool bSPIVMPFlag[MRG_MAX_NUM_CANDS_MEM]; 217 213 TComMvField* pcMvFieldSP; … … 245 241 decodeMergeIndex( pcCU, uiPartIdx, uiSubPartIdx, uiDepth ); 246 242 UInt uiMergeIndex = pcCU->getMergeIndex(uiSubPartIdx); 247 #if LGE_SHARP_VSP_INHERIT_F0104248 243 #if H_3D_IC 249 244 decodeICFlag( pcCU, uiAbsPartIdx, uiDepth ); … … 251 246 #if H_3D_ARP 252 247 decodeARPW ( pcCU, uiAbsPartIdx, uiDepth ); 253 #endif254 248 #endif 255 249 if ( pcCU->getSlice()->getPPS()->getLog2ParallelMergeLevelMinus2() && ePartSize != SIZE_2Nx2N && pcSubCU->getWidth( 0 ) <= 8 ) … … 262 256 memset(vspFlag, 0, sizeof(Int)*MRG_MAX_NUM_CANDS_MEM); 263 257 InheritedVSPDisInfo inheritedVSPDisInfo[MRG_MAX_NUM_CANDS_MEM]; 264 #if MTK_SPIVMP_F0110258 #if H_3D_SPIVMP 265 259 memset(bSPIVMPFlag, false, sizeof(Bool)*MRG_MAX_NUM_CANDS_MEM); 266 260 #endif 267 #if ETRIKHU_MERGE_REUSE_F0093268 261 pcSubCU->initAvailableFlags(); 269 262 pcSubCU->getInterMergeCandidates( 0, 0, cMvFieldNeighbours, uhInterDirNeighbours, numValidMergeCand); 270 263 pcSubCU->xGetInterMergeCandidates( 0, 0, cMvFieldNeighbours, uhInterDirNeighbours, vspFlag, inheritedVSPDisInfo 271 #if MTK_SPIVMP_F0110264 #if H_3D_SPIVMP 272 265 , bSPIVMPFlag, pcMvFieldSP, puhInterDirSP 273 266 #endif 274 267 , numValidMergeCand ); 275 #else276 pcSubCU->getInterMergeCandidates( 0, 0, cMvFieldNeighbours, uhInterDirNeighbours, vspFlag, inheritedVSPDisInfo, numValidMergeCand );277 #endif278 268 pcCU->setVSPFlagSubParts( vspFlag[uiMergeIndex], uiSubPartIdx, uiPartIdx, uiDepth ); 279 269 … … 283 273 } 284 274 #else 285 #if ETRIKHU_MERGE_REUSE_F0093275 #if H_3D 286 276 pcSubCU->initAvailableFlags(); 287 277 pcSubCU->getInterMergeCandidates( 0, 0, cMvFieldNeighbours, uhInterDirNeighbours, numValidMergeCand); … … 303 293 memset(vspFlag, 0, sizeof(Int)*MRG_MAX_NUM_CANDS_MEM); 304 294 InheritedVSPDisInfo inheritedVSPDisInfo[MRG_MAX_NUM_CANDS_MEM]; 305 #if MTK_SPIVMP_F0110295 #if H_3D_SPIVMP 306 296 memset(bSPIVMPFlag, false, sizeof(Bool)*MRG_MAX_NUM_CANDS_MEM); 307 297 #endif 308 #if ETRIKHU_MERGE_REUSE_F0093309 298 pcSubCU->initAvailableFlags(); 310 299 pcSubCU->getInterMergeCandidates( uiSubPartIdx-uiAbsPartIdx, uiPartIdx, cMvFieldNeighbours, uhInterDirNeighbours, numValidMergeCand, uiMergeIndex ); 311 300 pcSubCU->xGetInterMergeCandidates( uiSubPartIdx-uiAbsPartIdx, uiPartIdx, cMvFieldNeighbours, uhInterDirNeighbours, vspFlag, inheritedVSPDisInfo 312 #if MTK_SPIVMP_F0110301 #if H_3D_SPIVMP 313 302 , bSPIVMPFlag, pcMvFieldSP, puhInterDirSP 314 303 #endif 315 304 ,numValidMergeCand, uiMergeIndex ); 316 #else317 pcSubCU->getInterMergeCandidates( uiSubPartIdx-uiAbsPartIdx, uiPartIdx, cMvFieldNeighbours, uhInterDirNeighbours, vspFlag, inheritedVSPDisInfo,numValidMergeCand, uiMergeIndex );318 #endif319 305 pcCU->setVSPFlagSubParts( vspFlag[uiMergeIndex], uiSubPartIdx, uiPartIdx, uiDepth ); 320 306 if(vspFlag[uiMergeIndex]) … … 323 309 } 324 310 #else 325 #if ETRIKHU_MERGE_REUSE_F0093311 #if H_3D 326 312 pcSubCU->initAvailableFlags(); 327 313 pcSubCU->getInterMergeCandidates( uiSubPartIdx-uiAbsPartIdx, uiPartIdx, cMvFieldNeighbours, uhInterDirNeighbours, numValidMergeCand, uiMergeIndex ); … … 345 331 } 346 332 } 347 #if MTK_SPIVMP_F0110333 #if H_3D_SPIVMP 348 334 pcCU->setSPIVMPFlagSubParts(bSPIVMPFlag[uiMergeIndex], uiSubPartIdx, uiPartIdx, uiDepth ); 349 335 if (bSPIVMPFlag[uiMergeIndex] != 0) … … 381 367 } 382 368 } 383 #if LGE_SHARP_VSP_INHERIT_F0104384 369 #if H_3D_IC 385 370 decodeICFlag( pcCU, uiAbsPartIdx, uiDepth ); … … 387 372 #if H_3D_ARP 388 373 decodeARPW ( pcCU, uiAbsPartIdx, uiDepth ); 389 #endif390 374 #endif 391 375 } … … 401 385 } 402 386 } 403 #if MTK_SPIVMP_F0110 404 #if MTK_F0110_FIX 387 #if H_3D_SPIVMP 405 388 delete[] pcMvFieldSP; 406 389 delete[] puhInterDirSP; 407 #else408 delete pcMvFieldSP;409 delete puhInterDirSP;410 #endif411 390 #endif 412 391 return;
Note: See TracChangeset for help on using the changeset viewer.