Opened 12 years ago Closed 12 years ago #1030 closed defect (fixed)Buffer size in HM decoder
Description
In TDecTop.cpp, there is a line as follows.
m_iMaxRefPicNum = pcSlice->getSPS()->getMaxDecPicBuffering(pcSlice->getTLayer())+pcSlice->getSPS()->getNumReorderPics(pcSlice->getTLayer()) + 1;
This variable m_iMaxRefPicNum is used to compare with the size of the variable m_cListPic . Why should num. of reordered pictures be part of the calculation? Shouldn't it just be as follows?
m_iMaxRefPicNum = pcSlice->getSPS()->getMaxDecPicBuffering(pcSlice->getTLayer()) + 1;
Also, it might be helpful to rename the variable m_iMaxRefPicNum because it is not indicating the number of reference pictures. Change History (2)comment:1 Changed 12 years ago by DefaultCC Plugin
comment:2 Changed 12 years ago by fbossen
Note: See
TracTickets for help on using
tickets. | This list contains all users that will be notified about changes made to this ticket. These roles will be notified: Reporter, Owner, Subscriber, Participant
|
Fixed in r3473