Opened 12 years ago Closed 12 years ago #695 closed enhancement (fixed)prefix of firstGreater1ScanPos
Description
Hello,
actually, variable firstGreater1ScanPos is derived as followed :
firstGreater1ScanPos = -1
This means that firstGreater1ScanPos is the first coefficient read from the bitstream having absolute value greater than 1 when we scan from high frequency to low frequency.
The prefix first is used rather for the LAST element in a scan from high frequency to low frequency. This is the case for firstSigScanPos.
I am wondering if we should call it lastGreater1ScanPos instead of
Also, could you please point me to a discussion or study on the use of firstGreater1ScanPos?
Best regards, Change History (2)comment:1 Changed 12 years ago by DefaultCC Plugin
comment:2 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
|
I agree that there is an inconsistency in what last and first means but we need to consider also last_significant_coeff_* in that context. In summary we have:
Given this, I agree that firstGreater1ScanPos is the only variable name that deviates from this and thus should be changed to lastGreater1ScanPos.
This will be fixed in JCTVC-K0030_v3 (to be released).