Opened 11 years ago Closed 11 years ago #1224 closed defect (fixed)Slice index setting at decoder
Description
In xDecodeSlice function, there is the following code copying slice info and setting slice index: m_apcSlicePilot->setSliceIdx(m_uiSliceIdx); if (!m_bFirstSliceInPicture) { m_apcSlicePilot->copySliceInfo( pcPic->getPicSym()->getSlice(m_uiSliceIdx-1) ); }
However, in the multi slices case, it will assign the slice index from the previous slice through the copying. So, for example, in two slices case, both slices will have index 0.
Probably, the order should be swapped as follows: if (!m_bFirstSliceInPicture) { m_apcSlicePilot->copySliceInfo( pcPic->getPicSym()->getSlice(m_uiSliceIdx-1) ); } m_apcSlicePilot->setSliceIdx(m_uiSliceIdx); Change History (2)comment:1 Changed 11 years ago by DefaultCC Plugin
comment:2 Changed 11 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 r3767