Encoder, decoder and corresponding method for constructing most probable mode list for blocks using multi-hypothesis prediction - Patents.com

By acquiring and using the display parameters and index parameters of the encoding block in the video decoding device, determining whether multi-assumption prediction is applied, and decoding is performed based on the index parameters and the default list acquisition internal prediction mode, the problem of low decoding efficiency in the prior art is solved, and more efficient video decoding is achieved.

JP7655999B2Active Publication Date: 2025-04-02HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
JP2023163749
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2018-12-20
Filing Date
2023-09-26
Publication Date
2025-04-02
Estimated Expiration
2039-11-29

AI Technical Summary

Technical Problem

The existing video encoding technology has low decoding efficiency under multi-assumption prediction in data streams, resulting in difficulty in meeting the growing demands of video quality under limited bandwidth and storage resources.

Method used

By implementing a method in the decoding device, the display parameters and index parameters of the current encoding block are obtained, thereby determining whether multi-assumption prediction is applied. When multi-assumption prediction is applied, the intraprediction mode of the current encoded block is obtained based on the index parameters and the default list and decoded.

Benefits of technology

The computing efficiency of video decoding is improved, and the efficiency of video decoding is enhanced, thereby improving video quality under limited bandwidth and storage resources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007655999000004
    Figure 0007655999000004
  • Figure 0007655999000005
    Figure 0007655999000005
  • Figure 0007655999000006
    Figure 0007655999000006
Patent Text Reader

Abstract

To improve a block of a picture in decoding or encoding.SOLUTION: An invention relates to a field of picture processing. A method of decoding a block of a picture comprises obtaining an indication parameter for a current encoding block. The indication parameter represents whether a multi-hypothesis prediction is applied to the current encoding block. When the indication parameter represents that the multi-hypothesis prediction is applied to the current coding block, the current coding block is decoded according to a planar mode.SELECTED DRAWING: Figure 7
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0002] FIELD OF THE DISCLOSURE Embodiments of the present application relate generally to the field of picture processing, and more particularly to constructing a most probable mode list. [Background technology]

[0003] Video coding (video encoding and video decoding) is used in a wide range of digital video applications, such as broadcast digital TV, video transmission over the Internet and mobile networks, real-time interactive applications such as video chat, video conferencing, DVDs and Blu-ray® discs, video content collection and editing systems, and camcorders for security applications.

[0004] The amount of video data required to render even a relatively short video can be substantial, which can pose difficulties when the data is to be streamed or otherwise communicated across communication networks with limited bandwidth capacity. Thus, video data is generally compressed before being communicated across modern telecommunication networks. The size of the video can also be an issue when the video is stored on a storage device, since memory resources may be limited. Video compression devices often use software and / or hardware at the source to code the video data prior to transmission or storage, thereby reducing the amount of data required to represent a digital video image. The compressed data is then received at the destination by a video decompression device, which decodes the video data. With limited network resources and an ever-increasing demand for higher video quality, improved compression and decompression techniques are desirable that improve compression ratios with little sacrifice in picture quality. Summary of the Invention [Means for solving the problem]

[0005] It is an object of the present invention to provide an improved method and apparatus that allows reducing the computational complexity of decoding and thus increasing video decoding efficiency.

[0006] These and other objects are achieved by the subject matter of the independent claims. Further implementations are evident from the dependent claims, the description and the figures.

[0007] According to a first aspect, the present disclosure relates to a method for decoding a block of a picture (or a frame), performed by a decoding device, the method comprising the steps of: obtaining a display parameter for a current coding block according to a bitstream, the display parameter indicating whether multi-hypothesis prediction is applied to the current coding block; obtaining an index parameter for a current coding block according to the bitstream; When multi-hypothesis prediction is applied to the current coding block according to the value of the display parameter, the method includes the steps of obtaining an intra-prediction mode for the current coding block according to an index parameter and a predefined list, the predefined list comprising the following intra-prediction modes, in order: planar mode, DC mode, vertical mode, horizontal mode; and decoding the current coding block according to the intra-prediction mode for the current coding block.

[0008] According to a second aspect, the present disclosure relates to a method for decoding a block of a picture (or a frame), performed by a decoding device, the method comprising the steps of: obtaining a display parameter for a current coding block according to a bitstream, the display parameter indicating whether multi-hypothesis prediction is applied to the current coding block; obtaining an index parameter for a current coding block according to the bitstream; When multi-hypothesis prediction is applied to the current coding block according to the value of the display parameter, the method includes the steps of obtaining an intra-prediction mode for the current coding block according to an index parameter and a predefined list, the predefined list comprising the following intra-prediction modes, in order: planar mode, DC mode, vertical mode; and decoding the current coding block according to the intra-prediction mode for the current coding block.

[0009] According to a third aspect, the present disclosure relates to a method for decoding a block of a picture (or a frame), performed by a decoding device, the method comprising the steps of: obtaining a display parameter for a current coding block according to a bitstream, the display parameter indicating whether multi-hypothesis prediction is applied to the current coding block; obtaining an index parameter for a current coding block according to the bitstream; When multi-hypothesis prediction is applied to the current coding block according to the value of the display parameter, obtaining an intra prediction mode for a current coding block according to an index parameter and a predefined list, the predefined list comprising the following intra prediction modes in order: planar mode, DC mode; and decoding the current coding block according to the intra-prediction mode for the current coding block.

[0010] According to a fourth aspect, the present disclosure relates to a method for decoding a block of a picture (or a frame), implemented by a decoding device, the method comprising: obtaining a display parameter for a current coding block according to the bitstream, the display parameter indicating whether multi-hypothesis prediction is applied to the current coding block; When multi-hypothesis prediction is applied to the current coding block according to the value of the display parameter, and decoding the current coding block according to a planar mode.

[0011] According to a fifth aspect, the present disclosure relates to a method for decoding a block of a picture (or a frame), implemented by a decoding device, the method comprising: obtaining a display parameter for a current coding block according to the bitstream, the display parameter indicating whether multi-hypothesis prediction is applied to the current coding block; obtaining an index parameter for a current coding block according to the bitstream; When multi-hypothesis prediction is applied to the current coding block according to the value of the display parameter, obtaining an intra-prediction mode for a current coding block according to an index parameter and a predefined list, the predefined list comprising the following intra-prediction modes in order: DC mode, planar mode, vertical mode, horizontal mode; and decoding the current coding block according to the intra-prediction mode for the current coding block.

[0012] According to a sixth aspect, the present disclosure relates to a method for decoding a block of a picture (or a frame), performed by a decoding device, the method comprising: obtaining a display parameter for a current coding block according to the bitstream, the display parameter indicating whether multi-hypothesis prediction is applied to the current coding block; obtaining an index parameter for a current coding block according to the bitstream; When multi-hypothesis prediction is applied to the current coding block according to the value of the display parameter, obtaining an intra prediction mode for a current coding block according to an index parameter and a predefined list, the predefined list comprising the following intra prediction modes in order: DC mode, planar mode, vertical mode; and decoding the current coding block according to the intra-prediction mode for the current coding block.

[0013] According to a seventh aspect, the present disclosure relates to a method of decoding a block of a picture (or a frame), performed by a decoding device, the method comprising: obtaining a display parameter for a current coding block according to the bitstream, the display parameter indicating whether multi-hypothesis prediction is applied to the current coding block; obtaining an index parameter for a current coding block according to the bitstream; When multi-hypothesis prediction is applied to the current coding block according to the value of the display parameter, obtaining an intra prediction mode for a current coding block according to an index parameter and a predefined list, the predefined list comprising the following intra prediction modes in order: DC mode, planar mode; and decoding the current coding block according to the intra-prediction mode for the current coding block.

[0014] According to an eighth aspect, the present disclosure relates to a method of decoding a block of a picture (or a frame), performed by a decoding device, the method comprising: obtaining a display parameter for a current coding block according to the bitstream, the display parameter indicating whether multi-hypothesis prediction is applied to the current coding block; When multi-hypothesis prediction is applied to the current coding block according to the value of the display parameter, and decoding the current coding block according to the DC mode.

[0015] According to a ninth aspect, the present disclosure relates to a method for constructing a most probable mode MPM list for intra prediction, the method comprising: determining whether a block to the left of the current coding block (e.g., block L in FIG. 6 ) is available (e.g., if there is no intra-prediction mode for the left block, the left block is not available, and if there is an intra-prediction mode for the left block, the left block is available); and adding a horizontal mode into the MPM list when a block to the left of the current coding block is available and a value corresponding to the intra-prediction mode of the left block is within a first predefined range (in one example, the range may be from 2 to 34, inclusive).

[0016] According to a tenth aspect, the present disclosure relates to a method for constructing a most probable mode MPM list for intra prediction, the method comprising: determining whether a block to the left of the current coding block (e.g., block L in FIG. 6 ) is available (e.g., if there is no intra-prediction mode for the left block, the left block is not available, and if there is an intra-prediction mode for the left block, the left block is available); and adding a vertical mode into the MPM list when a block to the left of the current coding block is available and a value corresponding to the intra-prediction mode of the left block is within a first predefined range (in one example, the range may be from 35 to 66, inclusive).

[0017] According to an eleventh aspect, the present disclosure relates to a method for configuring a most probable mode MPM list for intra prediction, the method comprising: determining whether a block to the left of the current coding block (e.g., block L in FIG. 6 ) is available (e.g., if there is no intra-prediction mode for the left block, the left block is not available, and if there is an intra-prediction mode for the left block, the left block is available); Determining whether a block above the current coding block (e.g., block A in FIG. 6 ) is available (e.g., if there is no intra-prediction mode of the block above, the block above is not available, and if there is an intra-prediction mode of the block above, the block above is available); adding a horizontal mode into the MPM list when a left block of the current coding block is available and a value corresponding to an intra-prediction mode of the left block is within a first predefined range (in one example, the range may be from 2 to 34, inclusive); and adding another horizontal mode into the MPM list when a block above the current coding block is available and a value corresponding to the intra-prediction mode of the above block is within a first predefined range (in one example, the range may be from 2 to 34, inclusive).

[0018] According to a twelfth aspect, the present disclosure relates to a method for constructing a most probable mode MPM list for intra prediction, the method comprising: determining whether a block to the left of the current coding block (e.g., block L in FIG. 6 ) is available (e.g., if there is no intra-prediction mode for the left block, the left block is not available, and if there is an intra-prediction mode for the left block, the left block is available); Determining whether a block above the current coding block (e.g., block A in FIG. 6 ) is available (e.g., if there is no intra-prediction mode of the block above, the block above is not available, and if there is an intra-prediction mode of the block above, the block above is available); adding a horizontal mode into the MPM list when a left block of the current coding block is available and a value corresponding to an intra-prediction mode of the left block is within a first predefined range (in one example, the range may be from 2 to 34, inclusive); and adding planar mode, DC mode, and vertical mode to the MPM list when a block above the current coding block is available and a value corresponding to the intra-prediction mode of the above block is within a first predefined range (in one example, the range may be from 2 to 34, inclusive).

[0019] According to a thirteenth aspect, the present disclosure relates to a method for constructing a most probable mode MPM list for intra prediction, the method comprising: determining whether a block to the left of the current coding block (e.g., block L in FIG. 6 ) is available (e.g., if there is no intra-prediction mode for the left block, the left block is not available, and if there is an intra-prediction mode for the left block, the left block is available); Determining whether a block above the current coding block (e.g., block A in FIG. 6 ) is available (e.g., if there is no intra-prediction mode of the block above, the block above is not available, and if there is an intra-prediction mode of the block above, the block above is available); adding a horizontal mode into the MPM list when a left block of the current coding block is available and a value corresponding to an intra-prediction mode of the left block is within a first predefined range (in one example, the range may be from 2 to 34, inclusive); and adding a vertical mode into the MPM list when a block above the current coding block is available and a value corresponding to the intra prediction mode of the above block is within a second predefined range (in one example, the range may be from 35 to 66, inclusive).

[0020] According to a fourteenth aspect, the present disclosure relates to a method for constructing a most probable mode MPM list for intra prediction, the method comprising: determining whether a block to the left of the current coding block (e.g., block L in FIG. 6 ) is available (e.g., if there is no intra-prediction mode for the left block, the left block is not available, and if there is an intra-prediction mode for the left block, the left block is available); Determining whether a block above the current coding block (e.g., block A in FIG. 6 ) is available (e.g., if there is no intra-prediction mode of the block above, the block above is not available, and if there is an intra-prediction mode of the block above, the block above is available); adding a vertical mode into the MPM list when a left block of the current coding block is available and a value corresponding to an intra-prediction mode of the left block is within a second predefined range (in one example, the range may be from 35 to 66, inclusive); and adding another vertical mode into the MPM list when a block above the current coding block is available and a value corresponding to the intra prediction mode of the above block is within a second predefined range (in one example, the range may be from 35 to 66, inclusive).

[0021] According to a fifteenth aspect, the present disclosure relates to a method for configuring a most probable mode MPM list for intra prediction, the method comprising: determining whether a block to the left of the current coding block (e.g., block L in FIG. 6 ) is available (e.g., if there is no intra-prediction mode for the left block, the left block is not available, and if there is an intra-prediction mode for the left block, the left block is available); Determining whether a block above the current coding block (e.g., block A in FIG. 6 ) is available (e.g., if there is no intra-prediction mode of the block above, the block above is not available, and if there is an intra-prediction mode of the block above, the block above is available); adding a vertical mode into the MPM list when a left block of the current coding block is available and a value corresponding to an intra-prediction mode of the left block is within a second predefined range (in one example, the range may be from 35 to 66, inclusive); and adding planar mode, DC mode, and horizontal mode to the MPM list when a block above the current coding block is available and a value corresponding to the intra-prediction mode of the above block is within a second predefined range (in one example, the range may be from 35 to 66, inclusive).

[0022] According to a sixteenth aspect, the present disclosure relates to a method of configuring a most probable mode MPM list for intra prediction, the method comprising: determining whether a block to the left of the current coding block (e.g., block L in FIG. 6 ) is available (e.g., if there is no intra-prediction mode for the left block, the left block is not available, and if there is an intra-prediction mode for the left block, the left block is available); Determining whether a block above the current coding block (e.g., block A in FIG. 6 ) is available (e.g., if there is no intra-prediction mode of the block above, the block above is not available, and if there is an intra-prediction mode of the block above, the block above is available); adding a vertical mode into the MPM list when a left block of the current coding block is available and a value corresponding to an intra-prediction mode of the left block is within a second predefined range (in one example, the range may be from 35 to 66, inclusive); and adding a horizontal mode into the MPM list when a block above the current coding block is available and a value corresponding to the intra prediction mode of the above block is within a first predefined range (in one example, the range may be from 2 to 34, inclusive).

[0023] According to a seventeenth aspect, the present disclosure relates to a method of configuring a most probable mode MPM list for intra prediction, the method comprising: determining whether a block to the left of the current coding block (e.g., block L in FIG. 6 ) is available (e.g., if there is no intra-prediction mode for the left block, the left block is not available, and if there is an intra-prediction mode for the left block, the left block is available); Determining whether a block above the current coding block (e.g., block A in FIG. 6 ) is available (e.g., if there is no intra-prediction mode of the block above, the block above is not available, and if there is an intra-prediction mode of the block above, the block above is available); When the block to the left of the current coding block is not available and the block above the current coding block is not available, and adding a planar mode and a DC mode to the MPM list.

[0024] According to an eighteenth aspect, the present disclosure relates to a method of configuring a most probable mode MPM list for intra prediction, the method comprising: determining whether a block to the left of the current coding block (e.g., block L in FIG. 6 ) is available (e.g., if there is no intra-prediction mode for the left block, the left block is not available, and if there is an intra-prediction mode for the left block, the left block is available); Determining whether a block above the current coding block (e.g., block A in FIG. 6 ) is available (e.g., if there is no intra-prediction mode of the block above, the block above is not available, and if there is an intra-prediction mode of the block above, the block above is available); When the block to the left of the current coding block is not available, the block above the current coding block is available, and the intra prediction mode of the block above is a planar mode, and adding a planar mode and a DC mode to the MPM list.

[0025] According to a nineteenth aspect, the present disclosure relates to a method for configuring a most probable mode MPM list for intra prediction, the method comprising: determining whether a block to the left of the current coding block (e.g., block L in FIG. 6 ) is available (e.g., if there is no intra-prediction mode for the left block, the left block is not available, and if there is an intra-prediction mode for the left block, the left block is available); Determining whether a block above the current coding block (e.g., block A in FIG. 6 ) is available (e.g., if there is no intra-prediction mode of the block above, the block above is not available, and if there is an intra-prediction mode of the block above, the block above is available); When the block to the left of the current coding block is not available, the block above the current coding block is available, and the intra prediction mode of the block above is DC mode, and adding a DC mode and a planar mode to the MPM list.

[0026] According to a twentieth aspect, the present disclosure relates to a method of configuring a most probable mode MPM list for intra prediction, the method comprising: determining whether a block to the left of the current coding block (e.g., block L in FIG. 6 ) is available (e.g., if there is no intra-prediction mode for the left block, the left block is not available, and if there is an intra-prediction mode for the left block, the left block is available); Determining whether a block above the current coding block (e.g., block A in FIG. 6 ) is available (e.g., if there is no intra-prediction mode of the block above, the block above is not available, and if there is an intra-prediction mode of the block above, the block above is available); When a block to the left of the current coding block is not available, a block above the current coding block is available, and a value corresponding to an intra-prediction mode of the block above is within a second predefined range (in one example, the range may be from 35 to 66, inclusive); adding a vertical mode, a DC mode, and a planar mode to the MPM list.

[0027] According to a twenty-first aspect, the present disclosure relates to a method of configuring a most probable mode MPM list for intra prediction, the method comprising: determining whether a block to the left of the current coding block (e.g., block L in FIG. 6 ) is available (e.g., if there is no intra-prediction mode for the left block, the left block is not available, and if there is an intra-prediction mode for the left block, the left block is available); Determining whether a block above the current coding block (e.g., block A in FIG. 6 ) is available (e.g., if there is no intra-prediction mode of the block above, the block above is not available, and if there is an intra-prediction mode of the block above, the block above is available); When a block to the left of the current coding block is not available, a block above the current coding block is available, and a value corresponding to an intra-prediction mode of the block above is within a first predefined range (in one example, the range may be from 2 to 34, inclusive); and adding a horizontal mode and a DC mode to the MPM list.

[0028] According to a twenty-second aspect, the present disclosure relates to a method of configuring a most probable mode MPM list for intra prediction, the method comprising: determining whether a block to the left of the current coding block (e.g., block L in FIG. 6 ) is available (e.g., if there is no intra-prediction mode for the left block, the left block is not available, and if there is an intra-prediction mode for the left block, the left block is available); Determining whether a block above the current coding block (e.g., block A in FIG. 6 ) is available (e.g., if there is no intra-prediction mode of the block above, the block above is not available, and if there is an intra-prediction mode of the block above, the block above is available); When a block to the left of the current coding block is available, the intra prediction mode of the left block is a planar mode, and the block above the current coding block is not available, and adding a planar mode and a DC mode to the MPM list.

[0029] According to a twenty-third aspect, the present disclosure relates to a method of configuring a most probable mode MPM list for intra prediction, the method comprising: determining whether a block to the left of the current coding block (e.g., block L in FIG. 6 ) is available (e.g., if there is no intra-prediction mode for the left block, the left block is not available, and if there is an intra-prediction mode for the left block, the left block is available); Determining whether a block above the current coding block (e.g., block A in FIG. 6 ) is available (e.g., if there is no intra-prediction mode of the block above, the block above is not available, and if there is an intra-prediction mode of the block above, the block above is available); When a block to the left of a current coding block is available and the intra prediction mode of the left block is a planar mode, and a block above the current coding block is available and the intra prediction mode of the above block is a planar mode, and adding a planar mode and a DC mode to the MPM list.

[0030] According to a twenty-fourth aspect, the present disclosure relates to a method of configuring a most probable mode MPM list for intra prediction, the method comprising: determining whether a block to the left of the current coding block (e.g., block L in FIG. 6 ) is available (e.g., if there is no intra-prediction mode for the left block, the left block is not available, and if there is an intra-prediction mode for the left block, the left block is available); Determining whether a block above the current coding block (e.g., block A in FIG. 6 ) is available (e.g., if there is no intra-prediction mode of the block above, the block above is not available, and if there is an intra-prediction mode of the block above, the block above is available); When a block to the left of a current coding block is available and the intra prediction mode of the left block is a planar mode, and a block above the current coding block is available and the intra prediction mode of the above block is a DC mode, and adding a planar mode and a DC mode to the MPM list.

[0031] According to a twenty-fifth aspect, the present disclosure relates to a method of configuring a most probable mode MPM list for intra prediction, the method comprising: determining whether a block to the left of the current coding block (e.g., block L in FIG. 6 ) is available (e.g., if there is no intra-prediction mode for the left block, the left block is not available, and if there is an intra-prediction mode for the left block, the left block is available); Determining whether a block above the current coding block (e.g., block A in FIG. 6 ) is available (e.g., if there is no intra-prediction mode of the block above, the block above is not available, and if there is an intra-prediction mode of the block above, the block above is available); When a block to the left of the current coding block is available, the intra prediction mode of the left block is a planar mode, a block above the current coding block is available, and a value corresponding to the intra prediction mode of the block above is within a second predetermined range (in one example, the range may be from 35 to 66, inclusive); and adding a planar mode and a vertical mode to the MPM list.

[0032] According to a twenty-sixth aspect, the present disclosure relates to a method of configuring a most probable mode MPM list for intra prediction, the method comprising: determining whether a block to the left of the current coding block (e.g., block L in FIG. 6 ) is available (e.g., if there is no intra-prediction mode for the left block, the left block is not available, and if there is an intra-prediction mode for the left block, the left block is available); Determining whether a block above the current coding block (e.g., block A in FIG. 6 ) is available (e.g., if there is no intra-prediction mode of the block above, the block above is not available, and if there is an intra-prediction mode of the block above, the block above is available); When a block to the left of a current coding block is available, and an intra-prediction mode of the left block is a planar mode, and a block above the current coding block is available, and a value corresponding to the intra-prediction mode of the block above is within a first predefined range (in one example, the range may be from 2 to 34, inclusive); and adding a planar mode and a horizontal mode to the MPM list.

[0033] According to a twenty-seventh aspect, the present disclosure relates to a method of configuring a most probable mode MPM list for intra prediction, the method comprising: determining whether a block to the left of the current coding block (e.g., block L in FIG. 6 ) is available (e.g., if there is no intra-prediction mode for the left block, the left block is not available, and if there is an intra-prediction mode for the left block, the left block is available); Determining whether a block above the current coding block (e.g., block A in FIG. 6 ) is available (e.g., if there is no intra-prediction mode of the block above, the block above is not available, and if there is an intra-prediction mode of the block above, the block above is available); When a block to the left of the current coding block is available, the intra prediction mode of the left block is a DC mode, and the block above the current coding block is not available, and adding a DC mode and a planar mode to the MPM list.

[0034] According to a twenty-eighth aspect, the present disclosure relates to a method of configuring a most probable mode MPM list for intra prediction, the method comprising: determining whether a block to the left of the current coding block (e.g., block L in FIG. 6 ) is available (e.g., if there is no intra-prediction mode for the left block, the left block is not available, and if there is an intra-prediction mode for the left block, the left block is available); Determining whether a block above the current coding block (e.g., block A in FIG. 6 ) is available (e.g., if there is no intra-prediction mode of the block above, the block above is not available, and if there is an intra-prediction mode of the block above, the block above is available); When a block to the left of the current coding block is available and the intra prediction mode of the left block is DC mode, and a block above the current coding block is available and the intra prediction mode of the above block is planar mode, and adding a DC mode and a planar mode to the MPM list.

[0035] According to a twenty-ninth aspect, the present disclosure relates to a method of configuring a most probable mode MPM list for intra prediction, the method comprising: determining whether a block to the left of the current coding block (e.g., block L in FIG. 6 ) is available (e.g., if there is no intra-prediction mode for the left block, the left block is not available, and if there is an intra-prediction mode for the left block, the left block is available); Determining whether a block above the current coding block (e.g., block A in FIG. 6 ) is available (e.g., if there is no intra-prediction mode of the block above, the block above is not available, and if there is an intra-prediction mode of the block above, the block above is available); When a block to the left of a current coding block is available and the intra prediction mode of the left block is DC mode, and a block above the current coding block is available and the intra prediction mode of the above block is DC mode, and adding a DC mode and a planar mode to the MPM list.

[0036] According to a thirtieth aspect, the present disclosure relates to a method of configuring a most probable mode MPM list for intra prediction, the method comprising: determining whether a block to the left of the current coding block (e.g., block L in FIG. 6 ) is available (e.g., if there is no intra-prediction mode for the left block, the left block is not available, and if there is an intra-prediction mode for the left block, the left block is available); Determining whether a block above the current coding block (e.g., block A in FIG. 6 ) is available (e.g., if there is no intra-prediction mode of the block above, the block above is not available, and if there is an intra-prediction mode of the block above, the block above is available); When a block to the left of the current coding block is available, the intra prediction mode of the left block is a DC mode, a block above the current coding block is available, and a value corresponding to the intra prediction mode of the block above is within a second predetermined range (in one example, the range may be from 35 to 66, inclusive); and adding a DC mode and a vertical mode to the MPM list.

[0037] According to a thirty-first aspect, the present disclosure relates to a method of configuring a most probable mode MPM list for intra prediction, the method comprising: determining whether a block to the left of the current coding block (e.g., block L in FIG. 6 ) is available (e.g., if there is no intra-prediction mode for the left block, the left block is not available, and if there is an intra-prediction mode for the left block, the left block is available); Determining whether a block above the current coding block (e.g., block A in FIG. 6 ) is available (e.g., if there is no intra-prediction mode of the block above, the block above is not available, and if there is an intra-prediction mode of the block above, the block above is available); When a block to the left of a current coding block is available, an intra-prediction mode of the left block is a DC mode, a block above the current coding block is available, and a value corresponding to the intra-prediction mode of the block above is within a first predefined range (in one example, the range may be from 2 to 34, inclusive); and adding a DC mode and a horizontal mode to the MPM list.

[0038] According to a thirty-second aspect, the present disclosure relates to a method of configuring a most probable mode MPM list for intra prediction, the method comprising: determining whether a block to the left of the current coding block (e.g., block L in FIG. 6 ) is available (e.g., if there is no intra-prediction mode for the left block, the left block is not available, and if there is an intra-prediction mode for the left block, the left block is available); Determining whether a block above the current coding block (e.g., block A in FIG. 6 ) is available (e.g., if there is no intra-prediction mode of the block above, the block above is not available, and if there is an intra-prediction mode of the block above, the block above is available); and adding a vertical mode, a planar mode into the MPM list when a block to the left of the current coding block is available and a value corresponding to the intra prediction mode of the left block is within a second predefined range (in one example, the range may be from 35 to 66, inclusive), and a block above the current coding block is not available.

[0039] According to a thirty-third aspect, the present disclosure relates to a method of configuring a most probable mode MPM list for intra prediction, the method comprising: determining whether a block to the left of the current coding block (e.g., block L in FIG. 6 ) is available (e.g., if there is no intra-prediction mode for the left block, the left block is not available, and if there is an intra-prediction mode for the left block, the left block is available); Determining whether a block above the current coding block (e.g., block A in FIG. 6 ) is available (e.g., if there is no intra-prediction mode of the block above, the block above is not available, and if there is an intra-prediction mode of the block above, the block above is available); and adding a vertical mode, a planar mode, to the MPM list when a block to the left of the current coding block is available and a value corresponding to the intra-prediction mode of the left block is within a second predefined range (in one example, the range may be from 35 to 66, inclusive), a block above the current coding block is available, and the intra-prediction mode of the block above is a planar mode.

[0040] According to a thirty-fourth aspect, the present disclosure relates to a method of configuring a most probable mode MPM list for intra prediction, the method comprising: determining whether a block to the left of the current coding block (e.g., block L in FIG. 6 ) is available (e.g., if there is no intra-prediction mode for the left block, the left block is not available, and if there is an intra-prediction mode for the left block, the left block is available); Determining whether a block above the current coding block (e.g., block A in FIG. 6 ) is available (e.g., if there is no intra-prediction mode of the block above, the block above is not available, and if there is an intra-prediction mode of the block above, the block above is available); and adding a vertical mode, DC mode, to the MPM list when a block to the left of the current coding block is available and a value corresponding to the intra-prediction mode of the left block is within a second predefined range (in one example, the range may be from 35 to 66, inclusive), a block above the current coding block is available, and the intra-prediction mode of the block above is DC mode.

[0041] According to a thirty-fifth aspect, the present disclosure relates to a method of configuring a most probable mode MPM list for intra prediction, the method comprising: determining whether a block to the left of the current coding block (e.g., block L in FIG. 6 ) is available (e.g., if there is no intra-prediction mode for the left block, the left block is not available, and if there is an intra-prediction mode for the left block, the left block is available); Determining whether a block above the current coding block (e.g., block A in FIG. 6 ) is available (e.g., if there is no intra-prediction mode of the block above, the block above is not available, and if there is an intra-prediction mode of the block above, the block above is available); When a block to the left of a current coding block is available, and a value corresponding to an intra-prediction mode of the left block is within a first predefined range (in one example, the range may be from 2 to 34, inclusive), and a block above the current coding block is not available; and adding a horizontal mode and a planar mode to the MPM list.

[0042] According to a thirty-sixth aspect, the present disclosure relates to a method of configuring a most probable mode MPM list for intra prediction, the method comprising: determining whether a block to the left of the current coding block (e.g., block L in FIG. 6 ) is available (e.g., if there is no intra-prediction mode for the left block, the left block is not available, and if there is an intra-prediction mode for the left block, the left block is available); Determining whether a block above the current coding block (e.g., block A in FIG. 6 ) is available (e.g., if there is no intra-prediction mode of the block above, the block above is not available, and if there is an intra-prediction mode of the block above, the block above is available); When a block to the left of a current coding block is available, and a value corresponding to an intra-prediction mode of the left block is within a first predefined range (in one example, the range may be from 2 to 34, inclusive), and a block above the current coding block is available, and the intra-prediction mode of the block above is a planar mode; and adding a horizontal mode and a planar mode to the MPM list.

[0043] According to a thirty-seventh aspect, the present disclosure relates to a method of configuring a most probable mode MPM list for intra prediction, the method comprising: determining whether a block to the left of the current coding block (e.g., block L in FIG. 6 ) is available (e.g., if there is no intra-prediction mode for the left block, the left block is not available, and if there is an intra-prediction mode for the left block, the left block is available); Determining whether a block above the current coding block (e.g., block A in FIG. 6 ) is available (e.g., if there is no intra-prediction mode of the block above, the block above is not available, and if there is an intra-prediction mode of the block above, the block above is available); When a block to the left of a current coding block is available, and a value corresponding to an intra-prediction mode of the left block is within a first predefined range (in one example, the range may be from 2 to 34, inclusive), and a block above the current coding block is available, and the intra-prediction mode of the block above is a DC mode; and adding a horizontal mode and a DC mode to the MPM list.

[0044] According to a thirty-eighth aspect, the present disclosure relates to a method of processing blocks according to a most probable mode MPM list, the method comprising: Configuring a first MPM list for a current block according to intra modes of neighboring blocks of the current block (in one example, the MPM list of the current block comprises six intra modes. In one example, an MPM list comprising one or more intra modes means that the MPM list comprises one or more values ​​corresponding to one or more intra modes, and one value corresponds to one intra mode); constructing a second MPM list of the current block according to one or more intra-modes of the first MPM list of the current block; Obtaining a display parameter for a current block according to the bitstream, the display parameter indicating whether multi-hypothesis prediction is applied to the current block; Using the first MPM list or the second MPM list to process the current block according to a value of a display parameter (eg, the MPM list may be used in intra prediction of the current block).

[0045] In one possible implementation of the method according to any preceding implementation of the first aspect or the thirty-eighth aspect, the method further comprises the step of: configuring the second MPM list of the current block according to one or more intra-modes of the first MPM list of the current block: The method further comprises the step of configuring the second MPM list of the current block according to the first intra mode in the first MPM list of the current block when the second MPM list of the current block comprises one intra mode.

[0046] In one possible implementation of the method according to any preceding implementation of the first aspect or the thirty-eighth aspect, the method further comprises the step of: configuring the second MPM list of the current block according to one or more intra-modes of the first MPM list of the current block: When the second MPM list of the current block comprises two intra modes, further comprising a step of configuring the second MPM list of the current block according to the first intra mode and the second intra mode in the first MPM list of the current block.

[0047] In one possible implementation of the method according to the first aspect or any preceding implementation of the thirty-seventh aspect, the method includes the steps of: configuring a second MPM list of the current block according to one or more intra-modes of the first MPM list of the current block; When the second MPM list of the current block comprises three intra modes, further comprising configuring the second MPM list of the current block according to the first intra mode, the second intra mode, and the third intra mode in the first MPM list of the current block.

[0048] In one possible implementation of the method according to any preceding implementation of the first aspect or the thirty-eighth aspect, the method further comprises the step of: configuring the second MPM list of the current block according to one or more intra-modes of the first MPM list of the current block: When the second MPM list of the current block comprises four intra modes, further comprising configuring the second MPM list of the current block according to the first intra mode, the second intra mode, the third intra mode, and the fourth intra mode in the first MPM list of the current block.

[0049] Thus, in one possible implementation of the method according to the first aspect or any preceding implementation of the thirty-eighth aspect, the method further comprises adding a planar mode to the second MPM list when the first intra mode in the first MPM list of the current block is a planar mode (in one example, the planar mode is the first intra mode in the MPM list of the current block).

[0050] Thus, in one possible implementation of the method according to the first aspect or any preceding implementation of the thirty-eighth aspect, the method further comprises adding a DC mode to the second MPM list when the first intra mode in the first MPM list of the current block is a DC mode (in one example, the DC mode is the first intra mode in the second MPM list of the current block).

[0051] In one possible implementation of the method according to the first aspect or any preceding implementation of the thirty-eighth aspect, the method further comprises adding a horizontal mode to a second MPM list of the current block (in one example, the horizontal mode is the first intra mode in the second MPM list of the current block) when a value corresponding to a first intra prediction mode in the first MPM list of the current block is within a first predefined range (in one example, the range may be from 2 to 34, inclusive).

[0052] In one possible implementation of the method according to the first aspect or any preceding implementation of the thirty-eighth aspect, the method further comprises: a value corresponding to the first intra prediction mode in the first MPM list of the current block is within a second predefined range (in one example, the range may be from 35 to 66, inclusive), and a vertical mode is added to the second MPM list of the current block (in one example, the vertical mode is the first intra mode in the second MPM list of the current block).

[0053] According to a thirty-ninth aspect, the present disclosure relates to a method of configuring a most probable mode MPM list for intra prediction, the method comprising: obtaining a display parameter for a current block according to the bitstream, the display parameter indicating whether multi-hypothesis prediction is applied to the current coding block; When multi-hypothesis prediction is applied to the current coding block according to the value of the display parameter, determining whether a block to the left of the current coding block (e.g., block L in FIG. 6 ) is available (e.g., if there is no intra-prediction mode for the left block, the left block is not available, and if there is an intra-prediction mode for the left block, the left block is available); and adding a planar mode into the MPM list of the current coding block when a block to the left of the current coding block is not available (in one example, before this adding step, the MPM list of the current coding block may be an empty list).

[0054] As such, in one possible implementation of the method according to any preceding implementation of the thirty-ninth aspect, the method comprises: The method further includes a step of adding the planar mode into the MPM list of the current coding block when a block to the left of the current coding block is available and the intra mode of the left block is a planar mode (in one example, before this adding step, the MPM list of the current coding block may be an empty list).

[0055] As such, in one possible implementation of the method according to any preceding implementation of the thirty-ninth aspect, the method comprises: The method further includes a step of adding DC mode to the MPM list of the current coding block when a block to the left of the current coding block is available and the intra mode of the left block is DC mode (in one example, before this adding step, the MPM list of the current coding block may be an empty list).

[0056] As such, in one possible implementation of the method according to any preceding implementation of the thirty-ninth aspect, the method comprises: The method further includes a step of adding a horizontal mode to the MPM list of the current coding block when a block to the left of the current coding block is available and a value corresponding to the intra mode of the left block is within a first predefined range (in one example, the range may be from 2 to 34, inclusive) (in one example, before this adding step, the MPM list of the current coding block may be an empty list).

[0057] As such, in one possible implementation of the method according to any preceding implementation of the thirty-ninth aspect, the method comprises: The method further includes a step of adding a vertical mode into the MPM list of the current coding block when a block to the left of the current coding block is available and the value corresponding to the intra mode of the left block is within a second predefined range (in one example, the range may be from 35 to 66, inclusive) (in one example, before this adding step, the MPM list of the current coding block may be an empty list).

[0058] As such, in one possible implementation of the method according to any preceding implementation of the thirty-ninth aspect, the method comprises: Determining whether a block above the current coding block (e.g., block A in FIG. 6 ) is available (e.g., if there is no intra-prediction mode of the block above, the block above is not available, and if there is an intra-prediction mode of the block above, the block above is available); and adding a planar mode into the MPM list of the current coding block when a block above the current coding block is not available. (In one example, before this adding step, the MPM list of the current coding block comprises one intra mode. After this adding process, the MPM list comprises two intra modes, e.g., the MPM list may comprise (0,0) or (1,0) or (50,0) or (18,0).)

[0059] As such, in one possible implementation of the method according to any preceding implementation of the thirty-ninth aspect, the method comprises: Determining whether a block above the current coding block (e.g., block A in FIG. 6 ) is available (e.g., if there is no intra-prediction mode of the block above, the block above is not available, and if there is an intra-prediction mode of the block above, the block above is available); and adding a planar mode to the MPM list of the current coding block when the block above the current coding block is not available and the planar mode is not included in the MPM list of the current coding block (in one example, when the intra mode of the left block is DC mode or angular mode, the planar mode is not included in the MPM list after the first intra mode is added in the MPM list). (In one example, before this adding step, the MPM list of the current coding block comprises one intra mode. After this adding process, the MPM list comprises two intra modes, for example, the MPM list may comprise (1,0) or (50,0) or (18,0).)

[0060] As such, in one possible implementation of the method according to any preceding implementation of the thirty-ninth aspect, the method comprises: Further comprising a step of adding a planar mode into the MPM list of the current coding block when a block above the current coding block is available and the intra mode of the above block is a planar mode. (In one example, before this adding step, the MPM list of the current coding block comprises one intra mode. After this adding process, the MPM list comprises two intra modes, e.g., the MPM list may comprise (0,0) or (1,0) or (50,0) or (18,0).)

[0061] As such, in one possible implementation of the method according to any preceding implementation of the thirty-ninth aspect, the method comprises: Further comprising a step of adding a planar mode into the MPM list of the current coding block when a block above the current coding block is available, the intra mode of the above block is a planar mode, and no planar mode is provided in the MPM list of the current coding block (in one example, when the intra mode of the left block is a DC mode or an angular mode, no planar mode is provided in the MPM list after the first intra mode is added in the MPM list). (In one example, before this adding step, the MPM list of the current coding block comprises one intra mode. After this adding process, the MPM list comprises two intra modes, for example, the MPM list may comprise (1,0) or (50,0) or (18,0).)

[0062] As such, in one possible implementation of the method according to any preceding implementation of the thirty-ninth aspect, the method comprises: When a block above the current coding block is available and the intra mode of the block above is DC mode, adding a DC mode into the MPM list of the current coding block. (In one example, before this adding step, the MPM list of the current coding block comprises one intra mode. After this adding process, the MPM list comprises two intra modes, e.g., the MPM list may comprise (0,1) or (1,1) or (50,1) or (18,1).)

[0063] As such, in one possible implementation of the method according to any preceding implementation of the thirty-ninth aspect, the method comprises: Further comprising a step of adding a DC mode into the MPM list of the current coding block when a block above the current coding block is available, the intra mode of the above block is a DC mode, and the DC mode is not included in the MPM list of the current coding block (in one example, when the intra mode of the left block is not a DC mode, after the first intra mode is added in the MPM list, the DC mode is not included in the MPM list). (In one example, before this adding step, the MPM list of the current coding block comprises one intra mode. After this adding process, the MPM list comprises two intra modes, for example, the MPM list may comprise (0,1) or (50,1) or (18,1).)

[0064] As such, in one possible implementation of the method according to any preceding implementation of the thirty-ninth aspect, the method comprises: Further comprising adding a horizontal mode into the MPM list of the current coding block when a block above the current coding block is available and a value corresponding to an intra mode of the above block is within a first predefined range (in one example, the range may be from 2 to 34, inclusive). (In one example, before this adding step, the MPM list of the current coding block comprises one intra mode. After this adding process, the MPM list comprises two intra modes, e.g., the MPM list may comprise (0,18) or (1,18) or (50,18) or (18,18).)

[0065] As such, in one possible implementation of the method according to any preceding implementation of the thirty-ninth aspect, the method comprises: Further comprising adding a horizontal mode into the MPM list of the current coding block when a block above the current coding block is available and a value corresponding to the intra mode of the above block is within a first predefined range (in one example, the range may be from 2 to 34, inclusive), and no horizontal mode is included in the MPM list of the current coding block (in one example, when the intra mode of the left block is DC mode or planar mode, or the value corresponding to the intra mode of the left block is not within the first predefined range, no horizontal mode is included in the MPM list after the first intra mode is added into the MPM list). (In one example, before this adding step, the MPM list of the current coding block comprises one intra mode. After this adding process, the MPM list comprises two intra modes, for example, the MPM list may comprise (0,18) or (1,18) or (50,18).)

[0066] As such, in one possible implementation of the method according to any preceding implementation of the thirty-ninth aspect, the method comprises: Further comprising adding a vertical mode into the MPM list of the current coding block when a block above the current coding block is available and a value corresponding to the intra mode of the above block is within a second predefined range (in one example, the range may be from 35 to 66, inclusive). (In one example, before this adding step, the MPM list of the current coding block comprises one intra mode. After this adding process, the MPM list comprises two intra modes, e.g., the MPM list may comprise (0,50) or (1,50) or (50,50) or (18,50).)

[0067] As such, in one possible implementation of the method according to any preceding implementation of the thirty-ninth aspect, the method comprises: When a block above the current coding block is available and a value corresponding to the intra mode of the above block is within a second predefined range (in one example, the range may be from 35 to 66, inclusive), and a vertical mode is not included in the MPM list of the current coding block (in one example, when the intra mode of the left block is a DC mode or a planar mode, or a value corresponding to the intra mode of the left block is not within the second predefined range, after the first intra mode is added in the MPM list, a vertical mode is not included in the MPM list). (In one example, before this adding step, the MPM list of the current coding block comprises one intra mode. After this adding process, the MPM list comprises two intra modes, for example, the MPM list may comprise (0,50) or (1,50) or (18,50).)

[0068] As such, in one possible implementation of the method according to any preceding implementation of the thirty-ninth aspect, the method comprises: The method further includes a step of adding a planar mode to the MPM list of the current coding block when the quantity of one or more intra modes in the MPM list of the current coding block is less than a default value (e.g., the value may be 2, 3, or 4) and a planar mode is not provided in the MPM list of the current coding block.

[0069] As such, in one possible implementation of the method according to any preceding implementation of the thirty-ninth aspect, the method comprises: The method further includes a step of adding a DC mode to the MPM list of the current coding block when the quantity of one or more intra modes in the MPM list of the current coding block is less than a default value (e.g., the value may be 2, 3, or 4) and a DC mode is not provided in the MPM list of the current coding block.

[0070] As such, in one possible implementation of the method according to any preceding implementation of the thirty-ninth aspect, the method comprises: The method further includes a step of adding a vertical mode to the MPM list of the current coding block when the quantity of one or more intra modes in the MPM list of the current coding block is less than a default value (e.g., the value may be 2, 3, or 4) and a vertical mode is not provided in the MPM list of the current coding block.

[0071] As such, in one possible implementation of the method according to any preceding implementation of the thirty-ninth aspect, the method comprises: The method further includes a step of adding a horizontal mode to the MPM list of the current coding block when the quantity of one or more intra modes in the MPM list of the current coding block is less than a default value (e.g., the value may be 2, 3, or 4) and a horizontal mode is not provided in the MPM list of the current coding block.

[0072] According to a fortieth aspect, the present disclosure relates to a method of decoding a block of a picture (or a frame), implemented by a decoding device, the method comprising: Constructing a most probable mode MPM list for a current block according to intra modes of neighboring blocks of the current block (in one example, the MPM list of the current block comprises six intra modes. In one example, an MPM list comprising one or more intra modes means that the MPM list comprises one or more values ​​corresponding to one or more intra modes, where one value corresponds to one intra mode), and the MPM list comprises one or more angle modes; Obtaining a display parameter for a current block according to the bitstream, the display parameter indicating whether multi-hypothesis prediction is applied to the current block; Obtaining index parameters for a current block according to the bitstream; When multi-hypothesis prediction is applied to the current block according to the value of the display parameter, Obtaining an intra prediction mode for the current block according to the index parameter and the MPM list of the current block; and decoding the current block according to a default mode (e.g., the default mode may be a horizontal mode or a vertical mode) when a value corresponding to an intra-prediction mode of the current block is within a default range (in one example, the range may be from 2 to 34, inclusive, or the range may be from 35 to 66, inclusive).

[0073] Thus, in one possible implementation of a method according to any preceding implementation of the 40th aspect, the method further comprises: when a value corresponding to the intra prediction mode of the current block is in the range 2 to 34 (inclusive), the default mode is horizontal mode; or when a value corresponding to the intra prediction mode of the current block is in the range 2 to 33 (inclusive), the default mode is horizontal mode.

[0074] Thus, in one possible implementation of a method according to any preceding implementation of aspect 40, the method further comprises: when the value corresponding to the intra prediction mode of the current block is in the range 35 to 66 (inclusive), the default mode is vertical mode; or when the value corresponding to the intra prediction mode of the current block is in the range 34 to 66 (inclusive), the default mode is vertical mode.

[0075] In one possible implementation of a method according to any preceding implementation of the 40th aspect, the method further comprises that when the intra prediction mode of the current block is an angular mode (e.g., the value corresponding to the intra prediction mode of the current block is in the range 2 to 66, inclusive), the default mode is a planar mode.

[0076] In one possible implementation of a method according to any preceding implementation of the 40th aspect, the method further comprises that when the intra prediction mode of the current block is an angular mode (e.g., the value corresponding to the intra prediction mode of the current block is in the range 2 to 66, inclusive), the default mode is DC mode.

[0077] Thus, in one possible implementation of a method according to any preceding implementation of the 40th aspect, the method further comprises the default mode being vertical mode when the value corresponding to the intra prediction mode of the current block is within the range 2 to 66 (inclusive).

[0078] Thus, in one possible implementation of a method according to any preceding implementation of the 40th aspect, the method further comprises the default mode being horizontal mode when the value corresponding to the intra prediction mode of the current block is within the range 2 to 66 (inclusive).

[0079] In one possible implementation of a method according to any preceding implementation of the 40th aspect, the method further comprises decoding the current block according to the planar mode when the intra prediction mode for the current block is a planar mode.

[0080] In one possible implementation of a method according to any preceding implementation of the 40th aspect, the method further comprises decoding the current block according to DC mode when the intra prediction mode for the current block is DC mode.

[0081] In one possible implementation of a method according to any preceding implementation of the 40th aspect, the method further comprises decoding the current block according to a planar mode when the intra prediction mode for the current block is DC mode.

[0082] Thus, in one possible implementation form of a method according to any preceding implementation form of the 40th aspect, the method further comprises the index parameter having a maximum value of N, where N is less than the size of the MPM list and N is a positive integer.

[0083] Thus, in one possible implementation of the method according to any preceding implementation of the 40th aspect, the method further comprises N being equal to 1 (the index parameter can have a value of either 0 or 1).

[0084] Thus, in one possible implementation of the method according to any preceding implementation of the 40th aspect, the method further comprises N being equal to 3 (the index parameter can have a value of either 0, 1, 2, or 3).

[0085] Thus, in one possible implementation of the method according to any preceding implementation of the 40th aspect, the method further comprises an index parameter being predetermined and equal to 0, with 0 indicating the first candidate in the MPM list.

[0086] According to a forty-first aspect, the present disclosure relates to a method of decoding a block of a picture (or a frame), implemented by a decoding device, the method comprising: obtaining a display parameter for a current coding block according to the bitstream, the display parameter indicating whether multi-hypothesis prediction is applied to the current coding block; obtaining an index parameter for a current coding block according to the bitstream; obtaining an intra-prediction mode for the current coding block according to an index parameter and a predefined list when multi-hypothesis prediction is applied to the current coding block according to a value of a display parameter, the predefined list comprising the following intra-prediction modes in order: planar mode, horizontal mode, and vertical mode; and decoding the current coding block according to the intra-prediction mode for the current coding block.

[0087] According to a forty-second aspect, the present disclosure relates to a method of decoding a block of a picture (or a frame), implemented by a decoding device, the method comprising: obtaining a display parameter for a current coding block according to the bitstream, the display parameter indicating whether multi-hypothesis prediction is applied to the current coding block; obtaining an index parameter for a current coding block according to the bitstream; obtaining an intra-prediction mode for the current coding block according to an index parameter and a predefined list when multi-hypothesis prediction is applied to the current coding block according to a value of a display parameter, the predefined list comprising the following intra-prediction modes in order: planar mode, vertical mode, and horizontal mode; and decoding the current coding block according to the intra-prediction mode for the current coding block.

[0088] According to a forty-third aspect, the present disclosure relates to a method of decoding a block of a picture, the method comprising: obtaining a representation parameter for a current coding block, the representation parameter indicating whether multi-hypothesis prediction is applied to the current coding block; and decoding the current coding block according to a planar mode when the indication parameter indicates that multi-hypothesis prediction is applied to the current coding block.

[0089] In one possible implementation form of the method according to any preceding implementation form of the 43rd aspect, the multi-hypothesis prediction is a Combined Inter and Intra Prediction (CIIP).

[0090] In one possible implementation form of the method according to any preceding implementation form of the forty-third aspect, the indication parameter is a CIIP flag.

[0091] In one possible implementation form of the method according to any preceding implementation form of the forty-third aspect, the display parameters are carried by a merge data syntax.

[0092] In one possible implementation form of a method according to any preceding implementation form of the 43rd aspect, the method further comprises a step of obtaining a planar mode for the current coding block according to a Most Probable Mode (MPM) list, each of the intra-prediction modes in the MPM list being indexed with a corresponding value of the MPM list index.

[0093] In one possible implementation of the method according to any preceding implementation of the forty-third aspect, the method further comprises: The method further includes a step of parsing the bitstream to obtain an MPM list index, where the MPM list index has a value between 0 and N-1, where N is an entry of an intra-prediction mode in the MPM list, and a step of obtaining the intra-prediction mode for the current coding block from the MPM list according to the value of the MPM list index.

[0094] In one possible implementation of the method according to any preceding implementation of the forty-third aspect, the MPM list comprises at least a planar mode.

[0095] In one possible implementation of the method according to any preceding implementation of the forty-third aspect, the MPM list comprises a planar mode and at least one of a DC mode, a vertical mode, and a horizontal mode.

[0096] In one possible implementation of the method according to any preceding implementation of the forty-third aspect, the MPM list is in planar mode.

[0097] In one possible implementation of the method according to any preceding implementation of the forty-third aspect, the MPM list is constructed from a predefined default list.

[0098] In one possible implementation form of the method according to any preceding implementation form of the forty-third aspect, the MPM list index is coded in a decimal or binary representation.

[0099] In one possible implementation form of the method according to any preceding implementation form of the 43rd aspect, the decoder comprises a processing circuit configuration for performing the method according to any preceding implementation form of the 43rd aspect.

[0100] In one possible implementation of the method according to any preceding implementation of the forty-third aspect, the decoder includes a memory storage comprising instructions; and one or more processors in communication with the memory, the one or more processors executing instructions to perform a method according to any preceding implementation of the forty-third aspect.

[0101] According to a forty-fourth aspect, the present disclosure relates to an apparatus for decoding, comprising: a determination unit configured to obtain a display parameter for a current coding block, the display parameter indicating whether multi-hypothesis prediction is applied to the current coding block; and an intra-prediction processing unit configured to perform intra-prediction on the current coding block based on a planar mode when the display parameter indicates that multi-hypothesis prediction is applied to the current coding block.

[0102] In one possible implementation form of the device according to any preceding implementation form of the 44th aspect, the device further includes a parsing unit configured to parse a plurality of syntax elements from a bitstream of the video signal, and the determination unit is further configured to determine a planar mode based on one syntax element from the plurality of syntax elements.

[0103] According to a forty-fifth aspect, the present disclosure relates to a method for encoding a block of a picture, the method comprising: obtaining display parameters for a current block, the display parameters indicating whether multi-hypothesis prediction is applied to the current block; and encoding the current block according to a planar mode when the display parameters indicate that multi-hypothesis prediction is applied to the current block.

[0104] In one possible implementation form of the method according to any preceding implementation form of the 45th aspect, the multi-hypothesis prediction is combined inter- and intra-prediction (CIIP).

[0105] In one possible implementation form of the method according to any preceding implementation form of the forty-fifth aspect, the indication parameter is a CIIP flag.

[0106] In one possible implementation form of the method according to any preceding implementation form of the forty-fifth aspect, the display parameters are carried by a merge data syntax.

[0107] In one possible implementation of the method according to any preceding implementation of the forty-fifth aspect, the method further comprises: The method further comprises obtaining a planar mode for the current coding block according to a Most Probable Mode (MPM) list, where each of the intra-prediction modes in the MPM list is indexed with a corresponding value of the MPM list index.

[0108] In one possible implementation form of a method according to any preceding implementation form of the 45th aspect, the method further comprises the steps of indexing each of the intra prediction modes in the MPM list with a corresponding value of an MPM list index, parsing the MPM list index from the bitstream, where the MPM list index has a value between 0 and N-1, where N is an entry of an intra prediction mode in the MPM list, and obtaining the intra prediction mode of the current coding block from the MPM list according to the value of the MPM list index.

[0109] In one possible implementation of the method according to any preceding implementation of the forty-fifth aspect, the MPM list comprises at least a planar mode.

[0110] In one possible implementation of the method according to any preceding implementation of the forty-fifth aspect, the MPM list comprises a planar mode and at least one of a DC mode, a vertical mode, and a horizontal mode.

[0111] In one possible implementation of the method according to any preceding implementation of the forty-fifth aspect, the MPM list is in planar mode.

[0112] In one possible implementation of the method according to any preceding implementation of the forty-fifth aspect, the MPM list is constructed from a predefined default list.

[0113] In one possible implementation form of the method according to any preceding implementation form of the forty-fifth aspect, the MPM list index is coded in a decimal or binary representation.

[0114] In one possible implementation of the method according to any preceding implementation of the forty-fifth aspect, the encoder comprises a processing circuit configuration for performing the method according to any preceding implementation of the forty-fifth aspect.

[0115] In one possible implementation of the method according to any preceding implementation of the forty-fifth aspect, the encoder includes a memory storage having instructions; and one or more processors in communication with the memory, the one or more processors executing instructions to perform a method according to any preceding implementation of the forty-fifth aspect.

[0116] In one possible implementation of the method according to any preceding implementation of the 45th aspect, a computer program product comprises a program code for, when executed on a computer or processor, performing the method of any preceding implementation of the 45th aspect.

[0117] According to a forty-sixth aspect, the present disclosure relates to an apparatus for encoding a block of a picture, the apparatus comprising: a decision unit configured to obtain display parameters for a current block, the display parameters indicating whether multi-hypothesis prediction is applied to the current block; and an intra-prediction processing unit configured to encode the current block according to a planar mode when the display parameters indicate that multi-hypothesis prediction is applied to the current block.

[0118] The details of one or more embodiments are set forth in the accompanying drawings and the description below. Other features, objects, and advantages will become apparent from the description, drawings, and claims.

[0119] In the following, embodiments of the invention will be explained in more detail with reference to the accompanying figures and drawings. [Brief description of the drawings]

[0120] [Figure 1A] 1 is a block diagram illustrating an example of a video coding system configured to implement embodiments of the present invention. [Figure 1B] 2 is a block diagram illustrating another example of a video coding system configured to implement embodiments of the present invention. [Diagram 2] FIG. 1 is a block diagram illustrating an example of a video encoder configured to implement embodiments of the present invention. [Diagram 3] 2 is a block diagram illustrating an exemplary structure of a video decoder configured to implement embodiments of the present invention. [Figure 4] FIG. 1 is a block diagram showing an example of an encoding device or a decoding device. [Diagram 5] FIG. 11 is a block diagram showing another example of an encoding device or a decoding device. [Figure 6] 1 is a diagram showing an example of a current coding block or neighboring blocks of a current coding unit; [Figure 7] FIG. 2 is a diagram showing an example illustrating many intra-prediction modes. [Figure 8] FIG. 2 shows an example illustrating a method for decoding blocks of a picture. [Figure 9] 31 is a block diagram showing an exemplary structure of a content delivery system 3100 for implementing a content distribution service. [Figure 10] FIG. 2 is a block diagram illustrating the structure of an example of a terminal device. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0121] In the following, identical reference signs refer to identical or at least functionally equivalent features, unless expressly specified otherwise.

[0122] In the following description, reference is made to the accompanying figures, which form a part of this disclosure and which show, by way of example, certain aspects of embodiments of the invention or in which embodiments of the invention may be used. It is understood that embodiments of the invention may be used in other ways and may have structural or logical changes not shown in the figures. Therefore, the following detailed description should not be taken in a limiting sense, and the scope of the present invention is defined by the appended claims.

[0123] For example, it is understood that disclosure regarding a described method may also apply to a corresponding device or system configured to perform the method, and vice versa. For example, when one or more particular method steps are described, the corresponding device may include one or more units (e.g., one unit performing one or more steps, or multiple units each performing one or more of the multiple steps), e.g., functional units, for performing the described one or more method steps, even if such one or more units are not explicitly described or shown in the figures. On the other hand, when, for example, a particular apparatus is described based on one or more units, e.g., functional units, the corresponding method may include one step for performing the function of one or more units (e.g., one step performing the function of one or more units, or multiple steps each performing one or more functions of multiple units), even if such one or more steps are not explicitly described or shown in the figures. Furthermore, it is understood that features of various exemplary embodiments and / or aspects described herein may be combined with each other, unless specifically stated otherwise.

[0124] Video coding usually refers to the processing of a sequence of pictures to form a video or a video sequence. Instead of the term "picture", the terms "frame" or "image" may be used synonymously in the field of video coding. Video coding (or, in general, coding) comprises two parts: video encoding and video decoding. Video encoding is performed at the source side and usually comprises processing an original video picture (e.g., by compression) to reduce the amount of data required to represent the video picture (for more efficient storage and / or transmission). Video decoding is performed at the destination side and usually comprises the reverse processing compared to the encoder to reconstruct the video picture. The embodiments referring to "coding" of a video picture (or, in general, a picture) shall be understood to relate to "encoding" or "decoding" of the video picture or the respective video sequence. The combination of the encoding and decoding parts is also called a codec (coding and decoding).

[0125] In the case of lossless video coding, the original video picture can be reconstructed, i.e., the reconstructed video picture has the same quality as the original video picture (assuming there is no transmission loss or other data loss during storage or transmission). In the case of lossy video coding, further compression is performed, e.g., by quantization, to reduce the amount of data representing the video picture, and the video picture cannot always be completely reconstructed at the decoder, i.e., the quality of the reconstructed video picture is lower, i.e., worse, than the quality of the original video picture.

[0126] Some video coding standards belong to the group of "lossy hybrid video codecs" (i.e., they combine spatial and temporal prediction in the sample domain with 2D transform coding to apply quantization in the transform domain). Each picture of a video sequence is usually partitioned into a set of non-overlapping blocks, and coding is usually performed at the block level. In other words, in the encoder, a video is usually processed or coded at the block (video block) level, for example, by using spatial (intra-picture) and / or temporal (inter-picture) prediction to generate a predictive block, subtracting the predictive block from a current block (the block currently being / to be processed) to obtain a residual block, transforming the residual block, and quantizing the residual block in the transform domain to reduce (compress) the amount of data to be transmitted, while in the decoder, the reverse processing is applied to the coded or compressed block compared to the encoder in order to reconstruct the current block for representation. Furthermore, the encoder replicates the decoder processing loop so that both generate the same prediction (e.g., intra-prediction and inter-prediction) and / or reconstruction for processing or coding a subsequent block.

[0127] In the following, embodiments of a video coding system 10, a video encoder 20, and a video decoder 30 are described based on FIGS.

[0128] 1A is a schematic block diagram illustrating an example coding system 10, such as video coding system 10 (or short coding system 10), that may utilize techniques of the present application. A video encoder 20 (or short encoder 20) and a video decoder 30 (or short decoder 30) of video coding system 10 represent examples of devices that may be configured to perform techniques according to various examples described in the present application.

[0129] As shown in FIG. 1A, coding system 10 includes a source device 12 configured to provide encoded picture data 21 to a destination device 14 for decoding the encoded picture data 13, for example.

[0130] The source device 12 comprises an encoder 20, and may additionally, i.e. optionally, comprise a picture source 16, a pre-processor (or pre-processing unit) 18, for example a picture pre-processor 18, and a communication interface or unit 22.

[0131] Picture source 16 may comprise or be any kind of picture capture device, e.g., a camera for capturing real-world pictures, and / or any kind of picture generation device, e.g., a computer graphics processor for generating computer-animated pictures, or any kind of other device for obtaining and / or providing real-world pictures, computer-generated pictures (e.g., screen content, virtual reality (VR) pictures), and / or any combination thereof (e.g., augmented reality (AR) pictures). Picture source may be any kind of memory or storage that stores any of the above-mentioned pictures.

[0132] In contrast to the pre-processor 18 and the processing performed by the pre-processing unit 18 , the pictures or picture data 17 are sometimes referred to as raw pictures or raw picture data 17 .

[0133] The pre-processor 18 is configured to receive (raw) picture data 17 and perform pre-processing on the picture data 17 to obtain a pre-processed picture 19 or pre-processed picture data 19. The pre-processing performed by the pre-processor 18 may comprise, for example, cropping, color format conversion (e.g., from RGB to YCbCr), color correction, or noise removal. It may be understood that the pre-processing unit 18 may be an optional component.

[0134] Video encoder 20 is configured to receive pre-processed picture data 19 and to provide encoded picture data 21 (further details are described below, eg, with reference to FIG. 2).

[0135] Communications interface 22 of source device 12 may be configured to receive encoded picture data 21 and transmit the encoded picture data 21 (or any further processed version thereof) via communications channel 13 to another device, e.g., destination device 14 or any other device, for storage or direct reconstruction.

[0136] Destination device 14 comprises a decoder 30 (eg, a video decoder 30), and may additionally, i.e. optionally, comprise a communications interface or unit 28, a post-processor 32 (or post-processing unit 32), and a display device 34.

[0137] The communications interface 28 of the destination device 14 is configured to receive the coded picture data 21 (or any further processed version thereof), for example directly from the source device 12 or from any other source, for example a storage device, for example a coded picture data storage device, and to provide the coded picture data 21 to a decoder 30.

[0138] The communication interface 22 and the communication interface 28 may be configured to transmit or receive the encoded picture data 21 or the encoded data 13 via a direct communication link between the source device 12 and the destination device 14, e.g., a direct wired connection or a direct wireless connection, or via any type of network, e.g., a wired network or a wireless network or any combination thereof, or any type of private network and public network, or any type of combination thereof.

[0139] The communications interface 22 may be configured, for example, to package the encoded picture data 21 in a suitable format, e.g., in packets, and / or to process the encoded picture data using any type of transmission encoding or processing for transmission over a communications link or network.

[0140] Communications interface 28, which forms the counterpart of communications interface 22, may be configured, for example, to receive transmitted data and process the transmitted data using any type of corresponding transmission decoding or processing and / or depackaging to obtain encoded picture data 21.

[0141] Both communication interface 22 and communication interface 28 may be configured as unidirectional communication interfaces, as indicated by the arrow for communication channel 13 in FIG. 1A pointing from source device 12 to destination device 14, or as bidirectional communication interfaces, and may be configured to send and receive messages, e.g., to set up a connection, to acknowledge, respond and exchange any other information related to the communication link and / or data transmission, e.g., encoded picture data transmission.

[0142] The decoder 30 is configured to receive the encoded picture data 21 and to provide decoded picture data 31 or decoded pictures 31 (further details are described below, for example based on Figure 3 or Figure 5).

[0143] Post-processor 32 of destination device 14 is configured to post-process decoded picture data 31 (also referred to as reconstructed picture data), e.g., decoded picture 31, to obtain post-processed picture data 33, e.g., post-processed picture 33. The post-processing performed by post-processing unit 32 may comprise, e.g., color format conversion (e.g., from YCbCr to RGB), color correction, cropping or resampling, or any other processing to prepare the decoded picture data 31 for, e.g., display, by, e.g., display device 34.

[0144] A display device 34 of destination device 14 is configured to receive the post-processed picture data 33, e.g., for displaying the picture to a user or viewer. The display device 34 may be or comprise any type of display, e.g., an integrated or external display or monitor, for presenting the reconstructed picture. The display may comprise, e.g., a liquid crystal display (LCD), an organic light emitting diode (OLED) display, a plasma display, a projector, a micro-LED display, a liquid crystal on silicon (LCoS), a digital light processor (DLP), or any type of other display.

[0145] 1A illustrates source device 12 and destination device 14 as separate devices, an embodiment of the devices may also include both or both the functionality of source device 12 or corresponding functionality and destination device 14 or corresponding functionality. In such an embodiment, source device 12 or corresponding functionality and destination device 14 or corresponding functionality may be implemented using the same hardware and / or software or by separate hardware and / or software or any combination thereof.

[0146] As will be clear to a person skilled in the art based on the description, the presence and (exact) division of functions of different units or functions within source device 12 and / or destination device 14 as shown in FIG. 1A may vary depending on the actual device and application.

[0147] The encoder 20 (e.g., video encoder 20) or the decoder 30 (e.g., video decoder 30), or both the encoder 20 and the decoder 30, may be implemented via processing circuitry as shown in FIG. 1B, such as one or more microprocessors, digital signal processors (DSPs), application specific integrated circuits (ASICs), field programmable gate arrays (FPGAs), discrete logic, hardware, dedicated to video coding, or any combination thereof. The encoder 20 may be implemented via processing circuitry 46 to embody various modules as described with respect to the encoder 20 of FIG. 2 and / or any other encoder system or subsystem described herein. The decoder 30 may be implemented via processing circuitry 46 to embody various modules as described with respect to the decoder 30 of FIG. 3 and / or any other decoder system or subsystem described herein. The processing circuitry may be configured to perform various operations as described below. As shown in FIG. 5, if the techniques are implemented in part in software, the device may store instructions for the software in a suitable non-transitory computer-readable storage medium and execute the instructions in hardware using one or more processors to perform the techniques of this disclosure. Either video encoder 20 and video decoder 30 may be integrated into a single device as part of a combined encoder / decoder (codec), for example, as shown in FIG. 1B.

[0148] Source device 12 and destination device 14 may comprise any of a wide range of devices, including any type of handheld or fixed device, e.g., a notebook or laptop computer, a mobile phone, a smartphone, a tablet or tablet computer, a camera, a desktop computer, a set-top box, a television, a display device, a digital media player, a video game console, a video streaming device (such as a content service server or a content delivery server), a broadcast receiver device, a broadcast transmitter device, and the like, and may use no operating system or any type of operating system. In some cases, source device 12 and destination device 14 may be equipped for wireless communication. Thus, source device 12 and destination device 14 may be wireless communication devices.

[0149] In some cases, the video coding system 10 shown in FIG. 1A is only an example, and techniques of the present application may be applied to video coding settings (e.g., video encoding or video decoding) that do not necessarily include any data communication between encoding and decoding devices. In other examples, data may be retrieved from local memory, streamed over a network, etc. A video encoding device may encode and store data in memory, and / or a video decoding device may retrieve data from memory and decode data. In some examples, encoding and decoding are performed by devices that do not communicate with each other, but simply encode data into memory and / or retrieve data from memory and decode data.

[0150] For ease of explanation, embodiments of the present invention are described herein by reference to, for example, High-Efficiency Video Coding (HEVC) or to Versatile Video Coding (VVC), a next-generation video coding standard developed by the Joint Collaboration Team on Video Coding (JCT-VC) of the ITU-T Video Coding Experts Group (VCEG) and the ISO / IEC Motion Picture Experts Group (MPEG). It will be appreciated by those skilled in the art that embodiments of the present invention are not limited to HEVC or VVC.

[0151] Encoder and encoding method FIG. 2 shows a schematic block diagram of an exemplary video encoder 20 configured to implement the techniques of the present application. In the example of FIG. 2, the video encoder 20 includes an input unit 201 (or an input interface 201), a residual calculation unit 204, a transform processing unit 206, a quantization unit 208, an inverse quantization unit 210 and an inverse transform processing unit 212, a reconstruction unit 214, a loop filter unit 220, a decoded picture buffer (DPB) 230, a mode selection unit 260, an entropy coding unit 270, and an output unit 272 (or an output interface 272). The mode selection unit 260 may include an inter prediction unit 244, an intra prediction unit 254, and a partition unit 262. The inter prediction unit 244 may include a motion estimation unit and a motion compensation unit (not shown). The video encoder 20 as shown in FIG. 2 may also be called a hybrid video encoder, i.e., a video encoder according to a hybrid video codec.

[0152] The residual calculation unit 204, the transform processing unit 206, the quantization unit 208, and the mode selection unit 260 may be referred to as forming a forward signal path of the encoder 20, while the inverse quantization unit 210, the inverse transform processing unit 212, the reconstruction unit 214, the buffer 216, the loop filter 220, the decoded picture buffer (DPB) 230, the inter prediction unit 244, and the intra prediction unit 254 may be referred to as forming a backward signal path of the video encoder 20, which corresponds to the signal path of the decoder (see video decoder 30 in FIG. 3). The inverse quantization unit 210, the inverse transform processing unit 212, the reconstruction unit 214, the loop filter 220, the decoded picture buffer (DPB) 230, the inter prediction unit 244, and the intra prediction unit 254 are also referred to as forming a “built-in decoder” of the video encoder 20.

[0153] Pictures and picture divisions (pictures and blocks) The encoder 20 may be configured to receive, for example via an input 201, a picture 17 (or picture data 17), for example a picture of a sequence of pictures forming a video or a video sequence. The received picture or picture data may also be a preprocessed picture 19 (or preprocessed picture data 19). For simplicity, the following description refers to picture 17. Picture 17 may also be called a current picture or a picture to be coded (particularly in video coding, to distinguish the current picture from other pictures, for example previously encoded and / or decoded pictures, of the same video sequence, i.e. the video sequence that also comprises the current picture).

[0154] A (digital) picture is or can be considered as a two-dimensional array or matrix of samples with intensity values. The samples in the array are sometimes called pixels (picture elements in short form) or pels. The number of samples in the horizontal and vertical directions (or axes) of the array or picture defines the size and / or resolution of the picture. For color representation, three color components are usually employed, i.e. a picture may be represented or contain three sample arrays. In an RBG format or color space, a picture comprises corresponding red, green, and blue sample arrays. However, in video coding, each pixel is usually represented in a luminance and chrominance format or color space, e.g. YCbCr, which comprises a luminance component denoted by Y (sometimes L is also used instead) and two chrominance components denoted by Cb and Cr. The luminance (or short luma) component Y represents luminance or gray level intensity (e.g., as in a grayscale picture), and the two chrominance (or short chroma) components Cb and Cr represent chromaticity or color information components. Thus, a picture in YCbCr format comprises a luminance sample array of luminance sample values ​​(Y) and two chrominance sample arrays of chrominance values ​​(Cb and Cr). A picture in RGB format may be converted or transformed into YCbCr format, or vice versa, a process also called color transformation or color conversion. If the picture is monochrome, the picture may comprise only a luminance sample array. Thus, a picture may be, for example, an array of luma samples in monochrome format, or an array of luma samples and two corresponding arrays of chroma samples in 4:2:0, 4:2:2, and 4:4:4 color formats.

[0155] An embodiment of video encoder 20 may comprise a picture partitioning unit (not shown in FIG. 2) configured to partition picture 17 into multiple (usually non-overlapping) picture blocks 203. These blocks are sometimes called root blocks, macroblocks (H.264 / AVC), or coding tree blocks (CTBs) or coding tree units (CTUs) (H.265 / HEVC and VVC). The picture partitioning unit may be configured to use the same block size for all pictures of a video sequence and a corresponding grid that defines the block sizes, or to vary the block size among pictures or subsets or groups of pictures, and to partition each picture into corresponding blocks.

[0156] In further embodiments, the video encoder may be configured to directly receive block 203 of picture 17, e.g., one, multiple, or all of the blocks that form picture 17. Picture block 203 may also be referred to as a current picture block or a picture block to be coded.

[0157] Like picture 17, picture block 203 is again or may be considered as a two-dimensional array or matrix of samples having intensity values ​​(sample values), but with smaller dimensions than picture 17. In other words, block 203 may comprise, for example, one sample array (e.g., a luma array in case of a monochrome picture 17, or a luma array or a chroma array in case of a color picture), or three sample arrays (e.g., a luma array and two chroma arrays in case of a color picture 17), or any other number and / or type of arrays depending on the applied color format. The number of samples in the horizontal and vertical directions (or axes) of block 203 defines the size of block 203. Thus, a block may be, for example, an M×N (M columns×N rows) array of samples, or an M×N array of transform coefficients.

[0158] An embodiment of video encoder 20 as shown in FIG. 2 may be configured to code picture 17 on a block-by-block basis, eg, encoding and prediction are performed on a block 203 basis.

[0159] Residual calculation The residual calculation unit 204 may be configured to calculate a residual block 205 (also referred to as residual 205) based on the picture block 203 and the prediction block 265 (further details about the prediction block 265 are provided later), for example, by subtracting sample values ​​of the prediction block 265 from sample values ​​of the picture block 203 on a sample-by-sample (pixel-by-pixel) basis to obtain the residual block 205 in the sample domain.

[0160] conversion The transform processing unit 206 may be configured to apply a transform, such as a discrete cosine transform (DCT) or a discrete sine transform (DST), to the sample values ​​of the residual block 205 to obtain transform coefficients 207 in the transform domain. The transform coefficients 207 may also be referred to as transform residual coefficients and may represent the residual block 205 in the transform domain.

[0161] The transform processing unit 206 may be configured to apply an integer approximation of a DCT / DST, such as the transform specified for H.265 / HEVC. Compared to an orthogonal DCT transform, such an integer approximation is typically scaled by some factors. In order to preserve the norm of the residual block processed by the forward transform and the inverse transform, an additional scaling factor is applied as part of the transform process. The scaling factor is typically chosen based on some constraints, such as the scaling factor being a power of two due to shift operations, the bit depth of the transform coefficients, a trade-off between accuracy and implementation cost, etc. For example, a particular scaling factor may be specified for, e.g., the inverse transform, e.g., by the inverse transform processing unit 212 (and the corresponding inverse transform, e.g., by the inverse transform processing unit 312 in the video decoder 30), and a corresponding scaling factor for the forward transform, e.g., by the transform processing unit 206 in the encoder 20, may be specified accordingly.

[0162] An embodiment of video encoder 20 (respectively, transform processing unit 206) may be configured to output transform parameters, e.g., one or more types of transform, e.g., directly or encoded or compressed via entropy coding unit 270, so that, for example, video decoder 30 may receive and use the transform parameters for decoding.

[0163] Quantization The quantization unit 208 may be configured to quantize the transform coefficients 207, for example by applying scalar quantization or vector quantization, to obtain quantized coefficients 209. The quantized coefficients 209 may also be referred to as quantized transform coefficients 209 or quantized residual coefficients 209.

[0164] The quantization process may reduce the bit depth associated with some or all of the transform coefficients 207. For example, an n-bit transform coefficient may be truncated to an m-bit transform coefficient during quantization, where n is greater than m. The degree of quantization may be modified by adjusting a quantization parameter (QP). For example, in the case of scalar quantization, various scalings may be applied to achieve finer or coarser quantization. A smaller quantization step size corresponds to a finer quantization, while a larger quantization step size corresponds to a coarser quantization. The applicable quantization step sizes may be indicated by a quantization parameter (QP). The quantization parameter may, for example, be an index into a predefined set of applicable quantization step sizes. For example, a small quantization parameter may correspond to fine quantization (small quantization step size) and a large quantization parameter may correspond to coarse quantization (large quantization step size), or vice versa. The quantization may include a division by the quantization step size, and the corresponding inverse quantization and / or inverse inverse quantization, e.g., by the inverse quantization unit 210, may include a multiplication by the quantization step size. Some standards, e.g., embodiments according to HEVC, may be configured to use a quantization parameter to determine the quantization step size. In general, the quantization step size may be calculated based on the quantization parameter using a fixed-point approximation of an equation that includes a division. An additional scaling factor may be introduced for the quantization and inverse quantization to restore the norm of the residual block, which may be modified due to the scaling used in the fixed-point approximation of the equation for the quantization step size and the quantization parameter. In one example implementation, the scaling of the inverse transform and the inverse quantization may be combined. Alternatively, a customized quantization table may be used, e.g., signaled from the encoder to the decoder in the bitstream. Quantization is a lossy operation, and the loss increases with increasing quantization step size.

[0165] An embodiment of video encoder 20 (respectively, quantization unit 208) may be configured to output a quantization parameter (QP), e.g., encoded directly or via entropy encoding unit 270, such that video decoder 30, for example, may receive and apply the quantization parameter for decoding.

[0166] inverse quantization The inverse quantization unit 210 is configured to apply the inverse quantization of the quantization unit 208 to the quantized coefficients to obtain the inverse quantized coefficients 211, e.g., by applying the inverse of the quantization scheme applied by the quantization unit 208, based on or using the same quantization step size as the quantization unit 208. The inverse quantized coefficients 211, which may also be referred to as the inverse quantized residual coefficients 211, may correspond to the transform coefficients 207—although they are not usually identical to the transform coefficients due to losses due to quantization.

[0167] Inverse transformation The inverse transform processing unit 212 is configured to apply an inverse transform of the transform applied by the transform processing unit 206, for example, an inverse discrete cosine transform (DCT) or an inverse discrete sine transform (DST), or other inverse transform, to obtain a reconstructed residual block 213 (or corresponding dequantized coefficients 213) in the sample domain. The reconstructed residual block 213 may also be referred to as a transform block 213.

[0168] Reconstruction The reconstruction unit 214 (e.g., an adder or summer 214) is configured to add the transform block 213 (i.e., the reconstructed residual block 213) to the prediction block 265 to obtain a reconstructed block 215 in the sample domain, for example by adding - sample by sample - sample values ​​of the reconstructed residual block 213 and the prediction block 265.

[0169] Filtering The loop filter unit 220 (or short "loop filter" 220) is configured to filter the reconstructed block 215 to obtain a filtered block 221, or in general, to filter the reconstructed samples to obtain filtered samples. The loop filter unit is configured, for example, to smooth pixel transitions or otherwise improve video quality. The loop filter unit 220 may comprise one or more loop filters, such as a deblocking filter, a Sample-Adaptive Offset (SAO) filter, or one or more other filters, for example, a bilateral filter, an Adaptive Loop Filter (ALF), a sharpening filter, a smoothing filter, or a collaborative filter, or any combination thereof. Although the loop filter unit 220 is illustrated in FIG. 2 as being an in-loop filter, in other configurations the loop filter unit 220 may be implemented as a post-loop filter. The filtered block 221 may also be referred to as a filtered reconstruction block 221.

[0170] Embodiments of video encoder 20 (respectively, loop filter unit 220) may be configured to output loop filter parameters (such as sample adaptive offset information), e.g., directly or encoded via entropy encoding unit 270, such that, for example, decoder 30 may receive and apply the same loop filter parameters or respective loop filters for decoding.

[0171] Decoded Picture Buffer The decoded picture buffer (DPB) 230 may be a memory that stores reference pictures or generally reference picture data for encoding video data by the video encoder 20. The DPB 230 may be formed by any of a variety of memory devices, such as dynamic random access memory (DRAM), including synchronous DRAM (SDRAM), magnetoresistive RAM (MRAM), resistive RAM (RRAM), or other types of memory devices. The decoded picture buffer (DPB) 230 may be configured to store one or more filtered blocks 221. The decoded picture buffer 230 may further be configured to store other previously filtered blocks, e.g., previously reconstructed and filtered blocks 221 of the same current picture or of a different picture, e.g., previously reconstructed pictures, and may provide, e.g., a previously reconstructed or decoded overall picture (and corresponding reference blocks and samples) and / or a partially reconstructed current picture (and corresponding reference blocks and samples) for inter prediction. For example, if the reconstructed block 215 has not been filtered by the loop filter unit 220 or is any other further processed version of a reconstructed block or sample, the decoded picture buffer (DPB) 230 may also be configured to store one or more unfiltered reconstructed blocks 215, or, in general, unfiltered reconstructed samples.

[0172] Mode Selection (Segmentation and Prediction) The mode selection unit 260 comprises a partitioning unit 262, an inter prediction unit 244, and an intra prediction unit 254, and is configured to receive or obtain original picture data, e.g., original block 203 (current block 203 of current picture 17), as well as reconstructed picture data, e.g., filtered and / or unfiltered reconstructed samples or blocks, from, e.g., a decoded picture buffer 230 or other buffer (e.g., a line buffer, not shown) of the same (current) picture and / or from one or more previously decoded pictures. The reconstructed picture data is used as reference picture data for prediction, e.g., inter prediction or intra prediction, to obtain a prediction block 265 or a predictor 265.

[0173] The mode selection unit 260 may be configured to determine or select a partition for a current block prediction mode (not including a partition) and a prediction mode (e.g., intra or inter prediction mode) and generate a corresponding prediction block 265 used for calculation of the residual block 205 and for reconstruction of the reconstruction block 215.

[0174] An embodiment of the mode selection unit 260 may be configured to select a partition and prediction mode (e.g., from those supported by or available to the mode selection unit 260) that gives the best match, or in other words the smallest residual (smallest residual means better compression for transmission or storage), or the smallest signaling overhead (smallest signaling overhead means better compression for transmission or storage), or considers or balances both. The mode selection unit 260 may be configured to determine the partition and prediction mode based on Rate Distortion Optimization (RDO), i.e., to select the prediction mode that results in the smallest rate distortion. Terms such as "best," "minimum," "optimum," etc. in this context do not necessarily refer to an overall "best," "minimum," "optimum," etc., but may refer to the satisfaction of a termination or selection criterion, such as a value above or below a threshold or other constraint, potentially leading to a "suboptimal selection," but reducing computational effort and processing time.

[0175] In other words, the partitioning unit 262 may be configured to partition the block 203 into smaller block partitions or sub-blocks (which again form blocks), e.g., using quad-tree partitioning (QT), binary partitioning (BT), or triple-tree partitioning (TT), or any combination thereof, recursively, and to perform prediction on each of the block partitions or sub-blocks, e.g., where the mode selection comprises selecting a tree structure of the partitioned block 203, and a prediction mode is applied to each of the block partitions or sub-blocks.

[0176] Below, the partitioning (eg, by partition unit 260) and prediction processes (by inter prediction unit 244 and intra prediction unit 254) performed by the exemplary video encoder 20 are described in more detail.

[0177] classification The partitioning unit 262 may partition (i.e., split) the current block 203 into smaller partitions, e.g., smaller blocks of square or rectangular size. These smaller blocks (sometimes called sub-blocks) may be further partitioned into even smaller partitions. This is also called tree partitioning or hierarchical tree partitioning, e.g., a root block at root tree level 0 (hierarchical level 0, depth 0) may be partitioned recursively, e.g., into two or more blocks at the next lower tree level, e.g., nodes at tree level 1 (hierarchical level 1, depth 1), which may again be partitioned into two or more blocks at the next lower level, e.g., tree level 2 (hierarchical level 2, depth 2), etc., until the partitioning is terminated, e.g., because a termination criterion is met, e.g., a maximum tree depth or a minimum block size has been reached. Blocks that are not partitioned further are also called leaf blocks or leaf nodes of the tree. A tree that uses a partition into two partitions is called a binary tree (BT), a tree that uses a partition into three partitions is called a ternary tree (TT), and a tree that uses a partition into four partitions is called a quad tree (QT).

[0178] As mentioned before, the term "block" as used herein may be a portion of a picture, particularly a square or rectangular portion. For example, with reference to HEVC and VVC, a block may be or may correspond to a coding tree unit (CTU), a coding unit (CU), a prediction unit (PU), and a transform unit (TU), and / or a corresponding block, such as a coding tree block (CTB), a coding block (CB), a transform block (TB), or a prediction block (PB).

[0179] For example, a coding tree unit (CTU) may be or comprise a CTB of luma samples for a picture with three sample arrays, two corresponding CTBs of chroma samples, or a CTB of samples for a monochrome picture or a picture coded using three separate color planes, and a syntax structure used to code the samples. Correspondingly, a coding tree block (CTB) may be an N×N block of samples for some values ​​of N, such that the division of the components into CTBs is partitioned. A coding unit (CU) may be or comprise a coding block of luma samples for a picture with three sample arrays, two corresponding coding blocks of chroma samples, or a coding block of samples for a monochrome picture or a picture coded using three separate color planes, and a syntax structure used to code the samples. Correspondingly, a coding block (CB) may be an M×N block of samples for some values ​​of M and N, such that the division of the CTB into coding blocks is partitioned.

[0180] For example, in an embodiment according to HEVC, a coding tree unit (CTU) may be divided into CUs by using a quad-tree structure, denoted as a coding tree. The decision of whether a picture area should be coded using (temporal) inter-picture prediction or (spatial) intra-picture prediction is made at the CU level. Each CU may be further divided into one, two, or four PUs according to a PU partition type. Inside one PU, the same prediction process is applied, and related information is transmitted to the decoder on a PU-by-PU basis. After obtaining the residual block by applying a prediction process based on the PU partition type, the CU may be partitioned into transform units (TUs) according to another quad-tree structure similar to the coding tree for CUs.

[0181] In an embodiment, for example, according to the latest video coding standard currently under development, called versatile video coding (VVC), quad-tree and binary tree (QTBT) partitioning is used to partition the coding block. In the QTBT block structure, the CU can have either a square or rectangular shape. For example, the coding tree unit (CTU) is first partitioned by a quad-tree structure. The quad-tree leaf node is further partitioned by a binary tree or a ternary (or triple) tree structure. The partitioning of the tree leaf node is called a coding unit (CU), and the segmentation is used for prediction and transformation processes without further partitioning. This means that the CU, PU, ​​and TU have the same block size in the QTBT coding block structure. In parallel, multiple partitions, for example, triple tree partitioning, have also been proposed to be used with the QTBT block structure.

[0182] In one example, mode selection unit 260 of video encoder 20 may be configured to perform any combination of the partitioning techniques described herein.

[0183] As described above, video encoder 20 is configured to determine or select a best or optimal prediction mode from a set of (predetermined) prediction modes. The set of prediction modes may comprise, for example, intra-prediction modes and / or inter-prediction modes.

[0184] Intra prediction The set of intra prediction modes may, for example, comprise 35 different intra prediction modes, e.g., an omnidirectional mode such as DC (or average) mode and a planar mode, or a directional mode, as specified in HEVC, or may comprise 67 different intra prediction modes, e.g., an omnidirectional mode such as DC (or average) mode and a planar mode, or a directional mode, as specified for VVC.

[0185] The intra prediction unit 254 is configured to use reconstructed samples of neighboring blocks of the same current picture to generate an intra prediction block 265 according to an intra prediction mode of the set of intra prediction modes.

[0186] The intra prediction unit 254 (or generally, the mode selection unit 260) is further configured to output intra prediction parameters (or generally, information indicating the selected intra prediction mode for the block) to the entropy encoding unit 270 in the form of a syntax element 266 for inclusion in the encoded picture data 21, so that, for example, the video decoder 30 may receive and use the prediction parameters for decoding.

[0187] Inter Prediction The set of inter prediction modes (or possible inter prediction modes) depends on the available reference pictures (i.e., previous pictures that have been at least partially decoded and that are, for example, stored in DBP230) as well as other inter prediction parameters, such as whether the entire reference picture is used to search for the best matching reference block or only a portion of it, for example a search window area around the area of ​​the current block of the reference picture, is used, and / or, for example, whether pixel interpolation, for example half-pel / semi-pel and / or quarter-pel interpolation, is applied.

[0188] In addition to the above prediction modes, skip mode and / or direct mode may be applied.

[0189] The inter prediction unit 244 may include a motion estimation (ME) unit and a motion compensation (MC) unit (both not shown in FIG. 2). The motion estimation unit may be configured to receive or obtain the picture block 203 (current picture block 203 of current picture 17) and the decoded picture 231, or at least one or more previously reconstructed blocks, e.g., reconstructed blocks of one or more other / different previously decoded pictures 231, for motion estimation. For example, a video sequence may comprise the current picture and the previously decoded picture 231, or in other words, the current picture and the previously decoded picture 231 may be part of or form a sequence of pictures forming a video sequence.

[0190] The encoder 20 may be configured to, for example, select a reference block from multiple reference blocks of the same or different pictures among multiple other pictures, and provide the reference picture (or reference picture index) and / or an offset (spatial offset) between the position (x, y coordinates) of the reference block and the position of the current block as an inter-prediction parameter to the motion estimation unit, which offset is also called a motion vector (MV).

[0191] The motion compensation unit is configured to obtain, e.g., receive, inter prediction parameters and perform inter prediction based on or using the inter prediction parameters to obtain inter prediction block 265. The motion compensation performed by the motion compensation unit may involve fetching or generating a prediction block based on a motion / block vector determined by motion estimation, possibly performing interpolation to sub-pixel accuracy. Interpolation filtering may generate additional pixel samples from known pixel samples, thus potentially increasing the number of candidate prediction blocks that can be used to code the picture block. Upon receiving a motion vector for the PU of the current picture block, the motion compensation unit may locate the prediction block to which the motion vector points in one of the reference picture lists.

[0192] The motion compensation unit may also generate syntax elements associated with the blocks and video slices for use by video decoder 30 in decoding picture blocks of the video slices.

[0193] Entropy Coding The entropy coding unit 270 may apply, for example, an entropy coding algorithm or scheme (e.g., a Variable Length Coding (VLC) scheme, a Context Adaptive VLC (CAVLC) scheme, an arithmetic coding scheme, a binarization scheme, a Context Adaptive Binary Arithmetic Coding (CABAC), a Syntax-Based Context-Adaptive Binary Arithmetic Coding (SBAC), a Probability Interval Partitioning Entropy (PIPE), a quantization scheme, ... 2, the video decoder 30 may receive and use the parameters for decoding the encoded picture data 21. The video decoder 30 may be configured to apply a coding scheme (such as entropy coding, or another entropy encoding method or technique), or bypass (no compression) to obtain encoded picture data 21 that may be output via output unit 272, for example, in the form of encoded bitstream 21, so that, for example, video decoder 30 may receive and use the parameters for decoding. The encoded bitstream 21 may be transmitted to video decoder 30 or may be stored in a memory for later transmission or retrieval by video decoder 30.

[0194] Other structural variations of the video encoder 20 may be used to encode the video stream. For example, a non-transform-based encoder 20 may directly quantize the residual signal without using the transform processing unit 206 for some blocks or frames. In another implementation, the encoder 20 may have the quantization unit 208 and the inverse quantization unit 210 combined into a single unit.

[0195] Decoder and decoding method 3 shows an example of a video decoder 30 configured to implement the techniques of the present application. The video decoder 30 is configured to receive coded picture data 21 (e.g., coded bitstream 21), e.g., coded by encoder 20, to obtain a decoded picture 331. The coded picture data or bitstream comprises information for decoding the coded picture data, e.g., data representing picture blocks of coded video slices, and associated syntax elements.

[0196] In the example of Figure 3, the decoder 30 includes an entropy decoding unit 304, an inverse quantization unit 310, an inverse transform processing unit 312, a reconstruction unit 314 (e.g., adder 314), a loop filter 320, a decoded picture buffer (DBP) 330, an inter prediction unit 344, and an intra prediction unit 354. The inter prediction unit 344 may be or include a motion compensation unit. The video decoder 30 may, in some examples, perform a decoding path that is generally reciprocal to the encoding path described with respect to the video encoder 100 from Figure 2.

[0197] As described with respect to encoder 20, inverse quantization unit 210, inverse transform processing unit 212, reconstruction unit 214, loop filter 220, decoded picture buffer (DPB) 230, inter prediction unit 344, and intra prediction unit 354 are also referred to as forming a “built-in decoder” of video encoder 20. Thus, inverse quantization unit 310 may be identical in function to inverse quantization unit 110, inverse transform processing unit 312 may be identical in function to inverse transform processing unit 212, reconstruction unit 314 may be identical in function to reconstruction unit 214, loop filter 320 may be identical in function to loop filter 220, and decoded picture buffer 330 may be identical in function to decoded picture buffer 230. Thus, the descriptions provided for the respective units and functions of video encoder 20 apply correspondingly to the respective units and functions of video decoder 30.

[0198] Entropy Decoding The entropy decoding unit 304 is configured to parse the bitstream 21 (or generally, the coded picture data 21) and, e.g., perform entropy decoding on the coded picture data 21 to obtain, e.g., quantization coefficients 309 and / or decoded coding parameters (not shown in FIG. 3), e.g., any or all of inter prediction parameters (e.g., reference picture indexes and motion vectors), intra prediction parameters (e.g., intra prediction modes or indices), transform parameters, quantization parameters, loop filter parameters, and / or other syntax elements. The entropy decoding unit 304 may be configured to apply a decoding algorithm or scheme corresponding to an encoding scheme as described with respect to the entropy encoding unit 270 of the encoder 20. The entropy decoding unit 304 may be further configured to provide the inter prediction parameters, intra prediction parameters, and / or other syntax elements to the mode selection unit 360 and other parameters to other units of the decoder 30. The video decoder 30 may receive syntax elements at a video slice level and / or a video block level.

[0199] inverse quantization Inverse quantization unit 310 may be configured to receive a quantization parameter (QP) (or generally, information related to inverse quantization) and quantized coefficients from encoded picture data 21 (e.g., by parsing and / or decoding, e.g., by entropy decoding unit 304), and apply inverse quantization to the decoded quantized coefficients 309 based on the quantization parameter to obtain inverse quantized coefficients 311, which may also be referred to as transform coefficients 311. The inverse quantization process may involve use of the quantization parameter determined by video encoder 20 for each video block in a video slice to determine the degree of quantization, and similarly, the degree of inverse quantization to be applied.

[0200] Inverse transformation The inverse transform processing unit 312 may be configured to receive the inverse quantized coefficients 311, also referred to as transform coefficients 311, and apply a transform to the inverse quantized coefficients 311 to obtain a reconstructed residual block 213 in the sample domain. The reconstructed residual block 213 may also be referred to as a transform block 313. The transform may be an inverse transform, e.g., an inverse DCT transform, an inverse DST transform, an inverse integer transform, or a conceptually similar inverse transform process. The inverse transform processing unit 312 may further be configured to receive transform parameters or corresponding information from the coded picture data 21 (e.g., by parsing and / or decoding, e.g., by the entropy decoding unit 304) to determine a transform to be applied to the inverse quantized coefficients 311.

[0201] Reconstruction The reconstruction unit 314 (e.g., an adder or summer 314) may be configured to add the reconstructed residual block 313 to the prediction block 365, for example, by adding sample values ​​of the reconstructed residual block 313 and sample values ​​of the prediction block 365, to obtain a reconstructed block 315 in the sample domain.

[0202] Filtering A loop filter unit 320 (either in the coding loop or after the coding loop) is configured to filter the reconstruction block 315 to obtain a filtered block 321, e.g., to smooth pixel transitions or otherwise improve video quality. The loop filter unit 320 may comprise one or more loop filters, such as a deblocking filter, a sample adaptive offset (SAO) filter, or one or more other filters, e.g., a bilateral filter, an adaptive loop filter (ALF), a sharpening filter, a smoothing filter, or a collaborative filter, or any combination thereof. Although the loop filter unit 320 is illustrated in FIG. 3 as being an in-loop filter, in other configurations, the loop filter unit 320 may be implemented as a post-loop filter.

[0203] Decoded Picture Buffer The decoded video blocks 321 of the picture are then stored in a decoded picture buffer 330, which stores the decoded picture 331 as a reference picture for subsequent motion compensation relative to other pictures and / or for output display, respectively.

[0204] The decoder 30 is arranged to output the decoded pictures 311, for example via an output 312, for presentation or viewing to a user.

[0205] prediction The inter prediction unit 344 may be identical to the inter prediction unit 244 (in particular, the motion compensation unit), and the intra prediction unit 354 may be identical in function to the inter prediction unit 254, performing the partitioning or partition decision and prediction based on the partition and / or prediction parameters or respective information received (e.g., by parsing and / or decoding by the entropy decoding unit 304) from the coded picture data 21. The mode selection unit 360 may be configured to perform prediction (intra prediction or inter prediction) for each block based on the (filtered or unfiltered) reconstructed picture, block, or respective sample to obtain a prediction block 365.

[0206] When a video slice is coded as an intra-coded (I) slice, the intra prediction unit 354 of the mode selection unit 360 is configured to generate a prediction block 365 for a picture block of the current video slice based on the signaled intra prediction mode and data from a previously decoded block of the current picture. When a video picture is coded as an inter-coded (i.e., B or P) slice, the inter prediction unit 344 (e.g., a motion compensation unit) of the mode selection unit 360 is configured to produce a prediction block 365 for a video block of the current video slice based on a motion vector and other syntax elements received from the entropy decoding unit 304. For inter prediction, the prediction block may be produced from one of the reference pictures in one of the reference picture lists. The video decoder 30 may construct the reference frame lists, i.e., list 0 and list 1, using a default construction technique based on the reference pictures stored in the DPB 330.

[0207] Mode selection unit 360 is configured to determine prediction information for the video blocks of the current video slice by parsing the motion vectors and other syntax elements, and to use the prediction information to produce predictive blocks for the current video block being decoded. For example, mode selection unit 360 uses some of the received syntax elements to determine the prediction mode (e.g., intra prediction or inter prediction) used to code the video blocks of the video slice, the inter-prediction slice type (e.g., B slice, P slice, or GPB slice), configuration information for one or more of the reference picture lists for the slice, motion vectors for each inter-coded video block of the slice, inter-prediction status for each inter-coded video block of the slice, and other information for decoding video blocks in the current video slice.

[0208] Other variations of the video decoder 30 may be used to decode the encoded picture data 21. For example, the decoder 30 may produce an output video stream without a loop filtering unit 320. For example, a non-transform-based decoder 30 may directly inverse quantize the residual signal without an inverse transform processing unit 312 for some blocks or frames. In another implementation, the video decoder 30 may have the inverse quantization unit 310 and the inverse transform processing unit 312 combined into a single unit.

[0209] It should be understood that in the encoder 20 and the decoder 30, the processing result of the current step may be further processed and then output to the next step. For example, after the interpolation filtering, the motion vector derivation, or the loop filtering, further operations such as clipping or shifting may be performed on the processing result of the interpolation filtering, the motion vector derivation, or the loop filtering.

[0210] It should be noted that further operations may be applied to the derived motion vector of the current block (including but not limited to control point motion vectors in affine mode, sub-block motion vectors in affine mode, planar mode, ATMVP mode, temporal motion vectors, etc.). For example, the value of the motion vector is constrained to a predefined range according to its representation bit. If the representation bit of the motion vector is bitDepth, the range is -2^(bitDepth-1) to 2^(bitDepth-1)-1, where "^" means exponentiation. For example, if bitDepth is set equal to 16, the range is -32768 to 32767, and if bitDepth is set equal to 18, the range is -131072 to 131071. For example, the value of the derived motion vector (e.g., MVs of four 4x4 sub-blocks in one 8x8 block) is constrained such that the maximum difference between the integer parts of the four 4x4 sub-block MVs is less than or equal to N pixels, such as less than or equal to 1 pixel.

[0211] Here, we provide two methods for constraining motion vectors according to bitDepth.

[0212] Method 1: Eliminate the overflow MSB (Most Significant Bit) by flowing arithmetic. ux=(mvx+2 bitDepth )%2 bitDepth (1) mvx=(ux>=2 bitDepth-1 ) ? (ux-2 bitDepth ) : ux (2) uy=(mvy+2 bitDepth )%2 bitDepth (3) mvy=(uy>=2 bitDepth-1 ) ? (uy-2 bitDepth ) : uy (4) where mvx is the horizontal component of the motion vector of the image block or sub-block, mvy is the vertical component of the motion vector of the image block or sub-block, and ux and uy denote intermediate values.

[0213] For example, if the value of mvx is -32769, then after applying equation (1) and equation (2), the resulting value is 32767. In computer systems, decimal numbers are stored as two's complement numbers. The two's complement of -32769 is 1, 0111, 1111, 1111, 1111 (17 bits), then the MSB is discarded, so the resulting two's complement is 0111, 1111, 1111, 1111 (decimal 32767), which is the same as the output by applying equation (1) and equation (2). ux=(mvpx+mvdx+2 bitDepth )%2 bitDepth (5) mvx=(ux>=2 bitDepth-1 ) ? (ux-2 bitDepth ) : ux (6) uy=(mvpy+mvdy+2 bitDepth )%2 bitDepth (7) mvy=(uy>=2 bitDepth-1 ) ? (uy-2 bitDepth ) : uy (8)

[0214] As shown in equations (5) through (8), the operation may be applied between the sums of mvp and mvd.

[0215] Method 2: Remove the overflow MSB by clipping the value. vx=Clip3(-2 bitDepth-1 ,2 bitDepth-1 -1,vx) vy=Clip3(-2 bitDepth-1 ,2 bitDepth-1 -1,vy) where vx is the horizontal component of the motion vector of the image block or sub-block, vy is the vertical component of the motion vector of the image block or sub-block, x, y, and z correspond to the three input values ​​of the MV clipping process, respectively, and the definition of the function Clip3 is as follows:

[0216]

number

[0217] 4 is a schematic diagram of a video coding device 400 according to one embodiment of the present disclosure. The video coding device 400 is suitable for implementing the disclosed embodiments as described herein. In one embodiment, the video coding device 400 may be a decoder, such as the video decoder 30 of FIG. 1A, or an encoder, such as the video encoder 20 of FIG. 1A.

[0218] Video coding device 400 comprises an ingress port 410 (or input port 410) and a receiver unit (Rx) 420 for receiving data, a processor, logic unit, or central processing unit (CPU) 430 for processing the data, a transmitter unit (Tx) 440 and an egress port 450 (or output port 450) for transmitting the data, and a memory 460 for storing data. Video coding device 400 may also comprise optical-to-electrical (OE) and electrical-to-optical (EO) components coupled to the ingress port 410, the receiver unit 420, the transmitter unit 440, and the egress port 450 for the egress or ingress of optical or electrical signals.

[0219] The processor 430 is implemented by hardware and software. The processor 430 may be implemented as one or more CPU chips, cores (e.g., multi-core processors), FPGAs, ASICs, and DSPs. The processor 430 is in communication with the ingress port 410, the receiver unit 420, the transmitter unit 440, the egress port 450, and the memory 460. The processor 430 comprises a coding module 470. The coding module 470 implements the disclosed embodiments described above. For example, the coding module 470 performs, processes, prepares, or provides various coding operations. Thus, the inclusion of the coding module 470 provides a significant improvement in the functionality of the video coding device 400 and provides transformation of the video coding device 400 into different states. Alternatively, the coding module 470 is implemented as instructions stored in the memory 460 and executed by the processor 430.

[0220] Memory 460 may comprise one or more disks, tape drives, and solid state drives, and may be used as an overflow data storage device for storing programs when such programs are selected for execution, and for storing instructions and data read during program execution. Memory 460 may be, for example, volatile and / or non-volatile, and may be read only memory (ROM), random access memory (RAM), ternary content-addressable memory (TCAM), and / or static random access memory (SRAM).

[0221] FIG. 5 is a simplified block diagram of an apparatus 500 that may be used as either or both of source device 12 and destination device 14 from FIG. 1 in accordance with an example embodiment.

[0222] The processor 502 in the apparatus 500 may be a central processing unit. Alternatively, the processor 502 may be any other type of device or devices, now existing or later developed, capable of manipulating or processing information. Although the disclosed implementations may be practiced with a single processor, e.g., processor 502, as shown, advantages in speed and efficiency may be achieved using two or more processors.

[0223] The memory 504 in the apparatus 500 may be a read-only memory (ROM) device or a random access memory (RAM) device in one implementation. Any other suitable type of storage device may be used as the memory 504. The memory 504 may include code and data 506 that is accessed by the processor 502 using a bus 512. The memory 504 may further include an operating system 508 and application programs 510, which include at least one program that enables the processor 502 to perform the methods described herein. For example, the application programs 510 may include applications 1-N, which further include a video coding application that performs the methods described herein.

[0224] The apparatus 500 may also include one or more output devices, such as a display 518. The display 518, in one example, may be a touch-sensitive display that combines a display with a touch-sensitive element operable to sense touch input. The display 518 may be coupled to the processor 502 via the bus 512.

[0225] Although shown here as a single bus, bus 512 of device 500 may be comprised of multiple buses. Additionally, secondary storage 514 may be directly coupled to other components of device 500 or may be accessed over a network, and may comprise a single integrated unit, such as a memory card, or multiple units, such as multiple memory cards. Thus, device 500 may be implemented in a wide variety of configurations.

[0226] Intra Prediction Mode According to the HEVC / H.265 standard, 35 intra-prediction modes are available. As shown in FIG. 6, the set includes the following modes: planar mode (intra-prediction mode index is 0), DC mode (intra-prediction mode index is 1), and directional (angular) mode, covering a range of 180° and having an intra-prediction mode index value range of 2 to 34, indicated by black arrows in FIG. 6. In order to capture any edge directions present in natural video, the number of directional intra-modes is extended from 33 as used in HEVC to 65. Additional directional modes are indicated as dashed arrows in FIG. 6, while planar and DC modes remain the same. It is worth noting that the range covered by the intra-prediction modes can be wider than 180°. In particular, the 62 directional modes with index values ​​of 3 to 64 cover a range of almost 230°, i.e., some pairs of modes have opposite directionality. In the case of the HEVC Reference Model (HM) and JEM platform, only one pair of angular modes (i.e., modes 2 and 66) have opposite directionality as shown in Figure 6. To construct a predictor, conventional angular modes take reference samples and filter them (if necessary) to obtain a sample predictor. The number of reference samples required to construct a predictor depends on the length of the filter used for interpolation (e.g., bilinear and cubic filters are of length 2 and 4, respectively).

[0227] FIG. 4 shows an example of 67 intra prediction modes, e.g., as proposed for VVC, where the intra prediction modes include planar mode (index 0), dc mode (index 1), and angle modes with indices 2 to 66, where the bottom left angle mode in FIG. 6 refers to index 2 and the index numbering is incremented until index 66 is the top right most angle mode in FIG. 6.

[0228] Most Probable Mode List Configuration In order to improve coding efficiency, a most probable mode (MPM) list is used in intra-mode coding. Due to a large number of intra-modes (e.g., 35 in ITU H.265 and 67 in VVC), the most probable mode list of a current CU (coding unit) or current CB (coding block) is constructed based on the intra-prediction mode of its neighboring CU or CB. Since the intra-mode of a current CU or current CB is related to the intra-prediction mode of its neighboring CU or CB, the MPM list usually provides good prediction, and the intra-mode of a current CU or current CB is likely to be in the MPM list. In this way, an index of the MPM list is signaled to derive the intra-mode of a current CU or current CB. Compared with the number of all intra-modes, the length of the MPM list is much smaller (e.g., a 3-MPM list is used in HEVC and a 6-MPM list is used in VVC), and therefore not many bits are required to code an intra-mode. A flag (e.g., mpm_flag) is used to indicate whether the intra mode of the current CU or current CB is in the MPM list. If the value of the flag is true (e.g., the value is 1), the intra mode of the current CU or current CB is in the MPM list. If the value of the flag is false (e.g., the value is 0), the intra mode of the current CU or current CB is not in the MPM list, and the intra mode of the current CU or current CB is signaled using a binarized code.

[0229] MPM list configuration in VVC and ITU H.265 In VVC and ITU H.265, the MPM list is constructed based on the neighboring left and top blocks of the current block. The mode list is used when the left and top blocks of the current block are unavailable for intra prediction.

[0230] In one example for a 6-MPM list configuration, the mode list may include, in order, the following intra-prediction modes: (1) planar mode, (2) DC mode, (3) vertical mode, (4) horizontal mode, (5) V-4 mode (i.e., intra mode 46), and (6) V+4 mode (i.e., intra mode 54). In another example for a 3-MPM list configuration, the default mode list may include, in order, the following intra-prediction modes: (1) planar mode, and (2) DC mode.

[0231] Binarization of the current block index when the current block's intra mode is in the MPM list Binarization is used to convert the decimal representation to a binary representation. In ITU-T H.265 and VVC, many binarization techniques are used, such as fixed length codes, shortened unary codes, and shortened binary codes. The shortened unary codes are used to code the indexes corresponding to the 6-MPM list. The shortened unary binarization represents an mpm idx that has n 1s followed by 0s, except for the maximum value where all n bits are 1, or alternatively has n 0s followed by 1s, except for the maximum value where all n bits are 0 (assuming mpm idx is n, the value of n ranges between 0 and 5 inclusive). The binarization code for the mpm index with the maximum value of 5 is shown in Table 1.

[0232] [Table 1]

[0233] In the above example, each decimal value is coded according to one more bit in the binary representation compared to the preceding decimal value (which is one decimal value smaller), except for the last decimal value, which corresponds to the maximum value of the index.

[0234] Multi-hypothesis prediction A coding block is either intra predicted (i.e., using reference samples in the same picture) or inter predicted (i.e., using reference samples in other pictures). Multi-hypothesis prediction combines these two prediction techniques. Therefore, it is sometimes called combined inter-intra prediction. When combined inter-intra prediction is possible, weights are added to the intra-predicted and inter-predicted samples, and the final prediction for the coding block is derived as a weighted average sample.

[0235] In VTM3.0, when multi-hypothesis (MH) prediction is possible, four or three intra modes based on block shape are used. In the four intra mode cases, planar, DC, vertical (corresponding to value 50), and horizontal (corresponding to 18) modes are used. In the three intra mode cases, when the CU width or CB width is greater than twice the CU height or CB height, the horizontal mode is removed from the intra mode list, and when the CU height or CB height is greater than twice the CU width or CB width, the vertical mode is removed from the intra mode list. For both three and four intra mode cases, only these four intra modes (i.e., planar, DC, vertical, and horizontal) are allowed, and a 3-MPM list is defined.

[0236] MH block: A coding block of the luma component predicted by multi-hypothesis prediction.

[0237] Intra block: A coding block that is predicted by intra prediction but not by multi-hypothesis prediction. The MPM list configuration for MH blocks is different from the MPM list configuration for intra blocks in VTM3.0. In one example, a 6-MPM list is configured, and 67 intra modes can be used for intra prediction. The MPM list configuration for intra blocks is configured based on the intra prediction modes of the left block and the block above, and if the intra prediction modes of the left block and the block above are not available, a 6-entry default mode list {Planar, DC, Vertical, Horizontal, Vertical-4, Vertical+4} can be used.

[0238] In another aspect, the binarization for the mpm list index of the MH block is different from the binarization for the mpm list index of the intra block. First, for the MH block, a 3-MPM list is defined and the maximum value of the mpm list index is 2, while for the intra block, a 6-MPM list is defined and the maximum value of the mpm list index is 5. Second, in the three or four intra mode cases, the index binarization for the MH block is combined with the signaling of mpm_flag. When in the three intra mode case, mpm_flag is not signaled but inferred as true, since the intra mode should be in the 3-MPM list after excluding the horizontal or vertical modes. In the four intra-mode case, mpm_flag is signaled, and if the value of mpm_flag is true (e.g., the value of mpm_flag is 1), mpm_idx is coded using a shortened unary code, and the maximum value of the shortened unary code is 2; if the value of mpm_flag is false (e.g., the value of mpm_flag is 0), the intra mode is obtained by excluding the three intra modes in the 3-MPM list from the four modes {planar, DC, vertical, and horizontal}.

[0239] The binarization of the MPM list index of the MH block and the mpm_flag signaling for the 3 and 4 intra mode cases are represented by Table 2.

[0240] [Table 2]

[0241] The block-based approach in VTM, which distinguishes between three or four MPMs for MH blocks, increases the decoding computational complexity and may not be necessary for blocks where multi-hypothesis prediction (i.e., combined inter-intra prediction) is applied.

[0242] The embodiments of the present application provide several alternatives for reducing the computational complexity of decoding blocks of a picture through MH prediction, which benefit from simplification of the MPM list construction, especially for MH blocks.

[0243] Embodiment 1: It determines whether multi-hypothesis prediction is applied to the coding block.

[0244] When multi-hypothesis prediction is applied to predict a coding block, Use a first MPM list with a predefined default list of modes for intra prediction, where the default list is of size N, where N is greater than 0. · Predicting a block based on one of the entries in the first MPM list.

[0245] If multi-hypothesis prediction is not applied to predict a coding block, and if intra prediction is applied to predict a block, · Predicting a block based on one of the entries of a second MPM list (in one example, the second MPM list is constructed according to the method disclosed in JVET-L1001).

[0246] In one implementation, the default mode list is of length four and the list consists of the following entries with a specified order: planar mode, DC mode, vertical mode, and horizontal mode.

[0247] In one implementation, the default mode list is of length 3 and the list consists of the following entries with the specified order: planar mode, DC mode, vertical mode.

[0248] In one implementation, the default mode list is of length 2 and the list consists of the following entries with the specified order: Planar Mode, DC Mode.

[0249] In one implementation, the default mode list is of length 1 and the list consists of only planar modes.

[0250] In one implementation, the binarization of the mpm list index uses a shortened unary code, and when the first MPM list has four intra modes, the maximum value of the shortened unary code is 3, and mpm_flag is always set to true (the value of mpm_flag is 1).

[0251] In another implementation, the first four candidates in the default mode list are used to construct a first MPM list having four intra modes. The order of the four candidates in the default mode list is the same as the order of the candidates in the first MPM list. As an example, the default mode list contains the following intra prediction modes: 1. Planar mode, 2.DC mode, 3. Vertical mode, 4. Horizontal mode, 5.V-4 mode, 6.V+4 mode then the first MPM list includes the following intra prediction modes: 1. Planar mode, 2.DC mode, 3. Vertical mode, 4. Horizontal Mode are provided in order.

[0252] In one implementation, the first three candidates in the default mode list are used to construct a first MPM list having three intra-modes.

[0253] In one implementation, the binarization of the mpm list index uses a shortened unary code, and when the first MPM list has three intra modes, the maximum value of the shortened unary code is 2, and mpm_flag is always set to true (the value of mpm_flag is 1).

[0254] In another implementation, the first three candidates in the default mode list are used to construct a first MPM list having three intra modes. The order of the three candidates in the default mode list is the same as the order of the candidates in the first MPM list. As an example, the default mode list contains the following intra prediction modes: 1. Planar mode, 2.DC mode, 3. Vertical mode, 4. Horizontal mode, 5.V-4 mode, 6.V+4 mode then the first MPM list includes the following intra prediction modes: 1. Planar mode, 2.DC mode, 3. Vertical Mode are provided in order.

[0255] In one implementation, the first two candidates in the default mode list are used to construct a first MPM list having two intra modes.

[0256] In one implementation, when the first MPM list has two intra modes, the binarization of the mpm list index uses a shortened unary code with a maximum value of 1, and mpm_flag is always set to true (the value of mpm_flag is 1).

[0257] In another implementation, the first two candidates in the default mode list are used to construct a first MPM list having two intra modes. The order of the two candidates in the default mode list is the same as the order of the candidates in the first MPM list. As an example, the default mode list contains the following intra prediction modes: 1. Planar mode, 2.DC mode, 3. Vertical mode, 4. Horizontal mode, 5.V-4 mode, 6.V+4 mode then the first MPM list includes the following intra prediction modes: 1. Planar mode, 2.DC mode are provided in order.

[0258] In one implementation, a first candidate in the default mode list is used to construct a first MPM list having one intra mode. In one example, the mode inserted into the first MPM list is a planar mode.

[0259] In one implementation, if the first MPM list has one intra mode and is coded using a fixed intra mode, mpm_idx is not signaled and mpm_flag is always set to true (the value of mpm_flag is 1).

[0260] In another implementation, the first candidate in the default mode list is used to construct a first MPM list having one intra mode. As an example, the default mode list includes the following intra prediction modes: 1. Planar mode, 2.DC mode, 3. Vertical mode, 4. Horizontal mode, 5.V-4 mode, 6.V+4 mode then the first MPM list includes the following intra prediction modes: 1. Planar mode are provided in order.

[0261] The second MPM list may be configured according to methods in ITU-T H.265 and VVC, see the above examples and disclosures on the MPM list configuration process in ITU-T H.265 and VVC.

[0262] Embodiment 2: Construct a first MPM list (in one example, the first MPM list is constructed according to the method disclosed in JVET-L1001).

[0263] It determines whether multi-hypothesis prediction is applied to the coding block.

[0264] When multi-hypothesis prediction is applied to predict a coding block, · Predicting a block based on one of the entries in the first MPM list.

[0265] If multi-hypothesis prediction is not applied to predict a coding block, and if intra prediction is applied to predict a block, · Predicting a block based on one of the entries in the first MPM list.

[0266] In one implementation, intra prediction based on one of the entries in the first MPM list is performed as follows. · Step 1: Configure all of the entries in the first MPM list. · Step 2: The block decides whether to apply multi-hypothesis prediction or not. Step 3: If multi-hypothesis prediction is applied to predict the coding block, * Parse an index indication from the bitstream, whose maximum value is known as (N-1), where N is greater than or equal to 1. When N is 1, the index indication is inferred (but not parsed) as 0. * Derive an intra-prediction mode according to the first MPM list and the derived index indication. The derived intra-prediction mode is an entry in the first MPM list indexed by the index indication. * If the derived intra prediction mode is an angular mode with a mode index (corresponding value of the intra mode) between 2 and 34 inclusive, the derived intra prediction is changed to horizontal mode. * Otherwise, if the derived intra prediction is an angular mode with a mode index between 35 and 66, inclusive, then the derived intra prediction is changed to vertical mode. If multi-hypothesis prediction is not applied to predict a block and intra prediction is applied to the block, * Parse an index indication from the bitstream whose maximum value is known as (M-1), where M is greater than or equal to 1. * Derive an intra-prediction mode according to the first MPM list and the derived index indication. The derived intra-prediction mode is an entry in the first MPM list indexed by the index indication. · Step 4: Predict the block based on the derived intra mode.

[0267] In one implementation, intra prediction based on one of the entries in the first MPM list is performed as follows. · Step 1: Configure all of the entries in the first MPM list. · Step 2: The block decides whether to apply multi-hypothesis prediction or not. Step 3: If multi-hypothesis prediction is applied to predict the coding block, * Parse an index indication from the bitstream, whose maximum value is known as (N-1), where N is greater than or equal to 1. When N is 1, the index indication is inferred (but not parsed) as 0. * Derive an intra-prediction mode according to the first MPM list and the derived index indication. The derived intra-prediction mode is an entry in the first MPM list indexed by the index indication. * If the derived intra prediction mode is an angular mode with a mode index (corresponding value of the intra mode) between 2 and 33 inclusive, the derived intra prediction is changed to horizontal mode. * Otherwise, if the derived intra prediction is an angular mode with a mode index between 34 and 66, inclusive, then the derived intra prediction is changed to vertical mode. If multi-hypothesis prediction is not applied to predict a block and intra prediction is applied to the block, * Parse an index indication from the bitstream whose maximum value is known as (M-1), where M is greater than or equal to 1. * Derive an intra-prediction mode according to the first MPM list and the derived index indication. The derived intra-prediction mode is an entry in the first MPM list indexed by the index indication. · Step 4: Predict the block based on the derived intra mode.

[0268] In one implementation, intra prediction based on one of the entries in the first MPM list is performed as follows. · Step 1: Configure all of the entries in the first MPM list. · Step 2: The block decides whether to apply multi-hypothesis prediction or not. Step 3: If multi-hypothesis prediction is applied to predict the coding block, * Parse an index indication from the bitstream, whose maximum value is known as (N-1), where N is greater than or equal to 1. When N is 1, the index indication is inferred (but not parsed) as 0. * Derive an intra-prediction mode according to the first MPM list and the derived index indication. The derived intra-prediction mode is an entry in the first MPM list indexed by the index indication. * If the derived intra prediction mode is an angular mode with a mode index (corresponding value of the intra mode) between 2 and 66 inclusive, the derived intra prediction is changed to planar mode. *Predict the block based on the derived intra mode. If multi-hypothesis prediction is not applied to predict a block and intra prediction is applied to the block, * Parse an index indication from the bitstream whose maximum value is known as (M-1), where M is greater than or equal to 1. * Derive an intra-prediction mode according to the first MPM list and the derived index indication. The derived intra-prediction mode is an entry in the first MPM list indexed by the index indication. · Step 4: Predict the block based on the derived intra mode.

[0269] Embodiment 3: Determines whether the block applies multi-hypothesis prediction.

[0270] When multi-hypothesis prediction is applied to predict a block, Configure the first N entries of the first MPM list (in one example, the first MPM list is configured according to the method disclosed in JVET-L1001). · Predicting a block based on one of the entries in the first MPM list.

[0271] If multi-hypothesis prediction is not applied to predict a block, and if intra prediction is applied to the block, Configure all of the entries in the first MPM list (in one example, the first MPM list is configured according to the method disclosed in JVET-L1001). · Predicting a block based on one of the entries in the first MPM list.

[0272] In one implementation, the first MPM list comprises only planar, DC, vertical, and horizontal intra prediction modes.

[0273] In one implementation, intra prediction based on one of the entries in the first MPM list is performed as follows. · Step 1: The block decides whether to apply multi-hypothesis prediction or not. Step 2: When multi-hypothesis prediction is applied to predict coding blocks, o Configure the first N entries of the first MPM list, i.e. configure the first N entries of the first MPM list according to the configuration rules of the first MPM list. Once the first N entries can be determined, stop configuring other entries of the first MPM list. Parse an index indication from the bitstream whose maximum value is known as (N-1), where N is greater than or equal to 1. When N is 1, the index indication is inferred (but not parsed) as 0. o Derive an intra-prediction mode according to the first N entries of the first MPM list and the derived index indication. The derived intra-prediction mode is an entry among the first N entries in the first MPM list indexed by the index indication. o If the derived intra prediction mode is an angular mode with a mode index (corresponding value of the intra mode) between 2 and 33 inclusive, the derived intra prediction is changed to horizontal mode (corresponding to value 18). o Otherwise, if the derived intra prediction is an angular mode with a mode index between 34 and 66, inclusive, then the derived intra prediction is changed to vertical mode (corresponding to a value of 50). If multi-hypothesis prediction is not applied to predict a block and intra prediction is applied to the block, o Configure all M entries in the first MPM list. Parse an index indication from the bitstream whose maximum value is known as (M-1), where M is greater than or equal to 1. o Derive an intra-prediction mode according to the first MPM list and the derived index indication. The derived intra-prediction mode is an entry in the first MPM list indexed by the index indication. · Step 3: Predict the block based on the derived intra mode.

[0274] In one implementation, intra prediction based on one of the entries in the first MPM list is performed as follows. · Step 1: The block decides whether to apply multi-hypothesis prediction or not. Step 2: When multi-hypothesis prediction is applied to predict coding blocks, o Configure the first N entries of the first MPM list, i.e. configure the first N entries of the first MPM list according to the configuration rules of the first MPM list. Once the first N entries can be determined, stop configuring other entries of the first MPM list. Parse an index indication from the bitstream whose maximum value is known as (N-1), where N is greater than or equal to 1. When N is 1, the index indication is inferred (but not parsed) as 0. o Derive an intra-prediction mode according to the first N entries of the first MPM list and the derived index indication. The derived intra-prediction mode is an entry among the first N entries in the first MPM list indexed by the index indication. o If the derived intra prediction mode is an angular mode with a mode index (corresponding value of the intra mode) between 2 and 34 inclusive, the derived intra prediction is changed to horizontal mode (corresponding to value 18). o Otherwise, if the derived intra prediction is an angular mode with a mode index between 35 and 66, inclusive, then the derived intra prediction is changed to vertical mode (corresponding to a value of 50). If multi-hypothesis prediction is not applied to predict a block and intra prediction is applied to the block, o Configure all M entries in the first MPM list. Parse an index indication from the bitstream whose maximum value is known as (M-1), where M is greater than or equal to 1. o Derive an intra-prediction mode according to the first MPM list and the derived index indication. The derived intra-prediction mode is an entry in the first MPM list indexed by the index indication. · Step 3: Predict the block based on the derived intra mode.

[0275] In one implementation, intra prediction based on one of the entries in the first MPM list is performed as follows. · Step 1: The block decides whether to apply multi-hypothesis prediction or not. Step 2: When multi-hypothesis prediction is applied to predict coding blocks, o Configure the first N entries of the first MPM list, i.e. configure the first N entries of the first MPM list according to the configuration rules of the first MPM list. Once the first N entries can be determined, stop configuring other entries of the first MPM list. Parse an index indication from the bitstream whose maximum value is known as (N-1), where N is greater than or equal to 1. When N is 1, the index indication is inferred (but not parsed) as 0. o Derive an intra-prediction mode according to the first N entries of the first MPM list and the derived index indication. The derived intra-prediction mode is an entry among the first N entries in the first MPM list indexed by the index indication. o If the derived intra prediction mode is an angular mode with a mode index (corresponding value of the intra mode) between 2 and 66 inclusive, the derived intra prediction is changed to planar mode (corresponding to value 0). If multi-hypothesis prediction is not applied to predict a block and intra prediction is applied to the block, o Configure all M entries in the first MPM list. Parse an index indication from the bitstream whose maximum value is known as (M-1), where M is greater than or equal to 1. o Derive an intra-prediction mode according to the first MPM list and the derived index indication. The derived intra-prediction mode is an entry in the first MPM list indexed by the index indication. · Step 3: Predict the block based on the derived intra mode.

[0276] In one implementation, the first MPM list is constructed based on the first N entries of the second MPM list as follows: · Step 1: Go to the first entry in the second MPM list. · Step 2.1: If the entry is in planar or DC mode, insert the entry into the first MPM list. · Step 2.2: Otherwise, if the entry is an angular mode with a mode index between 2 and 33, inclusive, then insert the horizontal mode into the first MPM list. · Step 2.3: Otherwise, if the entry is an angular mode with a mode index between 34 and 66 inclusive, then insert the vertical mode into the first MPM list. · Step 3: Proceed to the next entry in the second MPM list and resume from step 2.1 until the number of entries in the first MPM list is equal to the specified maximum.

[0277] In one implementation, the first MPM list is constructed based on the first N entries of the second MPM list as follows: · Step 1: Go to the first entry in the second MPM list. · Step 2.1: If the entry is in planar or DC mode, insert the entry into the first MPM list. Step 2.2: Otherwise, if the entry is an angular mode with a mode index between 2 and 34, inclusive, and if a horizontal mode has not been inserted, then insert a horizontal mode into the first MPM list. Step 2.3: Otherwise, if the entry is an angular mode with a mode index between 35 and 66, inclusive, and if a vertical mode has not been inserted, insert a vertical mode into the first MPM list. · Step 3: Proceed to the next entry in the second MPM list and resume from step 2.1 until either the number of entries in the first MPM list is equal to a specified maximum or all of the first N entries of the second MPM list have been iterated. · Step 4: Put one or more default modes that have not been inserted into the first MPM list.

[0278] In one implementation, the first MPM list is constructed based on the first N entries of the second MPM list as follows: · Step 1: Go to the first entry in the second MPM list. · Step 2.1: If the entry is in planar or DC mode, insert the entry into the first MPM list. Step 2.2: Otherwise, if the entry is an angular mode with a mode index between 2 and 33, inclusive, and if a horizontal mode has not been inserted, insert a horizontal mode in the first MPM list. Step 2.3: Otherwise, if the entry is an angular mode with a mode index between 34 and 66, inclusive, and if a vertical mode has not been inserted, insert a vertical mode into the first MPM list. · Step 3: Proceed to the next entry in the second MPM list and resume from step 2.1 until either the number of entries in the first MPM list is equal to a specified maximum or all of the first N entries of the second MPM list have been iterated. · Step 4: Put one or more default modes that have not been inserted into the first MPM list.

[0279] In one implementation, the first MPM list is constructed based on the first N entries of the second MPM list as follows: · Step 1: Go to the first entry in the second MPM list. · Step 2.1: If the entry is in planar or DC mode, insert the entry into the first MPM list. Step 2.2: Otherwise, if the entry is an angular mode with a mode index between 2 and 66, inclusive, and if the default mode has not been inserted, insert the default mode into the first MPM list. · Step 3: Proceed to the next entry in the second MPM list and resume from step 2.1, filling with different default modes until the number of entries in the first MPM list is equal to the specified maximum.

[0280] Embodiment 4: It determines whether multi-hypothesis prediction is applied to the coding block.

[0281] When multi-hypothesis prediction is applied to predict a coding block, Use a first MPM list with a predefined default list of modes for intra prediction (eg, default_list[N]), where the default list is of size N (N is greater than 0). Set mpm_flag as true, i.e. mpm_flag is inferred as 1. mpm_flag indicates whether the intra mode of the current block is in the MPM list or not. When mpm_flag is equal to 1, the intra mode of the current block is in the MPM list, and when mpm_flag is equal to 0, the intra mode of the current block is not in the MPM list. Parse mpm_idx with values ​​between 0 and N-1 inclusive. If N is 1, mpm_idx is not parsed but inferred as 0. Get the intra mode of the current block with default_list[mpm_idx]. · Predict the block based on the obtained intra mode.

[0282] In one example, there is no block-based binarization and no MPM list construction in this embodiment.

[0283] In one implementation, the default mode list is of length four and the list consists of the following entries with a specified order: planar mode, DC mode, vertical mode, and horizontal mode.

[0284] In one implementation, the default mode list is of length 3 and the list consists of the following entries with the specified order: planar mode, DC mode, vertical mode.

[0285] In one implementation, the default mode list is of length 3 and the list consists of the following entries with a specified order: planar mode, horizontal mode (ie, 18), and vertical mode (ie, 50).

[0286] In one implementation, the default mode list is of length three and the list consists of the following entries with a specified order: planar mode, vertical mode, and horizontal mode.

[0287] In one implementation, the default mode list is of length 2 and the list consists of the following entries with the specified order: Planar Mode, DC Mode.

[0288] In one implementation, the default mode list is of length 1 and the list consists of only planar modes.

[0289] In one implementation, the binarization of the mpm list index uses a shortened unary code, and when the first MPM list has four intra modes, the maximum value of the shortened unary code is 3, and mpm_flag is always set to true (the value of mpm_flag is 1).

[0290] In one implementation, mpm_flag is always set to true (the value of mpm_flag is 1). The binarization of the mpm list index uses shortened unary codes and all bins are CABAC bypass coded. The default MPM list is of size 3, and the maximum value of the shortened unary code is 2 when the first MPM list has three intra modes in the following order: planar mode, horizontal (i.e., 18) mode, and vertical (i.e., 50) mode.

[0291] In one implementation, mpm_flag is always set to true (the value of mpm_flag is 1). The binarization of the mpm list index uses shortened unary codes and all bins are CABAC bypass coded. The default MPM list is of size 3, and the maximum value of the shortened unary code is 2 when the first MPM list has three intra modes in the following order: planar mode, vertical (i.e., 50) mode, and horizontal (i.e., 18) mode.

[0292] The second MPM list may be configured according to methods in ITU-T H.265 and VVC, see the above examples and disclosures on the MPM list configuration process in ITU-T H.265 and VVC.

[0293] Embodiment 5: As shown in FIG. 8, the method for decoding a block of a picture includes:

[0294] Step 801: Obtain a display parameter for a current coding block, the display parameter indicating whether multi-hypothesis prediction is applied to the current coding block;

[0295] Step 802: When the indication parameter indicates that multi-hypothesis prediction is applied to the current coding block,

[0296] Step 803: Decode the current coding block according to the planar mode.

[0297] In one implementation, the multi-hypothesis prediction is combined inter- and intra-prediction (CIIP).

[0298] In one implementation, the indication parameter is a CIIP flag.

[0299] In one implementation, merge data is used to carry the display parameters, which means that the display parameters are derived from the merge data syntax.

[0300] In one implementation, after applying multi-hypothesis prediction to the current coding block based on the value of the display parameter, the method further comprises obtaining an intra-prediction mode for the current coding block according to a Most Probable Mode (MPM) list and an MPM list index. Optionally, obtaining an intra-prediction mode for the current coding block according to an MPM list and an MPM list index through the following steps: indexing each of the intra-prediction modes in the MPM list with a corresponding value of an MPM list index, parsing the MPM list index from the bitstream, where the MPM list index has a value between 0 and N-1, and obtaining an intra-prediction mode for the current block from the MPM list according to the value of the MPM list index.

[0301] In one implementation, the MPM list comprises at least a planar mode.

[0302] In another implementation, the MPM list comprises a planar mode and at least one of a DC mode, a vertical mode, and a horizontal mode.

[0303] In another implementation, the MPM list consists of a planar mode.

[0304] In one implementation, the method further comprises selecting a planar mode for the current coding block from the MPM list according to a value of the MPM list index.

[0305] In one implementation, the MPM list is constructed from a predefined default list of modes for intra prediction (eg, a default mode list), where the default list is greater than N in size.

[0306] In one implementation, the MPM list index is coded in a decimal or binary representation.

[0307] In one implementation, the binarization of the MPM list index uses a shortened unary code.

[0308] In one implementation, the first four candidates in the default mode list are used to construct an MPM list with four intra modes. The order of the four candidates in the default mode list is the same as the order of the candidates in the MPM list. As an example, the default mode list contains the following intra prediction modes: 1. Planar mode, 2.DC mode, 3. Vertical mode, 4. Horizontal mode, 5.V-4 mode, 6.V+4 mode In this case, the MPM list includes the following intra prediction modes: 1. Planar mode, 2.DC mode, 3. Vertical mode, 4. Horizontal Mode are provided in order.

[0309] In one implementation, the first three candidates in the default mode list are used to construct an MPM list with three intra-modes.

[0310] In one implementation, the binarization of the mpm list index uses a shortened unary code, and when the MPM list has three intra modes, the maximum value of the shortened unary code is 2, and mpm_flag is always set to true (the value of mpm_flag is 1).

[0311] In another implementation, the first three candidates in the default mode list are used to construct an MPM list with three intra modes. The order of the three candidates in the default mode list is the same as the order of the candidates in the MPM list. As an example, the default mode list contains the following intra prediction modes: 1. Planar mode, 2.DC mode, 3. Vertical mode, 4. Horizontal mode, 5.V-4 mode, 6.V+4 mode In this case, the MPM list includes the following intra prediction modes: 1. Planar mode, 2.DC mode, 3. Vertical Mode are provided in order.

[0312] In one implementation, the first two candidates in the default mode list are used to construct an MPM list with two intra modes.

[0313] In one implementation, when an MPM list has two intra modes, the binarization of the mpm list index uses a shortened unary code with a maximum value of 1, and mpm_flag is always set to true (the value of mpm_flag is 1).

[0314] In another implementation, the first two candidates in the default mode list are used to construct an MPM list with two intra modes. The order of the two candidates in the default mode list is the same as the order of the candidates in the MPM list. As an example, the default mode list contains the following intra prediction modes: 1. Planar mode, 2.DC mode, 3. Vertical mode, 4. Horizontal mode, 5.V-4 mode, 6.V+4 mode In this case, the MPM list includes the following intra prediction modes: 1. Planar mode, 2.DC mode are provided in order.

[0315] In one implementation, the first candidate in the default mode list is used to construct an MPM list with one intra mode. In one example, the mode inserted into the MPM list is a planar mode.

[0316] In another implementation, the first candidate in the default mode list is used to construct an MPM list with one intra mode. As an example, the default mode list includes the following intra prediction modes: 1. Planar mode, 2.DC mode, 3. Vertical mode, 4. Horizontal mode, 5.V-4 mode, 6.V+4 mode In this case, the MPM list includes the following intra prediction modes: 1. Planar mode Equipped with.

[0317] The above embodiments are also applicable to methods for coding blocks of a picture.

[0318] In one implementation, the binarization of the mpm list index uses a shortened unary code, and when the first MPM list has N intra modes, the maximum value of the shortened unary code is N-1, and mpm_flag is always set to true. If N is equal to 1, mpm_idx is not signaled.

[0319] Although embodiments of the present invention are described primarily in terms of video coding, it should be noted that embodiments of coding system 10, encoder 20, and decoder 30 (and correspondingly, system 10), as well as other embodiments described herein, may also be configured for still image processing or coding, i.e., processing or coding of individual pictures independent of any preceding or subsequent pictures, as in video coding. In general, when picture processing coding is limited to a single picture 17, only inter prediction units 244 (encoder) and 344 (decoder) may not be available. All other functionality (also called tools or techniques) of the video encoder 20 and the video decoder 30 may be equally used for still image processing, e.g., residual calculation 204 / 304, transform 206, quantization 208, inverse quantization 210 / 310, (inverse) transform 212 / 312, partitioning 262 / 362, intra prediction 254 / 354 and / or loop filter processing 220, 320, as well as entropy coding 270 and entropy decoding 304.

[0320] For example, the embodiments of the encoder 20 and the decoder 30, and the functions described herein with reference to the encoder 20 and the decoder 30, may be implemented in hardware, software, firmware, or any combination thereof. If implemented in software, the functions may be stored on a computer-readable medium or transmitted over a communication medium as one or more instructions or codes and executed by a hardware-based processing unit. The computer-readable medium may include a computer-readable storage medium, which corresponds to a tangible medium, such as a data storage medium, or a communication medium, which includes any medium that facilitates the transfer of a computer program from one place to another, for example, according to a communication protocol. In this manner, the computer-readable medium may generally correspond to (1) a tangible computer-readable storage medium that is non-transitory, or (2) a communication medium, such as a signal or carrier wave. The data storage medium may be any available medium that can be accessed by one or more computers or one or more processors to retrieve instructions, code, and / or data structures for implementation of the techniques described in this disclosure. The computer program product may include a computer-readable medium.

[0321] By way of example, and not limitation, such computer-readable storage media may comprise RAM, ROM, EEPROM, CD-ROM, or other optical disk storage, magnetic disk storage, or other magnetic storage devices, flash memory, or any other medium that can be used to store desired program code in the form of instructions or data structures and that can be accessed by a computer. Also, any connection is properly referred to as a computer-readable medium. For example, if instructions are transmitted from a website, server, or other remote source using coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL), or wireless technologies such as infrared, radio, and microwave, the coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included within the definition of media. However, it should be understood that computer-readable storage media and data storage media do not include connections, carrier waves, signals, or other transitory media, but instead cover non-transitory tangible storage media. As used herein, disk and disc include compact disc (CD), laser disc, optical disc, digital versatile disc (DVD), floppy disk, and Blu-ray disc, where disks typically reproduce data magnetically and discs reproduce data optically using lasers. Combinations of the above should also be included within the scope of computer readable media.

[0322] The instructions may be executed by one or more processors, such as one or more digital signal processors (DSPs), general-purpose microprocessors, application specific integrated circuits (ASICs), field programmable logic arrays (FPGAs), or other equivalent integrated or discrete logic circuitry. Thus, the term "processor" as used herein may refer to any of the above structures or any other structure suitable for implementing the techniques described herein. In addition, in some aspects, the functionality described herein may be provided in dedicated hardware and / or software modules configured for encoding and decoding, or may be incorporated into a combined codec. Also, the techniques may be fully implemented in one or more circuits or logic elements.

[0323] The techniques of the present disclosure may be implemented in a wide variety of devices or apparatuses, including a wireless handset, an integrated circuit (IC), or a set of ICs (e.g., a chipset). Various components, modules, or units are described in this disclosure to highlight functional aspects of devices configured to perform the disclosed techniques, but do not necessarily require realization by various hardware units. Rather, as described above, the various units may be combined in a codec hardware unit or may be provided by a collection of interoperable hardware units including one or more processors as described above, along with suitable software and / or firmware.

[0324] The following is a description of application examples of the coding method and the decoding method as shown in the above embodiments and the system using them.

[0325] 9 is a block diagram showing a content supply system 3100 for implementing a content distribution service. The content supply system 3100 includes a capture device 3102, a terminal device 3106, and optionally a display 3126. The capture device 3102 communicates with the terminal device 3106 via a communication link 3104. The communication link may include the communication channel 13 described above. The communication link 3104 includes, but is not limited to, WIFI, Ethernet, cable, wireless (3G / 4G / 5G), USB, or any type of combination thereof.

[0326] The capture device 3102 may generate data and code the data by a coding method as shown in the above embodiment. Alternatively, the capture device 3102 may deliver data to a streaming server (not shown), which codes the data and transmits the coded data to the terminal device 3106. The capture device 3102 includes, but is not limited to, a camera, a smartphone or pad, a computer or laptop, a video conferencing system, a PDA, an in-vehicle device, or any combination thereof. For example, the capture device 3102 may include a source device 12 as described above. When the data includes video, a video encoder 20 included in the capture device 3102 may actually perform the video coding process. When the data includes audio (i.e., voice), an audio encoder included in the capture device 3102 may actually perform the audio coding process. For some practical scenarios, the capture device 3102 delivers the coded video and audio data by multiplexing them together. For other practical scenarios, for example, in a video conferencing system, the coded audio data and the coded video data are not multiplexed. The capture device 3102 delivers the encoded audio data and the encoded video data separately to the terminal device 3106 .

[0327] In the content supply system 3100, the terminal device 310 receives and plays the coded data. The terminal device 3106 may be a device having data receiving and restoring capabilities, such as a smartphone or pad 3108, a computer or laptop 3110, a network video recorder (NVR) / digital video recorder (DVR) 3112, a TV 3114, a set-top box (STB) 3116, a video conferencing system 3118, a video surveillance system 3120, a personal digital assistant (PDA) 3122, an in-vehicle device 3124, or any combination thereof, capable of decoding the coded data described above. For example, the terminal device 3106 may include the destination device 14 as described above. When the coded data includes video, the video decoder 30 included in the terminal device is prioritized to perform video decoding. When the coded data includes audio, the audio decoder included in the terminal device is prioritized to perform audio decoding processing.

[0328] In the case of a terminal device having a display, for example, a smartphone or pad 3108, a computer or laptop 3110, a network video recorder (NVR) / digital video recorder (DVR) 3112, a TV 3114, a personal digital assistant (PDA) 3122, or an in-vehicle device 3124, the terminal device can provide the decoded data to its display. In the case of a terminal device not equipped with a display, for example, an STB 3116, a video conferencing system 3118, or a video surveillance system 3120, an external display 3126 is brought into contact with them to receive and display the decoded data.

[0329] When each device in the system performs coding or decoding, a picture coding device or a picture decoding device as shown in the above embodiments may be used.

[0330] 10 is a diagram showing the structure of an example of a terminal device 3106. After the terminal device 3106 receives a stream from the capture device 3102, the protocol progression unit 3202 analyzes the transmission protocol of the stream. The protocol includes, but is not limited to, Real Time Streaming Protocol (RTSP), Hypertext Transfer Protocol (HTTP), HTTP Live Streaming Protocol (HLS), MPEG-DASH, Real Time Transport Protocol (RTP), Real Time Messaging Protocol (RTMP), or any kind of combination thereof.

[0331] After the protocol proceeding unit 3202 processes the stream, a stream file is generated. The file is output to the demultiplexing unit 3204. The demultiplexing unit 3204 can separate the multiplexed data into coded audio data and coded video data. As described above, in some practical scenarios, for example, in a video conferencing system, the coded audio data and coded video data are not multiplexed. In this situation, the coded data is sent to the video decoder 3206 and the audio decoder 3208 without passing through the demultiplexing unit 3204.

[0332] Through the demultiplexing process, a video elementary stream (ES), an audio ES, and optionally subtitles are generated. The video decoder 3206, including the video decoder 30 as described in the above embodiment, decodes the video ES by the decoding method as shown in the above embodiment to generate video frames, and supplies this data to the synchronization unit 3212. The audio decoder 3208 decodes the audio ES to generate audio frames, and supplies this data to the synchronization unit 3212. Alternatively, the video frames may be stored in a buffer (not shown in FIG. 10) before supplying them to the synchronization unit 3212. Similarly, the audio frames may be stored in a buffer (not shown in FIG. 10) before supplying them to the synchronization unit 3212.

[0333] The synchronization unit 3212 synchronizes video and audio frames and provides the video / audio to a video / audio display 3214, optionally via a graphics processing unit (GPU). For example, the synchronization unit 3212 synchronizes the presentation of video and audio information while ensuring that data buffers in the decoder do not overflow or underflow. Information may be coded in the syntax using timestamps related to the presentation of the coded audio and visual data, as well as timestamps related to the delivery of the data stream itself. The timestamps are typically in units of 90 kHz, but the System Clock Reference (SCR), Program Clock Reference (PCR), and optional Elementary Stream Clock Reference (ESCR) have an extension with a resolution of 27 MHz.

[0334] If subtitles are included in the stream, the Subtitle Decoder 3210 decodes the subtitles, synchronizes them with the video and audio frames, and provides the video / audio / subtitles to the Video / Audio / Subtitle Display 3216, optionally via a GPU.

[0335] The present invention is not limited to the above-mentioned system, and any of the picture coding devices or picture decoding devices in the above-mentioned embodiments may be incorporated into other systems, for example, automobile systems. [Explanation of symbols]

[0336] 10 Coding system, video coding system 12 Source Device 13 Communication Channels 14 Destination Device 16 Picture Source 17 Picture, Picture Data, Raw Picture, Raw Picture Data 18 Preprocessor, Picture Preprocessor, Preprocessing Unit 19 Preprocessed Picture, Preprocessed Picture Data 20 Encoder, Video Encoder 21 Encoded picture data, bit stream 22 Communication interface, communication unit 28 Communication interface, communication unit 30 Decoder, Video Decoder 31 Decoded Picture, Decoded Picture Data 32 Post-processor, post-processing unit 33 Post-Processed Picture, Post-Processed Picture Data 34 Display Devices 46 Processing circuit configuration 201 Input unit, input interface 203 Block, Picture Block 204 Residual Calculation Unit 205 Residual, Residual Block 206 Conversion Processing Unit 207 Conversion Factors 208 Quantization Units 209 Quantized Coefficients, Quantized Transform Coefficients, Quantized Residual Coefficients 210 Inverse Quantization Unit 211 Inverse quantization coefficients, inverse quantization residual coefficients 212 Inverse Transformation Processing Unit 213 Transform block, Reconstruction residual block 214 Reconstruction Unit, Adder 215 Reconstruction Block 220 Loop Filter Unit 221 Filtered Block, Filtered Reconstructed Block 230 Decoded Picture Buffer (DPB) 231 Decoded Picture 244 Inter Prediction Units 254 intra prediction units 260 Mode Selection Unit 262 Division Unit 265 predicted block, predictor, intra predicted block, inter predicted block 266 Syntax Elements 270 Entropy Coding Unit 272 Output section, output interface 304 Entropy Decoding Unit 309 Quantization Coefficients 310 Inverse Quantization Unit 311 Transform coefficients, inverse quantization coefficients 312 Inverse Transformation Processing Unit 313 Transform block, Reconstruction residual block 314 Reconstruction Unit, Adder 315 Reconstruction Block 320 Loop filter, loop filter processing unit 321 Filtered Blocks 330 Decoded Picture Buffer (DBP) 331 Decoded Picture 344 Inter Prediction Units 354 intra prediction units 365 predicted blocks 400 Video Coding Device 410 inlet port, input port 420 Receiver Unit (Rx) 430 Processor, Logic Unit, Central Processing Unit (CPU) 440 Transmitter Unit (Tx) 450 Exit port, output port 460 Memory 470 Coding Module 500 devices 502 processor 504 Memory 506 Data 508 Operating Systems 510 Application Program 512 Bus 518 Display 3100 Contents Supply System 3102 Capture Device 3104 Communication Links 3106 Terminal Device 3108 Smartphones, Pads 3110 Computers, laptops 3112 Network Video Recorder (NVR) / Digital Video Recorder (DVR) 3114 TV 3116 Set-top box (STB) 3118 Video Conference System 3120 Video Surveillance System 3122 Personal digital assistant (PDA) 3124 In-vehicle devices 3126 Display 3202 Protocol Progression Unit 3204 Demultiplexing Unit 3206 Video Decoder 3208 Audio Decoder 3210 Subtitle Decoder 3212 Synchronous Unit 3214 Video / Audio Display 3216 Video / Audio / Subtitle Display

Claims

1. 1. A method for decoding a block of a picture, comprising the steps of: obtaining an indication parameter for a current coding block, the indication parameter indicating whether multi-hypothesis prediction is applied to the current coding block; when the indication parameter indicates that the multi-hypothesis prediction is applied to the current coding block, obtaining a planar mode for the current coding block according to a most probable mode (MPM) list, and decoding the current coding block according to the planar mode; wherein the multi-hypothesis prediction is combined inter- and intra-prediction (CIIP).

2. The method of claim 1 , wherein the indication parameter is a CIIP flag.

3. The method according to claim 1 , wherein the display parameters are conveyed by a merge data syntax.

4. Each of the intra prediction modes in the MPM list is indexed with a corresponding value of an MPM list index.

4. The method according to any one of claims 1 to 3.

5. parsing the bitstream to obtain an MPM list index, the MPM list index having a value between 0 and N-1, where N is an entry for the intra-prediction mode in the MPM list; obtaining the intra-prediction mode for the current coding block from the MPM list according to the value of the MPM list index; The method of claim 4 , further comprising:

6. The method of claim 5 , wherein the MPM list comprises at least a planar mode.

7. The method of claim 5 , wherein the MPM list comprises a planar mode and at least one of a DC mode, a vertical mode, and a horizontal mode.

8. The method of claim 5 , wherein the MPM list is of planar modes.

9. The method of claim 4 , wherein the MPM list is comprised of a predefined default list.

10. The method of claim 5 , wherein the MPM list index is coded in a decimal or binary representation.

11. A decoder comprising processing circuitry for carrying out the method of any one of claims 1 to 10.

12. A decoder comprising: a memory having instructions; and one or more processors in communication with the memory, the one or more processors executing the instructions to perform the method of any one of claims 1 to 10. decoder.

13. 1. An apparatus for decoding a block of a picture, comprising: a determining unit configured to obtain an indication parameter for a current coding block, the indication parameter indicating whether multi-hypothesis prediction is applied to the current coding block; an intra-prediction processing unit configured to obtain a planar mode for the current coding block according to a most probable mode (MPM) list when the indication parameters indicate that the multi-hypothesis prediction is applied to the current coding block, and to perform intra prediction on the current coding block based on the planar mode; wherein the multi-hypothesis prediction is combined inter- and intra-prediction (CIIP).

14. a parsing unit configured to parse a plurality of syntax elements from a bitstream of the video signal; The determining unit is further configured to determine the planar mode based on a syntax element from the plurality of syntax elements.

14. The apparatus of claim 13.

15. 1. A method for encoding a block of a picture, comprising the steps of: obtaining a view parameter for a current block, the view parameter indicating whether multi-hypothesis prediction is applied to the current block; When the display parameters indicate that the multi-hypothesis prediction is applied to the current block, obtaining a planar mode for the current block according to a most probable mode (MPM) list, and encoding the current block according to the planar mode. wherein the multi-hypothesis prediction is combined inter- and intra-prediction (CIIP).

16. The method of claim 15 , wherein the indication parameter is a CIIP flag.

17. 17. The method of claim 15, wherein the display parameters are conveyed by a merge data syntax.

18. The method of claim 17, wherein each of the intra-prediction modes in the MPM list is indexed with a corresponding value of an MPM list index.

18. The method according to any one of claims 15 to 17.

19. The method of claim 18 , wherein the MPM list comprises at least a planar mode.

20. The method of claim 18 , wherein the MPM list comprises a planar mode and at least one of a DC mode, a vertical mode, and a horizontal mode.

21. The method of claim 18 , wherein the MPM list is in planar mode.

22. 22. The method of claim 18, wherein the MPM list is comprised of a predefined default list.

23. 23. The method of claim 18, wherein the MPM list index is coded in a decimal or binary representation.

24. An encoder comprising processing circuitry for carrying out the method of any one of claims 15 to 23.

25. 1. An encoder comprising: a memory having instructions; and one or more processors in communication with the memory, the one or more processors executing the instructions to perform the method of any one of claims 15 to 23. Encoder.

26. 1. An apparatus for encoding blocks of a picture, comprising: a determining unit configured to obtain a display parameter for a current block, the display parameter indicating whether multi-hypothesis prediction is applied to the current block; an intra-prediction processing unit configured to obtain a planar mode for the current block according to a most probable mode (MPM) list when the display parameters indicate that the multi-hypothesis prediction is applied to the current block, and to encode the current block according to the planar mode; wherein the multi-hypothesis prediction is combined inter- and intra-prediction (CIIP).