Changeset 1256 in 3DVCSoftware for branches/HTM-14.1-update-dev2-Orange/source/Lib/TLibEncoder/TEncSbac.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/TEncSbac.cpp
r1225 r1256 645 645 { 646 646 PartSize eSize = pcCU->getPartitionSize( uiAbsPartIdx ); 647 #if H_3D_QTLPC647 #if NH_3D_QTLPC 648 648 Bool bLimQtPredFlag = pcCU->getPic()->getSlice(0)->getQtPredFlag(); 649 649 TComPic *pcTexture = pcCU->getSlice()->getTexturePic(); … … 662 662 #endif 663 663 { 664 TComDataCU *pcTextureCU = pcTexture->getC U(pcCU->getAddr());665 UInt uiCUIdx = (pcCU->getZorderIdxInC U() == 0) ? uiAbsPartIdx : pcCU->getZorderIdxInCU();664 TComDataCU *pcTextureCU = pcTexture->getCtu(pcCU->getCtuRsAddr()); 665 UInt uiCUIdx = (pcCU->getZorderIdxInCtu() == 0) ? uiAbsPartIdx : pcCU->getZorderIdxInCtu(); 666 666 assert(pcTextureCU->getDepth(uiCUIdx) >= uiDepth); 667 667 if(pcTextureCU->getDepth(uiCUIdx) == uiDepth ) … … 694 694 DTRACE_CU("part_mode", eSize ) 695 695 #endif 696 #if H_3D_QTLPC696 #if NH_3D_QTLPC 697 697 if (depthDependent==false || uiTexturePart == SIZE_NxN|| uiTexturePart == SIZE_2Nx2N) 698 698 { … … 768 768 } 769 769 } 770 #if H_3D_QTLPC770 #if NH_3D_QTLPC 771 771 } 772 772 else if(uiTexturePart == SIZE_2NxN || uiTexturePart == SIZE_2NxnU || uiTexturePart == SIZE_2NxnD) … … 785 785 { 786 786 m_pcBinIf->encodeBin( 0, m_cCUPartSizeSCModel.get( 0, 0, 0) ); 787 if ( pcCU->getSlice()->getSPS()->getAMPAcc( uiDepth ))787 if ( pcCU->getSlice()->getSPS()->getUseAMP() && uiDepth < log2DiffMaxMinCodingBlockSize ) 788 788 { 789 789 m_pcBinIf->encodeBin( 1, m_cCUPartSizeSCModel.get( 0, 0, 1) ); … … 820 820 { 821 821 m_pcBinIf->encodeBin( 0, m_cCUPartSizeSCModel.get( 0, 0, 0) ); 822 if ( pcCU->getSlice()->getSPS()->get AMPAcc( uiDepth ))822 if ( pcCU->getSlice()->getSPS()->getUseAMP() && uiDepth < log2DiffMaxMinCodingBlockSize ) 823 823 { 824 824 m_pcBinIf->encodeBin( 1, m_cCUPartSizeSCModel.get( 0, 0, 1) ); … … 1026 1026 1027 1027 assert( uiCtx < 3 ); 1028 #if H_3D_QTLPC1028 #if NH_3D_QTLPC 1029 1029 Bool bCodeSplitFlag = true; 1030 1030 … … 1043 1043 #endif 1044 1044 { 1045 TComDataCU *pcTextureCU = pcTexture->getC U(pcCU->getAddr());1046 UInt uiCUIdx = (pcCU->getZorderIdxInC U() == 0) ? uiAbsPartIdx : pcCU->getZorderIdxInCU();1045 TComDataCU *pcTextureCU = pcTexture->getCtu(pcCU->getCtuRsAddr()); 1046 UInt uiCUIdx = (pcCU->getZorderIdxInCtu() == 0) ? uiAbsPartIdx : pcCU->getZorderIdxInCtu(); 1047 1047 assert(pcTextureCU->getDepth(uiCUIdx) >= uiDepth); 1048 1048 bCodeSplitFlag = (pcTextureCU->getDepth(uiCUIdx) > uiDepth);
Note: See TracChangeset for help on using the changeset viewer.