CPC H04N 19/60 (2014.11) [H04N 19/132 (2014.11); H04N 19/176 (2014.11); H04N 19/70 (2014.11)] | 1 Claim |
1. A decoder for decoding residual coding information, the decoder comprising:
a header decoder that decodes:
(i) a transform skip enabled flag in a sequence parameter set; and
(ii) a transform skip residual coding disabled flag specifying whether a transform skip residual coding is used, based on a value of the transform skip enabled flag being equal to one; and
a TU decoder that decodes:
(i) a transform skip flag specifying whether a transform is applied to an associated block or not, based on the value of the transform skip enabled flag being equal to one and a value of a bdpcm flag being equal to zero; and
(ii) a transform coefficient data by using a regular residual coding which is used for decoding a syntax element specifying a position of a last significant coefficient in a scanning order within a transform block or the transform skip residual coding which is used for decoding without a transform,
wherein:
if a value of the transform skip flag is equal to zero or a value of the transform skip residual coding disabled flag is equal to one, the TU decoder uses the regular residual coding;
otherwise, the TU decoder uses the transform skip residual coding;
a value of the transform skip residual coding disabled flag is inferred to be equal to zero, in a case that the transform skip residual coding disabled flag is not present; and
the transform skip flag is not present in a transform unit syntax structure in a case that the value of the transform skip enabled flag is equal to zero.
|