Opened 5 years ago

Closed 4 years ago

Last modified 4 years ago

#1094 closed defect (fixed)

Block Statistics not properly formatted as CSV when TraceRule="D_BLOCK_STATISTICS_ALL:poc>=0"

Reported by: arthurcerveira Owned by:
Priority: minor Milestone:
Component: VTM Version: VTM-9.0
Keywords: Cc: ksuehring, XiangLi, fbossen, jvet@…

Description

The block statistics generated by the decoder are not properly formatted as CSV when considering all syntax elements. This is how the macros are defined:

#ifndef ENABLE_TRACING
#define ENABLE_TRACING                                    1
#endif

#if ENABLE_TRACING
#define K0149_BLOCK_STATISTICS                            1
#if K0149_BLOCK_STATISTICS
#define BLOCK_STATS_AS_CSV                                1
#endif
#endif

This is the command used to write the block statistics:

./DecoderAppStatic -b BQSquare.bin --TraceFile="BQSquare_Block_Stats_All.csv" --TraceRule="D_BLOCK_STATISTICS_ALL:poc>=0"

In BQSquare_Block_Stats_All.csv, some of the lines are still formatted as human readable format, even though the macro BLOCK_STATS_AS_CSV is enabled.

BQSquare_Block_Stats_All.csv is available here:
https://drive.google.com/file/d/1KDzHv_6BF6n1b_H2W-1bsolp7ES6L00E/view?usp=sharing

Some of the functions not supporting CSV formatting are CDTrace::dtrace_block_line, CDTrace::dtrace_polygon_scalar and writeAllData on dtrace_blockstatistics.cpp

Change history (1)

comment:1 Changed 4 years ago by arthurcerveira

  • Resolution set to fixed
  • Status changed from new to closed
Version 0, edited 4 years ago by arthurcerveira (next)
Note: See TracTickets for help on using tickets.