Opened 13 years ago Closed 12 years ago #402 closed defect (fixed)Fix the clipping range in rdoSaoUnit
Description
Void TEncSampleAdaptiveOffset::rdoSaoUnit (Line 1940) m_iOffset[yCbCr][typeIdx][classIdx] = Clip3(-offsetTh, offsetTh, (Int)m_iOffset[yCbCr][typeIdx][classIdx]);
After: m_iOffset[yCbCr][typeIdx][classIdx] = Clip3(-offsetTh, offsetTh-1, (Int)m_iOffset[yCbCr][typeIdx][classIdx]); Attachments (1)Change History (4)comment:1 Changed 13 years ago by DefaultCC Plugin
Changed 13 years ago by chihming.fucomment:2 Changed 13 years ago by ksuehring
Can you say why this "-1" is needed? Is that aligned with the text? What has been tested? What was adopted?
I think in general the "Description" field should contain an actual description of the problem, not a reproduction of the proposed patch. comment:3 Changed 12 years ago by davidf
This was resolved by r2382 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
|
patch file to fix the bug