Patent ID: 9167245
Filing Date: 2015-10-20
Classification: H04N

Abstract:
1. A method of determining binary codewords for transform coefficients, comprising: providing a transform unit comprising one or more groups of the transform coefficients, each of the transform coefficients having a quantized value; coding a first flag for each of the transform coefficients that have an absolute value greater than one until a first condition is reached; coding a second flag for each of the transform coefficients that have an absolute value greater than two until a second condition is reached; determining a symbol for each of the remaining transform coefficients for which said first flag and said second flag were not coded, each symbol having an associated syntax element; providing a parameter variable; initially setting said parameter variable to a value of zero; converting each symbol into a binary codeword based on the value of said parameter variable; and updating said parameter variable after each symbol has been converted by setting said parameter variable to a new value, said new value being based at least in part on the value of said parameter variable preceding said updating and the syntax element of the most recently converted symbol, wherein each said binary codeword comprises a Truncated Rice portion having up to a predefined maximum number of bits, and wherein said binary codeword comprises: said Truncated Rice portion when said symbol is less than or equal to a maximum symbol value for the value of said parameter variable, or said Truncated Rice portion and an Exponential Golomb portion when said symbol is greater than said maximum symbol value for the value of said parameter variable.