US 12,348,721 B2
Encoder, decoder, encoding method, and decoding method
Ryuichi Kanoh, Osaka (JP); Kiyofumi Abe, Osaka (JP); Tadamasa Toma, Osaka (JP); and Takahiro Nishi, Nara (JP)
Assigned to PANASONIC INTELLECTUAL PROPERTY CORPORATION OF AMERICA, Torrance, CA (US)
Filed by Panasonic Intellectual Property Corporation of America, Torrance, CA (US)
Filed on Mar. 24, 2022, as Appl. No. 17/703,078.
Application 17/703,078 is a continuation of application No. 16/751,666, filed on Jan. 24, 2020, granted, now 11,330,265.
Application 16/751,666 is a continuation of application No. PCT/JP2018/027787, filed on Jul. 25, 2018.
Claims priority of provisional application 62/538,338, filed on Jul. 28, 2017.
Claims priority of application No. 2017-167911 (JP), filed on Aug. 31, 2017.
Prior Publication US 2022/0217350 A1, Jul. 7, 2022
This patent is subject to a terminal disclaimer.
Int. Cl. H04N 19/126 (2014.01); H04N 19/12 (2014.01); H04N 19/176 (2014.01)
CPC H04N 19/126 (2014.11) [H04N 19/12 (2014.11); H04N 19/176 (2014.11)] 2 Claims
OG exemplary drawing
 
1. A decoder which decodes a current block to be decoded in an image, the decoder comprising:
circuitry; and
memory,
wherein using the memory, the circuitry:
decodes, from an encoded bitstream, either quantized primary coefficients of the current block or quantized secondary coefficients of the current block;
determines whether an inverse secondary transform is to be applied to the current block;
(i) in response to a determination that the inverse secondary transform is not to be applied, calculates primary coefficients in a frequency domain by performing a first inverse quantization on the quantized primary coefficients using a quantization matrix, the quantization matrix including quantization steps by which the respective quantized primary coefficients are multiplied, and performs an inverse primary transform from the primary coefficients to residuals of the current block, and (ii) in response to a determination that the inverse secondary transform is to be applied, calculates secondary coefficients in a domain different from the frequency domain by performing a second inverse quantization on the quantized secondary coefficients using a quantization step by which each of the quantized secondary coefficients are multiplied, the quantization step being common between the quantized secondary coefficients, performs the inverse secondary transform from the secondary coefficients to primary coefficients, and performs an inverse primary transform from the primary coefficients to residuals of the current block.