WO2025010276A2 - Method, apparatus, and medium for video processing - Google Patents
Method, apparatus, and medium for video processing Download PDFInfo
- Publication number
- WO2025010276A2 WO2025010276A2 PCT/US2024/036573 US2024036573W WO2025010276A2 WO 2025010276 A2 WO2025010276 A2 WO 2025010276A2 US 2024036573 W US2024036573 W US 2024036573W WO 2025010276 A2 WO2025010276 A2 WO 2025010276A2
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- mode
- cccm
- samples
- target coding
- coding mode
- Prior art date
- Legal status (The legal status 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 status listed.)
- Ceased
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/102—Methods 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/103—Selection of coding mode or of prediction mode
- H04N19/105—Selection 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/102—Methods 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/103—Selection of coding mode or of prediction mode
- H04N19/11—Selection of coding mode or of prediction mode among a plurality of spatial predictive coding modes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/102—Methods 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/119—Adaptive subdivision aspects, e.g. subdivision of a picture into rectangular or non-rectangular coding blocks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/102—Methods 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/13—Adaptive entropy coding, e.g. adaptive variable length coding [AVLC] or context adaptive binary arithmetic coding [CABAC]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/169—Methods 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/17—Methods 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/176—Methods 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/169—Methods 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/186—Methods 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/70—Methods 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
- Embodiments of the present disclosure relates generally to video processing techniques, and more particularly, to extended cross-component prediction.
- BACKGROUND [0002]
- video compression technologies such as MPEG -2, MPEG-4, ITU-TH.263, ITU-TH.264/MPEG-4 Part 10 Advanced Video Coding (AVC), ITU-TH.265 high efficiency video coding (HEVC) standard, versatile video coding (VVC) standard, have been proposed for video encoding/decoding.
- AVC Advanced Video Coding
- HEVC high efficiency video coding
- VVC versatile video coding
- coding efficiency of video coding techniques is generally expected to be further improved.
- a method for video processing comprises: applying, for a conversion between a video unit of a video and a bitstream of the video unit, at least one of the followings in a cross-component prediction (CCP) model: a set of luma samples, a set of additional luma samples, a set of reconstructed chroma samples, or a set of predicted chroma samples; determining a prediction or reconstruction of the video unit by applying the CCP model to the video unit; and performing the conversion based on the prediction or reconstruction.
- CCP cross-component prediction
- an apparatus for video processing comprises a processor and a non-transitory memory with instructions thereon. The instructions upon execution by the processor, cause the processor to perform a method in accordance with the first aspect of the present disclosure.
- a non-transitory computer-readable storage medium is proposed. The non-transitory computer-readable storage medium stores instructions that 1 F1242906PCT cause a processor to perform a method in accordance with the first aspect of the present disclosure.
- another non-transitory computer-readable recording medium is proposed. The non-transitory computer-readable recording medium stores a bitstream of a video which is generated by a method performed by an apparatus for video processing.
- the method comprises: applying at least one of the followings in a cross-component prediction (CCP) model: a set of luma samples, a set of additional luma samples, a set of reconstructed chroma samples, or a set of predicted chroma samples; determining a prediction or reconstruction of a video unit of the video by applying the CCP model to the video unit; and generating the bitstream based on the prediction or reconstruction.
- CCP cross-component prediction
- the method comprises: applying at least one of the followings in a cross-component prediction (CCP) model: a set of luma samples, a set of additional luma samples, a set of reconstructed chroma samples, or a set of predicted chroma samples; determining a prediction or reconstruction of a video unit of the video by applying the CCP model to the video unit; generating the bitstream based on the prediction or reconstruction; and storing the bitstream in a non-transitory computer-readable recording medium.
- CCP cross-component prediction
- Fig. 1 illustrates a block diagram that illustrates an example video coding system, in accordance with some embodiments of the present disclosure
- FIG. 2 illustrates a block diagram that illustrates a first example video encoder, in accordance with some embodiments of the present disclosure
- 2 F1242906PCT [0013]
- Fig. 3 illustrates a block diagram that illustrates an example video decoder, in accordance with some embodiments of the present disclosure
- Fig. 4 illustrates nominal vertical and horizontal locations of 4:2:2 luma and chroma samples in a picture
- Fig. 5 illustrates an example of encoder block diagram
- FIG. 6 illustrates 67 intra prediction modes
- FIG. 7 illustrates reference samples for wide-angular intra prediction
- Fig. 8 illustrates problem of discontinuity in case of directions beyond 45° ; [0019] Fig.
- Fig. 12 is a schematic diagram illustrating gradient approach for non- vertical/non-horizontal mode
- Fig. 13 is a schematic diagram illustrating nScale values with respect to nTbH and mode number; for all nScale ⁇ 0 cases gradient approach is used
- Fig. 14 is a schematic diagram illustrating flowcharts of current PDPC and proposed PDPC
- Fig. 15 is a schematic diagram illustrating neighbouring blocks (L, A, BL, AR, AL) used in the derivation of a general MPM list
- Fig. 16 is a schematic diagram illustrating an example on proposed intra 3 F1242906PCT reference mapping
- Fig. 22 is a schematic diagram illustrating HoG computation from a template of width 3 pixels;
- Fig. 23 is a schematic diagram illustrating prediction fusion by weighted averaging of two HoG modes and planar;
- Fig. 24 is a schematic diagram illustrating spatial part of the convolutional filter;
- Fig. 25 is a schematic diagram illustrating reference area (with its paddings) used to derive the filter coefficients;
- Fig. 26 is a schematic diagram illustrating four Sobel based gradient patterns for GLM;
- Fig. 27 is a schematic diagram illustrating spatial samples used for GL-CCCM;
- Fig. 22 is a schematic diagram illustrating HoG computation from a template of width 3 pixels;
- Fig. 23 is a schematic diagram illustrating prediction fusion by weighted averaging of two HoG modes and planar;
- Fig. 24 is a schematic diagram illustrating spatial part of the convolutional filter;
- Fig. 25 is a schematic diagram illustrating reference area (with its paddings)
- FIG. 28 is a schematic diagram illustrating non-downsampled luma samples; [0043] Fig. 29 illustrates spatial GPM candidates; [0044] Fig. 30 illustrates GPM templates; [0045] Fig. 31 illustrates GPM blending; [0046] Fig. 32 illustrates binarization of cross-component prediction modes in ECM; 4 F1242906PCT [0047] Fig. 33 illustrates an example of luma samples to be prepared; [0048] Fig. 34 illustrates an example of potential candidate regions; [0049] Fig. 35 illustrates possible templates; [0050] Fig. 36 illustrates various downsampling filters used in the proposed cross- component models; [0051] Fig.
- Fig. 37 illustrates the positions of chroma samples
- Fig. 38 illustrates an example of luma positions (which may be after down- sampling) to be used in CCP
- Fig. 39 illustrates an example of luma positions (which may be after down- sampling) and chroma positions to be used in CCP
- Fig.40 illustrates a second example of luma positions (which may be after down- sampling) and chroma positions to be used in CCP
- Fig. 41 illustrates an example of reconstructed chroma sample positions used to derive the parameters of mixCCCM as the target values in the training process
- Fig. 41 illustrates an example of reconstructed chroma sample positions used to derive the parameters of mixCCCM as the target values in the training process
- Fig. 42 shows an example, where L, Y and Z can only used as input values of X, but they may not be used as target values in the training process; [0057] Fig. 43 shows an example, where L, Y and Z are used as input values of X; [0058] Fig. 44 illustrates an example of applying the mixCCCM model in a 4 ⁇ 4 chroma block; [0059] Fig. 45 illustrates a second example of applying the mixCCCM model in a 4 ⁇ 4 chroma block; [0060] Fig. 46 shows an example, where L, Y and Z are used as input values of X, L, Y and Z are all prediction samples; [0061] Fig.
- Fig. 48 illustrates a block diagram of a computing device in which various embodiments of the present disclosure can be implemented.
- the same or similar reference numerals usually refer 5 F1242906PCT to the same or similar elements.
- DETAILED DESCRIPTION [0064] Principle of the present disclosure will now be described with reference to some embodiments. It is to be understood that these embodiments are described only for the purpose of illustration and help those skilled in the art to understand and implement the present disclosure, without suggesting any limitation as to the scope of the disclosure. The disclosure described herein can be implemented in various manners other than the ones described below.
- the source device 110 can be configured to generate encoded video data and the destination device 120 can be configured to decode the encoded video data generated by the source device 110.
- the source device 110 may include a video source 112, a video encoder 114, and an input/output (I/O) interface 116.
- the video source 112 may include a source such as a video capture device. Examples of the video capture device include, but are not limited to, an interface to receive video data from a video content provider, a computer graphics system for generating video data, and/or a combination thereof.
- the video data may comprise one or more pictures.
- the video encoder 114 encodes the video data from the video source 112 to generate a bitstream.
- the bitstream may include a sequence of bits that form a coded representation of the video data.
- the bitstream may include coded pictures and associated data.
- the coded picture is a coded representation of a picture.
- the associated data may include sequence parameter sets, picture parameter sets, and other syntax structures.
- the I/O interface 116 may include a modulator/demodulator and/or a transmitter.
- the encoded video data may be transmitted directly to destination device 120 via the I/O interface 116 through the network 130A.
- the encoded video data may also be stored onto a storage medium/server 130B for access by destination device 120.
- the destination device 120 may include an I/O interface 126, a video decoder 124, and a display device 122.
- the I/O interface 126 may include a receiver and/or a modem.
- the I/O interface 126 may acquire encoded video data from the source device 7 F1242906PCT 110 or the storage medium/server 130B.
- the video decoder 124 may decode the encoded video data.
- the display device 122 may display the decoded video data to a user.
- the display device 122 may be integrated with the destination device 120, or may be exte rnal to the destination device 120 which is configured to interface with an external display device.
- the video encoder 114 and the video decoder 124 may operate according to a video compression standard, such as the High Efficiency Video Coding (HEVC) standard, Versatile Video Coding (VVC) standard and other current and/or further standards.
- HEVC High Efficiency Video Coding
- VVC Versatile Video Coding
- Fig. 2 is a block diagram illustrating an example of a video encoder 200, which may be an example of the video encoder 114 in the system 100 illustrated in Fig. 1, in accordance with some embodiments of the present disclosure.
- the video encoder 200 may be configured to implement any or all of the techniques of this disclosure.
- the video encoder 200 includes a plurality of functional components.
- the techniques described in this disclosure may be shared among the various components of the video encoder 200.
- a processor may be configured to perform any or all of the techniques described in this disclosure.
- the video encoder 200 may include a partition unit 201, a predication unit 202 which may include a mode select unit 203, a motion estimation unit 204, a motion compensation unit 205 and an intra-prediction unit 206, a residual generation unit 207, a transform unit 208, a quantization unit 209, an inverse quantization unit 210, an inverse transform unit 211, a reconstruction unit 212, a buffer 213, and an entropy encoding unit 214.
- the video encoder 200 may include more, fewer, or different functional components.
- the predication unit 202 may include an intra block copy (IBC) unit.
- the IBC unit may perform predication in an IBC mode in which at least one reference picture is a picture where the current video block is located.
- the partition unit 201 may partition a picture into one or more video blocks. 8 F1242906PCT
- the video encoder 200 and the video decoder 300 may support various video block sizes.
- the mode select unit 203 may select one of the coding modes, intra or inter, e.g., based on error results, and provide the resulting intra-coded or inter-coded block to a residual generation unit 207 to generate residual block data and to a reconstruction unit 212 to reconstruct the encoded block for use as a reference picture.
- the mode select unit 203 may select a combination of intra and inter predication (CIIP) mode in which the predication is based on an inter predication signal and an intra predication signal.
- CIIP intra and inter predication
- the mode select unit 203 may also select a resolution for a motion vector (e.g., a sub-pixel or integer pixel precision) for the block in the case of inter- predication.
- the motion estimation unit 204 may generate motion information for the current video block by comparing one or more reference frames from buffer 213 to the current video block.
- the motion compensation unit 205 may determine a predicted video block for the current video block based on the motion information and decoded samples of pictures from the buffer 213 other than the picture associated with the current video block.
- the motion estimation unit 204 and the motion compensation unit 205 may perform different operations for a current video block, for example, depending on whether the current video block is in an I-slice, a P-slice, or a B-slice.
- an “I-slice” may refer to a portion of a picture composed of macroblocks, all of which are based upon macroblocks within the same picture. Further, as used herein, in some aspects, “P-slices” and “B-slices” may refer to portions of a picture composed of macroblocks that are not dependent on macroblocks in the same picture. [0083] In some examples, the motion estimation unit 204 may perform uni-directional prediction for the current video block, and the motion estimation unit 204 may search reference pictures of list 0 or list 1 for a reference video block for the current video block.
- the motion estimation unit 204 may then generate a reference index that indicates the reference picture in list 0 or list 1 that contains the reference video block and a motion vector that indicates a spatial displacement between the current video block and the reference video block.
- the motion estimation unit 204 may output the reference index, a prediction direction indicator, and the motion vector as the motion information of the current video block.
- the motion compensation unit 205 may generate the predicted video 9 F1242906PCT block of the current video block based on the reference video block indicated by the motion information of the current video block. [0084] Alternatively, in other examples, the motion estimation unit 204 may perform bi-directional prediction for the current video block.
- the motion estimation unit 204 may search the reference pictures in list 0 for a reference video block for the current video block and may also search the reference pictures in list 1 for another reference video block for the current video block. The motion estimation unit 204 may then generate reference indexes that indicate the reference pictures in list 0 and list 1 containing the reference video blocks and motion vectors that indicate spatial displacements between the reference video blocks and the current video block. The motion estimation unit 204 may output the reference indexes and the motion vectors of the current video block as the motion information of the current video block. The motion compensation unit 205 may generate the predicted video block of the current video block based on the reference video blocks indicated by the motion information of the current video block.
- the motion estimation unit 204 may output a full set of motion information for decoding processing of a decoder. Alternatively, in some embodiments, the motion estimation unit 204 may signal the motion information of the current video block with reference to the motion information of another video block. For example , the motion estimation unit 204 may determine that the motion information of the current video block is sufficiently similar to the motion information of a neighboring video block. [0086] In one example, the motion estimation unit 204 may indicate, in a syntax structure associated with the current video block, a value that indicates to the video decoder 300 that the current video block has the same motion information as the another video block.
- the transform processing unit 208 may generate one or more transform coefficient video blocks for the current video block by applying one or more transforms to a residual video block associated with the current video block.
- the quantization unit 209 may quantize the transform coefficient video block associated with the current video block based on one or more quantization parameter (QP) values associated with the current video block.
- QP quantization parameter
- Fig. 3 is a block diagram illustrating an example of a video decoder 300, which may be an example of the video decoder 124 in the system 100 illustrated in Fig. 1, in accordance with some embodiments of the present disclosure.
- the video decoder 300 may be configured to perform any or all of the techniques of this disclosure. In the example of Fig. 3, the video decoder 300 includes a plurality of functional components.
- the video decoder 300 includes an entropy decoding unit 301, a motion compensation unit 302, an intra prediction unit 303, an inverse quantization unit 304, an inverse transformation unit 305, and a reconstruction unit 306 and a buffer 307.
- the video decoder 300 may, in some examples, perform a decoding pass generally reciprocal to the encoding pass described with respect to video encoder 200.
- the entropy decoding unit 301 may retrieve an encoded bitstream.
- the encoded bitstream may include entropy coded video data (e.g., encoded blocks of video data).
- the entropy decoding unit 301 may decode the entropy coded video data, and from the entropy decoded video data, the motion compensation unit 302 may determine motion information including motion vectors, motion vector precision, reference picture list indexes, and other motion information.
- the motion compensation unit 302 may, for example, determine such information by performing the AMVP and merge mode.
- AMVP is used, including derivation of several most probable candidates based on data from adjacent PBs and the reference picture.
- Motion information typically includes the horizontal and vertical motion vector displacement values, one or two reference picture indices, and, in the case of prediction regions in B slices, an identification of which reference picture list is associated with each index.
- a “merge mode” may refer to deriving the motion information from spatially or temporally neighboring blocks. 12 F1242906PCT [0101]
- the motion compensation unit 302 may produce motion compensated blocks, possibly performing interpolation based on interpolation filters. Identifiers for interpolation filters to be used with sub-pixel precision may be included in the syntax elements.
- the motion compensation unit 302 may use at least part of the syntax information to determine sizes of blocks used to encode frame(s) and/or slice(s) of the encoded video sequence, partition information that describes how each macroblock of a picture of the encoded video sequence is partitioned, modes indicating how each partition is encoded, one or more reference frames (and reference frame lists) for each inter - encoded block, and other information to decode the encoded video sequence.
- a “slice” may refer to a data structure that can be decoded independently from other slices of the same picture, in terms of entropy coding, signal prediction, and residual signal reconstruction.
- a slice can either be an entire picture or a region of a picture.
- the intra prediction unit 303 may use intra prediction modes for example received in the bitstream to form a prediction block from spatially adjacent blocks.
- the inverse quantization unit 304 inverse quantizes, i.e., de-quantizes, the quantized video block coefficients provided in the bitstream and decoded by entropy decoding unit 301.
- the inverse transform unit 305 applies an inverse transform.
- the reconstruction unit 306 may obtain the decoded blocks, e.g., by summing the residual blocks with the corresponding prediction blocks generated by the motion compensation unit 302 or intra-prediction unit 303. If desired, a deblocking filter may also be applied to filter the decoded blocks in order to remove blockiness artifac ts.
- the decoded video blocks are then stored in the buffer 307, which provides reference blocks for subsequent motion compensation/intra predication and also produces decoded video for presentation on a display device.
- Some exemplary embodiments of the present disclosure will be described in 13 F1242906PCT detailed hereinafter. It should be understood that section headings are used in the present document to facilitate ease of understanding and do not limit the embodiments disclosed in a section to only that section. Furthermore, while certain embodiments are described with reference to Versatile Video Coding or other specific video codecs, the disclosed techniques are applicable to other video coding technologies also. Furthermore, while some embodiments describe video coding steps in detail, it will be understood that corresponding steps decoding that undo the coding will be implemented by a decoder.
- video processing encompasses video coding or compression, video decoding or decompression and video transcoding in which video pixels are represented from one compressed format into another compressed format or at a different compressed bitrate.
- the present disclosure is related to video coding technologies. Specifically, it is related to cross-component prediction. It may be applied to the existing video coding standard like HEVC, or Versatile Video Coding (VVC). It may be also applicable to future video coding standards or video codec.
- VVC Versatile Video Coding
- Video coding standards have evolved primarily through the development of the well-known ITU-T and ISO/IEC standards.
- JVET Joint Video Exploration Team
- Color space and chroma subsampling [0109] Color space, also known as the color model (or color system), is an abstract mathematical model which simply describes the range of colors as tuples of numbers, typically as 3 or 4 values or color components (e.g., RGB). Basically speaking, color space is an elaboration of the coordinate system and sub-space. [0110] For video compression, the most frequently used color spaces are YCbCr and RGB.
- YCbCr, Y′CbCr, or Y Pb/Cb Pr/Cr is a family of color spaces used as a part of the color image pipeline in video and digital photography systems.
- Y′ is the luma component and CB and CR are the blue-difference and red-difference chroma components.
- Y′ (with prime) is distinguished from Y, which is luminance, meaning that light intensity is nonlinearly encoded based on gamma corrected RGB primaries.
- Chroma subsampling is the practice of encoding images by implementing less resolution for chroma information than for luma information, taking advantage of the human visual system's lower acuity for color differences than for luminance.
- 2.1.1. 4:4:4 [0113] Each of the three Y'CbCr components have the same sample rate, thus there is no chroma subsampling. This scheme is sometimes used in high-end film scanners and cinematic post production.
- 2.1.2. 4:2:2 [0114] The two chroma components are sampled at half the sample rate of luma: the horizontal chroma resolution is halved while the vertical chroma resolution is unchanged.
- Fig.5 shows an example of encoder block diagram of VVC, which contains three in-loop filtering blocks: deblocking filter (DF), sample adaptive offset (SAO) and ALF.
- DF deblocking filter
- SAO sample adaptive offset
- each intra-coded block has a square shape and the length of each of its side is a power of 2. Thus, no division operations are required to generate an intra - 16 F1242906PCT predictor using DC mode.
- blocks can have a rectangular shape that necessitates the use of a division operation per block in the general case. To avoid division operations for DC prediction, only the longer side is used to compute the average for non-square blocks. 2.3.1. Wide angle intra prediction [0122] Although 67 modes are defined in the VVC, the exact prediction direction for a given intra prediction mode index is further dependent on the block shape.
- Conventional angular intra prediction directions are defined from 45 degrees to ⁇ 135 degrees in clockwise direction.
- VVC several conventional angular intra prediction modes are adaptively replaced with wide-angle intra prediction modes for non-square blocks.
- the replaced modes are signalled using the original mode indexes, which are remapped to the indexes of wide angular modes after parsing.
- the total number of intra prediction modes is unchanged, i.e., 67, and the intra mode coding method is unchanged.
- the top reference with length 2W+1, and the left reference with length 2H+1 are defined as shown in Fig. 7.
- the number of replaced modes in wide-angular direction mode depends on the aspect ratio of a block.
- the replaced intra prediction modes are illustrated in Table 2.
- the intra prediction direction of 66 is used for the intra prediction sample generation for the chroma component.
- Inter prediction For each inter-predicted CU, motion parameters consisting of motion vectors, 18 F1242906PCT reference picture indices and reference picture list usage index, and additional information needed for the new coding feature of VVC to be used for inter-predicted sample generation.
- the motion parameter can be signalled in an explicit or implicit manner.
- a CU is coded with skip mode, the CU is associated with one PU and has no significant residual coefficients, no coded motion vector delta or reference picture index.
- a merge mode is specified whereby the motion parameters for the current CU are obtained from neighbouring CUs, including spatial and temporal candidates, and additional schedules introduced in VVC.
- the merge mode can be applied to any inter-predicted CU, not only for skip mode.
- the alternative to merge mode is the explicit transmission of motion parameters, where motion vector, corresponding reference picture index for each reference picture list and reference picture list usage flag and other needed information are signalled explicitly per each CU.
- Intra block copy (IBC) [0130] Intra block copy (IBC) is a tool adopted in HEVC extensions on SCC. It is well known that it significantly improves the coding efficiency of screen content materials.
- IBC mode is implemented as a block level coding mode
- block matching is performed at the encoder to find the optimal block vector (or motion vector) for each CU.
- a block vector is used to indicate the displacement from the current block to a reference block, which is already reconstructed inside the current picture.
- the luma block vector of an IBC-coded CU is in integer precision.
- the chroma block vector rounds to integer precision as well.
- the IBC mode can switch between 1-pel and 4-pel motion vector precisions.
- An IBC-coded CU is treated as the third prediction mode other than intra or inter prediction modes.
- the IBC mode is applicable to the CUs with both width and height smaller than or equal to 64 luma samples.
- hash-based motion estimation is performed for IBC.
- the encoder performs RD check for blocks with either width or height no larger than 16 luma samples.
- the block vector search is performed using hash-based search first. If hash search does not return valid candidate, block matching based local search will be performed.
- hash key matching 32-bit CRC
- hash key calculation for every position in the current picture is based on 4 ⁇ 4 sub-blocks.
- a hash key is determined to match that of the reference block when all the hash keys of all 4 ⁇ 4 sub-blocks match the hash keys in the corresponding reference locations. If hash keys of multiple reference blocks are found to match that of the current block, the block vector costs of each matched reference are calculated and the one with the minimum cost is selected. [0133] In block matching search, the search range is set to cover both the previous and current CTUs.
- IBC mode is signalled with a flag and it can be signalled as IBC AMVP mode or IBC skip/merge mode as follows: – IBC skip/merge mode: a merge candidate index is used to indicate which of the block vectors in the list from neighbouring candidate IBC coded blocks is used to predict the current block.
- the merge list consists of spatial, HMVP, and pairwise candidates.
- – IBC AMVP mode block vector difference is coded in the same way as a motion vector difference.
- the block vector prediction method uses two candidates as predictors, one from left neighbour and one from above neighbour (if IBC coded). When either neighbour is not available, a default block vector will be used as a predictor.
- CCLM cross-component linear model prediction mode
- pred ! ( i, j ) " ⁇ rec # $ ( i, j ) + %& (2-1)
- pred ! (i, j) represents the predicted chroma samples in a CU
- rec # (i, j) represents the down-sampled reconstructed luma samples of the same CU.
- the CCLM parameters (" and &) are derived with at most four neighbouring chroma samples and their corresponding down-sampled luma samples.
- the above neighbouring positions are denoted as S[ 0, ⁇ 1 ]...S[ W’ ⁇ 1, ⁇ 1 ] and the left neighbouring positions are denoted as S[ ⁇ 1, 0 ]...S[ ⁇ 1, H’ ⁇ 1 ].
- the four 20 F1242906PCT samples are selected as – S[W’ / 4, ⁇ 1 ], S[ 3 * W’ / 4, ⁇ 1 ], S[ ⁇ 1, H’ / 4 ], S[ ⁇ 1, 3 * H’ / 4 ] when LM mode is applied and both above and left neighbouring samples are available; — S[ W’ / 8, ⁇ 1 ], S[ 3 * W’ / 8, ⁇ 1 ], S[ 5 * W’ / 8, ⁇ 1 ], S[ 7 * W’ / 8, ⁇ 1 ] when LM_T mode is applied or only the above neighbouring samples are available; – S[ ⁇ 1, H’ / 8 ], S[ ⁇ 1, 3 * H’ / 8 ], S[ ⁇ 1, 5 * H’ / 8 ], S[ ⁇ 1, 7 * H’ / 8 ] when LM_L mode is applied or only the left neighbouring samples are available.
- the four neighbouring luma samples at the selected positions are down-sampled and compared four times to find two larger values: x 0 A and x 1 A, and two smaller values: x 0 B and x 1 B.
- Their corresponding chroma sample values are denoted as y 0 A, y 1 A, y 0 B and y 1 B.
- LM_T 2 LM modes
- LM_L 2 LM modes
- LM_T only the above template is used to calculate the linear model coefficients. To get more samples, the above template is extended to (W+H) samples.
- LM_L mode only left template is used to calculate the linear model coefficients. To get more samples, the left template is extended to (H+W) samples.
- LM mode left and above templates are used to calculate the linear model coefficients.
- chroma intra mode coding For chroma intra mode coding, a total of 8 intra modes are allowed for chroma intra mode coding. Those modes include five conventional intra modes and three cross- component linear model modes (LM, LM_T, and LM_L). Chroma mode signalling and derivation process are shown in Table 3. Chroma mode coding directly depends on the intra prediction mode of the corresponding luma block. Since separate block partitioning structure for luma and chroma components is enabled in I slices, one chroma block may correspond to multiple luma blocks.
- Chroma DM mode the intra prediction mode of the corresponding luma block covering the center position of the current chroma block is directly inherited.
- Table 4 Unified binarization table for chroma prediction mode Value of Bin string intra_chroma_pred_mode 4 00 0 0100 1 0101 2 0110 3 0111 5 10 6 110 7 111 [0151]
- the first bin indicates whether it is regular (0) or LM modes (1). If it is LM mode, then the next bin indicates whether it is LM_CHROMA (0) or not. If it is not LM_CHROMA, next 1 bin indicates whether it is LM_L (0) or LM_T (1). For this case, when sps_cclm_enabled_flag is 0, the first bin of the binarization table for the corresponding intra_chroma_pred_mode can be discarded prior to the entropy coding.
- the first bin is inferred to be 0 and hence not coded.
- This single binarization table is used for both sps_cclm_enabled_flag equal to 0 and 1 cases.
- the first two bins in Table 4 are context coded with its own context model, and the rest bins are bypass coded.
- the chroma CUs in 32 ⁇ 32 / 32 ⁇ 16 chroma coding tree node is allowed to use CCLM in the following way: – If the 32 ⁇ 32 chroma node is not split or partitioned QT split, all chroma CUs in the 32 ⁇ 32 node can use CCLM; – If the 32 ⁇ 32 chroma node is partitioned with Horizontal BT, and the 32 ⁇ 16 child node does not split or uses Vertical BT split, all chroma CUs in the 32 ⁇ 16 chroma node can use CCLM.
- MMLM Multi-model linear model
- the neighboring samples can be classified into M groups, where M is 2 or 3.
- the encoder chooses the optimal mode in the RDO process and signal the mode.
- Fig. 10 shows an example of classifying the neighboring samples into two groups. Threshold is calculated as the average value of the neighboring reconstructed Luma samples.
- MMLM MMLM
- MMLM_T MMLM_T
- MMLM_L MMLM_L
- Two models are derived as below.
- the threshold which is the average of the luma reconstructed neighboring samples.
- the linear model of each class is derived by using the Least-Mean-Square (LMS) 24 F1242906PCT method, if enabled, or min/max method of VVC. 2.9.
- Position dependent intra prediction combination [0158] In VVC, the results of intra prediction of DC, planar and several angular modes are further modified by a position dependent intra prediction combination (PDPC) method.
- PDPC is an intra prediction method which invokes a combination of the boundary reference samples and HEVC style intra prediction with filtered boundary reference samples.
- PDPC is applied to the following intra modes without signalling: planar, DC, intra angles less than or equal to horizontal, and intra angles greater than or equal to vertical and less than or equal to 80. If the current block is BDPCM mode or MRL index is larger than 0, PDPC is not applied.
- PDPC is applied to DC, planar, horizontal, and vertical intra modes, additional boundary filters are not needed, as required in the case of HEVC DC mode boundary filter or horizontal/vertical mode edge filters.
- PDPC process for DC and Planar modes is identical.
- For angular modes if the current angular mode is HOR_IDX or VER_IDX, left or top reference samples is not used, respectively.
- the PDPC weights and scale factors are dependent on prediction modes and the block sizes.
- PDPC is applied to the block with both width and height greater than or equal to 4.
- Figs. 11A-11D illustrate the definition of reference samples (R x, ⁇ 1 for PDPC applied over various prediction modes.
- the prediction sample pred(x’, y’) is located at (x’, y’) within the prediction block.
- the reference samples Rx, ⁇ 1 and R ⁇ 1,y could be located in fractional sample position. In this case, the sample value of the nearest integer sample location is used. 25 F1242906PCT 2.10.
- Gradient PDPC [0162] The gradient based approach is extended for non-vertical/non-horizontal mode, as shown in Fig. 12.
- the gradient is computed as r(-1, y) – r(-1+ d, -1), where d is the horizontal displacement depending on the angular direction.
- d is the horizontal displacement depending on the angular direction.
- the gradient term r(-1, y) – r(-1+ d, -1) is needed to be computed once for every row, as it does not depend on the x position.
- the computation of d is already part of original intra prediction process which can be reused, so a separate computation of d is not needed. Accordingly, d is in 1/32 pixel accuracy.
- a general MPM list with 22 entries is constructed first, and then the first 6 entries in this general MPM list are included into the PMPM list , 26 F1242906PCT and the rest of entries form the SMPM list.
- the first entry in the general MPM list is the Planar mode.
- the remaining entries are composed of the intra modes of the left (L), above (A), below-left (BL), above-right (AR), and above-left (AL) neighbouring blocks as shown in Fig. 15, the directional modes with added offset from the first two available directional modes of neighbouring blocks, and the default modes. [0170] If a CU block is vertically oriented, the order of neighbouring blocks is A, L, BL, AR, AL; otherwise, it is L, A, BL, AR, AL.
- a PMPM flag is parsed first, if equal to 1 then a PMPM index is parsed to determine which entry of the PMPM list is selected, otherwise the SPMPM flag is parsed to determine whether to parse the SMPM index or the remaining modes.
- 6-tap intra interpolation filter To improve prediction accuracy, it is proposed to replace 4-tap Cubic interpolation filter with 6-tap interpolation filter, the filter coefficients are derived based on the same polynomial regression model, but with polynomial order of 6.
- Filter coefficients are listed below, ⁇ 0, 0, 256, 0, 0, 0 ⁇ , // 0/32 position ⁇ 0, -4, 253, 9, -2, 0 ⁇ , // 1/32 position ⁇ 1, -7, 249, 17, -4, 0 ⁇ , // 2/32 position ⁇ 1, -10, 245, 25, -6, 1 ⁇ , // 3/32 position ⁇ 1, -13, 241, 34, -8, 1 ⁇ , // 4/32 position ⁇ 2, -16, 235, 44, -10, 1 ⁇ , // 5/32 position ⁇ 2, -18, 229, 53, -12, 2 ⁇ , // 6/32 position ⁇ 2, -20, 223, 63, -14, 2 ⁇ , // 7/32 position ⁇ 2, -22, 217, 72, -15, 2 ⁇ , // 8/32 position ⁇ 3, -23, 209, 82, -17, 2 ⁇ , // 9/32 position ⁇ 3, -24, 202, 92, -19, 2 ⁇ ,
- the reference samples used for interpolation come from reconstructed samples 27 F1242906PCT or padded as in HEVC, so that the conditional check on reference sample availability is not needed.
- 4-tap Cubic interpolation filter instead of using nearest rounding operation to derive the extended Intra reference sample, it is proposed to use 4-tap Cubic interpolation filter. As shown in an example in Fig. 16, to derive the value of reference sample P, a four tap interpolation filter is used, while in JEM-3.0 or HM, P is directly set as X1. 2.13. Multiple reference line (MRL) intra prediction [0176] Multiple reference line (MRL) intra prediction uses more reference lines for intra prediction. In Fig.
- HEVC intra-picture prediction uses the nearest reference line (i.e., reference line 0). In MRL, 2 additional lines (reference line 1 and reference line 2) are used.
- the index of selected reference line (mrl_idx) is signalled and used to generate intra predictor. For reference line index, which is greater than 0, only include additional reference line modes in MPM list and only signal MPM index without remaining mode .
- the reference line index is signalled before intra prediction modes, and Planar mode is excluded from intra prediction modes in case a nonzero reference line index is signalled.
- MRL is disabled for the first line of blocks inside a CTU to prevent using extended reference samples outside the current CTU line. Also, PDPC is disabled when additional line is used.
- MRL mode the derivation of DC value in DC intra prediction mode for non-zero reference line indices are aligned with that of reference line index 0.
- MRL requires the storage of 3 neighbouring luma reference lines with a CTU to generate predictions.
- the Cross-Component Linear Model (CCLM) tool also requires 3 neighbouring luma reference lines for its down-sampling filters. The definition of MRL to use the same 3 lines is aligned as CCLM to reduce the storage requirements for decoders. 2.14.
- Intra sub-partitions The intra sub-partitions (ISP) divides luma intra-predicted blocks vertically or horizontally into 2 or 4 sub-partitions depending on the block size. For example, minimum block size for ISP is 4 ⁇ 8 (or 8 ⁇ 4). If block size is greater than 4 ⁇ 8 (or 8 ⁇ 4) then the corresponding block is divided by 4 sub-partitions. It has been noted that the P ⁇ ;:Q 28 F1242906PCT (with P S T>) and ;:Q ⁇ U (with U S T>) ISP blocks could generate a potential issue with the T> ⁇ T> VDPU.
- an P ⁇ ;:Q CU in the single tree case has an P ⁇ ;:Q luma TB and two corresponding V W ⁇ T> chroma TBs.
- the luma TB will be divided into four P ⁇ A: TBs (only the horizontal split is possible), each of them smaller than a T> ⁇ T> block.
- chroma blocks are not divided. Therefore, both chroma components will have a size greater than a A: ⁇ A: block.
- a similar situation could be created with a ;:Q ⁇ U CU using ISP.
- an 8 ⁇ N (N > 4) coding block that is coded using ISP with vertical split is split into two prediction regions each of size 4 ⁇ N and four transforms of size 2 ⁇ N.
- a 4 ⁇ N coding block that is coded using ISP with vertical split is predicted using the full 4 ⁇ N block; four transform each of 1 ⁇ N is used.
- the transform sizes of 1 ⁇ N and 2 ⁇ N are allowed, it is asserted that the transform of these blocks in 4 ⁇ N regions can be performed in parallel. For example, when a 4 ⁇ N prediction region contains four 1 ⁇ N transforms, there is no transform in the horizontal direction; the transform in the vertical direction can be performed as a single 4 ⁇ N transform in the vertical direction.
- each sub-partition is processed repeatedly.
- the first sub-partition to be processed is the one containing the top-left sample of the CU and then continuing downwards (horizontal split) or rightwards (vertical split).
- reference samples used to generate the sub-partitions prediction signals are only located at the left and above sides of the lines. All sub-partitions share the same intra mode. The followings are summary of interaction of ISP with other coding tools.
- MRL Multiple Reference Line
- Entropy coding coefficient group size the sizes of the entropy coding subblocks have been modified so that they have 16 samples in all possible cases, as shown in Table 5. Note that the new sizes only affect blocks produced by ISP in which one of the dimen- sions is less than 4 samples. In all other cases coefficient groups keep the > ⁇ > dimen- sions.
- CBF coding it is assumed to have at least one of the sub-partitions has a non-zero CBF.
- the CBF of the a-th sub-partition is inferred to be 1.
- Transform size restriction all ISP transforms with a length larger than 16 points uses the DCT-II.
- MTS flag if a CU uses the ISP coding mode, the MTS CU flag will be set to 0 and it will not be sent to the decoder. Therefore, the encoder will not perform RD tests for the different available transforms for each resulting sub-partition.
- the transform choice for the ISP mode will instead be fixed and selected according the intra mode, the processing order and the block size utilized.
- matrix weighted intra prediction takes one line of H reconstructed neighbouring boundary samples left of the block and one line of k reconstructed neighbouring boundary samples above the block as input. If the reconstructed samples are unavailable, they are generated as it is done in the conventional intra prediction.
- the generation of the prediction signal is based on the following three steps , which are averaging, matrix vector multiplication and linear interpolation as shown in Fig. 19. 2.15.1.
- Averaging neighbouring samples [0184] Among the boundary samples, four samples or eight samples are selected by averaging based on block size and shape.
- the input boundaries mOKG noq and mOKG stun % are reduced to smaller boundaries by neighbouring boundary samples according to predefined rule depends on block size. Then, the two reduced boundaries %are concatenated to a reduced vector mOKG vtw which is thus of size four for blocks of shape > ⁇ > and of size eight for blocks of all other shapes. If xMOC refers to the MIP-mode, this concatenation is defined as follows: 2.15.2.
- Matrix Multiplication [0185] A matrix vector multiplication, followed by addition of an offset, is carried out with the averaged samples as an input. The result is a reduced prediction signal on a 31 F1242906PCT subsampled set of samples in the original block.
- a reduced prediction signal ⁇ KCOvtw which is a signal on the down-sampled block of width kvtw and height lvtw is generated.
- kvtw and lvtw are defined as: [0186]
- each coefficient of the matrix A is represented with 8 bit precision.
- the set ⁇ ⁇ consists of 16 matrices ⁇ ⁇ ⁇ , 7 ⁇ ⁇ , ⁇ , ; ⁇ each of which has 16 rows and 4 columns and 16 offset vectors m ⁇ ⁇ , 7 ⁇ ⁇ , ⁇ , ;T ⁇ each of size 16.
- the set consists of 8 matrices ⁇ ⁇ ⁇ , 7 each of which has ;T rows and 8 columns and 8 offset vectors m ⁇ ⁇ , 7 ⁇ ⁇ , ⁇ , ⁇ each of size 16.
- the set ⁇ W consists of 6 matrices ⁇ ⁇ W , 7 ⁇ ⁇ , ⁇ , ⁇ , each of which has 64 rows and 8 columns and of 6 offset vectors m W ⁇ , 7 ⁇ ⁇ , ⁇ , ⁇ of size 64. 2.15.3.
- the prediction signal at the remaining positions is generated from the prediction signal on the subsampled set by linear interpolation which is a single step linear interpolation in each direction.
- the interpolation is performed firstly in the horizontal direction and then in the vertical direction regardless of block shape or block size. 2.15.4. Signalling of MIP mode and harmonization with other coding tools [0190] For each Coding Unit (CU) in intra mode, a flag indicating whether an MIP mode 32 F1242906PCT is to be applied or not is sent. If an MIP mode is to be applied, MIP mode ( ⁇ KCOPMOC ⁇ abK ⁇ ) is signalled .
- MIP coding mode is harmonized with other coding tools by considering following aspects: – LFNST is enabled for MIP on large blocks.
- Decoder-side intra mode derivation [0193] In JEM-2.0 intra modes are extended to 67 from 35 modes in HEVC, and they are derived at encoder and explicitly signalled to decoder. A significant amount of overhead is spent on intra mode coding in JEM-2.0.For example, the intra mode signalling overhead may be up to 5 ⁇ 10% of overall bitrate in all intra coding configuration. This contribution proposes the decoder-side intra mode derivation approach to reduce the intra mode coding overhead while keeping prediction accuracy. [0194] To reduce the overhead of intra mode signalling, this contribution presents a decoder-side intra mode derivation (DIMD) approach.
- DIMD decoder-side intra mode derivation
- the information is derived at both encoder and decoder from the neighbouring reconstructed samples of current block.
- the intra mode derived by DIMD is used in two ways: 1) For 2N ⁇ 2N CUs, the DIMD mode is used as the intra mode for intra prediction when the corresponding CU-level DIMD flag is turned on; 2) For N ⁇ N CUs, the DIMD mode is used to replace one candidate of the existing MPM list to improve the efficiency of intra mode coding. 33 F1242906PCT 2.16.1. Templated based intra mode derivation [0195] As illustrated in Fig. 20, the target denotes the current block (of block size N) for which intra prediction mode is to be estimated.
- the template (indicated by the patterned region in Fig. 20) specifies a set of already reconstructed samples, which are used to derive the intra mode.
- the template size is denoted as the number of samples within the template that extends to the above and the left of the target block, i.e., L.
- the reference of template (indicated by the dotted region in Fig. 20) refers to a set of neighbouring samples from above and left of the template, as defined by JEM-2.0.
- the reference samples of template may not be reconstructed yet when encoding/decoding the target block.
- the ex isting reference samples substitution algorithm of JEM-2.0 is utilized to substitute the unavailable reference samples with the available reference samples.
- the DIMD calculates the absolute difference (SAD) between the reconstructed template samples and its prediction samples obtained from the reference samples of the template.
- the intra prediction mode that yields the minimum SAD is selected as the final intra prediction mode of the target block. 2.16.2.
- the DIMD for intra 2N ⁇ 2N CUs
- the DIMD is used as one additional intra mode, which is adaptively selected by comparing the DIMD intra mode with the optimal normal intra mode (i.e., being explicitly signalled ).
- One flag is signalled for each intra 2N ⁇ 2N CU to indicate the usage of the DIMD. If the flag is one, then the CU is predicted using the intra mode derived by DIMD; otherwise, the DIMD is not applied and the CU is predicted using the intra mode explicitly signalled in the bit-stream.
- chroma components always reuse the same intra mode as that derived for luma component, i.e., DM mode.
- the blocks in the CU can adaptively select to derive their intra modes at either PU-level or TU-level. Specifically, when the DIMD flag is one, another CU-level DIMD control flag is signalled to indicate the level at which the DIMD is performed. If this flag is zero, it means that the DIMD is performed 34 F1242906PCT at the PU level and all the TUs in the PU use the same derived intra mode for their intra prediction; otherwise (i.e., the DIMD control flag is one), it means that the DIMD is performed at the TU level and each TU in the PU derives its own intra mode.
- DIMD for intra N ⁇ N CUs [0200]
- intra modes of intra N ⁇ N CUs are always signalled .
- the intra modes derived from DIMD are used as MPM candidates for predicting the intra modes of four PUs in the CU.
- the DIMD candidate i s In order to not increase the overhead of MPM index signalling, the DIMD candidate i s always placed at the first place in the MPM list and the last existing MPM candidate is removed. Also, pruning operation is performed such that the DIMD candidate will not be added to the MPM list if it is redundant.
- Intra mode search algorithm of DIMD [0201] In order to reduce encoding/decoding complexity, one straightforward fast intra mode search algorithm is used for DIMD.
- one initial estimation process is performed to provide a good starting point for intra mode search.
- an initial candidate list is created by selecting N fixed modes from the allowed intra modes.
- the SAD is calculated for all the candidate intra modes and the one that minimizes the SAD is selected as the starting intra mode.
- the initial candidate list consists of 11 intra modes, including DC, planar and every 4-th mode of the 33 angular intra directions as defined in HEVC, i.e., intra modes 0, 1, 2, 6, 10... 30, 34. [0202] If the starting intra mode is either DC or planar, it is used as the DIMD mode.
- one refinement process is then applied where the optimal intra mode is identified through one iterative search. It works by comparing at each iteration the SAD values for three intra modes separated by a given search interval 35 F1242906PCT and maintain the intra mode that minimize the SAD. The search interval is then reduced to half, and the selected intra mode from the last iteration will serve as the center intra mode for the current iteration. For the current DIMD implementation with129 angular intra directions, up to 4 iterations are used in the refinement process to find the optimal DIMD intra mode. 2.17.
- Decoder-side intra mode derivation by calculating the gradients of neighbouring samples
- Three angular modes are selected from a Histogram of Gradient (HoG) computed from the neighboring pixels of current block. Once the three modes are selected, their predictors are computed normally and then their weighted average is used as the final predictor of the block. To determine the weights, corresponding amplitudes in the HoG are used for each of the three modes.
- the DIMD mode is used as an alternative prediction mode and is always checked in the FullRD mode.
- Current version of DIMD has modified some aspects in the signaling, HoG computation and the prediction fusion.
- Fig. 21 shows the order of parsing flags/indices in VTM5, integrated with the proposed DIMD.
- the current method uses a fusion of three predictors for each block. However, the choice of prediction modes is different and makes use of the combined hypothesis intra-prediction method proposed in [2], where the Planar mode is considered to be used in combination with other modes when computing an intra-predicted candidate. In the current version, the two IPMs corresponding to two tallest HoG bars are combined with the Planar mode. [0214] The prediction fusion is applied as a weighted average of the above three predictors. To this aim, the weight of planar is fixed to 21/64 ( ⁇ 1/3). The remaining weight of 43/64 ( ⁇ 2/3) is then shared between the two HoG IPMs, proportionally to the amplitude of their HoG bars. Fig.
- TIMD Template-based intra mode derivation
- This contribution proposes a template-based intra mode derivation (TIMD) method using MPMs, in which a TIMD mode is derived from MPMs using the neighbouring template.
- the TIMD mode is used as an additional intra prediction method for a CU.
- TIMD mode derivation [0216] For each intra prediction mode in MPMs, The SATD between the prediction and reconstruction samples of the template is calculated. The intra prediction mode with the minimum SATD is selected as the TIMD mode and used for intra prediction of current CU.
- Position dependent intra prediction combination (PDPC) is included in the derivation of the TIMD mode.
- PDPC Position dependent intra prediction combination
- a flag is signalled in sequence parameter set (SPS) to enable/disable the proposed method. When the flag is true, a CU level flag is signalled to indicate whether the proposed TIMD method is used. The TIMD flag is signalled right after the MIP flag. If the TIMD flag is equal to true, the remaining syntax elements related to luma intra prediction mode, including MRL, ISP, and normal parsing stage for luma intra prediction modes, are all skipped. 2.18.3. Interaction with new coding tools [0218] A DIMD method with prediction fusion using Planar was integrated in EE2. When EE2 DIMD flag is equal to true, the proposed TIMD flag is not signalled and set equal to false.
- SPS sequence parameter set
- a propagated intra prediction mode is derived using the motion vector and reference picture and used in the construction of MPM list. This modification is only applied to the derivation of the TIMD mode. 2.18.5.
- TIMD with fusion [0223] Instead of selecting the only one mode with the smallest SATD cost, this 38 F1242906PCT contribution proposes to choose the first two modes with the smallest SATD costs for the intra modes derived using TIMD method and then fuse them with the weights, and such weighted intra prediction is used to code the current CU.
- the reconstructed luma samples are down-sampled to match the lower resolution chroma grid when chroma sub-sampling is used.
- CCCM chroma sub-sampling
- the multi-model variant uses two models, one model derived for samples above the average luma reference value and another model for the rest of the samples (following the spirit of the CCLM design).
- Multi-model CCCM mode can be selected for PUs which have at least 128 reference samples available. 2.19.1.
- Convolutional filter [0229]
- the proposed convolutional 7-tap filter consist of a 5-tap plus sign shape spatial component, a nonlinear term and a bias term.
- the input to the spatial 5-tap component of the filter consists of a center (C) luma sample which is collocated with the chroma sample to be predicted and its above/north (N), below/south (S), left/west (W) and right/east (E) neighbors as illustrated below in Fig. 24.
- the bias term B represents a scalar offset between the input and output (similarly to the offset term in CCLM) and is set to middle chroma value (512 for 10-bit content).
- the filter coefficients ci are calculated by minimising MSE between predicted and reconstructed chroma samples in the reference area.
- Fig. 25 illustrates the reference area which consists of 6 lines of chroma samples above and left of the PU. Reference area extends one PU width to the right and one PU height below the PU boundaries. Area is adjusted to include only available samples. The extensions to the area shown in blue are needed to support the “side samples” of the plus shaped spatial filter and are padded when in unavailable areas.
- the MSE minimization is performed by calculating autocorrelation matrix for the luma input and a cross-correlation vector between the luma input and chroma output.
- the CCCM flag is only signalled if intra prediction mode is LM_CHROMA_IDX (to enable single mode CCCM) or MMLM_CHROMA_IDX (to enable multi-model CCCM).
- LM_CHROMA_IDX to enable single mode CCCM
- MMLM_CHROMA_IDX to enable multi-model CCCM.
- GLM Gradient Linear Model
- CCLM parameter 40 F1242906PCT derivation, prediction sample linear transform
- LMMSE linear minimum mean square error
- a new GLM mode is proposed that a chroma sample is predicted based on both the gradient% ⁇ (7, 8) of luma samples and the reconstructed value KCD E ⁇ (7, 8) of the down- sampled luma sample with different parameters: where the model parameters ' ⁇ , and ' W are derived from six rows and columns adjacent samples based on the LDL decomposition method as the CCCM mode in ECM- 6.0. 2.21.
- Gradient and location based convolutional cross-component model (GL-CCCM) for intra prediction [0241]
- the proposed GL-CCCM method uses gradient and location information instead of the 4 spatial neighbor samples in the CCCM filter.
- Gy and Gx are the vertical and horizontal gradients, respectively, and are calculated as: 41 F1242906PCT
- the Y and X parameters are the vertical and horizontal locations of the center luma sample and they are calculated with respect to the top-left coordinates of the block.
- the rest of the parameters are the same as CCCM tool.
- the reference area for the parameter calculation is the same as CCCM method.
- Fig. 27 shows spatial samples used for GL-CCCM.
- Bitstream signalling Usage of the mode is signalled with a CABAC coded PU level flag.
- CABAC context was included to support this.
- GL-CCCM is considered a sub-mode of CCCM. That is, the GL-CCCM flag is only signalled if original CCCM flag is true.
- Encoder operation [0246] The encoder performs two new RD checks in the chroma prediction mode loop, one for checking single model GL-CCCM mode and one for checking multi-model GL- CCCM mode.
- Fig. 27 illustrates spatial samples used for GL-CCCM. 2.22. CCCM using non-downsampled luma samples 2.22.1.
- the CCCM using non-downsampled luma samples is proposed where the chroma samples are directly predicted from the original reconstructed luma samples, i.e., without downsampling.
- the proposed CCCM filter consists of 6-tap spatial terms, two nonlinear terms and a bias term.
- the 6-tap spatial terms correspond to 6 neighboring luma samples (i.e., L0, L1, ..., L5) to the chroma sample (i.e., C) to be predicted.
- %' ⁇ is the coefficient associated with ⁇ ⁇ is the offset.
- the filter coefficients are derived based on the same LDL decomposition method used in CCCM.
- the proposed method is signaled as one extra CCCM model besides the existing CCCM model.
- F1242906PCT signaling when the CCCM is selected, one single flag is signaled and used for both two chroma components to indicate whether the default CCCM model or the proposed CCCM model is applied. 2.22.2.
- Fig.29 shows spatial GPM candidates.
- Fig.30 illustrates GPM template.
- the list is reordered using template shown in the above figure. GPM blending process is not used in the template, and SAD between the prediction and reconstruction of the template is used for ordering.
- Fig. 30 shows GPM template.
- the SGPM mode is applied to blocks whose width and height meet the same restrictions as in inter GPM.
- the following items are considered: l Spatial GPM partition modes: 26 predefined modes; Adaptive derivation algorithm based on the horizontal and vertical gradients ratio.
- l Intra prediction mode selection IPM list with and without TIMD: For each partition mode, an IPM list is derived for each part using intra-inter GPM list derivation.
- the IPM list size is 3. In the list, TIMD derived mode is replaced by 2 derived modes with horizontal and vertical orientations (using top or left templates) or TIMD derived mode is excluded.
- MPM list A uniform MPM list, up to 11 elements, is used for all partition modes. 43 F1242906PCT l Template size (left and above): 1 or 4.
- Fig. 31 shows GPM blending. 2.24. Signaling of cross-component prediction modes in ECM [0253]
- Fig. 32 illustrates binarization of cross-component prediction modes in ECM. “CCLM” in Fig. 32may be replaced by “CCCM”.
- cross-components modes include CCLM, CCLM-L, CCLM-T, MM-CCLM, MM-CCLM-L, MM-CCLM-T, and CCCM, CCCM-L, CCCM-T, MM-CCCM, MM-CCCM-L, MM-CCCM-T.
- One flag is signaled to determine whether it is a kind of CCCM mode or a kind of CCLM mode.
- a truncated unary code is applied to indicate the CCLM mode or CCCM mode shown in Fig. 32.
- CCLM or CCCM 0; MM-CCLM or MM-CCCM: 10; CCLM-L or CCCM-L: 110; CCLM-T or CCCM-T: 1110; MM-CCLM-L or MM-CCCM-L: 11110; MM-CCLM-T or MM-CCCM-T: 11110.
- ⁇ KCO ( h ⁇ ⁇ ⁇ KCO ⁇ + h; ⁇ ⁇ KCO; + (; ⁇ (LJ7 ⁇ b 5 ;)) ) @ LJ7 ⁇ b
- ⁇ KCO ⁇ is the predictor obtained by applying the non-LM mode
- ⁇ KCO is the predictor obtained by applying the MMLM_LT mode
- ⁇ KCO is the final predictor of the current chroma block.
- H-CCP History-based cross-component prediction
- model(s) of cross-component prediction (CCP), such as CCLM or CCCM, in a block may be stored into a history table (HT).
- a HT is a list with ordered entries. i. Each entry has an index. For example, the index of the first entry is 0, and indices of following entries are 1, 2, 3,...
- Model parameters of CCLM and its variants may comprise a, b and a shift which controls the calculation precision.
- Model parameters of CCLM and its variants may comprise linear parts such as c0 ⁇ c4 and nonlinear part such as c5.
- Models may include models for different color components such as Cb and Cr. i.
- models for Cb and Cr may be coupled in a entry.
- different CCPs like CCLM and CCCM may share the same HT. 45 F1242906PCT i.
- a segment in an entry of the HT may reflect the type of CCP model(s) stored in the entry.
- different CCPs like CCLM and CCCM may have different HTs.
- one CCLM_HT may store models of CCLM and its var- iants like CCLM-L or CCLM-T.
- one CCCM_HT may store models of CCCM and its var- iants like CCCM-T or CCCM-T.
- CCP with a single model (like CCLM or CCCM) and CCP with multiple models (like MM-CCLM or MM-CCCM) may have different HTs.
- CCP with a single model (like CCLM or CCCM) and CCP with multiple models (like MM-CCLM or MM-CCCM) may share the same HT.
- a segment in an entry of the HT may reflect the number of models stored in the entry. ii. In one example, a segment in an entry of the HT may reflect at least one threshold used to classify samples into different groups of models.
- a first HT is used to store models of CCLM and its variants.
- CCLM variants may comprise CCLM-L, CCLM-T, MM-CCLM, MM-CCLM-L, MM-CCLM-T, GLM and CCLM with slope adjustments. 1) A segment in an entry of the HT may reflect the number of models stored in the entry. 2) A segment in an entry of the HT may reflect at least one threshold used to classify samples into different groups of models. 3) A segment in an entry of the HT may reflect whether GLM is applied. 4) A segment in an entry of the HT may reflect the down-sampling filter of GLM. j. In one example, a second HT is used to store models of CCCM and its variants. i.
- CCCM variants may comprise CCCM-L, CCCM-T, MM-CCCM, MM-CCCM-L, MM-CCCM-T.
- a segment in an entry of the HT may reflect the number of models stored in the entry.
- a segment in an entry of the HT may reflect at least one threshold used to classify samples into different groups of models.
- H-CCP history-based CCP
- a block can be coded with history-based CCP (H-CCP) mode, in which mode at least one CCP model used by the current block is fetched or derived from a HT.
- H-CCP history-based CCP
- SE syntax element
- the SE may be signaled conditionally.
- the SE is sig- naled only if a specific mode is used, such as CCCM or CCLM.
- a specific mode such as CCCM or CCLM.
- the SE is signaled only if the current mode is CCCM or CCLM.
- at least one syntax element may be signaled to indicate which entry in a HT is fetched to derive the model(s) of cross-component predic- tion. i.
- the SE may reflect an index in the HT. 1)
- the SE may be set equal to f(k) where k is an index and f is a function.
- the SE may be set equal to f(k, M) where k is an index, M is the number of valid entries in the HT and f is a function. a) In another example, M is the size of HT. 3) In one example, the SE may be set equal to k where k is an index. 4) In one example, the SE may be set equal to M-1-k where k is an index and M is the number of valid entries in the HT. a) In another example, M is the size of HT. ii. The SE may reflect an index of a list and the list may be constructed based on the HT. 1) In one example, the list L is constructed by reversing the HT.
- L[i] HT[M-1-i], wherein M is the number of valid entries in the HT.
- M is the size of HT.
- L may have a fixed size.
- c) In one example, if L is not full, the vacant entries are filled with default entries.
- iii. the SE may be signaled conditionally. E.g. the SE is sig- naled only if H-CCP is applicable. iv. The SE may be signaled only if more than one entry in the HT can be selected. v. The maximum value (denoted as V) of the SE is determined by the num- ber of entries to be selected.
- at least one syntax element may be signaled to indicate which HT is used.
- the SE may be signaled conditionally. E.g. the SE is sig- naled only if H-CCP is applicable.
- the SE may be signaled only if more than one HTs can be selected.
- it may be derived at encoder/decoder which HT is used.
- a first HT storing models of CCLM and its variants is used. ii.
- the current block may be predicted with the CCP model fetched from the determined entry of the determined HT. f. In one example, the current block may be predicted with either CCCM or CCLM based on whether the first HT or the second HT is applied. g. In one example, the current block may be predicted with multiple models. i. Whether single model or multiple models are applied may be de- rived/fetched from the determined entry of the determined HT. ii.
- At least one threshold used to classify samples into different groups of models may be fetched/derived from the determined entry of the deter- mined HT. Maintenance of the HT 3.
- the maximum size of a HT may be predetermined, such as to be 5 or 6. 47 F1242906PCT a.
- the maximum size of a HT may be signaled as a SE at block level/ sequence level/group of pictures level/picture level/slice level/tile group level, such as in coding structures of CTU/CU/TU/PU/CTB/CB/TB/PB, or sequence header/picture header/SPS/VPS/DPS/DCI/PPS/APS/slice header/tile group header.
- the maximum size of a HT may be derived using coding/decoding information such as i. The mode of the current block; ii. The mode of a neighbouring block; iii. The mode of a luma block in the collocated region of the current block; iv. The mode of a luma block in the collocated region of a neighbouring block; v. QP; vi. Slice/picture type; vii. Picture width/height; viii. Block width/height; ix. Reconstructed samples. 4.
- a HT may be refreshed at the beginning of encoding/decoding a sequence/pic- ture/slice/tile/sub-picture/CTU row/CTU. a.
- a HT may be refreshed by emptying the table.
- a HT may be refreshed by fulfilling the table with default entries. 5.
- a HT may be updated.
- the CU must be a chroma CU when dual-tree coding is applied.
- the CU must be a CU with CCP modes.
- which HT to be updated may depend on the coding mode of the CU. i.
- the model(s) and related information are stored in the first HT. ii.
- the model(s) and related information are stored in the first HT.
- a set of information related to the CCP model(s) used by the current block may be put into the HT.
- the set may comprise one or multiple CCP models.
- the set may comprise the number of models. iii.
- the set may comprise threshold(s) used to classify samples into different groups of models). iv.
- the set may comprise slope adjustments. e.
- the CCP model may be adjusted before being used to update the HT, if the current block is coded with CCLM with slope adjustments. 6.
- How to put a new set of information related to the CCP model(s) into a HT may depend on whether the HT is full. 48 F1242906PCT a. For example, if the HT is not full, the new set may be put to the first vacant entry of the HT. i. For example, the first vacant entry is the vacant entry with the smallest index. ii. For example, the first vacant entry is the vacant entry with the largest index. iii. After being put into the HT, the new set may be put as the last occupied entry in the HT.
- the last occupied entry may be the occupied entry with the largest index. 2) The last occupied entry may be the occupied entry with the smallest index. b.
- one existing entry in the HT may be removed. i.
- the HT may be managed in a First In First Out way. ii.
- the existing entry with the smallest index may be removed.
- the existing entry with the largest index may be removed.
- the new set may be compared with at least one of the existing entries in the HT to determine whether to put into the new set and/or how to update the HT. In one example, if the new set is the same or similar to one of the existing entries in the HT, the new set is not put into the HT. Suppose the new set is the same or similar to a special entry of HT. a.
- the special entry may be put to the first of the HT, and the entries originally before the special entry are pushed one position back- ward.
- the special entry may be put to the end of the HT, and the entries originally before the special entry are pushed one position forward. i.
- whether to put into the new set and/or how to update the HT may depend on the coding information of the CU with the new set. In one example, if the new set is of a CU coded with H-CCP mode, the new set is not put into the HT. Suppose a special entry in HT is used by the CU coded with H-CCP. a.
- the special entry may be put to the first of the HT, and the entries originally before the special entry are pushed one position back- ward.
- the special entry may be put to the end of the HT, and the entries originally before the special entry are pushed one position forward. i.
- an entry of HT may include models for more than one chroma com- ponents, such as Cb and Cr. a. If an entry is selected, then the models for component Cb and Cr are applied on the two components respectively. 12. It is proposed that an entry of HT may include models for only one component, such as Cb or Cr. a.
- the model for the specific component such as Cb or Cr is applied on the specific component.
- different HT may be built for different components.
- List mode 13 It is proposed that at least one list with CCP models may be constructed. a. In one example, a chroma block may be predicted with a CCP model in the list, with a “list mode”. b. In one example, the list L may be filled with one type of CCP models, such as CCCM. c. In one example, the list may be filled with multiple types of CCP models, such as both CCCM and CCLM. i. In one example, the type of the CCP model will be stored in the list to- gether with the CCP model. d.
- At least one syntax element may be signaled to indicate whether a CCP model in the list is used.
- the SE may be signaled conditionally. E.g. the SE is sig- naled only if a specific mode is used, such as CCCM or CCLM. 1) For example, the SE is signaled only if the current mode is CCCM or CCLM. 2) For example, the SE is signaled only if the “list mode” is applicable.
- at least one syntax element (SE) may be signaled to indicate which entry in the list is used to derive the model(s) of cross-component predic- tion. i. The SE may reflect an index in the list.
- the SE may be set equal to f(k) where k is an index and f is a function. 2) In one example, the SE may be set equal to f(k, M) where k is an index, M is the number of valid entries in the list and f is a function. a) In another example, M is the size of list. 3) In one example, the SE may be set equal to k where k is an index. 4) In one example, the SE may be set equal to M-1-k where k is an index and M is the number of valid entries in the list. a) In another example, M is the size of list. f. In one example, L may have a fixed size. g. In one example, multiple lists may be constructed.
- At least one syntax element may be signaled to indicate which list is used.
- the SE may be signaled conditionally. E.g. the SE is sig- naled only if “list mode” is applicable.
- the SE may be signaled only if more than one list can be selected. h. In one example, it may be derived at encoder/decoder which list is used. i. In one example, if the current mode is CCLM, a first list storing models of CCLM and its variants is used. ii.
- a second list storing mod- els of CCCM and its variants is used. 14. It is proposed that an entry of list may include models for more than one chroma com- ponents, such as Cb and Cr. a. If an entry is selected, then the models for component Cb and Cr are applied on the two components respectively. 15. It is proposed that an entry of list may include models for only one component, such as Cb or Cr. a. If an entry is selected, then the model for the specific component such as Cb or Cr is applied on the specific component. 16. Multiple candidates may be put into the list, including. a. A CCP model of an adjacent neighbouring block. b.
- a CCP model of a non-adjacent neighbouring block c.
- d. A CCP model of a reference block in a reference picture.
- e. A CCP model in a history table.
- f. A CCP model derived from non-adjacent samples.
- g. A default CCP mode. 17.
- a list may be constructed by checking possible candidates in an order. a.
- the order may be adjacent neighbouring blocks, non-adjacent neighbouring blocks, models in a history table, models derived from non-adja- cent samples.
- the list construction is finished if the number of candidates in the list achieves the maximum allowed size of the list (such as 5 or 6).
- d default models may be put into the list if all possible candidates have been checked the the construction is not finished. 18.
- a potential candidate if a potential candidate is put into the list, it may be compared with at least one existing candidate in the list. a. For example, the potential candidate is not put into the list, if it is the same or similar to the existing candidate. b.
- a potential entry of CCP information is put into the history- based table, it may be compared with at least one existing entries in the list. i. For example, the potential entry is not put into the list, if it is the same or similar to an existing entry.
- two CCP candidates or entries are determined NOT to be the same if 51 F1242906PCT i.
- the CCP types are different. ii.
- the numbers of models are different.
- the thresholds are different if the CCP has multiple models.
- iv. At least one model is different.
- the luma sample offset is different.
- CCP information of an entry in the history-based table or of a candidate in a CCP candidate list may comprise: a.
- the type of the CCP method such as CCLM or CCCM or GLM or GLM with luma or GL-CCCM or CCCM using non-downsampled luma samples.
- GLM method using different down-sampling filters may be considered as different types. ii.
- GLM with luma method using different down-sampling filters may be considered as different types.
- the types may be CCCM, CCLM, 4 types of GLM using different down-sampling filters, 4 types of GLM with luma using differ- ent down-sampling filters, GL-CCCM and CCCM using non-downsam- pled luma samples.
- “Not coded with CCP” (denoted as NonCCP) may also be treated as a type.
- the number of models may be considered as a part of the CCP type.
- CCLM and MM-CCLM may be considered as two types.
- At least one chroma sample value offset may be added to or subtracted from a chroma prediction value derived by a CCP model to generate the final prediction.
- At least one models for at least one chroma component may include different models for Cb and Cr components. ii.
- the number of models for each component may be included as a part of the information. 52 F1242906PCT iii.
- the model may be represented by the model form of CCLM or CCCM or GLM or GLM with luma or GL-CCCM or CCCM using non-downsam- pled luma samples. h.
- the chroma sample location shift may be added to or subtracted from the sample location (x, y) when it is used to derive the chroma prediction value.
- the chroma sample location shift may be used only for specific types such as GL-CCCM. 20.
- the CCP coding information of a chroma block after being coded/decoded may be stored in the history-based table or in the CCP candidate list. a. In one example, the CCP coding information may be stored only if the chroma block is coded with a CCP mode. i.
- the CCP coding information may be stored if the chroma block is coded with at least one CCP mode, such as with the fusion of chroma intra prediction mode. 1) The stored type may be set to bethe CCP type used in the fusion of chroma intra prediction mode. b. In one example, the CCP coding information may be stored for any chroma block. i. If the chroma block is not coded with a CCP mode, the type is stored as “NonCCP”. c. If the chroma block is coded with a CCP mode, the type of information may be stored as depending on the coding mode. i.
- the type is set to be “CCCM” if the mode is CCCM, or CCCM-T, or CCCM-L, or MM-CCCM, or MM-CCCM-T, or MM-CCCM-L.
- the type is set to be “CCLM” if the mode is CCLM, or CCLM-T, or CCLM-L, or MM-CCLM, or MM-CCLM-T, or MM-CCLM-L.
- the type is set to be “CCLM” if the mode is CCLM, or CCLM-T, or CCLM-L, or MM-CCLM, or MM-CCLM-T, or MM-CCLM-L, with slope adjustments.
- the type is set to be “GLM using filter X” if the mode is GLM using filter X. v. The type is set to be “GLM with luma using filter X” if the mode is GLM with luma using filter X. vi. The type is set to be “GL-CCCM” if the mode is GL-CCCM. vii. The type is set to be “CCCM using non-down-sample” if the mode is CCCM using non-down-sample. viii. The type is set to be “CCLM” if the mode is the fusion of chroma intra prediction mode. d. The number of models may be stored as the number of models of the chroma block. i.
- the number of models is set to be 2 if the mode is MM- CCLM, or MM-CCLM-T, or MM-CCLM-L, or MM-CCLM, or MM- CCLM-T, or MM-CCLM-L or any other multi-model CCP modes (such as GLM or GL-CCCM or CCCM using non-downsampled luma samples with multi-models).
- 53 F1242906PCT e.
- Information such as the threshold, the luma/chroma sample value offset, sample location shift may be stored as the information used by the chroma block.
- the CCP model of one component may be stored as the model used by the chroma block. i.
- the model may be derived by any CCP method such as CCLM, or CCLM-T, or CCLM-L, or MM-CCLM, or MM-CCLM-T, or MM- CCLM-L or CCCM, or CCCM-T, or CCCM-L, or MM-CCCM, or MM-CCCM-T, or MM-CCCM-L or GLM using different down-sampling fil- ters, or GLM with luma using different down-sampling filters, or GL- CCCM or CCCM using non-downsampled luma samples.
- the stored model may be the final applied one, such as the one after been modified by the slope adjustment.
- a history table of CCP information after coding/decoding a region may be stored, known as a stored table.
- the history table of CCP information maintained for the current block (known as an online table) may be used together with the stored history table of CCP information.
- entries in a stored table and in an on-line table may be checked in an order to generate new candidates.
- entries in the on-line table may be checked before all entries in the stored table.
- entries in the stored table may be checked before all en- tries in the on-line table. iii.
- k-th entry in the stored table may be checked after the k-th entry in the on-line table.
- k-th entry in the on-line table may be checked after the k-th entry in the stored table.
- which stored table(s) to be used may depend on the dimension and/or location of the current block. i. For example, the table stored in the CTU above the current CTU may be used. ii. For example, the table stored in the CTU left-above to the current CTU may be used.
- the table stored in the CTU right-above to the current CTU may be used.
- whether to and/or how to use a stored table may depend on the dimension and/or location of the current block.
- whether to and/or how to use a stored table may depend on whether the current CU is at the top boundary of a CTU and the above neighbouring CTU is available. 1) For example, a stored table may be used only if the current CU is at the top boundary of a CTU and the above neighbouring CTU is avail- able.
- At least one entry in a stored table may be put to a more forward position if the current CU is at the top boundary of a CTU and the above neighbouring CTU is available.
- entries in two stored tables may be checked in an order to gen- erate new candidates.
- a first (or a second) stored table may be stored in the CTU above the current CTU may be used.
- ii a first (or a second) stored table may be stored in the CTU left-above to the current CTU may be used.
- iii For example, a first (or a second) stored table may be stored in the CTU right-above to the current CTU may be used.
- Non-adjacent Cross-Component Prediction (NA-CCP) 1. It is proposed that the model(s) of cross-component prediction, such as CCLM or CCCM, in a block may be derived based on a set of samples non-adjacent to the current block, known as non-adjacent cross-component prediction (NA-CCP). a. In one example, the set of samples are non-adjacent to the current block only if no sample in the set is adjacently neighbouring to the current block (such as ad- jacent above or adjacent left to the current block). b. In one example, the set of samples are reconstructed before coding/decoding the current block. c.
- NA-CCP Non-adjacent Cross-Component Prediction
- the samples may comprise chroma samples and/or their corresponding luma samples, which may be generated by down-sampling if the color format is 4:2:0 or 4:2:2. 2.
- at least one syntax element may be signaled to indicate whether non-adjacent cross-component prediction is applied.
- the SE may be signaled conditionally. e.g. the SE is signaled only if a specific mode is used, such as CCCM or CCLM. 3.
- more than one sets of samples non-adjacent to the current block may be used to derive the model(s) of cross-component prediction. a.
- samples in more than one sets may be jointly used to derive the model(s) of cross-component prediction.
- one set of multiple candidate sets may be selected to derive the model(s) of cross-component prediction.
- at least one syntax element (SE) may be signaled to indicate which set of non-adjacent samples is used to derive the model(s) of cross-component prediction.
- the SE may be signaled conditionally. E.g. the SE is signaled only if NA-CCP is applicable.
- the SE may be signaled only if more than one sets of non-adjacent samples can be selected. 55 F1242906PCT c.
- luma samples corresponding to a set of non-adjacent chroma samples may be prepared or generated, to be used to train the cross-component model.
- down-sampling may be applied to generate the corresponding luma samples if the color format is 4:2:0 or 4:2:2.
- generated luma samples may correspond to a region larger than the region of non-adjacent chroma samples. i.
- the generated luma samples may correspond to a (M+T+B) ⁇ (N+L+R) chroma rectangle, as shown in Fig. 33.
- the luma region may be set to be the available region. 9.
- whether a region comprising the non-adjacent samples is a valid set of samples to derive model(s) may be determined by the availability of at least one sample of the region. 56 F1242906PCT a.
- the region is a rectangle.
- the region is determined to be valid only if the top-left reconstructed sample and bottom-right reconstructed sample of the region are both available. c.
- a region list may be constructed to record the multiple sets of non-adja- cent samples.
- an index of the list may be signaled as a SE to indicate which set of non-adjacent samples is used to derive the model(s) of cross-component pre- diction.
- the SE may be binarized as a truncated unary code.
- the SE may be signaled conditionally. E.g. the SE is sig- naled only if NA-CCP is applied. iii.
- the SE may be signaled only if more than one sets of non-adjacent sam- ples can be selected.
- the list may be constructed by checking multiple potential can- didate regions in an order. i. The list is initialized to be empty. ii. The list construction is finished if the number of candidate regions in the list is equal to the maximum size of the list, such as 6. iii.
- the list construction is finished if all the potential candidate regions have been checked. iv. potential candidate may be put into the list if the region is determined to be valid. v. Pruning may be applied to construct the list. 1) A potential candidate may not be put into the list if it is “duplicated” with an existing candidate in the list. a) A candidate region is “duplicated” with another region if their samples are the same. (or similar) b) A candidate region is “duplicated” with another region if the same or similar models may be derived from samples in those two regions. In one example, the position and/or dimensions of the region comprising the non-adja- cent samples may depend on coding information, such as width/height of the current block. a.
- the region may be a potential candidate region for the list.
- the distance between the region and the current block may depend on width/height of the current block.
- Fig. 34 shows an example.
- Fig. 34 illustrates an example of potential candidate regions. 57 F1242906PCT 13.
- (x0, y0) (s*f(W, H), t*g(W, H)), wherein f and g are functions.
- s and t are scaling factors such as 0.5, 1 or 2.
- (x0, y0) (s*f(W), t*g(H)), wherein f and g are functions.
- s and t are scaling factors such as 0.5, 1 or 2. 14.
- the potential candidate regions are M ⁇ N (e.g.
- xStep Max(W, K1)
- yStep Max(H, K2)
- whether to and/or how to apply NA-CCP may be signaled from the encoder to the decoder.
- whether to and/or how to apply NA-CCP may be derived at en- coder and decoder based on coded/decoded information without signaling.
- “How to apply NA-CCP” may comprise: i. Which CCP (such as CCLM or CCCM) model is derived by NA-CCP; ii.
- Coded/decoded information may comprise: i. The mode of the current block; ii. The mode of a neighbouring block; iii. The mode of a luma block in the collocated region of the current block; iv. The mode of a luma block in the collocated region of a neighbouring block; v. QP; vi. Slice/picture type; vii. Picture width/height; viii. Block width/height; ix. Reconstructed samples.
- the CCP coding information of a spatial or temporal neighbouring block may be used by the current block.
- the spatial neighbouring block may be adjacent or non-adjacent to the current block.
- the CCP coding information may comprise: i.
- the type of the CCP method such as CCLM or CCCM or GLM or GLM with luma or GL-CCCM or CCCM using non-downsampled luma sam- ples.
- GLM method using different down-sampling filters may be considered as different types.
- GLM with luma method using different down-sam- pling filters may be considered as different types.
- the types may be CCCM, CCLM, 4 types of GLM using different down-sampling filters, 4 types of GLM with luma us- ing different down-sampling filters, GL-CCCM and CCCM using non-downsampled luma samples.
- “Not coded with CCP” (denoted as NonCCP) may also be treated as a type.
- CCLM and MM-CCLM may be con- sidered as two types. iv.
- At least one threshold to classify samples for different models 1) The threshold may be used only if the number of models is at least 2.
- v. At least one luma sample value offset.
- the luma sample value offset may be added to or subtracted from a luma sample (which may be down sampled) when it is used to derive a chroma prediction value.
- the luma sample value offset may be used only for specific types such as CCCM, GLM with luma, GL-CCCM and CCCM using non- down-sample luma samples.
- At least one chroma sample value offset At least one chroma sample value offset.
- the chroma sample value offset may be added to or subtracted from a chroma prediction value derived by a CCP model to generate the final prediction.
- At least one models for at least one chroma component 1) For example, it may include different models for Cb and Cr compo- nents. 2) For example, the number of models for each component may be in- cluded as a part of the information. 3) The model may be represented by the model form of CCLM or CCCM or GLM or GLM with luma or GL-CCCM or CCCM using non-downsampled luma samples. viii. At least one sample location shift denoted as (dX, dY).
- the chroma sample location shift may be added to or subtracted from the sample location (x, y) when it is used to derive the chroma pre- diction value. 2) The chroma sample location shift may be used only for specific types such as GL-CCCM. c.
- the CCP coding information may be stored after a chroma block is coded/decoded. i. In one example, the CCP coding information may be stored only if the chroma block is coded with a CCP mode. 1) In one example, the CCP coding information may be stored if the chroma block is coded with at least one CCP mode, such as with the fusion of chroma intra prediction mode.
- the stored type may be set to bethe CCP type used in the fusion of chroma intra prediction mode.
- the CCP coding information may be stored for any chroma block. 1) If the chroma block is not coded with a CCP mode, the type is stored as “NonCCP”. iii. If the chroma block is coded with a CCP mode, the type of information may be stored as depending on the coding mode. 1) The type is set to be “CCCM” if the mode is CCCM, or CCCM-T, or CCCM-L, or MM-CCCM, or MM-CCCM-T, or MM-CCCM-L.
- the type is set to be “CCLM” if the mode is CCLM, or CCLM-T, or CCLM-L, or MM-CCLM, or MM-CCLM-T, or MM-CCLM-L.
- the type is set to be “CCLM” if the mode is CCLM, or CCLM-T, or CCLM-L, or MM-CCLM, or MM-CCLM-T, or MM-CCLM-L, with slope adjustments.
- the type is set to be “GLM using filter X” if the mode is GLM using filter X.
- the type is set to be “GLM with luma using filter X” if the mode is GLM with luma using filter X.
- the type is set to be “GL-CCCM” if the mode is GL-CCCM. 7) The type is set to be “CCCM using non-down-sample” if the mode is CCCM using non-down-sample. 60 F1242906PCT 8) The type is set to be “CCLM” if the mode is the fusion of chroma intra prediction mode. iv.
- the number of models may be stored as the number of models of the chroma block.
- the number of models is set to be 2 if the mode is MM- CCLM, or MM-CCLM-T, or MM-CCLM-L, or MM-CCLM, or MM-CCLM-T, or MM-CCLM-L or any other multi-model CCP modes (such as GLM or GL-CCCM or CCCM using non-downsam- pled luma samples with multi-models).
- Information such as the threshold, the luma/chroma sample value offset, sample location shift may be stored as the information used by the chroma block.
- the CCP model of one component may be stored as the model used by the chroma block.
- the model may be derived by any CCP method such as CCLM, or CCLM-T, or CCLM-L, or MM-CCLM, or MM-CCLM-T, or MM- CCLM-L or CCCM, or CCCM-T, or CCCM-L, or MM-CCCM, or MM-CCCM-T, or MM-CCCM-L or GLM using different down- sampling filters, or GLM with luma using different down-sampling filters, or GL-CCCM or CCCM using non-downsampled luma sam- ples. 2)
- the stored model may be the final applied one, such as the one after been modified by the slope adjustment. d.
- the CCP coding information of a specific chroma block cov- ered by or covering or overlapped with the M ⁇ N region may be stored to the M ⁇ N region. 1) For example, the CCP coding information of the first coded/decode block with CCP information covered by or covering or overlapped with the M ⁇ N region may be stored. 2) For example, the CCP coding information of the last coded/decode block with CCP information covered by or covering or overlapped with the M ⁇ N region may be stored.
- the CCP coding information of the coded/decode block with CCP information covered by or covering or overlapped a spe- cific position of the M ⁇ N region may be stored.
- the specific position may be the top-left/bottom-right/top- right/bottom-left /center position of the M ⁇ N region.
- a CCP candidate list may be built for a chroma block.
- a first syntax element (SE) may be signaled to indicate whether a CCP candidate in the list is applied to the current chroma block. (It may be denoted as “The block is coded with the CCP candidate list mode”) i.
- the SE may be a flag. ii.
- the SE may be coded by a context.
- the first SE may be signaled in a conditional way. i.
- the first SE may be signaled only if CCP is applied.
- 61 F1242906PCT ii For example, the first SE may be signaled only if CCP is applied, and a specific mode is applied.
- the specific mode may be CCLM.
- the specific mode may be CCCM.
- a second syntax element (SE) may be signaled to indicate which CCP candidate is applied.
- the SE may be an index. ii.
- the SE may be binarized as a truncated unary code.
- the maximum value of the SE may be S-1, where S is the maximum size of the candidate list.
- the first bin of the SE may be coded by a context.
- the second SE may be signaled in a conditional way. i.
- the second SE may be signaled only if the first SE indicates a CCP candidate in the list is applied.
- whether the CCP candidate list mode is applicable may be sig- naled in VPS/DPS/SPS/PPS/picture header/slice header/etc. f.
- the maximum size/length of the CCP candidate list may be sig- naled in VPS/DPS/SPS/PPS/picture header/slice header/etc.
- a CCP candidate list may comprise at least one CCP candidates stored in a spatial neighbouring block may be adjacent or non-adjacent to the current block (suppose the top-left position of the current block is (Xt, Yt), the width and height of the current block is W and H, respectively.
- a set of positions are checked in order to find stored CCP infor- mation. i. For example, if the type of the stored CCP information associated with the position is NonCCP, the position is skipped.
- the position is put in a backup position list. ii.
- the type of the stored CCP information associated with the position is NOT NonCCP, the stored CCP information is tried to be appended to the list.
- the set of positions (Xi, Yi) to be checked in order may be de- rived from positions near to the current block, to positions far from the current block. i.
- the positions may be checked in a cycle by cycle manner. For a cycle, several positions are checked, and the next cycle is performed. ii.
- positions to be checked in a cycle are: (Xt-NDHor-1, Yt+H+NDVer-1), (Xt+W+ NDHor-1, Yt-NDVer-1), (Xt + (W>>1), Yt- NDVer-1), (Xt - NDHor-1, Yt+(H>>1)), (Xt-NDHor- 1, Yt- NDVer -1).
- NDHor and NDVer are different for different cycles.
- positions to be checked for the cycle k are derived as: NDHor NDVer 62 F1242906PCT iv.
- positions to be checked for different cycle may be differ- ent.
- the set of positions (Xi, Yi) to be checked may be the same as the set of positions checked when building the merge list.
- the set of positions (Xi, Yi) to be checked may be the same as the set of positions checked when building the sub-block-based merge list. 19.
- when trying to put stored CCP information into the CCP candidate list as a candidate it may be compared with at least one candidate already in the CCP candidate list. a. In one example, all the candidates in the list may be compared with the potential candidate.
- b In one example, if a candidate already in the CCP candidate list is the same or similar as the potential candidate, then potential candidate cannot be put into the CCP candidate list.
- two CCP candidates are determined NOT to be the same if i.
- the CCP types are different. ii.
- the numbers of models are different.
- the thresholds are different if the CCP has multiple models.
- iv. At least one model is different.
- the luma sample offset is different. (maybe only applicable if the type is CCCM or GL-CCCM or GPM or CCCM with using non-downsampled luma samples.) vi.
- the sample location shifts are different. (maybe only applicable if the type is GL-CCCM). 20.
- the CCP will be performed following the CCP information. a.
- CCCM, CCLM, 4 types of GLM using different down-sampling filters, 4 types of GLM with luma using different down-sampling filters, GL-CCCM and CCCM using non-downsampled luma samples may be applied to the current block, based on the CCP type of the candidate.
- One model or multiple models with at least one threshold may be used, based on the model number and thresholds of the candidate.
- the luma sample value offset of the candidate may be added to or subtracted from the luma samples (which may be down-sampled) to be put into the CCP model. i.
- the process may be only applicable if the type is CCCM or GL-CCCM or GPM or CCCM with using non-downsampled luma samples.
- the sample location shift(s) may be added to or subtracted from the location co- ordinator to be put into the CCP model.
- the process may be only applicable if the type is GL-CCCM.
- How to get down-sampled luma samples may be based on the CCP type.
- the down-sampled luma samples may be obtained following the down- sampling method required by the CCP mode corresponding to the type. 21.
- the prediction value generated by a CCP candidate may be modified before being used to obtain the reconstruction sample value. a.
- an offset D may be added to or subtracted from the prediction value.
- the offset may be derived based on luma/chroma samples of a template, which is calculated using reconstructed samples neighbouring to the current block, known as a “template”.
- Fig.35 shows examples of a template.
- Fig. 35 illustrates possible templates.
- the template may consist of reconstructed samples left to the current block, if reconstructed samples left to the current block are available.
- the template may consist of reconstructed samples above to the current block, if reconstructed samples above to the current block are available. iii.
- the template may consist of reconstructed samples above or left to the current block, if reconstructed samples above/left to the cur- rent block are available.
- Corresponding luma samples of the template may be down-sampled with the same manner as luma samples inside the current block.
- N offsets denoted as ⁇ D 0 , ..., D N-1 ⁇ may be derived for the N models.
- Offset D i may be added to or subtracted from the prediction value gener- ated by model i.
- the CCP method indicated by the type of the CCP candidate may be applied on the template. i.
- Sk Rk- Pk is calculated, where Rk and Pk represent the reconstructed sample value and the predic- tion value with CCP of the k-th sample, respectively, is calculated.
- D is calculated as the average value of ⁇ Sk ⁇ . 2
- S i k R i k - P i k is calculated, where R i k and P i k represent the reconstructed sample value and the prediction value with CCP of the k-th sample using model i, respectively, is calculated.
- D i is calculated as the average value of ⁇ S i k ⁇ . 2
- no division operation is used to calculate D or D i .
- a lookup table may be used to calculate D or D i .
- CCP may apply the modifications, such as CCLM and CCCM with multiple models.
- types of CCLM, CCLM with multiple models, CCCM with multiple models, and GLM may apply the modifications.
- a candidate with type “Non-adjacent” may be put into the candidate list. a.
- the information includes a position (x, y). b. If such a candidate is used to predict the current block, CCP model(s) may be derived with samples referred to by (x, y), as stated by bullet 1 ⁇ bullet 15. 64 F1242906PCT c.
- the CCP candidate list my compirse at least one candidate fetched from a history-based table.
- the history table may be an online table.
- the history table may be a stored table.
- the potential candidates may be checked in an order. i.
- the order may be (1) CCP information stored in spatial ad- jacent/non-adjacent blocks; (2) CCP candidate with type “Non-adjacent; (3) history-based candidates from the on-line table; (4) history-based can- didates from the stored table; (5) default candidates.
- the order may be (1) CCP information stored in spatial ad- jacent blocks; (2) CCP information stored in spatial non-adjacent blocks; (3) CCP candidate with type “Non-adjacent; (4) history-based candidates from the on-line table; (5) history-based candidates from the stored table; (6) default candidates. iii.
- the order may be (1) CCP information stored in spatial ad- jacent blocks; (2) CCP information stored in spatial non-adjacent blocks; (3) history-based candidates from the on-line table; (4) history-based can- didates from the stored table; (5) CCP candidate with type “Non-adjacent; (6) default candidates.
- the order may be (1) CCP information stored in spatial ad- jacent blocks; (2) history-based candidates from the on-line table; (3) CCP information stored in spatial non-adjacent blocks; (4) CCP candidate with type “Non-adjacent; (5) history-based candidates from the stored ta- ble; (6) default candidates.
- Any type of candidates in an exemplary order may be removed from.
- the CCP information of the CCP candidate may be stored. a.
- the storing method may follow the way disclosed in bullet 16.
- the CCP information of the CCP candidate may be put into the history-based table. a.
- the process to put the CCP information into the history-based table may follow the process described in section 2.27. 2.29.
- CCCM using multiple downsampling filters [0259] It is proposed to apply multiple downsampling filters to a group of reconstructed luma samples in a CCCM.
- the linear combination of these downsampled reconstructed 65 F1242906PCT samples is multiplied by derived filter coefficients to form the final chroma predictor.
- the horizontal or vertical location of the center luma sample may be also considered in the proposed model.
- the coefficients are derived by Gaussian elimination method as currently used by CCCM modes in ECM.
- Model 1 is a 1x1 prediction shape using current chroma sample only while the other models are one- directional prediction models using 3 chroma samples.
- Model 1 is a 1x1 prediction shape using current chroma sample only while the other models are one- directional prediction models using 3 chroma samples.
- a CCP candidate disclosed in 2.27 and 2.28 may also be denoted as a cross- component merge candidate.
- a CCP candidate list disclosed in 2.27 and 2.28 may also be denoted as a cross- component merge candidate list.
- CCP candidate mode, cross-component merge mode, and CCP merge mode may have the same meaning.
- a CCP candidate, a cross-component merge candidate, and a CCP merge candidate may have the same meaning.
- a CCP candidate list, a cross-component merge candidate list, and a CCP merge candidate list may have the same meaning.
- a CCP merge candidate list is constructed from the spatial adjacent, spatial non-adjacent, or history-based candidates. After including these candidates, default models are further included to fill the remaining empty positions in the merge lis t. In order to remove redundant CCP models in the list, pruning operation is applied. After constructing the list, the CCP models in the list are reordered depending on the SAD costs, which are obtained using the neighbouring template of the current block. More details are described below.
- Spatial adjacent and non-adjacent candidates [0267] The positions and inclusion order of the spatial adjacent and non-adjacent candidates are the same as those defined in ECM for regular inter merge prediction candidates.
- History-based candidates A history-based table is maintained to include the recently used CCP models, and the table is reset at the beginning of each CTU row. If the current list is not full after including spatial adjacent and non-adjacent candidates, the CCP models in the history- based table are added into the list. Default candidates [0269] CCLM candidates with default scaling parameters are considered, only when the list is not full after including the spatial adjacent, spatial non-adjacent, or history-based candidates. If the current list has no candidates with the single model CCLM mode, the default scaling parameters are ⁇ 0, 1/8, -1/8, 2/8, -2/8, 3/8, -3/8, 4/8, -4/8, 5/8, -5/8, 6/8 ⁇ .
- the default scaling parameters are ⁇ 0, the scaling parameter of the first CCLM candidate + ⁇ 1/8, -1/8, 2/8, -2/8, 3/8, -3/8, 4/8, -4/8, 5/8, -5/8, 6/8 ⁇ .
- the offset parameter is derived according to the default scaling parameter, average neighbouring reconstructed luma sample value, and average neighbouring reconstructed Cb/Cr sample value.
- a flag is signaled to indicate whether the CCP merge mode is applied or not. If CCP merge mode is applied, an index is signaled to indicate which candidate model is used by the current block.
- CCP merge mode is not allowed for the current chroma coding block when the current CU is coded by intra subpartitions (ISP) with single tree, or the current chroma coding block size is less than or equal to 16.
- ISP intra subpartitions
- 67 F1242906PCT 3.
- Luma samples used in CCP methods such as CCCM are limited. More luma samples may introduce additional benefits.
- Chroma information is not involved in the CCP approach. 4. Detailed description [0273] The detailed embodiments below should be considered as examples to explain general concepts. These embodiments should not be interpreted in a narrow way. Furthermore, these embodiments can be combined in any manner.
- CCCM may refer to the original CCCM mode, or it may refer to a variance of CCCM, such as CCCM-L, CCCM-T, MM-CCCM, MM-CCCM- L, MM-CCCM-T.
- CCLM may refer to the original CCLM mode, or it may refer to a variance of CCLM, such as CCLM-L, CCLM-T, MM-CCLM, MM-CCLM- L, MM-CCLM-T, etc.
- CCP cross-component prediction
- Extended CCCM Type #1 New added reconstructed luma samples beyond those at the positions N, W, E, S and C as shown in Fig. 37 may be involved in the CCP approach. As in Fig. 37, position C corresponds to the position of the chroma sample to be predicted. The luma positions may be after down-sampling for specific colour format such as YCbCr 4:2:0 or YCbCr 4:2:2. a. In one example, the new added luma samples may be at NW and/or NE and/or SW and/or SE as shown in Fig. 38. Fig. 38 illustrates an example of luma posi- tions (which may be after down-sampling) to be used in CCP. i.
- a new added luma sample may be at a position non-adjacent to C such as N2, W2, S2, E2, NNW, NW2, NWW, SWW, SW2, SSW, SEE, SE2, SSE, NEE, NNE, NE2, etc.
- a function with at least one input as a new added luma sample may be involved in the CCP approach.
- the function may be the derivation of a gradient.
- the luma samples may be obtained with down-sampling methods same as in CCLM, or CCCM or GLM, or MF-CCCM.
- the luma samples may be obtained with a different down- sampling method.
- the CCP approach using new added luma samples may be de- noted as a new mode extCCCM. i.
- extCCCM mode may have variants in a same way as CCCM, such as MM-extCCCM, extCCCM-L, extCCCM-T, MM-extCCCM-L, MM-ex- tCCCM-T.
- extCCCM mode and its variants may replace an exiting mode, such as CCCM, and its variants.
- extCCCM may be used as an additional mode.
- whether to and/or how to use extCCCM mode may depend on the coding information of the current block, such as. i. The mode of the current block; 1)
- extCCCM may not be applicable GL-CCCM is ap- plied.
- extCCCM may not be applicable unsampling CCCM is applied. 3) In one example, extCCCM may not be applicable if MF-CCCM is applied. 4) In one example, extCCCM may not be applicable if inside filtering is applied. 5) In one example, extCCCM may be applicable only for extCCCM not its variants. 6) In one example, extCCCM may be applicable only for extCCCM and MM-extCCCM, not other variants. ii. The mode of a neighbouring block; iii. The mode of a luma block in the collocated region of the current block; iv. The mode of a luma block in the collocated region of a neighbouring block; v.
- extCCCM may not be applicable if W ⁇ T1 and/or H ⁇ T2. 2) In one example, extCCCM may not be applicable if W+ H ⁇ T. 3) In one example, extCCCM may not be applicable if W* H ⁇ T. 69 F1242906PCT 4) In one example, extCCCM may not be applicable if W>T1 and/or H>T2. 5) In one example, extCCCM may not be applicable if W+ H>T. 6) In one example, extCCCM may not be applicable if W* H>T. ix. Position of the block.
- a flag (denoted as extCCCM_flag) may be signaled to indicate whether extCCCM and/or its variant is applied.
- the flag may be signalled conditionally.
- ii. For example, the flag is signalled only if CCCM_flag (indicating CCCM mode) is true.
- iii. For example, the flag is not signalled if CCP merge mode is applied.
- iv. For example, the flag is signaled only if extCCCM mode is applicable.
- whether extCCCM or its variant is applied may depend on signaled mode.
- the current block uses extCCCM mode.
- the signaled mode is CCLM, CCCM_flag and ex- tCCCM_flag are both true, then the current block uses extCCCM mode.
- the signaled mode is MM-CCLM, CCCM_flag and extCCCM_flag are both true, then the current block uses MM-ex- tCCCM mode.
- the signaled mode is CCLM-T, CCCM_flag and ex- tCCCM_flag are both true, then the current block uses extCCCM-T mode.
- extCCCM mode can be used with merge CCP mode. i.
- extCCCM mode can be regarded as a new type in merge CCP mode.
- Information and/or parameters of extCCCM can be stored in blocks.
- Information and/or parameters of extCCCM can be stored in the history table.
- the stored Information and/or parameters of extCCCM can be used to generate a candidate in the merge CCP candidate list.
- the candidate with the type of extCCCM can be involved in the candidate list reordering process as candidates with other types such as CCCM.
- the candidate with the type of extCCCM can be involved in the candidate list pruning process as candidates with other types such as CCCM. vii.
- the candidate with the type of extCCCM can be involved in the candidate list offset updating process as candidates with other types such as CCCM. 70 F1242906PCT viii. If a candidate with the type of extCCCM is selected, extCCCM is used for the current block, instructed by the parameters of the candidate. l. In one example, the same training process as CCCM is applied to derive the pa- rameters of extCCCM, but maybe with different number of parameters. i. In one example, the region of chroma reconstructed samples and their corresponding luma reconstructed samples (which may be obtained by down-sampling) used by extCCCM or its variant may be the same to that of CCCM or the corresponding variant of CCCM. ii.
- the region of chroma reconstructed samples and their corresponding luma reconstructed samples (which may be obtained by down-sampling) used by extCCCM or its variant may be different from (e.g. larger than) that of CCCM or the corresponding variant of CCCM.
- Extended CCCM Type #2 2.
- Reconstructed and/or predicted chroma samples may be involved in the CCP approach.
- Fig. 39 illustrates an example of luma positions (which may be after down-sam- pling) and chroma positions to be used in CCP.
- luma position C corresponds to the position X of the chroma sample to be predicted.
- the luma positions may be after down-sampling for specific colour format such as YCbCr 4:2:0 or YCbCr 4:2:2.
- the new added chroma samples may be at L and/or Y and/or Z and/or R and/or Q as shown in Fig. 39.
- the new added chroma samples may be at L and/or Y and/or Z as shown in Fig.40.
- Fig.40 illustrates a second example of luma positions (which may be after down-sampling) and chroma positions to be used in CCP.
- padding may be used to obtain the new added chroma recon- structed samples if unavailable.
- a function with at least one input as a new added chroma sample may be involved in the CCP approach.
- the function may be the derivation of a gradient.
- the function may be a non-linear operation such as the squared operation.
- the luma samples may be obtained with down-sampling methods same as in CCLM, or CCCM or GLM, or MF-CCCM. i. In one example, the luma samples may be obtained with a different down- sampling method.
- the CCP approach using new added chroma samples may be denoted as a new mode mixCCCM.
- mixCCCM mode may have variants in a same way as CCCM, such as MM-mixCCCM, mixCCCM-L, mixCCCM-T, MM-mixCCCM-L, MM- mixCCCM-T. 71 F1242906PCT h.
- mixCCCM mode and its variants may replace an exiting mode, such as CCCM, and its variants.
- mixCCCM may be used as an additional mode.
- whether to and/or how to use mixCCCM mode may depend on the coding information of the current block, such as. i.
- mixCCCM may not be applicable GL-CCCM is ap- plied. 2) In one example, mixCCCM may not be applicable unsampling CCCM is applied. 3) In one example, mixCCCM may not be applicable if MF-CCCM is applied. 4) In one example, mixCCCM may not be applicable if inside filtering is applied. 5) In one example, mixCCCM may be applicable only for mixCCCM not its variants. 6) In one example, mixCCCM may be applicable only for mixCCCM and MM-mixCCCM, not other variants. ii. The mode of a neighbouring block; iii. The mode of a luma block in the collocated region of the current block; iv.
- mixCCCM may not be applicable if W ⁇ T1 and/or H ⁇ T2. 2) In one example, mixCCCM may not be applicable if W+ H ⁇ T. 3) In one example, mixCCCM may not be applicable if W* H ⁇ T. 4) In one example, mixCCCM may not be applicable if W>T1 and/or H>T2. 5) In one example, mixCCCM may not be applicable if W+ H>T.
- a flag (denoted as mixCCCM_flag) may be signaled to indicate whether mixCCCM and/or its variant is applied. i. For example, the flag may be signalled conditionally. ii. For example, the flag is signalled only if CCCM_flag (indicating CCCM mode) is true. iii.
- the flag is not signalled if CCP merge mode is applied. iv.
- the flag is signaled only if mixCCCM mode is applicable. v.
- whether mixCCCM or its variant is applied may depend on signaled mode. 72 F1242906PCT 1) For example, if the signaled mode is CCLM, CCCM_flag and mixCCCM_flag are both true, then the current block uses mixCCCM mode. 2) For example, if the signaled mode is MM-CCLM, CCCM_flag and mixCCCM_flag are both true, then the current block uses MM- mixCCCM mode.
- the current block uses mixCCCM-T mode.
- the signaled mode is CCLM-T, CCCM_flag and mixCCCM_flag are both true, then the current block uses mixCCCM-T mode.
- the signaled mode is MM-CCLM-T, CCCM_flag and mixCCCM_flag are both true, then the current block uses MM- mixCCCM-T mode.
- the signaled mode is CCLM-L, CCCM_flag and mixCCCM_flag are both true, then the current block uses mixCCCM-T mode.
- mixCCCM mode can be used with merge CCP mode.
- mixCCCM mode can be regarded as a new type in merge CCP mode.
- Information and/or parameters of mixCCCM can be stored in blocks.
- Information and/or parameters of mixCCCM can be stored in the history table.
- the stored Information and/or parameters of mixCCCM can be used to generate a candidate in the merge CCP candidate list.
- the candidate with the type of mixCCCM can be involved in the candi- date list reordering process as candidates with other types such as CCCM.
- the candidate with the type of mixCCCM can be involved in the candi- date list pruning process as candidates with other types such as CCCM.
- the candidate with the type of mixCCCM can be involved in the candi- date list offset updating process as candidates with other types such as CCCM. viii. If a candidate with the type of mixCCCM is selected, mixCCCM is used for the current block, instructed by the parameters of the candidate.
- the same training process as CCCM is applied to derive the pa- rameters of mixCCCM, but maybe with different number of parameters. i.
- the region of chroma reconstructed samples and their corresponding luma reconstructed samples (which may be obtained by down-sampling) used by mixCCCM or its variant may be the same to that of CCCM or the corresponding variant of CCCM. ii. In one example, the region of chroma reconstructed samples and their corresponding luma reconstructed samples (which may be obtained by down-sampling) used by mixCCCM or its variant may be different from (e.g. smaller than) that of CCCM or the corresponding variant of CCCM.
- the region of chroma reconstructed samples as targe values and their corresponding luma reconstructed samples (which 73 F1242906PCT may be obtained by down-sampling) used by mixCCCM or its vari- ant may be smaller than that of CCCM or the corresponding variant of CCCM as shown in Fig. 41, wherein the top row and left-most column involved in the CCCM training process are excluded.
- Fig.41 illustrates an example of reconstructed chroma sample positions (in region 410) used to derive the parameters of mixCCCM as the target values in the training process. The grey positions shaded (in region 410) or not shaded (in region 420) are used to derive the parameters of CCCM.
- the white positions (in region 430) are the current 4 ⁇ 4 chroma block. iii.
- a reconstructed sample may be used as an input value (such as L, Y, R, Z, Q in Fig. 39 or Fig. 40), but not used as a target value (such as X in Fig. 39 or Fig. 40).
- Fig. 42 shows an example, where L, Y and Z can only used as input values of X, but they may not be used as target values in the training process.
- Fig.42 illustrates an example of reconstructed chroma sam- ple positions used as input values (L, Y, Z) of a target value X in the training process of mixCCCM, where (L, Y, Z) are out of the shaded region (region 410), in which of reconstructed chroma samples serve as target values in the parameter training process.
- a reconstructed sample may be used as an input value (such as L, Y, R, Z, Q in Fig. 39 or Fig. 40), and may also be used as a target value (such as X in Fig. 39 or Fig. 40).
- Fig.43 shows an example, where L, Y and Z are used as input values of X. L, Y and Z are also used as target values in the training process before processing X.
- Fig. 43 illustrates an example of reconstructed chroma sample positions used as input values (L, Y, Z) of a target value X in the training process of mixCCCM, where (L, Y, Z) are in the shaded region (in region 410), in which of reconstructed chroma samples serve as target values in the parameter training process.
- L, Y, Z serve as input value for target value X in the training process, and they also serve as the target values in the train- ing process.
- the chroma samples input to the model at specific positions may be re- constructed samples, or prediction samples.
- the specific position if the specific position is out of the current block, the reconstructed sample may be input.
- the prediction sample may be input.
- the prediction sample of a position may be ob- tained by using the mixCCCM model on that position as the tar- get to get the prediction value.
- Fig.44 shows an example, where L, Y and Z are used as input values of X. L, Y and Z are all reconstructed samples. Fig.
- FIG. 44 illustrates an example of applying the mixCCCM model in a 4 ⁇ 4 chroma block.
- 74 F1242906PCT The targe value is X and the input values (L, Y, Z) are reconstructed samples out of the current block. 4)
- Fig.45 shows an example, where L, Y and Z are used as input values of Xd L and Y are reconstructed samples, but Z is a prediction sam- ple.
- Fig. 45 illustrates a second example of applying the mixCCCM model in a 4 ⁇ 4 chroma block.
- the targe value is X and the input values (L, Y) are reconstructed samples out of the current block.
- the input value Z is a prediction sample, which is in the current block.
- Fig.46 shows an example, where L, Y and Z are used as input values of X, L, Y and Z are all prediction samples.
- Fig. 46 illustrates a sec- ond example of applying the mixCCCM model in a 4 ⁇ 4 chroma block.
- the targe value is X and the input values (L, Y, Z) are predic- tion samples in the current block.
- Harmonization of Extended CCCM Types 3 3.
- more than one extended CCCM modes may be applied.
- extCCCM and mixCCCM may coexist.
- a first flag (denoted as extended_CCCM_flag) may be signaled to indicate whether a kind of extended CCCM mode is applied. i.
- the flag may be signalled conditionally. 1) For example, the flag is signalled only if CCCM_flag (indicating CCCM mode) is true. 2) For example, the flag is not signalled if CCP merge mode is applied. 3) For example, the flag is signaled only if a kind of extended CCCM mode is applicable. c.
- a second syntax element extended_CCCM_type
- the flag may be signalled conditionally. 1) For example, the flag is signalled only if extended_CCCM_flag is true.
- a syntax element disclosed above may be binarized as a flag, a fixed length code, an EG(x) code, a unary code, a truncated unary code, a truncated binary code, etc. It can be signed or unsigned. 5.
- a syntax element disclosed above may be coded with at least one context model. Or it may be bypass coded. 6.
- a syntax element disclosed above may be signaled in a conditional way. a. The SE is signaled only if the corresponding function is applicable. b. The SE is signaled only if the dimensions (width and/or height) of the block sat- isfy a condition. 7.
- a syntax element disclosed above may be signaled at block level/ sequence level/group of pictures level/picture level/slice level/tile group level, such as in coding structures of CTU/CU/TU/PU/CTB/CB/TB/PB, or sequence header/picture header/SPS/VPS/DPS/DCI/PPS/APS/slice header/tile group header. 75 F1242906PCT 8.
- Whether to and/or how to apply the disclosed methods above may be signalled at block level/ sequence level/group of pictures level/picture level/slice level/tile group level, such as in coding structures of CTU/CU/TU/PU/CTB/CB/TB/PB, or sequence header/picture header/SPS/VPS/DPS/DCI/PPS/APS/slice header/tile group header.
- 9. Whether to and/or how to apply the disclosed methods above may be dependent on coded information, such as block size, colour format, single/dual tree partitioning, colour com- ponent, slice/picture type. 10.
- the proposed methods disclosed in this document may be used in other coding tools which require chroma fusion.
- video unit or “video block” may be a sequence, a picture, a slice, a tile, a brick, a subpicture, a coding tree unit (CTU)/coding tree block (CTB), a CTU/CTB row, one or multiple coding units (CUs)/coding blocks (CBs), one or multiple CTUs/CTBs, one or multiple Virtual Pipeline Data Unit (VPDU), a sub-region within a picture/slice/tile/brick.
- CTU coding tree unit
- CB coding tree block
- CUs coding units
- CBs code blocks
- VPDU Virtual Pipeline Data Unit
- Fig. 47 illustrates a flowchart of a method 4700 for video processing in accordance with embodiments of the present disclosure.
- the method 4700 is implemented during a conversion between a video unit of a video and a bitstream of the video.
- a conversion between a video unit of a video and a bitstream of the video unit at least one of the followings: a set of luma samples, a set of additional luma samples, a set of reconstructed chroma samples, or a set of predicted chroma samples is applied in a cross-component prediction (CCP) model.
- CCP cross-component prediction
- a prediction or reconstruction of the video unit is determined by applying the CCP model to the video unit.
- the conversion is performed based on the prediction or reconstruction.
- the conversion includes encoding the video unit into the bitstream. In some other embodiments, the conversion includes decoding the video unit from the bitstream.
- luma positions used in the CCP model are after down- sampling for a colour format.
- the colour format may be YCbCr 4:2:0 or YCbCr 4:2:2.
- the set of additional luma samples are at positions which are beyond a center position corresponding to a chroma sample to be predicted, a north 76 F1242906PCT position relative to the center position, a west position relative to the center position, an east position relative to the center position and a south position relative to the center position.
- the set of additional luma samples are at at least one of the following positions relative to the center position: a north west position, a north east position, a south west position, or a south east position.
- a north west position a north east position
- a south west position a south east position
- a south east position An example is shown in Fig. 39.
- predChromaVal c0C + c1N + c2S + c3E + c4W + c5P ++ c6NW + c7NE + c8SW + c9SE+ c10B
- predChromaVal represents a chroma sample to be predicted
- C represents a luma sample at the center position
- N represents a luma sample at the north position
- S represents a luma sample at the south position
- E represents a luma sample at the east position
- W represents a luma sample at the west position
- NW represents a luma sample at the north west position
- NE represents a luma sample at the north east position
- SW represents a luma sample at the south west position
- SE represents a luma sample at the south east position
- P and B represents nonlinear term and bias term, respectively, c0, c1, c2, c3, c4, c5, c6, c7
- the set of additional luma samples are at a position non- adjacent to the center position.
- a new added luma sample may be at a position non-adjacent to C such as N2, W2, S2, E2, NNW, NW2, NWW, SWW, SW2, SSW, SEE, SE2, SSE, NEE, NNE, NE2, etc.
- predChromaVal c0C + c1N + c2S + c3E + c4W + c5P ++ c6NW + c7NE + c8SW + c9SE+ c10N2 + c11S2 + c12E2 + c13W2 + c14B
- predChromaVal represents a chroma sample to be predicted
- C represents a luma sample at the center position
- N represents a luma sample at the north position
- S represents a luma sample at the south position
- E represents a luma sample at the east position
- W represents a luma sample at the west position
- NW represents a luma sample at the north west position
- NE represents a luma sample at the north east position
- SW represents a luma sample at the south west position
- SE represents a luma sample at the south east position
- N2, S2, E2 and W2 represent luma samples at non
- P C 2 .
- B 1 ⁇ (bitdepth-1).
- 77 F1242906PCT [0287]
- a function with at least one input as an additional luma sample is involved in the CCP model.
- the function is a derivation of a gradient.
- the set of luma samples and the set of additional luma samples are obtained with down-sampling approaches same as those used in one of: cross- component linear model (CCLM), convolutional cross-component model (CCCM), gradient linear model (GLM), or CCCM using multiple downsampling filters (MF- CCCM).
- CCLM cross- component linear model
- CCCM convolutional cross-component model
- GLM gradient linear model
- MF- CCCM multiple downsampling filters
- the set of luma samples and the set of additional luma samples are obtained with down-sampling approaches same as those used in one of: CCLM, CCCM, GLM, or MF-CCCM.
- the first target coding mode in response to the video unit is coded with a first target coding mode, the set of luma samples and the set of additional luma samples are applied in the CCP model.
- the first target coding mode is an extended CCCM (extCCCM) mode.
- the first target coding mode has variants is a same way of CCCM.
- the variants of the first target coding mode comprise at least one of: multiple model-extCCCM (MM-extCCCM), extCCCM-left (extCCCM-L), extCCCM- top (extCCCM-T), MM-extCCCM-L, or MM-extCCCM-T.
- the first target coding mode and variants of the first target coding mode replace an exiting mode.
- the existing mode comprises CCCM and/or variants of the CCCM.
- the first target coding mode is used as an additional mode.
- whether to and/or how to use the first target coding mode depend on coding information of a current block.
- the coding information comprises at least one of: a mode of the current block, a mode of a neighbouring block, a mode of a luma block in a collocated region of the current block, a mode of a luma block in a collocated region of a neighbouring block, quantization parameter (QP), slice type, picture type, block width, block height, position of the current block, or reconstructed samples.
- QP quantization parameter
- slice type picture type, block width, block height, position of the current block, or reconstructed samples.
- the first target coding mode is not applicable, if a gradient 78 F1242906PCT and location based convolutional cross-component model (GL-CCCM) is applied.
- GL-CCCM location based convolutional cross-component model
- the first target coding mode is not applicable, if unsampling CCCM is applied.
- the first target coding mode is not applicable, if MF-CCCM is applied. Alternatively, or in addition, the first target coding mode is not applicable, if inside filtering is applied. Alternatively, or in addition, the first target coding mode is applicable only for the first target coding mode not variants of the first target coding mode. Alternatively, or in addition, the first target coding mode is applicable only for the first target coding mode and MM-extCCCM but not other variants of the first target coding mode. [0294] In some embodiments, the first target coding mode is not applicable if W ⁇ T1 and/or H ⁇ T2. Alternatively, the first target coding mode is not applicable, if W+ H ⁇ T.
- the first target coding mode is not applicable if W* H ⁇ T.
- the first target coding mode is not applicable if W>T1 and/or H>T2.
- the first target coding mode is not applicable if W+ H>T.
- the first target coding mode is not applicable if W* H>T.
- W represents the block width
- H represents the block height
- T1, T2, and T represent thresholds, respectively.
- a flag is signaled to indicate whether the first target coding mode and/or a variant of the first target coding mode is applied.
- the flag is signalled based on a condition.
- the flag is signalled, if another flag indicating CCCM mode is true. Alternatively, or in addition, the flag is not signalled, if CCP merge mode is applied. Alternatively, or in addition, the flag is signaled , if the first target coding mode is applicable. [0297] In some embodiments, whether the first target coding mode or the variant of the first target coding mode is applied depends on signaled mode. In some embodiments, if the signaled mode is CCLM, a flag indicating CCCM mode and the flag are both true, a current block uses the first target coding mode.
- a current block uses MM-extCCCM mode.
- a flag indicating CCCM mode and the flag are both true, a current block uses extCCCM -T mode.
- a flag indicating CCCM mode and the flag are both true, a current block 79 F1242906PCT uses MM-extCCCM-T mode.
- the signaled mode is CCLM- L
- a flag indicating CCCM mode and the flag are both true
- a current block uses extCCCM- T mode.
- the signaled mode is MM-CCLM-L
- a flag indicating CCCM mode and the flag are both true
- a current block uses MM-extCCCM-T mode.
- the first target coding mode is used with merge CCP mode.
- the first target coding mode is regarded as a new type in merge CCP mode.
- information and/or parameters of the first target coding mode are stored in blocks.
- information and/or parameters of the first target coding mode are stored in a history table. In some embodiments, stored information and/or parameters of the first target coding mode are used to generate a candidate in a merge CCP candidate list. [0300] In some embodiments, a candidate with a type of the first target coding mode is involved in a candidate list reordering process. Alternatively, or in addition, a candidate with a type of the first target coding mode is involved in a candidate list pruning process. Alternatively, or in addition, a candidate with a type of the first target coding mode is involved in a candidate list offset updating process.
- the first target coding mode is used for the current block which is instructed by parameters of the candidate.
- a training process which is same as CCCM is applied to derive parameters of the first target coding mode, but the training process is with different number of parameters.
- a region of chroma reconstructed samples and corresponding luma reconstructed samples of the chroma reconstructed samples used by the first target coding mode or a variant of the first target coding mode is the same to that of CCCM or a variant of CCCM.
- a region of chroma reconstructed samples and corresponding luma reconstructed samples of the chroma reconstructed samples used by the first target coding mode or a variant of the first target coding mode is different from that of CCCM or a variant of CCCM.
- the set of reconstructed chroma samples and/or the set of predicted chroma samples are at at least one of: the target position, an above position relative to a target position of a chroma sample to be predicted, a left position relative to 80 F1242906PCT the target position, a left-above position relative to the target position, a right-above position relative to the target position, or a left-bottom position relative to the target position.
- An example is shown in Fig. 40.
- predChromaVal(X) c0C + c1N + c2S + c3E + c4W + c5P ++ c6L + c7Y + c8Z + c9R+ c10Q+c11B
- predChromaVal(X) represents the chroma sample to be predicted
- C represents a luma sample at a position corresponding to the target position
- N represents a luma sample at the north position
- S represents a luma sample at the south position
- E represents a luma sample at the east position
- W represents a luma sample at the west position
- L represents a chroma sample at the left-above position
- Y represents a chroma sample at the above position
- Z represents a chroma sample at the left position
- R represents a chroma sample at the right-above position
- Q represents a chroma sample at the left-bottom position position
- predChromaVal(X) c0C + c1N + c2S + c3E + c4W + c5P + c6L + c7Y + c8Z + c9B, wherein predChromaVal(X) represents the chroma sample to be predicted, C represents a luma sample at a position corresponding to the target position, N represents a luma sample at the north position, S represents a luma sample at the south position, E represents a luma sample at the east position, W represents a luma sample at the west position, L represents a chroma sample at the left-above position, Y represents a chroma sample at the above position, Z represents a chroma sample at the left position, P and B represents nonlinear term and bias term, respectively, c0, c
- P C 2 .
- B 1 ⁇ (bitdepth-1).
- padding is used to obtain the set of reconstructed chroma samples and/or the set of predicted chroma samples.
- a function with at least one input as an additional chroma sample is involved in the CCP model.
- the function is a derivation of a gradient, or wherein the function is a non-linear operation.
- the set of luma samples are obtained with down-sampling approaches same as those used in one of: cross-component linear model (CCLM), convolutional cross-component model (CCCM), gradient linear model (GLM), or CCCM using multiple downsampling filters (MF-CCCM).
- CCLM cross-component linear model
- CCCM convolutional cross-component model
- GLM gradient linear model
- MF-CCCM multiple downsampling filters
- the set of 81 F1242906PCT luma samples are obtained with down-sampling approaches different as those used in one of: CCLM, CCCM, GLM, or MF-CCCM.
- the set of reconstructed chroma samples and/or the set of predicted chroma samples are applied in the CCP model.
- the second target coding mode is a mix CCCM (mixCCCM) mode.
- the second target coding mode has variants is a same way of CCCM.
- the variants of the second target coding mode comprise at least one of: multiple model-mixCCCM (MM-mixCCCM), mixCCCM-left (mixCCCM- L), mixCCCM-top (mixCCCM-T), MM- mixCCCM-L, or MM- mixCCCM-T.
- the second target coding mode and variants of the second target coding mode replace an exiting mode.
- the existing mode comprises CCCM and/or variants of the CCCM.
- the second target coding mode is used as an additional mode.
- whether to and/or how to use the second target coding mode depend on coding information of a current block.
- the coding information comprises at least one of: a mode of the current block, a mode of a neighbouring block, a mode of a luma block in a collocated region of the current block, a mode of a luma block in a collocated region of a neighbouring block, QP, sl ice type, picture type, block width, block height, position of the current block, or reconstructed samples.
- the second target coding mode is not applicable, if a gradient and location based convolutional cross-component model (GL-CCCM) is applied. Alternatively, or in addition, the second target coding mode is not applicable, if unsampling CCCM is applied.
- GL-CCCM gradient and location based convolutional cross-component model
- the second target coding mode is not applicable, if MF-CCCM is applied. Alternatively, or in addition, the second target coding mode is not applicable, if inside filtering is applied. Alternatively, or in addition, the second target coding mode is applicable only for the second target coding mode not variants of the second target coding mode. Alternatively, or in addition, the second target coding mode is applicable only for the second target coding mode and MM-mixCCCM but not other variants of the second target coding mode. 82 F1242906PCT [0311] In some embodiments, the second target coding mode is not applicable if W ⁇ T1 and/or H ⁇ T2. Alternatively, the second target coding mode is not applicable, if W+ H ⁇ T.
- the second target coding mode is not applicable if W* H ⁇ T.
- the second target coding mode is not applicable if W>T1 and/or H>T2.
- the second target coding mode is not applicable if W+ H>T.
- the second target coding mode is not applicable if W* H>T.
- W represents the block width
- H represents the block height
- T1, T2, and T represent thresholds, respectively.
- a flag is signaled to indicate whether the second target coding mode and/or a variant of the second target coding mode is applied. In some embodiments, the flag is signalled based on a condition. [0313] In some embodiments, the flag is signalled, if another flag indicating CCCM mode is true. In some other embodiments, the flag is not signalled, if CCP merge mode is applied. In some further embodiments, the flag is signaled , if the second target coding mode is applicable. [0314] In some embodiments, whether the second target coding mode or the variant of the second target coding mode is applied depends on signaled mode.
- a current block uses the second target coding mode.
- a flag indicating CCCM mode and the flag are both true are both true, a current block uses MM-mixCCCM mode.
- a flag indicating CCCM mode and the flag are both true, a current block uses mixCCCM-T mode.
- a current block uses MM-mixCCCM-T mode.
- a flag indicating CCCM mode and the flag are both true, a current block uses mixCCCM-T mode.
- a flag indicating CCCM mode and the flag are both true, a current block uses MM-mixCCCM-T mode.
- the second target coding mode is used with merge CCP mode.
- the second target coding mode is regarded as a new type in 83 F1242906PCT merge CCP mode.
- information and/or parameters of the second target coding mode are stored in blocks.
- information and/or parameters of the second target coding mode are stored in a history table.
- stored information and/or parameters of the second target coding mode are used to generate a candidate in a merge CCP candidate list.
- a candidate with a type of the second target coding mode is involved in a candidate list reordering process.
- a candidate with a type of the second target coding mode is involved in a candidate list pruning process.
- a candidate with a type of the second target coding mode is involved in a candidate list offset updating process. In some embodiments, if a candidate with a type of the second target coding mode is selected, the second target coding mode is used for the current block which is instructed by parameters of the candidate. [0318] In some embodiments, a training process which is same as CCCM is applied to derive parameters of the second target coding mode, but the training process is with different number of parameters.
- a region of chroma reconstructed samples and corresponding luma reconstructed samples of the chroma reconstructed samples used by the second target coding mode or a variant of the second target coding mode is the same to that of CCCM or a variant of CCCM.
- a region of chroma reconstructed samples and corresponding luma reconstructed samples of the chroma reconstructed samples used by the second target coding mode or a variant of the second target coding mode is different from that of CCCM or a variant of CCCM.
- the region of chroma reconstructed samples and the corresponding luma reconstructed samples used by the second target coding mode or the variant of the second target coding mode is smaller than that of CCCM or the variant of CCCM, wherein a top row and left-most column involved in the CCCM training process are excluded.
- a reconstructed sample is used as an input value, but not used as a target value.
- a reconstructed chroma sample at the left-above position, a reconstructed chroma sample at the above position, and a reconstructed chroma sample at the left position are used input values of the target value but not used as target values in the training process, as shown in Fig. 42. 84 F1242906PCT [0321]
- a reconstructed sample in the training process of the second target coding mode is used as an input value and also used as a target value.
- a reconstructed chroma sample at the left-above position, a reconstructed chroma sample at the above position, and a reconstructed chroma sample at the left position are used input values of the target value and used as target values in the training process, as shown in Fig. 43.
- a chroma sample input to the CCP model at a specific position is a reconstructed sample or prediction sample.
- the specific position is out of a current block, the reconstructed sample is input.
- the prediction sample is input.
- a prediction sample of a position is obtained by using a mixCCCM model on the position to get the prediction value.
- a chroma sample at the left-above position, a chroma sample at the above position, and a chroma sample at the left position are used as input values to predict the chroma sample.
- the chroma sample at the left-above position, the chroma sample at the above position, and the chroma sample at the left position are all reconstructed samples.
- Fig. 44 the chroma sample at the left-above position, the chroma sample at the above position, and the chroma sample at the left position are all reconstructed samples.
- Fig. 44 the chroma sample at the left-above position, the chroma sample at the above position, and the chroma sample at the left position are all reconstructed samples.
- Fig. 44 the chroma sample at the left-above position, the chroma sample at the above
- the chroma sample at the left-above position and the chroma sample at the above position are reconstructed samples, and the chroma sample at the left position is a prediction sample .
- the chroma sample at the left-above position, the chroma sample at the above position, and the chroma sample at the left position are all prediction samples.
- a plurality of extended CCCM modes are applied.
- the first target coding mode and the second target coding mode coexist.
- a first flag is signaled to indicate whether a kind of extended CCCM mode is applied.
- the first flag is signaled based on a condition. In some embodiments, the first flag is singaled if a flag indicating CCCM mode is true. In some other embodiments, the first flag is not signalled, if CCP merge mode is applied. In some embodiments, the first flag is signaled, if a kind of extended CCCM mode is applicable. 85 F1242906PCT [0327] In some embodiments, a second syntax element is signaled to indicate which kind of extended CCCM mode is applied. In some embodiments, the second syntax element is signalled based on a condition. In some embodiments, the second syntax element is signalled, if a first flag indicating whether the kind of extended CCCM mode is applied is true.
- an indication of whether to and/or how to apply at least one of the followings in the CCP model: the set of luma samples, the set of additional luma samples, the set of reconstructed chroma samples or the set of predicted chroma samples is indicated at one of the followings: sequence level, group of pictures level, picture level, slice level, or tile group level.
- an indication of whether to and/or how to apply at least one of the followings in the CCP model: the set of luma samples, the set of additional luma samples, the set of reconstructed chroma samples or the set of predicted chroma samples is indicated in one of the following: a sequence header, a picture header, a sequence parameter set (SPS), a video parameter set (VPS), a dependency parameter set (DPS), a decoding capability information (DCI), a picture parameter set (PPS), an adaptation parameter sets (APS), a slice header, or a tile group header.
- SPS sequence parameter set
- VPS video parameter set
- DPS decoding capability information
- PPS picture parameter set
- APS adaptation parameter sets
- an indication of whether to and/or how to apply at least one of the followings in the CCP model: the set of luma samples, the set of additional luma samples, the set of reconstructed chroma samples or the set of predicted chroma samples is included in one of the following: a prediction block (PB), a transform block (TB), a coding block (CB), a prediction unit (PU), a transform unit (TU), a coding unit (CU), a coding tree block (CTB), or a coding tree unit (CTU).
- PB prediction block
- T transform block
- CB coding block
- PU prediction unit
- TU transform unit
- CU coding unit
- CTB coding tree block
- CTU coding tree block
- the method 4700 further comprises: determining, based on coded information of the video unit, whether and/or how to determine apply at least one of the followings in the CCP model: the set of luma samples, the set of additional luma samples, the set of reconstructed chroma samples or the set of predicted chroma samples.
- the coded information may include at least one of: a block size, a colour format, a single and/or dual tree partitioning, a colour component, a slice type, or a picture type.
- a syntax element is binarized as one of a flag, a fixed length code, an EG(x) code, a unary code, a truncated unary code, or a truncated binary code.
- the SE is signed or unsigned.
- 86 F1242906PCT the SE is coded with at least one context model.
- the SE is bypass coded.
- the SE is signaled in a conditional way. In some embodiments, the SE is signaled only if a corresponding function is applicable. Alternatively, the SE is signaled only if dimensions of the video unit satisfy a condition.
- the SE is indicated at one of the followings: sequence level, group of pictures level, picture level, slice level, or tile group level. In some embodiments, the SE is indicated at one of the followings: a prediction block (PB), a transform block (TB), a coding block (CB), a prediction unit (PU), a transform unit (TU), a coding unit (CU), a coding tree block (CTB), or a coding tree unit (CTU).
- the video unit is applied with other coding tools which require chroma fusion.
- a non-transitory computer-readable recording medium is provided.
- the non-transitory computer-readable recording medium stores a bitstream of a video which is generated by a method performed by an apparatus for video processing.
- the method comprises: applying at least one of the followings in a cross-component prediction (CCP) model: a set of luma samples, a set of additional luma samples, a set of reconstructed chroma samples, or a set of predicted chroma samples; determining a prediction or reconstruction of a video unit of the video by applying the CCP model to the video unit; and generating the bitstream based on the prediction or reconstruction.
- CCP cross-component prediction
- the method comprises: applying at least one of the followings in a cross-component prediction (CCP) model: a set of luma samples, a set of additional luma samples, a set of reconstructed chroma samples, or a set of predicted chroma samples; determining a prediction or reconstruction of a video unit of the video by applying the CCP model to the video unit; generating the bitstream based on the prediction or reconstruction; and storing the bitstream in a non-transitory computer- readable recording medium.
- CCP cross-component prediction
- a method of video processing comprising: applying, for a conversion 87 F1242906PCT between a video unit of a video and a bitstream of the video unit, at least one of the followings in a cross-component prediction (CCP) model: a set of luma samples, a set of additional luma samples, a set of reconstructed chroma samples, or a set of predicted chroma samples; determining a prediction or reconstruction of the video unit by applying the CCP model to the video unit; and performing the conversion based on the prediction or reconstruction.
- CCP cross-component prediction
- predChromaVal c 0 C + c 1 N + c 2 S + c3E + c4W + c5P ++ c6NW + c7NE + c8SW + c9SE+ c10B
- predChromaVal represents a chroma sample to be predicted
- C represents a luma sample at the center position
- N represents a luma sample at the north position
- S represents a luma sample at the south position
- E represents a luma sample at the east position
- W represents a luma sample at the west position
- NW represents a luma sample at the north west position
- NE represents a luma sample at the north east position
- SW represents a luma sample at the south west position
- SE represents a luma sample at the south east position
- P and B represents nonlinear term and bias term, respectively, c0, c1, c2, c3, c4, c5, c6, c
- predChromaVal c0C + c1N + c2S + c3E + c4W + c5P ++ c6NW + c7NE + c8SW + c9SE+ c10N2 + c11S2 + c12E2 + c13W2 + c14B, 88 F1242906PCT
- predChromaVal represents a chroma sample to be predicted
- C represents a luma sample at the center position
- N represents a luma sample at the north position
- S represents a luma sample at the south position
- E represents a luma sample at the east position
- W represents a luma sample at the west position
- NW represents a luma sample at the north west position
- NE represents a luma sample at the north east position
- SW represents a luma sample at the south west position
- SE represents a luma sample at the south east position
- the variants of the first target coding mode comprise at least one of: multiple model- extCCCM (MM-extCCCM), extCCCM-left (extCCCM-L), extCCCM-top (extCCCM-T), MM-extCCCM-L, or MM- extCCCM-T.
- MM-extCCCM multiple model- extCCCM
- extCCCM-L extCCCM-left
- extCCCM-T extCCCM-top
- MM-extCCCM-L MM-extCCCM-L
- MM-extCCCM-T MM-extCCCM-T.
- Clause 23 The method of clause 22, wherein the coding information comprises at least one of: a mode of the current block, a mode of a neighbouring block, a mode of a luma block in a collocated region of the current block, a mode of a luma block in a collocated region of a neighbouring block, quantization parameter (QP), slice type, picture type, block width, block height, position of the current block, or reconstructed samples.
- QP quantization parameter
- the first target coding mode is not applicable, if a gradient and location based convolutional cross-component model (GL- CCCM) is applied, and/or wherein the first target coding mode is not applicable, if unsampling CCCM is applied, and/or wherein the first target coding mode is not applicable, if MF-CCCM is applied, and/or wherein the first target coding mode is not applicable, if inside filtering is applied, and/or wherein the first target coding mode is applicable only for the first target coding mode not variants of the first target coding mode, and/or wherein the first target coding mode is applicable only for the first target coding mode and MM-extCCCM but not other variants of the first target coding mode.
- GL- CCCM gradient and location based convolutional cross-component model
- Clause 25 The method of clause 23, wherein the first target coding mode is not applicable if W ⁇ T1 and/or H ⁇ T2, or wherein the first target coding mode is not applicable, if W+ H ⁇ T, or wherein the first target coding mode is not applicable if W* H ⁇ T, or wherein the first target coding mode is not applicable if W>T1 and/or H>T2, or wherein 90 F1242906PCT the first target coding mode is not applicable if W+ H>T, or wherein the first target coding mode is not applicable if W* H>T, and wherein W represents the block width, H represents the block height, T1, T2, and T represent thresholds, respectively. [0364] Clause 26.
- Clause 32 The method of clause 31, wherein if the signaled mode is CCLM, a flag indicating CCCM mode and the flag are both true, a current block uses the first target coding mode.
- Clause 33 The method of clause 31, wherein if the signaled mode is MM-CCLM, a flag indicating CCCM mode and the flag are both true are both true, a current block uses MM-extCCCM mode.
- Clause 42 The method of clause 38, wherein stored information and/or parameters of the first target coding mode are used to generate a candidate in a merge CCP candidate list.
- Clause 43 The method of clause 38, wherein a candidate with a type of the first target coding mode is involved in a candidate list reordering process.
- Clause 44 The method of clause 38, wherein a candidate with a type of the first target coding mode is involved in a candidate list pruning process.
- Clause 45 The method of clause 38, wherein a candidate with a type of the first target coding mode is involved in a candidate list offset updating process.
- Clause 46 Clause
- Clause 47 The method of clause 15, wherein a training process which is same as CCCM is applied to derive parameters of the first target coding mode, but the training process is with different number of parameters.
- Clause 48 The method of clause 47, wherein a region of chroma reconstructed samples and corresponding luma reconstructed samples of the chroma reconstructed 92 F1242906PCT samples used by the first target coding mode or a variant of the first target coding mode is the same to that of CCCM or a variant of CCCM.
- Clause 49 The method of clause 47, wherein a region of chroma reconstructed samples and corresponding luma reconstructed samples of the chroma reconstructed samples used by the first target coding mode or a variant of the first target coding mode is different from that of CCCM or a variant of CCCM.
- the set of reconstructed chroma samples and/or the set of predicted chroma samples are at least one of: the target position, an above position relative to a target position of a chroma sample to be predicted, a left position relative to the target position, a left-above position relative to the target position, a right-above position relative to the target position, or a left-bottom position relative to the target position.
- predChromaVal(X) c0C + c1N + c2S + c3E + c4W + c5P ++ c6L + c7Y + c8Z + c9R+ c10Q+c11B
- predChromaVal(X) represents the chroma sample to be predicted
- C represents a luma sample at a position corresponding to the target position
- N represents a luma sample at the north position
- S represents a luma sample at the south position
- E represents a luma sample at the east position
- W represents a luma sample at the west position
- L represents a chroma sample at the left-above position
- Y represents a chroma sample at the above position
- Z represents a chroma sample at the left position
- R represents a chroma sample at the right- above position
- Q represents a chroma sample at the left-bottom position position
- P and B
- Clause 55 The method of clause 1, wherein if one or more chroma samples are unavailable, padding is used to obtain the set of reconstructed chroma samples and/or the set of predicted chroma samples.
- Clause 56 The method of clause 1, wherein a function with at least one input as an additional chroma sample is involved in the CCP model.
- Clause 57 The method of clause 56, wherein the function is a derivation of a gradient, or wherein the function is a non-linear operation.
- Clause 58 Clause 58.
- the variants of the second target coding mode comprise at least one of: multiple model-mixCCCM (MM-mixCCCM), mixCCCM-left (mixCCCM-L), mixCCCM-top (mixCCCM-T), MM- mixCCCM-L, or MM- mixCCCM-T.
- MM-mixCCCM multiple model-mixCCCM
- the second target coding mode and variants of the second target coding mode replace an exiting mode.
- the existing mode comprises CCCM and/or variants of the CCCM.
- Clause 66 The method of clause 60, wherein the second target coding mode is used as an additional mode.
- Clause 67 The method of clause 60, wherein whether to and/or how to use the second target coding mode depend on coding information of a current block.
- Clause 68 The method of clause 67, wherein the coding information comprises at least one of: a mode of the current block, a mode of a neighbouring block, a mode of a luma block in a collocated region of the current block, a mode of a luma block in a collocated region of a neighbouring block, QP, slice type, picture type, block width, block height, position of the current block, or reconstructed samples. [0407] Clause 69.
- the second target coding mode is not applicable, if a gradient and location based convolutional cross-component model (GL-CCCM) is applied, and/or wherein the second target coding mode is not applicable, if unsampling CCCM is applied, and/or wherein the second target coding mode is not applicable, if MF-CCCM is applied, and/or wherein the second target coding mode is not applicable, if inside filtering is applied, and/or wherein the second target coding mode is applicable only for the second target coding mode not variants of the second target coding mode, and/or wherein the second target coding mode is applicable only for the second target coding mode and MM-mixCCCM but not other variants of the second target coding mode.
- GL-CCCM gradient and location based convolutional cross-component model
- Clause 70 The method of clause 68, wherein the second target coding mode is not applicable if W ⁇ T1 and/or H ⁇ T2, or wherein the second target coding mode is not applicable, if W+ H ⁇ T, or wherein the second target coding mode is not applicable if W* H ⁇ T, or wherein the second target coding mode is not applicable if W>T1 and/or H>T2, or wherein the second target coding mode is not applicable if W+ H>T, or wherein the second target coding mode is not applicable if W* H>T, and wherein W represents the block width, H represents the block height, T1, T2, and T represent thresholds, respectively. [0409] Clause 71.
- Clause 72 The method of clause 60, wherein a flag is signaled to indicate whether the second target coding mode and/or a variant of the second target coding mode is applied.
- Clause 73 The method of clause 72, wherein the flag is signalled based on a condition.
- Clause 74 The method of clause 72, wherein the flag is signalled, if another flag indicating CCCM mode is true.
- Clause 76 The method of clause 72, wherein the flag is not signalled, if CCP merge mode is applied.
- Clause 76 The method of clause 72, wherein the flag is signaled , if the second target coding mode is applicable.
- Clause 77 The method of clause 72, wherein whether the second target coding mode or the variant of the second target coding mode is applied depends on signaled mode.
- Clause 78 The method of clause 77, wherein if the signaled mode is CCLM, a flag indicating CCCM mode and the flag are both true, a current block uses the second target coding mode.
- Clause 79 Clause 79.
- Clause 86 The method of clause 84, wherein information and/or parameters of the second target coding mode are stored in blocks.
- Clause 87 The method of clause 84, wherein information and/or parameters of the second target coding mode are stored in a history table.
- Clause 88 The method of clause 84, wherein stored information and/or parameters of the second target coding mode are used to generate a candidate in a merge CCP candidate list.
- Clause 90 The method of clause 84, wherein a candidate with a type of the second target coding mode is involved in a candidate list reordering process.
- Clause 90 The method of clause 84, wherein a candidate with a type of the second target coding mode is involved in a candidate list pruning process.
- Clause 91 The method of clause 84, wherein a candidate with a type of the second target coding mode is involved in a candidate list offset updating process.
- Clause 92 The method of clause 84, wherein if a candidate with a type of the second target coding mode is selected, the second target coding mode is used for the current block which is instructed by parameters of the candidate.
- Clause 93 Clause 93.
- a chroma sample at the left- above position, a chroma sample at the above position, and a chroma sample at the left position are used as input values to predict the chroma sample, and wherein the chroma sample at the left-above position, the chroma sample at the above position, and the chroma sample at the left position are all reconstructed samples, or wherein the chroma sample at the left-above position and the chroma sample at the above position are reconstructed samples, and the chroma sample at the left position is a prediction sample, or wherein he chroma sample at the left-above position, the chroma sample at the above position, and the chroma sample at the left position are all prediction samples.
- Clause 106 The method of any of clauses 1-105, wherein a plurality of extended CCCM modes are applied.
- Clause 107 The method of clause 106, wherein the first target coding mode and the second target coding mode coexist.
- Clause 108 The method of clause 106, wherein a first flag is signaled to indicate whether a kind of extended CCCM mode is applied.
- Clause 109 The method of clause 108, wherein the first flag is signaled based on a condition.
- Clause 110 The method of clause 109, wherein the first flag is singaled if a flag indicating CCCM mode is true.
- Clause 111 The method of any of clauses 1-105, wherein a plurality of extended CCCM modes are applied.
- Clause 107 The method of clause 106, wherein the first target coding mode and the second target coding mode coexist.
- Clause 108 The method of clause 106, wherein a first flag is signaled to indicate whether a kind of
- Clause 109 wherein the first flag is not signalled, if CCP merge mode is applied.
- Clause 112. The method of clause 109, wherein the first flag is signaled, if a kind of extended CCCM mode is applicable.
- Clause 113 The method of clause 106, wherein a second syntax element is signaled to indicate which kind of extended CCCM mode is applied.
- Clause 114 The method of clause 113, wherein the second syntax element is signalled based on a condition.
- Clause 115 The method of clause 114, wherein the second syntax element is 99 F1242906PCT signalled, if a first flag indicating whether the kind of extended CCCM mode is applied is true.
- Clause 116 The method of any of clauses 1-115, wherein an indication of whether to and/or how to apply at least one of the followings in the CCP model: the set of luma samples, the set of additional luma samples, the set of reconstructed chroma samples or the set of predicted chroma samples is indicated at one of the followings: sequence level, group of pictures level, picture level, slice level, or tile group level. [0455] Clause 117.
- Clause 125 The method of any of clauses 1-124, wherein the SE is indicated at one of the followings: sequence level, group of pictures level, picture level, slice level, or tile group level. [0464] Clause 126.
- Clause 130 An apparatus for video processing comprising a processor and a non-transitory memory with instructions thereon, wherein the instructions upon execution by the processor, cause the processor to perform a method in accordance with any of clauses 1-129.
- Clause 131 A non-transitory computer-readable storage medium storing instructions that cause a processor to perform a method in accordance with any of clauses 1-129.
- Clause 132 A non-transitory computer-readable storage medium storing instructions that cause a processor to perform a method in accordance with any of clauses 1-129.
- a non-transitory computer-readable recording medium storing a bitstream of a video which is generated by a method performed by an apparatus for video 101 F1242906PCT processing, wherein the method comprises: applying at least one of the followings in a cross-component prediction (CCP) model: a set of luma samples, a set of additional luma samples, a set of reconstructed chroma samples, or a set of predicted chroma samples; determining a prediction or reconstruction of a video unit of the video by applying the CCP model to the video unit; and generating the bitstream based on the prediction or reconstruction.
- CCP cross-component prediction
- a method for storing a bitstream of a video comprising: applying at least one of the followings in a cross-component prediction (CCP) model: a set of luma samples, a set of additional luma samples, a set of reconstructed chroma samples, or a set of predicted chroma samples; determining a prediction or reconstruction of a video unit of the video by applying the CCP model to the video unit; generating the bitstream based on the prediction or reconstruction; and storing the bitstream in a non-transitory computer- readable recording medium.
- CCP cross-component prediction
- Fig. 48 illustrates a block diagram of a computing device 4800 in which various embodiments of the present disclosure can be implemented.
- the computing device 4800 may be implemented as or included in the source device 110 (or the video encoder 114 or 200) or the destination device 120 (or the video decoder 124 or 300). [0473] It would be appreciated that the computing device 4800 shown in Fig. 48 is merely for purpose of illustration, without suggesting any limitation to the functions and scopes of the embodiments of the present disclosure in any manner. [0474] As shown in Fig. 48, the computing device 4800 includes a general-purpose computing device 4800. The computing device 4800 may at least comprise one or more processors or processing units 4810, a memory 4820, a storage unit 4830, one or more communication units 4840, one or more input devices 4850, and one or more output devices 4860.
- the computing device 4800 may be implemented as any user terminal or server terminal having the computing capability.
- the server terminal may be a server, a large-scale computing device or the like that is provided by a service provider.
- the user terminal may for example be any type of mobile terminal, fixed terminal, or portable terminal, including a mobile phone, station, unit, device, multimedia 102 F1242906PCT computer, multimedia tablet, Internet node, communicator, desktop computer, laptop computer, notebook computer, netbook computer, tablet computer, personal communication system (PCS) device, personal navigation device, personal digital assistant (PDA), audio/video player, digital camera/video camera, positioning device, television receiver, radio broadcast receiver, E-book device, gaming device, or any combination thereof, including the accessories and peripherals of these devices, or any combination thereof.
- PCS personal communication system
- PDA personal digital assistant
- the computing device 4800 can support any type of interface to a user (such as “wearable” circuitry and the like).
- the processing unit 4810 may be a physical or virtual processor and can implement various processes based on programs stored in the memory 4820. In a multi- processor system, multiple processing units execute computer executable instructions in parallel so as to improve the parallel processing capability of the computing device 4800.
- the processing unit 4810 may also be referred to as a central processing unit (CPU), a microprocessor, a controller or a microcontroller.
- the computing device 4800 typically includes various computer storage medium.
- Such medium can be any medium accessible by the computing device 4800, including, but not limited to, volatile and non-volatile medium, or detachable and non-detachable medium.
- the memory 4820 can be a volatile memory (for example, a register, cache, Random Access Memory (RAM)), a non-volatile memory (such as a Read-Only Memory (ROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), or a flash memory), or any combination thereof.
- the storage unit 4830 may be any detachable or non-detachable medium and may include a machine-readable medium such as a memory, flash memory drive, magnetic disk or another other media, which can be used for storing information and/or data and can be accessed in the computing device 4800.
- the computing device 4800 may further include additional detachable/non- detachable, volatile/non-volatile memory medium.
- additional detachable/non- detachable, volatile/non-volatile memory medium may be provided.
- a magnetic disk drive for reading from and/or writing into a detachable and non-volatile magnetic disk
- an optical disk drive for reading from and/or writing into a detachable non-volatile optical disk.
- each drive may be connected to a bus (not shown) via one or more data medium interfaces.
- the communication unit 4840 communicates with a further computing device via the communication medium.
- the functions of the components in the 103 F1242906PCT computing device 4800 can be implemented by a single computing cluster or multiple computing machines that can communicate via communication connections. Therefore, the computing device 4800 can operate in a networked environment using a logical connection with one or more other servers, networked personal computers (PCs) or further general network nodes.
- the input device 4850 may be one or more of a variety of input devices, such as a mouse, keyboard, tracking ball, voice-input device, and the like.
- the output device 4860 may be one or more of a variety of output devices, such as a display, loudspeaker, printer, and the like.
- the computing device 4800 can further communicate with one or more external devices (not shown) such as the storage devices and display device, with one or more devices enabling the user to interact with the computing device 4800, or any devices (such as a network card, a modem and the like) enabling the computing device 4800 to communicate with one or more other computing devices, if required.
- external devices such as the storage devices and display device
- any devices such as a network card, a modem and the like
- Such communication can be performed via input/output (I/O) interfaces (not shown).
- I/O input/output
- some or all components of the computing device 4800 may also be arranged in cloud computing architecture. In the cloud computing architecture, the components may be provided remotely and work together to implement the functionalities described in the present disclosure.
- cloud computing provides computing, software, data access and storage service, which will not require end users to be aware of the physical locations or configurations of the systems or hardware providing these services.
- the cloud computing provides the services via a wide area network (such as Internet) using suitable protocols.
- a cloud computing provider provides applications over the wide area network, which can be accessed through a web browser or any other computing components.
- the software or components of the cloud computing architecture and corresponding data may be stored on a server at a remote position.
- the computing resources in the cloud computing environment may be merged or distributed at locations in a remote data center.
- Cloud computing infrastructures may provide the services through a shared data center, though they behave as a single access point for the users.
- the cloud computing architectures may be used to provide the components and functionalities described herein from a service provider at a remote location. Alternatively, they may be provided from a conventional server or installed 104 F1242906PCT directly or otherwise on a client device.
- the computing device 4800 may be used to implement video encoding/decoding in embodiments of the present disclosure.
- the memory 4820 may include one or more video coding modules 4825 having one or more program instructions. These modules are accessible and executable by the processing unit 4810 to perform the functionalities of the various embodiments described herein.
- the input device 4850 may receive video data as an input 4870 to be encoded.
- the video data may be processed, for example, by the video coding module 4825, to generate an encoded bitstream.
- the encoded bitstream may be provided via the output device 4860 as an output 4880.
- the input device 4850 may receive an encoded bitstream as the input 4870.
- the encoded bitstream may be processed, for example, by the video coding module 4825, to generate decoded video data.
- the decoded video data may be provided via the output device 4860 as the output 4880.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
Description
Claims
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| EP24836539.7A EP4736448A2 (en) | 2023-07-02 | 2024-07-02 | Method, apparatus, and medium for video processing |
| CN202480045377.0A CN121444450A (en) | 2023-07-02 | 2024-07-02 | Methods, apparatus and media for video processing |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US202363524686P | 2023-07-02 | 2023-07-02 | |
| US63/524,686 | 2023-07-02 |
Related Child Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| US19/438,374 Continuation US20260129228A1 (en) | 2025-12-31 | Method, apparatus, and medium for video processing |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| WO2025010276A2 true WO2025010276A2 (en) | 2025-01-09 |
| WO2025010276A3 WO2025010276A3 (en) | 2025-04-03 |
Family
ID=94172204
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/US2024/036573 Ceased WO2025010276A2 (en) | 2023-07-02 | 2024-07-02 | Method, apparatus, and medium for video processing |
Country Status (3)
| Country | Link |
|---|---|
| EP (1) | EP4736448A2 (en) |
| CN (1) | CN121444450A (en) |
| WO (1) | WO2025010276A2 (en) |
Family Cites Families (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8989261B2 (en) * | 2011-02-23 | 2015-03-24 | Qualcomm Incorporated | Multi-metric filtering |
| CN116193132A (en) * | 2019-01-03 | 2023-05-30 | 华为技术有限公司 | Chroma block prediction method and device |
| PH12021552544A1 (en) * | 2019-04-18 | 2022-07-04 | Beijing Bytedance Network Tech Co Ltd | Restriction on applicability of cross component mode |
| US12348724B2 (en) * | 2022-01-05 | 2025-07-01 | Alibaba Innovation Private Limited | Fusion of video prediction modes |
| CN115988206B (en) * | 2023-03-21 | 2024-03-26 | 深圳传音控股股份有限公司 | Image processing method, processing apparatus, and storage medium |
-
2024
- 2024-07-02 EP EP24836539.7A patent/EP4736448A2/en active Pending
- 2024-07-02 WO PCT/US2024/036573 patent/WO2025010276A2/en not_active Ceased
- 2024-07-02 CN CN202480045377.0A patent/CN121444450A/en active Pending
Also Published As
| Publication number | Publication date |
|---|---|
| WO2025010276A3 (en) | 2025-04-03 |
| CN121444450A (en) | 2026-01-30 |
| EP4736448A2 (en) | 2026-05-06 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2023016424A1 (en) | Method, apparatus, and medium for video processing | |
| US20250337890A1 (en) | Method, device, and medium for video processing | |
| US20250386011A1 (en) | Method, apparatus, and medium for video processing | |
| US20250337940A1 (en) | Method, apparatus, and medium for video processing | |
| US20260032269A1 (en) | Method, apparatus, and medium for video processing | |
| US20260129228A1 (en) | Method, apparatus, and medium for video processing | |
| US20250386009A1 (en) | Method, apparatus, and medium for video processing | |
| US20260032230A1 (en) | Method, apparatus, and medium for video processing | |
| US20260129240A1 (en) | Method, apparatus, and medium for video processing | |
| US20260032235A1 (en) | Method, apparatus, and medium for video processing | |
| US20250337883A1 (en) | Method, apparatus, and medium for video processing | |
| EP4736448A2 (en) | Method, apparatus, and medium for video processing | |
| US20250317576A1 (en) | Method, apparatus, and medium for video processing | |
| US20250317552A1 (en) | Method, apparatus, and medium for video processing | |
| WO2024114701A1 (en) | Method, apparatus, and medium for video processing | |
| WO2025010351A2 (en) | Method, apparatus, and medium for video processing |
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: 24836539 Country of ref document: EP Kind code of ref document: A2 |
|
| ENP | Entry into the national phase |
Ref document number: 2024836539 Country of ref document: EP Effective date: 20260202 |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 2024836539 Country of ref document: EP |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| ENP | Entry into the national phase |
Ref document number: 2024836539 Country of ref document: EP Effective date: 20260202 |
|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 24836539 Country of ref document: EP Kind code of ref document: A2 |






