Patent ID: 9698822
Date: 2017-07-04
CPC Classifications: H03M,H04N

Claim:
1. A non-transitory computer-readable storage medium having a computer program stored thereon, said computer program executable by a computer to perform a method for video decoding, the method comprising the steps of: decoding a significance mapping; and decoding a subsequent coding of values of transform coefficients being unequal to zero for blocks of video pictures containing transform coefficients being unequal to zero, the significance map specifying the positions of the transform coefficients being unequal to zero in a scan order, and the coding of values of transform coefficients being unequal to zero comprising coded values of the transform coefficients being unequal to zero in a reverse scan order—starting with the last transform coefficient being unequal to zero, wherein the decoding the significance mapping is performed in a context-dependent way in the scan order using contexts depending on the corresponding scan position of the transform coefficient considered; and wherein the decoding the subsequent coding of the values of the transform coefficients being unequal to zero, includes, in the reverse scan order, binary arithmetically decoding bins of a binarization of a magnitude of the transform coefficients being unequal to zero in a context-dependent way using contexts depending on how many transform coefficients having a magnitude of 1 have already been decoded in the reverse scan order up to a respective currently decoded transform coefficient, and how many transform coefficients having a magnitude of greater than 1 have already been decoded in the reverse scan order up to the respective currently decoded transform coefficient, respectively, with decoding all bins of the binarization of the respective currently to be decoded transform coefficient being unequal to zero before proceeding with decoding the bins of the binarization of a—in the reverse scan order—succeeding transform coefficient being unequal to zero.