Incorrect handling of mismatch between reference pictures and reference idcs
There is the following code fragment in the file TEncTop.cpp near the line 800:
if (numNeg != rps->getNumberOfNegativePictures())
{
printf("Warning: number of negative pictures in RPS is different between intra and inter RPS specified in the config file.\n");
rps->setNumberOfNegativePictures(numNeg);
rps->setNumberOfPositivePictures(numNeg+numPos);
}
if (numPos != rps->getNumberOfPositivePictures())
{
printf("Warning: number of positive pictures in RPS is different between intra and inter RPS specified in the config file.\n");
rps->setNumberOfPositivePictures(numPos);
rps->setNumberOfPositivePictures(numNeg+numPos);
}
Looks like it should be:
if (numNeg != rps->getNumberOfNegativePictures())
{
printf("Warning: number of negative pictures in RPS is different between intra and inter RPS specified in the config file.\n");
rps->setNumberOfNegativePictures(numNeg);
rps->setNumberOfPictures(numNeg+numPos);
}
if (numPos != rps->getNumberOfPositivePictures())
{
printf("Warning: number of positive pictures in RPS is different between intra and inter RPS specified in the config file.\n");
rps->setNumberOfPositivePictures(numPos);
rps->setNumberOfPictures(numNeg+numPos);
}
Change History (2)
Changed 11 years ago by DefaultCC Plugin
-
Cc
fbossen ksuehring davidf jct-vc@… added
-
Milestone
set to HM-11.1
-
Resolution
set to fixed
-
Status
changed from new to closed
|
Fixed in r3520