WO2020192717A1 - Dérivation de paramètres pour prédiction inter - Google Patents

Dérivation de paramètres pour prédiction inter Download PDF

Info

Publication number
WO2020192717A1
WO2020192717A1 PCT/CN2020/081304 CN2020081304W WO2020192717A1 WO 2020192717 A1 WO2020192717 A1 WO 2020192717A1 CN 2020081304 W CN2020081304 W CN 2020081304W WO 2020192717 A1 WO2020192717 A1 WO 2020192717A1
Authority
WO
WIPO (PCT)
Prior art keywords
samples
chroma
block
neighboring
luma
Prior art date
Application number
PCT/CN2020/081304
Other languages
English (en)
Inventor
Kai Zhang
Li Zhang
Hongbin Liu
Jizheng Xu
Yue Wang
Original Assignee
Beijing Bytedance Network Technology Co., Ltd.
Bytedance Inc.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Bytedance Network Technology Co., Ltd., Bytedance Inc. filed Critical Beijing Bytedance Network Technology Co., Ltd.
Priority to CN202211462838.3A priority Critical patent/CN115720268A/zh
Priority to CN202080024759.7A priority patent/CN113632474B/zh
Publication of WO2020192717A1 publication Critical patent/WO2020192717A1/fr

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/186Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being a colour or a chrominance component
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/103Selection of coding mode or of prediction mode
    • H04N19/105Selection of the reference unit for prediction within a chosen coding or prediction mode, e.g. adaptive choice of position and number of pixels used for prediction
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/103Selection of coding mode or of prediction mode
    • H04N19/11Selection of coding mode or of prediction mode among a plurality of spatial predictive coding modes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/119Adaptive subdivision aspects, e.g. subdivision of a picture into rectangular or non-rectangular coding blocks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/17Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
    • H04N19/176Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a block, e.g. a macroblock
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/59Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving spatial sub-sampling or interpolation, e.g. alteration of picture size or resolution
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/593Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving spatial prediction techniques
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/70Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by syntax aspects related to video coding, e.g. related to compression standards

Definitions

  • This patent document relates to video processing techniques, devices and systems.
  • CCLM cross-component linear model
  • the described methods may be applied to both the existing video coding standards (e.g., High Efficiency Video Coding (HEVC) ) and future video coding standards (e.g., Versatile Video Coding (VVC) ) or codecs.
  • HEVC High Efficiency Video Coding
  • VVC Versatile Video Coding
  • the disclosed technology may be used to provide a method for video processing.
  • the method comprises: determining, for a conversion between a current video block of a video that is a chroma block and a coded representation of the video, whether to derive maximum values and/or minimum values of a luma component and a chroma component that are used to derive parameters of a cross-component linear model (CCLM) based on availability of a left-neighboring block and an above-neighboring block of the current video block; and performing the conversion based on the determining.
  • CCLM cross-component linear model
  • the disclosed technology may be used to provide a method for video processing.
  • the method comprises: determining, for a conversion between a current video block of a video that is a chroma block and a coded representation of the video, positions at which luma samples are downsampled, wherein the downsampled luma samples are used to determine parameters of a cross-component linear model (CCLM) based on chroma samples and downsampled luma samples, wherein the downsampled luma samples are at positions corresponding to positions of the chroma samples that are used to derive the parameters of the CCLM; and performing the conversion based on the determining.
  • CCLM cross-component linear model
  • the disclosed technology may be used to provide a method for video processing.
  • the method comprises: determining, for a conversion between a current video block of a video that is a chroma block and a coded representation of the video, a method to derive parameters of a cross-component linear model (CCLM) using chroma samples and luma samples based on a coding condition associated with the current video block; and performing the conversion based on the determining.
  • CCLM cross-component linear model
  • the disclosed technology may be used to provide a method for video processing.
  • the method comprises determining, for a conversion between a current video block of a video and a coded representation of the video, parameters of a coding tool using a linear model based on selected neighboring samples of the current video block and corresponding neighboring samples of a reference block; and performing the conversion based on the determining.
  • the disclosed technology may be used to provide a method for video processing.
  • the method comprises: determining, for a conversion between a current video block of a video and a coded representation of the video, parameters of a local illumination compensation (LIC) tool based on N neighboring samples of the current video block and N corresponding neighboring samples of a reference block, wherein the N neighboring samples of the current video block are selected based on positions of the N neighboring samples; and performing the conversion based on the determining, wherein the LIC tool uses a linear model of illumination changes in the current video block during the conversion.
  • LIC local illumination compensation
  • the disclosed technology may be used to provide a method for video processing.
  • the method comprises determining, for a conversion between a current video block of a video that is a chroma block and a coded representation of the video, parameters of a cross-component linear model (CCLM) based on chroma samples and corresponding luma samples; and performing the conversion based on the determining, wherein some of the chroma samples are obtained by a padding operation and the chroma samples and the corresponding luma samples are grouped into two arrays G0 and G1, each array including two chroma samples and corresponding luma samples.
  • CCLM cross-component linear model
  • the above-described method is embodied in the form of processor-executable code and stored in a computer-readable program medium.
  • a device that is configured or operable to perform the above-described method.
  • the device may include a processor that is programmed to implement this method.
  • a video decoder apparatus may implement a method as described herein.
  • FIG. 1 shows an example of locations of samples used for the derivation of the weights of the linear model used for cross-component prediction.
  • FIG. 2 shows an example of classifying neighboring samples into two groups.
  • FIG. 3A shows an example of a chroma sample and its corresponding luma samples.
  • FIG. 3B shows an example of down filtering for the cross-component linear model (CCLM) in the Joint Exploration Model (JEM) .
  • CCLM cross-component linear model
  • JEM Joint Exploration Model
  • FIGS. 4A and 4B show examples of only top-neighboring and only left-neighboring samples used for prediction based on a linear model, respectively.
  • FIG. 5 shows an example of a straight line between minimum and maximum luma values as a function of the corresponding chroma samples.
  • FIG. 6 shows an example of a current chroma block and its neighboring samples.
  • FIG. 7 shows an example of different parts of a chroma block predicted by a linear model using only left-neighboring samples (LM-L) and a linear model using only above-neighboring samples (LM-A) .
  • FIG. 8 shows an example of a top-left neighboring block.
  • FIG. 9 shows an example of samples to be used to derive a linear model.
  • FIG. 10 shows an example of left and below-left columns and above and above-right rows relative to a current block.
  • FIG. 11 shows an example of a current block and its reference samples.
  • FIG. 12 shows examples of two neighboring samples when both left and above neighboring reference samples are available.
  • FIG. 13 shows examples of two neighboring samples when only above neighboring reference samples are available.
  • FIG. 14 shows examples of two neighboring samples when only left neighboring reference samples are available.
  • FIG. 15 shows examples of four neighboring samples when both left and above neighboring reference samples are available.
  • FIG. 16 shows an example of lookup tables used in LM derivations.
  • FIG. 17 shows an example of an LM parameter derivation process with 64 entries.
  • FIGS. 18A to 18F show flowcharts of example methods for video processing based on some implementations of the disclosed technology.
  • FIGS. 19A and 19B are block diagrams of examples of hardware platforms for implementing a visual media decoding or a visual media encoding technique described in the present document.
  • FIGS. 20A and 20B show examples of LM parameter derivation process with four entries.
  • FIG. 20A shows an example when both above and left neighboring samples are available and
  • FIG. 20B shows an example when only above neighboring samples are available and top-right is not available.
  • FIG. 21 shows examples of neighboring samples to derive LIC parameters.
  • Video codecs typically include an electronic circuit or software that compresses or decompresses digital video, and are continually being improved to provide higher coding efficiency.
  • a video codec converts uncompressed video to a compressed format or vice versa.
  • the compressed format usually conforms to a standard video compression specification, e.g., the High Efficiency Video Coding (HEVC) standard (also known as H. 265 or MPEG-H Part 2) , the Versatile Video Coding (VVC) standard to be finalized, or other current and/or future video coding standards.
  • HEVC High Efficiency Video Coding
  • VVC Versatile Video Coding
  • Embodiments of the disclosed technology may be applied to existing video coding standards (e.g., HEVC, H. 265) and future standards to improve runtime performance.
  • Section headings are used in the present document to improve readability of the description and do not in any way limit the discussion or the embodiments (and/or implementations) to the respective sections only.
  • Cross-component prediction is a form of the chroma-to-luma prediction approach that has a well-balanced trade-off between complexity and compression efficiency improvement.
  • CCLM cross-component linear model
  • LM cross-component linear model
  • L (n) represents the down-sampled (for color formats 4: 2: 0 or 4: 2: 2) or original (for color format 4: 4: 4) top and left neighboring reconstructed luma samples
  • C (n) represents the top and left neighboring reconstructed chroma samples
  • value of N is equal to twice of the minimum of width and height of the current chroma coding block.
  • FIG. 1 shows the location of the left and above reconstructed samples and the sample of the current block involved in the CCLM mode.
  • this regression error minimization computation is performed as part of the decoding process, not just as an encoder search operation, so no syntax is used to convey the ⁇ and ⁇ values.
  • the CCLM prediction mode also includes prediction between the two chroma components, e.g., the Cr (red-difference) component is predicted from the Cb (blue-difference) component.
  • the CCLM Cb-to-Cr prediction is applied in residual domain. This is implemented by adding a weighted reconstructed Cb residual to the original Cr intra prediction to form the final Cr prediction:
  • resi Cb ′ (i, j) presents the reconstructed Cb residue sample at position (i, j) .
  • the scaling factor ⁇ may be derived in a similar way as in the CCLM luma-to-chroma prediction. The only difference is an addition of a regression cost relative to a default ⁇ value in the error function so that the derived scaling factor is biased towards a default value of -0.5 as follows:
  • Cb (n) represents the neighboring reconstructed Cb samples
  • Cr (n) represents the neighboring reconstructed Cr samples
  • is equal to ⁇ (Cb (n) ⁇ Cb (n) ) >>9.
  • the CCLM luma-to-chroma prediction mode is added as one additional chroma intra prediction mode.
  • one more RD cost check for the chroma components is added for selecting the chroma intra prediction mode.
  • intra prediction modes other than the CCLM luma-to-chroma prediction mode is used for the chroma components of a CU
  • CCLM Cb-to-Cr prediction is used for Cr component prediction.
  • the single model CCLM mode employs one linear model for predicting the chroma samples from the luma samples for the whole CU, while in MMLM, there can be two models.
  • neighboring luma samples and neighboring chroma samples of the current block are classified into two groups, each group is used as a training set to derive a linear model (i.e., a particular ⁇ and ⁇ are derived for a particular group) . Furthermore, the samples of the current luma block are also classified based on the same rule for the classification of neighboring luma samples.
  • the reconstructed luma block needs to be downsampled to match the size of the chroma signal.
  • the default downsampling filter used in CCLM mode is as follows:
  • the downsampling assumes the “type 0” phase relationship as shown in FIG. 3A for the positions of the chroma samples relative to the positions of the luma samples, e.g., collocated sampling horizontally and interstitial sampling vertically.
  • the exemplary 6-tap downsampling filter defined in (6) is used as the default filter for both the single model CCLM mode and the multiple model CCLM mode.
  • the encoder can alternatively select one of four additional luma downsampling filters to be applied for prediction in a CU, and send a filter index to indicate which of these is used.
  • the four selectable luma downsampling filters for the MMLM mode are as follows:
  • Rec' L [x, y] (Rec L [2x, 2y] +Rec L [2x, 2y+1] +Rec L [2x+1, 2y] +Rec L [2x+1, 2y+1] +2) >>2 (11)
  • MDLM Multi-directional LM
  • MDLM multi-directional LM
  • two additional CCLM modes are proposed: LM-A, where the linear model parameters are derived only based on the top-neighboring (or above-neighboring) samples as shown in FIG. 4A, and LM-L, where the linear model parameters are derived only based on the left-neighboring samples as shown in FIG. 4B.
  • This existing implementation proposes to replace the LMS algorithm of the linear model parameters ⁇ and ⁇ by a straight line equation, so called two-point method.
  • the 2 points (couple of Luma and Chroma) (A, B) are the minimum and maximum values inside the set of neighboring Luma samples as depicted in FIG. 5.
  • the division operation needed in the derivation of ⁇ is avoided and replaced by multiplications and shifts as below:
  • S is set equal to iShift
  • is set equal to a
  • is set equal to b.
  • g_aiLMDivTableLow and g_aiLMDivTableHigh are two tables each with 512 entries, wherein each entry stores a 16-bit integer.
  • the multiplication is replaced by an integer operation as the following:
  • This implementation is also simpler than the current VTM implementation because shift S always has the same value.
  • CCLM as in JEM is adopted in VTM-2.0, but MM-CCLM in JEM is not adopted in VTM-2.0. MDLM and simplified CCLM have been adopted into VTM-3.0.
  • LIC Local Illumination Compensation
  • CU inter-mode coded coding unit
  • a least square error method is employed to derive the parameters a and b by using the neighbouring samples of the current CU and their corresponding reference samples. More specifically, as illustrated in FIG. 21, the subsampled (2: 1 subsampling) neighbouring samples of the CU and the corresponding pixels (identified by motion information of the current CU or sub-CU) in the reference picture are used. The IC parameters are derived and applied for each prediction direction separately.
  • the LIC flag is copied from neighbouring blocks, in a way similar to motion information copy in merge mode; otherwise, an LIC flag is signalled for the CU to indicate whether LIC applies or not.
  • LIC When LIC is enabled for a pciture, addtional CU level RD check is needed to determine whether LIC is applied or not for a CU.
  • MR-SAD mean-removed sum of absolute diffefference
  • MR-SATD mean-removed sum of absolute Hadamard-transformed difference
  • LIC is disabled for the entire picture when there is no obvious illumination change between a current picture and its reference pictures.
  • histograms of a current picture and every reference picture of the current picture are calculated at the encoder. If the histogram difference between the current picture and every reference picture of the current picture is smaller than a given threshold, LIC is disabled for the current picture; otherwise, LIC is enabled for the current picture.
  • Embodiments of the presently disclosed technology overcome drawbacks of existing implementations, thereby providing video coding with higher coding efficiencies and lower computational complexity.
  • Simplified linear model derivations for cross-component prediction may enhance both existing and future video coding standards, is elucidated in the following examples described for various implementations.
  • the examples of the disclosed technology provided below explain general concepts, and are not meant to be interpreted as limiting. In an example, unless explicitly indicated to the contrary, the various features described in these examples may be combined.
  • the term “LM method” includes, but is not limited to, the LM mode in JEM or VTM, and MMLM mode in JEM, left-LM mode which only uses left neighboring samples to derive the linear model, the above-LM mode which only uses above neighboring samples to derive the linear model or other kinds of methods which utilize luma reconstruction samples to derive chroma prediction blocks. All LM modes which are not the LM-L nor the LM-A are called normal LM modes.
  • Shift (x, s) (x+off) >>s
  • SignShift (x, s) is defined as
  • off is an integer such as 0 or 2 s-1 .
  • the height and width of a current chroma block are denoted H and W, respectively.
  • FIG. 6 shows an example of neighboring samples of the current chroma block. Let the coordinate of the top-left sample of the current chroma block be denoted as (x, y) . Then, the neighboring chroma samples (as shown in FIG. 6) are denoted as:
  • Example 1 The parameters ⁇ and ⁇ in LM methods are derived from chroma samples at two or more specific positions.
  • the derivation is also dependent on the corresponding down-sampled luma samples of selected chroma samples. Alternatively, the derivation is also dependent on the corresponding luma samples of selected chroma samples such as when it is 4: 4: 4 color format.
  • ⁇ and ⁇ in CCLM are derived from chroma samples at:
  • K may be 2, 4, 6 or 8.
  • the selected positions can be fixed, or they can be adaptive.
  • which positions are selected may depend on the width and height of the current chroma block
  • which positions are selected may be signaled from the encoder to the decoder, such as in VPS/SPS/PPS/slice header/tile group header/tile/CTU/CU/PU.
  • the selected chroma samples are used to derive the parameters ⁇ and ⁇ with the least mean square method as shown in Eq (2) and Eq (3) .
  • N is set to be the number of the selected samples.
  • a pair of selected chroma samples are used to derive the parameters ⁇ and ⁇ with the two-point method.
  • how to select samples may depend on the availability of the neighboring blocks.
  • positions A, D, J and M are selected if both the left and the above neighboring blocks are available; position A and D are selected if only the left neighboring block is available; and position J and M are selected if only the above neighboring block is available.
  • Example 2 Sets of parameters in CCLM mode can be firstly derived and then combined to form the final linear model parameter used for coding one block.
  • ⁇ 1 and ⁇ 1 are derived from a group of chroma samples at specific positions denoted as Group 1
  • ⁇ 2 and ⁇ 2 are derived from a group of chroma samples at specific positions denoted as Group 2
  • ⁇ N and ⁇ N are derived from a group of chroma samples at specific positions denoted as Group N
  • the final ⁇ and ⁇ can be derived from ( ⁇ 1 , ⁇ 1 ) , ... ( ⁇ N , ⁇ N ) .
  • is calculated as the average of ⁇ 1 , ... ⁇ N and ⁇ is calculated as the average of ⁇ 1 , ... ⁇ N .
  • SignShift ( ⁇ 1 + ⁇ 2 , 1)
  • SignShift ( ⁇ 1 + ⁇ 2 , 1) .
  • Shift ( ⁇ 1 + ⁇ 2 , 1)
  • Shift ( ⁇ 1 + ⁇ 2 , 1) .
  • ⁇ 1 SignShift ( ⁇ 1 , Sh 1 -Sh 2 )
  • ⁇ 1 SignShift ( ⁇ 1 , Sh 1 -Sh 2 )
  • the final precision is as ( ⁇ 2 , ⁇ 2 ) .
  • Group 1 Position A and D
  • Group 2 Position J and M.
  • Group 1 Position A and I
  • Group 2 Position J and Q.
  • Group 1 Position A and D
  • Group 2 Position E and I, where there are two groups are used for mode LM-L.
  • Group 1 Position J and M
  • Group 2 Position N and Q, where there are two groups are used for mode LM-A.
  • Group 1 Position A and B
  • Group 2 Position C and D, where there are two groups are used for mode LM-L.
  • Group 1 Position J and K
  • Group 2 Position L and M, where there are two groups are used for mode LM-A.
  • Example 3 Suppose two chroma sample values denoted as C0 and C1, and their corresponding luma sample values denoted as L0 and L1 (L0 ⁇ L1) are inputs.
  • the two-point method can derive ⁇ and ⁇ with the input as
  • bit depths of luma samples and chroma samples are denoted BL and BC.
  • One or more simplifications for this implementation include:
  • is output as 0 if L1 is equal to L0.
  • a certain intra prediction mode e.g., DM mode, DC or planar
  • CCLM mode e.g., DC or planar
  • log2 operation may be implemented by checking position of the most significant digit.
  • Example i or Example ii may be selected based on the value of L1-L0.
  • Example i is used if L1-L0 ⁇ T, otherwise Example ii is used.
  • T can be
  • Example i is used if otherwise Example ii is used.
  • Example i is used if otherwise Example ii is used.
  • V The size of the lookup table denoted as V is less than 2 P , where P is an integer number such as 5, 6, or 7.
  • W depends on BL, V and Z.
  • W also depends on the value of L1-L0.
  • Sh can be a fixed number, or it may depend on the values of C0, C1, L0, L1 used to calculated ⁇ and ⁇ .
  • Sh may depend on BL, BC, V, S and D.
  • (b) D may depend on Sh.
  • V The size of the lookup table denoted as V is equal to 2 P , where P is an integer number such as 5, 6, 7 or 8. Alternatively, V is set to 2 P -M (e.g., M is equal to 0) .
  • k is valid in a specific range [kMin, kMax] .
  • W may depend on BL, V and Z.
  • W may depend on the value of Q.
  • k is derived in different ways with different values of Q.
  • k Shift (Q, W) when Q > kMax.
  • W is chosen as the smallest positive integer that makes Shift (Q, W) no greater than kMax.
  • k Min (kMax, Q) .
  • k Max (kMin, Min (kMax, Q) ) .
  • is set to be a default value such as 0 or 1.
  • K can be 8, 10, 12, 16, 24 or 32.
  • an intermedia variable may exceed the range represented by the constrained bits, it should be clipped or right shifted to be within the constrained bits.
  • One single chroma block may use multiple linear models and the selection of multiple linear model is dependent on the position of chroma samples within the chroma block.
  • LM-L and LM-A mode can be combined in a single chroma block.
  • some samples are predicted by LM-L mode and other samples are predicted by LM-A mode.
  • Fig. 7 shows an example.
  • the top-left sample is at position (0, 0) .
  • iv. w1 and w2 may depend on the position (x, y)
  • Example 5 It is proposed that the neighboring samples (including chroma samples and their corresponding luma samples, which may be down-sampled) are divided into N groups.
  • f1, f2, f3 and f4 are functions.
  • the two-point method derives ⁇ and ⁇ with the input as:
  • f1, f2, f3, f4 all represent the averaging function.
  • ii. S0, S1, ...Sm are indices of selected groups which are used to calculate ⁇ and ⁇ .
  • samples (or down-sampled samples) located at above rows may be classified to one group and samples (or down-sampled samples) located at left columns of a block may be classified to another group.
  • samples are classified based on their locations or coordinates.
  • samples may be classified into two groups.
  • MaxL MaxLS0
  • MaxC MaxCS0
  • the number of groups (e.g., N) and/or the selected group indices and/or functions (f1/f2/f3/f4) may be pre-defined or signaled in SPS/VPS/PPS/picture header/slice header/tile group header/LCUs/LCU/CUs.
  • how to select the samples for each group may depend the availability of neighboring blocks.
  • MaxL /MaxC and MinL /MinC are directly found from position A and D when only the left neighboring block is available.
  • MaxL /MaxC and MinL /MinC are directly found from position J and M when only the above neighboring block is available.
  • how to select the samples for each group may depend the width and height of the block.
  • how to select the samples for each group may depend on the values of samples.
  • the two samples with the largest luma value and minimum luma value are picked out to be in a first group. And all other samples are in a second group.
  • Example 6 It is proposed that whether and how to apply LM-L and LM-A mode may depend on the width (W) and height (H) of the current block.
  • Example 7 A flag is signaled to indicate whether CCLM mode is applied.
  • the context used in arithmetic coding to code the flag may depend on whether the top-left neighboring block as shown in FIG. 8 applies CCLM mode or not.
  • a first context is used if the top-left neighboring block applies CCLM mode; and a second context is used if the top-left neighboring block does not apply CCLM mode.
  • Example 8 Indications or codewords of DM and LM modes may be coded in different orders from sequence to sequence/picture to picture/tile to tile/block to block.
  • the coding order of indications of LM and DM may be depend on the mode information of one or multiple neighboring blocks.
  • indications of the order may be signaled in in SPS/VPS/PPS/picture header/slice header/tile group header/LCUs/LCU/CUs.
  • samples may be located beyond the range of 2 ⁇ W above neighboring samples or 2 ⁇ H left neighboring samples as shown in FIG. 6.
  • LM mode With LM mode or LM-L mode, it may use a neighboring sample RecC [x-1, y+d] , where d is in the range of [T, S] .
  • T may be smaller than 0, and S may be larger than 2H-1.
  • LM mode or LM-A mode it may use a neighboring sample RecC [x+d, y] , where d is in the range of [T, S] .
  • T may be smaller than 0, and S may be larger than 2W-1.
  • Example 10 the chroma neighboring samples and their corresponding luma samples (may be down-sampled) are down-sampled before deriving the linear model parameters ⁇ and ⁇ as disclosed in Examples 1-7.
  • the width and height of the current chroma block is W and H.
  • whether and how to conduct down-sampling may depend on W and H.
  • the number of neighboring samples used to derive the parameters left to the current block, and the number of neighboring samples used to derive the parameters above to the current block should be the same after the down-sampling process.
  • the chroma neighboring samples and their corresponding luma samples are not down-sampled if W is equal to H.
  • the chroma neighboring samples and their corresponding luma samples (may be down-sampled) left to the current block are down-sampled if W ⁇ H.
  • one chroma sample in each H/W chroma samples are picked to be used for deriving ⁇ and ⁇ .
  • Other chroma samples are discarded. For example, suppose R [0, 0] represents the top-left sample of the current block, then R [-1, K*H/W] , K from 0 to W-1, are picked to be used for deriving ⁇ and ⁇ .
  • the chroma neighboring samples and their corresponding luma samples (may be down-sampled) above to the current block are down-sampled if W > H.
  • one chroma sample in each W/H chroma samples are picked to be used for deriving ⁇ and ⁇ .
  • Other chroma samples are discarded. For example, suppose R [0, 0] represents the top-left sample of the current block, then R [K*W/H, -1] , K from 0 to H-1, are picked to be used for deriving ⁇ and ⁇ .
  • FIG. 9 shows examples of samples to be picked up when position D and position M in FIG. 6 are used to derive ⁇ and ⁇ , and down-sampling performed when W>H.
  • Example 11 Neighboring downsampled/originally reconstructed samples and/or downsampled/originally reconstructed samples may be further refined before being used in the linear model prediction process or cross-color component prediction process.
  • (a) “To be refined” may refer to a filtering processing.
  • S neighboring luma samples (maybe down-sampled) denoted as Lx1, Lx2, ..., LxS, and their corresponding chroma samples denoted as Cx1, Cx2, ...CxS are used to derive C0 and L0
  • T neighboring luma samples (maybe down-sampled) denoted as Ly1, Ly2, ..., LyT, and their corresponding chroma samples denoted as Cy1, Cy2, ...CyT are used to derive C1 and L1 as:
  • f0, f1, f2 and f3 are any functions.
  • f0 is identical to f1.
  • f2 is identical to f3.
  • f0 f1 f2 f3 are identical.
  • the set ⁇ x1, x2, ...xS ⁇ is identical to the set ⁇ y1, y2, ..., yT ⁇ .
  • Lx1, Lx2, ..., LxS are chosen as the smallest S luma samples of a group of luma samples.
  • the group of luma samples includes all neighboring samples used in VTM-3.0 to derive CCLM linear parameters.
  • the group of luma samples includes partial neighboring samples used in VTM-3.0 to derive CCLM linear parameters.
  • the group of luma samples includes four samples as shown in Fig. 2-5.
  • Ly1, Ly2, ..., LyS are chosen as the largest S luma samples of a group of luma samples.
  • the group of luma samples includes all neighboring samples used in VTM-3.0 to derive CCLM linear parameters.
  • the group of luma samples includes partial neighboring samples used in VTM-3.0 to derive CCLM linear parameters.
  • the group of luma samples includes four samples as shown in FIGS. 2-5.
  • Example 12 It is proposed to select other neighboring or downsampled neighboring samples based on the largest neighboring or downsampled neighboring sample in a given set of neighboring or downsampled neighboring samples.
  • samples are representing samples of one color component (e.g., luma color component) .
  • Samples used in CCLM/cross-color component process may be derived by corresponding coordinates of a second color component.
  • Example 13 In above examples, luma and chroma may be switched. Alternatively, luma color component may be replaced by the main color component (e.g., G) , and chroma color component may be replaced by dependent color component (e.g., B or R) .
  • main color component e.g., G
  • chroma color component may be replaced by dependent color component (e.g., B or R) .
  • Example 14 Selection of locations of chroma samples (and/or corresponding luma samples) may depend on the coded mode information.
  • FIG. 10 depicts the concepts of left column/above row/above-right row/below-left column relative to a block.
  • two samples may be selected.
  • the selected samples may be located at (suppose the top-left coordinate of the current block is (x, y) ) :
  • top-right row is available, or when 1st top-right sample is available.
  • top-right row is available, or when 1st top-right sample is available.
  • two samples of left column may be selected
  • the selected samples may be located at:
  • the current mode when the current mode is the LM-A mode, it may choose samples according to Example 11 (d) (ii) .
  • the luma selected samples may be grouped to 2 groups, one is with the largest value and smallest value of all selected samples, the other group is with all remaining samples.
  • Example 15 In above examples, luma and chroma may be switched. Alternatively, luma color component may be replaced by the main color component (e.g., G) , and chroma color component may be replaced by dependent color component (e.g., B or R) .
  • main color component e.g., G
  • chroma color component may be replaced by dependent color component (e.g., B or R) .
  • Example 16 It is proposed to select the above neighbouring chroma samples (and/or their corresponding luma samples which may be down-sampled) based on a first position offset value (denoted as F) and a step value (denoted as S) .
  • F first position offset value
  • S step value
  • W may be set to the width of current block.
  • W may be set to (L*width of current block) wherein L is an integer value.
  • W may be set to the width of current block.
  • W may be set to (L*width of current block) wherein L is an integer value.
  • L may be dependent on the availability of top-right block. Alternatively, L may depend on the availability of one top-left sample.
  • W may depend on the coded mode.
  • W may be set to the width of current block if the current block is coded as LM mode
  • W may be set to (L*width of current block) wherein L is an integer value if the current block is coded as LM-A mode.
  • L may be dependent on the availability of top-right block. Alternatively, L may depend on the availability of one top-left sample.
  • F W/P.
  • P is an integer.
  • P 2 i , where i is an integer such as 1 or 2.
  • S W/Q.
  • Q is an integer.
  • Q 2 j , where j is an integer such as 1 or 2.
  • F S/R.
  • R is an integer.
  • R 2 m , where m is an integer such as 1 or 2.
  • S F/Z.
  • Z is an integer.
  • Z 2 n , where n is an integer such as 1 or 2.
  • j. kMax and/or F and/or S and/or offset may depend on the prediction mode (such as LM, LM-A or LM-L) of the current block;
  • k. kMax and/or F and/or S and/or offset may depend on the width and/or height of the current block.
  • l. kMax and/or F and/or S and/or offset may depend on availability of neighbouring samples.
  • m. kMax and/or F and/or S and/or offset may depend on W.
  • Example 17 It is proposed to select the left neighbouring chroma samples (and/or their corresponding luma samples which may be down-sampled) based on a first position offset value (denoted as F) and a step value (denoted as S) .
  • F first position offset value
  • S step value
  • H may be set to the height of current block.
  • H may be set to (L*height of current block) wherein L is an integer value.
  • H may be set to the height of current block.
  • H may be set to (L*height of current block) wherein L is an integer value.
  • L may be dependent on the availability of below-left block. Alternatively, L may be dependent on the availability of one below-left sample.
  • H may be set to (height of current block + width of the current block) if the required above-right neighbouring blocks are available.
  • H may depend on the coded mode.
  • W may be set to (L*height of current block) wherein L is an integer value if the current block is coded as LM-L mode.
  • L may be dependent on the availability of below-left block. Alternatively, L may depend on the availability of one top-left sample.
  • W may be set to (height of current block + width of the current block) if the required below-left neighbouring blocks are available.
  • F H/P.
  • P is an integer.
  • P 2 i , where i is an integer such as 1 or 2.
  • S H/Q.
  • Q is an integer.
  • Q 2 j , where j is an integer such as 1 or 2.
  • F S/R.
  • R is an integer.
  • R 2 m , where m is an integer such as 1 or 2.
  • S F/Z.
  • Z is an integer.
  • Z 2 n , where n is an integer such as 1 or 2.
  • j. kMax and/or F and/or S and/or offset may depend on the prediction mode (such as LM, LM-A or LM-L) of the current block;
  • k. kMax and/or F and/or S and/or offset may depend on the width and/or height of the current block.
  • m. kMax and/or F and/or S and/or offset may depend on availability of neighbouring samples.
  • Example 18 It is proposed two or four neighbouring chroma samples (and/or their corresponding luma samples which may be down-sampled) are selected to derive the linear model parameters.
  • maxY/maxC and minY/minC are derived from two or four neighbouring chroma samples (and/or their corresponding luma samples which may be down-sampled) , and are then used to derive the linear model parameters with the 2-point approach.
  • minY is set to be the smaller luma sample value and minC is its corresponding chroma sample value;
  • maxY is set to be the larger luma sample value and maxC is its corresponding chroma sample value.
  • the luma samples and their corresponding chroma samples are divided into two arrayes G0 and G1, each contains two luma samples and their corresponding luma samples.
  • Luma sample value of G0 [0] and G0 [1] are compared, if luma sample value of G0 [0] is larger than luma sample value of G0 [1] , the luma sample and its corresponding chroma sample of G0 [0] are swapped with those onf G0 [1] .
  • Luma sample value of G1 [0] and G1 [1] are compared, if luma sample value of G1 [0] is larger than luma sample value of G1 [1] , the luma sample and its corresponding chroma sample of G1 [0] are swapped with those onf G1 [1] .
  • Luma sample value of G0 [0] and G1 [1] are compared, if luma sample value of G0 [0] is larger than (or smaller than, or not larger than, or not smaller than) luma sample value of G1 [1] , then G0 and G1 are swapped.
  • Luma sample value of G0 [0] and G1 [0] are compared, if luma sample value of G0 [0] is larger than (or smaller than, or not larger than, or not smaller than) luma sample value of G1 [0] , then G0 and G1 are swapped.
  • Luma sample value of G0 [1] and G1 [0] are compared, if luma sample value of G0 [1] is larger than (or smaller than, or not larger than, or not smaller than) luma sample value of G1 [0] , then G0 and G1 are swapped.
  • Luma sample value of G0 [1] and G1 [1] are compared, if luma sample value of G0 [1] is larger than (or smaller than, or not larger than, or not smaller than) luma sample value of G1 [1] , then G0 and G1 are swapped.
  • Luma sample value of G0 [0] and G1 [1] are compared, if luma sample value of G0 [0] is larger than (or smaller than, or not larger than, or not smaller than) luma sample value of G1 [1] , then G0 [0] and G1 [1] are swapped.
  • Luma sample value of G0 [0] and G1 [0] are compared, if luma sample value of G0 [0] is larger than (or smaller than, or not larger than, or not smaller than) luma sample value of G1 [0] , then G0 [0] and G1 [0] are swapped.
  • Luma sample value of G0 [1] and G1 [0] are compared, if luma sample value of G0 [1] is larger than (or smaller than, or not larger than, or not smaller than) luma sample value of G1 [0] , then G0 [1] and G1 [0] are swapped.
  • Luma sample value of G0 [1] and G1 [1] are compared, if luma sample value of G0 [1] is larger than (or smaller than, or not larger than, or not smaller than) luma sample value of G1 [1] , then G0 [1] and G1 [1] are swapped.
  • maxY is calculated as the average of luma sample values of G0 [0] and G0 [1]
  • maxC is calculated as the average of chroma sample values of G0 [0] and G0 [1] .
  • maxY is calculated as the average of luma sample values of G1 [0] and G1 [1]
  • maxC is calculated as the average of chroma sample values of G1 [0] and G1 [1] .
  • minY is calculated as the average of luma sample values of G0 [0] and G0 [1]
  • minC is calculated as the average of chroma sample values of G0 [0] and G0 [1] .
  • minY is calculated as the average of luma sample values of G1 [0] and G1 [1]
  • minC is calculated as the average of chroma sample values of G1 [0] and G1 [1] .
  • chroma samples if there are only two neighbouring chroma samples (and/or their corresponding luma samples which may be down-sampled) are available, they are first padded to be four chroma samples (and/or their corresponding luma samples) , then the four chroma samples (and/or their corresponding luma samples) are used to derive the CCLM parameters.
  • two padding chroma samples are copied from the two available neighbouring chroma samples (and/or their corresponding luma samples which may be down-sampled)
  • Example 19 In all above examples, the selected chroma samples shall be located within the above row (i.e., with W samples) as depicted in FIG. 10, and/or the left column (i.e., with H samples) wherein W and H are the width and height of the current block.
  • the selected chroma samples shall be located within the above row (i.e., with W samples) and above-right row with H samples.
  • the above restriction may be applied when the current block is coded with the LM-A mode.
  • the above restriction may be applied when the current block is coded with the LM-A mode or the normal LM mode with above row available but left column is unavailable.
  • the selected chroma samples shall be located within the left column (i.e., with H samples) and below-left column with W samples.
  • the above restriction may be applied when the current block is coded with the LM-L mode.
  • the above restriction may be applied when the current block is coded with the LM-L mode or the normal LM mode with above row unavailable but left column is available.
  • bit-dpeth such as 8-bit or 10-bit
  • Whether to derive the maximum/minimum values of luma and chroma components used to derive CCLM parameters may depend on the availability of left and above neighbours. For example, the maximum/minimum values for luma and chroma components used to derive CCLM parameters may not be derived if both the left and above neighbouring blocks are unavailable.
  • the proposed method to derive the parameters used in CCLM may be used to derive the parameters used in LIC or other coding tools that relies on linear model.
  • the samples utilized for LIC parameter derivation may exclude samples certain positions in the above row and/or left column.
  • the samples utilized for LIC parameter derivation may exclude the first one in the above row.
  • the samples utilized for LIC parameter derivation may exclude the first one in the left column.
  • N neighbouring samples (which may be down-sampled) of the current block and N corresponding neighbouring samples (which may be down-sampled correspondingly) of the reference block may be used to derive the parameters used for LIC.
  • N is 4.
  • the N neighboring samples may be defined as N/2 samples from above row; and N/2 samples from left column.
  • the N neighboring samples may be defined as N samples from above row or left column.
  • N is equal to min (L, T) , where T is the total number of available neighbouring samples (which may be down-sampled) of the current block.
  • L is set to 4
  • the selection of the coordinates of the N samples may follow the rule for selecting N samples in the CCLM process.
  • the selection of the coordinates of the N samples may follow the rule for selecting N samples in the LM-A process.
  • the selection of the coordinates of the N samples may follow the rule for selecting N samples in the LM-L process.
  • how to select the N samples may depend on the availability of above row/left column.
  • the N neighbouring samples (which may be down-sampled) of the current block and the N corresponding neighbouring samples (which may be down-sampled correspondingly) of the reference block are used to derive the parameters used in LIC, may be picked up based on sample positions.
  • the picking up method may depend on width and height of the current block.
  • the picking up method may depend on the availability of the neighbouring blocks.
  • K1 neighbouring samples may be picked up from the left neighbouring samples and K2 neighbouring samples are picked up from the above neighbouring samples, if both above and left neighbouring samples are available.
  • K1 neighbouring samples may be picked up from the left neighbouring samples if only left neighbouring samples are available.
  • K1 4.
  • K2 neighbouring samples may be picked up from the above neighbouring samples if only above neighbouring samples are available.
  • K2 4.
  • the above samples may be picked up with a first position offset value (denoted as F) and a step value (denoted as S) which may depend on the dimension of the current block and the availability of the neighbouring blocks.
  • F first position offset value
  • S step value
  • the left samples may be picked up with a first position offset value (denoted as F) and a step value (denoted as S) which may depend on the dimension of the current block and the availability of the neighboring blocks.
  • F first position offset value
  • S step value
  • the proposed method to derive the parameters used in CCLM may also be used to derive the parameters used in LIC, when the current block is affine-coded.
  • the above methods may be used to derive the parameters used in other coding tools that relies on linear model.
  • cross-component prediction mode is proposed wherein the chroma samples are predicted with corresponding reconstructed luma samples according to the prediction model, as shown in Eq. 12.
  • Pred C (x, y) denotes a prediction sample of chroma.
  • ⁇ and ⁇ are two model parameters.
  • Rec’L (x, y) is a down-sampled luma sample.
  • a six-tap filter is introduced for the luma down-sampled process for block A in FIG. 11, as shown in Eq. 13.
  • Rec′ L (x, y) (2 ⁇ Rec L (2x, 2y) +2 ⁇ Rec L (2x, 2y+1)
  • the above surrounding luma reference samples shaded in FIG. 11 are down-sampled with a 3-tap filter, as shown in Eq. 14.
  • the left surrounding luma reference samples are down-sampled according to Eq. 15. If the left or above samples are not available, a 2-tap filter defined in Eq. 16 and Eq. 17 will be used.
  • Rec′ L (x, y) (2 ⁇ Rec L (2x, 2y) +Rec L (2x-1, 2y) +Rec L (2x+1, 2y) ) >>2 (14)
  • Rec′ L (x, y) (2 ⁇ Rec L (2x, 2y) +Rec L (2x, 2y+1) +Rec L (2x, 2y-1) ) >>2 (15)
  • Rec′ L (x, y) (3 ⁇ Rec L (2x, 2y) +Rec L (2x+1, 2y) +2) >>2 (16)
  • Rec′ L (x, y) (3 ⁇ Rec L (2x, 2y) +Rec L (2x, 2y+1) +2) >>2 (17)
  • the surrounding luma reference samples are down sampled to the equal size to the chroma reference samples.
  • the size is denoted as width and height.
  • a look-up table is applied to avoid the division operation when deriving ⁇ and ⁇ . The derivation methods is illustrated below.
  • a chroma prediction model is derived according to the luminance and chrominance values of selected samples.
  • FIG. 15 shows some examples of different width and height ratio (1, 2, 4 and 8, respectively) . The selected samples are shaded.
  • FIG. 16 shows an example of lookup tables with 128, 64 and 32 entries and each entry is represented by 16 bits.
  • the 2-point LM derivation process is simplified as shown in Table 1 and FIG. 17 with 64 entries. It should be noted that the first entry may not be stored into the table.
  • each entry in the exemplary tables are designed to be with 16 bits, it can be easily transformed to a number with less bits (such as 8 bits or 12 bits) .
  • a table of entries with 8 bits can be attained as:
  • g_aiLMDivTableHighSimp_64_8 [i] (g_aiLMDivTableHighSimp_64 [i] +128) >> 8.
  • a table of entries with 12 bits can be attained as:
  • g_aiLMDivTableHighSimp_64_12 [i] (g_aiLMDivTableHighSimp_64 [i] +8) >> 4.
  • maxLuma and minLuma may indicate the maximum and minimum luma samples values of selected positions. Alternatively, they may indicate a function of maximum and minimum luma samples values of selected positions, such as averaging. When there are only 4 positions selected, they may also indicate the average of two larger luma values and average of two smaller luma values. Further note that in FIG. 17, maxChroma and minChroma represents the chroma values corresponding to maxLuma and minLuma.
  • the block width and height of current chroma block is W and H, respectively.
  • the top-left coordinate of current chroma block is [0, 0] .
  • the two above samples’ coordinates are [floor (W/4) , -1] and [floor (3*W/4) , -1] .
  • the two left samples’ coordinates are [-1, floor (H/4) ] and [-1, floor (3*H/4) ] .
  • the selected samples are painted in red as depicted in FIG. 20A.
  • the 4 samples are sorted according to luma sample intensity and classified into 2 group.
  • the two larger samples and two smaller samples are respectively averaged.
  • Cross component prediction model is derived with the 2 averaged points.
  • the maximum and minimum value of the four samples are used to derive the LM parameters.
  • the four selected above samples’ coordinates are [W/8, -1] , [W/8 + W/4, -1] , [W/8 + 2*W/4, -1] , and [W/8 + 3*W/4 , -1] .
  • the selected samples are painted in red as depicted in FIG. 20B
  • the four selected left samples’ coordinates are [-1, H/8] , [-1, H/8 + H/4] , [-1, H/8 + 2*H/4, -1] , and [-1, H/8 + 3*H/4] .
  • W’ is the available number of above neighbouring samples, which can be 2*W.
  • the four selected above samples’ coordinates are [W’/8, -1] , [W’/8 + W’/4, -1] , [W’/8 + 2*W’/4, -1] , and [W’/8 + 3*W’/4 , -1] .
  • H’ is the available number of left neighbouring samples, which can be 2*H.
  • the four selected left samples’ coordinates are [-1, H’/8] , [-1, H’/8 + H’/4] , [-1, H’/8 + 2*H’/4, -1] , and [-1, H’/8 + 3*H’/4] .
  • the current luma location (xTbY, yTbY) is derived as follows:
  • predModeIntra is equal to INTRA_LT_CCLM, the following applies:
  • variable bCTUboundary is derived as follows:
  • variable minY is set equal to 1 ⁇ (BitDepth Y ) + 1 and the variable maxY is set equal to -1.
  • variable arrays startPos [] and pickStep [] are derived as follows:
  • startPos [0] actualTopTemplateSampNum >> (2 + aboveIs4) ;
  • startPos [1] actualLeftTemplateSampNum >> (2 + leftIs4) ;
  • nSX is set equal to nTbW, nSY is set equal to nTbH; Otherwise, nSX is set equal to numSampLT and nSY is set equal to numSampL.
  • minY is set equal to selectLumaPix [1]
  • minC is set equal to selectChromaPix [1]
  • maxY is set equal to selectLumaPix [0]
  • maxC is set equal to selectChromaPix [0]
  • minY is set equal to selectLumaPix [0]
  • minC is set equal to selectChromaPix [0]
  • variable arrays minGrpIdx and maxGrpIdx are initialized as:
  • the number of available neighbouring chroma samples on the top and top-right numTopSamp and the number of available neighbouring chroma samples on the left and left-below nLeftSamp are derived as follows:
  • predModeIntra is equal to INTRA_LT_CCLM, the following applies:
  • variable bCTUboundary is derived as follows:
  • variable cntN and array pickPosN [] with N being replaced by L and T are derived as follows:
  • variable startPosN is set equal to numSampN >> (2 + numIs4N) .
  • variable pickStepN is set equal to Max (1, numSampN >> (1 + numIs4N) ) .
  • cntN is set equal to (1 + numIs4N) ⁇ 1
  • cntN is set equal to 0.
  • nTbH -1 is derived as follows:
  • nTbH -1 is derived as follows:
  • nTbW -1 is derived as follows:
  • nTbW -1 is derived as follows:
  • pDsY [0] [0] is derived as follows:
  • nTbH -1 is derived as follows:
  • nTbH -1 is derived as follows:
  • the variable y is set equal to pickPosL [idx] .
  • variable x is set equal to pickPosT [idx -cntL] .
  • normDiff ( (diff ⁇ 4) >> x) &15 (8-214)
  • the number of available neighbouring chroma samples on the top and top-right numTopSamp and the number of available neighbouring chroma samples on the left and left-below nLeftSamp are derived as follows:
  • predModeIntra is equal to INTRA_LT_CCLM, the following applies:
  • variable bCTUboundary is derived as follows:
  • variable cntN and array pickPosN [] with N being replaced by L and T are derived as follows:
  • variable startPosN is set equal to numSampN >> (2 + numIs4N) .
  • variable pickStepN is set equal to Max (1, numSampN >> (1 + numIs4N) ) .
  • cntN is set equal to Min (numSampN, (1 + numIs4N) ⁇ 1)
  • cntN is set equal to 0.
  • nTbH -1 is derived as follows:
  • nTbH -1 is derived as follows:
  • nTbW -1 is derived as follows:
  • nTbW -1 is derived as follows:
  • pDsY [0] [0] is derived as follows:
  • nTbH -1 is derived as follows:
  • nTbH -1 is derived as follows:
  • the variable y is set equal to pickPosL [idx] .
  • variable x is set equal to pickPosT [idx -cntL] .
  • normDiff ( (diff ⁇ 4) >> x) &15 (8-214)
  • the number of available neighbouring chroma samples on the top and top-right numTopSamp and the number of available neighbouring chroma samples on the left and left-below nLeftSamp are derived as follows:
  • predModeIntra is equal to INTRA_LT_CCLM, the following applies:
  • variable bCTUboundary is derived as follows:
  • variable cntN and array pickPosN [] with N being replaced by L and T are derived as follows:
  • variable startPosN is set equal to numSampN >> (2 + numIs4N) .
  • variable pickStepN is set equal to Max (1, numSampN >> (1 + numIs4N) ) .
  • cntN is set equal to Min (numSampN, (1 + numIs4N) ⁇ 1)
  • cntN is set equal to 0.
  • nTbH -1 is derived as follows:
  • nTbH -1 is derived as follows:
  • nTbW -1 is derived as follows:
  • nTbW -1 is derived as follows:
  • pDsY [0] [0] is derived as follows:
  • nTbH -1 is derived as follows:
  • nTbH -1 is derived as follows:
  • the variable y is set equal to pickPosL [idx] .

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

L'invention concerne un procédé de traitement vidéo. Le procédé consiste à déterminer, pour une conversion entre un bloc vidéo courant d'une vidéo et une représentation codée de la vidéo, des paramètres d'un outil de codage à l'aide d'un modèle linéaire sur la base d'échantillons voisins sélectionnés du bloc vidéo courant et d'échantillons voisins correspondants d'un bloc de référence ; et à effectuer la conversion sur la base de la détermination.
PCT/CN2020/081304 2019-03-26 2020-03-26 Dérivation de paramètres pour prédiction inter WO2020192717A1 (fr)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202211462838.3A CN115720268A (zh) 2019-03-26 2020-03-26 用于帧间预测的参数推导
CN202080024759.7A CN113632474B (zh) 2019-03-26 2020-03-26 用于帧间预测的参数推导

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CNPCT/CN2019/079769 2019-03-26
CN2019079769 2019-03-26

Publications (1)

Publication Number Publication Date
WO2020192717A1 true WO2020192717A1 (fr) 2020-10-01

Family

ID=72609638

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/081304 WO2020192717A1 (fr) 2019-03-26 2020-03-26 Dérivation de paramètres pour prédiction inter

Country Status (2)

Country Link
CN (2) CN113632474B (fr)
WO (1) WO2020192717A1 (fr)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022174825A1 (fr) * 2021-02-21 2022-08-25 Alibaba (China) Co., Ltd. Systèmes et procédés de compensation de prédiction inter
WO2023147243A1 (fr) * 2022-01-25 2023-08-03 Beijing Dajia Internet Information Technology Co., Ltd. Compensation d'éclairage local améliorée pour prédiction inter-trame
WO2024090923A1 (fr) * 2022-10-26 2024-05-02 주식회사 윌러스표준기술연구소 Procédé de traitement de signal vidéo utilisant une prédiction d'échantillon de chrominance basée sur un échantillon de luminance et appareil associé

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180077426A1 (en) * 2016-09-15 2018-03-15 Qualcomm Incorporated Linear model chroma intra prediction for video coding
CN107836116A (zh) * 2015-07-08 2018-03-23 Vid拓展公司 使用交叉平面滤波的增强色度编码
CN108464002A (zh) * 2015-11-25 2018-08-28 高通股份有限公司 视频译码中具有非正方形预测单元的线性模型预测
WO2019006363A1 (fr) * 2017-06-30 2019-01-03 Vid Scale, Inc. Compensation d'éclairage local à l'aide d'une bi-prédiction généralisée

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2805496B1 (fr) * 2012-01-19 2016-12-21 Huawei Technologies Co., Ltd. Réduction de pixels de référence à des fins de prédiction de luminance intra-image

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107836116A (zh) * 2015-07-08 2018-03-23 Vid拓展公司 使用交叉平面滤波的增强色度编码
CN108464002A (zh) * 2015-11-25 2018-08-28 高通股份有限公司 视频译码中具有非正方形预测单元的线性模型预测
US20180077426A1 (en) * 2016-09-15 2018-03-15 Qualcomm Incorporated Linear model chroma intra prediction for video coding
WO2019006363A1 (fr) * 2017-06-30 2019-01-03 Vid Scale, Inc. Compensation d'éclairage local à l'aide d'une bi-prédiction généralisée

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022174825A1 (fr) * 2021-02-21 2022-08-25 Alibaba (China) Co., Ltd. Systèmes et procédés de compensation de prédiction inter
US11924409B2 (en) 2021-02-21 2024-03-05 Alibaba (China) Co., Ltd. Systems and methods for inter prediction compensation
WO2023147243A1 (fr) * 2022-01-25 2023-08-03 Beijing Dajia Internet Information Technology Co., Ltd. Compensation d'éclairage local améliorée pour prédiction inter-trame
WO2024090923A1 (fr) * 2022-10-26 2024-05-02 주식회사 윌러스표준기술연구소 Procédé de traitement de signal vidéo utilisant une prédiction d'échantillon de chrominance basée sur un échantillon de luminance et appareil associé

Also Published As

Publication number Publication date
CN113632474A (zh) 2021-11-09
CN115720268A (zh) 2023-02-28
CN113632474B (zh) 2022-12-09

Similar Documents

Publication Publication Date Title
AU2019391197B2 (en) Context-based intra prediction
WO2020169102A1 (fr) Dérivation de paramètre destinée à une prédiction intra
AU2020226565B2 (en) Neighbouring sample selection for intra prediction
US20230269379A1 (en) Multi-parameters based intra prediction
US11902507B2 (en) Parameter derivation for intra prediction
WO2020192642A1 (fr) Conditions de dérivation de paramètres pour une prédiction intra
WO2020192717A1 (fr) Dérivation de paramètres pour prédiction inter

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20777045

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 08.02.2022)

122 Ep: pct application non-entry in european phase

Ref document number: 20777045

Country of ref document: EP

Kind code of ref document: A1