Changeset 1256 in 3DVCSoftware for branches/HTM-14.1-update-dev2-Orange/source/Lib/TLibEncoder/TEncCu.cpp
- Timestamp:
- 12 Jun 2015, 18:09:57 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-14.1-update-dev2-Orange/source/Lib/TLibEncoder/TEncCu.cpp
r1225 r1256 413 413 414 414 415 #if H_3D_QTLPC415 #if NH_3D_QTLPC 416 416 Bool bLimQtPredFalg = pcPic->getSlice(0)->getQtPredFlag(); 417 417 TComPic *pcTexture = rpcBestCU->getSlice()->getTexturePic(); … … 429 429 m_ppcOrigYuv[uiDepth]->copyFromPicYuv( pcPic->getPicYuvOrg(), rpcBestCU->getCtuRsAddr(), rpcBestCU->getZorderIdxInCtu() ); 430 430 431 #if H_3D_QTLPC431 #if NH_3D_QTLPC 432 432 Bool bTrySplit = true; 433 433 Bool bTrySplitDQP = true; … … 529 529 } 530 530 531 #if H_3D_QTLPC531 #if NH_3D_QTLPC 532 532 bTrySplit = true; 533 533 #endif … … 547 547 548 548 rpcTempCU->initEstData( uiDepth, iQP, bIsLosslessMode ); 549 #if H_3D_QTLPC549 #if NH_3D_QTLPC 550 550 //logic for setting bTrySplit using the partition information that is stored of the texture colocated CU 551 551 #if H_3D_FCO … … 555 555 #endif 556 556 { 557 TComDataCU* pcTextureCU = pcTexture->getC U( rpcBestCU->getAddr() ); //Corresponding texture LCU558 UInt uiCUIdx = rpcBestCU->getZorderIdxInC U();557 TComDataCU* pcTextureCU = pcTexture->getCtu( rpcBestCU->getCtuRsAddr() ); //Corresponding texture LCU 558 UInt uiCUIdx = rpcBestCU->getZorderIdxInCtu(); 559 559 assert(pcTextureCU->getDepth(uiCUIdx) >= uiDepth); //Depth cannot be more partitioned than the texture. 560 560 if (pcTextureCU->getDepth(uiCUIdx) > uiDepth || pcTextureCU->getPartitionSize(uiCUIdx) == SIZE_NxN) //Texture was split. … … 713 713 #endif 714 714 } 715 #if H_3D_QTLPC715 #if NH_3D_QTLPC 716 716 if(depthMapDetect && !bIntraSliceDetect && !rapPic && ( m_pcEncCfg->getUseQTL() || bLimQtPredFalg )) 717 717 { … … 768 768 { 769 769 if( uiDepth == sps.getLog2DiffMaxMinCodingBlockSize() && doNotBlockPu 770 #if H_3D_QTLPC770 #if NH_3D_QTLPC 771 771 && bTrySplit 772 772 #endif … … 788 788 789 789 if(doNotBlockPu 790 #if H_3D_QTLPC790 #if NH_3D_QTLPC 791 791 && bTryNx2N 792 792 #endif … … 809 809 } 810 810 if(doNotBlockPu 811 #if H_3D_QTLPC811 #if NH_3D_QTLPC 812 812 && bTry2NxN 813 813 #endif … … 850 850 { 851 851 if(doNotBlockPu 852 #if H_3D_QTLPC852 #if NH_3D_QTLPC 853 853 && bTry2NxN 854 854 #endif … … 870 870 } 871 871 if(doNotBlockPu 872 #if H_3D_QTLPC872 #if NH_3D_QTLPC 873 873 && bTry2NxN 874 874 #endif … … 896 896 { 897 897 if(doNotBlockPu 898 #if H_3D_QTLPC898 #if NH_3D_QTLPC 899 899 && bTry2NxN 900 900 #endif … … 918 918 } 919 919 if(doNotBlockPu 920 #if H_3D_QTLPC920 #if NH_3D_QTLPC 921 921 && bTry2NxN 922 922 #endif … … 945 945 { 946 946 if(doNotBlockPu 947 #if H_3D_QTLPC947 #if NH_3D_QTLPC 948 948 && bTryNx2N 949 949 #endif … … 966 966 } 967 967 if(doNotBlockPu 968 #if H_3D_QTLPC968 #if NH_3D_QTLPC 969 969 && bTryNx2N 970 970 #endif … … 986 986 { 987 987 if(doNotBlockPu 988 #if H_3D_QTLPC988 #if NH_3D_QTLPC 989 989 && bTryNx2N 990 990 #endif … … 1006 1006 } 1007 1007 if(doNotBlockPu 1008 #if H_3D_QTLPC1008 #if NH_3D_QTLPC 1009 1009 && bTryNx2N 1010 1010 #endif … … 1027 1027 1028 1028 #else 1029 #if H_3D_QTLPC1029 #if NH_3D_QTLPC 1030 1030 if (bTry2NxN) 1031 1031 { … … 1042 1042 rpcTempCU->setDvInfoSubParts(DvInfo, 0, uiDepth); 1043 1043 #endif 1044 #if H_3D_QTLPC1044 #if NH_3D_QTLPC 1045 1045 } 1046 1046 if (bTryNx2N) … … 1057 1057 rpcTempCU->setDvInfoSubParts(DvInfo, 0, uiDepth); 1058 1058 #endif 1059 #if H_3D_QTLPC1059 #if NH_3D_QTLPC 1060 1060 } 1061 1061 #endif … … 1115 1115 if( uiDepth == sps.getLog2DiffMaxMinCodingBlockSize() ) 1116 1116 { 1117 #if H_3D_QTLPC //Try IntraNxN1117 #if NH_3D_QTLPC //Try IntraNxN 1118 1118 if(bTrySplit) 1119 1119 { … … 1131 1131 rpcTempCU->initEstData( uiDepth, iQP, bIsLosslessMode ); 1132 1132 } 1133 #if H_3D_QTLPC1133 #if NH_3D_QTLPC 1134 1134 } 1135 1135 #endif … … 1247 1247 1248 1248 // further split 1249 #if H_3D_QTLPC 1250 if( bSubBranch && bTrySplitDQP && uiDepth < g_uiMaxCUDepth - g_uiAddCUDepth ) 1249 #if NH_3D_QTLPC 1250 1251 if( bSubBranch && bTrySplitDQP && uiDepth < sps.getLog2DiffMaxMinCodingBlockSize() ) 1251 1252 #else 1252 1253 if( bSubBranch && uiDepth < sps.getLog2DiffMaxMinCodingBlockSize() )
Note: See TracChangeset for help on using the changeset viewer.