US-20260129198-A1 - ENCODING AND DECODING METHOD, AND STORAGE MEDIUM
Abstract
A method for decoding a video includes (i) determining a partition mode of a current block of the video; (ii) identifying corresponding luma blocks of the current block; and (iii) determining whether one or more of the corresponding luma blocks is coded with a pre-determined mode based on a pre-defined order. In response to a determination that one or more of the corresponding luma blocks is coded with the pre-determined mode, the method further comprises applying the pre-determined mode to a chroma block of the present block.
Inventors
- Yue Yu
- Haoping Yu
- JONATHAN GAN
Assignees
- GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., LTD.
Dates
- Publication Date
- 20260507
- Application Date
- 20251231
Claims (20)
- 1 . A method for decoding a video, comprising: determining a partition mode of a current block of the video; identifying corresponding luma blocks of a current chroma block; determining whether one or more of the corresponding luma blocks is coded with a pre-determined mode based on a pre-defined order; in response to a determination that one or more of the corresponding luma blocks is coded with the pre-determined mode, applying the pre-determined mode to the current chroma block.
- 2 . The method of claim 1 , further comprising: determining that the partition mode of the current block is a dual-tree partition; and processing the chroma block based on a direct block vector (DBV) chroma reference block.
- 3 . The method of claim 2 , further comprising: generating the DBV chroma reference block; and filtering the DBV chroma reference block by a filter in response to a determination that the one or more of the corresponding luma blocks has been filtered by the filter.
- 4 . The method of claim 1 , wherein the pre-determined mode includes an intra-template-matching-prediction (IntraTMP) mode.
- 5 . The method of claim 1 , wherein the pre-determined mode includes an intra-block-copy (IBC) mode.
- 6 . The method of claim 1 , wherein the corresponding luma blocks includes a center block, a top-left block, a top-right block, a bottom-left block, and a bottom-right block.
- 7 . The method of claim 6 , wherein the pre-defined order includes starting from the center block.
- 8 . The method of claim 6 , wherein the pre-defined order includes ending with the bottom-right block.
- 9 . The method of claim 6 , wherein the pre-defined order includes the center block, the top-left block, the top-right block, the bottom-left block, and the bottom-right block.
- 10 . The method of claim 1 , wherein determining whether the one or more of the corresponding luma blocks is coded with the pre-determined mode based on the pre-defined order further comprises: determining whether a first luma block of the one or more of the corresponding luma blocks is coded with the pre-determined mode.
- 11 . The method of claim 1 , further comprising: determining that the partition mode of the current block is a single-tree partition; processing the chroma block based on a directed mode (DM).
- 12 . The method of claim 11 , further comprising: filtering the chroma block by a filter in response to a determination that the one or more of the corresponding luma blocks has been filtered by the filter.
- 13 . The method of claim 1 , wherein the pre-determined mode is a fusion mode, wherein the fusion mode indicates that āNā original luma blocks are fused to generate the corresponding luma blocks based on pre-defined weights.
- 14 . The method of claim 13 , further comprising: generating a fused chroma block prediction according to the fusion mode based on the pre-defined weights.
- 15 . A method for encoding a video, comprising: determining that a partition mode of a current block is a dual-tree partition; identifying corresponding luma blocks of a current chroma block; determining whether one or more of the corresponding luma blocks is coded with a pre-determined mode based on a pre-defined order; in response to a determination that one or more of the corresponding luma blocks is coded with the pre-determined mode, applying the pre-determined mode to the chroma block; and processing the chroma block based on a direct block vector (DBV) chroma reference block.
- 16 . The method of claim 15 , wherein the pre-determined mode includes an intra-template-matching-prediction (IntraTMP) mode and an intra-block-copy (IBC) mode.
- 17 . The method of claim 15 , wherein the corresponding luma blocks includes a center block, a top-left block, a top-right block, a bottom-left block, and a bottom-right block.
- 18 . The method of claim 17 , wherein the pre-defined order includes the center block, the top-left block, the top-right block, the bottom-left block, and the bottom-right block.
- 19 . A non-transitory computer-readable storage medium having a computer program and a bitstream stored thereon, wherein the computer program, when executed by a processor, enables the processor to perform an encoding method to generate the bitstream, the encoding method comprising: determining that a partition mode of a current block is a dual-tree partition; identifying corresponding luma blocks of a current chroma block; determining whether one or more of the corresponding luma blocks is coded with a pre-determined mode based on a pre-defined order; in response to a determination that one or more of the corresponding luma blocks is coded with the pre-determined mode, applying the pre-determined mode to the chroma block; and processing the chroma block based on a direct block vector (DBV) chroma reference block.
- 20 . The non-transitory computer-readable storage medium of claim 19 , wherein the pre-determined mode includes an intra-template-matching-prediction (IntraTMP) mode and an intra-block-copy (IBC) mode.
Description
CROSS-REFERENCE TO RELATED APPLICATION(S) This application is a continuation of International Application No. PCT/CN2024/103097, filed Jul. 2, 2024, which claims priority to U.S. Provisional Application No. 63/525,114, filed on Jul. 5, 2023, the entire disclosures of which are incorporated herein by reference. TECHNICAL FIELD The present disclosure relates to imaging and video coding technologies. More particularly, an encoding method, a decoding method, and a storage medium are discussed herein. BACKGROUND Existing video compression methods, such as High Efficiency Video Coding (HEVC) and Versatile Video Coding (VVC) perform blocking and quantization processes when coding. The HEVC and VVC standards specify a block-based, hybrid spatial and temporal predictive coding scheme. During coding, each picture is first divided into square blocks called CTUs (Coding Tree Units). Each CTU in a picture can be partitioned into one or more Coding Units (CUs), which can be used for prediction and transform. A variety of prediction tools may be used, including inter-prediction and intra-prediction tools. When a single-tree partition is used, a chroma component and the corresponding luma component use the same partition. When a dual-tree partition is used, a chroma component and the corresponding luma component can use different partition schemes. Existing methods do not provide tools that can enable effective filtering and fusion schemes for dual-tree partition. Therefore, it is advantageous to have an improved system and method to address the foregoing needs. SUMMARY In a first aspect, a method for decoding a video is provided. The method include the following. A partition mode of a current block of the video is determined. Corresponding luma blocks of a current chroma block are identified. Whether one or more of the corresponding luma blocks is coded with a pre-determined mode is determined based on a pre-defined order. In response to a determination that one or more of the corresponding luma blocks is coded with the pre-determined mode, the pre-determined mode is applied to the current chroma block. In a second aspect, a method for encoding a video is provided. The method include the following. Determine that a partition mode of a current block is a dual-tree partition. Corresponding luma blocks of a current chroma block are identified. Whether one or more of the corresponding luma blocks is coded with a pre-determined mode is determined based on a pre-defined order. In response to a determination that one or more of the corresponding luma blocks is coded with the pre-determined mode, the pre-determined mode is applied to the current chroma block. The chroma block is processed based on a direct block vector (DBV) chroma reference block. In a third aspect, a non-transitory computer-readable storage medium is provided. The non-transitory computer-readable storage medium has a computer program and a bitstream stored thereon. When the computer program is executed by a processor, the processor is enabled to perform the encoding method of the second aspect to generate the bitstream. Other features and aspects of the disclosed features will become apparent from the following detailed description, taken in conjunction with the accompanying drawings, which illustrate, by way of example, the features in accordance with embodiments of the disclosure. The summary is not intended to limit the scope of any embodiments described herein. BRIEF DESCRIPTION OF THE DRAWINGS To describe the technical solutions in the implementations of the present disclosure more clearly, the following briefly describes the accompanying drawings. The accompanying drawings show merely some aspects or implementations of the present disclosure, and a person of ordinary skill in the art may still derive other drawings from these accompanying drawings without creative efforts. FIG. 1A is a schematic diagram illustrating a system in accordance with one or more implementations of the present disclosure. FIG. 1B is a schematic diagram illustrating a decoding system in accordance with one or more implementations of the present disclosure. FIG. 2 is a schematic diagram illustrating IntraTMP processes in accordance with one or more implementations of the present disclosure. FIG. 3 is a schematic diagram illustrating an intra prediction process in accordance with one or more implementations of the present disclosure. FIG. 4A is a schematic diagram illustrating an IntraTMP process in a search area in accordance with one or more implementations of the present disclosure. FIG. 4B is a schematic diagram illustrating an example partitioning of a CTU into CUs in accordance with one or more implementations of the present disclosure. FIG. 4C is a schematic diagram illustrating slice partitioning in accordance with one or more implementations of the present disclosure. FIG. 4D is a schematic diagram illustrating tile partitioning in accordance with one or more implementation