Patent ID: 9578347
Date: 2017-02-21
CPC Classifications: H04N

Claim:
1. A method of decoding a bitstream of encoded video in a video decoder to reconstruct coefficients of a set, the set comprising a first nonempty subset of coefficients and a second nonempty subset of coefficients, the method comprising: for each coefficient of the second subset, determining a respective absolute value of that coefficient; determining a first sum of the respective absolute values of the coefficients of the second subset; determining, for a first coefficient belonging to the first subset, a parity of the first coefficient based on the first sum; if the determined parity is odd, then determining that a flag which indicates whether the absolute value of the first coefficient is greater than zero or equal to zero is not present in the bitstream and decoding a first flag which indicates whether the absolute value of the first coefficient is greater than one or equal to one; and if the determined parity is even, then decoding a flag which indicates whether the absolute value of the first coefficient is greater than zero or equal to zero and if it is greater than zero, determining that a flag which indicates whether the absolute value of the first coefficient is greater than one or equal to one is not present in the bitstream and decoding a flag which indicates whether the absolute value of the first coefficient is greater than two or equal to two.