Commit 424b21e9 authored by Frank Bossen's avatar Frank Bossen

Merge branch 'tracefix' into 'master'

fix tracing code with recent name changes for PCM SPS flag

See merge request jvet/VVCSoftware_VTM!185
parents a6c9487b cf4e4db2
Pipeline #598 passed with stage
......@@ -777,7 +777,7 @@ void writeAllCodedData(const CodingStructure & cs, const UnitArea & ctuArea)
if (CU::isIntra(cu))
{
if (!(!sps.getUsePCM() || cu.lumaSize().width > (1 << sps.getPCMLog2MaxSize()) || cu.lumaSize().width < (1 << sps.getPCMLog2MinSize())))
if (!(!sps.getPCMEnabledFlag() || cu.lumaSize().width > (1 << sps.getPCMLog2MaxSize()) || cu.lumaSize().width < (1 << sps.getPCMLog2MinSize())))
{
DTRACE_BLOCK_SCALAR(g_trace_ctx, D_BLOCK_STATISTICS_CODED, cu, GetBlockStatisticName(BlockStatistic::IPCM), cu.ipcm);
}
......@@ -800,7 +800,7 @@ void writeAllCodedData(const CodingStructure & cs, const UnitArea & ctuArea)
if (CU::isIntra(cu))
{
if (!(!sps.getUsePCM() || cu.lumaSize().width > (1 << sps.getPCMLog2MaxSize()) || cu.lumaSize().width < (1 << sps.getPCMLog2MinSize())))
if (!(!sps.getPCMEnabledFlag() || cu.lumaSize().width > (1 << sps.getPCMLog2MaxSize()) || cu.lumaSize().width < (1 << sps.getPCMLog2MinSize())))
{
DTRACE_BLOCK_SCALAR_CHROMA(g_trace_ctx, D_BLOCK_STATISTICS_CODED, cu, GetBlockStatisticName(BlockStatistic::IPCM_Chroma), cu.ipcm);
}
......
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