Opened 5 years ago
Last modified 5 years ago
#1015 closed defect
bug when a tile contain multiple slices — at Initial Version
Reported by: | biaowang | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | VTM-8.1 |
Component: | VTM | Version: | |
Keywords: | Cc: | ksuehring, XiangLi, fbossen, jvet@… |
Description
the corresponding code in VTM8.0
for( uint32_t j = 0; j < numSlicesInTile-1; j++ )
{
m_sliceMap[ i ].addCtusToSlice( getTileColumnBd(tileX), getTileColumnBd(tileX+1),
ctuY, ctuY + m_rectSlices[ i ].getSliceHeightInCtu(), m_picWidthInCtu);
ctuY += m_rectSlices[ i ].getSliceHeightInCtu();
i++;
m_sliceMap[ i ].setSliceID(i);
}
before m_sliceMap[ i ].setSliceID(i), a m_sliceMap[ i ].initSliceMap() is required, in order to clear up the ctu map inside, otherwise the ctu map would be accumulated in m_sliceMap[ i ];
will submit a MR soon.
Note: See TracTickets for help on using tickets.