Changeset 185 in 3DVCSoftware for branches/HTM-4.1-dev0/source/Lib/TLibEncoder/TEncEntropy.cpp
- Timestamp:
- 14 Nov 2012, 20:45:12 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-4.1-dev0/source/Lib/TLibEncoder/TEncEntropy.cpp
r177 r185 1740 1740 } 1741 1741 1742 #if FIX_MPI_B0065 1743 if( pcCU->getPredictionMode(uiAbsPartIdx) == MODE_INTER && pcCU->getMergeFlag( uiAbsPartIdx ) && pcCU->getMergeIndex( uiAbsPartIdx ) == 0 && pcCU->getPartitionSize(uiAbsPartIdx) == SIZE_2Nx2N && pcCU->getTextureModeDepth( uiAbsPartIdx ) != -1 ) 1744 { 1745 TComDataCU *pcTextureCU = pcCU->getSlice()->getTexturePic()->getCU( pcCU->getAddr() ); 1746 if( uiDepth == pcTextureCU->getDepth(uiAbsPartIdx)) 1747 { 1748 PartSize partSize = pcTextureCU->getPartitionSize(uiAbsPartIdx); 1749 pcCU->setPartSizeSubParts( partSize, uiAbsPartIdx, uiDepth ); 1750 } 1751 else 1752 { 1753 pcCU->setPartSizeSubParts( SIZE_NxN, uiAbsPartIdx, uiDepth ); 1754 } 1755 } 1756 #endif 1757 1742 1758 #if UNIFIED_TRANSFORM_TREE 1743 1759 UInt temp = 0; … … 1748 1764 xEncodeCoeff( pcCU, uiLumaOffset, uiChromaOffset, uiAbsPartIdx, uiDepth, uiWidth, uiHeight, 0, uiLumaTrMode, bCodeDQP ); 1749 1765 #endif // UNIFIED_TRANSFORM_TREE 1766 1767 #if FIX_MPI_B0065 1768 if( pcCU->getPredictionMode(uiAbsPartIdx) == MODE_INTER && pcCU->getMergeFlag( uiAbsPartIdx ) && pcCU->getMergeIndex( uiAbsPartIdx ) == 0 && pcCU->getPartitionSize(uiAbsPartIdx) != SIZE_2Nx2N && pcCU->getTextureModeDepth( uiAbsPartIdx ) != -1 ) 1769 { 1770 pcCU->setPartSizeSubParts( SIZE_2Nx2N, uiAbsPartIdx, uiDepth ); 1771 } 1772 #endif 1750 1773 } 1751 1774
Note: See TracChangeset for help on using the changeset viewer.