`
`AMENDMENTS TO THE CLAIMS
`
`23. (Currently Amended) An encoder, comprising:
`
`circuitry; and
`
`memory, wherein
`
`using the memory,the circuitry:
`
`applies a first transform to a residual signal of a current block; and
`
`applies a secondtransform to a result ofthe first transform, the second transform
`
`being a non-separable transform, wherein
`
`(i) when a size of the current blockis a first block size, the second transform is applied to
`
`a first sub-block having a first sub-block size in the current block using a transform scheme of
`
`the second transform is selected from a first group of candidates,
`
`(ii) when the size of the current block is a second block size different from the first block
`
`size, the second transform is applied to a second sub-block havingthe first sub-block size in the
`
`current block using the transform scheme of the second transform is selected from a second
`
`group of candidates,
`
`the first group of candidates includesa first transform scheme which generatesa first
`
`numberof transform coefficients using a first transform matrix, andbasis—and
`
`the second group of candidates includes a second transform scheme which generates a
`
`second numberoftransform coefficients using the first transform matrix,basts, the first number
`
`is smaller than the second number.
`
`24. (Currently Amended) A decoder, comprising:
`
`circuitry; and
`
`memory, wherein
`
`using the memory,the circuitry:
`
`applies a secondtransform tofirsttransform coefficients of a current block_to
`
`generate second transform coefficients, the second transform being a non-separable
`
`transform; and
`
`
`
`applies a first transform to the second transform coefficientsatransferm+resultof
`
`the-secendtransferm to generate a residual signal,
`
`(i) whena size of the current blockis a first block size, the second transform is applied to
`
`a first numberofthe first transform coefficients using a transform scheme of the second
`
`transform [[is]] selected from a first group of candidates,
`
`(11) when the size of the current block is a second block size different from the first block
`
`size, the second transform is applied to a second numberofthe first transform coefficients using
`
`the transform scheme of the second transform [[is]] selected from a second group of candidates,
`
`the first group of candidates includesa first transform scheme which generatesa first sub-
`
`block of the second transform coefficients having a first sub-block sizets-apphed+te-afitst
`naumberoftransformcoefficientsusing a first transform matrix, andbasis—and——SSEee
`
`
`
`
`
`the second group of candidates includes a second transform scheme which generates a
`
`second sub-block of the second transform coefficients having the first sub-block sizets-apphed+e
`
`
`
`
`
`asecendnumberofcoefficientstransform using the first transform matrix,basis; the first number
`
`
`
`
`
`is smaller than the second number.
`
`