Adding block statistics as described in JVET-K0149.
Notable difference is that two trace channels are added instead of one:
- D_BLOCK_STATISTICS_ALL: all syntax elements are written, regardless whether they were coded or derived
- D_BLOCK_STATISTICS_CODED: tries only to write syntax elements, which were encoded
The statistics can be viewed with the open source player YUView (https://github.com/IENT/YUView). The latest releases / master branch should work for this.