Ticket #1379: ticket1379.patch
File ticket1379.patch, 850 bytes (added by libin, 10 years ago) |
---|
-
Lib/TLibEncoder/TEncSearch.cpp
5081 5081 { 5082 5082 if( uiLog2TrSize <= pcCU->getSlice()->getSPS()->getQuadtreeTULog2MaxSize() && uiLog2TrSize > pcCU->getQuadtreeTULog2MinSizeInCU(uiAbsPartIdx) ) 5083 5083 { 5084 m_pcEntropyCoder->encodeTransformSubdivFlag( bSubdiv, 5 - uiLog2TrSize ); 5084 if((pcCU->getSlice()->getSPS()->getQuadtreeTUMaxDepthInter() == 1) && pcCU->isInter(uiAbsPartIdx) && (pcCU->getPartitionSize(uiAbsPartIdx) != SIZE_2Nx2N)) 5085 { 5086 assert(bSubdiv); 5087 } 5088 else 5089 { 5090 m_pcEntropyCoder->encodeTransformSubdivFlag( bSubdiv, 5 - uiLog2TrSize ); 5091 } 5085 5092 } 5086 5093 5087 5094 assert( !pcCU->isIntra(uiAbsPartIdx) );