| CPC H04N 19/70 (2014.11) [H04N 19/176 (2014.11); H04N 19/46 (2014.11)] | 20 Claims |

|
1. A coefficient decoding method, comprising:
parsing an obtained bitstream, and decoding syntax elements of a to-be-decoded coefficient; and
determining a value of the to-be-decoded coefficient according to the syntax elements obtained by decoding,
wherein the syntax elements comprise: a non-zero flag, M flags in which an absolute value is greater than Xi, a modulo result flag, a remainder value, and a sign flag; an absolute value of the to-be-decoded coefficient is a sum obtained by adding a sum of an encoded value of the non-zero flag, encoded values of the M flags in which the absolute value is greater than Xi, and a preset numerical value corresponding to an encoded value of the modulo result flag, to a product of an encoded value of the remainder value and N; the value of the to-be-decoded coefficient is a value determined according to the absolute value of the to-be-decoded coefficient and the sign flag indicating a positive or negative characteristic; the encoded value of the modulo result flag is determined according to a modulo operation of the coefficient on N, i≥M, i and M are positive integers, N is a positive integer greater than 1, Xi is a positive integer, and when values of i are different, values of Xi are different and incremental with the values of i.
|