source/Lib/CommonLib/TypeDef.h | 2 ++
source/Lib/EncoderLib/EncModeCtrl.cpp | 9 ++++++++-
2 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/source/Lib/CommonLib/TypeDef.h b/source/Lib/CommonLib/TypeDef.h
index 20ffefd..5a480f2 100644
a
|
b
|
|
50 | 50 | #include <assert.h> |
51 | 51 | #include <cassert> |
52 | 52 | |
| 53 | #define FIX_ISSUE_91 1 |
| 54 | |
53 | 55 | #define JVET_L0090_PAIR_AVG 1 // Add pairwise average candidates, replace HEVC combined candidates |
54 | 56 | #define REUSE_CU_RESULTS 1 |
55 | 57 | |
diff --git a/source/Lib/EncoderLib/EncModeCtrl.cpp b/source/Lib/EncoderLib/EncModeCtrl.cpp
index eeee01f..5a71313 100644
a
|
b
|
bool BestEncInfoCache::isValid( const CodingStructure& cs, const Partitioner& pa |
761 | 761 | return false; |
762 | 762 | if( cs.picture->poc != encInfo.poc || CS::getArea( cs, cs.area, partitioner.chType ) != CS::getArea( cs, encInfo.cu, partitioner.chType ) || !isTheSameNbHood( encInfo.cu, cs, partitioner ) |
763 | 763 | || encInfo.cu.cpr |
| 764 | #if FIX_ISSUE_91 |
| 765 | || partitioner.currDepth <= cs.pps->getMaxCuDQPDepth() || cs.currQP[partitioner.chType] != encInfo.cu.qp |
| 766 | #endif |
764 | 767 | ) |
765 | 768 | { |
766 | 769 | return false; |
… |
… |
bool BestEncInfoCache::setCsFrom( CodingStructure& cs, EncTestMode& testMode, co |
778 | 781 | |
779 | 782 | BestEncodingInfo& encInfo = *m_bestEncInfo[idx1][idx2][idx3][idx4]; |
780 | 783 | |
781 | | if( cs.picture->poc != encInfo.poc || CS::getArea( cs, cs.area, partitioner.chType ) != CS::getArea( cs, encInfo.cu, partitioner.chType ) || !isTheSameNbHood( encInfo.cu, cs, partitioner ) ) |
| 784 | if( cs.picture->poc != encInfo.poc || CS::getArea( cs, cs.area, partitioner.chType ) != CS::getArea( cs, encInfo.cu, partitioner.chType ) || !isTheSameNbHood( encInfo.cu, cs, partitioner ) |
| 785 | #if FIX_ISSUE_91 |
| 786 | || partitioner.currDepth <= cs.pps->getMaxCuDQPDepth() || cs.currQP[partitioner.chType] != encInfo.cu.qp |
| 787 | #endif |
| 788 | ) |
782 | 789 | { |
783 | 790 | return false; |
784 | 791 | } |