US 12,225,224 B2
Methods for decoding or coding prediction mode, decoding or coding apparatus, and storage medium
Fangdong Chen, Zhejiang (CN)
Assigned to Hangzhou Hikvision Digital Technology Co., Ltd., Zhejiang (CN)
Appl. No. 17/614,141
Filed by HANGZHOU HIKVISION DIGITAL TECHNOLOGY CO., LTD., Zhejiang (CN)
PCT Filed Jun. 19, 2020, PCT No. PCT/CN2020/097177
§ 371(c)(1), (2) Date Nov. 24, 2021,
PCT Pub. No. WO2020/253841, PCT Pub. Date Dec. 24, 2020.
Claims priority of application No. 201910544430.2 (CN), filed on Jun. 21, 2019.
Prior Publication US 2022/0264136 A1, Aug. 18, 2022
Int. Cl. H04N 19/46 (2014.01); H04N 19/137 (2014.01); H04N 19/159 (2014.01); H04N 19/176 (2014.01)
CPC H04N 19/46 (2014.11) [H04N 19/137 (2014.11); H04N 19/159 (2014.11); H04N 19/176 (2014.11)] 20 Claims
OG exemplary drawing
 
1. A method for decoding a prediction mode comprising:
in response to determining that a merge mode is enabled for a current block and a current candidate prediction mode is allowed for the current block:
acquiring enablement states of one or more to-be-traversed prediction modes, wherein the one or more to-be-traversed prediction modes comprise at least one candidate prediction mode used for predicting the current block, the at least one candidate prediction mode being different than the current candidate prediction mode;
at a first time in response to determining that a candidate prediction mode being allowed is present in the one or more to-be-traversed prediction modes, decoding indication information of the current candidate prediction mode from a code stream, wherein the indication information is configured to indicate whether to enable the current candidate prediction mode for the current block; and
at a second time, in response to determining that none of the one or more to-be-traversed prediction modes is allowed, determining that the current candidate prediction mode is used for the current block without decoding the indication information of the current candidate prediction mode from the code stream,
wherein the method is executed by a processor.