An encoder includes circuitry and memory. Using the memory, the circuitry performs a primary transform on a derived prediction error, performs a secondary transform on a result of the primary transform, quantizes a result of the secondary transform, and encodes a result of the quantization as data of an image. When a current block to be processed has a predetermined shape, the encoder performs the secondary transform using, among secondary transform basis candidates that are secondary bases usable in the secondary transform, only a secondary transform basis candidate having a size that is not largest size containable in the current block.
Legal claims defining the scope of protection, as filed with the USPTO.
1. A decoder comprising: circuitry; and memory, wherein, using the memory, the circuitry: decodes data corresponding to a current block of an image; inverse quantizes the data; performs, depending on a size of the current block, either (i) an inverse secondary transform on a part of a result of the inverse quantization and an inverse primary transform on a result of the inverse secondary transform and another part of the result of the inverse quantization, or (ii) the inverse secondary transform on the result of the inverse quantization and the inverse primary transform on the result of the inverse secondary transform; and derives the image based on a prediction error derived from a result of the inverse primary transform.
2. A decoding method comprising: decoding data corresponding to a current block of an image; inverse quantizing the data; performing, depending on a size of the current block, either (i) an inverse secondary transform on a part of a result of the inverse quantization and an inverse primary transform on a result of the inverse secondary transform and another part of the result of the inverse quantization, or (ii) the inverse secondary transform on the result of the inverse quantization and the inverse primary transform on the result of the inverse secondary transform; and deriving the image based on a prediction error derived from a result of the inverse primary transform.
Cooperative Patent Classification codes for this invention. Click any code to explore related patents in that topic.
April 1, 2019
July 20, 2021
Browse 5M+ US patents with plain-English claim translations and AI-generated analysis.