Transform method, encoder, decoder, and storage medium

US12389003B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-12389003-B2
Application numberUS-202217807639-A
CountryUS
Kind codeB2
Filing dateJun 17, 2022
Priority dateDec 30, 2019
Publication dateAug 12, 2025
Grant dateAug 12, 2025

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

A transform method includes: determining a prediction mode parameter of a current block; determining a MIP parameter when the prediction mode parameter indicates that MIP is used for the current block to determine an intra prediction value; determining the intra prediction value of the current block according to the MIP parameter, and calculating a residual value between the current block and the intra prediction value; performing a first transform on the residual value to obtain a first coefficient matrix; determining a scanning order of LFNST coefficients used for the current block according to the MIP parameter when an LFNST is used for the current block; constructing an input coefficient matrix of the LFNST based on the first coefficient matrix according to the scanning order of LFNST coefficients; and performing an LFNST processing on the input coefficient matrix to obtain a transform coefficient matrix of the current block.

First claim

Opening claim text (preview).

What is claimed is: 1. A transform method, applied to an encoder, the method comprising: determining a prediction mode parameter of a current block; determining a Matrix-based Intra Prediction (MIP) parameter when the prediction mode parameter indicates that MIP is used for the current block to determine an intra prediction value; determining the intra prediction value of the current block according to the MIP parameter, and calculating a residual value between the current block and the intra prediction value; performing a first transform on the residual value to obtain a first coefficient matrix; wherein the first transform is a transform different from Low-Frequency Non-Separable Transform (LFNST); determining a scanning order of LFNST coefficients used for the current block according to the MIP parameter when an LFNST is used for the current block; wherein the scanning order of LFNST coefficients comprises a horizontal scanning order or a vertical scanning order; constructing an input coefficient matrix of the LFNST based on the obtained first coefficient matrix according to the scanning order of LFNST coefficients, wherein the obtained first coefficient matrix comprises a two-dimensional primary transform coefficient matrix; and performing an LFNST processing on the constructed input coefficient matrix to obtain a transform coefficient matrix of the current block; wherein the MIP parameter comprises a MIP mode index, wherein the MIP mode index is used for indicating a MIP mode used for the current block, and the MIP mode is used for indicating a calculation and derivation method of determining the intra prediction value of the current block by using MIP; wherein the determining the scanning order of LFNST coefficients used for the current block according to the MIP parameter comprises: setting the scanning order of LFNST coefficients to a preset scanning order of LFNST coefficients corresponding to a value of the MIP mode index. 2. The method according to claim 1 , further comprising: determining the scanning order of LFNST coefficients corresponding to the value of the MIP mode index by using a second look-up table; wherein the second look-up table at least contains different scanning orders of LFNST coefficients, each of the different scanning orders of LFNST coefficients corresponding to one or more different MIP mode indices. 3. The method according to claim 1 , further comprising: setting the scanning order of LFNST coefficients to a horizontal scanning order when the value of the MIP mode index is in a preset range of one or more integers; and setting the scanning order of LFNST coefficients to a vertical scanning order when the value of the MIP mode index is not in the preset range of one or more integers. 4. A transform method, applied to a decoder, the method comprising: parsing a bitstream and determining a prediction mode parameter of a current block; parsing the bitstream and determining a Matrix-based Intra Prediction (MIP) parameter when the prediction mode parameter indicates that MIP is used for the current block to determine an intra prediction value; parsing the bitstream and determining a transform coefficient matrix and a Low-Frequency Non-Separable Transform (LFNST) index of the current block; processing the transform coefficient matrix of the current block by using an LFNST to obtain an LFNST output coefficient matrix when the LFNST index indicates that the LFNST is used for the current block; determining a scanning order of LFNST coefficients used for the current block according to the MIP parameter, wherein the scanning order of LFNST coefficients comprises a vertical scanning order or a horizontal scanning order; and constructing a first coefficient matrix based on the LFNST output coefficient matrix according to the scanning order of LFNST coefficients; wherein the constructed first coefficient matrix comprises a two-dimensional primary transform coefficient matrix; wherein the MIP parameter comprises a MIP mode index, wherein the MIP mode index is used for indicating a MIP mode used for the current block, and the MIP mode is used for indicating a calculation and derivation method of determining the intra prediction value of the current block by using MIP; wherein the determining the scanning order of LFNST coefficients used for the current block according to the MIP parameter comprises: setting the scanning order of LFNST coefficients to a preset scanning order of LFNST coefficients corresponding to a value of the MIP mode index. 5. The method according to claim 4 , further comprising: determining the scanning order of LFNST coefficients corresponding to the value of the MIP mode index by using a second look-up table; wherein the second look-up table at least contains different scanning orders of LFNST coefficients, each of the different scanning orders of LFNST coefficients corresponding to one or more different MIP mode indices. 6. The method according to claim 4 , further comprising: setting the scanning order of LFNST coefficients to a horizontal scanning order when the value of the MIP mode index is in a preset range of one or more integers; and setting the scanning order of LFNST coefficients to a vertical scanning order when the value of the MIP mode index is not in the preset range of one or more integers. 7. The method according to claim 4 , further comprising: determining the intra prediction value of the current block according to the MIP parameter; performing a transform processing, which is different from the LFNST, on the first coefficient matrix to obtain a residual value of the current block; and determining a reconstructed value of the current block based on the intra prediction value and the residual value. 8. An encoder comprising a first memory and a first processor, wherein the first memory is configured to store a computer program runnable on the first processor; and the first processor is configured to perform the method according to claim 1 when running the computer program. 9. A decoder comprising a second memory and a second processor, wherein the second memory is configured to store a computer program runnable on the second processor; and the second processor is configured to perform the method according to claim 4 when running the computer program. 10. A non-transitory computer storage medium having stored therein a computer program, wherein, the method according to claim 4 is implemented when the computer program is executed by a processor.

Assignees

Inventors

Classifications

  • involving rearrangement of data among different coding units, e.g. shuffling, interleaving, scrambling or permutation of pixel data or permutation of transform coefficient data among different blocks · CPC title

  • the region being a block, e.g. a macroblock · CPC title

  • H04N19/159Primary

    Prediction type, e.g. intra-frame, inter-frame or bidirectional frame prediction · CPC title

  • involving spatial prediction techniques · CPC title

  • Selection of transform size, e.g. 8x8 or 2x4x8 DCT; Selection of sub-band transforms of varying structure or type · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US12389003B2 cover?
A transform method includes: determining a prediction mode parameter of a current block; determining a MIP parameter when the prediction mode parameter indicates that MIP is used for the current block to determine an intra prediction value; determining the intra prediction value of the current block according to the MIP parameter, and calculating a residual value between the current block and t…
Who is the assignee on this patent?
Guangdong Oppo Mobile Telecommunications Corp Ltd
What technology area does this patent fall under?
Primary CPC classification H04N19/159. Mapped technology areas include Electricity.
When was this patent published?
Publication date Tue Aug 12 2025 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 12 related publications on this page (citations in our corpus or others sharing the same primary CPC).