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

Claim Text:
1. A method of processing a transform unit having an array of coefficients, comprising: (a) determining if all of the coefficients of a portion of the transform unit disposed on a portion of a scan pattern are zero; (b) setting a flag associated with the portion of the transform unit to a first value if at least one of the coefficients of the portion of the transform unit coefficients disposed on the portion of the scan pattern are non-zero by determining if all of the coefficients of the further portions of the transform unit coefficients disposed on the scan pattern are zero, setting no further flags if all of the coefficients of the further portions of the transform unit coefficients are zero, and setting the further flag only if at least one of the coefficients of the remaining portions of the transform unit coefficients disposed on the remaining portion of the scan pattern is non-zero; (c) setting the flag associated with the portion of the transform unit coefficients to a second value if all of the coefficients of the portion of the transform unit coefficients disposed in the portion of the scan pattern are zero; (d) repeating steps (a)-(c) to set a further flag associated with each further portion of the transform unit coefficients disposed on each further portion of the scan pattern; and (e) encoding the flags and at least a portion of the transform unit coefficients into a coded bitstream.