Encoding device and method, decoding device and method, and program
First Claim
1. An encoding device, comprising:
- a gain calculator that calculates a first gain value and a second gain value for volume level correction of each frame of a sound signal, wherein the gain calculator calculates the second gain value for a downmix signal of a number of different channels obtained by downmixing of the sound signal; and
a gain encoder that obtains a first differential value between the first gain value and the second gain value, or obtains a second differential value between the first gain value of a current frame and the first gain value of an adjacent frame or between the first differential value and the first differential value of the adjacent frame, and encodes information based on the first differential value or the second differential value.
1 Assignment
0 Petitions
Accused Products
Abstract
The present invention pertains to an encoding device and method, a decoding device and method, and to a program, with which sound of an appropriate volume level can be obtained with a smaller quantity of codes. A first gain calculation circuit calculates a first gain for volume level correction of an input time series signal, and a second gain calculation circuit calculates a second gain for volume level correction of a downmixed signal obtained by downmixing of the input time series signal. A gain encoding circuit computes the gain differential between the first gain and the second gain, the gain differential between time frames, and the gain differential within time frames, and encodes the first gain and the second gain. The present invention can be applied in encoding devices and decoding devices.
-
Citations
18 Claims
-
1. An encoding device, comprising:
-
a gain calculator that calculates a first gain value and a second gain value for volume level correction of each frame of a sound signal, wherein the gain calculator calculates the second gain value for a downmix signal of a number of different channels obtained by downmixing of the sound signal; and a gain encoder that obtains a first differential value between the first gain value and the second gain value, or obtains a second differential value between the first gain value of a current frame and the first gain value of an adjacent frame or between the first differential value and the first differential value of the adjacent frame, and encodes information based on the first differential value or the second differential value. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. An encoding method, comprising:
-
calculating a first gain value and a second gain value for volume level correction of each frame of a sound signal, wherein the second gain value is calculated for a downmix signal of a number of different channels obtained by downmixing of the sound signal; obtaining a first differential value between the first gain value and the second gain value, or obtaining a second differential value between the first gain value of a current frame and the first gain value of an adjacent frame or between the first differential value and the first differential value of the adjacent frame, and encoding information based on the first differential value or the second differential value; and multiplexing the encoded information and an encoded sound signal to provide an encoded output bitstream.
-
-
10. A tangible computer-readable storage device encoded with computer-executable instructions that, when executed by a computer, perform a process comprising:
-
calculating a first gain value and a second gain value for volume level correction of each frame of a sound signal, wherein the second gain value is calculated for a downmix signal of a number of different channels obtained by downmixing of the sound signal; obtaining a first differential value between the first gain value and the second gain value, or obtaining a second differential value between the first gain value of a current frame and the first gain value of an adjacent frame or between the first differential value and the first differential value of the adjacent frame, and encoding information based on the first differential value or the second differential value; and multiplexing the encoded information and an encoded sound signal to provide an encoded output bitstream.
-
-
11. A decoding device, comprising:
-
a demultiplexer that demultiplexes an input code string into a gain code string and a signal code string, the gain code string being generated by, with respect to a first gain value and a second gain value for volume level correction calculated for each frame of a sound signal, wherein the second gain value is calculated for a downmix signal of a number of different channels obtained by downmixing of the sound signal, obtaining a first differential value between the first gain value and the second gain value, or obtaining a second differential value between the first gain value of a current frame and the first gain value of an adjacent frame or between the first differential value and the first differential value of the adjacent frame, and encoding information based on the first differential value or the second differential value, the signal code string being obtained by encoding the sound signal; a signal decoder that decodes the signal code string; and a gain decoder that decodes the gain code string, and outputs the first gain value or the second gain value for the volume level correction. - View Dependent Claims (12, 13, 14, 15, 16)
-
-
17. A decoding method, comprising:
-
demultiplexing an input code string into a gain code string and a signal code string, the gain code string being generated by, with respect to a first gain value and a second gain value for volume level correction calculated for each frame of a sound signal, wherein the second gain value is calculated for a downmix signal of a number of different channels obtained by downmixing of the second signal, obtaining a first differential value between the first gain value and the second gain value, or obtaining a second differential value between the first gain value of a current frame and the first gain value of an adjacent frame or between the first differential value and the first differential value of the adjacent frame, and encoding information based on the first differential value or the second differential value, the signal code string being obtained by encoding the sound signal; decoding the signal code string; and decoding the gain code string, and outputting the decoded signal code string and the first gain value or the second gain value for the volume level correction.
-
-
18. A tangible computer-readable storage device encoded with computer-executable instructions that, when executed by a computer, perform a process comprising:
-
demultiplexing an input code string into a gain code string and a signal code string, the gain code string being generated by, with respect to a first gain value and a second gain value for volume level correction calculated for each frame of a sound signal, wherein the second gain value is calculated for a downmix signal of a number of different channels obtained by downmixing of the sound signal, obtaining a first differential value between the first gain value and the second gain value, or obtaining a second differential value between the first gain value of a current frame and the first gain value of an adjacent frame or between the first differential value and the first differential value of the adjacent frame, and encoding information based on the first differential value or the second differential value, the signal code string being obtained by encoding the sound signal; decoding the signal code string; and decoding the gain code string, and outputting the decoded signal code string and the first gain value or the second gain value for the volume level correction.
-
Specification