Methods and apparatus of intra merge mode for occurrence-based intra coding

By enabling flexible inheritance of OBIC information from previous coded blocks, the method addresses inefficiencies in intra prediction, improving video coding efficiency and accuracy through a comprehensive syntax framework.

WO2025167865A1PCT designated stage Publication Date: 2025-08-14MEDIATEK INC
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2025/075673
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-02-07
Filing Date
2025-02-05
Publication Date
2025-08-14

AI Technical Summary

Technical Problem

Existing video coding systems face inefficiencies in intra prediction due to limited inheritance information and rigid inheritance methods, particularly in OBIC modes, leading to suboptimal coding performance.

Method used

The proposed method enhances intra prediction by allowing flexible inheritance of OBIC information from previous coded blocks, including histogram of occurrences, intra prediction modes, weighting information, and block dimensions, from various candidate types, and employs a syntax framework to generate more efficient prediction.

Benefits of technology

This approach improves coding efficiency by utilizing a broader range of inheritance information, reducing redundancy and enhancing prediction accuracy, thereby optimizing video coding performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025075673_14082025_PF_FP_ABST
    Figure CN2025075673_14082025_PF_FP_ABST
Patent Text Reader

Abstract

A method and apparatus for video coding are disclosed. According to this method, input data associated with a current block is received, wherein the input data comprises pixel data to be encoded at an encoder side or coded data associated with the current block to be decoded at a decoder side. A candidate list is determined from one or more previous coded blocks for the current block, wherein the candidate list comprises one or more history candidates and / or one or more temporal candidates, and wherein said one or more previous coded blocks generate OBIC (Occurrence-Based Intra Coding) information or has stored OBIC information. Inheritance information of OBIC is determined from the candidate list. Target prediction for the current block is generated by using the inheritance information of OBIC. The current block is encoded or decoded by using coding information comprising the target prediction.
Need to check novelty before this filing date? Find Prior Art

Description

METHODS AND APPARATUS OF INTRA MERGE MODE FOR OCCURRENCE-BASED INTRA CODINGCROSS REFERENCE TO RELATED APPLICATIONS

[0001] The present invention is a non-Provisional Application of and claims priority to U.S. Provisional Patent Application No. 63 / 550,668, filed on February 7, 2024. The U.S. Provisional Patent Application is hereby incorporated by reference in its entirety.FIELD OF THE INVENTION

[0002] The present invention relates to video coding system. In particular, the present invention relates to the inheritance information from a previous coded block in a video coding system, where the previous coded block generates the OBIC (Occurrence-Based Intra Coding) information and / or stores the OBIC inheritance information. BACKGROUND AND RELATED ART

[0003] Versatile video coding (VVC) is the latest international video coding standard developed by the Joint Video Experts Team (JVET) of the ITU-T Video Coding Experts Group (VCEG) and the ISO / IEC Moving Picture Experts Group (MPEG) . The standard has been published as an ISO standard: ISO / IEC 23090-3: 2021, Information technology -Coded representation of immersive media -Part 3: Versatile video coding, published Feb. 2021. VVC is developed based on its predecessor HEVC (High Efficiency Video Coding) by adding more coding tools to improve coding efficiency and also to handle various types of video sources including 3-dimensional (3D) video signals.

[0004] Fig. 1A illustrates an exemplary adaptive Inter / Intra video encoding system incorporating loop processing. For Intra Prediction 110, the prediction data is derived based on previously coded video data in the current picture. For Inter Prediction 112, Motion Estimation (ME) is performed at the encoder side and Motion Compensation (MC) is performed based on the result of ME to provide prediction data derived from other picture (s) and motion data. Switch 114 selects Intra Prediction 110 or Inter Prediction 112 and the selected prediction data is supplied to Adder 116 to form prediction errors, also called residues. The prediction error is then processed by Transform (T) 118 followed by Quantization (Q) 120. The transformed and quantized residues are then coded by Entropy Encoder 122 to be included in a video bitstream corresponding to the compressed video data. The bitstream associated with the transform coefficients is then packed with side information such as motion and coding modes associated with Intra prediction and Inter prediction, and other information such as parameters associated with loop filters applied to underlying image area. The side information associated with Intra Prediction 110, Inter prediction 112 and in-loop filter 130, is provided to Entropy Encoder 122 as shown in Fig. 1A. When an Inter-prediction mode is used, a reference picture or pictures have to be reconstructed at the encoder end as well. Consequently, the transformed and quantized residues are processed by Inverse Quantization (IQ) 124 and Inverse Transformation (IT) 126 to recover the residues. The residues are then added back to prediction data 136 at Reconstruction (REC) 128 to reconstruct video data. The reconstructed video data may be stored in Reference Picture Buffer 134 and used for prediction of other frames.

[0005] As shown in Fig. 1A, incoming video data undergoes a series of processing in the encoding system. The reconstructed video data from REC 128 may be subject to various impairments due to a series of processing. Accordingly, in-loop filter 130 is often applied to the reconstructed video data before the reconstructed video data are stored in the Reference Picture Buffer 134 in order to improve video quality. For example, deblocking filter (DF) , Sample Adaptive Offset (SAO) and Adaptive Loop Filter (ALF) may be used. The loop filter information may need to be incorporated in the bitstream so that a decoder can properly recover the required information. Therefore, loop filter information is also provided to Entropy Encoder 122 for incorporation into the bitstream. In Fig. 1A, Loop filter 130 is applied to the reconstructed video before the reconstructed samples are stored in the reference picture buffer 134. The system in Fig. 1A is intended to illustrate an exemplary structure of a typical video encoder. It may correspond to the High Efficiency Video Coding (HEVC) system, VP8, VP9, H. 264 or VVC.

[0006] The decoder, as shown in Fig. 1B, can use similar or portion of the same functional blocks as the encoder except for Transform 118 and Quantization 120 since the decoder only needs Inverse Quantization 124 and Inverse Transform 126. Instead of Entropy Encoder 122, the decoder uses an Entropy Decoder 140 to decode the video bitstream into quantized transform coefficients and needed coding information (e.g. ILPF information, Intra prediction information and Inter prediction information) . The Intra prediction 150 at the decoder side does not need to perform the mode search. Instead, the decoder only needs to generate Intra prediction according to Intra prediction information received from the Entropy Decoder 140. Furthermore, for Inter prediction, the decoder only needs to perform motion compensation (MC 152) according to Inter prediction information received from the Entropy Decoder 140 without the need for motion estimation.

[0007] I. RELATED ART

[0008] I. 1 Intra Mode Coding with 67 Intra Prediction Modes

[0009] To capture the arbitrary edge directions presented in natural video, the number of directional intra modes in VVC is extended from 33, as used in HEVC, to 65.

[0010] In VVC, several conventional angular intra prediction modes are adaptively replaced with wide-angle intra prediction modes for the non-square blocks.

[0011] I. 2 Intra Mode Coding

[0012] To keep the complexity of the most probable mode (MPM) list generation low, an intra mode coding method with 6 MPMs (or called primary MPMs) is used by considering two available neighbouring intra modes.

[0013] I. 3 Decoder Side Intra Mode Derivation (DIMD)

[0014] When DIMD is applied, two intra modes are derived from the reconstructed neighbour samples (template) , and those two predictors are combined with the planar mode predictor with the weights derived from the gradients. The DIMD mode is used as an alternative prediction mode and is always checked in the high-complexity RDO mode.

[0015] To implicitly derive the intra prediction modes of a block, a texture gradient analysis is performed at both encoder and decoder sides. This process starts with an empty Histogram of Gradient (HoG) with 65 entries, corresponding to the 65 angular modes. Amplitudes of these entries are determined during the texture gradient analysis.

[0016] Figs. 2A-C show an example of HoG, calculated after applying the above operations on all pixel positions in the template. Fig. 2A illustrates an example of selected template 220 for a current block 210. Template 220 comprises T lines above the current block and T columns to the left of the current block. For intra prediction of the current block, the area 230 at the above and left of the current block corresponds to a reconstructed area and the area 240 below and at the right of the block corresponds to an unavailable area. Fig. 2B illustrates an example for T=3 and the HoGs are calculated for pixels 260 in the middle line and pixels 262 in the middle column. For example, for pixel 252, a 3x3 window 250 is used. Fig. 2C illustrates an example of the amplitudes (ampl) calculated for the angular intra prediction modes.

[0017] I. 4 Template-based Intra Mode Derivation (TIMD)

[0018] Template-based intra mode derivation (TIMD) mode implicitly derives the intra prediction mode of a CU by a neighbouring template at both the encoder and decoder, instead of signalling intra prediction mode bits to the decoder. The prediction samples of the template are generated using the reference samples of the template for each candidate mode. A cost is calculated as the SATD between the prediction and the reconstruction samples of the template. First two intra prediction modes with the minimum SATD are selected as the TIMD modes. These two TIMD modes are fused with weights after applying PDPC process, and such weighted intra prediction is used to code the current CU.

[0019] I. 5 Extrapolation Filter-Based Intra Prediction (EIP) Mode

[0020] The EIP mode is disclosed in JVET-AF0080. The EIP mode is briefly reviewed as follows.

[0021] I. 5.1 Obtaining the EIP Filter

[0022] Three EIP filter shapes are proposed in this method.

[0023] I. 5.1.1 Derivation of EIP Coefficients (EIP derived modes)

[0024] The decoder decodes the relevant syntax elements to determine the selected type of reconstructed area and the filter shape for the current block. The selected filter moves in the selected reconstructed area either horizontally or vertically with a one-pixel step to construct the auto-correlation matrix and the cross-correlation vector. The calculation of coefficients from the auto-correlation matrix and the cross-correlation vector is the same as that in convolutional cross-component model (CCCM) .

[0025] I. 5.1.2 Inheritance of the EIP Filters (EIP merge modes)

[0026] The filter shape and the filter coefficients can be inherited from previous decoded blocks with EIP or EIP merge mode. The decoder decodes an EIP merge flag to decide whether the proposed merge mode is used when the current block uses the EIP mode. A merge index is further decoded when the EIP merge flag is true. The EIP merge list includes spatial adjacent and non-adjacent candidates, temporal candidates, and history candidates.

[0027] I. 5.2 Prediction of the Current Block

[0028] The EIP mode generates prediction values for the current block from the top-left position to the bottom-right position by a diagonal prediction order.

[0029] The calculation for the prediction values in this contribution is shown as follows: where pred (x, y) is the predicted value at (x, y) in the current block, ci is the ith coefficient of the selected  EIP filter, the index of the coefficients is from 0 to 14,  is a reconstructed or a predicted value used for the current position’s prediction. offsetXi and offsetYi are the position offsets to the current position along x and y directions, respectively.

[0030] I. 6 Template-based Multiple Reference Line Intra Prediction

[0031] Template-based multiple reference line intra prediction (TMRL) mode combines reference line and prediction mode together and uses a template matching method to construct a list of candidate combinations. An index to the candidate combination list is coded to indicate which reference line and prediction mode is used in coding the current block.

[0032] Since the extended reference line starts from reference line 1, the area covered by reference line 0 is used for template matching. The SAD costs (i.e., TMRL costs) over the template area as shown in Fig. 3 are calculated between the predictions (generated by 50 combinations) and the reconstructions. The 20 combinations with the least SAD cost are selected in an ascending order to form the TMRL candidate list.

[0033] I. 7 Inter Prediction

[0034] In JVET-T2002 document, the algorithm for Versatile Video Coding (VVC) and Test Model 11 (VTM 11) are described. The inter prediction for VVC is briefly described as follows.

[0035] I. 7.1 Spatial Candidate Derivation

[0036] Spatial merge candidates are selected among candidates located in the positions depicted in Fig. 4.

[0037] I. 7.2 Non-adjacent Spatial Candidate

[0038] The pattern of spatial non-adjacent merge candidates is shown in Fig. 5. The distances between non-adjacent spatial candidates and current coding block are based on the width and height of current coding block. The line buffer restriction is not applied.

[0039] I. 8 Intra-prediction Using Merged Histogram of Gradients

[0040] In JVET-AG0078, it proposes to add a new intra prediction mode, referred to as Merged Intra Mode Derivation (MIMD) , based on the computation of a Merged Histogram of Gradients (MHoG) . Similar to DIMD, up to five MIMD modes are derived from the MHoG and are then blended together. The derivation of the modes and blending weights follows the same process to derive DIMD modes and blending weights from the HoG. But differently than DIMD, the MHoG is not computed directly analysing the template samples, but rather is computed based on information extracted from neighbouring blocks. More details can be found in JVET-AG0078.

[0041] In particular, a number of N neighbouring blocks is considered. A neighbouring block is considered if it is encoded with at least one directional intra-prediction mode. Hi (m) refers to the amplitude of directional mode m in the HoG, where m can take values from 0 to M where M is the maximum number of intra-prediction modes. A normalisation process can be used when considering Hi.

[0042] Then, the MHoG can be computed using all the HoGs extracted from available neighbouring blocks as:

[0043] Finally, the MHoG is used to compute MIMD modes and weights. The directional modes and their weights corresponding to the five highest amplitudes in the MHoG are selected as directional modes and weights for MIMD.

[0044] I. 9 Occurrence-Based Intra Coding (OBIC)

[0045] In JVET-AG0078, the Occurrence-based intra coding (OBIC) method is disclosed which derives the intra prediction modes of the current block based on the sample-wise occurrence of the intra modes in the spatial neighbourhood of the block. For this, adjacent and non-adjacent spatial neighbouring blocks are checked and the intra prediction modes of the blocks are collected into an occurrence histogram. Instead of Histogram of Gradient (HoG) as in DIMD, the OBIC introduces the Histogram of oCcurrence (HoC) , which consists of the intra modes and their sample-wise occurrences. The occurrence values are calculated based on the number of samples that are coded in a certain intra prediction mode in that neighbourhood. The term “occurrence value” and “occurrence” are used interchangeably in this disclosure. For example, if a uiWidth × uiHeight block is coded with an IPM mode, the occurrence of the mode in that particular block is calculated as: HoC [IPM] += uiWidth *uiHeight; where uiWidth and uiHeight are the width and height of a spatial neighbouring block.

[0046] The occurrences of the existing modes from the spatial neighbourhood blocks are accumulated into the histogram.

[0047] Up to 5 angular modes with the highest occurrence along with the planar mode are selected from the HoC and used for final prediction by blending the prediction of the selected modes.

[0048] The blending weights are calculated similar to the DIMD mode, but instead of using gradient values from the template, the occurrence values are used for OBIC. Moreover, the planar mode’s weight is also decided similarly to DIMD mode.

[0049] In the present invention, methods and apparatus to use inheritance information from a previous coded block are disclosed, where the previous coded block generates the OBIC information and / or stores the OBIC inheritance information. BRIEF SUMMARY OF THE INVENTION

[0050] A method and apparatus for video coding are disclosed. According to this method, input data associated with a current block is received, wherein the input data comprises pixel data to be encoded at an encoder side or coded data associated with the current block to be decoded at a decoder side. A candidate list is derived from one or more previous coded blocks for the current block, wherein the candidate list comprises one or more history candidates and / or one or more temporal candidates, and wherein said one or more previous coded blocks generate OBIC (Occurrence-Based Intra Coding) information or has stored OBIC information. Inheritance information of OBIC is derived from the candidate list. Target prediction for the current block is generated by using the inheritance information of OBIC. The current block is encoded or decoded by using coding information comprising the target prediction.

[0051] In one embodiment, the inheritance information of OBIC from said one or more previous coded blocks is referenced by one or more subsequent blocks. In another embodiment, the inheritance information of OBIC from said one or more previous coded blocks comprises one or more histogram of occurrences for one or more available OBIC modes. In yet another embodiment, the inheritance information of OBIC from said one or more previous coded blocks comprises one or more intra prediction modes used by said one or more previous coded blocks. In yet another embodiment, the inheritance information of OBIC from said one or more previous coded blocks comprises OBIC weighting information and / or whether to apply fusion or not. In yet another embodiment, the inheritance information of OBIC from said one or more previous coded blocks comprises block dimension or number of samples of said one or more previous coded blocks. In yet another embodiment, the inheritance information of OBIC from said one or more previous coded blocks comprises position of the previous coded block.

[0052] In one embodiment, a merge candidate list is derived from_said one or more_previous coded blocks and the merge candidate list includes one or more spatial adjacent candidates, one or more non-adjacent candidates, one or more default candidates, or any combination thereof. In one embodiment, when a new candidate is inserted into the merge candidate list, full or partial pruning is applied to the merge candidate list to avoid duplicated inheritance information. In one embodiment, a flag is signalled to indicate whether the current block is coded by an OBIC mode. In one embodiment, when the flag indicated the current block being coded in the OBIC mode, all or part of candidates in the merge candidate list are used to generate histogram of occurrences for the current block. In one embodiment, when the flag indicated the current block being coded in the OBIC mode, another flag or syntax is further signalled to indicate a target type of candidates being used for creating the merge candidate list and the histogram of occurrences is generated based on target candidates associated with the target type of candidates.

[0053] In one embodiment, if inheritance information of a target candidate has the histogram of occurrences of a previous OBIC-coded block, the inheritance information of the target candidate is added into the histogram of occurrences for the current block. In one embodiment, inheritance information of a target candidate is adjusted before the inheritance information of the target candidate is used to derive intra prediction for the current block. In one embodiment, if the inheritance information of the target candidate comprises the histogram of occurrences for an available previous OBIC-coded block, the inheritance information of the target candidate is adjusted according to N intra prediction modes with highest histogram values and N is a positive integer.BRIEF DESCRIPTION OF THE DRAWINGS

[0054] Fig. 1A illustrates an exemplary adaptive Inter / Intra video coding system incorporating loop processing.

[0055] Fig. 1B illustrates a corresponding decoder for the encoder in Fig. 1A.

[0056] Fig. 2A illustrates an example of selected template for a current block, where the template comprises T lines above the current block and T columns to the left of the current block.

[0057] Fig. 2B illustrates an example for T=3 and the HoGs (Histogram of Gradient) are calculated for pixels in the middle line and pixels in the middle column.

[0058] Fig. 2C illustrates an example of the amplitudes (ampl) for the angular intra prediction modes.

[0059] Fig. 3 illustrates the template area for template-based multiple reference line intra prediction

[0060] Fig. 4 illustrates positions of spatial merge candidate.

[0061] Fig. 5 illustrates spatial neighbouring blocks used to derive the spatial merge candidates.

[0062] Fig. 6 illustrates an example of multiple history-based buffer array design, where each grid represents a CTU.

[0063] Figs. 7A-B illustrate examples for constructing the history table of the current region from the history table of the region having the same beginning geometric position of the current region (Fig. 7A) or from the history table of the region containing the centre geometric position of the current region (Fig. 7B) .

[0064] Fig. 8 illustrates a flowchart of an exemplary video coding system that derives the inheritance information from a previous coded block in a video coding system according to an embodiment of the present invention.DETAILED DESCRIPTION OF THE INVENTION

[0065] It will be readily understood that the components of the present invention, as generally described and illustrated in the figures herein, may be arranged and designed in a wide variety of different configurations. Thus, the following more detailed description of the embodiments of the systems and methods of the present invention, as represented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. References throughout this specification to “one embodiment, ” “an embodiment, ” or similar language mean that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the present invention. Thus, appearances of the phrases “in one embodiment” or “in an embodiment” in various places throughout this specification are not necessarily all referring to the same embodiment.

[0066] Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. One skilled in the relevant art will recognize, however, that the invention can be practiced without one or more of the specific details, or with other methods, components, etc. In other instances, well-known structures, or operations are not shown or described in detail to avoid obscuring aspects of the invention. The illustrated embodiments of the invention will be best understood by reference to the drawings, wherein like parts are designated by like numerals throughout. The following description is intended only by way of example, and simply illustrates certain selected embodiments of apparatus and methods that are consistent with the invention as claimed herein.

[0067] II. PROPOSED METHOD

[0068] In this invention, an intra merge scheme is proposed to improve intra prediction using a merge scheme. The concept of the merge scheme is to inherit (or reference) the information from previous coded blocks and use the inheritance information to predict the current block. The main difference between the proposed intra merge scheme and the traditional intra MPM is described as follows. For an intra block, the traditional intra MPM can only inherit the intra prediction mode signalled in the previous coded block, for example, the intra prediction mode with the mode index referring to angular prediction modes, DC, or planar from the above neighbouring block and / or the left neighbouring block. The proposed intra merge scheme brings more flexible inheritance flows and / or more efficient inheritance information in the following aspects.

[0069] In the first aspect, unlike the traditional intra MPM, the inheritance information is not limited to the signalled intra prediction mode. In some embodiments disclosed in the section entitled “inheritance information setting” , with the proposed intra merge scheme, the inheritance information can be any mode information, any sample information, any block information, any model information, and / or any information associated with prediction generation.

[0070] In the second aspect, unlike the traditional intra MPM, the previous coded blocks containing the inheritance information are not limited to being located at the left neighbouring block or the above neighbouring block. In some embodiments specified in the section entitled “Inheritance block setting” , with the proposed intra merge scheme, the current block can find the previous coded blocks containing the inheritance information through several proposed merge methods.

[0071] In the third aspect, unlike the traditional intra MPM which only be used to improve regular intra luma prediction, in the section entitled “Target mode setting and shortcut syntax setting” , for some embodiments, the proposed merge scheme is to obtain the information associated with prediction generation of the current block coded by OBIC mode (the proposed intra merge scheme with the target mode as OBIC) .

[0072] When generating the prediction of the current block coded by the target mode, one or more inheritance blocks are selected from a merge candidate list or selected among several merge candidates. Then, the inheritance information from the inheritance blocks is used for the target mode to generate prediction. In some embodiments, the inheritance information of each merging candidate belongs to the same target mode. For example, the inheritance information of each merge candidate is related to OBIC and the current block is predicted following OBIC process.

[0073] Moreover, unlike the traditional intra MPM which only gets some most probable modes among angular prediction modes, DC, and planar through a restricted inheritance method, the proposed intra merge scheme has inheritance information setting, inheritance block setting, and / or target mode setting and shortcut syntax setting to provide a more efficient shortcut for obtaining the information associated with prediction generation. In some embodiments, several methods are proposed to define the syntax framework of the proposed intra merge scheme. Following the syntax framework, the intra merge scheme can be applied to the current block and then the prediction of the current block is generated according to the inheritance information.

[0074] II. 1 Inheritance Information Setting

[0075] Inheritance information setting defines the inheritance information for generating prediction of the current block using a target mode.

[0076] II. 1.1 Inheritance Information Setting for OBIC

[0077] When the intra merge scheme is used for OBIC (i.e., OBIC mode being used for the current block) , the inheritance information includes (a) , (b) , (c) , (d) , (e) or any combination of them. (a) one or more histogram (bars) of occurrence for the available OBIC modes (b) Intra prediction mode (s) (e.g. DC, planar, and / or directional prediction modes) used by the  block corresponding to the position of the inheritance candidate (c) OBIC weighting information and / or fusion or not (d) the block dimension or the number of samples of the block corresponding to the position of  the inheritance candidate (e) the block position of the block corresponding to the position of the inheritance candidate  (e.g., The block position can be the horizontal coordinate and vertical coordinate relative to the upper left corner of the current frame)

[0078] In one embodiment, directional prediction modes for the intra prediction modes can be in a pre-defined directional range. For example, the pre-defined directional range is from 2 to 66, so there are totally 65 directional prediction modes. For another example, the pre-defined directional range is from 2 to 130, so there are totally 129 directional prediction modes.

[0079] In another embodiment, the inheritance information is from a previous coded block specified in the section entitled “Inheritance block setting” . The previous coded block generates the OBIC inheritance information and / or stores the OBIC inheritance information. The stored OBIC inheritance information of the previous coded block can be referenced by subsequent coding blocks, such as the current block. For example, for each block containing OBIC information (which can be a OBIC-coded block or not a OBIC-coded block) , the OBIC information is stored and / or referenced by the subsequent coding blocks. For example, for each pre-defined unit containing OBIC information (which may refer to any pre-defined region or kxk grids where k can be 2, 4, 8, 16, or any pre-defined positive integer) , the OBIC information is stored and / or referenced by the subsequent coding blocks.

[0080] In one sub-embodiment, in response to the inheritance information referring to (a) and / or (b) and / or (c) and / or (d) and / or (e) , a DIMD process with the window applied to the predictor, called as predictor-DIMD, is performed on the prediction of the previous coded block, to get the intra prediction mode (s) to derive the OBIC inheritance information of the previous coded block. The previous coded block may be coded with DIMD, DIMD merge, DIMD-related mode, inter, intra, IBC, any mode type, any mode which may or may not be a DIMD coded block. For example, MIP / intraTMP / cross-component chroma modes / any blocks using predictor-DIMD to select the transform set, can be stored and / or referenced by the following / subsequent coding block, or any subset / combination of the above-mentioned.

[0081] In another sub-embodiment, in response to the inheritance information referring to (a) , (b) , (c) , (d) , (e) or any combination of them, a DIMD process is performed on the template (neighbouring region) of the previous coded block to get the intra prediction mode (s) to derive the OBIC inheritance information of the previous coded block. The previous coded block may be coded with DIMD, DIMD merge, DIMD-related mode, inter, intra, IBC, any mode type, or any subset / combination of the above-mentioned.

[0082] In another sub-embodiment, in response to the inheritance information referring to (a) , (b) , (c) , (d) , (e) or any combination of them, a DIMD process is performed on the reconstruction of the previous coded block to get the intra prediction mode (s) (by applying the window to the reconstruction of the previous coded block) to derive the OBIC inheritance information of the previous coded block. The previous block may be coded with DIMD, DIMD merge, DIMD-related mode, inter, intra, IBC, any mode type, or any subset / combination of the above-mentioned.

[0083] In one sub-embodiment, in response to the inheritance information referring to (a) and / or (b) and / or (c) and / or (d) and / or (e) , the OBIC-related information used in predicting the previous block is obtained to get the inheritance information of the previous block. The previous block may be coded with OBIC mode.

[0084] In another embodiment, instead of storing all OBIC information (which may be used for reference) , to reduce the storage, only the subset of OBIC information is stored. For example, only 3 or any pre-defined positive number of intra prediction modes are stored. For example, the subset is the first 3 from all. The first 3 can be the largest 3 in the histogram of occurrence

[0085] II. 2 Inheritance Block Setting

[0086] II. 2.1 Inheritance Information from the Previous Coded Blocks

[0087] The inheritance information is obtained from the previous coded blocks. In one embodiment, one or more candidates of spatial adjacent candidates and / or non-adjacent candidates, history candidates, temporal candidates, default candidates, or any subset of above-mentioned candidates provide the inheritance information from the previous coded blocks. In one sub-embodiment, the merge candidates refer to only history candidates and / or will not use the candidates from a far non-adjacent region.

[0088] In another embodiment, a merge candidate list containing inheritance information is built for the current block. As what regular inter merge mode does, the merge candidate list includes the candidates of spatial adjacent candidates and / or non-adjacent candidates, history candidates, temporal candidates, default candidates, or any subset of above-mentioned candidates. In one sub-embodiment, the merge candidate list here is aligned with or be any subset of the merge candidate list for regular inter merge mode. In another sub-embodiment, the merge candidate list here refers to the history-based buffer array only. That is, only history candidates are included and / or will not use the candidates from a far non-adjacent region.

[0089] In one sub-embodiment, full or partial pruning is used to avoid duplicate inheritance information in the list. Before adding a candidate in the list, all or any subset of inheritance information of the to-be-added candidate is checked with the corresponding inheritance information of all or any subset of candidates already in the list. All inheritance information of a candidate refers to all stored inheritance information of the inheritance block (aprevious coded block) . For example, if the block position and the block dimension in the OBIC inheritance information of the to-be-added candidate is already in the merge list, the to-be-added candidate will be skipped.

[0090] In another sub-embodiment, after building the merge candidates list, one or more candidates are selected from the list for the current block to use. The selection depends on explicitly signalling an index or implicitly selecting the one or more (promising) candidates. For example, an inheritance block being coded by the target mode is regarded as a promising candidate. For example, the first one or more candidates with the smallest costs are selected. For example, the explicit index indicates one or more candidates in the reordered list as the selected candidates. The cost calculation and / or list reordering may depend on the template matching process which calculates the cost based on the distortion between the prediction (using a certain candidate) on the template and the reconstruction on the template. For reordering the list, the candidate with a smallest cost is put in the front of the list or the candidate with a smaller cost is put in a more forward position in the list.

[0091] In another sub-embodiment, the merge candidate list has a maximum size threshold. The threshold is fixed at the standard and / or the threshold is determined according to an explicit syntax at the block, CTU, slice, picture, tile, sequence, picture, SPS, PPS, or any pre-defined unit level. When the threshold is met (i.e., the list being full) , no more candidate can be inserted into the list; otherwise, the valid candidate can be inserted into the list. If the list is not full and the inheritance cannot find enough candidates, the default candidates are inserted to make the list full.

[0092] In another sub-embodiment, the size of merge candidate list is adaptive according to how many valid candidates. When selecting one or more candidates for the current block from the list, the selection can be only among the available candidates in the list. For example, if the selection is implicit, the one or more selected candidates are the one or more candidates with smaller costs in the list. The cost calculation may depend on the template matching process which calculates the cost based on the distortion between the prediction (using a certain candidate) on the template and the reconstruction on the template.

[0093] II. 2.1.1 Spatial Adjacent Candidates and Non-Adjacent Candidates

[0094] The spatial adjacent candidates are from the adjacent neighbouring blocks of the current block where the adjacent neighbouring blocks can be the same as the 5 spatial neighbouring blocks for regular inter merge mode or any subset of the adjacent neighbouring blocks of the current block. The non-adjacent candidates are from a search range around (but not adjacent to) the current block. The search range can be the same as or can be different from the search range of non-adjacent candidates for regular inter merge mode.

[0095] II. 2.1.2 History Candidates

[0096] The history candidates are selected from a history-based buffer array. In the history-based buffer array, the inheritance information of each valid previous coded block is stored where the valid previous coded block refers to any block containing inheritance information. Like what history candidates in the merge list of regular inter merge mode, the first stored information may be removed for including the information from the latest valid coded block if the buffer array is full.

[0097] In one embodiment, the history-based buffer array can be reset at the beginning or at the end of a pre-defined unit. The definition of resetting the history-based buffer array can be clearing all stored inheritance information in the history-based buffer array. The pre-defined unit can be every M CTUs, every N CTU rows, a slice, a tile, a picture, or any pre-defined region, where N and M can be any value greater than 0.

[0098] When including history candidates from the history-based buffer array into the merge list, the order of including history candidates can be pre-defined.

[0099] In one embodiment, the order of including history candidates can be from the beginning / end of the history-based buffer array to the end / beginning of the history-based buffer array.

[0100] In another embodiment, the order of including history candidates can be from a certain pre-defined position of the history-based buffer array to the beginning / end of the history-based buffer array.

[0101] In another embodiment, the order of including history candidates can be in an interleaved manner (e.g., the first included candidate is from the beginning of the history-based buffer array, the second included candidate is from the end of the history-based buffer array and so on) .

[0102] In one embodiment, one picture, tile or slice can be divided into several regions, and a history-based buffer array is maintained for each region. The history-based buffer array 0 and one additional history-based buffer array will be updated during the encoding / decoding process. The additional history-based buffer array can be determined by the current position. For example, if the current CU locates in the second region, the additional history-based buffer array to be updated is history-based buffer array 2. Fig. 6 illustrates an example of multiple history-based buffer array design, where each array contains 4 CTUs.

[0103] In another embodiment, multiple history-based buffer arrays can be used for different updated frequencies. For example, the first history-based buffer array is updated every CU, the second history-based buffer array is updated every two CUs, the third history-based buffer array is updated every four CUs and so on.

[0104] In another embodiment, multiple history-based buffer arrays can be used for storing different types of inheritance information. For example, the first history-based buffer array is used for storing inheritance information with single model (i.e., non-fusion case) and the second history-based buffer array is used for storing inheritance information with multi-model (i.e., fusion case) .

[0105] In another embodiment, multiple history-based buffer arrays can be used for different intensities of reconstructed samples. For example, if the average of the intensity of reconstructed samples in the neighbouring of current block is greater than a pre-defined threshold, the inheritance information will be stored in the first history-based buffer array. Otherwise, the inheritance information will be stored in the second history-based buffer array.

[0106] When including history candidates from multiple history-based buffer arrays into the merge list, the order of including history candidates can be pre-defined.

[0107] In one embodiment, the order of including history candidates can be from the beginning / end of a certain history-based buffer array to the end / beginning of the history-based buffer array, and then include the next history-based buffer array in the same order or in a reversed order.

[0108] In another embodiment, the order of including history candidates can be from a certain pre-defined position of a certain history-based buffer array to the end / beginning of the history-based buffer array, and then include the next history-based buffer array in the same order or in a reversed order.

[0109] In another embodiment, the order of including history candidates can be in an interleaved manner in a certain history-based buffer array (e.g., the first included candidate is from the beginning of the history-based buffer array, the second included candidate is from the end of the history-based buffer array and so on) , and then include the next history-based buffer array in the same order or in a reversed order.

[0110] In another embodiment, the order of including history candidates can be from the beginning / end of each history-based buffer array to the end / beginning of each history-based buffer array.

[0111] In another embodiment, the order of including history candidates can be from a certain pre-defined position of each history-based buffer array to the end / beginning of each history-based buffer array.

[0112] In another embodiment, the order of including history candidates can be in an interleaved manner in each history-based buffer array (e.g., the first included candidate is from the beginning of the history-based buffer array, the second included candidate is from the end of the history-based buffer array and so on) .

[0113] In one embodiment, there are multiple history-based buffer arrays, not all history-based buffer arrays will be used for building the merge list. Only history-based buffer arrays whose regions are close to the region of the current block can be used to build the merge list.

[0114] In one embodiment, if the history candidates are included in the merge list, the range for selecting non-adjacent candidates can be reduced by using smaller distance between each position of non-adjacent candidate.

[0115] In another embodiment, if the history candidates are included in the merge list, the number of non-adjacent candidates can be reduced by measuring the distance from the left-top position of the current block to the candidate position, and then excluding the candidate with the distance greater than a pre-defined threshold.

[0116] In another embodiment, if the history candidates are included in the merge list, the number of non-adjacent candidates can be reduced by skipping the candidates that are not located in the same region.

[0117] In another embodiment, if the history candidates are included in the merge list, the number of non-adjacent candidates can be reduced by skipping the candidates that are not located in the same region or the neighbouring regions. The range of neighbouring regions is pre-defined, and it can be M by N regions where M and N can be any value greater than 0.

[0118] In another embodiment, if the history candidates are included in the merge list, the search range for selecting non-adjacent candidates can be reduced by skipping the second search pattern.

[0119] In one embodiment, one picture can be divided into multiple regions, and at least one history table is kept in each region. For a region of the current picture, it can use or combine the history tables of one or multiple regions in the previous coded pictures as the initial history table. For example, if a picture is divided into N regions, it can implicitly or explicitly select the history table from one of N regions in the previous coded pictures as the initial history table. The index of one of N regions can be signalled or implicitly derived from the corresponding region in the previous coded pictures. As shown in Fig. 7A and Fig. 7B, the current picture 720 is a P / B coded picture and the previous picture 710 is an Intra coded picture. Each picture is divided into 4 regions as shown in 4 rectangular boxes. According to an embodiment of the present invention, the corresponding region in the previous coded pictures can be the region 712 having the same beginning geometric position as the current region 722 as shown in Fig. 7A or containing the centre geometric position of the current region 722 as shown in Fig. 7B. For another example, it can combine more than one history tables in the previous coded regions / pictures to construct the history table of the current region.

[0120] II. 2.1.3 Temporal Candidates

[0121] The temporal candidates are obtained from the inheritance information stored in one or more previous coded pictures. The temporal candidates are obtainable when the current slice / picture is a non-intra slice / picture.

[0122] In one embodiment, the temporal candidates can be from the block at some pre-defined positions (x′, y′) of the previous coded slices / picture.

[0123] In one sub-embodiment, the positions (x′, y′) are inside the corresponding area of the current encoding / decoding block, i.e., x≤x′<x+w and y≤y′<y+h. The pre-defined positions can be

[0124] In one sub-embodiment, the pre-defined positions (x′, y′) are outside of the corresponding area of the current encoding / decoding block, i.e., x′<x+or x′≥x+w, and / or y′<y or y′≥y+h. The temporal candidates can be (x-1, y) , (x, y-1) , (x-1, y-1) , (x+w, y) , (x+w-1, y-1) , (x+w, y-1) , (x, y+h) , (x-1, y+h-1) , (x-1, y+h) , (x+w, y+h-1) , (x+w-1, y+h) , (x+w, y+h) of the previous coded slices / picture.

[0125] In one sub-embodiment, the pre-defined positions can be determined based on the position, width and height of the current block. For example, if the current block position is at (x, y) and the block size is w×h. Define the two value sets αx and αy as: αx= {αx1, αx2, αx3, …, αxn} , αxi<αxj if i<j αy= {αy1, αy2, αy3, …, αyn} , αyi<αyj if i<j

[0126] All values in αx and αy are positive numbers. The pre-defined positions can be (xmid±αxi×w, ymid±αyi×h) , (xmid±αxi×w, ymid) , (xmid, ymid±αyi×h) of the previous coded slices / picture, where For example, the pre-defined positions can be (x±αxi×w, y±αyi×h) , (x±αxi×w, y) , (x, y±αyi×h) of the previous coded slices / picture.

[0127] In one sub-embodiment, the pre-defined positions can be determined based on the position, and some pre-defined fixed x-y distances. For example, let δx and δy be two fixed positive numbers. The pre-defined positions can be (xmid±αxi×δx, ymid±αyi×δy) , (xmid±αxi×δx, ymid) , (xmid, ymid±αyi×δy) of the previous coded slices / picture. For example, the pre-defined positions can be (x±αxi×δx, y±αyi×δy) , (x±αxi×δx, y) , (x, y±αyi×δy) of the previous coded slices / picture.

[0128] In one embodiment, the previous coded pictures are among the pictures in the reference lists.

[0129] In one embodiment, the previous coded pictures are the same pictures as the collocated picture of the regular inter merge mode.

[0130] In one embodiment, there can be more than one selected / pre-defined previous coded picture.

[0131] In one embodiment, the previous coded pictures can be signalled in the picture / slice header. The reference list and the reference index are signalled in the picture / slice header. For example, L0 [0] is signalled. For example, L1 [0] is signalled.

[0132] In one embodiment, the previous coded pictures are selected from a picture set with some pre-defined rules.

[0133] In one embodiment, the previous coded pictures are selected from pictures in the reference lists. The selection can be determined based on POC, and / or POC distance, and / or QP, and / or QP difference. For example, pictures with the smaller POC are selected. For example, the picture with the larger POC is selected. For example, the picture whose POC distance between it and the current picture is the smallest is selected. For example, the picture with the smaller QP is selected. For example, the picture with the larger QP is selected. For example, the picture with smaller QP difference between it and the current picture is selected. For example, the rules mentioned in previous examples can be combined.

[0134] In one embodiment, if one picture in the reference list is rescaled, i.e., the RprConstraintsActiveFlag of that picture is true, which means that picture has one or more of the following seven parameters different than that of the current picture: 1) the picture width in luma samples (pps_pic_width_in_luma_samples) , 2) the picture height in luma samples (pps_pic_height_in_luma_samples) , 3) the scaling window left offset (pps_scaling_win_left_offset) , 4) the scaling window right offset (pps_scaling_win_right_offset) , 5) the scaling window top offset (pps_scaling_win_top_offset) , 6) the scaling window bottom offset (pps_scaling_win_bottom_offset) , and 7) the number of sub pictures -1 (sps_num_subpics_minus1) , the picture cannot be selected.

[0135] In one embodiment, the previous coded picture is the most recently coded I-picture.

[0136] In one embodiment, the rules to select / not select the previous coded pictures described in the paragraphs above can be combined. For example, the picture whose QP is the smallest among the un-scaled pictures in the reference lists is selected.

[0137] In one embodiment, when the selected / pre-defined previous coded pictures are rescaled, temporal candidates are un-available.

[0138] In one embodiment, when the selected / pre-defined previous coded pictures are rescaled, the pre-defined positions can be scaled according to the scaling ratio to derive the final positions which the temporal candidates are from. The scaling ratio is derived based on the scaling window of the current picture and the selected / pre-defined previous coded pictures. Let the position be (x, y) , the scaled position be (x’, y’) and the scaling ratio be R. The scaled position can be (x / R, y / R) or (x / R, y / R) after rounding. The rounding method used can be, but not limited to, the following methods: rounding toward negative infinity, rounding toward positive infinity, rounding toward zero, or rounding to the nearest integer (e.g., rounding away from zero, rounding half up, rounding half down, …) . In one embodiment, the previous coded picture is determined based on a motion vector of a neighbouring block. The picture is the one that the motion vector indicates.

[0139] In one embodiment, the final pre-defined positions are determined based on a motion vector of a neighbouring block. The horizontal and vertical displacements (Δx, Δy) are determined based on a motion vector. Assume a set of pre-defined positions are (x1, y1) , (x2, y2) , …, (xN, yN) . The final pre-defined positions can be (x1+Δx, y1+Δy) , (x2+Δx, y2+Δy) , …, (xN+Δx, yN+Δy) .

[0140] In one embodiment, the motion vector can be L0 or L1 motion vector of a neighbouring block.

[0141] In one embodiment, the neighbouring block is the left block of the current block. In another embodiment, the neighbouring block is the above block of the current block.

[0142] In one embodiment, the neighbouring block can be at a pre-defined position. For example, the position can be at the A0 position as described in the section entitled “Spatial candidate derivation” . The pre-defined position can be at A1, B0, B1, B2. If the block at the pre-defined position is not an inter block, no neighbouring block is selected.

[0143] In one embodiment, when selecting the neighbouring block, there can be a list of pre-defined positions. For example, the positions can be the spatial position described in the section entitled “Spatial candidate derivation” . The positions are checked according to the list order. For each position, L0 motion vector is checked first, then the L1 motion vector is checked. Or for each position, L1 motion vector is checked first, then the L0 motion vector is checked. The motion vector can be the first available motion vector in the checking order. The motion vector can be the first motion vector whose reference picture is the selected / pre-defined previous coded picture. The motion vector can be the first motion vector whose reference picture is not rescaled.

[0144] In one embodiment, the horizontal and vertical displacements (Δx, Δy) are derived based on the selected neighbouring motion vector. For example, if the reference picture of the selected neighbouring motion vector and the selected / pre-defined previous coded picture are the same picture, (Δx, Δy) equal to the neighbouring motion vector or neighbouring motion vector after rounding. For another example, if the reference picture of the selected motion vector and the selected / pre-defined previous coded picture are not the same picture, (Δx, Δy) can be (mv_x * (td / tb) , mv_y * (td / tb) ) or (mv_x * (td / tb) , mv_y * (td / tb) ) after rounding, where (mv_x, mv_y) is the selected motion vector, tb is the POC distance between the current picture and the reference picture of the selected motion vector, td is the POC distance between the current picture and the selected / pre-defined previous coded picture.

[0145] In one sub-embodiment, the rounding method can be, but not limited to, the following methods: rounding toward negative infinity, rounding toward positive infinity, rounding toward zero, or rounding to the nearest integer (e.g., rounding away from zero, rounding half up, rounding half down, …) . The rounding method used can be, but not limited to, the following methods: rounding toward negative infinity, rounding toward positive infinity, rounding toward zero, or rounding to the nearest integer (e.g., rounding away from zero, rounding half up, rounding half down, …) .

[0146] In one embodiment, the temporal candidates are derived by using reconstructed samples of a block located at pre-defined positions in the selected / pre-defined previous coded picture. The size of the block can be determined by the size of the current block. For example, the size can be the same as that of the current block. The size of the block can also be fixed. For example, the size can always be MxN, where M and N are positive integers.

[0147] II. 2.1.4 Default Candidates

[0148] The default candidates are the candidates containing default information and / or the default information is derived according to the candidates already put in the merge candidate list.

[0149] In one embodiment, the OBIC default candidates can be derived by applying MIMD scheme and / or DIMD scheme and / or TIMD scheme on the current block to derive one or more intra prediction modes. The inheritance information of default candidates can include the derived intra prediction modes and / or the number of samples of the current block and / or the number of samples of the template of the current block.

[0150] II. 2.2 Re-deriving Information from Previous Coded Blocks

[0151] If the current block decides to reference the inheritance information of a previous coded block (for example, deciding a candidate from the merge candidate list) , the derivation process is applied to the reference block (i.e., the previous coded block) to re-derive the required inheritance information from that reference block. With re-deriving, the inheritance information from the previous coded block is not needed to be stored in the previous coded block. This re-derivation may replace the storing method of inheritance information or conditionally replace the storing method of inheritance information.

[0152] II. 2.3 Constraint (valid checking) on Inheritance / Re-derivation

[0153] With the constraint, when trying to obtain the inheritance information from a previous coded block, the inheritance information can only be inherited / re-derived for the current block only when the constraint is satisfied.

[0154] In one embodiment, only the inheritance information from the intra-coded, target-mode-coded, target-merge-mode-coded, target-mode-related-coded blocks, or a combination thereof can be used. In another embodiment, only the inheritance information from the blocks located within a pre-defined region can be used. For example, the pre-defined region is determined by the block position, block width, block height, and / or block area of the current block.

[0155] II. 3 Target Mode Setting and Shortcut Syntax Setting

[0156] In one embodiment, when the proposed intra merge scheme is used for the current block, the predictor-DIMD of the current block is used to select the transform set and / or the transpose flag for a primary transform and / or a secondary transform.

[0157] II. 3.1 Target Mode Setting for OBIC

[0158] When the OBIC mode is used for the current block, the current block uses the inherited OBIC information to generate the histogram of occurrence, and then use the histogram of occurrence to generate the prediction of the current block.

[0159] In one embodiment, the inheritance information can be adjusted. If the inheritance information refers to the histogram (bar) of occurrence for the available previous OBIC-coded block, the inheritance information can be adjusted to the N intra prediction modes with the highest histogram value.

[0160] In one embodiment, all or part of the candidates in the merge candidate list can be used to generate the histogram (bar) of occurrence for the current block. If the inheritance information has the histogram (bar) of occurrence of the previous OBIC-coded block, it can be added into the histogram (bar) of occurrence for the current block. If the inheritance information has intra prediction mode (s) of the previous intra-coded block and its block dimension, the histogram will be updated according to the intra prediction mode (s) .

[0161] In one embodiment, a flag is signalled to indicate whether the current block is coded by OBIC mode, and all candidates in the merge candidate list can be used to generate the histogram (bar) of occurrence for the current block.

[0162] In another embodiment, if the OBIC flag is true, a flag or syntax is further signalled to indicate which type of candidates (spatial, non-adjacent, history, temporal or default) are used for creating the merge list, and the histogram (bar) of occurrence is generated by collecting candidates of the selected types.

[0163] The term “block” in this invention can refer to TU / TB, CU / CB, PU / PB, pre-defined region, or CTU / CTB.

[0164] Any combination of the proposed methods in this invention can be applied.

[0165] The proposed methods in this invention can be enabled and / or disabled according to implicit rules (e.g. block width, height, or area) or according to explicit rules (e.g. syntax on block, tile, slice, picture, SPS, or PPS level) . For example, the proposed method is applied when the block area is smaller / larger than a threshold.

[0166] Any of the foregoing proposed methods of deriving inheritance information of OBIC from a previous coded block can be implemented in encoders and / or decoders. For example, any of the proposed methods can be implemented in an inter / intra / IBC / prediction / transform module of an encoder, and / or an inter / intra / IBC / prediction / transform module of a decoder. Alternatively, any of the proposed methods can be implemented as a circuit coupled to the inter / intra / IBC / prediction / transform module of the encoder and / or the inter / intra / IBC / prediction / transform module of the decoder, so as to provide the information needed by the inter / intra / IBC / prediction / transform module.

[0167] With reference to the encoder and decoder in Fig. 1A and Fig. 1B, any of the proposed candidate derivation method can be implemented in an Intra coding module (e.g. Intra Pred. 150 in Fig. 1B) in a decoder or an Intra coding module is an encoder (e.g. Intra Pred. 110 in Fig. 1A) . Any of the proposed methods can also be implemented as a circuit coupled to the intra coding module at the decoder or the encoder. However, the decoder or encoder may also use additional processing unit to implement the required processing. While the Intra Pred. units (e.g. unit 110 in Fig. 1A and unit 150 in Fig. 1B) are shown as individual processing units, they may correspond to executable software or firmware codes stored on a media, such as hard disk or flash memory, for a CPU (Central Processing Unit) or programmable devices (e.g. DSP (Digital Signal Processor) or FPGA (Field Programmable Gate Array) ) .

[0168] Fig. 8 illustrates a flowchart of an exemplary video coding system that derives the inheritance information from a previous coded block in a video coding system according to an embodiment of the present invention. The steps shown in the flowchart may be implemented as program codes executable on one or more processors (e.g., one or more CPUs) at the encoder side. The steps shown in the flowchart may also be implemented based hardware such as one or more electronic devices or processors arranged to perform the steps in the flowchart. According to the method, input data associated with a current block is received in step 810, wherein the input data comprise pixel data to be encoded at an encoder side or coded data associated with the current block to be decoded at a decoder side. A candidate list is derived from one or more previous coded blocks for the current block in step 820, wherein the candidate list comprises one or more history candidates and / or one or more temporal candidates, and wherein said one or more previous coded blocks generate OBIC (Occurrence-Based Intra Coding) information or has stored OBIC information. Inheritance information of OBIC is determined from the candidate list in step 830. Target prediction for the current block is generated by using the inheritance information of OBIC in step 840. The current block is encoded or decoded by using coding information comprising the target prediction in step 850.

[0169] The flowchart shown is intended to illustrate an example of video coding according to the present invention. A person skilled in the art may modify each step, re-arranges the steps, split a step, or combine steps to practice the present invention without departing from the spirit of the present invention. In the disclosure, specific syntax and semantics have been used to illustrate examples to implement embodiments of the present invention. A skilled person may practice the present invention by substituting the syntax and semantics with equivalent syntax and semantics without departing from the spirit of the present invention.

[0170] The above description is presented to enable a person of ordinary skill in the art to practice the present invention as provided in the context of a particular application and its requirement. Various modifications to the described embodiments will be apparent to those with skill in the art, and the general principles defined herein may be applied to other embodiments. Therefore, the present invention is not intended to be limited to the particular embodiments shown and described, but is to be accorded the widest scope consistent with the principles and novel features herein disclosed. In the above detailed description, various specific details are illustrated in order to provide a thorough understanding of the present invention. Nevertheless, it will be understood by those skilled in the art that the present invention may be practiced.

[0171] Embodiment of the present invention as described above may be implemented in various hardware, software codes, or a combination of both. For example, an embodiment of the present invention can be one or more circuit circuits integrated into a video compression chip or program code integrated into video compression software to perform the processing described herein. An embodiment of the present invention may also be program code to be executed on a Digital Signal Processor (DSP) to perform the processing described herein. The invention may also involve a number of functions to be performed by a computer processor, a digital signal processor, a microprocessor, or field programmable gate array (FPGA) . These processors can be configured to perform particular tasks according to the invention, by executing machine-readable software code or firmware code that defines the particular methods embodied by the invention. The software code or firmware code may be developed in different programming languages and different formats or styles. The software code may also be compiled for different target platforms. However, different code formats, styles and languages of software codes and other means of configuring code to perform the tasks in accordance with the invention will not depart from the spirit and scope of the invention.

[0172] The invention may be embodied in other specific forms without departing from its spirit or essential characteristics. The described examples are to be considered in all respects only as illustrative and not restrictive. The scope of the invention is therefore, indicated by the appended claims rather than by the foregoing description. All changes which come within the meaning and range of equivalency of the claims are to be embraced within their scope.

Claims

1.A method of video coding, the method comprising:receiving input data associated with a current block, wherein the input data comprises pixel data to be encoded at an encoder side or coded data associated with the current block to be decoded at a decoder side;deriving a candidate list from one or more previous coded blocks for the current block, wherein the candidate list comprises one or more history candidates and / or one or more temporal candidates, and wherein said one or more previous coded blocks generate OBIC (Occurrence-Based Intra Coding) information or has stored OBIC information;determining inheritance information of OBIC from the candidate list;generating target prediction for the current block by using the inheritance information of OBIC; andencoding or decoding the current block by using coding information comprising the target prediction.2.The method of Claim 1, wherein the inheritance information of OBIC from said one or more previous coded blocks is referenced by one or more subsequent blocks.3.The method of Claim 1, wherein the inheritance information of OBIC from said one or more previous coded blocks comprises one or more histogram of occurrences for one or more available OBIC modes.4.The method of Claim 1, wherein the inheritance information of OBIC from said one or more previous coded blocks comprises one or more intra prediction modes used by said one or more previous coded blocks.5.The method of Claim 1, wherein the inheritance information of OBIC from said one or more previous coded blocks comprises OBIC weighting information and / or whether to apply fusion or not.6.The method of Claim 1, wherein the inheritance information of OBIC from said one or more previous coded blocks comprises block dimension or number of samples of said one or more previous coded blocks.7.The method of Claim 1, wherein the inheritance information of OBIC from said one or more previous coded blocks comprises position of said one or more previous coded blocks.8.The method of Claim 1, wherein a merge candidate list is derived from_said one or more_previous coded blocks and the merge candidate list includes one or more spatial adjacent candidates, one or more non-adjacent candidates, one or more default candidates, or any combination thereof.9.The method of Claim 8, wherein when a new candidate is inserted into the merge candidate list, full or partial pruning is applied to the merge candidate list to avoid duplicated inheritance information.10.The method of Claim 8, wherein a flag is signalled to indicate whether the current block is coded by an OBIC mode.11.The method of Claim 10, wherein when the flag indicated the current block being coded in the OBIC mode, all or part of candidates in the merge candidate list are used to generate histogram of occurrences for the current block.12.The method of Claim 11, wherein when the flag indicated the current block being coded in the OBIC mode, another flag or syntax is further signalled to indicate a target type of candidates being used for creating the merge candidate list and the histogram of occurrences is generated based on target candidates associated with the target type of candidates.13.The method of Claim 11, wherein if inheritance information of a target candidate has the histogram of occurrences of a previous OBIC-coded block, the inheritance information of the target candidate is added into the histogram of occurrences for the current block.14.The method of Claim 11, wherein inheritance information of a target candidate is adjusted before the inheritance information of the target candidate is used to derive intra prediction for the current block.15.The method of Claim 14, wherein if the inheritance information of the target candidate comprises the histogram of occurrences for an available previous OBIC-coded block, the inheritance information of the target candidate is adjusted according to N intra prediction modes with highest histogram values and N is a positive integer.16.An apparatus of video coding, the apparatus comprising one or more electronics or processors arranged to:receive input data associated with a current block, wherein the input data comprises pixel data to be encoded at an encoder side or coded data associated with the current block to be decoded at a decoder side;derive a candidate list from one or more previous coded blocks for the current block, wherein the candidate list comprises one or more history candidates and / or one or more temporal candidates, and wherein said one or more previous coded blocks generate OBIC (Occurrence-Based Intra Coding) information or has stored OBIC information;determine inheritance information of OBIC from the candidate list;generate target prediction for the current block by using the inheritance information of OBIC; andencode or decode the current block by using coding information comprising the target prediction.

Citation Information

Patent Citations

  • Method and system for inter prediction compensation

    CN116569552A

  • Method and apparatus for encoding or decoding video

    CN117121484A

  • Motion information propagation in video coding

    US20180376164A1

  • Intra Block Copy Merge List Simplification

    US20200275093A1

  • Region-based implicit intra mode derivation and prediction

    WO2023198105A1