Patent ID: 9490839
Filing Date: 2016-11-08
CPC Classification: H03M,H04N

Claim Text:
1. A method for decoding a block of video data, comprising: storing, in memory, a mapping table that maps entries to codeword numbers, each respective entry of the entries mapping a respective level identifier and run value pair for a respective coefficient position of the block of the video data below a threshold, wherein the block of video data includes coefficient positions greater than the threshold; in response to determining a first coefficient of the block is at a coefficient position greater than the threshold, using a first technique to map from a first code number cn for a first transform coefficient to a first run value for the first transform coefficient, wherein the first technique comprises determining the first run value for the first transform coefficient as a function of the first code number without using the mapping table, wherein the first run value for the first transform coefficient indicates a number of zero value coefficients between the first transform coefficient and a next non-zero coefficient after the first transform coefficient; in response to determining a second coefficient of the block is at a coefficient position less than the threshold, using a second technique different from the first technique to map from a second code number cn for a second transform coefficient to a second run value for the second transform coefficient, wherein the second technique comprises using the respective code word for the respective transform coefficient to identify an entry in the mapping table indicating the second run value for the second transform coefficient, wherein the second run value for the second transform coefficient indicates a number of zero value coefficients between the second transform coefficient and a next non-zero coefficient after the second transform coefficient; and using the first run value for the first transform coefficient and the second run value for the second transform coefficient to decode the block of video data.