ENCODING METHOD, DECODING METHOD, DEVICE, PROGRAM, AND RECORDING MEDIUM
First Claim
1. An encoding method comprising:
- an encoding mode selecting step of selecting a second encoding mode when an evaluation value is a second reference value or less, selecting a first encoding mode other than the second encoding mode when the second encoding mode is not selected, and generating mode information representing a selected encoding mode, wherein the evaluation value corresponds to the number of samples which correspond to values less than a first reference value among a predetermined number of input samples, and the second encoding mode is a mode in which a normalization value that is a representative value of the predetermined number of samples is quantized to obtain a quantized normalization value and a normalization-value quantization index corresponding to the quantized normalization value, a difference value that is obtained by subtracting a value corresponding to the quantized normalization value from a value corresponding to the magnitude of each sample is set as a quantization candidate corresponding to the sample when the difference value is positive and the sample is positive, the sign of the difference value is reversed and the result is set to the quantization candidate corresponding to the sample when the difference value is positive and the sample is negative, and a plurality of quantization candidates are jointly vector-quantized to obtain a vector quantization index; and
an encoding step of encoding the predetermined number of samples by the first encoding mode or the second encoding mode that is selected in the encoding mode selecting step.
1 Assignment
0 Petitions
Accused Products
Abstract
When a number of samples which are less than a first reference value is a second reference value or less, a second encoding mode is selected. In the second encoding mode, when a difference value that is obtained by subtracting a value corresponding to the quantized normalization value from a value corresponding to the magnitude of each sample is positive and the sample is positive, the difference value is set as a quantization candidate corresponding to the sample; when the difference value is positive and the sample is negative, the sign of the difference value is reversed and the result is set as the quantization candidate corresponding to the sample; and a plurality of quantization candidates are jointly vector-quantized to obtain a vector quantization index. When the second encoding mode is not selected, a first encoding mode other than the second encoding mode is selected.
-
Citations
22 Claims
-
1. An encoding method comprising:
-
an encoding mode selecting step of selecting a second encoding mode when an evaluation value is a second reference value or less, selecting a first encoding mode other than the second encoding mode when the second encoding mode is not selected, and generating mode information representing a selected encoding mode, wherein the evaluation value corresponds to the number of samples which correspond to values less than a first reference value among a predetermined number of input samples, and the second encoding mode is a mode in which a normalization value that is a representative value of the predetermined number of samples is quantized to obtain a quantized normalization value and a normalization-value quantization index corresponding to the quantized normalization value, a difference value that is obtained by subtracting a value corresponding to the quantized normalization value from a value corresponding to the magnitude of each sample is set as a quantization candidate corresponding to the sample when the difference value is positive and the sample is positive, the sign of the difference value is reversed and the result is set to the quantization candidate corresponding to the sample when the difference value is positive and the sample is negative, and a plurality of quantization candidates are jointly vector-quantized to obtain a vector quantization index; and an encoding step of encoding the predetermined number of samples by the first encoding mode or the second encoding mode that is selected in the encoding mode selecting step. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 21)
-
-
9. A decoding method comprising:
-
a switching step of selecting a second decoding mode when input mode information has a second value, and selecting a first decoding mode other than the second decoding mode when the mode information has a first value, wherein the second decoding mode is a mode in which a decoded normalization value corresponding to an input normalization-value quantization index is obtained, a plurality of values corresponding to an input vector quantization index are obtained as decoded values, a value having a magnitude corresponding to a recalculated normalization value that takes on a value that decreases with increasing sum of the absolute values of a predetermined number of the decoded values is obtained as a decoded signal when the decoded value is zero, a linear sum of the decoded value and the decoded normalization value is obtained as a decoded signal when the decoded value is positive, and a sign of the linear sum of the absolute value of the decoded value and the decoded normalization value is reversed and the result is set as a decoded signal when the decoded value is negative; and a decoding step of performing a decoding process in the first decoding mode or the second decoding mode that is selected in the switching step. - View Dependent Claims (22)
-
-
10. An encoding device comprising:
-
an encoding mode selector that selects a second encoding mode when an evaluation value is a second reference value or less, selects a first encoding mode other than the second encoding mode when the second encoding mode is not selected, and generates mode information representing a selected encoding mode, wherein the evaluation value corresponds to the number of samples which correspond to values less than a first reference value among a predetermined number of input samples, and the second encoding mode is a mode in which a normalization value that is a representative value of the predetermined number of samples is quantized to obtain a quantized normalization value and a normalization-value quantization index corresponding to the quantized normalization value, a difference value that is obtained by subtracting a value corresponding to the quantized normalization value from a value corresponding to the magnitude of each sample is set as a quantization candidate corresponding to the sample when the difference value is positive and the sample is positive, the sign of the difference value is reversed and the result is set to the quantization candidate corresponding to the sample when the difference value is positive and the sample is negative, and a plurality of quantization candidates are jointly vector-quantized to obtain a vector quantization index; and an encoder that encodes the predetermined number of samples by the first encoding mode or the second encoding mode that is selected by the encoding mode selector. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17)
-
-
18. A decoding device comprising:
-
a switching unit that selects a second decoding mode when input mode information has a second value, and selects a first decoding mode other than the second decoding mode when the mode information has a first value, wherein the second decoding mode is a mode in which a decoded normalization value corresponding to an input normalization-value quantization index is obtained, a plurality of values corresponding to an input vector quantization index are obtained as decoded values, a value having a magnitude corresponding to a recalculated normalization value that takes on a value that decreases with increasing sum of the absolute values of a predetermined number of the decoded values is obtained as a decoded signal when the decoded value is zero, a linear sum of the decoded value and the decoded normalization value is obtained as a decoded signal when the decoded value is positive, and a sign of the linear sum of the absolute value of the decoded value and the decoded normalization value is reversed and the result is set as a decoded signal when the decoded value is negative; and a decoder of performing a decoding process in the first decoding mode or the second decoding mode that is selected by the switching unit.
-
-
19-20. -20. (canceled)
Specification