US 12,256,072 B2
Video decoding method and apparatus, computerreadable medium, and electronic device
Liqiang Wang, Shenzhen (CN); Xiaozhong Xu, Shenzhen (CN); and Shan Liu, Shenzhen (CN)
Assigned to TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED, Shenzhen (CN)
Filed by TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED, Shenzhen (CN)
Filed on Sep. 8, 2022, as Appl. No. 17/940,467.
Application 17/940,467 is a continuation of application No. PCT/CN2021/112355, filed on Aug. 12, 2021.
Claims priority of application No. 202010855608.8 (CN), filed on Aug. 21, 2020.
Prior Publication US 2023/0007254 A1, Jan. 5, 2023
Int. Cl. H04N 19/12 (2014.01); H04N 19/124 (2014.01); H04N 19/13 (2014.01); H04N 19/176 (2014.01); H04N 19/70 (2014.01)
CPC H04N 19/12 (2014.11) [H04N 19/124 (2014.11); H04N 19/13 (2014.11); H04N 19/176 (2014.11); H04N 19/70 (2014.11)] 17 Claims
OG exemplary drawing
 
1. A video decoding method, comprising:
performing entropy decoding processing on a code block of a video image frame of a video image frame sequence, to obtain a quantization coefficient block of residual data corresponding to the code block;
collecting statistics of quantization coefficients in a target region in the quantization coefficient block, to obtain a quantization coefficient statistical value, comprising:
performing a numerical value conversion according to numerical values of the quantization coefficients in the target region, including: converting the numerical values that are odd numbers into a first numerical value, converting the numerical values that are even numbers into a second numerical value, one of the first numerical value and the second numerical value being an even number, and the other one of the first numerical value and the second numerical value being an odd number;
calculating a sum of odd number values or a sum of even number values of the quantization coefficients in the target region after the numerical value conversion, and using the obtained sum as a statistical result; and
determining the quantization coefficient statistical value based on the statistical result;
selecting a transform matrix combination corresponding to the quantization coefficient statistical value based on a parity of the quantization coefficient statistical value; and
performing inverse transform processing on an inverse quantization result of the quantization coefficient block based on the selected transform matrix combination, to obtain reconstructed residual data, the reconstructed residual data being used for video image reconstruction.