US 12,149,697 B2
Encoding method and encoder
Junkai Feng, Xi'an (CN); Bo Qu, Xi'an (CN); and Liping Wang, Shenzhen (CN)
Assigned to Huawei Technologies Co., Ltd., Shenzhen (CN)
Filed by HUAWEI TECHNOLOGIES CO., LTD., Guangdong (CN)
Filed on Jun. 29, 2022, as Appl. No. 17/853,714.
Application 17/853,714 is a continuation of application No. PCT/CN2020/139681, filed on Dec. 25, 2020.
Claims priority of application No. 201911409778.7 (CN), filed on Dec. 31, 2019.
Prior Publication US 2022/0329818 A1, Oct. 13, 2022
Int. Cl. H04N 19/132 (2014.01); H04N 19/103 (2014.01); H04N 19/146 (2014.01); H04N 19/176 (2014.01)
CPC H04N 19/132 (2014.11) [H04N 19/103 (2014.11); H04N 19/146 (2014.11); H04N 19/176 (2014.11)] 20 Claims
OG exemplary drawing
 
1. An encoding method, comprising:
performing bit truncation on a to-be-encoded block when a bit rate control condition is satisfied;
calculating a first cost value corresponding to the bit truncation;
predicting the to-be-encoded block to determine a prediction residual of the to-be-encoded block when the bit rate control condition is satisfied;
calculating, based on the prediction residual, a second cost value corresponding to the prediction; and
comparing the first cost value with the second cost value to determine an encoded bit.