Commit ea1ff320 authored by Chia-Ming Tsai's avatar Chia-Ming Tsai

Add a size check to ensure only DCT-IF interpolation filter is used for 4x4, 4x8, and 8x4 luma CB

parent fef5795f
......@@ -585,6 +585,7 @@ void IntraPrediction::initPredIntraParams(const PredictionUnit & pu, const CompA
{
const bool isRefFilter = isIntegerSlope(absAng);
#if JVET_O0277_INTRA_SMALL_BLOCK_DCTIF
CHECK( puSize.width * puSize.height <= 32, "DCT-IF interpolation filter is always used for 4x4, 4x8, and 8x4 luma CB" );
m_ipaParam.refFilterFlag = isRefFilter;
#else
m_ipaParam.refFilterFlag = isRefFilter && puSize.width * puSize.height > 32;
......
Markdown is supported
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