CPC H04N 19/89 (2014.11) [H04N 19/124 (2014.11); H04N 19/18 (2014.11); H04N 19/60 (2014.11)] | 12 Claims |
1. An image encoding device comprising:
a prediction unit configured to generate prediction errors being a difference between (a) a predicted image obtained by prediction processing for a sub-block in an input image and (b) the sub-block;
a first transform unit configured to generate first transform coefficients by performing orthogonal transform on the prediction errors;
a second transform unit configured to generate second transform coefficients by performing Low Frequency Non-Separable Transform (LFNST) processing on the first transform coefficients;
a quantization unit configured to generate quantization coefficients by performing quantization processing on the second transform coefficients; and
an encoding unit configured to encode the quantization coefficients,
wherein the encoding unit encodes information indicating whether a range of possible values at least taken by the second transform coefficients is to be (a) a first range determined based on a bit depth or (b) a second range which is a fixed range and which is not dependent on the bit depth,
wherein, in a case where the information indicates that the range of possible values at least taken by the second transform coefficients is to be the first range determined based on the bit depth, a range of possible values taken by Block-based Delta Pulse Code Modulation (BDPCM) process is the first range determined based on the bit depth, and
wherein, in a case where the information indicates that the range of possible values at least taken by the second transform coefficients is to be the second range which is the fixed range and which is not dependent on the bit depth, the range of possible values taken by the BDPCM process is the second range.
|