problem in running VTM-7.0_Data
komeilsh opened this issue · comments
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
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.