Commit f1d23014 authored by Chen-Yen Lai's avatar Chen-Yen Lai
Browse files

JVET-R0055 handle non-existent QM in 4:0:0 case

parent 3558e506
Pipeline #4871 passed with stage
in 13 minutes and 23 seconds
......@@ -51,6 +51,8 @@
#include <cassert>
//########### place macros to be removed in next cycle below this line ###############
#define JVET_R0055_HANDLING_NON_EXISTENT_QM 1 // JVET-R0055: infer chroma scaling lists to be all 16 in 4:0:0 by copy mode flag
#define JVET_R0483_SH_TSRC_DISABLED_FLAG_CLEANUP 1 // JVET-R0483 Comb 4: R0049 + R0271, only R0049 method 3 aspect (Skip signaling sh_ts_residual_coding_disabled_flag when sps_transform_skip_enabled_flag = 0, also proposed in R0068, R0097, R0142, R0153) as R0271 has its own macro
#define R0324_PH_SYNTAX_CONDITION_MODIFY 1 // JVET-R0324 add conditions on PH syntax to conder whether current pic is bi-predictive picture
......
......@@ -4840,7 +4840,18 @@ void HLSyntaxReader::parseScalingList(ScalingList* scalingList)
}
else
{
#if JVET_R0055_HANDLING_NON_EXISTENT_QM
scalingListCopyModeFlag = true;
scalingList->setScalingListCopyModeFlag(scalingListId, scalingListCopyModeFlag);
scalingList->setRefMatrixId(scalingListId, (uint32_t)((int)(scalingListId)));
if (scalingListId >= SCALING_LIST_1D_START_16x16)
{
scalingList->setScalingListDC(scalingListId, 16);
}
scalingList->processRefMatrix(scalingListId, scalingList->getRefMatrixId(scalingListId));
#else
scalingList->processDefaultMatrix(scalingListId);
#endif
}
}
......
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