Ticket #312: TEncEntropy_t312.patch
File TEncEntropy_t312.patch, 819 bytes (added by zhyang123, 13 years ago) |
---|
-
TEncEntropy.cpp
1001 1001 if( uiLog2TrafoSize <= pcCU->getSlice()->getSPS()->getQuadtreeTULog2MaxSize() ) 1002 1002 { 1003 1003 const UInt uiTrDepthCurr = uiDepth - pcCU->getDepth( uiAbsPartIdx ); 1004 const Bool bFirstCbfOfCU = uiLog2TrafoSize == pcCU->getSlice()->getSPS()->getQuadtreeTULog2MaxSize()|| uiTrDepthCurr == 0;1004 const Bool bFirstCbfOfCU = (uiLog2TrafoSize == pcCU->getSlice()->getSPS()->getQuadtreeTULog2MaxSize() && (uiLog2TrafoSize > 2 || uiInnerQuadIdx == 3))|| uiTrDepthCurr == 0; 1005 1005 if( bFirstCbfOfCU || uiLog2TrafoSize > 2 ) 1006 1006 { 1007 1007 if( bFirstCbfOfCU || pcCU->getCbf( uiAbsPartIdx, TEXT_CHROMA_U, uiTrDepthCurr - 1 ) )