K0149 blockstatistics bms2.1

Added block statistics for new tools: GBIidx, IBCFlag, IBCFlag_Chroma, IBC_BV, IBC_BV_Chroma

There are still issues:

  • For IBC/CPR there are variables bd and bvd in InterPredictionData. However, I believe the decoder uses mv[0] and mvd[0] instead. At least the produced statistics look more sensible. IBC_BVD is mostly the same as IBC_BV, but in some cases it differs and looks wrong, so I didn't add it to the statistics. To avoid conflicts with MV statistics, the IBCFlags are checked before writing those. While this this isn't what the decoder is doing, it seems necessary to have correct statistics.
Edited by Johannes Sauer

Merge request reports