Patent ID: 11936870
Assignee: SAMSUNG ELECTRONICS CO., LTD.
Field: Audio-visual technology (Electrical engineering)
Classification: CPC H | IPC H

Claim 2:
3. An image encoding method comprising:
determining at least one coding unit by hierarchically splitting a current image;
determining at least one transform unit comprised in the coding unit;
determining whether to encode residual data of the at least one transform unit according to a transform skip mode;
based on determining that the residual data is to be encoded according to the transform skip mode, generating a significant subgroup flag about a subgroup in the at least one transform unit;
based on the subgroup including at least one non-zero significant coefficient and scanning information about coefficients of the subgroup, generating at least one first bin by arithmetic encoding at least one of a significant coefficient flag, a sign flag, a first flag, and a parity flag of a coefficient of a current scan position by using a context model, the number of the at least one first bin being equal to or less than a predetermined number of bins; and
generating a bitstream including the residual data that includes the significant subgroup flag and the first bin,
wherein the significant subgroup flag indicates whether the subgroup comprises at least one non-zero significant coefficient,
the significant coefficient flag indicates whether the coefficient of the current scan position is a non-zero coefficient,
the first flag indicates whether an absolute value of the coefficient of the current scan position is greater than 1, and
the parity flag of the coefficient of the current scan position indicates whether the coefficient of the current scan position is an odd number or an even number.