Opened 12 years ago Closed 11 years ago #684 closed defect (fixed)Weighted Prediction Formula Bug in 8.5.2.2.3.2 Weighted sample prediction process
Description
In Section 8.5.2.2.3.2 Weighted sample prediction process, Equations (8227) and (8229),
The correct equations are given as follows: Change History (4)comment:1 Changed 12 years ago by DefaultCC Plugin
comment:2 Changed 12 years ago by yulcomment:3 Changed 12 years ago by pandrivon
I think that original equations are right. comment:4 Changed 11 years ago by bbross
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

Sorry, the correct equations should as follows:
predSamples[ x ][ y ] = Clip3( 0, ( 1 << bitDepth ) − 1, (predSamplesL0[ x ][ y ] * w0 + offset1 ) >> shift1 ) + o0 ) (8227)
predSamples[ x ][ y ] = Clip3( 0, ( 1 << bitDepth ) − 1, (predSamplesL1[ x ][ y ] * w1 + offset1 ) >> shift1 ) + o1 ) (8229)