Skip to content
Snippets Groups Projects
Commit ea1ff320 authored by Chia-Ming Tsai's avatar Chia-Ming Tsai
Browse files

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

parent fef5795f
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment