Commit 10402bd1 authored by Vadim Seregin's avatar Vadim Seregin

enable stats for EMT

parent 7de8f4bb
......@@ -117,12 +117,14 @@ enum CodingStatisticsType
#if JVET_K0248_GBI
STATS__CABAC_BITS__GBI_IDX,
#endif
#if JEM_TOOLS || JVET_K1000_SIMPLIFIED_EMT
STATS__TOOL_EMT,
#endif
#if JEM_TOOLS
STATS__CABAC_BITS__NSST,
STATS__CABAC_BITS__LIC_FLAG,
STATS__CABAC_BITS__OBMC_FLAG,
STATS__TOOL_NSST,
STATS__TOOL_EMT,
#endif
STATS__TOOL_TOTAL,
STATS__NUM_STATS
......
......@@ -1068,6 +1068,13 @@ void TrQuant::xT( const TransformUnit &tu, const ComponentID &compID, const CPel
const unsigned ucMode = getEmtMode ( tu, compID );
const unsigned ucTrIdx = getEmtTrIdx( tu, compID );
if( ucTrIdx != DCT2 )
{
#if RExt__DECODER_DEBUG_TOOL_STATISTICS
CodingStatistics::IncrementStatisticTool( CodingStatisticsClassType{ STATS__TOOL_EMT, uint32_t( iWidth ), uint32_t( iHeight ), compID } );
#endif
}
#if INTRA67_3MPM
#if HEVC_USE_4x4_DSTVII
xTrMxN_EMT(channelBitDepth, resi.buf, resi.stride, dstCoeff.buf, iWidth, iHeight, useDST, maxLog2TrDynamicRange, ucMode, ucTrIdx
......
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