Ticket #60: bugfix_MAX_TR_SPLIT_Intra.patch
| File bugfix_MAX_TR_SPLIT_Intra.patch, 935 bytes (added by tpoirier, 8 years ago) |
|---|
-
source/Lib/EncoderLib/IntraSearch.cpp
1524 1524 { 1525 1525 const UnitArea &currArea = partitioner.currArea(); 1526 1526 TransformUnit &currTU = *cs.getTU( currArea.blocks[partitioner.chType], partitioner.chType ); 1527 #if HEVC_USE_RQT 1527 #if HEVC_USE_RQT || ENABLE_BMS 1528 1528 UInt currDepth = partitioner.currTrDepth; 1529 #endif1530 #if HEVC_USE_RQT1531 1529 const Bool subdiv = currTU.depth > currDepth; 1532 1530 1533 1531 if (subdiv) 1534 1532 { 1533 #if ENABLE_BMS 1534 if (partitioner.canSplit(TU_MAX_TR_SPLIT, cs)) 1535 { 1536 partitioner.splitCurrArea(TU_MAX_TR_SPLIT, cs); 1537 } 1538 else 1539 #endif 1540 #if HEVC_USE_RQT 1535 1541 partitioner.splitCurrArea( TU_QUAD_SPLIT, cs ); 1542 #else 1543 THROW("Implicit TU split not available!"); 1544 #endif 1536 1545 1537 1546 do 1538 1547 {