tianyili2017 / CPIV

A large-scale database for QTMT-based CU partition of VVC.
Other
26 stars 8 forks source link

problem in running VTM-7.0_Data #4

Open komeilsh opened 3 years ago

komeilsh commented 3 years ago

Hi, I tried to run your source code. I prepared a config file and built the solution. but this error shows up: Assertion failed: csY + csHeight <= csY0 + csHeight0 / 4, file G:\CPIV-master\VTM7.0_Data\source\Lib\CommonLib\dtrace_blockstatistics.cpp, line 527 how can this issue be solved? Thanks

komeilsh commented 3 years ago

The error was in this area in "dtrace_blockstatistics.cpp" line 642: `else if (piLabel[iStage] == 4) // ternary splitting on Y

      {

        if (csY < csY0 + csHeight0 / 4) // here

        {

          assert(csY + csHeight <= csY0 + csHeight0 / 4);

          csHeight0 /= 4;

        }

        else if (csY < csY0 + csHeight0 / 4 * 3)

        {

          assert(csY + csHeight <= csY0 + csHeight0 / 4 * 3);

          csY0 += csHeight0 / 4;

          csHeight0 /= 2;

        }

        else

        {

          assert(csY + csHeight <= csY0 + csHeight0);

          csY0 += csHeight0 / 4 * 3;

          csHeight0 /= 4;

        }

      }`

as can be seen, I changed the third line to solve the issue. instead of csHeight0 , chWidth0 was used.