Decoding apparatus and method, and program
First Claim
1. A decoding apparatus comprising:
- a gain readout unit configured to read out encoded gain values at least two gain sample positions of a time series signal;
an interpolation information readout unit configured to read out interpolation information indicating whether the gain value at each sample position of the time series signal is obtained through linear interpolation or obtained through non-linear interpolation;
an interpolation processing unit configured to obtain the gain value at each sample position located between the two gain sample positions of the time series signal based on the gain values at the gain sample positions through linear interpolation or non-linear interpolation according to the interpolation information, wherein the gain readout unit further reads out gain inclination values indicating inclination of the gain values at the gain sample positions, and wherein, when the gain value is obtained through non-linear interpolation, the interpolation processing unit obtains the gain value at each sample position located between the two gain sample positions based on the gain values and the gain inclination values at the gain sample positions;
an operation unit configured to obtain at the gain sample positions, straight lines having the gain values at the gain sample positions and having inclination indicated by the gain inclination values at the gain sample positions, and obtain differences between a gain value at an intersection of the straight lines obtained for the two gain sample positions and the gain values at the two gain sample positions, wherein, when the interpolation information is information indicating that the gain value is obtained through linear interpolation, the interpolation processing unit obtains the gain value through linear interpolation, and, when the interpolation information is information indicating that the gain value is obtained through non-linear interpolation, the interpolation processing unit obtains the gain value through non-linear interpolation or linear interpolation according to the differences;
a signal decoding unit configured to decode an input code string and to supply a decoded signal; and
a gain applying unit configured to correct a volume of the decoded signal based on the gain value and to output a volume-corrected output signal.
1 Assignment
0 Petitions
Accused Products
Abstract
The present technology relates to a decoding apparatus, a decoding method and a program which make it possible to obtain sound with higher quality.
A demultiplexing circuit demultiplexes an input code string into a gain code string and a signal code string. A signal decoding circuit decodes the signal code string to output a time series signal. A gain decoding circuit decodes the gain code string. That is, the gain decoding circuit reads out gain values and gain inclination values at predetermined gain sample positions of the time series signal and interpolation mode information. An interpolation processing unit obtains a gain value at each sample position between two gain sample positions through linear interpolation or non-linear interpolation according to the interpolation mode based on the gain values and the gain inclination values. A gain applying circuit adjusts a gain of the time series signal based on the gain values. The present technology can be applied to a decoding apparatus.
246 Citations
8 Claims
-
1. A decoding apparatus comprising:
-
a gain readout unit configured to read out encoded gain values at least two gain sample positions of a time series signal; an interpolation information readout unit configured to read out interpolation information indicating whether the gain value at each sample position of the time series signal is obtained through linear interpolation or obtained through non-linear interpolation; an interpolation processing unit configured to obtain the gain value at each sample position located between the two gain sample positions of the time series signal based on the gain values at the gain sample positions through linear interpolation or non-linear interpolation according to the interpolation information, wherein the gain readout unit further reads out gain inclination values indicating inclination of the gain values at the gain sample positions, and wherein, when the gain value is obtained through non-linear interpolation, the interpolation processing unit obtains the gain value at each sample position located between the two gain sample positions based on the gain values and the gain inclination values at the gain sample positions; an operation unit configured to obtain at the gain sample positions, straight lines having the gain values at the gain sample positions and having inclination indicated by the gain inclination values at the gain sample positions, and obtain differences between a gain value at an intersection of the straight lines obtained for the two gain sample positions and the gain values at the two gain sample positions, wherein, when the interpolation information is information indicating that the gain value is obtained through linear interpolation, the interpolation processing unit obtains the gain value through linear interpolation, and, when the interpolation information is information indicating that the gain value is obtained through non-linear interpolation, the interpolation processing unit obtains the gain value through non-linear interpolation or linear interpolation according to the differences; a signal decoding unit configured to decode an input code string and to supply a decoded signal; and a gain applying unit configured to correct a volume of the decoded signal based on the gain value and to output a volume-corrected output signal. - View Dependent Claims (2, 3)
-
-
4. A decoding method comprising:
-
reading out encoded gain values at least two gain sample positions of a time series signal; reading out interpolation information indicating whether the gain value at each sample position of the time series signal is obtained through linear interpolation or obtained through non-linear interpolation; obtaining the gain value at each sample position located between the two gain sample positions of the time series signal based on the gain values at the gain sample positions through linear interpolation or non-linear interpolation according to the interpolation information, including reading out gain inclination values indicating inclination of the gain values at the gain sample positions, and, when the gain value is obtained through non-linear interpolation, obtaining the gain value at each sample position located between the two gain sample positions based on the gain values and the gain inclination values at the gain sample positions; obtaining at the gain sample positions, straight lines having the gain values at the gain sample positions and having inclination indicated by the gain inclination values at the gain sample positions, and obtaining differences between a gain value at an intersection of the straight lines obtained for the two gain sample positions and the gain values at the two gain sample positions, wherein, when the interpolation information is information indicating that the gain value is obtained through linear interpolation, the interpolation processing unit obtains the gain value through linear interpolation, and, when the interpolation information is information indicating that the gain value is obtained through non-linear interpolation, the interpolation processing unit obtains the gain value through non-linear interpolation or linear interpolation according to the differences; decoding an input code string and supplying a decoded signal; and correcting a volume of the decoded signal based on the gain value and outputting a volume-corrected signal.
-
-
5. A non-transitory computer-readable medium containing instructions that, when executed by a processing device, perform a process comprising:
-
reading out encoded gain values at least two gain sample positions of a time series signal; reading out interpolation information indicating whether the gain value at each sample position of the time series signal is obtained through linear interpolation or obtained through non-linear interpolation; obtaining the gain value at each sample position located between the two gain sample positions of the time series signal based on the gain values at the gain sample positions through linear interpolation or non-linear interpolation according to the interpolation information, including reading out gain inclination values indicating inclination of the gain values at the gain sample positions, and, when the gain value is obtained through non-linear interpolation, obtaining the gain value at each sample position located between the two gain sample positions based on the gain values and the gain inclination values at the gain sample positions; obtaining at the gain sample positions, straight lines having the gain values at the gain sample positions and having inclination indicated by the gain inclination values at the gain sample positions, and obtaining differences between a gain value at an intersection of the straight lines obtained for the two gain sample positions and the gain values at the two gain sample positions, wherein, when the interpolation information is information indicating that the gain value is obtained through linear interpolation, the interpolation processing unit obtains the gain value through linear interpolation, and, when the interpolation information is information indicating that the gain value is obtained through non-linear interpolation, the interpolation processing unit obtains the gain value through non-linear interpolation or linear interpolation according to the differences; decoding an input code string and supplying a decoded signal; and correcting a volume of the decoded signal based on the gain value and outputting a volume-corrected signal.
-
-
6. A decoding apparatus comprising:
-
a demultiplexing unit configured to demultiplex an input code string and to supply a signal code string and a gain code string; a gain readout unit configured to read out encoded gain values at least two gain sample positions of a time series signal and gain inclination values, each indicating inclination of a gain waveform represented by the gain values at a gain sample position; an operation unit configured to obtain a gain sample position of an intersection between the two gain sample positions based on the gain values and the gain inclination values; an interpolation processing unit configured to obtain a gain value at each sample position located between the two gain sample positions including the intersection through linear interpolation or non-linear interpolation, the linear interpolation or the non-linear interpolation being selected based on the gain sample position of the intersection and the two gain sample positions, wherein non-linear interpolation is selected except when a distance between the gain sample position of the intersection and either of the two gain sample positions is equal to or less than a predetermined threshold; a signal decoding unit configured to decode the signal code string and to supply a decoded signal; and a gain applying unit configured to correct a volume of the decoded signal based on the gain value and to output a volume-corrected output signal.
-
-
7. A decoding method comprising:
-
demultiplexing an input code string and supplying a signal code string and a gain code string; reading out encoded gain values at least two gain sample positions of a time series signal and gain inclination values, each indicating inclination of a gain waveform represented by the gain values at a gain sample position; obtaining a gain sample position of an intersection between the two gain sample positions based on the gain values and the gain inclination values; obtaining a gain value at each sample position located between the two gain sample positions including the intersection through linear interpolation or non-linear interpolation, the linear interpolation or the non-linear interpolation being selected based on the gain sample position of the intersection and the two gain sample positions, wherein non-linear interpolation is selected except when a distance between the gain sample position of the intersection and either of the two gain sample positions is equal to or less than a predetermined threshold; decoding the signal code string and supplying a decoded signal; and correcting a volume of the decoded signal based on the gain value and outputting a volume-corrected signal.
-
-
8. A non-transitory computer-readable medium containing instructions that, when executed by a processing device, perform a process comprising:
-
demultiplexing an input code string and supplying a signal code string and a gain code string; reading out encoded gain values at least two gain sample positions of a time series signal and gain inclination values, each indicating inclination of a gain waveform represented by the gain values at a gain sample position; obtaining a gain sample position of an intersection between the two gain sample positions based on the gain values and the gain inclination values; obtaining a gain value at each sample position located between the two gain sample positions including the intersection through linear interpolation or non-linear interpolation, the linear interpolation or the non-linear interpolation being selected based on the gain sample position of the intersection and the two gain sample positions, wherein non-linear interpolation is selected except when a distance between the gain sample position of the intersection and either of the two gain sample positions is equal to or less than a predetermined threshold; decoding the signal code string and supplying a decoded signal; and correcting a volume of the decoded signal based on the gain value and outputting a volume-corrected signal.
-
Specification