This application claims the priority of Korean Patent Application No. 10-2004-0102303, filed on Dec. 7, 2004, in the Korean Intellectual Property Office, the disclosure of which is incorporated herein by reference.
1. Field of the Invention
The present invention relates to encoding and decoding of an audio signal, and more particularly, to an apparatus and method for transforming an audio signal by selecting a frame of frames of various lengths according to a change in an audio signal, and transforming, encoding, and decoding the audio signal in units of the selected frame using a window coefficient other than 0; an apparatus and method for encoding an audio signal adaptively to a change in the audio signal; an apparatus and method for inversely transforming an audio signal, and an apparatus and method for decoding an audio signal adaptively to a change in the audio signal.
2. Description of Related Art
Conventionally, an audio signal is encoded by transforming it into units of a predetermined frame, and generating a bit stream by changing a bit rate of the transformed audio signal by the quantizing the transformed audio signal. The length of a frame of an audio signal must be determined by the degree that the audio signal changes. Specifically, the frame length of an audio signal that changes fast in a time domain must be determined to be smaller so that the audio signal can be processed into a frequency domain over a broad band of frequency, thereby generating a more precise bit stream. In contrast, the frame length of an audio signal that changes slowly in the time domain must be determined to be larger so that the audio signal can be processed into the frequency domain over a narrow band of frequency, thereby reducing consumption of frequency resources.
Conventionally, the types of frames are limited, for example, frames are categorized into a long frame and a short frame. Therefore, an audio signal that rapidly changes to a large extent is encoded using oversampled transform, thereby causing distortion of the encoded audio signal.
A method of transforming and inversely transforming an audio signal will now be described briefly. Typically, an audio signal is transformed into a frequency domain using a Modified Discrete Cosine Transform (MDCT). According to the MDCT, a z signal is obtained by multiplying input data on a time axis by a window coefficient illustrated in
wherein Xi,k denotes the value of a frequency domain, zin denotes a windowed input sequence, n denotes the index of a sample unit, k denotes the index of a spectral coefficient, i denotes a frame index, N denotes the length of a frame, and n0 denotes (N/2+1)/2.
The encoded audio signal is inversely transformed into a time domain using the following equation:
wherein xi,n denotes the value obtained by inversely transforming the encoded audio signal.
As described above, conventionally, when using the MDCT to transform an audio signal into a frequency domain, a portion of a first frame unit of the audio signal ranging from 1538+128 to 2048 of the time axis is transformed using a window coefficient of 0. Frame samples obtained in this case are multiplied by the window coefficient of 0, and thus, the results of multiplication are neglected. Although 1024 spectrum values are obtained by using the first frame unit according to the characteristics of the MDCT, the effect of the MDCT is lowered when the window coefficient is 0.
An aspect of the present invention provides a method of transforming an audio signal using a window coefficient other than 0.
An aspect of the present invention also provides a method of transforming an audio signal into units of a frame selected according to a change in the audio signal.
An aspect of the present invention also provides a method of encoding an audio signal into units of a frames selected according to a change in the audio signal.
An aspect of the present invention also provides an apparatus for transforming an audio signal using a window coefficient of 0.
An aspect of the present invention also provides an apparatus for transforming an audio signal into units of a frame selected according to a change in the audio signal.
An aspect of the present invention also provides an apparatus for encoding an audio signal into units of a frame selected according to a change in the audio signal.
An aspect of the present invention also provides a method of inversely transforming an audio signal that is encoded using a window coefficient of 0.
An aspect of the present invention also provides a method of inversely transforming audio signal encoded into units of a frame selected according to a change in the audio signal.
An aspect of the present invention also provides a method of decoding an audio signal encoded into units of a frame selected according to a change in the audio signal.
An aspect of the present invention also provides an apparatus for inversely transforming an audio signal encoded using a window coefficient of 0.
An aspect of the present invention also provides an apparatus for inversely transforming an audio signal that is encoded into units of a frame selected according to a change in the audio signal.
An aspect of the present invention also provides an apparatus for decoding an audio signal encoded into units of a frame selected according to a change in the audio signal.
According to one embodiment of the present invention, there is provided a method of transforming an audio signal, the method including: determining a transform unit into which the audio signal is to be transformed into an audio signal in a frequency domain; and transforming the audio signal in a time domain into an audio signal in the frequency domain according to the determined transform units, using a window coefficient other than 0.
According to another embodiment of the present invention, there is provided a method of transforming an audio signal, the method including: filtering the audio signal into predetermined sample units; determining an adaptive transform unit into which the audio signal is to be transformed into an audio signal in a frequency domain, when the size of the audio signal becomes greater than a predetermined threshold; and transforming the audio signal into an audio signal in the frequency domain according to the determined adaptive transform units.
According to yet another embodiment of the present invention, there is provided a method of adaptively transforming an audio signal, the method including: filtering the audio signal into predetermined sample units; determining an adaptive transform unit into which the audio signal is to be transformed into a frequency domain when the size of the audio signal is greater than a predetermined threshold; transforming the audio signal into an audio signal in the frequency domain according to the determined adaptive transform units; quantizing the audio signal transformed into the frequency domain; and encoding the quantized audio signal.
According to still another embodiment of the present invention, there is provided an apparatus for transforming an audio signal, the apparatus including: a transform unit determiner determining a transform unit into which the audio signal is to be transformed into an audio signal in a frequency domain; and a frequency-domain transformer transforming the audio signal in a time domain into the audio signal in the frequency domain according to the determined transform units, using a window coefficient other than 0.
According to still another embodiment of the present invention, there is provided an apparatus for transforming an audio signal, the apparatus including: a filtering unit filtering the audio signal into predetermined sample units; an adaptive transform unit determiner determining an adaptive transform unit into which the audio signal is to be transformed into an audio signal in a frequency domain when a size of the audio signal is greater than a predetermined threshold; and a frequency-domain transformer transforming the audio signal into an audio signal in the frequency domain according to the determined adaptive transform units.
According to still another embodiment of the present invention, there is provided an apparatus for adaptively transforming an audio signal, the apparatus including: a filtering unit filtering the audio signal into predetermined sample units; an adaptive transform unit determiner determining an adaptive transform unit into which the audio signal is to be transformed into the frequency domain when the size of the audio signal is greater than a predetermined threshold; a frequency-domain transformer transforming the audio signal into an audio signal in the frequency domain according to the determined adaptive transform units; a quantization unit quantizing the audio signal transformed into the frequency domain; a bit rate controller controlling the bit rate of the audio signal to be quantized; and an encoding unit encoding the quantized audio signal.
According to still another embodiment of the present invention, there is provided a method of inversely transforming an audio signal, the method including: inversely transforming an audio data which is a bit stream of the audio signal transformed into a frequency domain using a window coefficient other than 0.
According to still another embodiment of the present invention, there is provided a method of inversely transforming an audio signal, the method including: detecting information regarding an adaptive transform unit of the audio signal transformed into a frequency domain, from audio data; and inversely transforming the audio data according to the adaptive transform units of the detected information.
According to still another embodiment of the present invention, there is provided a method of decoding an audio signal, the method including: decoding encoded audio data; inversely quantizing the decoded audio data; detecting information regarding an adaptive transform unit of the audio signal transformed into a frequency domain, from the inversely quantized audio data; and inversely transforming the audio data according to the adaptive transform units of the detected information.
According to still another embodiment of the present invention, there is provided an apparatus for inversely transforming an audio signal, the apparatus including: a time-domain inverse transformer inversely transforming audio data which is a bit stream of the audio signal transformed into a frequency domain using a window coefficient other than 0.
According to still another embodiment of the present invention, there is provided an apparatus for inversely transforming an audio signal, the apparatus including: a transform unit information detector detecting information regarding an adaptive transform unit of the audio signal transformed into a frequency domain, from audio data; and a time-domain inverse transformer inversely transforming the audio data according to the adaptive transform units of the detected information.
According to still another embodiment of the present invention, there is provided a apparatus for adaptively decoding an audio signal, the apparatus including: a decoding unit decoding encoded audio data; an inverse quantization unit inversely quantizing the decoded audio data; a transform unit information detector detecting information regarding an adaptive transform unit of the audio signal transformed into a frequency domain, from the inversely quantized audio data; and a time-domain inverse transformer inversely transforming the audio data according to the adaptive transform units of the detected information.
Additional and/or other aspects and advantages of the present invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
The above and/or other aspects and advantages of the present invention will become apparent and more readily appreciated from the following detailed description, taken in conjunction with the accompanying drawings of which:
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like reference numerals refer to the like elements throughout. The embodiments are described below in order to explain the present invention by referring to the figures.
Returning to
After operation 30, the windowed audio signal is performed is transformed into an audio signal in a frequency domain (operation 32). Discrete Cosine Transform (DCT) or the MDCT may be used to transform the windowed audio signal.
After operation 50, when the size of the audio signal becomes greater than a predetermined threshold, an adaptive transform unit into which the audio signal is to be transformed into a frequency domain is determined (operation 52). The predetermined threshold is a reference value used in determining whether the audio signal rapidly changes to a large extent. The adaptive transform unit is a unit into which the audio signal can be transformed into a frequency domain while minimizing distortion of the audio signal, determined when the audio signal rapidly changes to a large extent. The length of the adaptive transform unit may be variously determined as illustrated in
Ak=yk/Mk. (3),
wherein Ak denotes a rapid change coefficient of the sample unit Xk, Yk denotes a representative value of the sample unit Xk, and Mk denotes an average value of representative values Y1 through Yk−1 of the sample units X0 through Xk−1.
As shown in Equation (3), when a rapid change coefficient is large, the audio signal is considered as rapidly changing to a large extent at a frame of the audio signal where the rapid change coefficient is obtained.
After operation 70, if the rapid change coefficient is greater than the predetermined threshold, a rapid change length of the audio signal that begins to rapidly change to a large extent is measured (operation 72). As described above, the predetermined threshold is a reference value used in determining whether the audio signal rapidly changes to a large extent. The rapid change length corresponds to the difference between the positions of the beginning frame of the audio signal and the frame of the audio signal that begins to rapidly change to a large extent in the time domain. That the rapid change coefficient is greater than the predetermined threshold indicates that the audio signal rapidly changes to a large extent at a point where the rapid change coefficient is obtained. For instance, the rapid change length is computed by multiplying a value of 128 of the sample unit by the value of k of the sample unit Xk at which the rapid change coefficient is obtained. That is, the rapid change length is computed by:
Bk=128×k (4),
wherein Bk denotes the rapid change length, 128 denotes the value of the sample unit of the audio signal, and k denotes the value of the subscript k of the sample unit Xk at which the rapid change coefficient is obtained.
After operation 72, the type of a frame into which the audio signal is to be transformed is determined by comparing the rapid change length with the sums of the lengths of various types of frames (operation 74).
If the length Bk is equal to or greater than the sum of the lengths of the super long frame F1 and the super short frame F4, it is determined whether a previous frame into the audio signal was transformed are the super short frame (operation 82). For instance, when the length Bk is equal to or greater than the sum of the lengths of the super long frame F1 and the super short frame F4, the total length of the sample units X1 through Xk is very likely to be greater than at least the length of the super long frame F1. Accordingly, if the rapid change length is equal to or greater than the sum of the lengths of the super long frame and the super short frame, the super long frame or the super short frame is selected as a frame into which the audio signal is to be transformed.
If the previous frame is not the super short frame, the super long frame is selected as a frame into which the audio signal will be transformed into the frequency domain (operation 84). For instance, when the previous frame is not the super short frame F4 of
However, when the previous frame is the super short frame, the long frame is selected (operation 86). For instance, when the previous frame is the super short frame F4, it is understood that a sudden change occurred in at least the previous frame. In this case, it is better to select the long frame F2 than the super long frame F1 in order to minimize distortion of the audio signal when the audio signal is encoded.
If the rapid change length is less than the sum of the lengths of the super long frame and the super short frame, it is determined whether the length of the frames of the audio signal that begins to rapidly change to a large extent is equal to or greater than the sum of the lengths of the super long frame and the super short frame (operation 88). For instance, when the length Bk is less than the sum of the lengths of the super long frame F1 and the super short frame F4, the total length of the sample units X1 through Xk is very likely to be less than the length of the super long frame F1. In this case, it is determined whether the length Bk is equal to or greater than the sum of the lengths of the long frame F2 and the super short frame F4.
If the rapid change length is equal to or greater than the sum of the lengths of the long frame and the super short frame, the method of
However, when the rapid change length is less than the sum of the lengths of the long frame and the super short frame, it is determined whether the rapid change length is equal to or larger than the sum of the lengths of the short frame and the super short frame (operation 90). For instance, when the length Bk is less than the sum of the lengths of the long frame F2 and the super short frame F4, the total length of the sample units X1 through Xk is very likely to be less than the length of the long frame F2. Thus, the length of the frames of the audio signal that begins to rapidly change to a large extent is equal to or greater than the sum of the lengths of the short frame and the super short frame.
If the rapid change length is equal to or greater than the sum of the lengths of the short frame and the super short frame, the short frame is selected (operation 92). For instance, when the length Bk is equal to or greater than the sum of the lengths of the short frame F3 the super short frame F4, the total length of the sample units X1 through Xk is greater than at least the length of the super short frame F4. Therefore, the short frame F3 is selected.
However, if the rapid change length is less than the sum of the lengths of the short frame and the super short frame, the super short frame is selected (operation 94). For instance, when the length Bk is less than the sum of the lengths of the short frame F3 and the super short frame F4, the total length of the sample units X1 through Xk is very likely to be less than the length of the short frame F3. Thus, when the rapid change length is less than the sum of the lengths of the short frame and the super short frame, the super short frame F4 is selected.
Operation 74 illustrated in
Returning to
After operation 100, the windowed audio signal is transformed into a frequency domain (operation 102). In operation 102, the DCT or the MDCT may be used to transform the audio signal into the frequency domain.
A method of adaptively encoding an audio signal according to an embodiment of the present invention will now be described with reference to
After operation 110, when the size of the audio signal becomes greater than a predetermined threshold, an adaptive transform unit into which the audio signal is to be transformed into the frequency domain is determined (operation 112). A detailed description of operation 112 has already been described as above.
After operation 112, the audio signal is transformed into the frequency domain into units of the determined adaptive transform unit (operation 114). A method of transforming the audio signal into the determined frame using a window coefficient other than 0 has already been described as above.
After operation 114, the audio signal transformed into the frequency domain is quantized (operation 116). Specifically, in operation 114, the audio signal transformed into a frequency substance in the frequency domain is quantized at a bit rate according to bit allocation information.
After operation 116, the quantized audio signal is encoded (operation 118). In other words, in operation 118, a stream of encoded bits is obtained by encoding the quantized audio signal. Lossy compression or lossless compression may be used to encode the quantized audio signal. In the lossless compression, the quantized audio signal is encoded by computing an appropriate probability distribution of the quantized audio signal and encoding the probability distribution using Huffman coding or arithmetic coding.
An apparatus for transforming an audio signal according to an embodiment of the present invention will now be described with reference to
The frequency-domain transformer 220 transforms the audio signal in a time domain into the frequency domain into units of the frame selected by the transform unit determiner 200, using a window coefficient other than 0.
The windowing unit 300 performs a windowing operation on the audio signal into units of the determined frame using a window coefficient other than 0, and outputs the result of operation to the signal transformer 320. The window coefficient used by the windowing unit 300 is determined such that the original audio signal is restored through the MDCT that is an inverse transform. Conventionally, the sine window coefficient or the Kaiser-Bessel window coefficient used in an audio codec MPEG-4 AAC/BSAC/TwinVQ was used as a window coefficient, but the windowing unit 300 does not use a window coefficient of 0. In other words, the windowing unit 300 performs the windowing operation using a window coefficient other than 0, thereby preventing a reduction in an effect of transforming the audio signal.
The signal transformer 320 transforms the audio signal windowed by the windowing unit 300 into the frequency domain, using the DCT of the MDCT.
An apparatus for transforming an audio signal according to the present invention will now be described with the accompanying drawings.
The filtering unit 400 filters the audio signal into predetermined sample units and outputs the result of filtering to the adaptive transform unit determiner 420. The filtering unit 400 filters only required portions of the audio signal according to a frequency band. The predetermined sample units are units into which the sampled audio signal is divided. For instance, the filtering unit 400 divides and filters the audio signal into the predetermined sample units such as those illustrated in
The adaptive transform unit determiner 420 determines an adaptive transform unit into which the audio signal is to be transformed into the frequency domain when the size of the audio signal becomes greater than a predetermined threshold, and provides the determined adaptive transform unit to the frequency-domain transformer 440. The predetermined threshold is a reference value used in determining whether the audio signal rapidly changes to a large extent. The adaptive transform units are units into which the audio signal can be transformed into a frequency domain while minimizing distortion of the audio signal, determined when the audio signal rapidly changes to a large extent.
The rapid change coefficient calculator 500 computes a rapid change coefficient corresponding to the degree of a change in the audio signal filtered by the filtering unit 400, and provides the rapid change coefficient to the length detector 520. The rapid change coefficient is a reference value used in determining whether the filtered audio signal rapidly changes to a large extent. That the rapid change coefficient is a large value indicates that the audio signal rapidly changes to a large extent at a position where the rapid change coefficient is obtained. The rapid change coefficient calculator 500 computes the rapid change coefficient using Equation (3).
The length detector 520 detects the length of frames of the audio signal that rapidly changes to a large extent when the rapid change coefficient is greater than a predetermined threshold, and outputs the result of detection to the frame type determiner 540. As described above, the predetermined threshold is a reference value used in determining whether the audio signal rapidly changes to a large extent. The rapid change length corresponds to the difference between the positions of the beginning frame of the audio signal and the frame of the audio signal that begins to rapidly change to a large extent in the time domain. When the rapid change coefficient is greater than the predetermined threshold, the audio signal is considered as rapidly changing to a large extent at a position where the rapid change coefficient is obtained. The length detector 520 detects the rapid change length, using Equation (4).
The frame type determiner 540 compares the rapid change length with the sums of the lengths of various types of frames, determines the type of a frame into which the audio signal is to be transformed, and outputs the result of determination to the frequency-domain transformer 440.
If frames are categorized into a super long frame, a long frame, a short frame, and a super short frame, the frame type determiner 540 compares the rapid change length with the sums of the lengths of the frames, and selects one of these frames as an optimum frame into which the audio signal is to be transformed, based on the result of comparison.
The frequency-domain transformer 440 transforms the audio signal into the frequency domain into the adaptive transform units determined by the adaptive transform unit determiner 420.
The windowing unit 600 performs the windowing operation on the audio signal into the determined adaptive transform units, using a window coefficient other than 0, and outputs the result of operation to the signal transformer 620. The window coefficient used by the windowing unit 600 is determined such that the original audio signal is restored through the MDCT that is an inverse transform. Conventionally, the sine window or the Kaiser the sine window coefficient or the Kaiser-Bessel window coefficient used in an audio codec MPEG-4 AAC/BSAC/TwinVQ was used as a window coefficient, but the windowing unit 600 does not use a coefficient of 0. That is, the windowing unit 600 performs the windowing operation on the audio signal into units of a frame corresponding to the adaptive transform units, using a window coefficient other than 0.
The signal transformer 620 transforms the audio signal windowed by the windowing unit 600 into the frequency domain using the DCT or the MDCT.
An apparatus for adaptively transforming an audio signal according to an embodiment of the present invention will now be described with reference to
The filtering unit 700 filters the audio signal into predetermined sample units and outputs the result of filtering to the adaptive transform unit determiner 710. The filtering unit 700 filters only required portions of the audio signal according to a frequency band. The operation of the filtering unit 700 is equal to that of the filtering unit 400 and thus will not be described here.
The adaptive transform unit determiner 710 determines adaptive transform units into which the audio signal is to be transformed into a frequency domain when the size of the audio signal is greater than a predetermined threshold, and outputs the result of determination to the frequency-domain transformer 720. The adaptive transform units are units into which the audio signal can be transformed while reducing distortion of the audio signal, determined when the audio signal rapidly changes to a large extent. The operation of the adaptive transform unit determiner 710 is equal to that of the adaptive transform unit determiner 420 and thus will not be described here.
The frequency-domain transformer 720 transforms the audio signal into the frequency domain into the adaptive transform units determined by the adaptive transform unit determiner 710, and outputs the transformed audio signal to the quantization unit 730. The frequency-domain transformer 720 transforms the audio signal into the frequency domain into the determined adaptive transform units, using a window coefficient other than 0. The operation of the frequency-domain transformer 720 is equal to that of the frequency-domain transformer 440 and thus will not be described here.
The quantization unit 730 quantizes the transformed audio signal output from the frequency-domain transformer 720 at an encoding bit rate allocated by the bit rate controller 740, and outputs the result of quantization to the encoding unit 750.
The bit rate controller 740 receives information regarding the bit rate of a bit stream from the encoding unit 750, computes a bit allocation parameter corresponding to the bit rate of the bit stream, and provides the bit allocation parameter to the quantization unit 730. The bit rate controller 740 can minutely adjust the bit rate of a bit stream output from the encoding unit 750 to a desired bit rate.
The encoding unit 750 receives the quantized audio signal from the quantization unit 730 and encodes it into a bit stream. Although not shown, the encoding unit 750 includes a lossless compression unit and a lossy compression unit. In particular, the encoding unit 750 can obtain an appropriate probability distribution of the quantized audio signal and encode the probability distribution using lossless compression such as Huffman coding or arithmetic coding.
A method of inversely transforming an audio signal according to an embodiment of the present invention will now be described. In the method, an audio signal which is encoded into a bit stream into a frequency domain using a window coefficient other than 0 is inversely transformed into a time domain. Use of the window coefficient other than 0 prevents a reduction in an effect of inversely transforming the audio signal.
A method of inversely transforming an audio signal according to another embodiment of the present invention will now be described with reference to
After operation 800, the audio data is inversely transformed into the adaptive transform units according to the information regarding the adaptive transform units (operation 802). In the inverse transform, an audio signal transformed into a frequency domain is inversely transformed in a time domain.
In particular, according to the present embodiment of the present invention, the audio data encoded into the frequency domain using a window coefficient other than 0 is inversely transformed into an audio signal in the time domain into the adaptive transform units.
A method of adaptively decoding an audio signal according to an embodiment of the present invention with reference to
After operation 900, the decoded audio data is inversely quantized (operation 902). Through inverse quantization, the decoded audio data is restored to an audio signal with the original size, which has yet to be quantized.
After operation 902, information regarding the adaptive transform units into which the audio signal was transformed into the frequency domain is obtained from the inversely quantized audio data (operation 904). As described above, the adaptive transform units are determined according to a change in the size of the audio signal that rapidly changes to a large extent when the audio signal in a time domain is transformed into a frequency domain. The information regarding the adaptive transform units is included in header information when the audio signal is encoded, and obtained from the header information when the audio signal in the frequency domain is inversely transformed into the time domain.
After operation 904, the audio data is inversely transformed into the adaptive transform units according to the information regarding the determined adaptive transform units (operation 906). Specifically, the inversely quantized audio signal is inversely transformed into the time domain. In particular, the audio data encoded into the frequency domain using a window coefficient other than 0 is inversely transformed into an audio signal in a time domain into the adaptive transform units.
An apparatus for inversely transforming an audio signal according to an embodiment of the present invention will now be described with reference to the accompanying drawings.
The transform unit information detector 1100 detects information regarding adaptive transform units, into which the audio signal was transformed into a frequency domain, from audio data, and outputs the detected information to the time-domain inverse transformer 1120. The adaptive transform units are determined according to a change in the size of the audio signal that rapidly changes to a large extent when transforming the audio signal in a time domain into a frequency domain. The information regarding the adaptive transform units is included in header information when the audio signal is encoded, and obtained from the header information when the audio signal transformed into the frequency domain is inversely transformed in the time domain.
The time-domain inverse transformer 1120 inversely transforms the audio data into the adaptive transform units according to the information regarding the adaptive transform units. The time-domain inverse transformer 1120 transforms the frequency-domain audio signal into a time-domain audio signal into the adaptive transform units. In detail, the time-domain inverse transformer 1120 inversely transforms the audio data, which is a bit stream obtained by transformed an audio signal into the frequency domain using a window coefficient other than 0, into the adaptive transform units.
An apparatus for adaptively decoding an audio signal according to an embodiment of the present invention will now be described with reference to
The decoding unit 1200 decodes encoded audio data and outputs the decoded audio data to the inverse quantization unit 1220. That is, the decoding unit 1200 processes an input bit stream in the opposite manner in which an audio signal is encoded by the encoding unit 750. In particular, the decoding unit 1200 decodes a bit stream, which is losslessy encoded, using lossless decoding such as arithmetic decoding or Huffman decoding.
The inverse quantization unit 1220 inversely quantizes the audio data decoded by the decoding unit 1200, and outputs the inversely quantized audio data to the transform unit information detector 1240. That is, the inverse quantizer 1220 restores the decode audio signal to an audio signal with the original size, which has yet to be quantized.
The transform unit information detector 1240 detects information regarding adaptive transform units, into which the audio signal was transformed into the frequency domain from, the audio data, and outputs the information regarding the adaptive transform units to the time-domain inverse transformer 1260. When the information regarding the adaptive transform units is included into header information when the audio signal is encoded, the transform unit information detector 1240 detects the information regarding the adaptive transform units from the header information.
The time-domain inverse transformer 1260 inversely transforms the audio data into the adaptive transform units according to the information regarding the adaptive transform units. In other words, the time-domain inverse transformer 1260 transforms the frequency-domain audio signal into the time-domain audio signal into the adaptive transform units. In particular, the time-domain inverse transformer 1260 inversely transforms the audio data, which is a bit stream obtained by transforming the audio signal into the frequency domain using a window coefficient other than 0, into the adaptive transform units.
According to the above-described embodiments of present invention, an audio signal is transformed into units of an adaptive frame, which is determined according to a sharp change in the audio signal, into a frequency domain. Accordingly, it is possible to minimize distortion of the audio signal when encoding the audio signal even at a high bit rate while increasing efficiency of compression.
Although a few embodiments of the present invention have been shown and described, the present invention is not limited to the described embodiments. Instead, it would be appreciated by those skilled in the art that changes may be made to these embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the claims and their equivalents.
Number | Date | Country | Kind |
---|---|---|---|
10-2004-0102303 | Dec 2004 | KR | national |