Commit 6fa124a6 authored by Frank Bossen's avatar Frank Bossen

Merge branch 'fix_decoder_analyser' into 'master'

Fix decoder analyser.

See merge request jvet/VVCSoftware_VTM!529
parents 1fc6619e 5384bea0
Pipeline #1494 passed with stage
......@@ -112,13 +112,16 @@ enum CodingStatisticsType
STATS__CABAC_BITS__TRIANGLE_FLAG,
STATS__CABAC_BITS__TRIANGLE_INDEX,
STATS__CABAC_BITS__MULTI_REF_LINE,
#if JVET_N0193_LFNST
STATS__TOOL_LFNST,
#endif
STATS__CABAC_BITS__SYMMVD_FLAG,
#if JVET_N0413_RDPCM
STATS__CABAC_BITS__BDPCM_MODE,
#endif
STATS__TOOL_TOTAL_FRAME,// This is a special case and is not included in the report.
STATS__TOOL_AFF,
STATS__TOOL_EMT,
#if JVET_N0193_LFNST
STATS__TOOL_LFNST,
#endif
STATS__TOOL_TOTAL,
STATS__NUM_STATS
};
......@@ -203,6 +206,9 @@ static inline const char* getName(CodingStatisticsType name)
"CABAC_BITS__TRIANGLE_INDEX",
"CABAC_BITS__MULTI_REF_LINE",
"CABAC_BITS__SYMMVD_FLAG",
#if JVET_N0413_RDPCM
"CABAC_BITS__BDPCM_MODE",
#endif
"TOOL_FRAME",
"TOOL_AFFINE",
"TOOL_EMT",
......
......@@ -1095,6 +1095,8 @@ void CABACReader::bdpcm_mode( CodingUnit& cu, const ComponentID compID )
if( !CU::bdpcmAllowed( cu, compID ) ) return;
RExt__DECODER_DEBUG_BIT_STATISTICS_CREATE_SET_SIZE2( STATS__CABAC_BITS__BDPCM_MODE, cu.block(compID).lumaSize(), compID );
cu.bdpcmMode = m_BinDecoder.decodeBin( Ctx::BDPCMMode( 0 ) );
if( cu.bdpcmMode )
......
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