Opened 12 years ago Closed 12 years ago #589 closed defect (invalid)Seeing a discrepancy in SAO bandTable updation in JCTVC-I1003_d4.doc
Description
If we see the calculation of bandTable it is updated as
so the array bandTable will contains values either 0 or 1 or 2 or 3 or 4.
we are calculating the variable bandidx like below.
so bandidx can take any value among 0 or 1 or 2 or 3 or 4.
but the offset value what we have to add to the deblocked picture output will get from SaoOffsetVal[ cIdx ][ rx ][ ry ][ bandIdx ] .
here bandidx will take value among 0 or 1 or 2 or 3 but not 4.
So please have a look in to the updation of bandtable.
Thanks.
Regards, Change History (3)comment:1 Changed 12 years ago by DefaultCC Plugin
comment:2 Changed 12 years ago by chihming.fucomment:3 Changed 12 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
|
The array SaoOffsetVal is derived as follows.
SaoOffsetVal[ cIdx ][ rx ][ ry ][ 0 ] = 0 (7-66)
SaoOffsetVal[ cIdx ][ rx ][ ry ][ i + 1 ] = offsetSign*sao_offset_abs[ cIdx ][ rx ][ ry ][ i ] << ( bitDepth – Min( bitDepth, 10 ) ) (7-67)
Therefore, bandidx can take any value among 0 or 1 or 2 or 3 or 4 for SaoOffsetVal.