CPC H04N 19/44 (2014.11) [H04N 19/119 (2014.11); H04N 19/176 (2014.11); H04N 19/46 (2014.11)] | 20 Claims |
1. A video decoding method, executed by an electronic device, the method comprising:
segmenting to-be-decoded coefficients according to a scan order of a scan region-based coefficient coding (SRCC) scan region in a coding block of a video image frame to obtain one or more coefficient parts;
decoding a coefficient part all zero flag of each of the coefficient parts to obtain a value of the coefficient part all zero flag, the coefficient part all zero flag being used for indicating whether all coefficients in the coefficient part are zero;
decoding a significant flag of each coefficient in the coefficient part according to the scan order in response to the value of the coefficient part all zero flag being a preset first value, the significant flag being used for indicating whether the coefficient is a non-zero coefficient; and
skipping decoding the significant flag and setting the significant flag of each coefficient in the coefficient part to zero, in response to the value of the coefficient part all zero flag being a preset second value.
|