Temporal intra mode derivation
By determining the motion vector and displacement juxtaposition block of the reference frame in video encoding, deducing intra-mode information and adding it to the most likely mode list, the problem of intra-mode derivation encoding in the prior art is solved, and more efficient is achieved video block encoding and decoding.
Patent Information
- Application Number
- CN202380032738.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2022-04-07
- Filing Date
- 2023-03-22
- Publication Date
- 2024-11-15
AI Technical Summary
The existing video encoding technology has the problem of low encoding efficiency in the intra mode derivation process, especially when deriving intra mode with the decoder side of the surrounding reference pixels, it is difficult to effectively improve the encoding efficiency.
By determining the motion vector of the reference frame pointing to the video block, deduce the displacement juxtaposition block, determine the intra-frame mode information, and conditionally add it to the list of most likely modes for encoding or decoding of the video block.
The encoding or decoding efficiency of video blocks is improved, signaling overhead is reduced, and the accuracy and efficiency of intra-mode derivation are enhanced.
Smart Images

Figure CN118975236A_ABST
Abstract
Description
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS This application claims the benefit of European application serial number 22305472.7 filed on April 7, 2022, which is incorporated herein by reference in its entirety. Technical Field
[0002] At least one of the present embodiments generally relates to a method or apparatus for video encoding or decoding, compression or decompression. Background Art
[0003] In order to achieve high compression efficiency, image and video coding schemes usually use prediction including motion vector prediction and transform to exploit spatial and temporal redundancy in video content. Generally, intra-frame or inter-frame prediction is used to exploit intra-frame or inter-frame correlation, and then the difference between the original image and the predicted image, which is often expressed 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 coding, quantization, transformation and prediction. Summary of the invention
[0004] At least one of the present embodiments relates generally to a method or apparatus for video encoding or decoding, and more particularly to a method or apparatus for improving coding efficiency of decoder-side intra-mode derivation from surrounding reference pixels.
[0005] According to a first aspect, a method is provided. The method comprises the steps of determining a motion vector pointing to a reference frame for a video block; deriving a displaced collocated block from the motion vector; determining intra-mode information from the displaced collocated block; conditionally adding the intra-mode information to a most probable mode list; and encoding at least a portion of the video block using the most probable mode list.
[0006] According to a second aspect, another method is provided. The method comprises the steps of determining a motion vector pointing to a reference frame for a video block; deriving a displaced collocated block from the motion vector; determining intra-mode information from the displaced collocated block; conditionally adding the intra-mode information to a most probable mode list; and decoding at least a portion of the video block using the most probable mode list.
[0007] According to another aspect, a device is provided. The device includes a processor. The processor may be configured to encode a block of a video or decode a bitstream by executing any one of the above-mentioned methods.
[0008] According to another general aspect of at least one embodiment, there is provided an apparatus comprising: an apparatus according to any of the decoding embodiments; and at least one of: (i) an antenna configured to receive a signal, the signal comprising the video block; (ii) a band limiter configured to limit the received signal to a frequency band comprising the video block; or (iii) a display configured to display an output representing the video block.
[0009] 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.
[0010] 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.
[0011] 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.
[0012] According to another general aspect of at least one embodiment, there is provided a computer program product comprising instructions that, when the program is executed by a computer, cause the computer to implement any of the described decoding embodiments or variations.
[0013] These and other aspects, features and advantages of the general aspect will become apparent from the following detailed description of exemplary embodiments, which is to be read in conjunction with the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] Figure 1 67 intra prediction modes in VVC and ECM are illustrated.
[0015] Figure 2 The derivation of a generic most probable mode list for luma of intra slices in ECM is illustrated.
[0016] Figure 3 An example of signaling of intra mode is illustrated.
[0017] Figure 4 An example of matrix-based intra prediction is illustrated.
[0018] Figure 5 The figure illustrates the SbTMVP process in VVC.
[0019] Figure 6 An example of template matching performed on a search area around an initial MV is illustrated.
[0020] Figure 7Examples of templates and reference samples of templates in reference pictures are illustrated.
[0021] Figure 8 Templates and reference samples for block and sub-block motion using motion information of sub-blocks within a block are illustrated.
[0022] Fig. 9 One embodiment of the proposed process workflow is illustrated.
[0023] Fig.10 An example of using the upper left corner sub-block to extract the intra mode is illustrated.
[0024] Fig.11 A multi-mode block is illustrated.
[0025] Fig.12 An example of template-based pattern inference is illustrated.
[0026] FIG. 13 illustrates three embodiments for collocated frame types using TIMD.
[0027] Fig.14 It is a general-purpose video encoding or compression system.
[0028] Fig.15 It is a general video decoding or decompression system.
[0029] Fig.16 A processor-based system for implementing the described aspects is illustrated.
[0030] Fig.17 One embodiment of a method for performing the described aspects is illustrated.
[0031] Fig.18 Another embodiment of a method for performing the described aspects is illustrated.
[0032] Fig.19 One embodiment of an apparatus for implementing the described aspects is illustrated. DETAILED DESCRIPTION
[0033] Intra-frame prediction is a basic coding tool in hybrid video coding. For a given block to be predicted, the encoder selects the best intra-frame prediction mode in terms of rate distortion and signals its index to the decoder so that the decoder can perform the same prediction for the block. Signaling the mode index may add additional overhead and reduce the gain from the intra-frame part. Therefore, the smart way to encode the index of the intra-frame prediction mode selected to predict a given block is to create a set of most probable modes (MPMs), and thus reduce the signaling overhead if the index of the selected mode belongs to the list. This is the classic method for signaling intra-frame prediction mode indexes, called MPM list-based signaling, which is adopted in VVC and HEVC. The method is extended in ECM, where two MPM lists are used instead of one. From now on, when talking about signaling based on MPM lists, the signaling of the mode index will be shortened to the signaling of the mode for simplicity.
[0034] In ECM, two additional intra-frame prediction modes are introduced. The first one is called decoder-side intra-frame mode derivation (DIMD) and the second one is called template-based intra-frame mode derivation (TIMD). In both modes, the reconstructed pixels (template pixels) around the current block in the top and left directions are used to derive the intra-frame prediction mode. Specifically, in DIMD, the template of the reconstructed pixels is analyzed to deduce the directionality of the template from which two directional modes are selected. The prediction signal is generated by mixing those two modes with the plane mode. On the other hand, in TIMD, several intra-frame prediction modes are tested on the template of the reconstructed pixels, and two best modes (those modes that minimize the sum of absolute transform differences (SATD) between the template of the reconstructed pixels and its prediction) are selected. According to the predicted SATD of the mode, the prediction signal is generated by applying the best mode or mixing those two modes.
[0035] In inter-coding, the mode information can be predicted not only spatially (from neighboring blocks) but also temporally by getting information from collocated frames. For example, SbTMVP (also known as ATMVP) uses displaced collocated block motion information as a motion predictor.
[0036] Core 67 intra prediction modes To capture arbitrary edge directions present in natural video, the number of directional intra modes in VVC is extended from 33 as used in HEVC to 65. New directional modes not in HEVC are Figure 1 These denser directional intra prediction modes are applicable to all block sizes and to both luma and chroma intra prediction. In VVC, several traditional angular intra prediction modes are adaptively replaced with wide-angle intra prediction modes for non-square blocks.
[0037] From HEVC to VVC, the planar and DC modes remain unchanged, excluding the following minor modifications. In HEVC, each intra-coded block has a square shape, and the length of each of its sides is a power of 2. Therefore, no division operation is required to generate the intra predictor using the DC mode. In VVC, blocks can have a rectangular shape, which necessitates the use of a division operation per block in the general case. To avoid division operations for DC prediction, only the longer sides are used to calculate the average for non-square blocks.
[0038] In ECM, the core structure of 67 intra prediction modes is inherited from the core structure in VVC. This core structure is improved in ECM: The four-tap interpolation for directional intra prediction mode is changed to six-tap interpolation; • Position-dependent intra prediction combining (PDPC) is complemented with gradient PDPC.
[0039] MPM list-based signaling In ECM, if the intra prediction mode selected to predict the current luma coding block (CB) is neither a matrix-based intra prediction (MIP) mode, nor a DIMD nor a TIMD, i.e., it is one of the 67 intra prediction modes mentioned in the earlier section, then the MPM list of that CB is used to signal its index. In ECM, the generic MPM list is decomposed into a list of 6 primary MPMs and a list of 22 secondary MPMs, see Figure 2 The general MPM list is constructed by sequentially adding candidate intra prediction mode indices from the intra prediction mode most likely to be the selected intra prediction mode for predicting the current luma CB to the least likely intra prediction mode. Figure 2 From left to right, the sequential addition of candidate intra prediction mode indices is shown in the case where the current luma CB belongs to an intra slice. Note that there is no redundancy in the general MPM list, which means that it cannot contain two identical intra prediction mode indices. For readability, Figure 2 The diagram illustrates a case where each candidate intra-frame prediction mode index is different from each other. However, in the general case, let's say the time slots of indexes 0 to i-1 included in the general MPM list are already filled. If the current candidate intra-frame prediction mode index already exists in the current general MPM list, the candidate is skipped, and if the next candidate intra-frame prediction mode does not exist in the general MPM list, it will be inserted into the time slot of index i. Otherwise, the current intra-frame prediction mode index is inserted into the time slot of index i, and if the next candidate intra-frame prediction mode does not exist in the general MPM list, it will be inserted into the time slot of index i+1.
[0040] For the current luma CB, if the selected intra prediction mode is neither DIMD, MIP, nor TIMD, after signaling the multiple reference line (MRL) index when necessary and signaling the intra sub-partitioning (ISP) mode, the Figure 3 To summarize the MPM-list based signaling of the selected intra prediction mode. Figure 3 It is revealed that MPM list based signaling in ECM enables hierarchical entropy coding of the index of the intra prediction mode selected to predict the current luma CB.
[0041] Matrix-based Intra Prediction (MIP) The matrix-based intra prediction (MIP) method is a newly added intra prediction technique for VVC. To predict samples of a rectangular block of width W and height H, MIP takes as input a column of H reconstructed neighboring boundary samples on the left side of the current block and a row of W reconstructed neighboring boundary samples above the current block. If the reconstructed samples are not available, they are generated as done in traditional intra prediction. The generation of the prediction signal is based on the following three steps: optional averaging of reconstructed neighboring boundary samples, matrix-vector multiplication between the MIP weight matrix and the averaged neighboring boundary samples, and optional linear interpolation from the results of the previous multiplications, such as Figure 4 as shown in .
[0042] In ECM, until ECM-4.0, MIP was not modified with respect to its implementation in VVC.
[0043] Decoder-side intra mode derivation (DIMD) For a given luma CB to be predicted, DIMD derives two intra prediction modes from a template of reconstructed neighboring samples around the CB, and combines those two predictors with a planar mode predictor using weights derived from gradients in the template, as described in JVET-00449. The division operations in the weight derivation are performed using the same lookup table (LUT) based integerization scheme used by the cross-component linear model (CCLM). For example, the division operations in the orientation calculation Orientation = G y / G x Computed by the following LUT-based scheme: x = Floor(Log2(Gx)) normDiff=((Gx<<4)>>x)&15 x+=(3+(normDiff=00)?1:0) Orientation = (Gy *(DivSigTable[normDiff]|8)+(1<<(x-1)))>>x in DivSigTable
[16] ={0,7,6,5,5,4,4,3,3,2,2,1,1,1,1,0} Both derived intra modes are included into the main MPM list. Thus, for a given luma CB to be predicted, the DIMD process is performed before creating the MPM list. For a given luma CB, the main derived intra mode via DIMD is stored and it is used for the MPM list construction of the neighboring luma CBs.
[0044] Fusion for Template-based Intra Mode Derivation (TIMD) For the current luma CB, for each intra prediction mode in its MPM list supplemented with the default mode, the SATD between the prediction of the template of this CB via that mode and the reconstructed samples of the template is calculated. The two intra prediction modes with the smallest SATD are selected as TIMD modes. Note that for TIMD, by Figure 1 The direction is inserted between each black arrow and its adjacent red arrow in , expanding the set of directional intra-frame prediction modes from 65 to 129. This means that the set of possible intra-frame prediction modes derived via TIMD collects 131 modes. After retaining two intra-frame prediction modes from the first test involving the MPM list supplemented with the default mode, for each of these two modes, if the mode is neither PLANAR nor DC, TIMD also tests its two closest extended directional intra-frame prediction modes in terms of predicting SATD. After applying PDPC, the two TIMD modes generated by the two tests are fused with weights, and this weighted intra-frame prediction is used to encode the current brightness CB. Note that PDPC is included in the derivation of the TIMD mode.
[0045] The costs of the two selected modes are compared to a threshold. In the test, a cost factor of 2 is applied as follows: costMode2 < 2 * costMode1 If this condition is true, fusion is applied, otherwise only mode 1 is used. The weights of the modes are calculated based on their SATD costs as follows: weight1=costMode2 / (costMode1+costMode2) weight2=1-weight1 The division operation is performed using the same lookup table (LUT) based integerization scheme used by CCLM.
[0046] Sub-block based temporal motion vector prediction (SbTMVP) VVC supports a sub-block based temporal motion vector prediction (SbTMVP) method. Similar to the temporal motion vector prediction (TMVP) in HEVC, SbTMVP uses the motion field in the collocated picture to improve the motion vector prediction and merge mode for the CU in the current picture. The same collocated picture used by TMVP is used for SbTMVP. SbTMVP differs from TMVP in two main aspects: -TMVP predicts motion at CU level, but SbTMVP predicts motion at sub-CU level; -TMVP takes the temporal motion vector from the collocated block in the collocated picture (the collocated block is relative to the lower right corner or center block of the current CU), while SbTMVP applies a motion offset before taking the temporal motion information from the collocated picture, where the motion offset is obtained from the motion vector from one of the spatial neighboring blocks of the current CU.
[0047] exist Figure 5 The SbTMVP process is illustrated in Figure 1. SbTMVP predicts the motion vector of the sub-CU within the current CU in two steps. In the first step, check Figure 5 Spatial neighbor A1 in (a). If A1 has a motion vector that uses the collocated picture as its reference picture, then that motion vector is selected as the motion offset to be applied. If no such motion is identified, then the motion offset is set to (0,0).
[0048] In the second step, the motion offset identified in step 1 is applied (i.e., it is added to the coordinates of the current block) to obtain Figure 5 The sub-CU level motion information (motion vector and reference index) is obtained from the collocated picture as shown in (b). Figure 5 The example in (b) assumes that the motion offset is set to block the motion of the AI. Then, for each sub-CU, the motion information of its corresponding block in the collocated picture (the minimum motion grid covering the center sample) is used to derive the motion information for the sub-CU. After the motion information of the collocated sub-CU is identified, it is converted into the motion vector and reference index of the current sub-CU in a manner similar to the TMVP process of HEVC, where temporal motion scaling is applied to align the reference pictures of the temporal motion vector to those of the current CU.
[0049] In VVC, a combined sub-block based merge list containing both SbTMVP candidates and affine merge candidates is used for signaling of sub-block based merge mode. The SbTMVP mode is enabled / disabled by a sequence parameter set (SPS) flag. If the SbTMVP mode is enabled, the SbTMVP predictor is added as the first entry in the list of sub-block based merge candidates, followed by the affine merge candidate. The size of the sub-block based merge list is signaled in the SPS, and the maximum allowed size of the sub-block based merge list is 5 in VVC.
[0050] The sub-CU size used in SbTMVP is fixed to 8×8, and as is done for affine merge mode, SbTMVP mode is only applicable to CUs with both width and height greater than or equal to 8.
[0051] The encoding logic for the additional SbTMVP merge candidate is the same as that for other merge candidates, that is, for each CU in a P or B slice, an additional RD check is performed to decide whether to use the SbTMVP candidate.
[0052] Template Matching(TM) Template matching (TM) is a decoder-side MV derivation method for improving the motion information of the current CU by finding the closest match between a template in the current picture (i.e., the top and / or left neighboring blocks of the current CU) and a block in a reference picture (i.e., the same size as the template). Figure 6 As shown in , a better MV is searched around the initial motion of the current CU within the [-8, +8] pixel search range. The template matching method in JVET-J0021 is used with the following modifications: the search step size is determined based on the AMVR mode, and the TM can be cascaded with the bilateral matching process in the merge mode.
[0053] In AMVP mode, MVP candidates are determined based on template matching errors to select the MVP candidate that achieves the minimum difference between the current block template and the reference block template, and then TM is performed only for this specific MVP candidate for MV improvement. TM improves the MVP candidate starting from full-pixel MVD accuracy (or 4 pixels for 4-pixel AMVR mode) within a [-8, +8] pixel search range using an iterative diamond search. The AMVP candidate can be further improved by using a cross search with full-pixel MVD accuracy (or 4 pixels for 4-pixel AMVR mode), followed sequentially by half-pixel and quarter-pixel MVD accuracy depending on the AMVR mode as specified in Table 1. This search process ensures that the MVP candidate still maintains the same MV accuracy as the MV accuracy indicated by the AMVR mode after the TM process. During the search process, if the difference between the previous minimum cost and the current minimum cost in the iteration is less than a threshold equal to the area of the block, the search process terminates.
[0054] Table 1: Search mode of AMVR and merge mode with AMVR In merge mode, a similar search method is applied to the merge candidate indicated by the merge index. As shown in Table 1, TM can be performed all the way down to 1 / 8 pixel MVD accuracy or skip those MVD accuracy beyond half-pixel MVD accuracy, depending on whether an alternative interpolation filter (which is used when AMVR is in half-pixel mode) is used according to the merged motion information. In addition, when TM mode is enabled, template matching can work as an independent process or an additional MV improvement process between block-based and sub-block-based bilateral matching (BM) methods, depending on whether BM can be enabled according to its enabling condition check.
[0055] Adaptive Re-ranking of Merge Candidates Using Template Matching (ARMC-TM) Adaptively reorder the merge candidates using template matching (TM). The reordering method is applied to normal merge mode, template matching (TM) merge mode, and affine merge mode (excluding SbTMVP candidates). For TM merge mode, the merge candidates are reordered before the improvement process. After the merge candidate list is constructed, the merge candidates are divided into several subgroups. For normal merge mode and TM merge mode, the subgroup size is set to 5. For affine merge mode, the subgroup size is set to 3. The merge candidates in each subgroup are reordered in ascending order according to the cost value based on template matching. For simplicity, the merge candidates in the last subgroup instead of the first subgroup are not reordered.
[0056] The template matching cost of the merge candidate is measured by the sum of absolute differences (SAD) between the samples of the template of the current block and their corresponding reference samples. The template includes a set of reconstructed samples adjacent to the current block. The reference samples of the template are located by the motion information of the merge candidate.
[0057] When the merge candidate uses bidirectional prediction, the reference sample of the merge candidate template is also composed of Figure 7 The bi-prediction generation shown in .
[0058] For a sub-block based merge candidate with a sub-block size equal to Wsub×Hsub, the upper template includes several sub-templates with a size of Wsub×1, and the left template includes several sub-templates with a size of 1×Hsub. Figure 8 As shown in , the motion information of the sub-blocks in the first row and the first column of the current block is used to derive the reference samples of each sub-template.
[0059] Proposed Embodiments Pattern derivation within a time frame To improve intra mode derivation when no / little spatial information is available, we propose a new temporal derivation mode.
[0060] The new mode may be added as a new candidate similar to the DIMD, TIMD or MIP candidates, or filled into the MPM list as a candidate.
[0061] The derivation of candidates is done as follows, see Fig. 9 : - For the current block, derive the motion vector pointing to the collocated frame; - derive the displaced collocated block from the motion vector; -Perform intra mode derivation; -Add candidate.
[0062] Motion vector derivation Global Motion Model As the first B-frame (after the initial I-frame) contains more intra-coded blocks and less motion information, global motion information is sent at the slice level. Typically, at least one global motion model is calculated at the encoder and sent in the slice header (or another header, such as a picture header).
[0063] The typical method used to calculate global motion is: -Perform block matching between reference frame and current frame and extract dominant motion; - Extract salient points (e.g., Harris corners or SIFT points) and robustly match them according to a common motion model (e.g., using RANSAC).
[0064] The motion model may be, for example, an affine 4, affine 6 or homography model. Alternatively, several models may be transmitted. Advantageously, the model parameters may be sent as the motion of the corners of the differentially encoded frame: - Upper left corner, encoded using the codec's mvd and sent as a motion vector; - Top right corner: send the mvd of the difference between the motion of the top right corner and the already decoded motion of the top left corner; - Lower left corner: same as upper right corner; - Bottom right: mvd of the difference between the bottom right corner motion and the average of the top left and bottom left corner motion vectors.
[0065] From the global motion model, the motion of the current block is calculated, for example using the motion of the center of the block. Alternatively, the top left corner or other position may be used to calculate the motion of the block.
[0066] In case several models are available, this mode is used to signal for a block the index of the model to be used. Advantageously, context-based encoding using neighboring blocks (typically top and left blocks) can be used to reduce the cost of signaling the index.
[0067] Variations on motion derivation Another way to get motion information is to use the same process as used in inter-coded blocks to deduce motion. Typically, a list of possible motion vector candidates is calculated using a process similar to, for example, merged inter list creation. The first candidate in the list is then used to infer motion for the current block.
[0068] Alternatively, the index of the candidate to be used to infer motion is sent.
[0069] Alternatively, a template-based re-ranking similar to ARMC-TM is used to select the most likely candidate in the list.
[0070] Variations on juxtaposed frames In a variant, the collocated frame used as reference frame for motion vectors is signaled in the slice header. Alternatively, the index is signaled at block level, in the same way that the reference frame index is signaled in inter-coded blocks.
[0071] Intra mode derivation for intra slice collocation frames If the reference frame is an I-frame, the intra-mode used by the displaced block is directly available inside the block.Similar to SbTMVP, a block can contain several different intra-modes.
[0072] The final intra mode can be seen as, for example, the intra mode of the upper left corner subblock of the displacement block (see Fig.10 ).
[0073] Alternatively, the central sub-block or any other block is used.
[0074] Alternatively, the most common pattern inside the block is used.
[0075] Variant: Multiple Candidates In the variant (see Fig.11 ), when several intra modes are available in a block, the partition of the current block is inferred from the modes available in the displacement block. In the figure, 3 different modes are available in the displacement block. When mode 1 would have a size that is not a power of 2, mode 1 is extended until the next power of 2 size, removing the mode 3 part of the block. The block is then decoded using independent intra modes and the corresponding TUs are mapped on the resulting partitions.
[0076] Intra-mode derivation for any collocated frame type In a variation, a similar process as TIMD is used to infer intra-mode for displaced blocks.
[0077] However, in contrast to TIMD where only causal samples around the current block are available for testing a particular mode fit, samples of the entire block are available as well as reference samples used during the default intra prediction process (see Fig.12 ).
[0078] In this configuration, the process is as follows: - Extract reference samples for the pattern. Note that the reference sample availability should be considered as the intersection of the reference sample availability in the current block and the reference sample availability at the displaced block position. - Apply intra mode, creating a prediction for the displaced blocks. - Calculate the error between the created prediction and the reconstructed displacement block. - Use the same process as TIMD to classify and infer intra modes. Note that in contrast to conventional TIMD, all intra modes such as MIP mode may also be tested and ranked using other modes.
[0079] In a first embodiment, referring to FIG. 13( a), for a current CB in a current non-I slice, a decoded reference sample (98) of the CB corresponds to a decoded reference sample of a template of the TIMD. A displacement block (99) from the reference frame to the position of the current CB corresponds to a template of the TIMD. Then, during the derivation of two intra-prediction modes via the TIMD, in order to test a given candidate intra-prediction mode, the decoded reference sample of the template of the TIMD is extrapolated into a template of the TIMD that follows the direction of the candidate mode, thereby generating a prediction of the template of the TIMD. For this mode, a predicted SATD between the mode prediction and the template of the TIMD can be calculated. After testing a given set of intra-prediction modes, the two intra-prediction modes that generate two minimum predicted SATDs can be two modes derived via the TIMD.
[0080] In a second embodiment, see FIG. 13( b ), for the current CB in the current non-I slice, the decoded reference samples of the template of the TIMD follow the definition in the ECM (ECM-4.0 at this time). In the example, let the current CB have a size of W×H. Let h_t represent the height of the template and w_t represent the width of the template. Then, the decoded reference samples of the template of the TIMD collect rows (100) of 2W+w_t+1 decoded reference samples and columns (101) of 2H+h_t decoded reference samples. The templates (102) and (103) of the TIMD following the definition in the ECM (ECM-4.0 so far) plus the displacement block (104) from the reference frame to the position of the current CB form the actual template of the TIMD. Then, during the derivation of two intra-frame prediction modes via TIMD, in order to test a given candidate intra-frame prediction mode, the decoded reference samples of the template of the TIMD are extrapolated into the template of the TIMD following the candidate mode direction, thereby providing a prediction of the template of the TIMD. For this mode, the predicted SATD between the mode prediction and the template of TIMD can be calculated.
[0081] The third embodiment is shown in FIG13( c ). The same configuration as in the second embodiment is used. However, the template of the TIMD defined in ECM (ECM-4.0) plus the portion (105) between the two template portions plus the displacement block from the reference frame to the position of the current CB forms the actual template of the TIMD.
[0082] DIMD Process In a variation, the DIMD process is applied to infer the intra mode of the displaced block. However, as samples inside the block are available, the internal distribution of the top left corner sample can be used to calculate the mode.
[0083] Simplified process In a variant, in order to reduce the complexity, a sub-sampled version of the prediction samples is constructed. For example, every 2 samples horizontally and vertically are constructed and compared with the reconstructed block, thereby reducing the complexity to 1 / 4.
[0084] Signaling Block Level The following table shows the extraction of the decoding of the coding unit, specifically, the intra mode decoding. A marker is added at the top of the intra syntax to signal the use of temporal intra mode. In the following examples, we assume that the temporal predictor used is inferred (e.g., using a global motion model) and the intra prediction mode is inferred (e.g., using TIMD to infer intra mode).
[0085] 7.3.11.5 Code unit syntax Slice level At slice / picture / sequence level, if this mode is used, a flag is signaled, such as sps_intra_temporal_enabled_flag.
[0086] When at least one global motion model is used, the global motion model parameters are also transmitted, for example using the following syntax: The syntax element model_order is an integer between 0 and 3 to control the order of the motion model (translation, affine4, affine6, or homography).
[0087] In a variation, the cpmv is differentially encoded by predicting each corner using already available corners and associated models.
[0088] exist Fig.17 One embodiment of a method 1700 under the general aspects described herein is shown in FIG. 17. The method starts at start block 1701, and control continues to block 1710 for determining a motion vector pointing to a reference frame for a video block. Control continues from block 1710 to block 1720 for deriving a displaced collocated block from the motion vector. Control continues from block 1720 to block 1730 for determining intra-mode information from the displaced collocated block. Control continues from block 1730 to block 1740 for conditionally adding the intra-mode information to a most probable mode list. Control continues from block 1740 to block 1750 for encoding at least a portion of the video block using the most probable mode list.
[0089] exist Fig.18One embodiment of a method 1800 under the general aspects described herein is shown in FIG. 18. The method starts at start block 1801, and control continues to block 1810 for determining a motion vector pointing to a reference frame for a video block. Control continues from block 1810 to block 1820 for deriving a displaced collocated block from the motion vector. Control continues from block 1820 to block 1830 for determining intra-mode information from the displaced collocated block. Control continues from block 1830 to block 1840 for conditionally adding the intra-mode information to a most probable mode list. Control continues from block 1840 to block 1850 for decoding at least a portion of the video block using the most probable mode list.
[0090] Fig.19 An embodiment of an apparatus 1900 for encoding, decoding, compressing or decompressing video data using any of the above methods or variations is shown. The apparatus includes a processor 1910 and may be interconnected to a memory 1920 via at least one port. Both the processor 1910 and the memory 1920 may also have one or more additional interconnections to connect to the outside.
[0091] The processor 1910 is also configured to insert or receive information in a bitstream and to use compression, encoding, or decoding of any of the described aspects.
[0092] The embodiments described herein include various aspects, including tools, features, embodiments, models, schemes, etc. Many of these aspects are specifically described, and are often described in a manner that may sound restrictive at least to illustrate individual characteristics. However, this is for the purpose of clarity in the 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 the aspects described in earlier submissions.
[0093] The aspects described and contemplated in this application can be implemented in many different forms. Fig.14 , 15 and 16 provide some embodiments, but other embodiments are contemplated, and Fig.14 , 15 The discussion of 16 does 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 instructions stored thereon for encoding or decoding video data according to any of the described methods, and / or a computer-readable storage medium having a bitstream generated according to any of the described methods stored thereon.
[0094] In this application, the terms "reconstructed" and "decoded" may be used interchangeably, the terms "pixel" and "sample" may be used interchangeably, and the terms "image", "picture" and "frame" may be used interchangeably. Typically, but not necessarily, the term "reconstructed" is used at the encoder side, while "decoded" is used at the decoder side.
[0095] 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 proper operation of the method, the order and / or use of specific steps and / or actions may be modified or combined.
[0096] Various methods and other aspects described in this application may be used to modify modules, such as intra prediction, entropy coding and / or decoding modules (160, 360, 145, 330) of the video encoder 100 and decoder 200 as shown in Figures 22 and 23. In addition, the present aspects are not limited to VVC or HEVC, but may be applicable, for example, to other standards and recommendations, whether pre-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 this application may be used individually or in combination.
[0097] Various numerical values are used in this application. The specific values are for illustrative purposes, and the described aspects are not limited to these specific values.
[0098] Fig.14 An encoder 100 is illustrated. Variations of the encoder 100 are conceivable, but the encoder 100 is described below for the sake of clarity without describing all desired variations.
[0099] Before being encoded, the video sequence may undergo a pre-encoding process (101), for example, applying a color transform to the input color picture (e.g., conversion from RGB 4:4:4 to YCbCr 4:2:0) or performing 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.
[0100] In encoder 100, a picture is encoded by encoder elements as described below. The picture to be encoded is partitioned (102) and processed in units such as CUs. Each unit is encoded using, for example, intra or inter mode. When the unit is encoded in intra mode, it performs intra prediction (160). In intra mode, motion estimation (175) and compensation (170) are performed. The encoder decides (105) which of intra mode or inter mode to use for encoding the unit and indicates the intra / inter decision by, for example, a prediction mode flag. A prediction residual is calculated, for example by subtracting (110) the predicted block from the original image block.
[0101] 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.
[0102] The encoder decodes the encoded block to provide a reference for further prediction. The quantized transform coefficients are dequantized (140) and inverse transformed (150) to decode the prediction residual. The decoded prediction residual and the predicted 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) / ALF (adaptive loop filtering) filtering to reduce coding artifacts. The filtered image is stored at a reference picture buffer (180).
[0103] Fig.15 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 decoding of the bitstream. Fig.14 The encoder 100 also generally performs video decoding as part of encoding the video data.
[0104] In particular, 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 encoded information. Picture partition information indicates how the picture is partitioned. Thus, the decoder may partition (235) the picture according to the decoded picture partition information. The transform coefficients are dequantized (240) and inverse transformed (250) to decode the prediction residual. The decoded prediction residual and the predicted block are combined (255) to reconstruct the image block. The predicted block may be obtained (270) from intra-frame prediction (260) or motion compensated prediction (i.e., inter-frame prediction) (275). A loop filter (265) is applied to the reconstructed image. The filtered image is stored at a reference picture buffer (280).
[0105] The decoded picture may be further subjected to 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 that 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.
[0106] Fig.16 A block diagram of an example of a system in which various aspects and embodiments are implemented is illustrated. System 1000 may be embodied as a device including the various components described below, and is 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, smart phones, tablet computers, digital multimedia set-top boxes, digital television receivers, personal video recording systems, connected household appliances, and servers. Individually or in combination, the elements of system 1000 may be embodied in a single integrated circuit (IC), multiple ICs, and / or discrete components. For example, in at least one embodiment, the processing and encoder / decoder elements of system 1000 are distributed across multiple ICs and / or discrete components. In various embodiments, system 1000 is communicatively coupled to one or more other systems or other electronic devices via, for example, a communication bus or by dedicated input and / or output ports. In various embodiments, system 1000 is configured to implement one or more of the aspects described in this document.
[0107] 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-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 memory, magnetic disk drive, and / or optical disk drive. The storage device 1040 may include an internal storage device, an attached storage device (including removable and non-removable storage devices), and / or a network accessible storage device, as non-limiting examples.
[0108] The system 1000 includes: an encoder / decoder module 1030, which is configured to process data to provide encoded video 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 (one or more) that can be included in a device to perform encoding and / or decoding functions. As is 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 as known to those skilled in the art.
[0109] 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 subsequently 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 the execution of the processes described in this document. 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.
[0110] 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 a storage device 1040, such as a dynamic volatile memory and / or a 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 for 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, which is a new standard developed by the JVET Joint Video Experts Team).
[0111] Input to the elements of system 1000 may be provided through various input devices as indicated in block 1130. Such input devices include, but are not limited to: (i) a radio frequency (RF) section that receives RF signals transmitted over the air, for example, by 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.16 Other examples not shown include composite video.
[0112] 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 the following operations: (i) selecting a desired frequency (also referred to as selecting a signal or band limiting a signal to a frequency band); (ii) down-converting the selected signal; (iii) again band-limiting to a narrower frequency band to select a signal 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 stream of data packets. 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 baseband. In a set-top box embodiment, the RF part and its associated input processing element receive the RF signal transmitted on wired (for example, cable) medium, and filter to the desired frequency band by filtering, down-conversion and again to perform frequency selection.Various embodiments rearrange the order of (and other) elements described above, remove some in these elements, and / or add other elements that perform similar or different functions.Adding element can be included in inserting element between existing element, such as for example inserting amplifier and analog-to-digital converter.In various embodiments, the RF part comprises antenna.
[0113] In addition, the USB and / or HDMI terminals may include corresponding interface processors for connecting the system 1000 to other electronic devices across the USB and / or HDMI connections. It should be understood that various aspects of input processing, such as Reed-Solomon error correction, may be implemented, for example, in a separate input processing IC or in the processor 1010 when necessary. Similarly, aspects of USB or HDMI interface processing may be implemented in a separate interface IC or in the processor 1010 when necessary. The demodulated, error-corrected, and demultiplexed stream is provided to various processing elements, including, for example, the processor 1010 and the encoder / decoder 1030, which operates in conjunction with memory and storage elements to process data streams when necessary for presentation on output devices.
[0114] The various elements of system 1000 may be provided within an integrated housing. Within the integrated housing, the various elements may be interconnected and data transferred therebetween using a suitable connection arrangement (e.g., an internal bus as known in the art), including an Inter-IC (I2C) bus, wiring, and a printed circuit board.
[0115] The system 1000 includes a communication interface 1050 that implements communication with other devices via a communication channel 1060. The communication interface 1050 may include, but is not limited to, a transceiver configured to transmit and receive data on 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.
[0116] In various embodiments, data is streamed or otherwise provided to system 1000 using a wireless network, such as a Wi-Fi network, such as 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 adapted for Wi-Fi communication. The communication channel 1060 of these embodiments is typically connected to an access point or router, which provides access to an external network including the Internet for allowing streaming applications and other over-the-top communications. Other embodiments use a set-top box that delivers data on the HDMI connection of input box 1130 to provide streaming data to system 1000. In addition, other embodiments use the RF connection of input box 1130 to provide streaming data to 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.
[0117] The system 1000 can provide output signals to various output devices, including a display 1100, a speaker 1110, and other peripherals 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, a laptop, a cellular phone (mobile phone), or another device. The display 1100 can also be integrated with other components (e.g., as in a smart phone) or separated (e.g., an external monitor for a laptop). In various examples of embodiments, other peripherals 1120 include one or more of a stand-alone digital video disk (or digital versatile disk) (DVR, for both terms), a disk player, a stereo system, and / or a lighting system. Various embodiments use one or more peripherals 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.
[0118] In various embodiments, control signals are transmitted 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 implement 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, the output devices can be connected to the system 1000 via the communication interface 1050 using a communication channel 1060. 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.
[0119] Display 1100 and speaker 1110 may alternatively be separate from one or more of the other components, such as if the RF portion of input 1130 is part of a separate set-top box. In various embodiments where display 1100 and speaker 1110 are external components, output signals may be provided via dedicated output connections including, for example, an HDMI port, a USB port, or a COMP output.
[0120] The embodiments 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 embodiments may be implemented by one or more integrated circuits. The memory 1020 may be of any type appropriate to the technical environment and may be implemented using any appropriate data storage technology, such as optical memory devices, magnetic memory devices, semiconductor-based memory devices, fixed memory, and removable memory, as non-limiting examples. The processor 1010 may be of any type appropriate to 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, as non-limiting examples.
[0121] Various implementations involve decoding. As used in this application, "decoding" may encompass, for example, all or part of a process performed on a received encoded sequence to produce a final output suitable for display. In various embodiments, such a process includes 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 a process also includes or alternatively includes a process performed by a decoder of the various implementations described in this application.
[0122] 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 is intended to refer generally to a broader decoding process will be clear based on the context of the specific description and is considered to be well understood by those skilled in the art.
[0123] Various implementations involve encoding. In a manner similar to the above discussion about "decoding", "encoding" as used in this application can cover all or part of a process performed, for example, on an input video sequence to produce an encoded bitstream. In various embodiments, such a process includes one or more of the processes typically performed by an encoder, such as partitioning, differential encoding, transforms, quantization, and entropy encoding. In various embodiments, such a process also includes or alternatively includes a process performed by an encoder of the various implementations described in this application.
[0124] 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 to refer generally to a broader encoding process will be clear based on the context of the specific description and is considered to be well understood by those skilled in the art.
[0125] Note that the syntax elements as used herein are descriptive terms. Thus, they do not exclude the use of other syntax element names.
[0126] When a diagram is presented as a flow chart, it should be understood that 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 chart of the corresponding method / process.
[0127] Various embodiments may refer to parameter models or rate-distortion optimization. In particular, during the encoding process, a balance or trade-off between rate and distortion is usually considered, often taking into account constraints on computational complexity. It can be measured by a rate-distortion optimization (RDO) metric or by a least mean square (LMS), mean absolute error (MAE) or other such measurements. Rate-distortion optimization is usually formulated as minimizing a rate-distortion function that is a weighted sum of rate and distortion. There are different schemes for solving the rate-distortion optimization problem. For example, a scheme can be based on extensive testing of all coding options, including all considered modes or coding parameter values, with a complete evaluation of their coding costs and associated distortions of the reconstructed signal after encoding and decoding. A faster scheme can also be used to save coding complexity, particularly with respect to the calculation of approximate distortions based on a prediction or prediction residual signal rather than a reconstructed signal. A mixture of these two schemes can also be used, such as by using approximate distortions for only some of the possible coding options and using complete distortions for other coding options. Other schemes only evaluate a subset of possible coding options. More generally, many schemes employ any of a variety of techniques to perform optimization, but optimization is not necessarily a complete evaluation of both coding cost and associated distortion.
[0128] The implementations and aspects described herein can be implemented in, for example, methods or processes, devices, software programs, data streams or signals. Even if only discussed in the context of a single form of implementation (e.g., discussed only as a method), the implementations of the features discussed can also be implemented in other forms (e.g., devices or programs). The device can be implemented in, for example, 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 cellular phone, a portable / personal digital assistant ("PDA"), and other devices that facilitate information communication between end users.
[0129] Reference to "one embodiment" or "an embodiment" or "one implementation" or "an implementation" and other variations thereof mean 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 an implementation" or "in an implementation" and any other variations thereof appearing throughout this application do not necessarily all refer to the same embodiment.
[0130] Additionally, this 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.
[0131] Further, this 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 memory), storing information, moving information, copying information, calculating information, determining information, predicting information, or estimating information.
[0132] Additionally, this application may refer to "receiving" various pieces of information. As with "accessing," receiving is intended as a broad term. Receiving information can include, for example, one or more of accessing information or retrieving information (e.g., from a memory). Further, "receiving" typically involves, in one way or another, during an operation 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.
[0133] It should be appreciated that the use of any of " / ", "and / or", and "at least one of" below (e.g., in the case of "A / B", "A and / or B", and "at least one of A and B") is intended to cover selection of only the first listed option (A), or only the second listed option (B), or 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 selection of 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 all three options (A and B and C). As will be clear to one skilled in the art and related fields, this can be extended to as many items as listed.
[0134] Moreover, as used herein, among other things, the word "signal" refers to indicating something to the corresponding decoder. For example, in some embodiments, the encoder signals a specific one of multiple transforms, coding modes or marks. In this way, in an embodiment, the same transform, parameter or mode is used at both the encoder side and the decoder side. Therefore, for example, the encoder can transmit (explicit signaling) specific parameters to the decoder so that the decoder can use the same specific parameters. On the contrary, if the decoder already has specific parameters and other parameters, signaling (implicit signaling) can be used without transmitting to only allow the decoder to know and select specific parameters. By avoiding the transmission of any actual function, bit saving is achieved in various embodiments. It should be appreciated that signaling can be completed in a variety of ways. For example, in various embodiments, one or more grammatical elements, marks, etc. are used to signal information to the corresponding decoder. Although the above content is related to the verb form of the word "signal", the word "signal" can also be used as a noun in this article.
[0135] As will be apparent to those skilled in the art, implementations may generate a variety of signals formatted to carry information that may be, for example, stored or transmitted. The information may include, for example, instructions for executing data or methods generated by one of the described implementations. For example, a signal may be formatted to carry a bit stream 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 using the encoded data stream. The information carried by the signal may be, for example, analog or digital information. The signal may be transmitted over a variety of different wired or wireless links, as is known. The signal may be stored on a processor readable medium.
[0136] The above sections describe multiple embodiments across various claim categories and types. Features of these embodiments may be provided individually or in any combination. Further, embodiments may include one or more of the following features, devices, or aspects, individually or in any combination across various claim categories and types: One embodiment includes determining an intra-coding mode from a temporally collocated reference frame.
[0137] One embodiment comprises conditionally adding an intra coding mode to the most probable mode list based on whether the mode is already present in the most probable mode list.
[0138] One embodiment includes the above method, wherein the intra-coding mode is determined at an encoder and the mode and / or reference frames are signaled to a corresponding decoder.
[0139] One embodiment includes the above method wherein a different motion model is used to determine the reference frame or motion vector.
[0140] At least one embodiment includes any of the above methods, wherein an index is signaled to indicate a motion model, reference frame, or motion vector to be used for encoding / decoding.
[0141] At least one embodiment includes a bitstream or signal including one or more syntax elements or variations thereof for performing the above functions.
[0142] At least one embodiment comprises a bitstream or signal comprising syntax conveying information generated according to any of the described embodiments.
[0143] At least one embodiment comprises creating and / or transmitting and / or receiving and / or decoding according to any of the described embodiments.
[0144] At least one embodiment includes a method, process, apparatus, medium storing instructions, medium storing data, or signal according to any of the described embodiments.
[0145] At least one embodiment comprises inserting syntax elements in the signaling that enable a decoder to determine decoding information in a manner corresponding to that used by an encoder.
[0146] At least one embodiment comprises creating and / or transmitting and / or receiving and / or decoding a bitstream or signal comprising one or more of the described syntax elements or variations thereof.
[0147] At least one embodiment includes a TV, set-top box, cell phone, tablet or other electronic device that performs the transformation method(s) according to any of the described embodiments.
[0148] At least one embodiment includes a TV, set-top box, cellular telephone, tablet, or other electronic device that performs determination of (one or more) transformation methods according to any of the described embodiments and displays (e.g., using a monitor, screen, or other type of display) the resulting image.
[0149] At least one embodiment includes a TV, set-top box, cellular telephone, tablet, or other electronic device that selects, bandwidth limits, or tunes a channel (e.g., using a tuner) to receive a signal including an encoded image and performs (one or more) transformation methods according to any of the described embodiments.
[0150] At least one embodiment includes a TV, set-top box, cellular phone, tablet, or other electronic device that receives over-the-air (eg, using an antenna) a signal including an encoded image and performs the transformation method(s).
Claims
1. A method comprising: determining a motion vector pointing to a reference frame for the video block; deriving a displaced collocated block from the motion vector; determining intra-mode information from the displaced and concatenated blocks; Conditionally adding the intra-mode information to a most probable mode list; as well as At least a portion of the video block is encoded using the most probable mode list.
2. A device comprising: A processor configured to execute: determining a motion vector pointing to a reference frame for the video block; deriving a displaced collocated block from the motion vector; determining intra-mode information from the displaced and concatenated blocks; Conditionally adding the intra-mode information to a most probable mode list; as well as At least a portion of the video block is encoded using the most probable mode list.
3. A method comprising: determining a motion vector pointing to a reference frame for the video block; deriving a displaced collocated block from the motion vector; determining intra-mode information from the displaced and concatenated blocks; Conditionally adding the intra-mode information to a most probable mode list; as well as At least a portion of the video block is decoded using the most probable mode list.
4. A device comprising: A processor configured to execute: determining a motion vector pointing to a reference frame for the video block; deriving a displaced collocated block from the motion vector; determining intra-mode information from the displaced and concatenated blocks; Conditionally adding the intra-mode information to a most probable mode list; as well as At least a portion of the video block is decoded using the most probable mode list.
5. The method of claim 1 or 3 or the apparatus of claim 2 or 4, wherein the motion vector determination further comprises a motion model sent in a slice header.
6. The method of claim 1, 3 or 5 or the apparatus of claim 2, 4 or 5, wherein the motion vector determination is a motion model comprising one or more of an affine 4, affine 6 or homography model.
7. The method or apparatus of claim 6, wherein the motion of the current block is determined by a block from the motion model.
8. The method of claim 1, 3 or 5 to 7 or the apparatus of claim 2, 4 or 5 to 7, wherein the conditional determination to add the intra mode information to the most probable mode list comprises a cost.
9. The method of claim 1, 3 or 5 to 8 or the apparatus of claim 2, 4 or 5 to 8, wherein the motion information is obtained using an inter-coding process, wherein candidates from an inter-coding merge list are used.
10. A method as claimed in claim 1, 3 or 5 to 9 or an apparatus as claimed in claim 2, 4 or 5 to 9, wherein template-based re-ranking is used to select the most likely candidate in the most likely pattern list.
11. A method as claimed in claim 1, 3 or 5 to 10 or an apparatus as claimed in claim 2, 4 or 5 to 10, wherein a collocated reference frame to be used or an index to a reference frame to be used is signalled.
12. A device comprising: The device according to claim 4; as well as At least one of: (i) an antenna configured to receive a signal, the signal including the video block; (ii) a frequency band limiter configured to limit the received signal to a frequency band including the video block; and (iii) a display configured to display an output representing the video block.
13. A non-transitory computer readable medium containing data content generated according to the method of any one of claims 1 and 5 to 11 or by the apparatus of any one of claims 2 and 5 to 11 for playback using a processor.
14. A signal comprising video data generated according to the method of any one of claims 1 and 5 to 11 or by the apparatus of any one of claims 2 and 5 to 11 for playback using a processor.
15. A computer program product comprising instructions which, when the program is executed by a computer, cause the computer to implement the method as claimed in any one of claims 1, 3 and 5 to 11.
