Patent ID: 9681152
Date: 2017-06-13
CPC Classifications: H04N

Claim:
1. A decoder, the decoder comprising: one or more processors; a memory; and a decoding application stored in the memory and executable by said one or more processors to reconstruct a current block of residual data from an encoded block of residual data in a bitstream of encoded video, the current block partitioned into coefficient groups, each coefficient group comprising transform coefficients, wherein, when executed for a current coefficient group, which is a non-zero coefficient group prior to the last non-zero coefficient group in a group scan ordering of the coefficient groups within the current block, the application: decodes coordinates (X, Y) representative of the true (x,y)-position, in the current coefficient group, of the last non-zero transform coefficient in a scan ordering of the transform coefficients in the current coefficient group, and applies a non-identity modification to the coordinates (X, Y) to compute the true (x,y)-position of the last non-zero transform coefficient, wherein the modification is based upon at least one of: an intra-prediction mode used in generating the encoded block; and at least one coefficient group neighbouring the current coefficient group.