Method and apparatus for video encoding and decoding using bi-prediction

The method addresses the computational challenges of bi-prediction in inter-coded blocks by employing position-dependent weights for weighted averaging, improving accuracy and efficiency in video encoding and decoding processes.

JP2024119908AInactive Publication Date: 2024-09-03INTERDIGITAL VC HOLDINGS INC
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
JP2024092394
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2018-09-21
Filing Date
2024-06-06
Publication Date
2024-09-03
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Bi-prediction of inter-coded blocks combined with triangular partitions poses implementation challenges, requiring less computationally intensive methods.

Method used

A method and apparatus for video encoding and decoding that uses position-dependent weights to form a weighted average of two predictors for bi-predictive inter-prediction, where the weights depend on the sample's position within the block, enhancing accuracy and reducing computational complexity.

Benefits of technology

The proposed method improves the accuracy and efficiency of bi-prediction processes for inter-coded blocks by utilizing position-dependent weights, optimizing computational resources and enhancing coding efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024119908000001
    Figure 2024119908000001
Patent Text Reader

Abstract

To present an implementation for video encoding and decoding using motion compensation with bi-prediction.SOLUTION: An encoding method includes, for a picture, using a first reference picture to obtain a first predictor for a block of a picture, using a second reference picture to obtain a second predictor for the block of the picture, and using the first predictor and the second predictor to form a third predictor for the block in bi-predictive inter prediction, in which the third predictor is obtained as a weighted average of the first predictor and the second predictor, and the weight depends on the position of the sample in the block. In the decoding method, embodiments for implementing block triangular partition prediction, implementing block partition prediction using multiple patterns, and corresponding motion compensation are presented.SELECTED DRAWING: Figure 15
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] A method and apparatus for encoding video into a bitstream is disclosed. Corresponding decoding methods and apparatus are further disclosed. At least some embodiments further relate to bi-prediction for inter-coded blocks in video compression schemes. [Background technology]

[0002] The technical field of one or more implementations generally relates to video compression. To achieve high compression efficiency, image and video coding schemes usually utilize prediction and transformation to exploit spatial and temporal redundancy in video content. In general, intra- or inter-prediction is used to exploit intra- or inter-frame correlation, and then the difference between the original block and the predicted block, often called prediction error or prediction residual, is transformed, quantized, and entropy coded. To reconstruct the video, the compressed data is decoded by an inverse process corresponding to entropy coding, quantization, transformation, and prediction. In the HEVC video compression standard, also known as Recommendation ITU-T H.265, the bi-prediction process used in inter prediction involves averaging two unidirectional prediction signals. Figure 1 illustrates the bi-prediction process in HEVC. The averaging of the two unidirectional predictions is performed with a higher accuracy than either the input bit depth or the internal bit depth, as shown in Figure 1. The equation for bi-prediction is shown in Equation 1, where offset and shift are used to normalize the final predictor to the input bit depth. P bidir =(P L0 +P L1 +offset)>>shift Expression 1 Since there is no rounding in the intermediate stages, the HEVC interpolation filters allow for some performance optimization.

[0003] Recent additions to video compression technology include various industry standards, reference software and / or document versions, such as the Joint Exploration Model (JEM) and subsequent Versatile Video Coding (VVC) Test Model (VTM), developed by the Joint Video Exploration Team (JVET) group. The purpose is to provide further improvements to the existing High Efficiency Video Coding (HEVC) standard. For example, in more recent approaches to video codecs, multiple weights are used to average two unidirectional predictions to obtain bidirectional prediction. Typically, the weights used are {-1 / 4, 5 / 4}, {3 / 8, 5 / 8}, or {1 / 2, 1 / 2} (where {1 / 2, 1 / 2} is implemented in HEVC), and the bi-prediction formula is modified as in Equation 2. Only one weight is used for the entire block. P bidir = ((1-w1) × P L0 +w1×P L1 +offset)>>shift Expression 2

[0004] In another approach of the video codec, triangular prediction is used in merge mode. Figure 2 illustrates splitting of a coding unit CU into two triangular prediction units. As shown in Figure 2, the CU is split into two triangular prediction units PU0 and PU1 along a diagonal edge, either diagonally or inversely diagonally. Each triangular prediction unit in the CU is inter-predicted using its own motion vector and reference frame index derived from the merge candidate list. In this context, an adaptive weighting process is applied to the diagonal or inversely diagonal edge between the two triangular prediction units to derive a final prediction for the entire CU. Figure 3 illustrates such a weighting process on the diagonal edge between the two triangular prediction units. The triangular prediction unit mode is applied to a CU only in skip mode or merge mode. When the triangular prediction unit mode is applied to a CU, an index indicating the direction of splitting the CU into two triangular prediction units and the motion vectors of the two triangular prediction units are transmitted. For both prediction units, a common list of five unidirectional predictors is derived, and the same spatial and temporal positions are checked as in the classical merging process, but only unidirectional vectors are used. Redundant motion vectors are not added to the list, and if there are not enough candidates, a zero motion vector is added to the end of the list. For a given prediction unit, the number of motion vector predictors is five, and for each diagonal, 20 combinations are tested (5×4=20, the same motion vector predictor cannot be used for both PUs). The indexes range from 0 to 39, and a lookup table, see Table 2, is used to derive the split direction and motion vector for each PU from the index. The first element of a given triplet gives the diagonal direction, and the second and third elements give the predictor index for PU0 and PU1, respectively. The index syntax is shown in Table 1.

[0005] [Table 1]

[0006] [Table 2]

[0007] Figure 4 illustrates the sub-block motion vector storage for triangular partitions according to a particular compression scheme. In the implementation, a motion vector is stored for each 4x4 sub-block. When triangular partitions are used for a CU, the motion vectors used for each partition are stored in the same way for every sub-block, but for sub-blocks on the edge, only the motion vectors from one PU are stored, as shown in Figure 4. Summary of the Invention [Problem to be solved by the invention]

[0008] Bi-prediction of inter-coded blocks combined with triangular partitions causes implementation problems. Therefore, a less computationally intensive method for bi-prediction is desirable. Therefore, several embodiments are disclosed for improving bi-prediction of inter-coded blocks. [Means for solving the problem]

[0009] According to an aspect of the present disclosure, a method for encoding a picture is disclosed. Such a method includes: obtaining a first predictor for a block of the picture using a first reference picture; obtaining a second predictor for the block of the picture using a second reference picture; and using the first predictor and a second predictor in bi-predictive inter prediction to form a third predictor for the block of the picture, the third predictor being obtained as a weighted average of the first predictor and the second predictor, and a sample of the third predictor is obtained by applying a first weight to a sample of the first predictor and a second weight to a sample of the second predictor, and the samples of the third predictor, the samples of the first predictor and the samples of the second predictor share the same position in the block, and the first weight and the second weight depend on the position of the sample in the block.

[0010] According to another aspect of the present disclosure, an apparatus for encoding a picture is disclosed. Such an apparatus includes: means for obtaining a first predictor for a block of the picture using a first reference picture; means for obtaining a second predictor for the block of the picture using a second reference picture; and means for forming a third predictor for the block of the picture in bi-predictive inter prediction using the first predictor and the second predictor, the third predictor being obtained as a weighted average of the first predictor and the second predictor, a sample of the third predictor is obtained by applying a first weight to a sample of the first predictor and a second weight to a sample of the second predictor, the sample of the third predictor, the sample of the first predictor, and the sample of the second predictor share the same position in the block, and the first weight and the second weight depend on the position of the sample in the block.

[0011] According to an aspect of the present disclosure, an apparatus for encoding a picture is provided, the apparatus including a processor and at least one memory coupled to the processor, the processor configured to perform any variation of the encoding method.

[0012] According to another aspect of the present disclosure, a method for decoding a video is disclosed. Such a method includes receiving encoded video data in a bitstream, and for motion compensation, obtaining a first predictor for a block of the picture using a first reference picture, obtaining a second predictor for the block of the picture using a second reference picture, and using the first predictor and a second predictor in bi-predictive inter prediction to form a third predictor for the block of the picture, the third predictor being obtained as a weighted average of the first predictor and the second predictor, wherein samples of the third predictor are obtained by applying first weights to samples of the first predictor and by applying second weights to samples of the second predictor, wherein the samples of the third predictor, the samples of the first predictor and the samples of the second predictor share the same position within the block, and the first weights and the second weights depend on the position of the sample within the block.

[0013] According to another aspect of the present disclosure, an apparatus for decoding video is disclosed, comprising: means for receiving encoded video data in a bitstream; and means for processing motion compensation, the means for processing motion compensation including means for obtaining a first predictor for a block of a picture using a first reference picture, means for obtaining a second predictor for the block of the picture using a second reference picture, and means for forming a third predictor for the block of the picture in bi-predictive inter prediction using the first predictor and the second predictor. and means for obtaining a third predictor as a weighted average of the first predictor and the second predictor, wherein samples of the third predictor are obtained by applying a first weight to samples of the first predictor and a second weight to samples of the second predictor, wherein the samples of the third predictor, the samples of the first predictor and the samples of the second predictor share the same position within the block, and the first weight and the second weight depend on the position of the sample within the block.

[0014] According to an aspect of the present disclosure, an apparatus for decoding video is provided, the apparatus including a processor and at least one memory coupled to the processor, the processor configured to receive encoded video data in a bitstream and to perform any variation of the decoding method.

[0015] The present disclosure also provides a signal comprising video data generated according to the method or apparatus of any of the preceding descriptions. The present embodiments also provide a computer program product comprising instructions which, when executed by a computer, cause the computer to carry out the methods described.

[0016] The present disclosure also provides a computer-readable storage medium having stored thereon a bitstream generated according to the method described above.The present disclosure also provides a method and apparatus for transmitting a bitstream generated according to the method described above.

[0017] The foregoing presents a simplified summary of the invention in order to provide a basic understanding of some aspects of embodiments of the invention. This summary is not an extensive overview of the invention. It is not intended to identify key / critical elements of the embodiments or to delineate the scope of the invention. Its sole purpose is to present some concepts of the invention in a simplified form as a prelude to the more detailed description that is presented later.

[0018] Additional features and advantages of the present disclosure will be made apparent from the following detailed description of illustrative embodiments, which proceeds with reference to the accompanying figures. Effect of the Invention

[0019] A novel method and apparatus for video encoding and decoding using bi-prediction is provided. [Brief description of the drawings]

[0020] [Figure 1] FIG. 1 illustrates a bi-prediction process according to the HEVC standard. [Diagram 2] FIG. 2 illustrates the division of a coding unit CU into two triangular prediction units for a particular compression scheme. [Diagram 3] FIG. 2 illustrates the weighting process on a diagonal edge between two triangular prediction units for a particular compression scheme. [Figure 4] FIG. 2 illustrates sub-block motion vector storage for triangular partitions for a particular compression scheme. [Diagram 5] FIG. 2 illustrates a motion compensation process for bi-predicted triangular partitions of a particular compression scheme. [Figure 6]FIG. 2 illustrates a motion compensation process for a uni-predicted triangular partition of a particular compression scheme. [Figure 7] FIG. 2 illustrates a modified motion compensation process adapted to triangular prediction according to the present embodiment. [Figure 8] FIG. 2 illustrates an example of multiple diagonal patterns according to an embodiment of the present disclosure. [Figure 9] FIG. 13 is a diagram showing another example of a plurality of patterns according to an embodiment of the present disclosure. [Figure 10] FIG. 13 is a diagram showing another example of a plurality of patterns according to an embodiment of the present disclosure. [Figure 11] FIG. 2 illustrates an embodiment of the proposed motion vector storage. [Figure 12] FIG. 2 illustrates an exemplary encoder according to an embodiment of the present disclosure. [Figure 13] FIG. 2 illustrates an exemplary decoder according to an embodiment of the present disclosure. [Figure 14] FIG. 1 is a block diagram of an example system in which various aspects and embodiments may be implemented. [Figure 15] FIG. 2 illustrates weighted bi-prediction implemented in either the decoding or encoding methods of an embodiment of the present disclosure. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0021] It should be understood that the figures and descriptions are simplified for clarity, illustrating elements relevant to a clear understanding of the present principles, while excluding many other elements found in a typical encoding and / or decoding device. Although the terms first and second may be used herein to describe various elements, it should be understood that these elements should not be limited by these terms. These terms are used only to distinguish one element from another.

[0022] Various embodiments are described with respect to encoding / decoding a picture. They can be applied to encode / decode a portion of a picture, such as a slice or a tile, or an entire sequence of pictures.

[0023] Various methods have been described above, each of which includes one or more steps or actions for achieving the described method. Unless a specific order of steps or actions is required for proper operation of the method, the order and / or use of specific steps and / or actions may be varied or combined.

[0024] At least some embodiments relate to methods for video encoding or decoding that include weighted bi-prediction, where the weights of the weighted bi-prediction depend on the position of a sample within a block of a picture of a video being encoded or decoded.

[0025] The first problem of weighted motion compensation for bi-predicted triangular partitions is that each PU is bi-predicted, and therefore requires a weighting process on the edge between the two predictions. Figure 5 illustrates the motion compensation process for bi-predicted triangular partitions. For samples on the edge, as illustrated in Figure 3, four motion compensations are required, as shown in Figure 5. Therefore, a less computationally intensive method is desirable.

[0026] A first solution was proposed that limits triangular PUs to uni-prediction to reduce memory bandwidth. Figure 6 illustrates a motion compensation process for uni-predicted triangular partitions. In this case, the motion compensation process is simplified as shown in Figure 6. However, this solution can still benefit from improvements in the accuracy of the process. At least one embodiment relates to improving the accuracy of the bi-prediction process for inter-coded blocks.

[0027] In enhancing bi-predicted triangular partitions, it is desirable to improve compression efficiency by adding more patterns. In that case, a second problem of weighted motion compensation for bi-predicted partitions is to convey the added patterns without having a large cost of coding the index of the partition and motion vector combination. At least one embodiment relates to improving the signaling of the bi-prediction process for inter-coded blocks.

[0028] The third problem is the storage of the motion vectors used for each PU in the sub-block on the edge.For the sample on the edge, weighting is performed between two predictions, which means that at least two motion vectors are used to predict this sample, but only the motion vector used to predict the current PU is stored in the memory, which may result in suboptimal motion propagation with neighboring blocks.At least one embodiment relates to improving the storage of motion vectors for the bi-prediction process of inter-coded blocks.

[0029] Accordingly, several embodiments are disclosed for improving bi-prediction of inter-coded blocks.

[0030] Comprehensive embodiment At least one embodiment 1500 of a comprehensive method for weighted bi-prediction is illustrated in FIG. 15. Such a method can be easily implemented by a person skilled in the art in any one of the motion compensation processes of a method for video encoding or a method for video decoding, and the acquisition of input information is determined in the RDO loop in the encoding method or decoded from a received signal in the decoder. According to the present principle, the weight of the weighted bi-prediction depends on the position of the sample within a block of a picture of the video to be encoded or decoded. Thus, the processing of the triangular partition is advantageously performed as a weighted prediction, which leads to an increased accuracy of the bi-prediction process of the inter-coded block, as will be described later.

[0031] First, at 1510 in FIG. 15, a first predictor and a second predictor for a block of a picture to be encoded / decoded are obtained. The first predictor for the block uses a first reference picture stored in list L0, and the second predictor for the block uses a second reference picture stored in list L1. The two unidirectional predictors are combined to form a third predictor by bidirectional inter prediction.

[0032] According to different embodiments described herein below, at 1520, at least one piece of information is obtained that is used in the determination of the position-dependent weights. This step is optional. According to a non-limiting embodiment, the first piece of information indicates the division of the blocks of the picture using triangular partitions, the second piece of information indicates the direction of the edges of the triangular partitions of the blocks, and the third piece of information indicates the position of the edges of the triangular partitions. According to another embodiment, the division of the blocks is not limited to triangular partitions, and a more general division of the blocks along the edges into two partitions is illustrated in FIG. 9. The information used in the determination of the position-dependent weights is then information that indicates the division of the blocks of the picture using edge partitions. According to a non-limiting embodiment, the fourth piece of information indicates that the edges of the so-called "triangular partitions" are vertical or horizontal (but not diagonal). According to another embodiment, the information used in the determination of the position-dependent weights is information related to the color components. The number of samples in a block may be different depending on whether the block is a luma or chroma block, and therefore the weights are also determined according to the color components. In addition, the weights are also determined according to the size of the block. According to another embodiment, the position-dependent weights in bi-prediction are not limited to triangles or edge partitions, and thus the information is more generally any information used in determining the position-dependent weights.

[0033] As described above, in a particular embodiment, multiple weights are used to average two unidirectional predictions to obtain bidirectional prediction. According to a non-limiting example, the weights used are {-1 / 4, 5 / 4}, {3 / 8, 5 / 8}, or {1 / 2, 1 / 2}, and only one pair of weights is used for the entire block. The present principle advantageously applies to the selection of a block-based weight in the set of weights, and the position-dependent weight of the sample is derived from the selected block-based weight. In other words, the weight of the sample is determined according to the position of the sample and the selected block-based weight of the predictor. Thus, at 1530, the selected block-based weight in the set of weights is optionally determined.

[0034] At 1540, position-dependent weights of samples in the block are determined. According to a particular embodiment, the position-dependent weights of samples in the block are further derived from at least one of the obtained information, the selected block-based weights, the components of the block, and the size of the block. The samples of the third predictor are obtained by applying the first weights to the samples of the first predictor and the second weights to the samples of the second predictor. Thus, the first and second weights are determined depending on the position of the samples in the block. The samples of the third predictor, the samples of the first predictor, and the samples of the second predictor share the same position in the block, and the samples are collocated in the block.

[0035] According to an embodiment, for triangular prediction, position-dependent weighted bidirectional inter prediction is used. Since each triangular prediction unit is restricted to uni-prediction, triangular prediction is implemented as bi-prediction, and the first and second weights depend on the sample position. In the case of triangular partitions, the first and second weights depend on the distance between the sample and the edge of the triangular partition of the block. However, the present principle is not limited to triangular partitions, and can be easily extended to other partitions of the block, including horizontal / vertical edges, and including multiple patterns. Different variants and improvements are described below in this specification. The position of the edge in the block used to calculate the weight is obtained from at least one information indicating the division of the block into two partitions. In addition, in a variant, the at least one information is transmitted to enable the decoding method corresponding to the encoding method to use the same information for bi-prediction. For example, in the encoding method, the at least one transmitted information is entropy coded. For example, in the decoding method, the at least one information is obtained from entropy decoding of the transmitted information.

[0036] However, position-dependent weights in bi-prediction are not limited to triangle or edge partitions, for example, the principles also apply to combined inter-intra prediction, where the weights depend on the sample location without using the other partition.

[0037] Once the sample-dependent weights are obtained, a bi-prediction process is processed at 1550. A third predictor, also called a bidirectional predictor, is obtained as a weighted average of the first and second predictors. Advantageously, the weighted average is processed at an increased bit depth compared to the bit depth of the predictors. Then, at 1560, the weighted average at the higher bit depth is shifted and clipped to obtain a third predictor at the same bit depth as the first and second predictors.

[0038] At 1570, the bi-prediction ends and a third predictor for the encoded or decoded block of the image is output.

[0039] EMBODIMENT 1 Therefore, at least one embodiment of the encoding or decoding method relates to weighting samples on the edge of a triangular partition with increased accuracy. Figure 7 illustrates an example of a modified motion compensation process for triangular prediction according to an embodiment. Since each triangular prediction unit is limited to uni-prediction, bi-prediction with sample position-dependent weighting coefficients is processed to obtain a triangular prediction. This modified motion compensation process, in which the weights used to average the two uni-predictions P1 and P2 can be different for each sample, is implemented using the position-dependent weights illustrated in Figures 3 and 4. The weights depend on the distance between the current sample S0, S1, S2, or S3 and the edge between the two triangles Pu P1 and P2. For example, for a sample S0 on the edge of a partition, the first weight W1 is equal to 4 / 8 and the second weight W2 is equal to 4 / 8. For example, for sample S1 that is at a distance from the edge of the partition, the first weight W1 is equal to 1 / 8 and the second weight W2 is equal to 7 / 8. Conversely, for sample S2 that is at the same distance from the edge of the partition, the first weight W1 is equal to 7 / 8 and the second weight W2 is equal to 1 / 8. And when the distance between sample S3 and the edge of the partition exceeds a defined value, the first weight W1 is equal to 8 / 8 and the second weight W2 is equal to 0 / 8. As illustrated in FIG. 7, the shift to the input bit depth and the clipping are advantageously postponed after the weighting of the samples, thus benefiting from the extended precision. In this embodiment, the first information indicates the division of the blocks of the picture, for example, with triangular partitions according to the top-left to bottom-right direction as shown in FIG. 3. For example, a dedicated syntax such as triangle_flag is used to indicate the triangular partitions of the blocks. For a block of size N×N (e.g., N=8, as in FIG. 3 ) of the luma component, the weight W1 at location (x,y) in the block, where x and y are in the range of [0,N−1], can be expressed as, for example, W1=(Clip(0,8,(xy)+4), and W2=8-W1 The resulting weights are in the range of [0 to 8], so increased precision is obtained for the weighted sum, followed by a shift and clipping operation to reduce the bit depth to that of the third predictor. As shown in Figure 3, the weight W1 at location (x,y) is different for the chroma components.

[0040] EMBODIMENT 2 At least one embodiment of the encoding or decoding method further relates to weighting samples on the edges of triangular partitions adapted to multiple partition patterns. Advantageously, in blocks of different partition patterns, information indicating the arrangement of multiple partition patterns is used to determine edges. Thus, the position, e.g., distance, of samples in the block relative to the edges is determined. Figure 8 illustrates an example of multiple diagonal patterns according to an embodiment. Two (TL2BR, or TR2BL) or more (TL2BR_1_4, TL2BR_3_4, TR2BL_1_4, TR2BL_3_4) patterns are defined. Such multiple diagonal patterns are desirable to improve coding efficiency. For example, as shown in Figure 8, the diagonal lines can be shifted (by 1 / 4 or 3 / 4) and rotated (TL2BR from top left to bottom right or TR2BL from top right to bottom left).

[0041] At least one embodiment relates to bi-prediction using multiple partitions, such as triangular partitions. According to a different feature, the coding of multiple patterns and the index for the motion vector predictor are separated. In fact, if the six patterns from FIG. 8 are implemented as bi-predicted triangular partitions, 6×20=180 combinations must be tested in the encoder. Various encoder speedup implementations are described below in the variants of embodiment 5.

[0042] Therefore, a dedicated syntax is described that separates the signaling of the pattern using the syntax elements diagonal_dir[x0][y0], diagonal_pos[x0][y0] from the signaling of the motion vector index most_probable_idx in the motion vector candidate list. Thus, the second information indicating the direction of the edge of the triangular partition of the block is the diagonal_dir[x0][y0] syntax element, and the third information indicating the position of the edge of the triangular partition is the diagonal_pos[x0][y0] syntax element. Such syntax elements are entropy coded and decoded, respectively, and binarized as proposed in Tables 4 and 5.

[0043] [Table 3]

[0044] diagonal_dir[x0][y0] specifies the direction of the diagonal line separating two prediction units of a block, where x0, y0 specifies the location (x0, y0) of the top-left luma sample of the considered prediction block relative to the top-left luma sample of the picture. Examples of various diagonal directions are illustrated in FIG. 2 and also in FIG. 8.

[0045] [Table 4]

[0046] diagonal_pos[x0][y0] specifies the position of the diagonal line separating two prediction units of a block, where x0, y0 specifies the position (x0, y0) of the top-left luma sample of the considered prediction block relative to the top-left luma sample of the picture. Examples of various diagonal line positions are illustrated in FIG. 8.

[0047] [Table 5]

[0048] EMBODIMENT 3 In yet another variation, other edges can be used as horizontal, vertical, or edges from corners to the center of a block, as shown in Figures 9 and 10. For example, Figure 9 illustrates an additional pattern, where the edges are either horizontal (HOR, HOR_1_4, HOR_3_4) or vertical (VER, VER_1_4, VER_3_4) and are located in the center (HOR, VER) or in the quarters (HOR_1_4, HOR_3_4, VER_1_4, VER_3_4) of the block. Figure 10 illustrates yet another additional pattern, where the edges start at the corners of the block and end at the center. Of course, the partition along the edges conforming to the present principles is not limited to the described patterns, and those skilled in the art will easily apply the modified motion compensation process using position-dependent weighting coefficients to other partition patterns. According to this embodiment, the syntax is modified to add new patterns, as shown in Table 6.

[0049] [Table 6]

[0050] In another variation, a syntax element is coded that indicates another weight to apply to the averaging over the edge.

[0051] EMBODIMENT 4 At least one embodiment is better adapted to the storage of motion vectors on the edge of a partition. In classical inter mode, when bi-prediction is used, two motion vectors (one in each list) are stored in a 4x4 subblock. In triangular mode merge, in a variant where each PU is restricted to uni-prediction, the two motion vectors used on the edge, as shown in FIG. 11, are advantageously stored in two lists respectively. Thus, the method is implemented without extra cost. In combination with Equation 2, the motion vectors can be stored with the given weights w0 and w1 for the motion vectors from list 0 and list 1, respectively. This allows better propagation of the motion vectors and therefore better prediction for neighboring blocks.

[0052] Variation of embodiment 5 The fifth embodiment relates to an encoder speedup for motion compensation. In the encoder, 20 combinations of motion vector predictors are used for a given pattern, so when more patterns are used, the maximum number of combinations tested increases significantly. For every combination, an averaging process is performed to evaluate candidates. At least one embodiment relates to reducing the number of combinations tested. According to a feature, by using a fast estimation using SATD (sum of absolute transformed differences), the RDOQ (rate-distortion optimized quantization) process is performed only for the best predictor.

[0053] In the first variant, combinations using a zero motion vector predictor added to the end of the list are not tested. For example, if predictors 4 and 5 of the list are zero motion vectors added, only 3×2=6 combinations for a given pattern are tested instead of 20. In the case of 6 patterns, 6×6=36 combinations are tested instead of 6×20=240.

[0054] In the second variant, the combinations using the motion vectors selected in the classical merge are tested, and other combinations are not tested. First, the best merge candidate for classical merge is determined. Then, depending on whether the best candidate is unidirectional or bidirectional, one or two motion vectors are recovered. If these motion vectors are present in the list of motion vector predictors for the triangular PU, the testing of possible combinations is reduced to testing combinations that include these motion vector predictors.

[0055] In the third variant, the motion vector predictors are ranked using SAD or SATD. Since all combinations are made using the maximum of the five motion vector predictors, all five one-way motion vector predictors are ranked according to their likelihood using SAD or SATD. The N best motion vectors (N<5) are kept, or predictors above a threshold are removed. Thus, the number of possible combinations is reduced.

[0056] Additional Embodiments and Information This application describes various aspects, including tools, features, embodiments, models, methods, and the like. Many of these aspects are described with specificity, and often in a manner that may seem restrictive, at least to illustrate their individual characteristics. However, this is for clarity in the description and does not limit the application or scope of the aspects. In fact, all of the different aspects can be combined and interchanged to provide further aspects. Furthermore, aspects can similarly be combined and interchanged with aspects described in prior applications.

[0057] The aspects described and contemplated in this application can be implemented in many different forms. Figures 12, 13, and 14 below provide some embodiments, but other embodiments are contemplated, and the descriptions of Figures 12, 13, and 14 do not limit the breadth of implementations. At least one of the aspects generally relates to video encoding and decoding, and at least one other aspect generally relates to transmitting a generated or encoded bitstream. These and other aspects can be implemented as a method, an apparatus, a computer-readable storage medium having stored thereon instructions for encoding or decoding video data according to any of the described methods, and / or a computer-readable storage medium having stored thereon a bitstream generated according to any of the described methods.

[0058] In this application, the terms "reconstructed" and "decoded" can be used interchangeably, the terms "pixel" and "sample" can be used interchangeably, and the terms "image", "picture", and "frame" can be used interchangeably. Usually, but not necessarily, the term "reconstructed" is used on the encoder side, while "decoded" is used on the decoder side.

[0059] Various methods are described herein, each of which includes one or more steps or actions for achieving the described method. Unless a specific order of steps or actions is required for the proper operation of the method, the order and / or use of specific steps and / or actions can be varied or combined.

[0060] Various methods and other aspects described in the present application can be used to modify modules, such as the entropy encoding 145, motion compensation 170, and motion estimation 175 of the video encoder 100 as shown in FIG. 12, and the entropy decoding module 230 and motion compensation module 275 of the video decoder 200 as shown in FIG. 13. Furthermore, the aspects are not limited to VVC or HEVC, but can be applied to other standards and recommendations, whether existing or developed in the future, and to extensions of any such standards and recommendations (including VVC and HEVC). Unless otherwise indicated or technically excluded, the aspects described in the present application can be used individually or in combination.

[0061] In this application, various numerical values ​​are used, such as the number of partitions or the values ​​of the relevant weights, etc. The specific values ​​are for illustrative purposes and the described aspects are not limited to these specific values.

[0062] 12 illustrates an example encoder 100. Although variations of this encoder 100 are contemplated, the encoder 100 is described below for clarity purposes without describing all possible variations.

[0063] Before being encoded, the video sequence may pass through a pre-encoding process (101) that, for example, applies a color transformation (e.g., from RGB 4:4:4 to YCbCr 4:2:0) to the input color picture, or performs a remapping of the input picture components to obtain a signal distribution that is more resilient to compression (e.g., using histogram equalization of one of the color components). Metadata may be associated with the pre-processing and attached to the bitstream.

[0064] In the encoder 100, a picture is encoded by the encoder elements as described below. The picture to be encoded is partitioned (102) and processed, for example, in units of CUs. Each unit is encoded, for example, using either intra mode or inter mode. When a unit is encoded in intra mode, it performs intra prediction (160). In inter mode, motion estimation (175) and compensation (170) are performed. The encoder decides (105) which one of intra mode or inter mode to use to encode the unit, and indicates the intra / inter decision, for example, by a prediction mode flag. A prediction residual is calculated, for example, by subtracting (110) the predicted block from the original image block.

[0065] The prediction residual is then transformed (125) and quantized (130). The quantized transform coefficients, as well as the motion vectors and other syntax elements, are entropy coded (145) to output a bitstream. The encoder can skip the transform and apply quantization directly to the untransformed residual signal. The encoder can bypass both the transform and quantization, i.e., the residual is coded directly without applying a transform or quantization process.

[0066] The encoder decodes the encoded block to provide a reference for further prediction. The quantized transform coefficients are inverse quantized (140) and inverse transformed (150) to decode the prediction residual. The decoded prediction residual and the predicted block are combined (155) to reconstruct an image block. An in-loop filter (165) is applied to the reconstructed picture to perform, for example, deblocking / sample adaptive offset (SAO) filtering to reduce encoding artifacts. The filtered image is stored in a reference picture buffer (180).

[0067] Figure 13 illustrates a block diagram of a video decoder 200. In the decoder 200, the bitstream is decoded by decoder elements as described below. The video decoder 200 generally performs a decoding pass that is reciprocal to the encoding pass as illustrated in Figure 13. The encoder 100 also generally performs video decoding as part of encoding the video data.

[0068] In particular, the decoder input includes a video bitstream, which may be generated by the video encoder 100. The bitstream is first entropy decoded (230) to obtain transform coefficients, motion vectors, and other coded information. Picture partition information indicates how the picture is partitioned. Thus, the decoder may divide (235) the picture according to the partition information of the decoded picture. The transform coefficients are inverse quantized (240) and inverse transformed (250) to decode the prediction residual. The decoded prediction residual and the predicted block are combined (255) to reconstruct an image block. The predicted block may be obtained (270) from intra prediction (260) or motion compensated prediction (i.e., inter prediction) (275). An in-loop filter (265) is applied to the reconstructed image. The filtered image is stored in a reference picture buffer (280).

[0069] The decoded picture may further pass through a post-decoding process (285), such as an inverse color conversion (e.g., from YCbCr 4:2:0 to RGB 4:4:4) or an inverse remapping that performs the inverse of the remapping process performed in the pre-encoding process (101). The post-decoding process may use metadata derived in the pre-encoding process and conveyed in the bitstream.

[0070] FIG. 14 illustrates a block diagram of an example system in which various aspects and embodiments are implemented. System 1000 can be embodied as a device including various components described below and configured to perform one or more of the aspects described in this document. Examples of such devices include, but are not limited to, various electronic devices, such as personal computers, laptop computers, smartphones, tablet computers, digital multimedia set-top boxes, digital television sets, personal video recording systems, connected home appliances, and servers. The elements of system 1000, alone or in combination, can be embodied in a single integrated circuit (IC), multiple ICs, and / or individual components. For example, in at least one embodiment, the processing and encoder / decoder elements of system 1000 are distributed across multiple ICs and / or individual components. In various embodiments, system 1000 is communicatively coupled to one or more other systems or other electronic devices, for example, via a communication bus or through dedicated input and / or output ports. In various embodiments, system 1000 is configured to perform one or more of the aspects described in this document.

[0071] The system 1000 includes at least one processor 1010 configured to execute instructions loaded therein, for example, to implement various aspects described in this document. The processor 1010 may include embedded memory, input / output interfaces, and various other circuits as known in the art. The system 1000 includes at least one memory 1020 (e.g., a volatile memory device and / or a non-volatile memory device). The system 1000 includes a storage device 1040, which may include non-volatile memory and / or volatile memory, including, but not limited to, electrically erasable programmable read-only memory (EEPROM), read-only memory (ROM), programmable read-only memory (PROM), random access memory (RAM), dynamic random access memory (DRAM), static random access memory (SRAM), flash, magnetic disk drive, and / or optical disk drive. The storage device 1040 may include, as non-limiting examples, an internal storage device, an attached storage device (including removable and non-removable storage devices), and / or a network-accessible storage device.

[0072] The system 1000 includes an encoder / decoder module 1030 configured to process data to provide encoded or decoded video, for example, and the encoder / decoder module 1030 may include its own processor and memory. The encoder / decoder module 1030 represents a module that may be included within a device to perform encoding and / or decoding functions. As is known, a device may include one or both of an encoding module and a decoding module. In addition, the encoder / decoder module 1030 may be implemented as a separate element of the system 1000 or may be incorporated within the processor 1010 as a combination of hardware and software, as is known to those skilled in the art.

[0073] Program code loaded onto the processor 1010 or the encoder / decoder 1030 to perform various aspects described herein may be stored in the storage device 1040 and then loaded onto the memory 1020 for execution by the processor 1010. According to various embodiments, one or more of the processor 1010, the memory 1020, the storage device 1040, and the encoder / decoder module 1030 may store one or more of various items during execution of the processes described herein. Such stored items may include, but are not limited to, input video, decoded video or portions of decoded video, bitstreams, matrices, variables, and intermediate or final results from the processing of equations, formulas, operations, and operational logic.

[0074] In some embodiments, memory internal to the processor 1010 and / or the encoder / decoder module 1030 is used to store instructions and to provide working memory for processing required during encoding or decoding. However, in other embodiments, memory external to the processing device (e.g., the processing device can be either the processor 1010 or the encoder / decoder module 1030) is used for one or more of these functions. The external memory can be the memory 1020 and / or the storage device 1040, e.g., dynamic volatile memory and / or non-volatile flash memory. In some embodiments, the external non-volatile flash memory is used to store, for example, the television's operating system. In at least one embodiment, a fast external dynamic volatile memory such as RAM is used as working memory for video encoding and decoding operations such as MPEG-2 (MPEG stands for Moving Picture Experts Group, MPEG-2 is also known as ISO / IEC 13818, 13818-1 is also known as H.222, and 13818-2 is also known as H.262), HEVC (HEVC stands for High Efficiency Video Coding, also known as H.265 and MPEG-H Part 2), or VVC (Versatile Video Coding, JVET, i.e., a new standard being developed by the Joint Video Experts Team).

[0075] Inputs to the elements of system 1000 can be provided through a variety of input devices, as shown in block 1130. Such input devices include, but are not limited to, (i) a radio frequency (RF) section that receives an RF signal, e.g., transmitted wirelessly by a broadcast station, (ii) a component (COMP) input terminal (or set of COMP input terminals), (iii) a universal serial bus (USB) input terminal, and / or (iv) a high-definition multimedia interface (HDMI) input terminal. Other examples not shown in FIG. 10 include composite video.

[0076] In various embodiments, the input devices of block 1130 have associated respective input processing elements as known in the art. For example, the RF section may be associated with elements suitable for (i) selecting a desired frequency (also referred to as selecting a signal or band-limiting a signal to a band of frequencies), (ii) down-converting the selected signal, (iii) band-limiting again to a narrower band of frequencies to select a signal frequency band (for example), which in some embodiments may be referred to as a channel, (iv) demodulating the down-converted and band-limited signal, (v) performing error correction, and (vi) demultiplexing to select a desired stream of data packets. The RF section of various embodiments includes one or more elements for performing these functions, such as a frequency selector, a signal selector, a band limiter, a channel selector, a filter, a down-converter, a demodulator, an error corrector, and a demultiplexer. The RF section may include, for example, a tuner to perform various of these functions, including down-converting a received signal to a lower frequency (e.g., an intermediate frequency or near-baseband frequency) or to baseband. In one embodiment of a set-top box, the RF section and its associated input processing elements perform frequency selection by receiving RF signals transmitted over a wired (e.g., cable) medium, filtering, downconverting, and filtering again to a desired frequency band. Various embodiments rearrange the order of the above-described (and other) elements, remove some of these elements, and / or add other elements that perform similar or different functions. Adding elements can include inserting elements between existing elements, such as inserting amplifiers and analog-to-digital converters. In various embodiments, the RF section includes an antenna.

[0077] In addition, the USB and / or HDMI terminals may include respective interface processors for connecting the system 1000 to other electronic devices via USB and / or HDMI connections. It should be appreciated that various aspects of the input processing, e.g., Reed-Solomon error correction, may be implemented, for example, in a separate input processing IC or within the processor 1010, as desired. Similarly, aspects of the USB or HDMI interface processing may be implemented, for example, in a separate interface IC or within the processor 1010, as desired. The demodulated, error corrected, and demultiplexed stream is provided to various processing elements, including, for example, the processor 1010 and the encoder / decoder 1030, operating in combination with memory and storage elements to process the data stream as desired for presentation on an output device.

[0078] The various elements of the system 1000 may be provided within an integrated housing in which the various elements are interconnected and may transmit data between them using any suitable connection arrangement, such as an internal bus as is known in the art, including an Inter-IC (I2C) bus, wiring, and printed circuit boards.

[0079] The system 1000 includes a communication interface 1050 that enables communication with other devices over a communication channel 1060. The communication interface 1050 may include, but is not limited to, a transceiver configured to transmit and receive data over the communication channel 1060. The communication interface 1050 may include, but is not limited to, a modem or a network card, and the communication channel 1060 may be implemented in a wired and / or wireless medium, for example.

[0080] In various embodiments, data is streamed or otherwise provided to the system 1000 using a wireless network, such as a Wi-Fi network, e.g., IEEE 802.11 (IEEE is the Institute of Electrical and Electronics Engineers). The Wi-Fi signal of these embodiments is received on a communication channel 1060 and a communication interface 1050 adapted for Wi-Fi communication. The communication channel 1060 of these embodiments is typically connected to an access point or router that provides access to external networks, including the Internet, to enable streaming applications and other over-the-top communications. Other embodiments provide streamed data to the system 1000 using a set-top box that delivers data over an HDMI connection of the input block 1130. Still other embodiments provide streamed data to the system 1000 using an RF connection of the input block 1130. As indicated above, various embodiments provide data in a non-streaming manner. In addition, various embodiments use wireless networks other than Wi-Fi, e.g., a cellular network, or a Bluetooth network.

[0081] The system 1000 can provide output signals to various output devices, including a display 1100, speakers 1110, and other peripheral devices 1120. The display 1100 of various embodiments includes, for example, one or more of a touch screen display, an organic light emitting diode (OLED) display, a curved display, and / or a foldable display. The display 1100 can be for a television, a tablet, a laptop, a cell phone (mobile phone), or other device. The display 1100 can be integrated with other components (e.g., as in a smartphone) or can be separate (e.g., an external monitor for a laptop). In various example embodiments, the other peripheral devices 1120 include one or more of a separate digital video disc (or digital versatile disc) (DVD for both terms), a disc player, a stereo system, and / or a lighting system. Various embodiments use one or more peripheral devices 1120 that provide functions based on the output of the system 1000. For example, a disc player performs the function of playing the output of the system 1000.

[0082] In various embodiments, control signals are communicated between the system 1000 and the display 1100, speaker 1110, or other peripheral device 1120 using signaling such as AV.Link, Consumer Electronics Control (CEC), or other communication protocols that allow inter-device control with or without user intervention. The output devices can be communicatively coupled to the system 1000 via dedicated connections through respective interfaces 1070, 1080, and 1090. Alternatively, the output devices can be connected to the system 1000 using a communication channel 1060 via the communication interface 1050. The display 1100 and speaker 1110 can be integrated into a single unit with other components of the system 1000 in an electronic device, such as a television. In various embodiments, the display interface 1070 includes a display driver, such as a timing controller (T Con) chip, or the like.

[0083] Alternatively, the display 1100 and speakers 1110 can be separate from one or more of the other components, for example if the RF section of the input 1130 is part of a separate set-top box. In various embodiments in which the display 1100 and speakers 1110 are external components, the output signal can be provided via a dedicated output connection including, for example, an HDMI port, a USB port, or a COMP output.

[0084] The embodiments may be implemented by computer software executed by the processor 1010, or by hardware, or by a combination of hardware and software. As a non-limiting example, the embodiments may be implemented by one or more integrated circuits. The memory 1020 may be of any type suitable for the technology environment, and may be implemented using any suitable data storage technology, such as, as non-limiting examples, optical memory devices, magnetic memory devices, semiconductor-based memory devices, fixed memories, and removable memories. The processor 1010 may be of any type suitable for the technology environment, and may include, as non-limiting examples, one or more of a microprocessor, a general-purpose computer, a special-purpose computer, and a processor based on a multi-core architecture.

[0085] Various implementations include decoding. As used in this application, "decoding" can encompass all or part of the processes performed, for example, on a received encoded sequence to generate a final output suitable for display. In various embodiments, such processes include one or more of the processes typically performed by a decoder, such as entropy decoding, inverse quantization, inverse transform, and differential decoding. In various embodiments, such processes also include or alternatively include the processes performed by the decoder of various implementations described in this application, such as decoding a bi-prediction flag, decoding an index in a partition and a prediction list for bi-prediction, determining weights according to the position of a pixel in a block, particularly along the edge of a partition of a PU, and performing motion compensation in inter using bi-prediction and the determined weights.

[0086] As a further example, in one embodiment "decoding" refers to entropy decoding only, in another embodiment "decoding" refers to differential decoding only, and in another embodiment "decoding" refers to a combination of entropy decoding and differential decoding. Whether the phrase "decoding process" is intended to refer specifically to a subset of operations or to the broader decoding process generally will be clear based on the context of the specific description and is believed to be well understood by one of ordinary skill in the art.

[0087] Various implementations include encoding. As with the above description of "decoding," "encoding," as used in this application, can encompass all or part of the processes performed, for example, on an input video sequence to generate an encoded bitstream. In various embodiments, such processes include one or more of the processes typically performed by an encoder, such as partitioning, differential encoding, transform, quantization, and entropy encoding. In various embodiments, such processes also include, or alternatively include, the processes performed by an encoder in various implementations described in this application, such as determining a predictor in a bi-prediction scheme using motion compensation and motion prediction, where the weights of the bi-prediction are based on the position of the pixel in the block, particularly along the edge of the partition of the PU, performing motion compensation in the inter using bi-prediction, and encoding a bi-prediction flag, encoding a partition for bi-prediction, and encoding an index in the prediction list.

[0088] As a further example, in one embodiment, "encoding" refers to entropy encoding only, in another embodiment, "encoding" refers to differential encoding only, and in another embodiment, "encoding" refers to a combination of differential and entropy encoding. Whether the phrase "encoding process" is intended to refer specifically to a subset of operations or to the broader encoding process generally will be clear based on the context of the specific description and is believed to be well understood by one of ordinary skill in the art.

[0089] It should be noted that syntax elements as used herein, e.g., diagonal_dir, diagonal_pos, diagonal_flag, partition_dir, partition_pos, are descriptive terms, so they do not preclude the use of other syntax element names.

[0090] It should be understood that when a diagram is presented as a flow diagram, it also provides a block diagram of the corresponding apparatus. Similarly, when a diagram is presented as a block diagram, it should be understood that it also provides a flow diagram of the corresponding method / process.

[0091] Various embodiments refer to rate-distortion optimization, for example, when testing combinations for bi-predicted multi-partition PUs in an encoder. In particular, during the encoding process, a balance or trade-off between rate and distortion is usually considered, often given a computational complexity constraint. Rate-distortion optimization is usually formulated as minimizing a rate-distortion function, which is a weighted sum of rate and distortion. There are different approaches to solving the rate-distortion optimization problem. For example, the approach can be based on an extensive test of all encoding options, including all considered modes or coding parameter values, with a full evaluation of the coding cost and the associated distortion of the reconstructed signal after encoding and decoding. To save on encoding complexity, a faster approach can also be used, in particular one that uses an approximated distortion calculation based on a predicted or predicted residual signal, rather than a reconstructed one. A mixture of these two approaches can also be used, such as by using approximated distortion for only some of the possible encoding options and full distortion for other encoding options. Other approaches evaluate only a subset of the possible encoding options. More generally, many approaches utilize any of a variety of techniques to perform the optimization, but the optimization is not necessarily a complete assessment of both the coding cost and the associated distortion.

[0092] The implementations and aspects described herein may be implemented, for example, in a method or process, an apparatus, a software program, a data stream, or a signal. Even if described only in the context of a single form of implementation (e.g., described only as a method), the implementation of the described features may also be implemented in other forms (e.g., an apparatus or a program). An apparatus may be implemented, for example, in appropriate hardware, software, and firmware. A method may be implemented, for example, in a processor, which generally refers to a processing device, including, for example, a computer, a microprocessor, an integrated circuit, or a programmable logic device. Processors also include communication devices, such as, for example, computers, cell phones, portable / personal digital assistants ("PDAs"), and other devices that facilitate the transfer of information between end users.

[0093] References to "one embodiment" or "embodiment" or "one implementation" or "implementation" and other variations thereof mean that particular features, structures, characteristics, etc. described in connection with an embodiment are included in at least one embodiment. Thus, appearances of the phrases "in one embodiment" or "in an embodiment" or "in one implementation" or "in an implementation" appearing in various places throughout this application, as well as any other variations, are not necessarily all referring to the same embodiment.

[0094] Additionally, the application may refer to "determining" various information. Determining information may include, for example, one or more of estimating information, calculating information, predicting information, or retrieving information from memory.

[0095] Additionally, the application may refer to "accessing" various information. Accessing information may include, for example, one or more of receiving information, retrieving information (e.g., from a memory), storing information, moving information, copying information, calculating information, determining information, predicting information, or estimating information.

[0096] In addition, the application may refer to "receiving" various information. Receiving, like "accessing," is intended to be a broad term. Receiving information may include, for example, one or more of accessing information or retrieving information (e.g., from a memory). Furthermore, "receiving" may generally be included in various ways during operations such as, for example, storing information, processing information, transmitting information, moving information, copying information, erasing information, calculating information, determining information, predicting information, or estimating information.

[0097] For example, in the cases of "A / B," "A and / or B," and "at least one of A and B," it will be understood that the use of any of the following " / ," "and / or," and "at least one of" is intended to encompass the selection of only the first enumerated alternative (A), or the selection of only the second enumerated alternative (B), or the selection of both alternatives (A and B). As a further example, in the cases of "A, B, and / or C" and "at least one of A, B, and C," such language is intended to encompass the selection of only the first enumerated alternative (A), or the selection of only the second enumerated alternative (B), or the selection of only the third enumerated alternative (C), or the selection of only the first and second enumerated alternatives (A and B), or the selection of only the first and third enumerated alternatives (A and C), or the selection of only the second and third enumerated alternatives (B and C), or the selection of all three alternatives (A and B and C). This can be expanded by as many items as listed, as would be apparent to one of ordinary skill in the art and related fields.

[0098] Also, as used herein, the term "signal" refers to, among other things, indicating something to a corresponding decoder. For example, in an embodiment, an encoder communicates a specific one of a plurality of parameters for improved bi-prediction, for example, to communicate a partition of a block and associated weights. In this way, in an embodiment, the same parameters are used at both the encoder side and the decoder side. Thus, for example, an encoder can transmit a specific parameter to a decoder so that the decoder can use the same specific parameter (explicit signaling). Conversely, if the decoder already has a specific parameter and others, it can use signaling without transmission, simply to allow the decoder to know and select the specific parameter (implicit signaling). By avoiding the transmission of any actual function, bit savings are realized in various embodiments. It should be understood that signaling can be achieved in various ways. For example, in various embodiments, one or more syntax elements, flags, etc. are used to convey information to a corresponding decoder. Although the above relates to the verb form of the word "signal," the word "signal" can also be used as a noun in this specification.

[0099] As will be apparent to one of ordinary skill in the art, the implementations can generate a variety of signals formatted to carry information that can be, for example, stored or transmitted. The information can include, for example, instructions for performing a method or data generated by one of the described implementations. For example, the signal can be formatted to carry a bit stream of the described embodiments. Such a signal can be formatted, for example, as an electromagnetic wave (e.g., using the radio frequency portion of the spectrum) or as a baseband signal. The formatting can include, for example, encoding a data stream and modulating a carrier with the encoded data stream. The information that the signal carries can be, for example, analog or digital information. The signal can be transmitted over a variety of different wired or wireless links, as is known. The signal can be stored on a processor-readable medium.

[0100] The inventors have described a number of embodiments. The features of these embodiments may be provided alone or in any combination. Furthermore, the embodiments may include one or more of the following features, devices, or aspects, alone or in any combination, across various claim categories and types. ● Changing the bi-prediction process applied in the decoder and / or encoder. Applying bi-prediction methods with increased precision in the decoder and / or encoder. ● Allowing several weights within the same PU for bi-prediction methods at the decoder and / or encoder. ● At the decoder and / or encoder, determining weights within a PU for a bi-prediction method according to the pixel's position relative to the edge of the PU's partition. In the decoder and / or encoder, determining weights within a PU for a bi-prediction method according to the position of a pixel relative to edges of multiple partitions of the PU. Inserting syntax elements into the signaling that allow the decoder to identify the PU partition that the bi-prediction method will use, and optionally the weight for each pixel. ● Based on these syntax elements, at the decoder, selecting the partitions and weights that the bi-prediction method applies. ● Using uni-predictive motion models and combining them into weighted bi-predictive at the encoder and / or decoder according to any of the described embodiments. A bitstream or signal including one or more of the described syntax elements, or variations thereof. Inserting syntax elements into the signaling that allow the decoder to perform motion compensation in a manner that corresponds to that used by the encoder. ● Creating, and / or transmitting, and / or receiving, and / or decoding a bitstream or signal that includes one or more of the described syntax elements, or variations thereof. ● A television, set-top box, cell phone, tablet, or other electronic device that performs inter bi-prediction according to any of the described embodiments. ●A television, set-top box, cell phone, tablet, or other electronic device that performs inter bi-prediction in accordance with any of the described embodiments and displays the resulting images (e.g., using a monitor, screen, or other type of display). ●A television, set-top box, cell phone, tablet, or other electronic device that tunes a channel (e.g., using a tuner) to receive a signal including an encoded image and performs inter bi-prediction according to any of the described embodiments. ●A television, set-top box, cell phone, tablet, or other electronic device that receives a signal containing an encoded image wirelessly (e.g., using an antenna) and performs inter-parameter bi-prediction according to any of the described embodiments. [Industrial Applicability]

[0101] The present invention can be used in video coding systems. [Explanation of symbols]

[0102] 100 Communication Systems 104 RAN 106 Core Network 108 PSTN 110 Internet

Claims

1. obtaining first information indicative of a division of blocks of a picture using geometric partitioning; obtaining second information indicative of edge directions used in the geometric division; obtaining third information indicative of positions of edges used in the geometric division; obtaining a first predictor for the block of the picture using a first reference picture from uni-prediction; obtaining a second predictor for the block of the picture using a second reference picture from uni-prediction; obtaining a weighted average of the first predictor and the second predictor, the weighted average samples being obtained by applying first weights to samples of the first predictor and second weights to co-located samples of the second predictor, the first weights and the second weights being responsive to the first information, the second information and the third information and to a position of the sample in the block; obtaining a third predictor for the block by shifting and clipping the weighted average; decoding the block of the picture using the third predictor generated in a geometric partitioning mode; A method for providing the above.

2. The method of claim 1 , wherein the first predictor is obtained for at least a first portion of the block and the second predictor is obtained for at least a second portion of the block.

3. The method of claim 1 , wherein the second information indicating an edge direction used in the geometric division is an index that encodes at least three different angles for the edge.

4. The method of claim 1 , wherein the third information indicating the location of an edge used in the geometric division is an index that encodes at least three different distances from the edge to a reference sample of the block.

5. 2. The method of claim 1 , wherein the first weight and the second weight depend on a distance between the sample and an edge of the geometric subdivision of the block, the position of the edge being derived from the first information and the second information.

6. The method of claim 5 , wherein the block of the picture includes a luma component and two chroma components, and the first weight and the second weight are further dependent on the luma component or the chroma component.

7. Obtaining first information indicative of a division of blocks of a picture using geometric division; obtaining second information indicative of edge directions used in the geometric division; obtaining third information indicative of positions of edges used in the geometric division; From uni-prediction, obtain a first predictor for the block of the picture using a first reference picture; From uni-prediction, obtain a second predictor for the block of the picture using a second reference picture; obtaining a weighted average of the first predictor and the second predictor, samples of the weighted average being obtained by applying first weights to samples of the first predictor and by applying second weights to co-located samples of the second predictor, the first weights and the second weights being responsive to the first information, the second information and the third information and to a position of the sample in the block; obtaining a third predictor for the block by shifting and clipping the weighted average; Decoding the block of the picture using the third predictor generated in a geometric partitioning mode. One or more processors configured to An apparatus comprising:

8. The apparatus of claim 7 , wherein the first predictor is obtained for at least a first portion of the block and the second predictor is obtained for at least a second portion of the block.

9. 8. The apparatus of claim 7, wherein the second information indicating an edge direction used in the geometric division is an index that encodes at least three different angles for the edge.

10. 8. The apparatus of claim 7, wherein the third information indicating the location of an edge used in the geometric division is an index that encodes at least three different distances from the edge to a reference sample of the block.

11. 8. The apparatus of claim 7, wherein the first weight and the second weight depend on a distance between the sample and an edge of the geometric subdivision of the block, the position of the edge being derived from the first information and the second information.

12. The apparatus of claim 11 , wherein the block of the picture includes a luma component and two chroma components, and the first weight and the second weight are further dependent on the luma component or the chroma component.

13. obtaining first information indicative of a division of blocks of a picture using geometric partitioning; obtaining second information indicative of edge directions used in the geometric division; obtaining third information indicative of positions of edges used in the geometric division; obtaining a first predictor for the block of the picture using a first reference picture from uni-prediction; obtaining a second predictor for the block of the picture using a second reference picture from uni-prediction; obtaining a weighted average of the first predictor and the second predictor, the weighted average samples being obtained by applying first weights to samples of the first predictor and second weights to co-located samples of the second predictor, the first weights and the second weights being responsive to the first information, the second information and the third information and to a position of the sample in the block; obtaining a third predictor for the block by shifting and clipping the weighted average; encoding the block of the picture using the third predictor generated in a geometric partitioning mode; A method for providing the above.

14. The method of claim 13 , wherein the first predictor is obtained for at least a first portion of the block and the second predictor is obtained for at least a second portion of the block.

15. The method of claim 13 , wherein the second information indicating an edge direction used in the geometric division is an index that encodes at least three different angles for the edge.

16. 14. The method of claim 13, wherein the third information indicating the location of an edge used in the geometric division is an index that encodes at least three different distances from the edge to a reference sample of the block.

17. 14. The method of claim 13, wherein the first weight and the second weight depend on a distance between the sample and an edge of the geometric subdivision of the block, the position of the edge being derived from the first information and the second information.

18. The method of claim 17 , wherein the block of the picture includes a luma component and two chroma components, and the first weight and the second weight are further dependent on the luma component or the chroma component.

19. Obtaining first information indicative of a division of blocks of a picture using geometric division; obtaining second information indicative of edge directions used in the geometric division; obtaining third information indicative of positions of edges used in the geometric division; From uni-prediction, obtain a first predictor for the block of the picture using a first reference picture; From uni-prediction, obtain a second predictor for the block of the picture using a second reference picture; obtaining a weighted average of the first predictor and the second predictor, samples of the weighted average being obtained by applying first weights to samples of the first predictor and by applying second weights to co-located samples of the second predictor, the first weights and the second weights being responsive to the first information, the second information and the third information and to a position of the sample in the block; obtaining a third predictor for the block by shifting and clipping the weighted average; Encoding the block of the picture using the third predictor generated in a geometric partitioning mode. One or more processors configured to An apparatus comprising:

20. 20. The apparatus of claim 19, wherein the first predictor is obtained for at least a first portion of the block and the second predictor is obtained for at least a second portion of the block.

21. 20. The apparatus of claim 19, wherein the second information indicating an edge direction used in the geometric division is an index that encodes at least three different angles for the edge.

22. 20. The apparatus of claim 19, wherein the third information indicating the location of an edge used in the geometric division is an index that encodes at least three different distances from the edge to a reference sample of the block.

23. 20. The apparatus of claim 19, wherein the first weight and the second weight depend on a distance between the sample and an edge of the geometric subdivision of the block, the location of the edge being derived from the first information and the second information.

24. 24. The apparatus of claim 23, wherein the block of the picture includes a luma component and two chroma components, and the first weight and the second weight are further dependent on the luma component or the chroma component.

Citation Information

Patent Citations

  • Method and apparatus for encoding a block using a partitioned block and weighted prediction values

    US20180278932A1

  • System and method for video coding

    WO2020050283A1