Method, apparatus, and medium for video processing
The introduction of a geometric partitioning mode with a target intra prediction approach addresses inefficiencies in existing video coding techniques, enhancing coding efficiency and performance in video processing.
Patent Information
- Application Number
- PCT/CN2025/106535
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-07-03
- Filing Date
- 2025-07-01
- Publication Date
- 2026-01-08
AI Technical Summary
Existing video coding techniques, such as HEVC and VVC, face challenges in improving coding efficiency, particularly in handling geometric partitioning modes and intra prediction, leading to inefficiencies in video compression.
Implementing a geometric partitioning mode (GPM) that uses a target intra prediction approach, distinct from conventional methods, to enhance coding performance by optimizing video unit conversions.
The proposed method improves coding efficiency by enhancing the prediction accuracy and reducing inefficiencies in video compression, particularly in geometric partitioning modes, thereby improving overall video processing performance.
Smart Images

Figure CN2025106535_08012026_PF_FP_ABST
Abstract
Description
METHOD, APPARATUS, AND MEDIUM FOR VIDEO PROCESSINGFIELDS
[0001] Embodiments of the present disclosure relates generally to video processing techniques, and more particularly, to extension of spatial geometric partitioning mode.BACKGROUND
[0002] In nowadays, digital video capabilities are being applied in various aspects of peoples’ lives. Multiple types of video compression technologies, such as motion picture expert group (MPEG) -2, MPEG-4, international telecommunication union -telecommunication standardization sector (ITU-T) H. 263, ITU-T H. 264 / MPEG-4 Part 10 advanced video coding (AVC) , ITU-T H. 265 high efficiency video coding (HEVC) standard, versatile video coding (VVC) standard, have been proposed for video encoding / decoding. However, coding efficiency of video coding techniques is generally expected to be further improved.SUMMARY
[0003] Embodiments of the present disclosure provide a solution for video processing.
[0004] In a first aspect, a method for video processing is proposed. The method comprises: determining, for a conversion between a video unit of a video and a bitstream of the video, a prediction of the video unit, the video unit being coded with a geometric partitioning mode (GPM) in which a target intra prediction approach except for conventional intra prediction is used; and performing the conversion based on the prediction of the video unit. In this way, it may improve coding performance.
[0005] In a second aspect, an apparatus for video processing is proposed. The apparatus 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.
[0006] In a third aspect, a non-transitory computer-readable storage medium is proposed. The non-transitory computer-readable storage medium stores instructions that cause a processor to perform a method in accordance with the first aspect of the present disclosure.
[0007] In a fourth aspect, 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: determining a prediction of the video unit, the video unit being coded with a geometric partitioning mode (GPM) in which a target intra prediction approach except for conventional intra prediction is used; and generating the bitstream based on the prediction of the video unit.
[0008] In a fifth aspect, a method for storing a bitstream of a video is proposed. The method comprises: determining a prediction of the video unit, the video unit being coded with a geometric partitioning mode (GPM) in which a target intra prediction approach except for conventional intra prediction is used; generating the bitstream based on the prediction of the video unit; and storing the bitstream in a non-transitory computer-readable recording medium.
[0009] This Summary is provided to introduce a selection of concepts in a simplified form that are further described below in the Detailed Description. This Summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.BRIEF DESCRIPTION OF THE DRAWINGS
[0010] Through the following detailed description with reference to the accompanying drawings, the above and other objectives, features, and advantages of example embodiments of the present disclosure will become more apparent. In the example embodiments of the present disclosure, the same reference numerals usually refer to the same components.
[0011] Fig. 1 illustrates a block diagram of an example video coding system in accordance with some embodiments of the present disclosure;
[0012] Fig. 2 illustrates a block diagram of an example video encoder in accordance with some embodiments of the present disclosure;
[0013] Fig. 3 illustrates a block diagram of an example video decoder in accordance with some embodiments of the present disclosure;
[0014] Fig. 4 illustrates an example of encoder block diagram;
[0015] Fig. 5 illustrates 67 intra prediction modes;
[0016] Fig. 6 illustrates reference samples for wide-angular intra prediction;
[0017] Fig. 7 illustrates problem of discontinuity in case of directions beyond 45°;
[0018] Fig. 8 illustrates a matrix weighted intra prediction process;
[0019] Fig. 9 illustrates spatial GPM candidates;
[0020] Fig. 10 illustrates GPM template;
[0021] Fig. 11 illustrates GPM blending;
[0022] Fig. 12 illustrates neighboring reconstructed samples used for DIMD chroma mode;
[0023] Fig. 13 illustrates SBT position, type and transform type;
[0024] Fig. 14 illustrates three EIP filter shapes;
[0025] Fig. 15 illustrates three types of reconstructed area for EIP filter;
[0026] Fig. 16 illustrates L-shaped neighborhood for a given predicted block;
[0027] Fig. 17 illustrates neighboring blocks for mering checks;
[0028] Fig. 18 illustrates a flowchart of a method for video processing in accordance with some embodiments of the present disclosure; and
[0029] Fig. 19 illustrates a block diagram of a computing device in which various embodiments of the present disclosure can be implemented.
[0030] Throughout the drawings, the same or similar reference numerals usually refer to the same or similar elements.DETAILED DESCRIPTION
[0031] 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.
[0032] In the following description and claims, unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skills in the art to which this disclosure belongs.
[0033] References in the present disclosure to “one embodiment, ” “an embodiment, ” “an example embodiment, ” and the like indicate that the embodiment described may include a particular feature, structure, or characteristic, but it is not necessary that every embodiment includes the particular feature, structure, or characteristic. Moreover, such phrases are not necessarily referring to the same embodiment. Further, when a particular feature, structure, or characteristic is described in connection with an example embodiment, it is submitted that it is within the knowledge of one skilled in the art to affect such feature, structure, or characteristic in connection with other embodiments whether or not explicitly described.
[0034] It shall be understood that although the terms “first” and “second” etc. may be used herein to describe various elements, these elements should not be limited by these terms. These terms are only used to distinguish one element from another. For example, a first element could be termed a second element, and similarly, a second element could be termed a first element, without departing from the scope of example embodiments. As used herein, the term “and / or” includes any and all combinations of one or more of the listed terms.
[0035] The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of example embodiments. As used herein, the singular forms “a” , “an” and “the” are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms “comprises” , “comprising” , “has” , “having” , “includes” and / or “including” , when used herein, specify the presence of stated features, elements, and / or components etc., but do not preclude the presence or addition of one or more other features, elements, components and / or combinations thereof. Example Environment
[0036] Fig. 1 is a block diagram that illustrates an example video coding system 100 that may utilize the techniques of this disclosure. As shown, the video coding system 100 may include a source device 110 and a destination device 120. The source device 110 can be also referred to as a video encoding device, and the destination device 120 can be also referred to as a video decoding device. In operation, 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.
[0037] 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.
[0038] 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.
[0039] 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 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 external to the destination device 120 which is configured to interface with an external display device.
[0040] 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.
[0041] 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.
[0042] The video encoder 200 may be configured to implement any or all of the techniques of this disclosure. In the example of Fig. 2, 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. In some examples, a processor may be configured to perform any or all of the techniques described in this disclosure.
[0043] In some embodiments, the video encoder 200 may include a partition unit 201, a prediction 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.
[0044] In other examples, the video encoder 200 may include more, fewer, or different functional components. In an example, the prediction unit 202 may include an intra block copy (IBC) unit. The IBC unit may perform prediction in an IBC mode in which at least one reference picture is a picture where the current video block is located.
[0045] Furthermore, although some components, such as the motion estimation unit 204 and the motion compensation unit 205, may be integrated, but are represented in the example of Fig. 2 separately for purposes of explanation.
[0046] The partition unit 201 may partition a picture into one or more video blocks. The video encoder 200 and the video decoder 300 may support various video block sizes.
[0047] 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. In some examples, the mode select unit 203 may select a combined inter and intra prediction (CIIP) mode in which the prediction is based on an inter prediction signal and an intra prediction signal. 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-prediction.
[0048] To perform inter prediction on a current video block, 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.
[0049] 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. As used herein, 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.
[0050] 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 block of the current video block based on the reference video block indicated by the motion information of the current video block.
[0051] 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.
[0052] In some examples, 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.
[0053] 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.
[0054] In another example, the motion estimation unit 204 may identify, in a syntax structure associated with the current video block, another video block and a motion vector difference (MVD) . The motion vector difference indicates a difference between the motion vector of the current video block and the motion vector of the indicated video block. The video decoder 300 may use the motion vector of the indicated video block and the motion vector difference to determine the motion vector of the current video block.
[0055] As discussed above, video encoder 200 may predictively signal the motion vector. Two examples of predictive signaling techniques that may be implemented by video encoder 200 include advanced motion vector prediction (AMVP) and merge mode signaling.
[0056] The intra prediction unit 206 may perform intra prediction on the current video block. When the intra prediction unit 206 performs intra prediction on the current video block, the intra prediction unit 206 may generate prediction data for the current video block based on decoded samples of other video blocks in the same picture. The prediction data for the current video block may include a predicted video block and various syntax elements.
[0057] The residual generation unit 207 may generate residual data for the current video block by subtracting (e.g., indicated by the minus sign) the predicted video block (s) of the current video block from the current video block. The residual data of the current video block may include residual video blocks that correspond to different sample components of the samples in the current video block.
[0058] In other examples, there may be no residual data for the current video block, for example in a skip mode, and the residual generation unit 207 may not perform the subtracting operation.
[0059] The transform 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.
[0060] After the transform unit 208 generates a transform coefficient 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.
[0061] The inverse quantization unit 210 and the inverse transform unit 211 may apply inverse quantization and inverse transforms to the transform coefficient video block, respectively, to reconstruct a residual video block from the transform coefficient video block. The reconstruction unit 212 may add the reconstructed residual video block to corresponding samples from one or more predicted video blocks generated by the prediction unit 202 to produce a reconstructed video block associated with the current video block for storage in the buffer 213.
[0062] After the reconstruction unit 212 reconstructs the video block, loop filtering operation may be performed to reduce video blocking artifacts in the video block.
[0063] The entropy encoding unit 214 may receive data from other functional components of the video encoder 200. When the entropy encoding unit 214 receives the data, the entropy encoding unit 214 may perform one or more entropy encoding operations to generate entropy encoded data and output a bitstream that includes the entropy encoded data.
[0064] 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.
[0065] 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 techniques described in this disclosure may be shared among the various components of the video decoder 300. In some examples, a processor may be configured to perform any or all of the techniques described in this disclosure.
[0066] In the example of Fig. 3, 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 transform unit 305, 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.
[0067] 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. As used herein, in some aspects, a “merge mode” may refer to deriving the motion information from spatially or temporally neighboring blocks.
[0068] 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.
[0069] The motion compensation unit 302 may use the interpolation filters as used by the video encoder 200 during encoding of the video block to calculate interpolated values for sub-integer pixels of a reference block. The motion compensation unit 302 may determine the interpolation filters used by the video encoder 200 according to the received syntax information and use the interpolation filters to produce predictive blocks.
[0070] 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. As used herein, in some aspects, 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.
[0071] 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.
[0072] 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 artifacts. The decoded video blocks are then stored in the buffer 307, which provides reference blocks for subsequent motion compensation / intra prediction and also produces decoded video for presentation on a display device.
[0073] Some example embodiments of the present disclosure will be described in 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. Furthermore, the term 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. 1. Brief Summary
[0074] The present disclosure is related to video coding technologies. Specifically, it is related to spatial geometric partitioning mode (SGPM) , and / or geometric partitioning mode combined with MIP or EIP, and other coding tools in image / video coding. 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. 2. Introduction
[0075] Video coding standards have evolved primarily through the development of the well-known ITU-T and ISO / IEC standards. The ITU-T produced H. 261 and H. 263, ISO / IEC produced MPEG-1 and MPEG-4 Visual, and the two organizations jointly produced the H. 262 / MPEG-2 Video and H. 264 / MPEG-4 Advanced Video Coding (AVC) and H. 265 / HEVC standards. Since H. 262, the video coding standards are based on the hybrid video coding structure wherein temporal prediction plus transform coding are utilized. To explore the future video coding technologies beyond HEVC, Joint Video Exploration Team (JVET) was founded by VCEG and MPEG jointly in 2015. Since then, many new methods have been adopted by JVET and put into the reference software named Joint Exploration Model (JEM) . In April 2018, the Joint Video Expert Team (JVET) between VCEG (Q6 / 16) and ISO / IEC JTC1 SC29 / WG11 (MPEG) was created to work on the VVC standard targeting at 50%bitrate reduction compared to HEVC. 2.1 Coding flow of a typical video codec
[0076] Fig. 4 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. Unlike DF, which uses predefined filters, SAO and ALF utilize the original samples of the current picture to reduce the mean square errors between the original samples and the reconstructed samples by adding an offset and by applying a finite impulse response (FIR) filter, respectively, with coded side information signalling the offsets and filter coefficients. ALF is located at the last processing stage of each picture and can be regarded as a tool trying to catch and fix artifacts created by the previous stages. 2.2 Intra mode coding with 67 intra prediction modes
[0077] Fig. 5 shows 67 intra prediction modes. To capture the arbitrary edge directions presented in natural video, the number of directional intra modes is extended from 33, as used in HEVC, to 65, as shown in Fig. 5, and the planar and DC modes remain the same. These denser directional intra prediction modes apply for all block sizes and for both luma and chroma intra predictions.
[0078] In the HEVC, every 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-predictor using DC mode. In VVC, 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.2.1 Wide angle intra prediction
[0079] 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. In 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.
[0080] Fig. 6 shows reference samples for wide-angular intra prediction. To support these prediction directions, the top reference with length 2W+1, and the left reference with length 2H+1, are defined as shown in Fig. 6.
[0081] 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 1. Table 1 Intra prediction modes replaced by wide-angular modes
[0082] Fig. 7 illustrates problem of discontinuity in case of directions beyond 45°. As shown in Fig. 7, two vertically adjacent predicted samples may use two non-adjacent reference samples in the case of wide-angle intra prediction. Hence, low-pass reference samples filter and side smoothing are applied to the wide-angle prediction to reduce the negative effect of the increased gap Δpα. If a wide-angle mode represents a non-fractional offset. There are 8 modes in the wide-angle modes satisfy this condition, which are [-14, -12, -10, -6, 72, 76, 78, 80] . When a block is predicted by these modes, the samples in the reference buffer are directly copied without applying any interpolation. With this modification, the number of samples needed to be smoothing is reduced. Besides, it aligns the design of non-fractional modes in the conventional prediction modes and wide-angle modes.
[0083] In VVC, 4: 2: 2 and 4: 4: 4 chroma formats are supported as well as 4: 2: 0. Chroma derived mode (DM) derivation table for 4: 2: 2 chroma format was initially ported from HEVC extending the number of entries from 35 to 67 to align with the extension of intra prediction modes. Since HEVC specification does not support prediction angle below -135 degree and above 45 degree, luma intra prediction modes ranging from 2 to 5 are mapped to 2. Therefore, chroma DM derivation table for 4: 2: 2: chroma format is updated by replacing some values of the entries of the mapping table to convert prediction angle more precisely for chroma blocks. 2.3 Inter prediction
[0084] For each inter-predicted CU, motion parameters consisting of motion vectors, 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. When 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. 2.4 Intra block copy (IBC)
[0085] 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. Since IBC mode is implemented as a block level coding mode, block matching (BM) is performed at the encoder to find the optimal block vector (or motion vector) for each CU. Here, 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. When combined with AMVR, 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.
[0086] At the encoder side, 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. For non-merge mode, 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.
[0087] In the hash-based search, hash key matching (32-bit CRC) between the current block and a reference block is extended to all allowed block sizes. The hash key calculation for every position in the current picture is based on 4u4 sub-blocks. For the current block of a larger size, 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.
[0088] In block matching search, the search range is set to cover both the previous and current CTUs.
[0089] At CU level, 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. A flag is signalled to indicate the block vector predictor index. 2.5 Matrix weighted Intra Prediction (MIP) Matrix weighted intra prediction (MIP) method is a newly added intra prediction technique into VVC. For predicting the samples of a rectangular block of width W and height H, matrix weighted intra prediction (MIP) takes one line of H reconstructed neighbouring boundary samples left of the block and one line of W 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. Fig. 8 shows matrix weighted intra prediction process. 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. 8. 2.5.1Averaging neighbouring samples
[0090] Among the boundary samples, four samples or eight samples are selected by averaging based on block size and shape. Specifically, the input boundaries bdrytop and bdryleft are reduced to smaller boundaries and by averaging neighbouring boundary samples according to predefined rule depends on block size. Then, the two reduced boundaries and are concatenated to a reduced boundary vector bdryred which is thus of size four for blocks of shape 4×4 and of size eight for blocks of all other shapes. If mode refers to the MIP-mode, this concatenation is defined as follows: 2.5.2Matrix Multiplication
[0091] 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 subsampled set of samples in the original block. Out of the reduced input vector bdryred a reduced prediction signal predred, which is a signal on the down-sampled block of width Wred and height Hred is generated. Here, Wred and Hred are defined as:
[0092] The reduced prediction signal predred is computed by calculating a matrix vector product and adding an offset: predred=A·bdryred+b. (2-4) Here, A is a matrix that has Wred· Hred rows and 4 columns if W=H=4 and 8 columns in all other cases. b is a vector of size Wred· Hred. The matrix A and the offset vector b are taken from one of the sets S0, S1, S2. One defines an index idx=idx (W, H) as follows: Here, each coefficient of the matrix A is represented with 8 bit precision. The set S0 consists of 16 matrices each of which has 16 rows and 4 columns and 16 offset vectors each of size 16. Matrices and offset vectors of that set are used for blocks of size 4×4. The set S1 consists of 8 matrices each of which has 16 rows and 8 columns and 8 offset vectors each of size 16. The set S2 consists of 6 matrices each of which has 64 rows and 8 columns and of 6 offset vectors of size 64. 2.5.3 Interpolation
[0093] 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.5.4 Signalling of MIP mode and harmonization with other coding tools
[0094] For each Coding Unit (CU) in intra mode, a flag indicating whether an MIP mode is to be applied or not is sent. If an MIP mode is to be applied, MIP mode (predModeIntra) is signalled . For an MIP mode, a transposed flag (isTransposed) , which determines whether the mode is transposed, and MIP mode Id (modeId) , which determines which matrix is to be used for the given MIP mode is derived as follows: isTransposed=predModeIntra&1 modeId=predModeIntra>>1 . (2-6)
[0095] MIP coding mode is harmonized with other coding tools by considering following aspects: –LFNST is enabled for MIP on large blocks. Here, the LFNST transforms of planar mode are used. –The reference sample derivation for MIP is performed exactly as for the conventional intra prediction modes. –For the up-sampling step used in the MIP-prediction, original reference samples are used instead of down-sampled ones. –Clipping is performed before up-sampling and not after up-sampling. –MIP is allowed up to 64u64 regardless of the maximum transform size.
[0096] The number of MIP modes is 32 for sizeId=0, 16 for sizeId=1 and 12 for sizeId=2. 2.6 Spatial Geometric partitioning mode (SGPM)
[0097] SGPM is an intra mode that resembles the inter coding tool of GPM, where the two prediction parts are generated from intra predicted process. Fig. 9 shows spatial GPM candidates. In this mode, a candidate list is built with each entry containing one partition split and two intra prediction modes as shown in Fig. 9.26 partition modes and 3 of intra prediction modes are used to form the combinations. the length of the candidate list is set equal to 16. The selected candidate index is signalled.
[0098] Fig. 10 shows GPM template. The list is reordered using template (Fig. 10) where SAD between the prediction and reconstruction of the template is used for ordering. The template size is fixed to 1.
[0099] For each partition mode, an IPM list is derived for each part using the same intra-inter GPM list derivation. The IPM list size is set to 3. In the list, TIMD derived mode is replaced by 2 derived modes with horizontal and vertical orientations.
[0100] The SGPM mode is applied with a restricted blocks size: 4<=width<=64, 4<=height<=64, width<height*8, height<width*8, width*height>=32.
[0101] A PPS flag is coded to indicate whether no blending of two intra predictions is allowed. When this PPS flag is set to false, the following adaptive blending is also used for spatial GPM, where blending depth τ shown in Fig. 11 is derived as follows: If min (width, height) ==4, 1 / 2 τ is selected else if min (width, height) ==8, τ is selected else if min (width, height) ==16, 2 τ is selected else if min (width, height) ==32, 4 τ is selected else, 8 τ is selected.
[0102] Otherwise (the PPS flag is set to true) , 1 / 4 τ is always used for spatial GPM coded blocks to make sure no blending is used when SGPM block has partition angle completely horizontal or vertical, and much narrower blending width is used when SGPM block has other partition angles. It is noted that the flag is set to true in current Common Test Conditions (CTC) for the screen content videos. 2.7 Decoder side intra mode derivation (DIMD)
[0103] When DIMD is applied, up to five intra modes are derived from the reconstructed neighbor samples, and those five predictors are combined with the planar mode predictor with the weights derived from the histogram of gradients. The division operations in weight derivation are performed utilizing the same lookup table (LUT) based indigenization scheme used by the CCLM. For example, the division operation in the orientation calculation Orient=Gy / Gx (2-7) is computed by the following LUT-based scheme: x = Floor (Log2 (Gx) ) normDiff = ( (Gx<< 4) >> x) & 15 x += (3 + (normDiff ! = 0) ? 1 : 0) Orient = (Gy* (DivSigTable [normDiff] | 8) + (1<< (x-1) ) ) >> x (2-8) where DivSigTable
[0016] = {0, 7, 6, 5 , 5, 4, 4, 3, 3, 2, 2, 1, 1, 1, 1, 0 } .
[0104] For a block of size W×H, the weight for each of the five derived modes is modified if the one the above or left histogram magnitudes is twice larger than the other one. In this case, the weights are location dependent and computed as follows: If the above histogram is twice the left, then: If the left histogram is twice the above, then: where wDimdi is the unmodified uniform weight of the DIMD, Δi is pre-defined and set to 10.
[0105] Derived intra modes are included into the primary list of intra most probable modes (MPM) , so the DIMD process is performed before the MPM list is constructed. The primary derived intra mode of a DIMD block is stored with a block and is used for MPM list construction of the neighboring blocks.
[0106] Finally, note the region of neighboring reconstructed samples used for computing the histogram of gradients is modified, depending on reconstructed samples availability. The region of decoded reference samples of current WxH luma CB is extended towards the above-right side if available, up to W additional columns. It is extended towards the bottom-left side if available, up to H additional rows. 2.7.1 DIMD chroma mode
[0107] Fig. 12 shows Neighboring reconstructed samples used for DIMD chroma mode. The DIMD chroma mode uses the DIMD derivation method to derive the chroma intra prediction mode of the current block based on the neighboring reconstructed Y, Cb and Cr samples in the second neighboring row and column as shown in Fig. 12. Specifically, a horizontal gradient and a vertical gradient are calculated for each collocated reconstructed luma sample of the current chroma block, as well as the reconstructed Cb and Cr samples, to build a HoG. Then the intra prediction mode with the largest histogram amplitude values is used for performing chroma intra prediction of the current chroma block.
[0108] When the intra prediction mode derived from the DIMD chroma mode is the same as the intra prediction mode derived from the DM mode, the intra prediction mode with the second largest histogram amplitude value is used as the DIMD chroma mode. A CU level flag is signaled to indicate whether the proposed DIMD chroma mode is applied.
[0109] Finally, the luma region of reconstructed samples used for computing the histogram of gradients for chroma DIMD mode is modified. For a WuH pair of chroma CBs to predict, to build the histogram of gradients associated to the collocated luma CB, the pairs of a vertical gradient and a horizontal gradient are extracted from the second and third lines in this luma CB instead of being extracted from the regular set of DIMD decoded reference samples around this luma CB. 2.8 Template-based intra mode derivation (TIMD)
[0110] For each intra prediction mode in MPMs, as well as the wide-angle modes if the above-right and / or bottom-left reference samples are available, SATD between the prediction and reconstruction samples of the template is calculated. First two intra prediction modes with the minimum SATD are selected as the TIMD modes. These two TIMD modes are fused with the weights after applying PDPC process, and such weighted intra prediction is used to code the current CU. Position dependent intra prediction combination (PDPC) is included in the derivation of the TIMD modes.
[0111] The costs of the two selected modes are compared with a threshold, in the test the cost factor of 2 is applied as follows: costMode2 < 2*costMode1 (2-11) .
[0112] If this condition is true, the fusion is applied, otherwise the only mode1 is used.
[0113] Weights of the modes are computed from their SATD costs as follows: weight1 = costMode2 / (costMode1+ costMode2) weight2 = 1 -weight1 (2-12)
[0114] The division operations are conducted using the same lookup table (LUT) based integerization scheme used by the CCLM. 2.9 Multi-model LM (MMLM)
[0115] CCLM included in VVC is extended by adding three Multi-model LM (MMLM) modes. In each MMLM mode, the reconstructed neighboring samples are classified into two classes using a threshold which is the average of the luma reconstructed neighboring samples. The linear model of each class is derived using the Least-Mean-Square (LMS) method. For the CCLM mode, the LMS method is also used to derive the linear model. A slope adjustment to is applied to cross-component linear model (CCLM) and to Multi-model LM prediction. The adjustment is tilting the linear function which maps luma values to chroma values with respect to a center point determined by the average luma value of the reference samples. 2.10 Multiple transform selection (MTS) for core transform
[0116] In addition to DCT-II which has been employed in HEVC, a Multiple Transform Selection (MTS) scheme is used for residual coding both inter and intra coded blocks. It uses multiple selected transforms from the DCT8 / DST7. The newly introduced transform matrices are DST-VII and DCT-VIII. Table 2 shows the basis functions of the selected DST / DCT. Table 2 Transform basis functions of DCT-II / VIII and DSTVII for N-point input
[0117] In order to keep the orthogonality of the transform matrix, the transform matrices are quantized more accurately than the transform matrices in HEVC. To keep the intermediate values of the transformed coefficients within the 16-bit range, after horizontal and after vertical transform, all the coefficients are to have 10-bit.
[0118] In order to control MTS scheme, separate enabling flags are specified at SPS level for intra and inter, respectively. When MTS is enabled at SPS, a CU level flag is signalled to indicate whether MTS is applied or not. Here, MTS is applied only for luma. The MTS signaling is skipped when one of the below conditions is applied. –The position of the last significant coefficient for the luma TB is less than 1 (i.e., DC only) –The last significant coefficient of the luma TB is located inside the MTS zero-out region
[0119] If MTS CU flag is equal to zero, then DCT2 is applied in both directions. However, if MTS CU flag is equal to one, then two other flags are additionally signalled to indicate the transform type for the horizontal and vertical directions, respectively. Transform and signalling mapping table as shown in Table 3. Unified the transform selection for ISP and implicit MTS is used by removing the intra-mode and block-shape dependencies. If current block is ISP mode or if the current block is intra block and both intra and inter explicit MTS is on, then only DST7 is used for both horizontal and vertical transform cores. When it comes to transform matrix precision, 8-bit primary transform cores are used. Therefore, all the transform cores used in HEVC are kept as the same, including 4-point DCT-2 and DST-7, 8-point, 16-point and 32-point DCT-2. Also, other transform cores including 64-point DCT-2, 4-point DCT-8, 8-point, 16-point, 32-point DST-7 and DCT-8, use 8-bit primary transform cores. Table 3 - Transform and signalling mapping table
[0120] To reduce the complexity of large size DST-7 and DCT-8, High frequency transform coefficients are zeroed out for the DST-7 and DCT-8 blocks with size (width or height, or both width and height) equal to 32. Only the coefficients within the 16x16 lower-frequency region are retained.
[0121] As in HEVC, the residual of a block can be coded with transform skip mode. To avoid the redundancy of syntax coding, the transform skip flag is not signalled when the CU level MTS_CU_flag is not equal to zero. Note that implicit MTS transform is set to DCT2 when LFNST or MIP is activated for the current CU. Also the implicit MTS can be still enabled when MTS is enabled for inter coded blocks. 2.11 Subblock transform (SBT)
[0122] In VTM, subblock transform is introduced for an inter-predicted CU. In this transform mode, only a sub-part of the residual block is coded for the CU. When inter-predicted CU with cu_cbf equal to 1, cu_sbt_flag may be signaled to indicate whether the whole residual block or a sub-part of the residual block is coded. In the former case, inter MTS information is further parsed to determine the transform type of the CU. In the latter case, a part of the residual block is coded with inferred adaptive transform and the other part of the residual block is zeroed out.
[0123] When SBT is used for an inter-coded CU, SBT type and SBT position information are signaled in the bitstream. Fig. 13 shows SBT position, type and transform type. There are two SBT types and two SBT positions, as indicated in Fig. 13. For SBT-V (or SBT-H) , the TU width (or height) may equal to half of the CU width (or height) or 1 / 4 of the CU width (or height) , resulting in 2: 2 split or 1: 3 / 3: 1 split. The 2: 2 split is like a binary tree (BT) split while the 1: 3 / 3: 1 split is like an asymmetric binary tree (ABT) split. In ABT splitting, only the small region contains the non-zero residual. If one dimension of a CU is 8 in luma samples, the 1: 3 / 3: 1 split along that dimension is disallowed. There are at most 8 SBT modes for a CU.
[0124] Position-dependent transform core selection is applied on luma transform blocks in SBT-V and SBT-H (chroma TB always using DCT-2) . The two positions of SBT-H and SBT-V are associated with different core transforms. More specifically, the horizontal and vertical transforms for each SBT position is specified in Fig. 13. For example, the horizontal and vertical transforms for SBT-V position 0 is DCT-8 and DST-7, respectively. When one side of the residual TU is greater than 32, the transform for both dimensions is set as DCT-2. Therefore, the subblock transform jointly specifies the TU tiling, cbf, and horizontal and vertical core transform type of a residual block.
[0125] The SBT is not applied to the CU coded with combined inter-intra mode. 2.12 Extrapolation filter-based intra prediction (EIP) mode
[0126] In the EIP mode, the samples in a CU are predicted from the top-left position to the bottom-right position by applying an extrapolation filter to neighboring reconstructed samples or predicted samples. The EIP mode uses a 15-tap filter for prediction as below: , where pred (x, y) is the predicted value at position (x, y) in the CU, ci is the filter coefficient, and the is the reconstructed samples or predicted samples.
[0127] The EIP filter can be derived from the neighboring reconstructed samples or be inherited from the previous EIP coded blocks. There are three EIP filter shapes and three types of reconstructed area supported in ECM as shown in Fig. 14 and Fig. 15, respectively. Fig. 14 shows three EIP filter shapes. Fig. 15 shows three types of reconstructed area for EIP filter.
[0128] For a CU coded in the EIP mode, an EIP merge flag is signaled to indicate whether the EIP filter is inherited from previous blocks coded in EIP mode. When the EIP merge flag is true, an EIP merge list is constructed from the spatial adjacent, spatial non-adjacent, temporal and history candidates. The position and inclusion order of these candidates are the same as those used in CCP merge candidate list. An EIP merge index is further signaled to indicate which EIP merge candidate is selected. The filter shape and the filter coefficients of the selected candidate are then inherited to code the CU.
[0129] When the EIP merge flag is false, the EIP filter is derived from the neighboring reconstructed samples and the relevant syntax element is signaled to indicate which one of the three types of reconstructed area and which one of the three filter shapes are used for the CU. The selected filter moves in the selected reconstructed area either horizontally or vertically with a one-pixel step to construct the auto-correlation matrix and the cross-correlation vector. The calculation of coefficients from the auto-correlation matrix and the cross-correlation vector is the same as that in CCCM.
[0130] After generating the prediction samples of the CU using the EIP filter, an intra prediction mode is derived by applying the DIMD process to the prediction samples. Specifically, a horizontal gradient and a vertical gradient are calculated for each predicted sample to build a histogram of gradient. Then the intra prediction mode corresponding to the largest histogram count is used to determine the LFNST, NSPT or MTS transform set. 2.13 Matrix based intra prediction replacing conventional intra modes (PDP)
[0131] A matrix of weights, which are defined for a block shape and intra mode, is introduced, those weights are multiplied by the neighbour reference template to derive the prediction samples replacing conventional intra prediction. Fig. 16 shows L-shaped neighborhood for a give predicted block. The weights are applied to the reference samples of the L-shaped causal neighborhood template as shown in Fig. 16.
[0132] The reference samples in the causal neighborhood are denoted as r, and F (x, y) is the matrix of weights. Then the prediction P (x, y) can be derived as P (x, y) = ∑k F (x, y, k) *r (k) (2-13) where k denotes the index of the reference sample in the template.
[0133] In the test, this prediction is used for block size with both width and height up to 32 (except for 4′32, 32′4, 8′32 and 32′8) . The template size is 2 for blocks with both width and height up to 16 and it is only used for mode 0, 1, and (2+2*k) . For other blocks, template size is set to 1; is used for mode 0, 1, and (2+4*k) ; prediction is only performed for 16′16 positions, and the rest of the samples are generated by bilinear interpolation. For all block sizes, block shape and mode-based symmetry is used. Reference length is set to W and H for modes greater than 18 and less than 50 and set to 2*W and 2*H otherwise.
[0134] The filters are trained with BVI sequences composing of 800 sequences with diverse resolutions. 2.14 Modifications to Matrix-Based Intra Prediction
[0135] Alternative matrices are used for a sub-set of block sizes that support MIP. For blocks with a max size of 32′32, alternative matrices which use the L-shaped causal template (Fig. 16) as input to generate the W′H prediction block are used in MIP modes. The L-shaped template contains T1′W and T2′H neighbor reference samples and the T1′T2 corner reference samples. T1 and T2 are both set to 2.
[0136] The prediction of a sample P (x, y) can be derived as: P (x, y) = ∑k F (x, y, k) *r (k) , where r (k) is the kth item in the L-shaped template, and F (x, y) is the matrix weights corresponding to the position (x, y) . 2.15 Intra prediction merge mode
[0137] A list of intra mode candidates is constructed using the intra modes from the neighbour blocks. It is similar to inter merge mode, but instead of motion vector the neighbour intra modes are added to the list. A flag is signalled to indicate whether to enable the proposed intra merge mode. If the flag is true, at least one intra merge candidate list is constructed. If there are more than one intra merge lists, a list index is signalled to indicate which intra merge list is selected. An index is further signalled to indicate which candidate is used for this CU. The neighbouring blocks considered for the intra merge list construction are as shown in Fig. 17. Fig. 17 shows neighboring blocks for merging checks. 3. Problems
[0138] In current design of ECM, conventional intra prediction, block vector, inter prediction could be used in the geometric partitioning mode, such as SGPM, GPM, and IBC-GPM. However, other intra prediction method such as MIP / EIP is not used in the geometric partitioning mode, which may limit the coding performance. 4. Detailed solutions
[0139] The detailed example 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.GPM / SGPM with MIP / EIP 1. It is proposed that an intra prediction method except for conventional intra prediction may be used in the geometric partitioning mode. a. In one example, the intra prediction method may refer to DIMD, DIMD merge, TIMD, TIMD merge, MRL, ISP, MIP, IntraTMP, SGPM, chroma fusion, CCLM, MMLM, CCCM, GLM, CCP merge, intra prediction fusion, TMRL, PDPC / gradient PDPC, EIP, Intra merge mode, or their variants. 2. It is proposed that an intra prediction method may be used in geometric partitioning mode (GPM) , in which one or more filter / matrix are used in the intra prediction method to generate the prediction. a. In one example, the intra prediction method may refer to MIP, and / or EIP, and / or PDP. b. In one example, one or more prediction modes may be used in the intra prediction method. i. In one example, different filters / matrices may be used for different prediction modes. c. In one example, the filter / matrix may be derived on-the-fly, or pre-defined, or signalled. d. In one example, the intra prediction method (e.g., MIP / EIP / PDP) may be used in a coding tool with geometric partitioning. i. In one example, the coding tool may refer to spatial geometric partitioning mode (SGPM) . ii. In one example, the coding tool may refer to IBC-GPM. iii. In one example, the coding tool may refer to GPM. 1) In one example, the intra prediction method may be used in GPM-Intra. a) In one example, one or more prediction modes of the intra prediction method may be used in the intra prediction mode list. 3. It is proposed that one or more MIP modes or EIP modes may be used in SGPM. a. In one example, the MIP mode may refer to MIP mode, or MIP transposed flag, or the combi- nation of MIP mode and MIP transposed flag. b. In one example, the EIP mode may refer to EIP filter, the type of reconstructed area, or the combination of EIP filter and the type of reconstructed area. c. In one example, the one or more MIP modes or EIP modes are used to construct the SGPM candidate list. i. In one example, one or more combinations of MIP mode and MIP transposed flag may be used as SGPM candidates. 1) In one example, the one or more combinations of MIP mode and MIP transposed flag may be derived. ii. In one example, one or more combinations of EIP filter and the type of reconstructed area may be used as SGPM candidates. 1) In one example, the combinations of EIP filter and the type of reconstructed area may be derived. iii. In one example, MIP modes or EIP modes may be used to generate the prediction of one or two sub-partitions. iv. In one example, when MIP mode or EIP mode is used for one sub-partition, one pre- diction method is disallowed to be used for the other sub-partition. 1) For example, the prediction method may refer to prediction using block vector, or MIP, or EIP. v. In one example, template-based reordering may be used in the derivation. 1) In one example, an MIP or EIP mode candidate list is constructed and the tem- plate-based reordering is used, and the first N candidates may be used to construct the SGPM candidate list. a) In one example, N may be pre-defined, or signalled, or derived. d. In one example, whether to and / or how to use MIP modes or EIP modes in SGPM may depend on coding information. i. In one example, the coding information may refer to block size / dimensions. ii. In one example, the coding information may refer to whether the neighbouring video units are coded with MIP mode or EIP mode, and / or the number of the neighbouring video units coded with MIP mode or EIP mode. 4. In one example, the template size used to reorder the SGPM candidate list may depend on coding infor- mation. a. In one example, the template with more than one line may be used. b. In one example, the template may consist of left, and / or left-below, and / or left-above, and / or above, and / or above-right neighbouring (adjacent and / or non-adjacent) reconstructed samples. c. In one example, the coding information may refer to block size / dimensions. d. In one example, the SGPM split mode may be reordered. e. In one example, the SGPM index may be coded with one or more contexts. 5. In one example, geometric partitioning mode may be used for chroma. a. In one example, one or more GPM split mode and / or intra prediction method may be signalled or derived for chroma. b. In one example, the information of GPM of luma component may be used for chroma compo- nents. i. In one example, when the collocated luma block is coded with SGPM, or IBC-GPM, or GPM-Intra, the GPM information for the collocated luma block may be used for the chroma. ii. In one example, when the collocated luma block is coded with SGPM, or IBC-GPM, or GPM-Intra, the GPM information for the collocated luma block may be treated as the direct mode (DM) or an additional direct mode.General aspects 6. In above examples, the video unit may refer to the video unit may refer to colour component / sub-pic- ture / slice / tile / coding tree unit (CTU) / CTU row / groups of CTU / coding unit (CU) / prediction unit (PU) / transform unit (TU) / coding tree block (CTB) / coding block (CB) / prediction block (PB) / transform block (TB) / ablock / sub-block of a block / sub-region within a block / any other region that contains more than one sample or pixel. 7. Whether to and / or how to apply the disclosed methods above may be signalled at sequence level / group of pictures level / picture level / slice level / tile group level, such as in sequence header / picture header / SPS / VPS / DPS / DCI / PPS / APS / slice header / tile group header. 8. Whether and / or how to apply the above methods may depend on the following information: a. A message signalled in the DPS / SPS / VPS / PPS / APS / picture header / slice header / tile group header / coding tree unit (CTU) / Coding unit (CU) / CTU row / group of CTUs / TU / PU block / Video coding unit b. Position of CU / PU / TU / block / Video coding unit c. Block dimension of current block and / or its neighbouring blocks d. Block shape of current block and / or its neighbouring blocks e. coded mode of a block, e.g., IBC or non-IBC inter mode or non-IBC subblock mode f. Indication of the colour format (such as 4: 2: 0, 4: 4: 4) g. Coding tree structure h. Slice / tile group type and / or picture type i. Colour component (e.g., may be only applied on chroma components or luma component) j. Temporal layer ID k. Profiles / Levels / Tiers of a standard.
[0140] Fig. 18 illustrates a flowchart of a method 1800 for video processing in accordance with embodiments of the present disclosure. The method 1800 is implemented during a conversion between a video unit of a video and a bitstream of the video.
[0141] At block 1810, for a conversion between a video unit of a video and a bitstream of the video, a prediction of the video unit is determined. The video unit is coded with a geometric partitioning mode (GPM) in which a target intra prediction approach except for conventional intra prediction is used. For example, an intra prediction method except for conventional intra prediction may be used in the geometric partitioning mode. In some embodiments, the target intra prediction approach comprises at least one of: a decoder-side intra mode derivation (DIMD) , a variant of DIMD, a DIMD merge, a variant of DIMD merge, a template-based intra mode derivation (TIMD) , a variant of TIMD, a TIMD merge, a variant of TIMD merge, a multiple reference line (MRL) , a variant of MRL, an intra sub-partition (ISP) , a variant of ISP, a matrix weighted intra prediction (MIP) , a variant of MIP, an Intra template matching prediction (IntraTMP) , a variant of IntraTMP, a spatial geometric partitioning mode (SGPM) , a variant of SGPM, chroma fusion, a variant of chroma fusion, a cross-component linear model (CCLM) , a variant of CCLM, a multi-model CCLM (MMLM) , a variant of MMLM, a convolutional cross-component model (CCCM) , a variant of CCCM, a gradient linear model (GLM) , a variant of GLM, a cross-component prediction (CCP) merge, a variant of CCP merge, intra prediction fusion, a variant of intra prediction fusion, a template-based multiple reference line intra prediction (TMRL) , a variant of TMRL, a position dependent intra prediction combination (PDPC) , a variant of PDPC, a gradient PDPC, a variant of gradient PDPC, an extrapolation filter-based intra prediction (EIP) , a variant of EIP, an intra merge mode, a variant of intra merge mode, or a matrix based intra prediction replacing conventional intra mode (PDP) . In some embodiments, the video unit comprises at least one of the following: a color component, a sub-picture, a slice, a tile, a coding tree unit (CTU) , a CTU row, a group of CTU, a coding unit (CU) , a prediction unit (PU) , a transform unit (TU) , a coding tree block (CTB) , a coding block (CB) , a prediction block (PB) , a transform block (TB) , a block, a sub-block of a block, a sub-region within a block, a region containing more than one sample or pixel.
[0142] At block 1820, the conversion is performed based on the prediction of the video unit. In some other embodiments, the conversion includes decoding the video unit from the bitstream. In this way, the coding performance and coding efficiency may be improved.
[0143] In some embodiments, one or more filters or one or more matrices are used in the target intra prediction approach to generate the prediction. For example, the target intra prediction approach may refer to at least one of MIP, EIP or PDP.
[0144] In some embodiments, the target intra prediction approach is used in a coding tool with geometric partitioning. In some embodiments, the coding tool comprises a spatial geometric partitioning (SGPM) . In some other embodiments, the coding tool comprises at least one of: intra block copy (IBC) -GPM or GPM. For example, the target intra prediction approach is used in GPM-Intra. In some embodiments, one or more prediction modes of the target intra prediction approach are used in an intra prediction mode list.
[0145] In some embodiments, one or more prediction modes are used in the target intra prediction approach. For example, different filters or different matrices are used for different prediction modes.
[0146] In some embodiments, the one or more filters or one or more matrices are derived on the fly. Alternatively, the one or more filters or one or more matrices are predefined. In some other example embodiments, the one or more filters or one or more matrices are signaled.
[0147] In some embodiments, one or more MIP modes or one or more EIP modes are used in SGPM. In some embodiments, the one or more MIP modes include at least one of: an MIP mode, an MIP transposed flag, or a combination of MIP mode and MIP transposed flag. For example, the MIP mode may include an index and a transposed flag that is usded for determining a final matrix. In some embodiments, the one or more EIP modes comprise at least one of: an EIP filter, a type of reconstructed area, or a combination of EIP filter and the type of reconstructed area.
[0148] In some embodiments, the one or more MIP modes or EIP modes are used to construct a SGPM candidate list. For example, one or more combinations of MIP mode and MIP transposed flag are used as SGPM candidates. In some embodiments, the one or more combinations of MIP mode and MIP transposed flag are derived.
[0149] In some embodiments, one or more combinations of EIP filter and type of reconstructed area are used as SGPM candidates. For example, the one or more combinations of EIP filter and the type of reconstructed area are derived.
[0150] In some embodiments, the one or more MIP modes or the one or more EIP modes are used to generate a prediction of one or two sub-partitions. In some embodiments, if MIP mode or EIP mode is used for one sub-partition, a prediction approach is disallowed to be used for the other sub-partition. For example, the prediction approach includes at least one of: a prediction approach using block vector, MIP or EIP.
[0151] In some embodiments, a template-based reordering is used in a derivation of the SGPM candidate list. For example, an MIP or EIP mode candidate list is constructed and the template-based reordering is used, and first N candidates are used to construct the SGPM candidate list. In this case, N may be an integer. In some embodiments, N is pre-defined. Alternatively, N is signaled. In some other embodiments, N may be derived.
[0152] In some embodiments, whether to and / or how to use MIP modes or EIP modes in SGPM depend on coding information. In some embodiments, the coding information comprises at least one of block size or block dimensions. In some other embodiments, the coding information comprises at least one of whether neighbouring video units are coded with MIP mode or EIP mode, or the number of the neighbouring video units coded with MIP mode or EIP mode.
[0153] In some embodiments, a template size used to reorder a SGPM candidate list depends on coding information. In some embodiments, a template with more than one line is used to reorder the SGPM candidate list.
[0154] In some embodiments, a template comprises at least one of: left neighbouring reconstructed samples, left-below neighbouring reconstructed samples, left-above neighbouring reconstructed samples, above neighbouring reconstructed samples, or above-right neighbouring reconstructed samples. For example, the neighbouring reconstructed samples may be adjacent or non-adjacent.
[0155] In some embodiments, the coding information comprises at least one of block size or block dimensions. In some embodiments, a SGPM split mode is reordered. For example, if each candidate in a SGPM list includes one one or more SGPM split node and one or more intra preidction modes, different SGPM split modes may be combined and then reordered and the one or more intra preidction modes are fixed. In some other embodiments, a SGPM index is coded with one or more contexts.
[0156] In some embodiments, the GPM is used for chroma component. In some embodiments, at least one of: one or more GPM split modes or one or more intra prediction approaches are signalled or derived for chroma component.
[0157] In some embodiments, information of GPM of luma component is used for chroma components. For example, if a collocated luma block is coded with SGPM or IBC-GPM or GPM-Intra, GPM information for the collocated luma block is used for the chroma components. As another example, if the collocated luma block is coded with SGPM or IBC-GP, or GPM-Intra, GPM information for the collocated luma block is treated as a direct mode (DM) or an additional direct mode.
[0158] In some embodiments, an indication of whether to and / or how to determine the prediction or reconstruction of the video unit based on the prediction approach with at least one matrix and the coding approach is indicated at one of the following: sequence level, group of pictures level, picture level, slice level, or tile group level. In some other embodiments, an indication of whether to and / or how to determine the prediction of the video unit that is coded with the GPM in which the target intra prediction approach is used is indicated in one of the followings: a sequence header, a picture header, a sequence parameter set (SPS) , a video parameter set (VPS) , a decoding parameter set (DPS) , decoding capability information (DCI) , a picture parameter set (PPS) , an adaptation parameter set (APS) , a slice header, or a tile group header.
[0159] In some embodiments, whether to and / or how to determine the prediction of the video unit that is coded with the GPM in which the target intra prediction approach is used depends on at least one of the following information: a message signalled in one of: a DPS, a SPS, a VPS, a PPS, an APS, a picture header, a slice header, a tile group header, a coding tree unit (CTU) , a coding unit (CU) , a CTU row, a group of CTUs, a TU, a PU block, or a video coding unit, a position of a CU, a position of a PU, a position of a TU, a position of a block, a position of a video coding unit, a block dimension of a current block, a block dimension of a neighbouring block of the current block, a block shape of a current block, a block shape of a neighbouring block of the current block, a coded mode of a block, an indication of a colour format, a coding tree structure, a slice group type, a tile group type, a picture type, a colour component, a temporal layer identification, a profile of a standard, a level of a standard, or a tier of a standard. In some embodiments, the coded mode of the block comprises at least one of: an intra block copy (IBC) inter mode, a non-IBC inter mode, or a non-IBC subblock mode. In some embodiments, the indication of the color format comprises 4: 2: 0 or 4: 4: 4. In some embodiments, the color component is applied on one of: a chroma component or a luma component.
[0160] According to further embodiments of the present disclosure, 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: determining a prediction of the video unit, the video unit being coded with a geometric partitioning mode (GPM) in which a target intra prediction approach except for conventional intra prediction is used; and generating the bitstream based on the prediction of the video unit.
[0161] According to still further embodiments of the present disclosure, a method for storing bitstream of a video is provided. The method comprises: determining a prediction of the video unit, the video unit being coded with a geometric partitioning mode (GPM) in which a target intra prediction approach except for conventional intra prediction is used; generating the bitstream based on the prediction of the video unit; and storing the bitstream in a non-transitory computer-readable recording medium.
[0162] Implementations of the present disclosure can be described in view of the following clauses, the features of which can be combined in any reasonable manner.
[0163] Clause 1. A method of video processing, comprising: determining, for a conversion between a video unit of a video and a bitstream of the video, a prediction of the video unit, the video unit being coded with a geometric partitioning mode (GPM) in which a target intra prediction approach except for conventional intra prediction is used; and performing the conversion based on the prediction of the video unit.
[0164] Clause 2. The method of clause 1, wherein the target intra prediction approach comprises at least one of: a decoder-side intra mode derivation (DIMD) , a variant of DIMD, a DIMD merge, a variant of DIMD merge, a template-based intra mode derivation (TIMD) , a variant of TIMD, a TIMD merge, a variant of TIMD merge, a multiple reference line (MRL) , a variant of MRL, an intra sub-partition (ISP) , a variant of ISP, a matrix weighted intra prediction (MIP) , a variant of MIP, an Intra template matching prediction (IntraTMP) , a variant of IntraTMP, a spatial geometric partitioning mode (SGPM) , a variant of SGPM, chroma fusion, a variant of chroma fusion, a cross-component linear model (CCLM) , a variant of CCLM, a multi-model CCLM (MMLM) , a variant of MMLM, a convolutional cross-component model (CCCM) , a variant of CCCM, a gradient linear model (GLM) , a variant of GLM, a cross-component prediction (CCP) merge, a variant of CCP merge, intra prediction fusion, a variant of intra prediction fusion, a template-based multiple reference line intra prediction (TMRL) , a variant of TMRL, a position dependent intra prediction combination (PDPC) , a variant of PDPC, a gradient PDPC, a variant of gradient PDPC, an extrapolation filter-based intra prediction (EIP) , a variant of EIP, an intra merge mode, a variant of intra merge mode, or a matrix based intra prediction replacing conventional intra mode (PDP) .
[0165] Clause 3. The method of clause 1, wherein one or more filters or one or more matrices are used in the target intra prediction approach to generate the prediction.
[0166] Clause 4. The method of clause 3, wherein the target intra prediction approach is used in a coding tool with geometric partitioning.
[0167] Clause 5. The method of clause 4, wherein the coding tool comprises a spatial geometric partitioning mode (SGPM) .
[0168] Clause 6. The method of clause 4, wherein the coding tool comprises at least one of: intra block copy (IBC) -GPM or GPM.
[0169] Clause 7. The method of clause 6, wherein the target intra prediction approach is used in GPM-Intra.
[0170] Clause 8. The method of clause 7, wherein one or more prediction modes of the target intra prediction approach are used in an intra prediction mode list.
[0171] Clause 9. The method of clause 3, wherein one or more prediction modes are used in the target intra prediction approach.
[0172] Clause 10. The method of clause 9, wherein different filters or different matrices are used for different prediction modes.
[0173] Clause 11. The method of clause 3, wherein the one or more filters or one or more matrices are derived on the fly, or wherein the one or more filters or one or more matrices are predefined, or wherein the one or more filters or one or more matrices are signaled.
[0174] Clause 12. The method of clause 1, wherein one or more MIP modes or one or more EIP modes are used in SGPM.
[0175] Clause 13. The method of clause 12, wherein the one or more MIP modes comprise at least one of:an MIP mode, an MIP transposed flag, or a combination of MIP mode and MIP transposed flag.
[0176] Clause 14. The method of clause 12, wherein the one or more EIP modes comprise at least one of: an EIP filter, a type of reconstructed area, or a combination of EIP filter and the type of reconstructed area.
[0177] Clause 15. The method of clause 12, wherein the one or more MIP modes or EIP modes are used to construct a SGPM candidate list.
[0178] Clause 16. The method of clause 15, wherein one or more combinations of MIP mode and MIP transposed flag are used as SGPM candidates.
[0179] Clause 17. The method of clause 16, wherein the one or more combinations of MIP mode and MIP transposed flag are derived.
[0180] Clause 18. The method of clause 15, wherein one or more combinations of EIP filter and type of reconstructed area are used as SGPM candidates.
[0181] Clause 19. The method of clause 18, wherein the one or more combinations of EIP filter and the type of reconstructed area are derived.
[0182] Clause 20. The method of clause 15, wherein the one or more MIP modes or the one or more EIP modes are used to generate a prediction of one or two sub-partitions.
[0183] Clause 21. The method of clause 15, wherein in response to that MIP mode or EIP mode is used for one sub-partition, a prediction approach is disallowed to be used for the other sub-partition.
[0184] Clause 22. The method of clause 21, wherein the prediction approach comprises at least one of a prediction approach using block vector, MIP, or EIP.
[0185] Clause 23. The method of clause 15, wherein a template-based reordering is used in a derivation of the SGPM candidate list.
[0186] Clause 24. The method of clause 23, wherein an MIP or EIP mode candidate list is constructed and the template-based reordering is used, and first N candidates are used to construct the SGPM candidate list, wherein N is an integer.
[0187] Clause 25. The method of clause 24, wherein N is pre-defined, or signaled, or derived.
[0188] Clause 26. The method of clause 12, wherein whether to and / or how to use MIP modes or EIP modes in SGPM depend on coding information.
[0189] Clause 27. The method of clause 26, wherein the coding information comprises at least one of block size or block dimensions.
[0190] Clause 28. The method of clause 26, wherein the coding information comprises at least one of whether neighbouring video units are coded with MIP mode or EIP mode, or the number of the neighbouring video units coded with MIP mode or EIP mode.
[0191] Clause 29. The method of clause 1, wherein a template size used to reorder a SGPM candidate list depends on coding information.
[0192] Clause 30. The method of clause 29, wherein a template with more than one line is used to reorder the SGPM candidate list.
[0193] Clause 31. The method of clause 29, wherein a template comprises at least one of: left neighbouring reconstructed samples, left-below neighbouring reconstructed samples, left-above neighbouring reconstructed samples, above neighbouring reconstructed samples, or above-right neighbouring reconstructed samples.
[0194] Clause 32. The method of clause 29, wherein the coding information comprises at least one of block size or block dimensions.
[0195] Clause 33. The method of clause 29, wherein a SGPM split mode is reordered.
[0196] Clause 34. The method of clause 29, wherein a SGPM index is coded with one or more contexts.
[0197] Clause 35. The method of clause 1, wherein the GPM is used for chroma component.
[0198] Clause 36. The method of clause 35, wherein at least one of: one or more GPM split modes or one or more intra prediction approaches are signalled or derived for chroma components.
[0199] Clause 37. The method of clause 35, wherein information of GPM of luma component is used for chroma components.
[0200] Clause 38. The method of clause 37, wherein in response to that a collocated luma block is coded with SGPM or IBC-GPM or GPM-Intra, GPM information for the collocated luma block is used for the chroma components.
[0201] Clause 39. The method of clause 37, wherein in response to that the collocated luma block is coded with SGPM or IBC-GP, or GPM-Intra, GPM information for the collocated luma block is treated as a direct mode (DM) or an additional direct mode.
[0202] Clause 40. The method of any of clauses 1-39, wherein the video unit comprises at least one of the following: a color component, a sub-picture, a slice, a tile, a coding tree unit (CTU) , a CTU row, a group of CTU, a coding unit (CU) , a prediction unit (PU) , a transform unit (TU) , a coding tree block (CTB) , a coding block (CB) , a prediction block (PB) , a transform block (TB) , a block, a sub-block of a block, a sub-region within a block, a region containing more than one sample or pixel.
[0203] Clause 41. The method of any of clauses 1-40, wherein an indication of whether to and / or how to determine the prediction or reconstruction of the video unit based on the prediction approach with at least one matrix and the coding approach is indicated at one of the following: sequence level, group of pictures level, picture level, slice level, or tile group level.
[0204] Clause 42. The method of any of clauses 1-40, wherein an indication of whether to and / or how to determine the prediction of the video unit that is coded with the GPM in which the target intra prediction approach is used is indicated in one of the followings: a sequence header, a picture header, a sequence parameter set (SPS) , a video parameter set (VPS) , a decoding parameter set (DPS) , decoding capability information (DCI) , a picture parameter set (PPS) , an adaptation parameter set (APS) , a slice header, or a tile group header.
[0205] Clause 43. The method of any of clauses 1-40, wherein whether to and / or how to determine the prediction of the video unit that is coded with the GPM in which the target intra prediction approach is used depends on at least one of the following information: a message signalled in one of: a DPS, a SPS, a VPS, a PPS, an APS, a picture header, a slice header, a tile group header, a coding tree unit (CTU) , a coding unit (CU) , a CTU row, a group of CTUs, a TU, a PU block, or a video coding unit, a position of a CU, a position of a PU, a position of a TU, a position of a block, a position of a video coding unit, a block dimension of a current block, a block dimension of a neighbouring block of the current block, a block shape of a current block, a block shape of a neighbouring block of the current block, a coded mode of a block, an indication of a colour format, a coding tree structure, a slice group type, a tile group type, a picture type, a colour component, a temporal layer identification, a profile of a standard, a level of a standard, or a tier of a standard.
[0206] Clause 44. The method of clause 43, wherein the coded mode of the block comprises at least one of: an intra block copy (IBC) inter mode, a non-IBC inter mode, or a non-IBC subblock mode.
[0207] Clause 45. The method of clause 43, wherein the indication of the color format comprises 4: 2: 0 or 4: 4: 4.
[0208] Clause 46. The method of clause 43, wherein the color component is applied on one of: a chroma component or a luma component.
[0209] Clause 47. The method of any of clauses 1-46, wherein the conversion includes encoding the video unit into the bitstream.
[0210] Clause 48. The method of any of clauses 1-46, wherein the conversion includes decoding the video unit from the bitstream.
[0211] Clause 49. 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-48.
[0212] Clause 50. A non-transitory computer-readable storage medium storing instructions that cause a processor to perform a method in accordance with any of clauses 1-48.
[0213] Clause 51. 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 processing, wherein the method comprises: determining a prediction of the video unit, the video unit being coded with a geometric partitioning mode (GPM) in which a target intra prediction approach except for conventional intra prediction is used; and generating the bitstream based on the prediction of the video unit.
[0214] Clause 52. A method for storing a bitstream of a video, comprising: determining a prediction of the video unit, the video unit being coded with a geometric partitioning mode (GPM) in which a target intra prediction approach except for conventional intra prediction is used; generating the bitstream based on the prediction of the video unit; and storing the bitstream in a non-transitory computer-readable recording medium. Example Device
[0215] Fig. 19 illustrates a block diagram of a computing device 1900 in which various embodiments of the present disclosure can be implemented. The computing device 1900 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) .
[0216] It would be appreciated that the computing device 1900 shown in Fig. 19 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.
[0217] As shown in Fig. 19, the computing device 1900 includes a general-purpose computing device 1900. The computing device 1900 may at least comprise one or more processors or processing units 1910, a memory 1920, a storage unit 1930, one or more communication units 1940, one or more input devices 1950, and one or more output devices 1960.
[0218] In some embodiments, the computing device 1900 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 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. It would be contemplated that the computing device 1900 can support any type of interface to a user (such as “wearable” circuitry and the like) .
[0219] The processing unit 1910 may be a physical or virtual processor and can implement various processes based on programs stored in the memory 1920. 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 1900. The processing unit 1910 may also be referred to as a central processing unit (CPU) , a microprocessor, a controller or a microcontroller.
[0220] The computing device 1900 typically includes various computer storage medium. Such medium can be any medium accessible by the computing device 1900, including, but not limited to, volatile and non-volatile medium, or detachable and non-detachable medium. The memory 1920 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 1930 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 1900.
[0221] The computing device 1900 may further include additional detachable / non-detachable, volatile / non-volatile memory medium. Although not shown in Fig. 19, it is possible to provide a magnetic disk drive for reading from and / or writing into a detachable and non-volatile magnetic disk and an optical disk drive for reading from and / or writing into a detachable non-volatile optical disk. In such cases, each drive may be connected to a bus (not shown) via one or more data medium interfaces.
[0222] The communication unit 1940 communicates with a further computing device via the communication medium. In addition, the functions of the components in the computing device 1900 can be implemented by a single computing cluster or multiple computing machines that can communicate via communication connections. Therefore, the computing device 1900 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.
[0223] The input device 1950 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 1960 may be one or more of a variety of output devices, such as a display, loudspeaker, printer, and the like. By means of the communication unit 1940, the computing device 1900 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 1900, or any devices (such as a network card, a modem and the like) enabling the computing device 1900 to communicate with one or more other computing devices, if required. Such communication can be performed via input / output (I / O) interfaces (not shown) .
[0224] In some embodiments, instead of being integrated in a single device, some or all components of the computing device 1900 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. In some embodiments, 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. In various embodiments, the cloud computing provides the services via a wide area network (such as Internet) using suitable protocols. For example, 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. Therefore, 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 directly or otherwise on a client device.
[0225] The computing device 1900 may be used to implement video encoding / decoding in embodiments of the present disclosure. The memory 1920 may include one or more video coding modules 1925 having one or more program instructions. These modules are accessible and executable by the processing unit 1910 to perform the functionalities of the various embodiments described herein.
[0226] In the example embodiments of performing video encoding, the input device 1950 may receive video data as an input 1970 to be encoded. The video data may be processed, for example, by the video coding module 1925, to generate an encoded bitstream. The encoded bitstream may be provided via the output device 1960 as an output 1980.
[0227] In the example embodiments of performing video decoding, the input device 1950 may receive an encoded bitstream as the input 1970. The encoded bitstream may be processed, for example, by the video coding module 1925, to generate decoded video data. The decoded video data may be provided via the output device 1960 as the output 1980.
[0228] While this disclosure has been particularly shown and described with references to example embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the present application as defined by the appended claims. Such variations are intended to be covered by the scope of this present application. As such, the foregoing description of embodiments of the present application is not intended to be limiting.
Claims
1.A method of video processing, comprising:determining, for a conversion between a video unit of a video and a bitstream of the video, a prediction of the video unit, the video unit being coded with a geometric partitioning mode (GPM) in which a target intra prediction approach except for conventional intra prediction is used; andperforming the conversion based on the prediction of the video unit.2.The method of claim 1, wherein the target intra prediction approach comprises at least one of:a decoder-side intra mode derivation (DIMD) ,a variant of DIMD,a DIMD merge,a variant of DIMD merge,a template-based intra mode derivation (TIMD) ,a variant of TIMD,a TIMD merge,a variant of TIMD merge,a multiple reference line (MRL) ,a variant of MRL,an intra sub-partition (ISP) ,a variant of ISP,a matrix weighted intra prediction (MIP) ,a variant of MIP,an Intra template matching prediction (IntraTMP) ,a variant of IntraTMP,a spatial geometric partitioning mode (SGPM) ,a variant of SGPM,chroma fusion,a variant of chroma fusion,a cross-component linear model (CCLM) ,a variant of CCLM,a multi-model CCLM (MMLM) ,a variant of MMLM,a convolutional cross-component model (CCCM) ,a variant of CCCM,a gradient linear model (GLM) ,a variant of GLM,a cross-component prediction (CCP) merge,a variant of CCP merge,intra prediction fusion,a variant of intra prediction fusion,a template-based multiple reference line intra prediction (TMRL) ,a variant of TMRL,a position dependent intra prediction combination (PDPC) ,a variant of PDPC,a gradient PDPC,a variant of gradient PDPC,an extrapolation filter-based intra prediction (EIP) ,a variant of EIP,an intra merge mode,a variant of intra merge mode, ora matrix based intra prediction replacing conventional intra mode (PDP) .3.The method of claim 1, wherein one or more filters or one or more matrices are used in the target intra prediction approach to generate the prediction.4.The method of claim 3, wherein the target intra prediction approach is used in a coding tool with geometric partitioning.5.The method of claim 4, wherein the coding tool comprises a spatial geometric partitioning mode (SGPM) .6.The method of claim 4, wherein the coding tool comprises at least one of: intra block copy (IBC) -GPM or GPM.7.The method of claim 6, wherein the target intra prediction approach is used in GPM-Intra.8.The method of claim 7, wherein one or more prediction modes of the target intra prediction approach are used in an intra prediction mode list.9.The method of claim 3, wherein one or more prediction modes are used in the target intra prediction approach.10.The method of claim 9, wherein different filters or different matrices are used for different prediction modes.11.The method of claim 3, wherein the one or more filters or one or more matrices are derived on the fly, orwherein the one or more filters or one or more matrices are predefined, orwherein the one or more filters or one or more matrices are signaled.12.The method of claim 1, wherein one or more MIP modes or one or more EIP modes are used in SGPM.13.The method of claim 12, wherein the one or more MIP modes comprise at least one of: an MIP mode, an MIP transposed flag, or a combination of MIP mode and MIP transposed flag.14.The method of claim 12, wherein the one or more EIP modes comprise at least one of: an EIP filter, a type of reconstructed area, or a combination of EIP filter and the type of reconstructed area.15.The method of claim 12, wherein the one or more MIP modes or EIP modes are used to construct a SGPM candidate list.16.The method of claim 15, wherein one or more combinations of MIP mode and MIP transposed flag are used as SGPM candidates.17.The method of claim 16, wherein the one or more combinations of MIP mode and MIP transposed flag are derived.18.The method of claim 15, wherein one or more combinations of EIP filter and type of reconstructed area are used as SGPM candidates.19.The method of claim 18, wherein the one or more combinations of EIP filter and the type of reconstructed area are derived.20.The method of claim 15, wherein the one or more MIP modes or the one or more EIP modes are used to generate a prediction of one or two sub-partitions.21.The method of claim 15, wherein in response to that MIP mode or EIP mode is used for one sub-partition, a prediction approach is disallowed to be used for the other sub-partition.22.The method of claim 21, wherein the prediction approach comprises at least one of a prediction approach using block vector, MIP, or EIP.23.The method of claim 15, wherein a template-based reordering is used in a derivation of the SGPM candidate list.24.The method of claim 23, wherein an MIP or EIP mode candidate list is constructed and the template-based reordering is used, and first N candidates are used to construct the SGPM candidate list, wherein N is an integer.25.The method of claim 24, wherein N is pre-defined, or signaled, or derived.26.The method of claim 12, wherein whether to and / or how to use MIP modes or EIP modes in SGPM depend on coding information.27.The method of claim 26, wherein the coding information comprises at least one of block size or block dimensions.28.The method of claim 26, wherein the coding information comprises at least one ofwhether neighbouring video units are coded with MIP mode or EIP mode, orthe number of the neighbouring video units coded with MIP mode or EIP mode.29.The method of claim 1, wherein a template size used to reorder a SGPM candidate list depends on coding information.30.The method of claim 29, wherein a template with more than one line is used to reorder the SGPM candidate list.31.The method of claim 29, wherein a template comprises at least one of:left neighbouring reconstructed samples,left-below neighbouring reconstructed samples,left-above neighbouring reconstructed samples,above neighbouring reconstructed samples, orabove-right neighbouring reconstructed samples.32.The method of claim 29, wherein the coding information comprises at least one of block size or block dimensions.33.The method of claim 29, wherein a SGPM split mode is reordered.34.The method of claim 29, wherein a SGPM index is coded with one or more contexts.35.The method of claim 1, wherein the GPM is used for chroma component.36.The method of claim 35, wherein at least one of: one or more GPM split modes or one or more intra prediction approaches are signalled or derived for chroma components.37.The method of claim 35, wherein information of GPM of luma component is used for chroma components.38.The method of claim 37, wherein in response to that a collocated luma block is coded with SGPM or IBC-GPM or GPM-Intra, GPM information for the collocated luma block is used for the chroma components.39.The method of claim 37, wherein in response to that the collocated luma block is coded with SGPM or IBC-GP, or GPM-Intra, GPM information for the collocated luma block is treated as a direct mode (DM) or an additional direct mode.40.The method of any of claims 1-39, wherein the video unit comprises at least one of the following:a color component,a sub-picture,a slice,a tile,a coding tree unit (CTU) ,a CTU row,a group of CTU,a coding unit (CU) ,a prediction unit (PU) ,a transform unit (TU) ,a coding tree block (CTB) ,a coding block (CB) ,a prediction block (PB) ,a transform block (TB) ,a block,a sub-block of a block,a sub-region within a block,a region containing more than one sample or pixel.41.The method of any of claims 1-40, wherein an indication of whether to and / or how to determine the prediction or reconstruction of the video unit based on the prediction approach with at least one matrix and the coding approach is indicated at one of the following:sequence level,group of pictures level,picture level,slice level, ortile group level.42.The method of any of claims 1-40, wherein an indication of whether to and / or how to determine the prediction of the video unit that is coded with the GPM in which the target intra prediction approach is used is indicated in one of the followings:a sequence header,a picture header,a sequence parameter set (SPS) ,a video parameter set (VPS) ,a decoding parameter set (DPS) ,decoding capability information (DCI) ,a picture parameter set (PPS) ,an adaptation parameter set (APS) ,a slice header, ora tile group header.43.The method of any of claims 1-40, wherein whether to and / or how to determine the prediction of the video unit that is coded with the GPM in which the target intra prediction approach is used depends on at least one of the following information:a message signalled in one of: a DPS, a SPS, a VPS, a PPS, an APS, a picture header, a slice header, a tile group header, a coding tree unit (CTU) , a coding unit (CU) , a CTU row, a group of CTUs, a TU, a PU block, or a video coding unit,a position of a CU,a position of a PU,a position of a TU,a position of a block,a position of a video coding unit,a block dimension of a current block,a block dimension of a neighbouring block of the current block,a block shape of a current block,a block shape of a neighbouring block of the current block,a coded mode of a block,an indication of a colour format,a coding tree structure,a slice group type,a tile group type,a picture type,a colour component,a temporal layer identification,a profile of a standard,a level of a standard, ora tier of a standard.44.The method of claim 43, wherein the coded mode of the block comprises at least one of: an intra block copy (IBC) inter mode, a non-IBC inter mode, or a non-IBC subblock mode.45.The method of claim 43, wherein the indication of the color format comprises 4: 2: 0 or 4: 4: 4.46.The method of claim 43, wherein the color component is applied on one of: a chroma component or a luma component.47.The method of any of claims 1-46, wherein the conversion includes encoding the video unit into the bitstream.48.The method of any of claims 1-46, wherein the conversion includes decoding the video unit from the bitstream.49.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 claims 1-48.50.A non-transitory computer-readable storage medium storing instructions that cause a processor to perform a method in accordance with any of claims 1-48.51.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 processing, wherein the method comprisesdetermining a prediction of the video unit, the video unit being coded with a geometric partitioning mode (GPM) in which a target intra prediction approach except for conventional intra prediction is used; andgenerating the bitstream based on the prediction of the video unit.52.A method for storing a bitstream of a video, comprising:determining a prediction of the video unit, the video unit being coded with a geometric partitioning mode (GPM) in which a target intra prediction approach except for conventional intra prediction is used;generating the bitstream based on the prediction of the video unit; andstoring the bitstream in a non-transitory computer-readable recording medium.
Citation Information
Patent Citations
Method and device for video coding that intra-predict chroma block on basis of geometric partitioning
WO2024111820A1
Method, apparatus, and medium for video processing
WO2024131867A1