Encoder, decoder, and corresponding method for constructing most probable mode lists for blocks using multi-hypothesis prediction
By constructing a most probable mode list for intra prediction using predefined intra-prediction modes based on neighboring block availability, the method reduces decoding complexity and enhances video decoding efficiency in video coding systems.
Patent Information
- Application Number
- JP2025045582
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2018-12-20
- Filing Date
- 2025-03-19
- Publication Date
- 2025-12-04
- Estimated Expiration
- 2039-11-29
AI Technical Summary
Existing video coding technologies face challenges in reducing decoding complexity while maintaining high video quality, particularly in scenarios with limited network resources and bandwidth constraints.
The method involves constructing a most probable mode list for intra prediction using predefined lists of intra-prediction modes, such as planar, DC, vertical, and horizontal, based on the availability and modes of neighboring blocks, and applying multi-hypothesis prediction to reduce decoding complexity.
This approach enhances video decoding efficiency by optimizing the decoding process, thereby improving the compression ratio with minimal sacrifice in picture quality.
Smart Images

Figure 0007780681000004 
Figure 0007780681000005 
Figure 0007780681000006
Abstract
Description
[Technical Field]
[0002] FIELD OF THE DISCLOSURE Embodiments of the present application (disclosure) 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 and video conferencing, DVD 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 considerable, which can pose challenges when the data is to be streamed or otherwise communicated over communication networks with limited bandwidth capacity. Therefore, video data is typically compressed before being communicated over modern telecommunications networks. Because memory resources may be limited, video size can also be an issue when the video is stored on a storage device. Video compression devices often use software and / or hardware at the source to code video data before transmission or storage, thereby reducing the amount of data needed 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 that improve compression ratios with little sacrifice in picture quality are desirable. 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 for reducing the decoding complexity 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 multihypothesis prediction is applied to the current coding block; obtaining index parameters for a current coding block according to the bitstream; When multi-hypothesis prediction is applied to a current coding block according to a value of a 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, where the predefined list comprises 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: obtaining a display parameter for a current coding block according to a bitstream, the display parameter indicating whether multihypothesis prediction is applied to the current coding block; obtaining index parameters for a current coding block according to the bitstream; When multi-hypothesis prediction is applied to a current coding block according to a value of a 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, where the predefined list comprises 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 multihypothesis prediction is applied to the current coding block; obtaining index parameters 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; 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, implemented by a decoding device, of decoding a block of a picture (or frame), the method comprising: obtaining a display parameter for a current coding block according to the bitstream, the display parameter indicating whether multihypothesis 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, implemented by a decoding device, of decoding a block of a picture (or frame), the method comprising: obtaining a display parameter for a current coding block according to the bitstream, the display parameter indicating whether multihypothesis prediction is applied to the current coding block; obtaining index parameters 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; 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, implemented by a decoding device, of decoding a block of a picture (or frame), the method comprising: obtaining a display parameter for a current coding block according to the bitstream, the display parameter indicating whether multihypothesis prediction is applied to the current coding block; obtaining index parameters 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; 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, implemented by a decoding device, of decoding a block of a picture (or a frame), the method comprising: obtaining a display parameter for a current coding block according to the bitstream, the display parameter indicating whether multihypothesis prediction is applied to the current coding block; obtaining index parameters 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; 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, implemented by a decoding device, of decoding a block of a picture (or frame), the method comprising: obtaining a display parameter for a current coding block according to the bitstream, the display parameter indicating whether multihypothesis 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 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 unavailable; if there is an intra-prediction mode for the left block, the left block is available); adding a horizontal 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 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 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 unavailable; if there is an intra-prediction mode for the left block, the left block is available); adding a vertical 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 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 unavailable; 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 for the above block, the above block is unavailable, and if there is an intra-prediction mode for the above block, the above block is available); 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 predetermined range (in one example, the range may be from 2 to 34, inclusive); and adding another horizontal mode to the MPM list when a block above the current coding block is available and the 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 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 unavailable; 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 for the above block, the above block is unavailable, and if there is an intra-prediction mode for the above block, the above block is available); 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 predetermined 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 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 unavailable; 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 for the above block, the above block is unavailable, and if there is an intra-prediction mode for the above block, the above block is available); 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 predetermined range (in one example, the range may be from 2 to 34, inclusive); and adding a vertical mode to the MPM list when a block above the current coding block is available and the 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 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 unavailable; 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 for the above block, the above block is unavailable, and if there is an intra-prediction mode for the above block, the above block is available); 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 second predetermined range (in one example, the range may be from 35 to 66, inclusive); and adding another vertical mode to the MPM list when a block above the current coding block is available and the 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 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 unavailable; 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 for the above block, the above block is unavailable, and if there is an intra-prediction mode for the above block, the above block is available); 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 second predetermined 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 the value corresponding to the intra prediction mode of the above block is within a second predetermined 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 unavailable; 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 for the above block, the above block is unavailable, and if there is an intra-prediction mode for the above block, the above block is available); 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 second predetermined range (in one example, the range may be from 35 to 66, inclusive); and adding a 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 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 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 unavailable; 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 for the above block, the above block is unavailable, and if there is an intra-prediction mode for the above block, the above block 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 unavailable; 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 for the above block, the above block is unavailable, and if there is an intra-prediction mode for the above block, the above block is available); When the block to the left of the current coding block is unavailable, 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 unavailable; 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 for the above block, the above block is unavailable, and if there is an intra-prediction mode for the above block, the above block is available); When the block to the left of the current coding block is unavailable, 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 unavailable; 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 for the above block, the above block is unavailable, and if there is an intra-prediction mode for the above block, the above block is available); When the block to the left of the current coding block is unavailable, the block above the current coding block is available, and the value corresponding to the intra prediction mode of the above block is within a second predetermined 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 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 unavailable; 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 for the above block, the above block is unavailable, and if there is an intra-prediction mode for the above block, the above block is available); When a block to the left of the current coding block is unavailable, 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 predetermined 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 unavailable; 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 for the above block, the above block is unavailable, and if there is an intra-prediction mode for the above block, the above block is available); When the 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 unavailable; 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 for the above block, the above block is unavailable, and if there is an intra-prediction mode for the above block, the above block 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 unavailable; 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 for the above block, the above block is unavailable, and if there is an intra-prediction mode for the above block, the above block 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 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 unavailable; 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 for the above block, the above block is unavailable, and if there is an intra-prediction mode for the above block, the above block 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 above block is within a second predetermined range (in one example, the range may be from 35 to 66, inclusive); and adding the planar mode and the 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 unavailable; 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 for the above block, the above block is unavailable, and if there is an intra-prediction mode for the above block, the above block is available); When a block to the left of a 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 above block is within a first predetermined 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 unavailable; 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 for the above block, the above block is unavailable, and if there is an intra-prediction mode for the above block, the above block is available); When the block to the left of the current coding block is available, the intra prediction mode of the left block is 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 unavailable; 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 for the above block, the above block is unavailable, and if there is an intra-prediction mode for the above block, the above block 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 unavailable; 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 for the above block, the above block is unavailable, and if there is an intra-prediction mode for the above block, the above block 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 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 unavailable; 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 for the above block, the above block is unavailable, and if there is an intra-prediction mode for the above block, the above block 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 above block 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 unavailable; 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 for the above block, the above block is unavailable, and if there is an intra-prediction mode for the above block, the above block is available); When a block to the left of a 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 first predetermined 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 unavailable; 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 for the above block, the above block is unavailable, and if there is an intra-prediction mode for the above block, the above block 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, the value corresponding to the intra prediction mode of the left block is within a second predetermined range (in one example, the range may be from 35 to 66, inclusive), and the 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 unavailable; 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 for the above block, the above block is unavailable, and if there is an intra-prediction mode for the above block, the above block 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 the value corresponding to the intra prediction mode of the left block is within a second predetermined 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 above block 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 unavailable; 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 for the above block, the above block is unavailable, and if there is an intra-prediction mode for the above block, the above block 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 the value corresponding to the intra prediction mode of the left block is within a second predetermined 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 above block 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 unavailable; 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 for the above block, the above block is unavailable, and if there is an intra-prediction mode for the above block, the above block is available); When a block to the left of a current coding block is available, a value corresponding to an intra-prediction mode of the left block is within a first predetermined 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 unavailable; 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 for the above block, the above block is unavailable, and if there is an intra-prediction mode for the above block, the above block 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 predetermined 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 above block 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 unavailable; 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 for the above block, the above block is unavailable, and if there is an intra-prediction mode for the above block, the above block is available); When a block to the left of a current coding block is available, and a value corresponding to the intra prediction mode of the left block is within a first predetermined 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 above block is 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 for processing blocks according to a most probable mode MPM list, the method comprising: Configuring a first MPM list for a current block according to the 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 multihypothesis prediction is applied to the current block; Using the first MPM list or the second MPM list to process the current block according to the value of the 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 the first aspect or any preceding implementation of 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 one intra mode, the method further comprises configuring the second MPM list of the current block according to the first intra mode in the first MPM list of the current block.
[0046] 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 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, the method further comprises 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, the method further comprises 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 the first aspect or any preceding implementation of 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, the method further comprises 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] 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 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] 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 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 a method according to any preceding implementation of the first aspect or 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 the value corresponding to the first intra prediction mode in the first MPM list of the current block is within a first predetermined range (in one example, the range may be from 2 to 34, inclusive).
[0052] In one possible implementation of a method according to any preceding implementation of the first or thirty-eighth aspects, 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 predetermined 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 unavailable; if there is an intra-prediction mode for the left block, the left block is available); and adding a planar mode to the MPM list of the current coding block when the 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] Thus, 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 to the MPM list of the current coding block when the 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] Thus, 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] Thus, 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 the value corresponding to the intra mode of the left block is within a first predetermined 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] Thus, 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 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 predetermined 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] Thus, 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 for the above block, the above block is unavailable, and if there is an intra-prediction mode for the above block, the above block 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 unavailable. (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,0) or (1,0) or (50,0) or (18,0).)
[0059] Thus, 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 for the above block, the above block is unavailable, and if there is an intra-prediction mode for the above block, the above block 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 unavailable and the MPM list of the current coding block does not include a planar mode (for example, when the intra mode of the left block is DC mode or angular mode, after the first intra mode is added to the MPM list, the MPM list does not include a planar mode). (For example, before this adding step, the MPM list of the current coding block includes one intra mode. After this adding process, the MPM list includes two intra modes; for example, the MPM list may include (1,0) or (50,0) or (18,0).)
[0060] Thus, 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 above block is a planar mode, adding the planar mode to the MPM list of the current coding block. (In one example, before this adding step, the MPM list of the current coding block includes one intra mode. After this adding process, the MPM list includes two intra modes, for example, the MPM list may include (0,0) or (1,0) or (50,0) or (18,0).)
[0061] Thus, 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, the intra mode of the above block is a planar mode, and no planar mode is included in the MPM list of the current coding block (for example, when the intra mode of the left block is a DC mode or an angular mode, no planar mode is included in the MPM list after the first intra mode is added to the MPM list), the method further includes adding a planar mode to the MPM list of the current coding block. (For example, before this adding step, the MPM list of the current coding block includes one intra mode. After this adding process, the MPM list includes two intra modes; for example, the MPM list may include (1,0), (50,0), or (18,0).)
[0062] Thus, in one possible implementation of the method according to any preceding implementation of the thirty-ninth aspect, the method comprises: The method further includes adding a DC 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 DC mode. (In one example, before this adding step, the MPM list of the current coding block includes one intra mode. After this adding process, the MPM list includes two intra modes; for example, the MPM list may include (0,1) or (1,1) or (50,1) or (18,1).)
[0063] Thus, in one possible implementation of the method according to any preceding implementation of the thirty-ninth aspect, the method comprises: The method further includes adding a DC mode to the MPM list of the current coding block when the block above the current coding block is available, the intra mode of the above block is 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 DC mode, after the first intra mode is added to 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 includes one intra mode. After this adding process, the MPM list includes two intra modes; for example, the MPM list may include (0,1), (50,1), or (18,1).)
[0064] Thus, in one possible implementation of the method according to any preceding implementation of the thirty-ninth aspect, the method comprises: The method further includes adding a horizontal mode to 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 predetermined 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 includes one intra mode. After this adding process, the MPM list includes two intra modes; for example, the MPM list may include (0,18) or (1,18) or (50,18) or (18,18).)
[0065] Thus, in one possible implementation of the method according to any preceding implementation of the thirty-ninth aspect, the method comprises: The method further includes adding a horizontal mode to the MPM list of the current coding block when a block above the current coding block is available, the value corresponding to the intra mode of the above block is within a first predetermined range (in one example, the range may be from 2 to 34, inclusive), and the horizontal 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 planar mode, or the value corresponding to the intra mode of the left block is not within the first predetermined range, the horizontal mode is not included in the MPM list after the first intra mode is added to the MPM list). (In one example, before this adding step, the MPM list of the current coding block includes one intra mode. After this adding process, the MPM list includes two intra modes; for example, the MPM list may include (0,18), (1,18), or (50,18).)
[0066] Thus, in one possible implementation of the method according to any preceding implementation of the thirty-ninth aspect, the method comprises: The method further includes adding a vertical mode to the MPM list of the current coding block when a block above the current coding block is available and the value corresponding to the intra mode of the above block is within a second predetermined 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 includes one intra mode. After this adding process, the MPM list includes two intra modes; for example, the MPM list may include (0,50) or (1,50) or (50,50) or (18,50).)
[0067] Thus, 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 predetermined 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 DC mode or planar mode, or the value corresponding to the intra mode of the left block is not within the second predetermined range, a vertical mode is not included in the MPM list after the first intra mode is added in the MPM list), further comprising adding a vertical mode in 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; for example, the MPM list may comprise (0,50), (1,50), or (18,50).)
[0068] Thus, in one possible implementation of the method according to any preceding implementation of the thirty-ninth aspect, the method comprises: The method further includes 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 predetermined value (for example, 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] Thus, 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 predetermined 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] Thus, 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 (for example, 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] Thus, 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 predetermined value (for example, 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, implemented by a decoding device, of decoding a block of a picture (or frame), the method comprising: Configuring a most probable mode MPM list for a current block according to the 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), and the MPM list comprises one or more angular modes; Obtaining a display parameter for a current block according to the bitstream, the display parameter indicating whether multihypothesis 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 the 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] 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 2 to 34 (inclusive), the default mode is horizontal mode; or when the 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] 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 aspect 40, 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 aspect 40, 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] In one possible implementation of a method according to any preceding implementation of aspect 40, 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] In one possible implementation of a method according to any preceding implementation of aspect 40, 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 of the preceding implementations 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 a planar mode.
[0080] In one possible implementation of a method according to any of the preceding implementations 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 of the preceding implementations 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 a DC mode.
[0082] In one possible implementation of the method according to any preceding implementation 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 a 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 a method according to any preceding implementation of the 40th aspect, the method further comprises an index parameter that is 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, implemented by a decoding device, of decoding a block of a picture (or frame), the method comprising: obtaining a display parameter for a current coding block according to the bitstream, the display parameter indicating whether multihypothesis prediction is applied to the current coding block; obtaining index parameters 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 the current coding block according to an index parameter and a predefined list, the predefined list comprising the following intra-prediction modes in order: a planar mode, a horizontal mode, and a vertical mode; 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, implemented by a decoding device, of decoding a block of a picture (or frame), the method comprising: obtaining a display parameter for a current coding block according to the bitstream, the display parameter indicating whether multihypothesis prediction is applied to the current coding block; obtaining index parameters 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 the current coding block according to an index parameter and a predefined list, the predefined list comprising the following intra-prediction modes in order: a planar mode, a vertical mode, and a horizontal mode; 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 display parameter indicates that multi-hypothesis prediction is applied to the current coding block.
[0089] In one possible implementation of the method according to any preceding implementation of the forty-third aspect, the multi-hypothesis prediction is a combined inter and intra prediction (CIIP).
[0090] In one possible implementation of the method according to any preceding implementation of the forty-third aspect, the indication parameter is a CIIP flag.
[0091] In one possible implementation of the method according to any preceding implementation of the forty-third aspect, the display parameters are carried by a merge data syntax.
[0092] In one possible implementation of a method according to any preceding implementation of aspect 43, the method further comprises a step of obtaining a plane mode for the current coding block according to a Most Probable Mode (MPM) list, wherein each intra-prediction mode in the MPM list is indexed by 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 comprises: The method further includes 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 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 decimal or binary representation.
[0099] In one possible implementation of the method according to any preceding implementation of the 43rd aspect, the decoder comprises processing circuitry for performing the method according to any preceding implementation of the 43rd aspect.
[0100] In one possible implementation of the method according to any preceding implementation of the 43rd aspect, the decoder comprises: 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 display parameters for a current coding block, the display parameters 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 parameters indicate 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 of the method according to any preceding implementation of the forty-fifth aspect, the multi-hypothesis prediction is combined inter- and intra-prediction (CIIP).
[0105] In one possible implementation of the method according to any preceding implementation of the forty-fifth aspect, the indication parameter is a CIIP flag.
[0106] In one possible implementation of the method according to any preceding implementation 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 intra-prediction mode in the MPM list is indexed by a corresponding value of an MPM list index.
[0108] In one possible implementation form of a method according to any preceding implementation form of aspect 45, 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, wherein 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 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 processing circuitry 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 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-fifth aspect.
[0116] In one possible implementation of the method according to any preceding implementation of the 45th aspect, a computer program product comprises 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 determination 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 be apparent from the description, drawings, and claims.
[0119] In the following, embodiments of the invention will be described in more detail with reference to the accompanying figures and drawings. [Brief explanation 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] FIG. 2 is a block diagram illustrating another example of a video coding system configured to implement embodiments of the present invention. [Figure 2] 1 is a block diagram illustrating an example of a video encoder configured to implement embodiments of the present invention; [Figure 3] 1 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 illustrating an example of an encoding device or a decoding device. [Figure 5] FIG. 10 is a block diagram showing another example of an encoding device or a decoding device. [Figure 6] 1 is a diagram illustrating an example of a neighboring block of a current coding block or a current coding unit. [Figure 7] FIG. 1 is a diagram illustrating an example showing many intra-prediction modes. [Figure 8] FIG. 1 shows an example illustrating a method for decoding blocks of a picture. [Figure 9] 31 is a block diagram illustrating an exemplary structure of a content supply 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 INVENTION
[0121] In the following, identical reference signs, unless expressly specified otherwise, refer to identical or at least functionally equivalent features.
[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 illustration, specific 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 include structural or logical changes not shown in the figures. Therefore, the following detailed description is not to be taken in a limiting sense, and the scope of the present invention is defined by the appended claims.
[0123] For example, it will be 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, a corresponding device may include one or more units (e.g., one unit that performs one or more steps, or multiple units that each perform 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 a figure. On the other hand, when a particular apparatus is described, for example, based on one or more units, e.g., functional units, a corresponding method may include one step (e.g., one step that performs the function of one or more units, or multiple steps that each perform one or more functions of multiple units) for performing the function of one or more units, even if such one or more steps are not explicitly described or shown in a figure. Furthermore, it will be 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 typically refers to the processing of a sequence of pictures to form a video or 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 typically comprises processing an original video picture (e.g., by compression) to reduce the amount of data needed to represent the video picture (for more efficient storage and / or transmission). Video decoding is performed at the destination side and typically comprises the reverse process compared to an encoder to reconstruct a video picture. Embodiments referring to "coding" a video picture (or, in general, a picture) shall be understood to relate to "encoding" or "decoding" a video picture or a 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 perfectly 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 for applying quantization in the transform domain). Each picture of a video sequence is typically partitioned into a set of non-overlapping blocks, and coding is typically performed at the block level. In other words, at an encoder, video is typically processed or encoded at the block (video block) level, e.g., by using spatial (intra-picture) prediction 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 at a decoder, inverse processing is applied to the coded or compressed block compared to the encoder to reconstruct the current block for representation. Furthermore, the encoder replicates the decoder processing loop for processing or coding subsequent blocks, so that both generate the same predictions (e.g., intra-prediction and inter-prediction) and / or reconstructions.
[0127] In the following, embodiments of a video coding system 10, a video encoder 20, and a video decoder 30 will be described based on FIGS.
[0128] 1A is a schematic block diagram illustrating an example coding system 10, e.g., video coding system 10 (or short coding system 10), that may utilize the 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 herein.
[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, for example, encoded picture data 13.
[0130] Source device 12 comprises an encoder 20 and may additionally, i.e., optionally, comprise a picture source 16, a preprocessor (or preprocessing unit) 18, for example a picture preprocessor 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 preprocessor 18 and the processing performed by the preprocessing 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 provide encoded picture data 21 (further details are described below, eg, with reference to FIG. 2).
[0135] The communications interface 22 of the source device 12 may be configured to receive the encoded picture data 21 and transmit the encoded picture data 21 (or any further processed version thereof) via the communications channel 13 to another device, e.g., the destination device 14 or any other device, for storage or direct reconstruction.
[0136] The destination device 14 includes a decoder 30 (e.g., a video decoder 30), and may additionally, i.e., optionally, include a communication interface or communication unit 28, a post-processor 32 (or post-processing unit 32), and a display device 34.
[0137] The communication 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 the 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 transmission 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 transmission 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, for example, to set up a connection, to acknowledge, respond, and exchange any other information related to the communication link and / or data transmission, e.g., coded picture data transmission.
[0142] The decoder 30 is configured to receive the coded 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 decoded picture data 31 for, e.g., display, by display device 34.
[0144] Display device 34 of destination device 14 is configured to receive post-processed picture data 33, e.g., for displaying the picture to a user or viewer. Display device 34 may be or comprise any type of display for presenting the reconstructed picture, e.g., an integrated or external display or monitor. 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 other type of display.
[0145] 1A depicts source device 12 and destination device 14 as separate devices, device embodiments may also include both source device 12 or corresponding functionality and destination device 14 or corresponding functionality. In such embodiments, 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 those 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] Encoder 20 (e.g., video encoder 20) or decoder 30 (e.g., video decoder 30), or both encoder 20 and 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. Encoder 20 may be implemented via processing circuitry 46 to embody various modules as described with respect to encoder 20 of FIG. 2 and / or any other encoder system or subsystem described herein. Decoder 30 may be implemented via processing circuitry 46 to embody various modules as described with respect to 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. If the techniques are implemented partially in software, as shown in FIG. 5, a 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 content distribution server), a broadcast receiver device, a broadcast transmitter device, etc., 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] 1A is merely an example, and the 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 and decode data from memory. In some examples, encoding and decoding are performed by devices that do not communicate with each other, but simply encode data to memory and / or retrieve and decode data from memory.
[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 reference software for Versatile Video Coding (VVC), the 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). Those skilled in the art will understand 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 partitioning unit 262. The inter prediction unit 244 may include a motion estimation unit and a motion compensation unit (not shown). The video encoder 20 shown in FIG. 2 may also be referred to as a hybrid video encoder, i.e., a video encoder using 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 a 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, e.g., via an input 201, a picture 17 (or picture data 17), e.g., 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 the picture 17. The picture 17 may also be called the current picture or the picture to be coded (particularly in video coding, to distinguish the current picture from other pictures, e.g., previously coded 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 by 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 (although sometimes L is also used instead) and two chrominance components denoted by Cb and Cr. The luminance (or short luma) component Y represents brightness 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 to YCbCr format, or vice versa, a process also called color transformation or color conversion. If a 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] Embodiments of video encoder 20 may comprise a picture partition 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 partition 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 blocks 203 of picture 17, e.g., one, several, or all of the blocks that form picture 17. Picture blocks 203 may also be referred to as current picture blocks or picture blocks to be coded.
[0157] Like picture 17, picture block 203 again may be or be considered to be 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 the case of a monochrome picture 17, or a luma array or a chroma array in the case of a color picture), or three sample arrays (e.g., a luma array and two chroma arrays in the case of a color picture 17), or any other number and / or type of array depending on the applied color format. The number of samples in the horizontal and vertical directions (or axes) of block 203 define the size of block 203. Thus, a block may be, for example, an M×N (M columns by N rows) array of samples or an M×N array of transform coefficients.
[0158] An embodiment of video encoder 20, such as that shown in FIG. 2, may be configured to encode picture 17 block-by-block, eg, encoding and prediction is performed on a block-by-block basis.
[0159] Residual calculation The residual calculation unit 204 may be configured to calculate the residual block 205 (also referred to as the residual 205) based on the picture block 203 and the prediction block 265 (further details about the prediction block 265 will be provided later), for example, by subtracting the sample values of the prediction block 265 from the 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, for example, 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] 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 several factors. To preserve the norm of the residual block processed by the forward and inverse transforms, an additional scaling factor is applied as part of the transform process. The scaling factor is typically chosen based on several 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 by inverse transform processing unit 212 (and the corresponding inverse transform by, e.g., inverse transform processing unit 312 in video decoder 30), and a corresponding scaling factor for the forward transform by, e.g., transform processing unit 206 in 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, encoded or compressed, e.g., directly or 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 finer quantization, while a larger quantization step size corresponds to coarser quantization. The applicable quantization step size may be indicated by the 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. Quantization may include division by a quantization step size, and corresponding inverse quantization and / or inverse dequantization, e.g., by the inverse quantization unit 210, may include multiplication by the quantization step size. Some standards, e.g., HEVC, embodiments may be configured to use a quantization parameter to determine the quantization step size. Generally, the quantization step size may be calculated based on the quantization parameter using a fixed-point approximation of an equation involving division. Additional scaling factors may be introduced for quantization and inverse quantization to restore the norm of the residual block, which may be modified due to scaling used in the fixed-point approximation of the equation for the quantization step size and the quantization parameter. In one exemplary implementation, the scaling of the inverse transform and inverse quantization may be combined. Alternatively, customized quantization tables may be used and may be signaled, e.g., in the bitstream, from the encoder to the decoder. Quantization is a lossy operation, and loss increases with increasing quantization step size.
[0165] Embodiments of video encoder 20 (respectively, quantization unit 208) may be configured to output a quantization parameter (QP), e.g., encoded directly or via entropy coding unit 270, so that, for example, video decoder 30 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 are sometimes referred to as the inverse quantized residual coefficients 211, may correspond to the transform coefficients 207, although they are not typically identical to the transform coefficients due to loss 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 in the sample domain (or corresponding dequantized coefficients 213). 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 the reconstructed block 215 in the sample domain, for example, by adding the sample values of the reconstructed residual block 213 and the sample values of the prediction block 265 - sample by sample.
[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 generally 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 shown 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, so 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., a previously reconstructed picture, and may provide, for example, 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 generally, unfiltered reconstructed samples.
[0172] Mode Selection (Segmentation and Prediction) The mode select unit 260 includes a partition 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 the decoded picture buffer 230 or other buffers (e.g., line buffers, 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 predictor 265.
[0173] The mode selection unit 260 may be configured to determine or select a partition for the current block prediction mode (not including the partition) and a prediction mode (e.g., intra or inter prediction mode) and generate a corresponding prediction block 265 used for calculating the residual block 205 and for reconstructing the reconstruction block 215.
[0174] Embodiments 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 both, 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., select the prediction mode that results in the smallest rate distortion. Terms such as “best,” “minimum,” “optimal,” etc. in this context do not necessarily refer to an overall “best,” “minimum,” “optimal,” 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), for example using quad-tree partitioning (QT), binary partitioning (BT), or triple-tree partitioning (TT), or any combination thereof, iteratively, and to perform prediction on each of the block partitions or sub-blocks, for example, wherein 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 partitioning unit 260) and prediction processes (by inter-prediction unit 244 and intra-prediction unit 254) performed by exemplary video encoder 20 are described in more detail.
[0177] classification The partitioning unit 262 may partition (i.e., divide) the current block 203 into smaller partitions, e.g., square or rectangular sized smaller blocks. 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; for example, a root block at root tree level 0 (hierarchical level 0, depth 0) may be recursively partitioned, 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 further partitioned are also called leaf blocks or leaf nodes of the tree. A tree that uses a partition into two parts is called a binary tree (BT), a tree that uses a partition into three parts is called a ternary tree (TT), and a tree that uses a partition into four parts is called a quad tree (QT).
[0178] As previously mentioned, the term "block" as used herein may refer to a portion of a picture, particularly a square or rectangular portion. For example, with reference to HEVC and VVC, a block may be or 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 having 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 having 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 HEVC embodiment, a coding tree unit (CTU) may be divided into CUs by using a quadtree 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 residual blocks by applying a prediction process based on the PU partition type, the CU may be partitioned into transform units (TUs) according to another quadtree 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 coding blocks. Within the QTBT block structure, CUs can have either square or rectangular shapes. For example, coding tree units (CTUs) are first partitioned by a quad-tree structure. Quad-tree leaf nodes are further partitioned by a binary tree or a ternary (or triple) tree structure. The partitioned tree leaf nodes are called coding units (CUs), and this segmentation is used for prediction and transform processes without further partitioning. This means that CUs, PUs, and TUs have the same block size within the QTBT coding block structure. In parallel, multiple partitions, for example, triple-tree partitioning, have also been proposed for use with the QTBT block structure.
[0182] In one example, mode select 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 (predetermined) set of prediction modes, which 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., omnidirectional modes such as DC (or average) mode and planar mode, or directional modes, as specified in HEVC, or may, for example, comprise 67 different intra prediction modes, e.g., omnidirectional modes such as DC (or average) mode and planar mode, or directional modes, 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 coding unit 270 in the form of a syntax element 266 for inclusion in the coded 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 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, and / or 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; that is, in other words, the current picture and the previously decoded picture 231 may be part of or form a sequence of pictures that form 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 to the motion estimation unit as inter-prediction parameters. This 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 the inter prediction block 265. The motion compensation performed by the motion compensation unit may involve fetching or generating a prediction block based on motion / block vectors 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 algorithm or scheme) to the quantized coefficients 209, the inter-prediction parameters, the intra-prediction parameters, the loop filter parameters, and / or other syntax elements. 2. The video decoder 30 may be configured to apply (entropy coding, or another entropy encoding method or technique), or bypass (no compression) to obtain coded picture data 21 that may be output via output unit 272, e.g., in the form of coded bitstream 21, so that, e.g., video decoder 30 may receive and use the parameters for decoding. Coded bitstream 21 may be transmitted to video decoder 30 or may be stored in 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 for some blocks or frames without using the transform processing unit 206. 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] 3, 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. Inter prediction unit 344 may be or may include a motion compensation unit. Video decoder 30 may, in some examples, perform a decoding path that is generally reciprocal to the encoding path described with respect to video encoder 100 from FIG. 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. Accordingly, inverse quantization unit 310 may be functionally identical to inverse quantization unit 110, inverse transform processing unit 312 may be functionally identical to inverse transform processing unit 212, reconstruction unit 314 may be functionally identical to reconstruction unit 214, loop filter 320 may be functionally identical to loop filter 220, and decoded picture buffer 330 may be functionally identical to decoded picture buffer 230. Accordingly, 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 indices 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 such as described with respect to the entropy coding 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 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 are sometimes referred to as transform coefficients 311. The inverse quantization process may involve using 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 the 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 by the entropy decoding unit 304) to determine the 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 the sample values of the reconstructed residual block 313 and the sample values of the prediction block 365, to obtain the reconstructed block 315 in the sample domain.
[0202] Filtering Loop filter unit 320 (either in the coding loop or after the coding loop) is configured to filter reconstruction block 315 to obtain filtered block 321, e.g., to smooth pixel transitions or otherwise improve video quality. 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 loop filter unit 320 is shown in FIG. 3 as being an in-loop filter, in other configurations, 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 from the coded picture data 21 (e.g., by parsing and / or decoding by the entropy decoding unit 304). 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, intra prediction unit 354 of mode select unit 360 is configured to generate a predictive block 365 for a picture block of the current video slice based on the signaled intra prediction mode and data from previously decoded blocks of the current picture. When a video picture is coded as an inter-coded (i.e., B or P) slice, inter prediction unit 344 (e.g., a motion compensation unit) of mode select unit 360 is configured to produce a predictive block 365 for a video block of the current video slice based on a motion vector and other syntax elements received from entropy decoding unit 304. For inter prediction, the predictive block may be produced from one of the reference pictures in one of the reference picture lists. 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 DPB 330.
[0207] Mode select unit 360 is configured to determine prediction information for 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 select 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 coded picture data 21. For example, the decoder 30 may produce an output video stream without using a loop filtering unit 320. For example, a non-transform-based decoder 30 may directly inverse quantize the residual signal for some blocks or frames without using an inverse transform processing unit 312. 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 the processing result of the current step may be further processed and then output to the next step in the encoder 20 and the decoder 30. For example, after the interpolation filtering, motion vector derivation, or loop filtering, further operations such as clipping or shifting may be performed on the processing result of the interpolation filtering, motion vector derivation, or 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 a motion vector is constrained to a predetermined range according to its representation bits. If the representation bits of a motion vector are 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 a derived motion vector (e.g., MVs of four 4x4 sub-blocks in one 8x8 block) is constrained so 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: Remove 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 indicate intermediate values.
[0213] For example, if the value of mvx is -32769, 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) to (8), the operation can 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 the data. Video coding device 400 may also comprise optical-to-electrical (OE) and electrical-to-optical (EO) components coupled to ingress port 410, receiver unit 420, transmitter unit 440, and 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 includes 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 significantly improves the functionality of the video coding device 400 and allows the video coding device 400 to transform 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 according to 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 touch-sensitive elements 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. Accordingly, 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 Figure 6, this set includes the following modes: planar mode (intra-prediction mode index 0), DC mode (intra-prediction mode index 1), and directional (angular) mode, which covers a range of 180° and has an intra-prediction mode index value range of 2 to 34, indicated by the black arrows in Figure 6. To capture any edge direction present in natural video, the number of directional intra-modes is expanded from 33 as used in HEVC to 65. Additional directional modes are indicated by dashed arrows in Figure 6, while the 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 approximately 230°, i.e., some pairs of modes have opposite directionality. In the case of the HEVC Reference Model (HM) and JEM platforms, only one pair of angular modes (i.e., modes 2 and 6) 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, for example as proposed for VVC, where the intra prediction modes include planar mode (index 0), dc mode (index 1), and angular modes with indices 2 to 66, where the bottom left angular mode in FIG. 6 refers to index 2, and the index numbering is incremented until index 66 is the top right-most angular mode in FIG. 6.
[0228] Most Probable Mode List Configuration To improve coding efficiency, a most probable mode (MPM) list is used in intra-mode coding. Due to the 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 modes of its neighboring CUs or CBs. Because the intra-mode of the current CU or current CB is related to the intra-prediction modes of its neighboring CUs or CBs, the MPM list usually provides good prediction, and the intra-mode of the current CU or current CB is likely to be included in the MPM list. In this way, an index of the MPM list is signaled to derive the intra-mode of the 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, only a few bits are required to code the intra-modes. 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 blocks to the left and above the current block. When the blocks to the left and above the current block are unavailable for intra prediction, the mode list is used.
[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 index of the current block when the intra mode of the current block is in the MPM list Binarization is used to convert decimal representations to binary representations. ITU-T H.265 and VVC use many binarization techniques, including 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 with n ones followed by zeros, except for the maximum value where all n bits are ones, or alternatively, n zeros followed by ones, except for the maximum value where all n bits are zeros (assuming mpm idx is n, the value of n ranges from 0 to 5 inclusive). The binarization code for an mpm index with a 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 less), except for the last decimal value, which corresponds to the highest index value.
[0234] Multi-hypothesis prediction Coding blocks are 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 case, planar mode, DC mode, vertical mode (corresponding to a value of 50), and horizontal mode (corresponding to a value of 18) are used. In the three intra-mode case, when the CU width or CB width is greater than twice the CU height or CB height, 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, vertical mode is removed from the intra-mode list. For both the 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 differs 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. If the intra prediction mode of the left block and the intra prediction mode of 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 an MH block is different from the binarization for the mpm list index of an intra block. First, for an MH block, a 3-MPM list is defined and the maximum value of the mpm list index is 2, while for an 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 case, the index binarization for an MH block is combined with the signaling of mpm_flag. In the three intra-mode case, after excluding the horizontal or vertical mode, the intra mode should be in the 3-MPM list, so mpm_flag is not signaled but is inferred as true. 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 three and four 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 to which multi-hypothesis prediction (i.e., combined inter-intra prediction) is applied.
[0242] 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 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 the 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 (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 four in length, and the list consists of the following entries in the 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 in 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 with 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 may contain 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 with 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, the 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 may contain 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 the 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 the 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. 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 index indications 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. 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 index indications 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. 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 index indications 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. Step 2: When multi-hypothesis prediction is applied to predict coding blocks, 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 have been 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. 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. 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). Otherwise, if the derived intra prediction is an angular mode with a mode index between 34 and 66 inclusive, the derived intra prediction is changed to vertical mode (corresponding to value 50). If multi-hypothesis prediction is not applied to predict a block and intra prediction is applied to the block, Configure all M entries in the first MPM list. Parse index indications 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 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. Step 2: When multi-hypothesis prediction is applied to predict coding blocks, 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 have been 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. 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. 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, 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, Configure all M entries in the first MPM list. Parse index indications 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 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. Step 2: When multi-hypothesis prediction is applied to predict coding blocks, 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 have been 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. 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. 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, Configure all M entries in the first MPM list. Parse index indications 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 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 mode 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, 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, insert the vertical mode into the first MPM list. Step 3: Proceed to the next entry in the second MPM list and start again 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 mode 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, 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 the number of entries in the first MPM list equals the specified maximum or all of the first N entries in 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 mode 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 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, 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 the number of entries in the first MPM list equals the specified maximum or all of the first N entries in 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 mode 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 a default mode has not been inserted, insert a 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 the 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. 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 four in length, and the list consists of the following entries in the 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 in the specified order: planar mode, DC mode, vertical mode.
[0285] In one implementation, the default mode list is three in length, and the list consists of the following entries in a specified order: planar mode, horizontal mode (i.e., 18), and vertical mode (i.e., 50).
[0286] In one implementation, the default mode list is of length 3 and the list consists of the following entries in the 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 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, the maximum value of shortened unary codes is 2.
[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 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, the maximum value of shortened unary codes is 2.
[0292] The second MPM list may be configured according to the 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 comprises:
[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 the intra-prediction mode for the current coding block according to the MPM list and the MPM list index through the following steps: indexing each of the intra-prediction modes in the MPM list with a corresponding value of the 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 the intra-prediction mode of 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 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 then 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 then 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 then 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 may contain 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 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 the context 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. Generally, 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 filtering 220, 320, as well as entropy coding 270 and entropy decoding 304.
[0320] For example, embodiments of the encoder 20 and the decoder 30, and 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 code and executed by a hardware-based processing unit. Computer-readable media may include computer-readable storage media, which correspond to tangible media such as data storage media or communication media including any medium that facilitates transfer of a computer program from one place to another, for example, according to a communication protocol. In this manner, computer-readable media may generally correspond to (1) tangible computer-readable storage media that are non-transitory, or (2) communication media such as a signal or carrier wave. Data storage media 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. A 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 termed 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 medium. 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 discs (CDs), laser discs, optical discs, digital versatile discs (DVDs), floppy disks, and Blu-ray discs, 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. Accordingly, 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. Additionally, in some aspects, the functionality described herein may be provided in dedicated hardware and / or software modules configured for encoding and decoding, or incorporated into a combined codec. Also, the techniques may be implemented entirely within one or more circuits or logic elements.
[0323] The techniques of this 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 an example application 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 realizing 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 using a coding method as shown in the above embodiment. Alternatively, the capture device 3102 may deliver the data to a streaming server (not shown), which then 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 the source device 12 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. In some practical scenarios, the capture device 3102 delivers the coded video and audio data by multiplexing them together. In 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 delivery system 3100, a terminal device 3106 receives and plays the coded data. The terminal device 3106 may be a device having data reception and recovery 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 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 its 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 this system performs coding or decoding, it may use a picture coding device or a picture decoding device as shown in the above embodiments.
[0330] 10 is a diagram illustrating the structure of an example of a terminal device 3106. After the terminal device 3106 receives a stream from the capture device 3102, a 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 progression 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 explained 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. A video decoder 3206, which includes 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 a synchronization unit 3212. An 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 being supplied to the synchronization unit 3212. Similarly, the audio frames may be stored in a buffer (not shown in FIG. 10 ) before being supplied 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, although 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 the 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 Devices 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, bitstream 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 Factor 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 units 265 prediction block, predictor, intra prediction block, inter prediction 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 Unit 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 outlet 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: 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; determining, when the display parameter indicates that the multi-hypothesis prediction is applied to the current coding block, that an intra prediction mode for the current coding block is a planar mode; When the indication parameters indicate that the multi-hypothesis prediction is not applied to the current coding block and the parameters indicate that the intra-prediction mode for the current coding block is in a Most Probable Mode (MPM) list, obtaining the intra-prediction mode for the current coding block from the MPM list, the MPM list being constructed based on the intra-prediction mode of a block to the left of the current coding block and the intra-prediction mode of a block above the current coding block; decoding the current coding block according to the intra prediction mode for the current coding block; A method comprising:
2. The method of claim 1 , wherein the display parameter is a CIIP flag.
3. The method described in claim 1 or 2, wherein the MPM list comprises a planar mode, a DC mode, a vertical mode, a horizontal mode, a vertical -4 mode, and a vertical +4 mode.
4. A method described in any one of claims 1 to 3, wherein when the display parameters indicate that multi-hypothesis prediction is applied to the current coding block, the intra prediction mode of the current coding block is obtained based on a default mode list that includes only planar modes.
5. A method described in any one of claims 1 to 4, wherein when the display parameters indicate that multi-hypothesis prediction is applied to the current coding block, the syntax parameter mpm_idx for the current coding block is not signaled in the bitstream.
6. A method for encoding a block of a picture, comprising: obtaining a display parameter for a current block, the display parameter indicating whether multihypothesis prediction is applied to the current block; determining, when the display parameters indicate that the multi-hypothesis prediction is applied to the current block, that an intra prediction mode for the current block is a planar mode; When the display parameters indicate that the multi-hypothesis prediction is not applied to the current block and the parameters indicate that the intra-prediction mode for the current block is in a Most Probable Mode (MPM) list, obtaining the intra-prediction mode for the current block from the MPM list, the MPM list being constructed based on the intra-prediction mode of a block to the left of the current block and the intra-prediction mode of a block above the current block; predicting the current block according to the intra prediction mode for the current block; encoding the display parameters into a bitstream; A method comprising:
7. The method of claim 6, wherein the display parameter is a CIIP flag.
8. The method described in claim 6 or 7, wherein the MPM list comprises a planar mode, a DC mode, a vertical mode, a horizontal mode, a vertical -4 mode, and a vertical +4 mode.
9. A method described in any one of claims 6 to 8, wherein when the display parameters indicate that multi-hypothesis prediction is applied to the current block, the intra prediction mode of the current block is obtained based on a default mode list that includes only planar modes.
10. A method described in any one of claims 6 to 9, wherein when the display parameters indicate that multi-hypothesis prediction is applied to the current block, the syntax parameter mpm_idx for the current block is not signaled in the bitstream.
11. A decoder comprising processing circuitry for carrying out the method of any one of claims 1 to 5.
12. An encoder comprising processing circuitry for carrying out the method of any one of claims 6 to 10.
13. 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 5.
14. 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 6 to 10.
15. A method for storing an encoded bitstream, comprising: receiving the coded bitstream, the coded bitstream comprising display parameters for a current block, the display parameters indicating whether multi-hypothesis prediction is applied to the current block, and when the display parameters indicate that the multi-hypothesis prediction is applied to the current block, an intra-prediction mode for the current block is a planar mode; and when the display parameters indicate that the multi-hypothesis prediction is not applied to the current block and the intra-prediction mode for the current block is in a most probable mode (MPM) list, the intra-prediction mode for the current block is obtained from the MPM list; storing the encoded bitstream on a storage medium; A method comprising:
16. A method for transmitting an encoded bitstream, comprising: obtaining the coded bitstream, the coded bitstream comprising display parameters for a current block, the display parameters indicating whether multi-hypothesis prediction is applied to the current block, and when the display parameters indicate that the multi-hypothesis prediction is applied to the current block, an intra-prediction mode for the current block is a planar mode; and when the display parameters indicate that the multi-hypothesis prediction is not applied to the current block and the intra-prediction mode for the current block is in a most probable mode (MPM) list, the intra-prediction mode for the current block is obtained from the MPM list; transmitting the encoded bitstream; A method comprising:
17. A device for storing an encoded bitstream, comprising: at least one storage medium; and at least one communication interface; the at least one communication interface is configured to receive or transmit the encoded bitstream; the at least one storage medium is configured to store the encoded bitstream; a display parameter for a current block, the display parameter indicating whether multi-hypothesis prediction is applied to the current block; when the display parameter indicates that multi-hypothesis prediction is applied to the current block, the intra-prediction mode for the current block is a planar mode; and when the display parameter indicates that multi-hypothesis prediction is not applied to the current block and the intra-prediction mode for the current block is in a most probable mode (MPM) list, the intra-prediction mode for the current block is obtained from the MPM list.
18. A device for transmitting an encoded bitstream, comprising: at least one storage medium configured to store at least one coded bitstream, the coded bitstream comprising display parameters for a current block, the display parameters indicating whether multi-hypothesis prediction is applied to the current block, an intra-prediction mode for the current block being a planar mode when the display parameters indicate that the multi-hypothesis prediction is applied to the current block, and an intra-prediction mode for the current block being obtained from a most probable mode (MPM) list when the display parameters indicate that the multi-hypothesis prediction is not applied to the current block and the intra-prediction mode for the current block is in an MPM list; a transmitter configured to transmit the encoded bitstream; A device comprising: