Patent ID: 9516316
Filing Date: 2016-12-06
CPC Classification: H04N

Claim Text:
1. A method of coding luma blocks and chroma blocks of video data, comprising: obtain a plurality of blocks of video data; responsive to determining that a first block of the plurality of blocks of video data is a luma block that is greater than a threshold size, adaptively updating a variable length coding (VLC) table index value used to select a VLC table of a plurality of VLC tables based on a scaling factor and a code number that is based on a position of a last non-zero transform coefficient of the first block of video data in a scan order and whether a magnitude of the last non-zero coefficient of the first block of video data is one or greater than one; responsive to determining that a second block of the plurality of blocks of video data is a luma block that is not greater than the threshold size, adaptively updating the VLC table index value without using the scaling factor and based on a code number that is based on a position of a last non-zero transform coefficient of the second block of video data in the scan order and whether a magnitude of the last non-zero coefficient of the second block of video data is one or greater than one; responsive to determining that a third block of the plurality of blocks of video data is a chroma block of any size, adaptively updating the VLC table index value without using the scaling factor and based on a code number that is based on a position of a last non-zero transform coefficient of the third block of video data in the scan order and whether a magnitude of the last non-zero coefficient of the third block of video data is one or greater than one; and encoding or decoding, based on the updated VLC table index value, a next block of the plurality of blocks of video data.