| CPC H04N 19/126 (2014.11) [H04N 19/105 (2014.11); H04N 19/119 (2014.11); H04N 19/176 (2014.11); H04N 19/30 (2014.11); H04N 19/94 (2014.11); H04N 19/124 (2014.11)] | 3 Claims |

|
1. An encoder comprising:
circuitry; and
memory coupled to the circuitry, wherein
using the memory, the circuitry, in operation:
generates a plurality of quantization matrix elements for a current block;
generates a quantization matrix using the plurality of quantization matrix elements, the quantization matrix including only a subset of quantization matrix elements of the plurality of quantization matrix elements, the subset of quantization matrix elements corresponding to a rectangular region smaller than the current block in each of a horizontal direction and a vertical direction, each of the subset of quantization matrix elements having an x-coordinate value less than or equal to a threshold x-coordinate value and a y-coordinate value less than or equal to a threshold y-coordinate value, the subset of quantization matrix elements including at least two quantization matrix elements in each of the horizontal direction and the vertical direction; and
quantizes, using the quantization matrix, transform coefficients of the current block.
|