Methods for video decoding and encoding, apparatuses and non-transitory storage media are provided. In one decoding method, the decoder obtains a context compressed binarized value generated by compressing a binarized value using one or more contexts, where the binarized value is obtained by binarizing a blending index, and includes one or more bins. Furthermore, the decoder obtains the blending index based on the context compressed binarized value. Moreover, the decoder obtains a blending width for a current block based on the blending index and a mapping relationship between a plurality of blending indices and a set of blending widths, where the current block is partitioned into two parts along a partition line for prediction in a geometric partitioning mode.
Full Text
What is claimed is: