Method and apparatus for video encoding and decoding using a predictor candidate list
By limiting the comparison and dynamic sorting of predicted sub-candidate sets in video encoding and decoding, the complexity and redundancy of predicted sub-candidate list creation problems in the prior art are solved, and the compression efficiency and computing performance of video encoding and decoding are improved.
Patent Information
- Application Number
- CN201980065566.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2018-10-02
- Filing Date
- 2019-10-01
- Publication Date
- 2024-11-05
- Estimated Expiration
- 2039-10-01
AI Technical Summary
The prior art creates complex predictive sub-candidate lists for motion compensation in video encoding and decoding, resulting in a decrease in compression efficiency and an increase in computational complexity. It is difficult for existing methods to effectively prune redundant candidates, affecting compression performance.
By limiting comparisons in predicted sub-candidate sets, only compare with the last N candidates, and dynamically sort and reorder the candidate list to ensure the effectiveness of unique pruning and improvement in compression performance, suitable for different block sizes and motion prediction mode.
It improves the compression efficiency of video encoding and decoding, reduces the computational complexity of list creation, avoids the emergence of redundant candidates, and improves the overall compression performance.
Smart Images

Figure CN112806010B_ABST
Abstract
Description
Technical Field
[0001] At least one of the present embodiments generally relates to a method or apparatus for video encoding or decoding, and more particularly, to a method or apparatus for efficiently pruning a predictor candidate list for video encoding or decoding. Background Art
[0002] To achieve high compression efficiency, image and video coding schemes typically employ predictions including motion vector predictions, and transforms to exploit spatial and temporal redundancies in video content. Typically, intra-frame or inter-frame predictions are used to exploit intra-frame or inter-frame correlations, and then the difference between the original image and the predicted image (usually denoted as prediction error or prediction residual) is transformed, quantized, and entropy encoded. To reconstruct the video, the compressed data is decoded by the inverse process corresponding to entropy encoding, quantization, transform, and prediction.
[0003] Various motion models for motion compensation in encoding and decoding of video images are newly added to the high compression technology. Typically, the index in the predictor candidate list is used for motion prediction, and the number of predictor candidates in the list is increased to improve compression efficiency. At least some embodiments also relate to motion compensation in a video compression scheme using a predictor candidate list. Summary of the invention
[0004] The deficiencies and drawbacks of the prior art are addressed and addressed by the general aspects described herein, which are intended to effectively prune predictor candidate lists for video encoding or decoding.
[0005] According to a first aspect, a method is provided. The method comprises: for a block being encoded, determining a set of predictor candidates, wherein for at least one current potential predictor candidate in the set of potential predictor candidates, determining that the current potential predictor candidate is different from any predictor candidate in a subset of predictor candidates from the set of predictor candidates, and in response, adding the current potential predictor candidate to the set of predictor candidates; and encoding the block based on the predictor candidates from the set of predictor candidates.
[0006] According to another aspect, a second method is provided. The method includes: for a block being decoded in a picture, receiving information for a decoding mode; for the block being decoded, determining a set of predictor candidates, wherein for at least one current potential predictor candidate in the set of potential predictor candidates, determining that the current potential predictor candidate is different from any predictor candidate in a subset of predictor candidates from the set of predictor candidates, and in response, adding the current potential predictor candidate to the set of predictor candidates; and decoding the block based on the received information and the set of predictor candidates.
[0007] According to another aspect, an apparatus is provided. The apparatus includes one or more processors, wherein the one or more processors are configured to: for a block being encoded, determine a set of predictor candidates, wherein for at least one current potential predictor candidate in the set of potential predictor candidates, the current potential predictor candidate is determined to be different from any predictor candidate in a subset of predictor candidates from the set of predictor candidates, and in response, add the current potential predictor candidate to the set of predictor candidates; and encode the block based on the predictor candidates from the set of predictor candidates.
[0008] According to another aspect, another apparatus is provided. The apparatus includes one or more processors, wherein the one or more processors are configured to: for a block being decoded in a picture, receive information for a decoding mode; for the block being decoded, determine a set of predictor candidates, wherein for at least one current potential predictor candidate in the set of potential predictor candidates, the current potential predictor candidate is determined to be different from any predictor candidate in a subset of predictor candidates from the set of predictor candidates, and in response, add the current potential predictor candidate to the set of predictor candidates; and decode the block based on the received information and the set of predictor candidates.
[0009] According to another general aspect of at least one embodiment, the set of predictor candidates is ordered, and the subset includes the next N predictor candidates in the set of predictor candidates, N being an integer between 1 and a maximum number of candidates in the set.
[0010] According to another general aspect of at least one embodiment, the order of predictor candidates is based on distances between consecutive potential predictor candidates in the set.
[0011] According to another general aspect of at least one embodiment, N is set to 2, and the order of predictor candidates is: predictor candidates with a larger distance from the current predictor candidate, followed by predictor candidates with a smaller distance from the current predictor candidate.
[0012] According to another general aspect of at least one embodiment, the set of predictor candidates includes spatial and temporal predictor candidates, and wherein the distance between consecutive predictor candidates includes a spatial distance and a temporal distance.
[0013] According to another general aspect of at least one embodiment, the order of predictor candidates is adapted to the size of the block.
[0014] According to another general aspect of at least one embodiment, the set of predictor candidates is ordered based on distances used to determine consecutive potential predictor candidates in the set of predictor candidates, and after the determination, the set of predictor candidates is reordered according to another criterion.
[0015] According to another general aspect of at least one embodiment, a candidate set of predictors is used in an adaptive motion vector prediction mode.
[0016] According to another general aspect of at least one embodiment, the candidate set of predictors is used in a merge mode.
[0017] According to another general aspect of at least one embodiment, the set of predictor candidates includes affine predictor candidates.
[0018] According to another general aspect of at least one embodiment, a device is provided, comprising: an apparatus according to any one of the decoding embodiments; and at least one of the following: (i) an antenna, the antenna being configured to receive a signal, the signal including a video block; (ii) a band limiter, the band limiter being configured to limit the received signal to a frequency band including the video block, or (iii) a display, the display being configured to display an output representing the video block.
[0019] According to another general aspect of at least one embodiment, there is provided a non-transitory computer-readable medium containing data content generated according to any of the described encoding embodiments or variations.
[0020] According to another general aspect of at least one embodiment, there is provided a signal comprising video data generated according to any of the described encoding embodiments or variations.
[0021] According to another general aspect of at least one embodiment, a bitstream is formatted to include data content generated according to any of the described encoding embodiments or variations.
[0022] According to another general aspect of at least one embodiment, there is provided a computer program product comprising instructions which, when the program is executed by a computer, cause the computer to perform any of the described decoding embodiments or variations.
[0023] These and other aspects, features and advantages of the general aspect will become apparent from the following detailed description of exemplary embodiments taken in conjunction with the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] Figure 1 Coding tree units and coding tree concepts are shown to represent compressed HEVC pictures.
[0025] Figure 2 The division of the coding tree unit into coding units, prediction units and transform units is shown.
[0026] Figure 3 An encoding method according to an embodiment of the present disclosure is shown.
[0027] Figure 4 A decoding method according to an embodiment of the present disclosure is shown.
[0028] Figure 5 The signaling of inter prediction information according to the HEVC specification is shown.
[0029] Figure 6a The positions of spatial and temporal motion vector predictor candidates used in merge mode in HEVC are shown.
[0030] Figure 6b The positions of the temporal motion vector predictor candidates used in merge mode in HEVC are shown.
[0031] Figure 7 A method for creating a candidate list using N=2 partial list comparison according to an embodiment of the present disclosure is shown.
[0032] Figure 8 An exemplary process for creating a re-ordered candidate list according to an embodiment of the present disclosure is shown.
[0033] Fig. 9 An exemplary measure of spatial distance between candidates according to an embodiment of the present disclosure is shown.
[0034] Fig.10 , 11 , 12 and 13 show other exemplary metrics and re-rankings of spatial distances between candidates according to other embodiments of the present disclosure.
[0035] Fig.14 The numbering for affine corners according to another embodiment of the present disclosure is shown.
[0036] Fig.15 An exemplary process of calculating the distance between affine models for a re-ordered candidate list according to an embodiment of the present disclosure is shown.
[0037] Fig.16 Another exemplary measure of distance between affine models according to another embodiment of the present disclosure is shown.
[0038] Fig.17 A block diagram of an embodiment of a video encoder is shown.
[0039] Fig.18 A block diagram of an embodiment of a video decoder is shown.
[0040] Fig.19 A block diagram of a system is shown in which aspects of the present embodiments may be implemented. DETAILED DESCRIPTION
[0041] It should be understood that the drawings and descriptions have been simplified to illustrate elements relevant to a clear understanding of the present principles, while many other elements found in typical encoding and / or decoding devices have been omitted for clarity. It should be understood that although the terms first and second may be used herein to describe various elements, these elements should not be limited by these terms. These terms are only used to distinguish one element from another.
[0042] Various embodiments are described with respect to encoding / decoding of a picture. They may be applied to encoding / decoding a portion of a picture, such as a slice or tile, or an entire sequence of pictures.
[0043] Various methods are described above, and each of these methods includes one or more steps or actions for implementing the described method. Unless a specific order of steps or actions is required for the correct operation of the method, the order and / or use of specific steps and / or actions can be modified or combined.
[0044] In the HEVC video compression standard (H.265 / HEVC High Efficiency Video Coding, ITU-T H.265 Telecommunication Standardization Sector of the ITU, "H Series: Audiovisual and Multimedia Systems, Infrastructure of Audiovisual Services - Motion Video Coding, High Efficiency Video Coding"), motion compensated temporal prediction is used to exploit the redundancy existing between consecutive pictures of a video. To this end, a motion vector is associated with each prediction unit (PU) now introduced. Each CTU (Coding Tree Unit) is represented by a coding tree in the compression domain. This is a quadtree partitioning of the CTU, where each leaf is called a Coding Unit (CU), such as Figure 1 shown.
[0045] Then, each CU is given some intra-frame or inter-frame prediction parameters (prediction information). To this end, it is spatially divided into one or more prediction units (PUs), each of which is assigned some prediction information. Intra-frame or inter-frame coding mode is assigned at the CU level, such as Figure 2 shown.
[0046] In HEVC, each PU is assigned exactly one motion vector ( Figure 1The motion vector is used for motion compensated temporal prediction of the considered PU. Therefore, in HEVC, the motion model of the linked prediction block and its reference block is only translation. Therefore, it is usually called the translation or traditional motion prediction model.
[0047] Moreover, two modes are used in HEVC to encode motion data, which are called AMVP (Adaptive Motion Vector Prediction) and Merge.
[0048] AMVP mainly consists in signaling the reference picture(s) used to predict the current PU, the motion vector predictor index (taken from a list of 2 predictors) and the motion vector difference.
[0049] The merge mode consists of signaling and decoding the index of some motion data collected in a list of motion data predictors. The list consists of 5 candidates and is constructed in the same way on the decoder and encoding side. Therefore, the merge mode intends to derive some motion information taken from the merge list. The merge list usually contains motion information associated with some spatially and temporally surrounding blocks, which is available in its decoding state when processing the current PU.
[0050] In the Joint Exploration Model (JEM) and the subsequent VTM (Versatile Video Coding (VVC) Test Model) developed by the JVET (Joint Video Exploration Team) group, some richer motion models are supported to improve temporal prediction. To this end, the PU can be spatially divided into sub-PUs, and a dedicated motion vector can be assigned to each sub-PU using a richer model. One of the new motion models introduced in JEM is the affine model, which basically consists in using an affine model to represent the motion vectors in the CU. For both AMVP and merge modes, the PU in VVC can be translational or affine.
[0051] The present principles are advantageously relevant to any mode of generating a candidate list of motion data predictors, and will be discussed below in this application. In all cases, a candidate list needs to be constructed. A maximum list size M is given (but the maximum number of candidates may be different for each mode of merge, merge affine, etc.). The maximum number of candidates to be pushed into the list is P. At the encoder, an index is sent to the decoder to signal the predictor (i.e., motion vector) to use as the predictor for decoding.
[0052] A method for improving compression efficiency proposes to increase the number of potential candidates to be added to a list for motion prediction. However, it is desirable to avoid redundancy in the candidate list. Therefore, additional verification is performed before adding a potential candidate to the list to check if the candidate already exists. Thus, increasing the number of candidates in the list complicates the design of the decoder / encoder. In fact, in prior art methods, list creation involves processing all potential candidates in a fixed order in a loop, and if it passes a certain criterion, it is put into the list. To improve compression performance, the criterion for filtering potential candidates is to check if it is already in the list (pruning based on unicity). This increases the list creation complexity because it requires comparing the given candidate with all candidates already existing in the list. The worst - case comparison complexity is given by C = (M - 1)(M - 2) / 2+(M - 1)(P - N + 1), where the integers M and P are defined above, and N is the number of the given candidate to be added to the candidates already existing in the list.
[0053] One solution for limiting the comparison complexity is to skip the unicity pruning. However, this solution reduces the compression performance because the list can be filled with the same candidates.
[0054] Therefore, an encoding / decoding method for generating a candidate list (for merge, merge affine, AMVP, or AMVP affine) is desired, which is effective in terms of compression efficiency (by proposing many potential candidates) and also effective in terms of complexity (by limiting the computation of list creation).
[0055] At least one embodiment of this principle relates to an encoding / decoding method, which includes:
[0056] - Limiting the unicity pruning by comparing the current candidate with the last N candidates (0 < N < M) in the list, regardless of what the candidate is. In other words, discard several comparisons in the list, that is, the comparisons with the first M - N candidates. The complexity becomes C = (M - N)*P+(N - 1)N / 2;
[0057] - The sorting of list creation such as the above - mentioned criterion is alleviated and the compression performance is not affected.
[0058] Several embodiments are described:
[0059] - Limit the comparison for pruning to a part of the list, rather than all elements in the list;
[0060] - More specifically, limit it to the last N elements;
[0061] - Dynamically reorder list creation to place likely similar candidates close together in the list;
[0062] - More specifically, spatially close candidates are placed closely together in the list;
[0063] - More specifically, consider the block size to select spatially compact candidates;
[0064] - More specifically, for affine candidates, the angular positions are considered to determine compact candidates.
[0065] General embodiment of the encoding method
[0066] According to at least one aspect of the present disclosure, a method for encoding a video is disclosed. This method includes accessing 310 a block being encoded. For inter-frame coding, a predictor candidate set is determined for the block being encoded at step 320. According to at least one general embodiment, at least one current potential predictor candidate in the potential predictor candidate set is tested to determine at sub-step 323 whether the current potential predictor candidate is different from any predictor candidate in the predictor candidate subset from the predictor candidate set. In the case where the current potential predictor candidate is different from the candidate in the subset (yes), the current potential predictor candidate is added to the predictor candidate set. And if there is, another current potential predictor candidate in the potential predictor candidate set is tested. In the case of skipping the current potential predictor candidate (no) and if there is, another current potential predictor candidate in the potential predictor candidate set is tested. Once the predictor candidate set (or list) is created, the block is encoded based on the predictor candidate from the predictor candidate set at 330, as described for example for merge mode, affine merge mode, AMVP or affine AMVP.
[0067] According to the specific features discussed in the exemplary second embodiment, the set of potential predictor candidates is sorted at 322, and the order of the predictor candidates is based on the distances between consecutive potential predictor candidates in the set of potential predictor candidates. Thus, the set of predictor candidates is sorted accordingly, because after pruning, potential candidates are added one by one in the set of predictor candidates. Advantageously, different distance variants are used: Euclidean distance, Manhattan distance, chessboard distance.
[0068] General embodiment of the decoding method
[0069] According to at least one aspect of the present disclosure, a method for decoding a video is disclosed. This method includes accessing 410 a block being decoded and receiving information for a decoding mode for the block being decoded. For inter-frame decoding, a predictor candidate set is determined for the current block at step 420, as performed for the encoding method, to obtain the same predictor candidate set. According to at least one general embodiment, at least one current potential predictor candidate in the potential predictor candidate set is tested to determine at sub-step 423 whether the current potential predictor candidate is different from any predictor candidate in the predictor candidate subset from the predictor candidate set. Then, at 424, in the case where the current potential predictor candidate is different from any predictor candidate in the predictor candidate subset from the predictor candidate set, the current potential predictor candidate is added to the predictor candidate set, or in the case where the current potential predictor candidate is not yet in the subset, the current potential predictor candidate is skipped. At 430, the block is decoded based on the received information and the predictor candidate set.
[0070] According to the specific features discussed in the second exemplary embodiment, the set of potential predictor candidates and, accordingly, the set of predictor candidates are ordered in 422. The order of the predictor candidates is based on the distances between consecutive potential predictor candidates in the set of potential predictor candidates.
[0071] Example of list creation for merge mode
[0072] In this section, as an exemplary embodiment in which the present principles can be applied, the principles of creating a predictor candidate list (or set) for merge mode in HEVC are described. The same principles apply to affine merging or AMVP list creation.
[0073] In the HEVC standard, the merge mode includes deriving the inter-frame prediction information (hereinafter also referred to as motion information) of the prediction element PU (also referred to as block in the application) given from the selected motion information prediction sub-candidate. The motion information considered here includes all inter-frame prediction parameters of PU, namely:
[0074] - One-way or two-way time prediction type
[0075] - The reference picture index within each reference picture list
[0076] -(multiple) motion vectors
[0077] Figure 5The encoding and decoding of inter prediction information in HEVC is outlined. It can be seen that the motion information encoding / decoding according to the merge mode adopts two modes: skip mode and merge mode. In both modes, a single field is signaled to enable the decoder to retrieve the motion information of the PU: the so-called merge index. The merge index indicates which motion vector predictor in the list of merge motion information predictors is used to derive the motion information of the current PU. In the following, the list of motion information predictors is referred to as the merge list or the merge candidate list. Furthermore, the candidate motion information predictors are referred to as merge candidates. In the following, the term "predictor candidate" is also used as a generic name for merge candidates independently of the motion prediction mode.
[0078] In HEVC, the merge candidate list systematically consists of 5 merge candidates. This section below describes how to construct the merge list on the encoder side and the decoder side. It can be seen that at most 5 spatial positions are considered to retrieve some potential candidates. They are accessed according to the following order (called the order of the potential predictor candidate set):
[0079] 1-Left side (A1)
[0080] 2-Above (B1)
[0081] 3-Upper right (B0)
[0082] 4-Lower left (A0)
[0083] 5-Upper left (B2)
[0084] 6-Time H
[0085] 7-Time Center C
[0086] 8-Combination
[0087] 9-Zero
[0088] The symbols A0, A1, B0, B1, and B2 indicate Figure 6a The spatial positions shown. Five spatial candidates that are distinct from each other are selected. A temporal predictor denoted as TMVP is then selected, first considering the temporal motion information at position H, and "centering" the candidate at position H if it is not available. A final pruning process is then performed to ensure that the set of selected spatial and temporal candidates does not contain redundant candidates.
[0089] Next, in the case of B slices, if the merge list is not full, another type of candidate is pushed into the merge list: the so-called merge candidate. This consists in forming a candidate consisting of motion information associated with one reference picture list (L0) from one candidate already present in the list and motion associated with another reference picture list (L1) from another candidate already present in the merge list.
[0090] Finally, if the merge list is not yet full (5 elements), zero motion vectors are pushed to the back of the merge list until the merge list is full.
[0091] First embodiment of list creation using partial list comparison in encoding / decoding method
[0092] According to at least one embodiment, in a case where a potential predictor candidate is different from any predictor candidate in a subset of predictor candidates from a set of predictor candidates, this potential predictor candidate is added to the set of predictor candidates. The subset is different from the set of predictor candidates. Advantageously, this embodiment performs a partial list comparison, thus reducing complexity. According to a non - limiting example for better understanding by the reader, the subset includes the last N predictor candidates in the set of predictor candidates, where N is an integer between 1 and the maximum number of candidates in the set.
[0093] In other words, when adding a candidate to the list, the candidate is compared with the last N = 2 candidates in the list instead of pruning all candidates. Figure 7 A method for determining a candidate list using partial list comparison with N = 2 according to an embodiment of the present disclosure is shown. M is the maximum list size, P is the maximum number of candidates to be pushed to the list, and N is the size of the subset to be tested for pruning. The variable i identifying the candidate added to the list V is initialized to zero. Then, since the list is empty (i < M, V[i - 1] and V(i - 2] do not exist and need not be tested), the first potential candidate A1 in the set of P potential predictor candidates including {A1, B1, B0, A0, B2, H, C} is added to the list at position 0. The variable i is incremented to 1. Then the second potential candidate B1 is tested. If B1 = V[i - 1] = A0, the second potential candidate is not added to the list and the third potential candidate is tested. If B1 ≠ V[i - 1] = A0, the second potential candidate is added to the list, i is incremented to 2 and now the third potential candidate is tested. This process is repeated for each potential candidate in the list {A1, B1, B0, A0, B2, H, C} until the maximum number of candidates M in the list V is reached. According to Figure 7 In the non - limiting example shown, when M = 5, N = 2. Alternatively, according to another non - limiting example for M = 8 and P = 20, N = 3. Note that regardless of the candidates in the list, for simplicity of the list construction process, the comparison is always made with the last N candidates in the list.
[0094] Second embodiment of list creation including sorting of candidate lists in encoding / decoding method
[0095] In order to improve efficiency and prune the maximum number of identical candidates, it is proposed to use the above process and reorder the list of potential predictor candidates. Accordingly, the list ordering is different from the previously proposed list ordering for HEVC merge mode ({A1, B1, B0, A0, B2, H, C}).
[0096] The list uses an order that obeys the following constraints:
[0097] - (C0) Put the possible different candidates into the list as quickly as possible in order to come up with the maximum number of candidate diversity at a low index encoding cost (the lower the index, the lower the encoding cost)
[0098] - (C1) Separate possible similar candidates by at most N as much as possible, so that possible duplicates can be eliminated: if the distance is less than or equal to N, the identical candidate will be deleted, leaving more space for other potential candidates.
[0099] For example, for a set of 5 potential candidates starting from A1, we get Figure 8 The following sequence is represented by dashed points: {A1, B0, A0, B1, B2}. Fig. 9 , the corresponding spatial distances between the candidates are shown. Advantageously, the Manhattan distance is used, where the Manhattan distance is the sum of the distance along X and the distance along Y (ie, the sum of the vertical distance and the horizontal distance).
[0100] Starting from A1, for N=2, the algorithm is as follows:
[0101] - Added A1. The current list is now {A1}.
[0102] - Go further away from A1:B0. The current list is now {A1,B0}
[0103] - A candidate further away in the current list and closer to A1 (i.e., 2 indices earlier in the list): A0. The current list is now {A1, B0, A0}
[0104] - A candidate further away in the current list and closer to B0 (i.e., 2 indices earlier in the list): A1. The current list is now {A1, B0, A0, B1}
[0105] - A candidate further away in the current list and closer to B0 (i.e., 2 indices earlier in the list): B2. The current list is now {A1, B0, A0, B1, B2}
[0106] It can be seen that for N=2, it follows (C0) and (C1).
[0107] The first step of list creation includes dynamically sorting the candidate list depending on the size of the block being encoded / decoded Three embodiments
[0108] According to yet another embodiment, the list ordering is dynamic and depends on the size of the block. Advantageously, this embodiment allows improving the distance-based ordering, since it dynamically takes into account the spatial distances between candidates.
[0109] Fig.10 A first variation of the third embodiment suitable for fat blocks is shown. For example, for a set of 5 potential candidates, for a fat block (larger than tall), Fig.10 The right part of shows the distance between candidates.
[0110] Starting from B2, we get the following sequence:
[0111] - Added B2. The list is now {B2}.
[0112] - Go further away from B2:B0. The current list is now {B2,B0}.
[0113] - A candidate further away in the current list and closer to B2 (i.e., 2 indices earlier in the list): A1. The current list is now {B2, B0, A1}
[0114] - A candidate further away in the current list and closer to B0 (i.e., 2 indices earlier in the list): A1. The current list is now {B2, B0, A1, B1}
[0115] - A candidate further away in the current list and closer to A1 (i.e., 2 indices earlier in the list): A0. The current list is now {B2, B0, A1, B1, A0}
[0116] Fig.11 A second variant of the third embodiment suitable for thin blocks is shown. Starting from B2, the following sequence is obtained:
[0117] - Added B2. The list is now {B2}.
[0118] - Go further away from B2:A0. The current list is now {B2,A0}
[0119] - A candidate further away in the current list and closer to B2 (i.e., 2 indices earlier in the list): B1. The current list is now {B2, A0, B1}
[0120] - A candidate further away in the current list and closer to A0 (i.e., 2 indices earlier in the list): A1. The current list is now {B2,A0,B1,A1}
[0121] - A candidate further away in the current list and closer to B1 (i.e., 2 indices earlier in the list): B0. The current list is now {B2, A0, B1, A1, B0}
[0122] Advantageously, the order is determined in advance for each block size.
[0123] Fig.12 A third variation of the third embodiment suitable for non-adjacent candidates is shown. In the development of the latest new coding standards (such as Universal Video Coding), candidates that are not adjacent to the current block are also proposed, such as Fig.12 By applying the same process as described above when calculating the distances, the present principle is advantageously easily adapted and the optimal order is also calculated.
[0124] Fig.13 A fourth variation of the third embodiment suitable for time candidates is further shown. Fig.13 The distance between spatial candidates and temporal candidates can be arbitrarily offset. Fig.13 In , if the distance between B2 and B0 is d, then the distance between A0 and T is set to d+k, where k is large enough (e.g., k=2*d or depends on the POC distance). The distance between the temporal candidates themselves can be calculated like for spatial candidates if they originate from the same reference picture.
[0125] According to yet another variation of the third embodiment, regarding the temporal candidate distance adjustment, an arbitrary offset may be set between candidates if they do not share the same reference picture index for the motion vector.
[0126] A fourth method of encoding / decoding a list of candidate lists including dynamically sorting candidate lists of affine candidates Example
[0127] In the development of the latest new coding standards (such as Universal Video Coding), affine constructed candidates are considered for merge mode. For affine constructed candidates, the distance between corners becomes important. The constructed affine model is calculated by using 2 or more candidate vectors (usually at the corners of the PU).
[0128] To improve this order, it is proposed to consider the corners used to build the model. For example, the merge affine process adds the following constructed affine candidates, where Fig.14 The numbering for the affine candidates is shown:
[0129] {0,1,2}, / / 1: LT, RT, LB
[0130] {0,1,3}, / / 2: LT, RT, RB
[0131] {0,2,3}, / / 3: LT, LB, RB
[0132] {1,2,3}, / / 4: RT, LB, RB
[0133] {0,1}, / / 5: LT, RT
[0134] {0,2}, / / 6: LT, LB
[0135] {1,2}, / / 7: RT, LB
[0136] {0,3}, / / 8: LT, RB
[0137] {1,3}, / / 9: RT, RB
[0138] {2,3}, / / 10: LB, RB
[0139] In the case of constructing models, the distance between models is obtained by considering the distance between the corners used to construct the models.
[0140] exist Fig.15 In FIG. 1 , a process for calculating the distance between two models M0 and M1 is shown. The distance S between each corner C of M0 and the model M1 is accumulated, and reciprocally the distance S between each corner C of M1 and the model M0 is accumulated. According to a particular variant, the distance between a corner C and a model M is a distance that is smaller than the distance between a corner C and any corner of the model M.
[0141] For example, the distance between models M0{0,1,2} and M1{0,1,3} is given by the sum of these distances:
[0142] -S=0
[0143] -0 and the distance between the nearest corner in {0,1,3}. S+=0
[0144] -1 and the distance between the nearest corners in {0,1,3}. S+ = 0
[0145] -2 is the distance between the nearest corner in {0,1,3}. S+ = distance (2,3)
[0146] -0 and the distance between the nearest corners in {0,1,2}. S+ = 0
[0147] -1 is the distance between the nearest corner in {0,1,2}. S+=0
[0148] -3 is the distance between the nearest corner in {0,1,2}. S+ = distance (2,3)
[0149] Then the final distance is S = 2*distance(2,3).
[0150] Assuming that the distance between corners 0 and 1 is 1 and the distance between corners 2 and 1 is 2, a table of distances between models is obtained as described above. Since corner 3 is a temporal candidate, its distance is set to: distance (2, 3) = distance (1, 3) = 3, distance (0, 3) = 4. Using the same process as before, find the best order to sort the affine model candidates. In yet another variation, the same dynamic process is also applied to consider the block size (for thick blocks or thin blocks).
[0151] Fifth embodiment of the encoding / decoding method including list creation using a fixed ordering of the candidate list
[0152] In all the above cases, the order of both lists (potential candidates before pruning and candidates after pruning) is fixed and reordered according to the distance criterion. In the fifth embodiment, only the pruning process will follow the best list reordering according to the distance, and the determined predictor candidate list follows the original creation order. In other words, the determined candidate list is reordered after determination / pruning so that the output candidate list order is not modified compared to the original list. In this case, the candidate index encoding is the same and the number of comparisons is kept low.
[0153] Additional Examples and Information
[0154] This application describes various aspects including tools, features, embodiments, models, methods, etc. Many of these aspects are specifically described and are usually described in a manner that may sound restrictive, at least to illustrate individual characteristics. However, this is for the sake of clarity of description and does not limit the application or scope of those aspects. In fact, all different aspects can be combined and interchanged to provide further aspects. In addition, these aspects can also be combined and interchanged with aspects described in previous applications.
[0155] The aspects described and contemplated in this application may be implemented in many different forms. Fig.17 , 18 and 19 provide some embodiments, but other embodiments are contemplated, and Fig.17 , 18 The discussion of 19 does not limit the breadth of the embodiments. At least one of these aspects generally relates to video encoding and decoding, and at least one other aspect generally relates to sending 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.
[0156] In this application, the terms "reconstructed" and "decoded" are used interchangeably, the terms "pixel" and "sample" are used interchangeably, and the terms "image", "picture" and "frame" are used interchangeably. Usually, but not necessarily, the term "reconstructed" is used on the encoder side, and "decoded" is used on the decoder side.
[0157] Various methods are described herein, and each of the methods includes one or more steps or actions for implementing the described method. Unless a specific order of steps or actions is required for the correct operation of the method, the order and / or use of specific steps and / or actions may be modified or combined.
[0158] The various methods and other aspects described in this application can be used to modify Fig.17 and Fig.18 Modules of the video encoder 100 and decoder 200 shown, for example, a motion estimation module (175) and a motion compensation module (170, 275). Furthermore, the present aspects are not limited to VVC or HEVC, and may be applied, for example, to other standards and recommendations, whether previously existing or developed in the future, as well as extensions of any such standards and recommendations (including VVC and HEVC). Unless otherwise indicated or technically excluded, the aspects described in this application may be used alone or in combination.
[0159] Various numerical values are used in this application, for example, the number N of predictor candidates in a subset used in uniqueness pruning. The specific values are for example purposes, and the described aspects are not limited to these specific values.
[0160] Fig.17 An encoder 100 is shown. Variations of the encoder 100 are contemplated, but for clarity, the encoder 100 is described below without describing all contemplated variations.
[0161] Before being encoded, the video sequence may undergo pre-encoding processing (101), such as applying a color transform to the input color picture (e.g., converting from RGB 4:4:4 to YCbCr 4:2:0), or performing remapping on 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 appended to the bitstream.
[0162] In encoder 100, a picture is encoded by encoder elements as described below. The picture to be encoded is segmented (102) and processed in units such as CUs. Each element is encoded using, for example, intra or inter mode. When the 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 mode, intra mode or inter mode, is used to encode the unit, and indicates the intra / inter decision by, for example, a prediction mode flag. The prediction residual is calculated, for example, by subtracting (110) the predicted block from the original image block.
[0163] The prediction residual is then transformed (125) and quantized (130). The quantized transform coefficients, along with motion vectors and other syntax elements, are entropy encoded (145) to output a bitstream. The encoder may skip the transform and apply quantization directly to the untransformed residual signal. The encoder may bypass both the transform and quantization, i.e., directly encode the residual without applying the transform or quantization process.
[0164] 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 prediction block are combined (155) to reconstruct the image block. A loop filter (165) is applied to the reconstructed picture to perform, for example, deblocking / SAO (sample adaptive offset) filtering to reduce coding artifacts. The filtered image is stored in a reference picture buffer (180).
[0165] Fig.18 2 shows 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 the same operations as described below. Fig.18 The encoding pass is a reciprocal of the decoding pass. Encoder 100 also typically performs video decoding as part of encoding the video data.
[0166] Specifically, the input to the decoder 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 encoding information. Picture segmentation information indicates how the picture is segmented. Thus, the decoder may divide (235) the picture according to the decoded picture segmentation information. The transform coefficients are inverse quantized (240) and inverse transformed (250) to decode the prediction residual. The image block is reconstructed by combining (255) the decoded prediction residual and the prediction block. The prediction block may be obtained (270) from an intra-frame prediction (260) or a motion compensated prediction (i.e., inter-frame prediction) (275). A loop filter (265) is applied to the reconstructed image. The filtered image is stored in a reference picture buffer (280).
[0167] The decoded picture may further undergo post-decoding processing (285), such as an inverse color transform (e.g., conversion from YCbCr 4:2:0 to RGB 4:4:4) or inverse remapping, which performs the inverse of the remapping process performed in the pre-encoding process (101). The post-decoding processing may use metadata derived in the pre-encoding process and signaled in the bitstream.
[0168] Fig.19 A block diagram of an example of a system in which various aspects and embodiments are implemented is shown. System 1000 can be embodied as a device including various components described below, and is configured to perform one or more aspects described in this document. Examples of such devices include, but are not limited to, various electronic devices, such as personal computers, laptop computers, smart phones, tablet computers, digital multimedia set-top boxes, digital television receivers, personal video recording systems, networked home appliances, and servers. The elements of system 1000 can be embodied in a single integrated circuit (IC), multiple ICs, and / or discrete components, either individually or in combination. For example, in at least one embodiment, the processing and encoder / decoder elements of system 1000 are distributed over multiple ICs and / or discrete components. In various embodiments, system 1000 is coupled to one or more other systems or other electronic devices via, for example, a communication bus or by a dedicated input and / or output port communication. In various embodiments, system 1000 is configured to implement one or more aspects described in this document.
[0169] The system 1000 includes at least one processor 1010 configured to execute instructions loaded therein for implementing, for example, various aspects described in this document. The processor 1010 may include embedded memory, input and output interfaces, and various other circuits 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 a non-volatile memory and / or a volatile memory, including but not limited to an electrically erasable programmable read-only memory (EEPROM), a read-only memory (ROM), a programmable read-only memory (PROM), a random access memory (RAM), a dynamic random access memory (DRAM), a static random access memory (SRAM), a flash memory, a magnetic disk drive, and / or an optical disk drive. As a non-limiting example, the storage device 1040 may include an internal storage device, an attached storage device (including a removable and non-removable storage device), and / or a network accessible storage device.
[0170] The system 1000 includes an encoder / decoder module 1030, which is configured to, for example, process data to provide encoded video or decoded video, and the encoder / decoder module 1030 may include its own processor and memory. The encoder / decoder module 1030 represents a (multiple) module that can be included in a device to perform encoding and / or decoding functions. As is well known, a device may include one or both of the encoding and decoding modules. In addition, the encoder / decoder module 1030 may be implemented as a separate element of the system 1000, or may be incorporated into the processor 1010 as a combination of hardware and software known to those skilled in the art.
[0171] Program code to be loaded onto the processor 1010 or the encoder / decoder 1030 to perform various aspects described in this document may be stored in the storage device 1040 and then loaded onto the memory 1020 to be executed by the processor 1010. According to various embodiments, during the execution of the processes described in this document, 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 the various items. Such stored items may include, but are not limited to, input video, decoded video or a portion of decoded video, bitstreams, matrices, variables, and intermediate or final results of processing equations, formulas, operations, and arithmetic logic.
[0172] In some embodiments, memory internal to the processor 1010 and / or encoder / decoder module 1030 is used to store instructions and 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 may be the processor 1010 or the encoder / decoder module 1030) is used for one or more of these functions. The external memory may be memory 1020 and / or storage device 1040, such as dynamic volatile memory and / or non-volatile flash memory. In several embodiments, the external non-volatile flash memory is used to store, for example, an operating system for a television. 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 refers to Moving Picture Experts Group, MPEG-2 is also known as ISO / IEC 13818, and 13818-1 is also known as H.222, and 13818-2 is also known as H.262), HEVC (HEVC refers to High Efficiency Video Coding, also known as H.265 and MPEG-H Part 2), or VVC (Versatile Video Coding, i.e., a new standard developed by the JVET Joint Video Experts Group).
[0173] As indicated at block 1130, input to the elements of system 1000 may be provided through various input devices. Such input devices include, but are not limited to: (i) a radio frequency (RF) section that receives an RF signal transmitted over the air by, for example, a broadcaster; (ii) a component (COMP) input terminal (or a collection of COMP input terminals); (iii) a universal serial bus (USB) input terminal; and / or (iv) a high-definition multimedia interface (HDMI) input terminal. Fig.19 Other examples not shown include composite video.
[0174] In various embodiments, the input device of block 1130 has associated corresponding input processing elements, as known in the art. For example, the RF portion may be associated with elements suitable for: (i) selecting a desired frequency (also referred to as selecting a signal, or limiting the frequency band of a signal to a frequency band); (ii) down-converting the selected signal; (iii) again limiting the frequency band to a narrower frequency band to select a signal frequency band that may be referred to as a channel in some embodiments; (iv) demodulating the down-converted and band-limited signal; (v) performing error correction; and (vi) demultiplexing to select a desired data packet stream. The RF portion 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 portion may include a tuner that performs various of these functions, including, for example, down-converting a received signal to a lower frequency (e.g., an intermediate frequency or a near-baseband frequency) or a baseband. In a set-top box embodiment, the RF part and its associated input processing element receive the RF signal that sends on wired (for example, cable) medium, and by filtering, down-conversion and filtering to the desired frequency band again to perform frequency selection.Each embodiment rearranges the order of above-mentioned (and other) element, removes some elements in these elements, and / or adds other elements that perform similar or different functions.Adding element can be included in and inserts element between existing element, such as for example, inserts amplifier and analog-to-digital converter.In various embodiments, the RF part comprises antenna.
[0175] In addition, the USB and / or HDMI terminals may include corresponding interface processors to connect the system 1000 to other electronic devices via USB and / or HDMI connections. It should be understood that various aspects of input processing (e.g., Reed-Solomon error correction) may be implemented, for example, in a separate input processing IC or in the processor 1010 as desired. Similarly, various aspects of USB or HDMI interface processing may be implemented, for example, in a separate interface IC or in the processor 1010 as desired. The demodulated, error-corrected, and demultiplexed streams are provided to various processing elements, including, for example, the processor 1010 and an encoder / decoder 1030 that operates in conjunction with memory and storage elements to process the data stream as needed for presentation on an output device.
[0176] The various components of system 1000 may be provided within an integrated housing. Within the integrated housing, the various components may be interconnected and data may be transmitted between the various components using a suitable connection arrangement (e.g., an internal bus known in the art, including an Inter-IC (I2C) bus, wiring, and printed circuit boards).
[0177] The system 1000 includes a communication interface 1050 that enables communication with other devices via a communication channel 1060. The communication interface 1050 may include, but is not limited to, a transceiver configured to send 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, for example, within a wired and / or wireless medium.
[0178] 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 refers to the Institute of Electrical and Electronics Engineers)). The Wi-Fi signals of these embodiments are received on a communication channel 1060 and a communication interface 1050 suitable for Wi-Fi communication. The communication channel 1060 of these embodiments is typically connected to an access point or router that provides access to an external network including the Internet to allow streaming applications and other cloud communications. Other embodiments provide streaming data to the system 1000 using a set-top box that delivers data through an HDMI connection of an input block 1130. Other other embodiments use an RF connection of an input block 1130 to provide streaming data to the system 1000. As indicated above, various embodiments provide data in a non-streaming manner. In addition, various embodiments use a wireless network other than Wi-Fi, such as a cellular network or a Bluetooth network.
[0179] The system 1000 can provide output signals to various output devices including a display 1100, a speaker 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 used for a television, a tablet computer, a laptop computer, a mobile phone (mobile phone), or other devices. The display 1100 can also be integrated with other components (e.g., integrated in a smart phone) or be separate (e.g., an external monitor of a laptop computer). In various examples of embodiments, other peripheral devices 1120 include independent digital video discs (or digital versatile discs) (DVR for both terms), disk players, stereo systems, and / or lighting systems. Various embodiments use one or more peripheral devices 1120 that provide functions based on the output of the system 1000. For example, a disk player performs the function of playing the output of the system 1000.
[0180] 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 enable device-to-device control with or without user intervention. Output devices can be communicatively coupled to the system 1000 via dedicated connections through respective interfaces 1070, 1080, and 1090. Alternatively, output devices can be connected to the system 1000 using a communication channel 1060 via a 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, for example, a television. In various embodiments, the display interface 1070 includes a display driver, such as, for example, a timing controller (T Con) chip.
[0181] For example, if the RF portion of input 1130 is part of a separate set-top box, the display 1100 and speaker 1110 may alternatively be separate from one or more other components. In various embodiments where the display 1100 and speaker 1110 are external components, the output signals may be provided via dedicated output connections including, for example, an HDMI port, a USB port, or a COMP output.
[0182] The embodiment may be implemented by computer software implemented by the processor 1010 or by hardware or by a combination of hardware and software. As a non-limiting example, the embodiment may be implemented by one or more integrated circuits. The memory 1020 may be of any type suitable for the technical environment and may be implemented using any appropriate data storage technology, such as, as a non-limiting example, an optical memory device, a magnetic memory device, a semiconductor-based memory device, a fixed memory, and a removable memory. As a non-limiting example, the processor 1010 may be of any type suitable for the technical environment and may include one or more of a microprocessor, a general-purpose computer, a special-purpose computer, and a processor based on a multi-core architecture.
[0183] Various embodiments relate to decoding. As used in the present application, "decoding" may encompass, for example, all or part of a process performed on a received coded sequence to produce 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 or alternatively include processes performed by a decoder of various embodiments described in the present application, such as: for a block being decoded in a picture, receiving information for a decoding mode; for a block being decoded, determining a set of predictor candidates, wherein, for at least one current potential predictor candidate in the set of potential predictor candidates, when the current potential predictor candidate is different from any predictor candidate in a subset of predictor candidates from the set of predictor candidates, the current potential predictor candidate is added to the set of predictor candidates; and decoding the block based on the received information and the set of predictor candidates.
[0184] As a further example, in one embodiment, "decoding" refers only to entropy decoding, in another embodiment, "decoding" refers only to differential decoding, 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 broadly to a broader decoding process will be apparent based on the context of the particular description and is believed to be well understood by those skilled in the art.
[0185] Various embodiments relate to encoding. In a manner similar to the discussion above about "decoding", "encoding" as used in this application can cover, for example, all or part of the processes performed on an input video sequence to produce an encoded bitstream. In various embodiments, such processes include one or more of the processes typically performed by an encoder, such as segmentation, differential coding, transformation, quantization, and entropy coding. In various embodiments, such processes also or alternatively include processes performed by encoders of various embodiments described in this application, such as: for a block being decoded, determining a set of predictor candidates, wherein, for at least one current potential predictor candidate in the set of potential predictor candidates, when the current potential predictor candidate is different from any predictor candidate in a subset of predictor candidates from the set of predictor candidates, the current potential predictor candidate is added to the set of predictor candidates; and encoding the block based on the predictor candidates from the set of predictor candidates.
[0186] As a further example, in one embodiment, "encoding" refers only to entropy encoding, in another embodiment, "encoding" refers only to differential encoding, and in another embodiment, "encoding" refers to a combination of differential encoding and entropy encoding. Whether the phrase "encoding process" is intended to refer specifically to a subset of operations or broadly to a broader encoding process will be apparent based on the context of the particular description and is believed to be well understood by those skilled in the art.
[0187] Note that the syntax elements (eg, Merge_idx, Merge_flag, Inter) used herein are descriptive terms and thus, they do not exclude the use of other syntax element names.
[0188] When the figures are presented as flow charts, it should be understood that they also provide block diagrams of the corresponding apparatus. Similarly, when the figures are presented as block diagrams, it should be understood that they also provide flow charts of the corresponding methods / processes.
[0189] The embodiments and aspects described herein can be implemented, for example, in a method or process, a device, a software program, a data stream or a signal. Even if only discussed in a single form of embodiment (for example, discussed only as a method), the embodiment of the discussed feature can also be implemented in other forms (for example, a device or a program). The device can be implemented, for example, with appropriate hardware, software and firmware. The method can be implemented in, for example, a processor, which generally refers to a processing device, including, for example, a computer, a microprocessor, an integrated circuit or a programmable logic device. The processor also includes a communication device, such as, for example, a computer, a mobile phone, a portable / personal digital assistant ("PDA") and other devices that facilitate information communication between end users.
[0190] References to "one embodiment" or "an embodiment" or "an implementation" or "an implementation" and other variations thereof indicate that a particular feature, structure, characteristic, etc. described in connection with the embodiment is included in at least one embodiment. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" or "in one implementation" or "in an implementation" and any other variations appearing in various places throughout this application are not necessarily all referring to the same embodiment.
[0191] Additionally, the present application may refer to "determining" various pieces of information. Determining information may include, for example, one or more of estimating information, calculating information, predicting information, or retrieving information from a memory.
[0192] Furthermore, the present application may refer to "accessing" various pieces of 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.
[0193] Additionally, the present application may involve "receiving" various pieces of information. Receiving is intended as a broad term, as is "accessing." Receiving information may include, for example, one or more of: accessing the information or retrieving the information (e.g., from a memory). Furthermore, during operations such as storing information, processing information, sending information, moving information, copying information, erasing information, calculating information, determining information, predicting information, or estimating information, "receiving" is typically involved in some way.
[0194] It should be understood that, for example, in the case of "A / B," "A and / or B," and "at least one of A and B," the use of any of the following " / ," "and / or," and "at least one of..." is intended to cover selecting only the first listed option (A), or only the second listed option (B), or selecting both options (A and B). As a further example, in the case of "A, B, and / or C" and "at least one of A, B, and C," such phrases are intended to cover selecting only the first listed option (A), or only the second listed option (B), or only the third listed option (C), or only the first and second listed options (A and B), or only the first and third listed options (A and C), or only the second and third listed options (B and C), or selecting all three options (A and B and C). This may be extended to as many items as listed, as would be apparent to one of ordinary skill in this and related arts.
[0195] In addition, as used herein, the word "signal" especially refers to a corresponding decoder indicating certain content, etc. For example, in some embodiments, the encoder signals a specific structure in a variety of structures of a candidate list, or signals N candidates for comparison in a subset. In this way, in an embodiment, the same parameters are used on both the encoder side and the decoder side. Therefore, for example, the encoder can send (explicit signaling) a specific parameter to the decoder so that the decoder can use the same specific parameter. On the contrary, if the decoder already has a specific parameter and other parameters, signaling can be used without sending (implicit signaling) to only allow the decoder to know and select a specific parameter. By avoiding sending any actual function, the saving of bits is achieved in various embodiments. It should be understood that signaling can be implemented in a variety of ways. For example, in various embodiments, one or more grammatical elements, flags, etc. are used to signal information to the corresponding decoder. Although the verb form of the word "signal" is related to the above, the word "signal" can also be used as a noun in this article.
[0196] It will be apparent to those skilled in the art that embodiments may generate various signals that are formatted to carry information that may be stored or transmitted, for example. The information may include, for example, instructions for executing a method or data generated by one of the described embodiments. For example, a signal may be formatted to carry a bitstream of the described embodiments. Such a signal may be formatted as, for example, an electromagnetic wave (e.g., using a radio frequency portion of a spectrum) or a baseband signal. Formatting may include, for example, encoding a data stream and modulating a carrier with the encoded data stream. The information carried by the signal may be, for example, analog or digital information. As is well known, the signal may be sent via a variety of different wired or wireless links. The signal may be stored on a processor readable medium.
[0197] A number of embodiments are described. Features of these embodiments may be provided alone or in any combination. In addition, embodiments may include, alone or in any combination, one or more of the following features, devices, or aspects across various claim categories and types:
[0198] • Limiting uniqueness pruning by comparing the current candidate only to the next N candidates in the list during the candidate list creation process for motion compensation applied in the decoder and / or encoder.
[0199] • Re-ordering of candidates during candidate list creation for motion compensation in the decoder and / or encoder.
[0200] Restrict the comparisons used for pruning to a subset of the list, rather than to all elements in the list.
[0201] Restricted to the last N elements in the candidate list / set.
[0202] • Dynamically reorder list creation to place likely similar candidates close together in the list.
[0203] • Spatially close candidates are grouped closely together in the list.
[0204] • Consider the block size to select spatially compact candidates.
[0205] For affine candidates, consider the angular position
[0206] In a coding method, for a block being coded, determining a set of predictor candidates, the determining comprising, for at least one current potential predictor candidate in the set of potential predictor candidates, adding the current potential predictor candidate to the set of predictor candidates if the current potential predictor candidate is different from any predictor candidate in a subset of predictor candidates from the set of predictor candidates; and
[0207] The block is encoded based on a predictor candidate from a set of predictor candidates.
[0208] In a decoding method, for a block being decoded in a picture, receiving information for a decoding mode;
[0209] For a block being decoded, determining a predictor candidate set, the determination comprising, for at least one current potential predictor candidate in the potential predictor candidate set, adding the current potential predictor candidate to the predictor candidate set if the current potential predictor candidate is different from any predictor candidate in a predictor candidate subset from the predictor candidate set; and decoding the block based on the received information and the predictor candidate set.
[0210] • Inserting syntax elements in the signaling that enable the decoder to identify the list creation process method to be used.
[0211] • Based on these syntax elements, a method is selected to be applied at the decoder.
[0212] • Apply the candidate creation list method to derive motion information at the decoder.
[0213] • A bitstream or signal comprising one or more of the described syntax elements, or variations thereof.
[0214] • Creating and / or sending and / or receiving and / or decoding a bitstream or signal comprising one or more of the described syntax elements or variations thereof.
[0215] A television, set-top box, mobile phone, tablet computer or other electronic device that performs motion compensation in the decoding method according to any of the described embodiments.
[0216] • A TV, set-top box, mobile phone, tablet computer or other electronic device that performs motion compensation in the decoding method according to any of the described embodiments and displays (eg using a monitor, screen or other type of display) the resulting image.
[0217] A TV, set-top box, mobile phone, tablet computer or other electronic device that tunes (eg, using a tuner) a channel to receive a signal comprising an encoded image and performs motion compensation in a decoding method according to any of the described embodiments.
[0218] • A TV, set-top box, mobile phone, tablet computer or other electronic device that receives a signal comprising an encoded image over the air (eg using an antenna) and performs motion compensation in the decoding method according to any of the described embodiments.
Claims
1. A method for video encoding, comprising: For a block being encoded in a picture, determining a first candidate set of predictors, the determining comprising: Sorting potential predictor candidates in the second predictor candidate set based on distances between the predictor candidates, the sorting comprising: adding a candidate from the potential predictor candidates to the second set of predictor candidates, and further adding candidates from the remaining potential predictor candidates to the second predictor candidate set, wherein each added candidate has a maximum distance from a candidate previously added to the second predictor candidate set, for at least one candidate in the second set of predictor candidates, determining that prediction information associated with the predictor candidate is different from prediction information associated with any predictor candidate in a subset of predictor candidates from the first set of predictor candidates, and in response, adding the predictor candidate to the first set of predictor candidates, wherein the subset includes the next N predictor candidates in the first set of predictor candidates, N being an integer between 1 and a maximum number of candidates in the first set of predictor candidates; and The block is encoded based on predictor candidates from the first set of predictor candidates.
2. The method according to claim 1, wherein The potential predictor candidates are associated with corresponding blocks in the picture, and wherein a distance between two of the potential predictor candidates is a distance measured based on locations of their corresponding blocks.
3. The method according to claim 1, wherein: Further adding candidates from the remaining potential predictor candidates to the second predictor candidate set further includes adding a candidate having a minimum distance from a candidate added to the second predictor candidate set N times before.
4. The method according to claim 1, wherein: The order of the potential predictor candidates in the second predictor candidate set is left, upper right, lower left, upper, upper left.
5. The method according to claim 1, wherein: The order of the potential predictor candidates is adapted to the size of the block.
6. A method for video decoding, comprising: For a block in a picture being decoded, receiving information indicating a decoding mode; For the block being decoded, determining a first candidate set of predictors, the determining comprising: Sorting potential predictor candidates in the second predictor candidate set based on distances between the predictor candidates, the sorting comprising: adding a candidate from the potential predictor candidates to the second set of predictor candidates, and further adding candidates from the remaining potential predictor candidates to the second predictor candidate set, wherein each added candidate has a maximum distance from a candidate previously added to the second predictor candidate set, for at least one candidate in the second set of predictor candidates, determining that prediction information associated with the predictor candidate is different from prediction information associated with any predictor candidate in a subset of predictor candidates from the first set of predictor candidates, and in response, adding the predictor candidate to the first set of predictor candidates, wherein the subset includes the next N predictor candidates in the first set of predictor candidates, N being an integer between 1 and a maximum number of candidates in the first set of predictor candidates; and The block is decoded based on the received information and the first set of predictor candidates.
7. The method according to claim 6, wherein: The potential predictor candidates are associated with corresponding blocks in the picture, and wherein a distance between two of the potential predictor candidates is a distance measured based on locations of their corresponding blocks.
8. The method according to claim 6, wherein: Further adding candidates from the remaining potential predictor candidates to the second predictor candidate set further includes adding a candidate having a minimum distance from a candidate added to the second predictor candidate set N times before.
9. The method according to claim 6, wherein: The order of the potential predictor candidates in the second predictor candidate set is left, upper right, lower left, upper, upper left.
10. The method according to claim 6, wherein: The order of the potential predictor candidates is adapted to the size of the block.
11. An apparatus for video encoding, comprising one or more processors, wherein: The one or more processors are configured to: For a block being encoded in a picture, determining a first candidate set of predictors, the determining comprising: Sorting potential predictor candidates in the second predictor candidate set based on distances between the predictor candidates, the sorting comprising: adding a candidate from the potential predictor candidates to the second set of predictor candidates, and further adding candidates from the remaining potential predictor candidates to the second predictor candidate set, wherein each added candidate has a maximum distance from a candidate previously added to the second predictor candidate set, for at least one candidate in the second set of predictor candidates, determining that prediction information associated with the predictor candidate is different from prediction information associated with any predictor candidate in a subset of predictor candidates from the first set of predictor candidates, and in response, adding the predictor candidate to the first set of predictor candidates, wherein the subset includes the next N predictor candidates in the first set of predictor candidates, N being an integer between 1 and a maximum number of candidates in the first set of predictor candidates; and The block is encoded based on a predictor candidate from the set of predictor candidates.
12. The device according to claim 11, wherein: The second set of predictor candidates includes spatial and temporal predictor candidates, and wherein a distance between two of the predictor candidates includes a spatial distance and a temporal distance.
13. The device according to claim 11, wherein: The first candidate predictor set is used in an adaptive motion vector prediction mode.
14. The device according to claim 11, wherein: The first candidate set of predictors is used in merge mode.
15. The device according to claim 11, wherein The first set of predictor candidates includes affine predictor candidates.
16. An apparatus for video decoding, comprising one or more processors, wherein: The one or more processors are configured to: For a block in a picture being decoded, receiving information indicating a decoding mode; For a block being decoded, determining a first candidate set of predictors, the determining comprising: Sorting potential predictor candidates in the second predictor candidate set based on distances between the predictor candidates, the sorting comprising: adding a candidate from the potential predictor candidates to the second set of predictor candidates, and further adding candidates from the remaining potential predictor candidates to the second predictor candidate set, wherein each added candidate has a maximum distance from a candidate previously added to the second predictor candidate set, for at least one predictor candidate in the second set of predictor candidates, determining that prediction information associated with the predictor candidate is different from prediction information associated with any predictor candidate in a subset of predictor candidates from the first set of predictor candidates, and in response, adding the predictor candidate to the first set of predictor candidates, wherein the subset includes the next N predictor candidates in the first set of predictor candidates, N being an integer between 1 and a maximum number of candidates in the first set of predictor candidates; and The block is decoded based on the received information and the first set of predictor candidates.
17. The device according to claim 16, wherein: The second set of predictor candidates includes spatial and temporal predictor candidates, and wherein a distance between two of the predictor candidates includes a spatial distance and a temporal distance.
18. The device according to claim 16, wherein: The first candidate predictor set is used in an adaptive motion vector prediction mode.
19. The device according to claim 16, wherein: The first candidate set of predictors is used in merge mode.
20. The device according to claim 16, wherein: The first set of predictor candidates includes affine predictor candidates.
21. A computer program product comprising computer program instructions, characterized in that The computer program instructions implement the method of any one of claims 1-10 when executed by one or more processors.
Citation Information
Patent Citations
Image decoding device, moving image decoding method, reception device and reception method
CN105187838A
Sub-prediction unit based advanced temporal motion vector prediction
CN107211156A
Method and apparatus of inter prediction using average motion vector for video coding
CN108353184A
Method and apparatus of extended motion vector predictor
EP2599317A1
Selecting Predicted Motion Vector Candidates
US20110194609A1
