Patent ID: 7843998

Claim:
A method for providing a simplified entropy coding procedure in video coding of quantized transform coefficients representing a block of residual pixel values in a macroblock, wherein the coefficients are assigned to positions within the block of an increasing order, the method comprising the steps of: I specifying a first position of a last non-zero coefficient within the block together with modulus of said last non-zero coefficient if modulus of last non-zero coefficient is among [1,n] or an indication of >n if modulus of said last non-zero coefficient is greater than n as an event of among a number of possible events in a first Variable Length Code (VLC), II if modulus of said last non-zero coefficient is among [1,n], defining said last non-zero coefficient as a currently last non-zero coefficient, and a specifying the number of positions with zero coefficients between said currently last non-zero coefficient and a next non-zero coefficient within the block, directed towards decreasingly position order, together with modulus of said next non-zero coefficient if modulus of said next non-zero coefficient is among [1,n] or an indication of >n if modulus of said next non-zero coefficient is greater than n as an event of among a number of possible events in a second VLC, and defining said next non-zero coefficient to be said currently last non-zero coefficient, b repeating step a if modulus of said currently last non-zero coefficient is among [1,n] III if modulus of said last or currently last non-zero coefficient is greater than n, a specifying modulus of each coefficients not specified in step I-II and corresponding positions according to one or more VLCs.