Changeset 765 in 3DVCSoftware for branches/HTM-9.2-dev0/source/Lib/TLibDecoder
- Timestamp:
- 12 Jan 2014, 02:46:46 (11 years ago)
- Location:
- branches/HTM-9.2-dev0/source/Lib/TLibDecoder
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-9.2-dev0/source/Lib/TLibDecoder/TDecCAVLC.cpp
r764 r765 1859 1859 pcVPS->setARPStepNum( i, 1 ); 1860 1860 #endif 1861 #if MTK_SPIVMP_F01101861 #if H_3D_SPIVMP 1862 1862 pcVPS->setSubPULog2Size(i, 0); 1863 1863 #endif … … 1868 1868 #if H_3D_IV_MERGE 1869 1869 READ_FLAG( uiCode, "iv_mv_pred_flag[i]"); pcVPS->setIvMvPredFlag ( i, uiCode == 1 ? true : false ); 1870 #if MTK_SPIVMP_F01101870 #if H_3D_SPIVMP 1871 1871 READ_UVLC (uiCode, "log2_sub_PU_size_minus2"); pcVPS->setSubPULog2Size(i, uiCode+2); 1872 1872 #endif … … 1885 1885 else 1886 1886 { 1887 #if QC_DEPTH_IV_MRG_F0125 &&H_3D_IV_MERGE1887 #if H_3D_IV_MERGE 1888 1888 if(i!=1) 1889 1889 { … … 1891 1891 } 1892 1892 #endif 1893 #if MTK_SPIVMP_F01101893 #if H_3D_SPIVMP 1894 1894 if (i!=1) 1895 1895 { … … 1897 1897 } 1898 1898 #endif 1899 #if SEC_MPI_ENABLING_MERGE_F01501899 #if H_3D_IV_MERGE 1900 1900 READ_FLAG( uiCode, "mpi_flag[i]" ); pcVPS->setMPIFlag( i, uiCode == 1 ? true : false ); 1901 1901 #endif … … 2568 2568 READ_UVLC( uiCode, "five_minus_max_num_merge_cand"); 2569 2569 #if H_3D_IV_MERGE 2570 #if SEC_MPI_ENABLING_MERGE_F01502571 2570 if(rpcSlice->getIsDepth()) 2572 2571 { … … 2580 2579 rpcSlice->setMaxNumMergeCand(( ivMvPredFlag ? MRG_MAX_NUM_CANDS_MEM : MRG_MAX_NUM_CANDS) - uiCode); 2581 2580 } 2582 #else 2583 Bool ivMvPredFlag = rpcSlice->getVPS()->getIvMvPredFlag( rpcSlice->getLayerIdInVps() ) ; 2584 rpcSlice->setMaxNumMergeCand(( ivMvPredFlag ? MRG_MAX_NUM_CANDS_MEM : MRG_MAX_NUM_CANDS) - uiCode); 2585 #endif 2581 2586 2582 #else 2587 2583 rpcSlice->setMaxNumMergeCand(MRG_MAX_NUM_CANDS - uiCode); -
branches/HTM-9.2-dev0/source/Lib/TLibDecoder/TDecCu.cpp
r764 r765 135 135 Void TDecCu::decompressCU( TComDataCU* pcCU ) 136 136 { 137 #if ! QC_DEPTH_IV_MRG_F0125137 #if !H_3D_IV_MERGE 138 138 xDecompressCU( pcCU, 0, 0 ); 139 139 #endif … … 315 315 m_ppcCU[uiDepth]->setHeight ( 0, pcCU->getSlice()->getSPS()->getMaxCUHeight()/(1<<uiDepth) ); 316 316 m_ppcCU[uiDepth]->setPartSizeSubParts( SIZE_2Nx2N, 0, uiDepth ); 317 #if QC_DEPTH_IV_MRG_F0125317 #if H_3D_IV_MERGE 318 318 if( pcCU->getSlice()->getIsDepth()) 319 319 { … … 333 333 DvInfo.bDV = m_ppcCU[uiDepth]->getDisMvpCandNBDV(&DvInfo); 334 334 } 335 #if QC_DEPTH_IV_MRG_F0125335 #if H_3D_IV_MERGE 336 336 } 337 337 #endif … … 401 401 memset(vspFlag, 0, sizeof(Int)*MRG_MAX_NUM_CANDS_MEM); 402 402 InheritedVSPDisInfo inheritedVSPDisInfo[MRG_MAX_NUM_CANDS_MEM]; 403 #if MTK_SPIVMP_F0110403 #if H_3D_SPIVMP 404 404 Bool bSPIVMPFlag[MRG_MAX_NUM_CANDS_MEM]; 405 405 memset(bSPIVMPFlag, false, sizeof(Bool)*MRG_MAX_NUM_CANDS_MEM); … … 412 412 m_ppcCU[uiDepth]->getInterMergeCandidates( 0, 0, cMvFieldNeighbours, uhInterDirNeighbours, numValidMergeCand, uiMergeIndex ); 413 413 m_ppcCU[uiDepth]->xGetInterMergeCandidates( 0, 0, cMvFieldNeighbours, uhInterDirNeighbours, vspFlag, inheritedVSPDisInfo 414 #if MTK_SPIVMP_F0110414 #if H_3D_SPIVMP 415 415 , bSPIVMPFlag, pcMvFieldSP, puhInterDirSP 416 416 #endif … … 462 462 } 463 463 } 464 #if MTK_SPIVMP_F0110464 #if H_3D_SPIVMP 465 465 pcCU->setSPIVMPFlagSubParts(bSPIVMPFlag[uiMergeIndex], uiAbsPartIdx, 0, uiDepth ); 466 466 if (bSPIVMPFlag[uiMergeIndex]) … … 482 482 } 483 483 } 484 #if MTK_F0110_FIX485 484 delete[] pcMvFieldSP; 486 485 delete[] puhInterDirSP; 487 #else488 delete pcMvFieldSP;489 delete puhInterDirSP;490 #endif491 486 #endif 492 487 493 488 xFinishDecodeCU( pcCU, uiAbsPartIdx, uiDepth, ruiIsLast ); 494 #if QC_DEPTH_IV_MRG_F0125489 #if H_3D_IV_MERGE 495 490 xDecompressCU(pcCU, uiAbsPartIdx, uiDepth ); 496 491 #endif … … 508 503 { 509 504 xFinishDecodeCU( pcCU, uiAbsPartIdx, uiDepth, ruiIsLast ); 510 #if QC_DEPTH_IV_MRG_F0125505 #if H_3D_IV_MERGE 511 506 xDecompressCU(pcCU, uiAbsPartIdx, uiDepth ); 512 507 #endif … … 528 523 setdQPFlag( bCodeDQP ); 529 524 xFinishDecodeCU( pcCU, uiAbsPartIdx, uiDepth, ruiIsLast ); 530 #if QC_DEPTH_IV_MRG_F0125525 #if H_3D_IV_MERGE 531 526 xDecompressCU(pcCU, uiAbsPartIdx, uiDepth ); 532 527 #endif … … 546 541 { 547 542 TComPic* pcPic = pcCU->getPic(); 548 #if ! QC_DEPTH_IV_MRG_F0125543 #if !H_3D_IV_MERGE 549 544 Bool bBoundary = false; 550 545 UInt uiLPelX = pcCU->getCUPelX() + g_auiRasterToPelX[ g_auiZscanToRaster[uiAbsPartIdx] ]; -
branches/HTM-9.2-dev0/source/Lib/TLibDecoder/TDecEntropy.cpp
r764 r765 209 209 UChar uhInterDirNeighbours[MRG_MAX_NUM_CANDS]; 210 210 #endif 211 #if MTK_SPIVMP_F0110211 #if H_3D_SPIVMP 212 212 Bool bSPIVMPFlag[MRG_MAX_NUM_CANDS_MEM]; 213 213 TComMvField* pcMvFieldSP; … … 256 256 memset(vspFlag, 0, sizeof(Int)*MRG_MAX_NUM_CANDS_MEM); 257 257 InheritedVSPDisInfo inheritedVSPDisInfo[MRG_MAX_NUM_CANDS_MEM]; 258 #if MTK_SPIVMP_F0110258 #if H_3D_SPIVMP 259 259 memset(bSPIVMPFlag, false, sizeof(Bool)*MRG_MAX_NUM_CANDS_MEM); 260 260 #endif … … 262 262 pcSubCU->getInterMergeCandidates( 0, 0, cMvFieldNeighbours, uhInterDirNeighbours, numValidMergeCand); 263 263 pcSubCU->xGetInterMergeCandidates( 0, 0, cMvFieldNeighbours, uhInterDirNeighbours, vspFlag, inheritedVSPDisInfo 264 #if MTK_SPIVMP_F0110264 #if H_3D_SPIVMP 265 265 , bSPIVMPFlag, pcMvFieldSP, puhInterDirSP 266 266 #endif … … 293 293 memset(vspFlag, 0, sizeof(Int)*MRG_MAX_NUM_CANDS_MEM); 294 294 InheritedVSPDisInfo inheritedVSPDisInfo[MRG_MAX_NUM_CANDS_MEM]; 295 #if MTK_SPIVMP_F0110295 #if H_3D_SPIVMP 296 296 memset(bSPIVMPFlag, false, sizeof(Bool)*MRG_MAX_NUM_CANDS_MEM); 297 297 #endif … … 299 299 pcSubCU->getInterMergeCandidates( uiSubPartIdx-uiAbsPartIdx, uiPartIdx, cMvFieldNeighbours, uhInterDirNeighbours, numValidMergeCand, uiMergeIndex ); 300 300 pcSubCU->xGetInterMergeCandidates( uiSubPartIdx-uiAbsPartIdx, uiPartIdx, cMvFieldNeighbours, uhInterDirNeighbours, vspFlag, inheritedVSPDisInfo 301 #if MTK_SPIVMP_F0110301 #if H_3D_SPIVMP 302 302 , bSPIVMPFlag, pcMvFieldSP, puhInterDirSP 303 303 #endif … … 331 331 } 332 332 } 333 #if MTK_SPIVMP_F0110333 #if H_3D_SPIVMP 334 334 pcCU->setSPIVMPFlagSubParts(bSPIVMPFlag[uiMergeIndex], uiSubPartIdx, uiPartIdx, uiDepth ); 335 335 if (bSPIVMPFlag[uiMergeIndex] != 0) … … 385 385 } 386 386 } 387 #if MTK_SPIVMP_F0110 388 #if MTK_F0110_FIX 387 #if H_3D_SPIVMP 389 388 delete[] pcMvFieldSP; 390 389 delete[] puhInterDirSP; 391 #else392 delete pcMvFieldSP;393 delete puhInterDirSP;394 #endif395 390 #endif 396 391 return; -
branches/HTM-9.2-dev0/source/Lib/TLibDecoder/TDecTop.cpp
r758 r765 302 302 } 303 303 304 #if QC_DEPTH_IV_MRG_F0125304 #if H_3D_IV_MERGE 305 305 Void 306 306 CamParsCollector::copyCamParamForSlice( TComSlice* pcSlice ) … … 1007 1007 pcSlice->setRefPicList ( tempRefPicLists, usedAsLongTerm, numPocTotalCurr, true ); 1008 1008 #if H_3D_ARP 1009 #if SHARP_ARP_REF_CHECK_F01051010 1009 pcSlice->setARPStepNum(m_ivPicLists); 1011 #else1012 pcSlice->setARPStepNum();1013 #endif1014 1010 if( pcSlice->getARPStepNum() > 1 ) 1015 1011 { … … 1113 1109 } 1114 1110 1115 #if QC_DEPTH_IV_MRG_F01251111 #if H_3D_IV_MERGE 1116 1112 if( pcSlice->getIsDepth() && m_pcCamParsCollector ) 1117 1113 { … … 1127 1123 m_pcCamParsCollector->setSlice( pcSlice ); 1128 1124 } 1129 #if QC_DEPTH_IV_MRG_F01251125 #if H_3D_IV_MERGE 1130 1126 if( pcSlice->getIsDepth() ) 1131 1127 { -
branches/HTM-9.2-dev0/source/Lib/TLibDecoder/TDecTop.h
r738 r765 78 78 Int**** getBaseViewShiftLUTI() { return m_aiBaseViewShiftLUT; } 79 79 80 #if QC_DEPTH_IV_MRG_F012580 #if H_3D_IV_MERGE 81 81 Void copyCamParamForSlice( TComSlice* pcSlice ); 82 82 #endif
Note: See TracChangeset for help on using the changeset viewer.