Commit 66586023 authored by karam naser's avatar karam naser
Browse files

bugfix in TMP implementation

parent 954bbc18
......@@ -4176,7 +4176,7 @@ void EncAppCfg::xPrintParameter()
}
#endif
}
#if INTRA_TEMPLATE_MATCHING
#if JVET_V0130_INTRA_TMP
msg(DETAILS, "Intra TMP: %d\n", m_intraTMP);
msg(DETAILS, "Max CU size of TMP: %d\n", m_intraTmpMaxSize);
msg(DETAILS, "dynamic search range with fixed comparison per pixel: \n");
......@@ -4316,7 +4316,7 @@ void EncAppCfg::xPrintParameter()
{
msg( VERBOSE, "WrapAroundOffset:%d ", m_wrapAroundOffset );
}
#if INTRA_TEMPLATE_MATCHING
#if JVET_V0130_INTRA_TMP
msg( VERBOSE, "IntraTMP:%d ", m_intraTMP);
msg( VERBOSE, "IntraTmpMaxSize:%d ", m_intraTmpMaxSize);
#endif
......
......@@ -324,7 +324,7 @@ void TrQuant::init( const Quant* otherQuant,
#if ENABLE_SIMD_SIGN_PREDICTION
m_computeSAD = xComputeSAD;
#endif
#if INTRA_TEMPLATE_MATCHING
#if JVET_V0130_INTRA_TMP
m_calcTemplateDiff = calcTemplateDiff;
#endif
......
......@@ -961,7 +961,7 @@ bool PU::isDMChromaMIP(const PredictionUnit &pu)
uint32_t PU::getIntraDirLuma( const PredictionUnit &pu )
{
#if INTRA_TEMPLATE_MATCHING
#if JVET_V0130_INTRA_TMP
if (isMIP(pu) || isTmp(pu))
#else
if (isMIP(pu))
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment