Patent ID: 9350998
Filing Date: 2016-05-24
CPC Classification: H04N

Claim Text:
1. A method of decoding video data, the method comprising: determining a distance between a first position and a second position, wherein the first position is at a first row of a grid of sub-blocks of a transform coefficient block and a first column of the grid, a current sub-block of the transform coefficient block is in the first row of the grid and the first column of the grid, the second position is at a second row of the grid and a second column of the grid, and a sub-block that contains a last significant coefficient (LSC) of the transform coefficient block is in the second row of the grid and the second column of the grid; determining, based at least in part on the distance, coding contexts for significance flags for transform coefficients of the current sub-block, entropy decoding, based on the coding contexts for the significance flags for the transform coefficients of the current sub-block, the significance flags for the transform coefficients of the current sub-block; and reconstructing, based in part on the significance flags for the transform coefficients of the current sub-block, a coding block of the video data.