One or more exemplary embodiments relate to encoding and decoding of an audio or speech signal, and more particularly, to a method and apparatus for encoding and decoding a spectral coefficient in a frequency domain.
Quantizers based on various schemes have been proposed for efficiently encoding spectral coefficients in a frequency domain. For example, a quantizer based on trellis coded quantization (TCQ), uniform scalar quantization (USQ), factorial pulse coding (FPC), algebraic vector quantization (AVQ), and pyramid vector quantization (PVQ), etc. has been used. Accordingly, a lossless encoder optimized for each quantizer has been also implemented.
One or more exemplary embodiments include a method and apparatus for adaptively encoding or decoding a spectral coefficient for various bit rates or various sizes of sub-bands in a frequency domain.
One or more exemplary embodiments include a non-transitory computer-readable recording medium storing a program for executing a signal encoding method or a signal decoding method.
One or more exemplary embodiments include a multimedia apparatus using a signal encoding method or a signal decoding method.
According to one or more exemplary embodiments, a signal encoding method includes: selecting a important spectral component in band units for a normalized spectrum; and encoding information of the selected important spectral component based on a number, a position, a magnitude, and a sign thereof, in band units.
According to one or more exemplary embodiments, a signal decoding method includes: obtaining from a bitstream, information of a important spectral component of an encoded spectrum in band units; and decoding the obtained information of the important spectral component, based on a number, a position, a magnitude, and a sign thereof in band units.
According to the one or more of the above exemplary embodiments, a spectral coefficient is encoded and decoded adaptively for various bit rates or various sizes of sub-bands.
Since the inventive concept may have diverse modified embodiments, preferred embodiments are illustrated in the drawings and are described in the detailed description of the inventive concept. However, this does not limit the inventive concept within specific embodiments and it should be understood that the inventive concept covers all the modifications, equivalents, and replacements within the idea and technical scope of the inventive concept. Moreover, detailed descriptions related to well-known functions or configurations will be ruled out in order not to unnecessarily obscure subject matters of the inventive concept.
It will be understood that although the terms of first and second are used herein to describe various elements, these elements should not be limited by these terms. Terms are only used to distinguish one component from other components.
In the following description, the technical terms are used only for explain a specific exemplary embodiment while not limiting the inventive concept. Terms used in the inventive concept have been selected as general terms which are widely used at present, in consideration of the functions of the inventive concept, but may be altered according to the intent of an operator of ordinary skill in the art, conventional practice, or introduction of new technology. Also, if there is a term which is arbitrarily selected by the applicant in a specific case, in which case a meaning of the term will be described in detail in a corresponding description portion of the inventive concept. Therefore, the terms should be defined on the basis of the entire content of this specification instead of a simple name of each of the terms.
The terms of a singular form may include plural forms unless referred to the contrary. The meaning of ‘comprise’, ‘include’, or ‘have’ specifies a property, a region, a fixed number, a step, a process, an element and/or a component but does not exclude other properties, regions, fixed numbers, steps, processes, elements and/or components.
Hereinafter, exemplary embodiments will be described in detail with reference to the accompanying drawings. Like numbers refer to like elements throughout the description of the figures, and a repetitive description on the same element is not provided.
The audio encoding apparatus 110 shown in
In
The frequency domain coder 114 may perform a time-frequency transform on the audio signal provided by the pre-processor 112, select a coding tool in correspondence with the number of channels, a coding band, and a bit rate of the audio signal, and encode the audio signal by using the selected coding tool. The time-frequency transform may use a modified discrete cosine transform (MDCT), a modulated lapped transform (MLT), or a fast Fourier transform (FFT), but is not limited thereto. When the number of given bits is sufficient, a general transform coding scheme may be applied to the whole bands, and when the number of given bits is not sufficient, a bandwidth extension scheme may be applied to partial bands. When the audio signal is a stereo-channel or multi-channel, if the number of given bits is sufficient, encoding is performed for each channel, and if the number of given bits is not sufficient, a down-mixing scheme may be applied. An encoded spectral coefficient is generated by the frequency domain coder 114.
The parameter coder 116 may extract a parameter from the encoded spectral coefficient provided from the frequency domain coder 114 and encode the extracted parameter. The parameter may be extracted, for example, for each sub-band, which is a unit of grouping spectral coefficients, and may have a uniform or non-uniform length by reflecting a critical band. When each sub-band has a non-uniform length, a sub-band existing in a low frequency band may have a relatively short length compared with a sub-band existing in a high frequency band. The number and a length of sub-bands included in one frame vary according to codec algorithms and may affect the encoding performance. The parameter may include, for example a scale factor, power, average energy, or Norm, but is not limited thereto. Spectral coefficients and parameters obtained as an encoding result form a bitstream, and the bitstream may be stored in a storage medium or may be transmitted in a form of, for example, packets through a channel.
The audio decoding apparatus 130 shown in
In
When the current frame is a good frame, the frequency domain decoder 134 may generate synthesized spectral coefficients by performing decoding through a general transform decoding process. When the current frame is an error frame, the frequency domain decoder 134 may generate synthesized spectral coefficients by repeating spectral coefficients of a previous good frame (PGF) onto the error frame or by scaling the spectral coefficients of the PGF by a regression analysis to then be repeated onto the error frame, through a frame error concealment algorithm or a packet loss concealment algorithm. The frequency domain decoder 134 may generate a time domain signal by performing a frequency-time transform on the synthesized spectral coefficients.
The post-processor 136 may perform filtering, up-sampling, or the like for sound quality improvement with respect to the time domain signal provided from the frequency domain decoder 134, but is not limited thereto. The post-processor 136 provides a reconstructed audio signal as an output signal.
The audio encoding apparatus 210 shown in
In
The mode determiner 213 may determine a coding mode by referring to a characteristic of an input signal. The mode determiner 213 may determine according to the characteristic of the input signal whether a coding mode suitable for a current frame is a speech mode or a music mode and may also determine whether a coding mode efficient for the current frame is a time domain mode or a frequency domain mode. The characteristic of the input signal may be perceived by using a short-term characteristic of a frame or a long-term characteristic of a plurality of frames, but is not limited thereto. For example, if the input signal corresponds to a speech signal, the coding mode may be determined as the speech mode or the time domain mode, and if the input signal corresponds to a signal other than a speech signal, i.e., a music signal or a mixed signal, the coding mode may be determined as the music mode or the frequency domain mode. The mode determiner 213 may provide an output signal of the pre-processor 212 to the frequency domain coder 214 when the characteristic of the input signal corresponds to the music mode or the frequency domain mode and may provide an output signal of the pre-processor 212 to the time domain coder 215 when the characteristic of the input signal corresponds to the speech mode or the time domain mode.
Since the frequency domain coder 214 is substantially the same as the frequency domain coder 114 of
The time domain coder 215 may perform code excited linear prediction (CELP) coding for an audio signal provided from the pre-processor 212. In detail, algebraic CELP may be used for the CELP coding, but the CELP coding is not limited thereto. An encoded spectral coefficient is generated by the time domain coder 215.
The parameter coder 216 may extract a parameter from the encoded spectral coefficient provided from the frequency domain coder 214 or the time domain coder 215 and encodes the extracted parameter. Since the parameter coder 216 is substantially the same as the parameter coder 116 of
The audio decoding apparatus 230 shown in
In
The mode determiner 233 may check coding mode information included in the bitstream and provide a current frame to the frequency domain decoder 234 or the time domain decoder 235.
The frequency domain decoder 234 may operate when a coding mode is the music mode or the frequency domain mode and generate synthesized spectral coefficients by performing decoding through a general transform decoding process when the current frame is a good frame. When the current frame is an error frame, and a coding mode of a previous frame is the music mode or the frequency domain mode, the frequency domain decoder 234 may generate synthesized spectral coefficients by repeating spectral coefficients of a previous good frame (PGF) onto the error frame or by scaling the spectral coefficients of the PGF by a regression analysis to then be repeated onto the error frame, through a frame error concealment algorithm or a packet loss concealment algorithm. The frequency domain decoder 234 may generate a time domain signal by performing a frequency-time transform on the synthesized spectral coefficients.
The time domain decoder 235 may operate when the coding mode is the speech mode or the time domain mode and generate a time domain signal by performing decoding through a general CELP decoding process when the current frame is a normal frame. When the current frame is an error frame, and the coding mode of the previous frame is the speech mode or the time domain mode, the time domain decoder 235 may perform a frame error concealment algorithm or a packet loss concealment algorithm in the time domain.
The post-processor 236 may perform filtering, up-sampling, or the like for the time domain signal provided from the frequency domain decoder 234 or the time domain decoder 235, but is not limited thereto. The post-processor 236 provides a reconstructed audio signal as an output signal.
The audio encoding apparatus 310 shown in
In
The LP analyzer 313 may extract LP coefficients by performing LP analysis for an input signal and generate an excitation signal from the extracted LP coefficients. The excitation signal may be provided to one of the frequency domain excitation coder unit 315 and the time domain excitation coder 316 according to a coding mode.
Since the mode determiner 314 is substantially the same as the mode determiner 213 of
The frequency domain excitation coder 315 may operate when the coding mode is the music mode or the frequency domain mode, and since the frequency domain excitation coder 315 is substantially the same as the frequency domain coder 114 of
The time domain excitation coder 316 may operate when the coding mode is the speech mode or the time domain mode, and since the time domain excitation coder unit 316 is substantially the same as the time domain coder 215 of
The parameter coder 317 may extract a parameter from an encoded spectral coefficient provided from the frequency domain excitation coder 315 or the time domain excitation coder 316 and encode the extracted parameter. Since the parameter coder 317 is substantially the same as the parameter coder 116 of
The audio decoding apparatus 330 shown in
In
The mode determiner 333 may check coding mode information included in the bitstream and provide a current frame to the frequency domain excitation decoder 334 or the time domain excitation decoder 335.
The frequency domain excitation decoder 334 may operate when a coding mode is the music mode or the frequency domain mode and generate synthesized spectral coefficients by performing decoding through a general transform decoding process when the current frame is a good frame. When the current frame is an error frame, and a coding mode of a previous frame is the music mode or the frequency domain mode, the frequency domain excitation decoder 334 may generate synthesized spectral coefficients by repeating spectral coefficients of a previous good frame (PGF) onto the error frame or by scaling the spectral coefficients of the PGF by a regression analysis to then be repeated onto the error frame, through a frame error concealment algorithm or a packet loss concealment algorithm. The frequency domain excitation decoder 334 may generate an excitation signal that is a time domain signal by performing a frequency-time transform on the synthesized spectral coefficients.
The time domain excitation decoder 335 may operate when the coding mode is the speech mode or the time domain mode and generate an excitation signal that is a time domain signal by performing decoding through a general CELP decoding process when the current frame is a good frame. When the current frame is an error frame, and the coding mode of the previous frame is the speech mode or the time domain mode, the time domain excitation decoder 335 may perform a frame error concealment algorithm or a packet loss concealment algorithm in the time domain.
The LP synthesizer 336 may generate a time domain signal by performing LP synthesis for the excitation signal provided from the frequency domain excitation decoder 334 or the time domain excitation decoder 335.
The post-processor 337 may perform filtering, up-sampling, or the like for the time domain signal provided from the LP synthesizer 336, but is not limited thereto. The post-processor 337 provides a reconstructed audio signal as an output signal.
The audio encoding apparatus 410 shown in
The mode determiner 413 may determine a coding mode of an input signal by referring to a characteristic and a bit rate of the input signal. The mode determiner 413 may determine the coding mode as a CELP mode or another mode based on whether a current frame is the speech mode or the music mode according to the characteristic of the input signal and based on whether a coding mode efficient for the current frame is the time domain mode or the frequency domain mode. The mode determiner 413 may determine the coding mode as the CELP mode when the characteristic of the input signal corresponds to the speech mode, determine the coding mode as the frequency domain mode when the characteristic of the input signal corresponds to the music mode and a high bit rate, and determine the coding mode as an audio mode when the characteristic of the input signal corresponds to the music mode and a low bit rate. The mode determiner 413 may provide the input signal to the frequency domain coder 414 when the coding mode is the frequency domain mode, provide the input signal to the frequency domain excitation coder 416 via the LP analyzer 415 when the coding mode is the audio mode, and provide the input signal to the time domain excitation coder 417 via the LP analyzer 415 when the coding mode is the CELP mode.
The frequency domain coder 414 may correspond to the frequency domain coder 114 in the audio encoding apparatus 110 of
The audio decoding apparatus 430 shown in
The mode determiner 433 may check coding mode information included in a bitstream and provide a current frame to the frequency domain decoder 434, the frequency domain excitation decoder 435, or the time domain excitation decoder 436.
The frequency domain decoder 434 may correspond to the frequency domain decoder 134 in the audio decoding apparatus 130 of
The frequency domain audio encoding apparatus 510 shown in
Referring to
The transformer 512 may determine a window size to be used for a transform according to a result of the detection of a transient duration and perform a time-frequency transform based on the determined window size. For example, a short window may be applied to a sub-band from which a transient duration has been detected, and a long window may be applied to a sub-band from which a transient duration has not been detected. As another example, a short window may be applied to a frame including a transient duration.
The signal classifier 513 may analyze a spectrum provided from the transformer 512 in frame units to determine whether each frame corresponds to a harmonic frame. Various well-known methods may be used for the determination of a harmonic frame. According to an exemplary embodiment, the signal classifier 513 may divide the spectrum provided from the transformer 512 into a plurality of sub-bands and obtain a peak energy value and an average energy value for each sub-band. Thereafter, the signal classifier 513 may obtain the number of sub-bands of which a peak energy value is greater than an average energy value by a predetermined ratio or above for each frame and determine, as a harmonic frame, a frame in which the obtained number of sub-bands is greater than or equal to a predetermined value. The predetermined ratio and the predetermined value may be determined in advance through experiments or simulations. Harmonic signaling information may be included in the bitstream by the multiplexer 518.
The energy coder 514 may obtain energy in each sub-band unit and quantize and lossless-encode the energy. According to an embodiment, a Norm value corresponding to average spectral energy in each sub-band unit may be used as the energy and a scale factor or a power may also be used, but the energy is not limited thereto. The Norm value of each sub-band may be provided to the spectrum normalizer 515 and the bit allocator 516 and may be included in the bitstream by the multiplexer 518.
The spectrum normalizer 515 may normalize the spectrum by using the Norm value obtained in each sub-band unit.
The bit allocator 516 may allocate bits in integer units or fraction units by using the Norm value obtained in each sub-band unit. In addition, the bit allocator 516 may calculate a masking threshold by using the Norm value obtained in each sub-band unit and estimate the perceptually required number of bits, i.e., the allowable number of bits, by using the masking threshold. The bit allocator 516 may limit that the allocated number of bits does not exceed the allowable number of bits for each sub-band. The bit allocator 516 may sequentially allocate bits from a sub-band having a larger Norm value and weigh the Norm value of each sub-band according to perceptual importance of each sub-band to adjust the allocated number of bits so that a more number of bits are allocated to a perceptually important sub-band. The quantized Norm value provided from the energy coder 514 to the bit allocator 516 may be used for the bit allocation after being adjusted in advance to consider psychoacoustic weighting and a masking effect as in the ITU-T G.719 standard.
The spectrum coder 517 may quantize the normalized spectrum by using the allocated number of bits of each sub-band and lossless-encode a result of the quantization. For example, TCQ, USQ, FPC, AVQ and PVQ or a combination thereof and a lossless encoder optimized for each quantizer may be used for the spectrum encoding. In addition, a trellis coding may also be used for the spectrum encoding, but the spectrum encoding is not limited thereto. Moreover, a variety of spectrum encoding methods may also be used according to either environments in which a corresponding codec is embodied or a user's need. Information on the spectrum encoded by the spectrum coder 517 may be included in the bitstream by the multiplexer 518.
The frequency domain audio encoding apparatus 600 shown in
Referring to
The frequency domain coder 630 may process an audio signal provided from the pre-processor 610 based on a transform coding scheme. In detail, the transient detector 631 may detect a transient component from the audio signal and determine whether a current frame corresponds to a transient frame. The transformer 633 may determine a length or a shape of a transform window based on a frame type, i.e. transient information provided from the transient detector 631 and may transform the audio signal into a frequency domain based on the determined transform window. As an example of a transform tool, a modified discrete cosine transform (MDCT), a fast Fourier transform (FFT) or a modulated lapped transform (MLT) may be used. In general, a short transform window may be applied to a frame including a transient component. The spectrum coder 635 may perform encoding on the audio spectrum transformed into the frequency domain. The spectrum coder 635 will be described below in more detail with reference to
The time domain coder 650 may perform code excited linear prediction (CELP) coding on an audio signal provided from the pre-processor 610. In detail, algebraic CELP may be used for the CELP coding, but the CELP coding is not limited thereto.
The multiplexer 670 may multiplex spectral components or signal components and variable indices generated as a result of encoding in the frequency domain coder 630 or the time domain coder 650 so as to generate a bitstream. The bitstream may be stored in a storage medium or may be transmitted in a form of packets through a channel.
The spectrum encoding apparatus shown in
Referring to
The energy quantizing and coding unit 720 may quantize and encode an estimated Norm value for each sub-band. The Norm value may be quantized by means of variable tools such as vector quantization (VQ), scalar quantization (SQ), trellis coded quantization (TCQ), lattice vector quantization (LVQ), etc. The energy quantizing and coding unit 720 may additionally perform lossless coding for further increasing coding efficiency.
The bit allocator 730 may allocate bits required for coding in consideration of allowable bits of a frame, based on the quantized Norm value for each sub-band.
The spectrum normalizer 740 may normalize the spectrum based on the Norm value obtained for each sub-band.
The spectrum quantizing and coding unit 750 may quantize and encode the normalized spectrum based on allocated bits for each sub-band.
The noise filler 760 may add noises into a component quantized to zero due to constraints of allowable bits in the spectrum quantizing and coding unit 750.
Referring to
The spectrum quantizing and encoding apparatus 900 of
Referring to
The zero coder 930 may encode all samples into 0 for a band where an allocated bit is 0.
The coefficient coder 950 may perform encoding by using a quantizer which is selected for a band where an allocated bit is not 0. In detail, the coefficient coder 950 may select an important spectral component in band units for a normalized spectrum and encode information of the selected important spectral component for each band, based on a number, a position, a magnitude, and a sign. A magnitude of an important spectral component may be encoded by a scheme which differs from a scheme of encoding a number, a position, and a sign. For example, a magnitude of an important spectral component may be quantized and arithmetic-coded by using one selected from USQ and TCQ, and a number, a position, and a sign of the important spectral component may be coding by arithmetic coding. When it is determined that a specific band includes important information, the USQ may be used, and otherwise, the TCQ may be used. According to an exemplary embodiment, one of the TCQ and the USQ may be selected based on signal characteristic. Here, the signal characteristic may include a length of each band or a number of bits allocated to each band. For example, when an average number of bits allocated to each sample included in a band is equal to greater than a threshold value (for example, 0.75), a corresponding band may be determined as including very important information, and thus, the USQ may be used. Also, in a low band where a length of a band is short, the USQ may be used depending on the case.
The scaler 951 may perform scaling on a normalized spectrum based on a number of bits allocated to a band to control a bit rate. The scaler 951 may perform scaling by considering an average bit allocation for each spectral coefficient, namely each sample included in the band. For example, as the average bit allocation becomes larger, more scaling may be performed.
The ISC selector 952 may select an ISC from the scaled spectrum for controlling the bit rate, based on a predetermined reference. The ISC selector 953 may analyze a degree of scaling from the scaled spectrum and obtain an actual nonzero position. Here, the ISC may correspond to an actual nonzero spectral coefficient before scaling. The ISC selector 953 may select a spectral coefficient (i.e., a nonzero position), which is to be encoded, by taking into account a distribution and a variance of spectral coefficients, based on a bit allocation for each band. The TCQ may be used for selecting the ISC.
The position information coder 953 may encode position information of the ISC selected by the ISC selector 952, namely, position information of the nonzero spectral coefficient. The position information may include a number and a position of selected ISCs. The arithmetic encoding may be used for encoding the position information.
The ISC collector 954 may gather the selected ISCs to construct a new buffer. A zero band and an unselected spectrum may be excluded for colleting ISCs.
The magnitude information coder 955 may perform encoding on magnitude information of a newly constructed ISC. In this case, quantization may be performed by using one selected from the TCQ and the USQ, and the arithmetic coding may be additionally performed. In order to enhance an efficiency of the arithmetic coding, nonzero position information and the number of ISCs may be used for the arithmetic coding.
The sign information coder 956 may perform encoding on sign information of the selected ISC. The arithmetic coding may be used for encoding the sign information.
The quantized component reconstructor 970 may recover a real quantized component, based on information about a position, a magnitude, and a sign of an ISC. Here, 0 may be allocated to a zero position, namely, a spectral coefficient encoded into 0.
The inverse scaler 990 may perform inverse scaling on the reconstructed quantized component to output a quantized spectral coefficient having the same level as that of the normalized spectrum. The scaler 951 and the inverse scaler 990 may use the same scaling factor.
The frequency domain audio decoding apparatus 1200 shown in
Referring to
The frequency domain decoder 1230 may operate when a coding mode is the music mode or the frequency domain mode and generate a time domain signal through a general transform decoding process when the frame error occurs and through a frame error concealment algorithm or a packet loss concealment algorithm when the frame error does not occur. In detail, the spectrum 1231 may synthesize spectral coefficients by performing spectral decoding based on a decoded parameter. The spectrum decoder 1033 will be described below in more detail with reference to
The memory update unit 1233 may update, for a next frame, the synthesized spectral coefficients, information obtained using the decoded parameter, the number of error frames which have continuously occurred until the present, information on a signal characteristic or a frame type of each frame, and the like with respect to the current frame that is a good frame. The signal characteristic may include a transient characteristic or a stationary characteristic, and the frame type may include a transient frame, a stationary frame, or a harmonic frame.
The inverse transformer 1235 may generate a time domain signal by performing a time-frequency inverse transform on the synthesized spectral coefficients.
The OLA unit 1237 may perform an OLA processing by using a time domain signal of a previous frame, generate a final time domain signal of the current frame as a result of the OLA processing, and provide the final time domain signal to a post-processor 1270.
The time domain decoder 1250 may operate when the coding mode is the speech mode or the time domain mode and generate a time domain signal by performing a general CELP decoding process when the frame error does not occur and performing a frame error concealment algorithm or a packet loss concealment algorithm when the frame error occurs.
The post-processor 1270 may perform filtering, up-sampling, or the like for the time domain signal provided from the frequency domain decoder 1230 or the time domain decoder 1250, but is not limited thereto. The post-processor 1270 provides a reconstructed audio signal as an output signal.
The spectrum decoding apparatus 1300 shown in
Referring to
The bit allocator 1330 may allocate required bits in sub-band units based on the quantized Norm value or the dequantized Norm value. In this case, the number of bits allocated in sub-band units may be the same as the number of bits allocated in the encoding process.
The spectrum decoding and dequantizing unit 1350 may generate normalized spectral coefficients by performing lossless decoding on encoded spectral coefficients based on the number of bits allocated in sub-band units and dequantizing the decoded spectral coefficients.
The noise filler 1370 may fill noises in a part requiring noise filling in sub-band units from among the normalized spectral coefficients.
The spectrum shaping unit 1390 may shape the normalized spectral coefficients by using the dequantized Norm value. Finally decoded spectral coefficients may be obtained through the spectrum shaping process.
The spectrum decoding and dequantizing apparatus 1400 of
Referring to
The zero decoder 1430 may decode all samples into 0 for a band where an allocated bit is 0.
The coefficient decoder 1450 may perform decoding by using a quantizer which is selected for a band where an allocated bit is not 0. The coefficient decoder 1450 may obtain information of an important spectral component in band units for an encoded spectrum and decode information of the obtained information of the important spectral component, based on a number, a position, a magnitude, and a sign. A magnitude of an important spectral component may be decoded by a scheme which differs from a scheme of decoding a number, a position, and a sign. For example, a magnitude of an important spectral component may be arithmetic-decoded and dequantized by using one selected from the USQ and the TCQ, and arithmetic decoding may be performed for a number, a position, and a sign of the important spectral component. A selection of a dequantizer may be performed by using the same result as the coefficient coder 950 of
The position information decoder 1451 may decode an index associated with position information included in a bitstream to restore a number and a position of ISCs. The arithmetic decoding may be used for decoding the position information. The magnitude information decoder 1453 may perform the arithmetic decoding on the index associated with the magnitude information included in the bitstream, and dequantize the decoded index by using one selected from the USQ and the TCQ. Nonzero position information and the number of ISCs may be used for enhancing an efficiency of the arithmetic decoding. The sign information decoder 1455 may decode an index associated with sign information included in the bitstream to restore a sign of ISCs. The arithmetic decoding may be used for decoding the sign information. According to an exemplary embodiment, the number of pulses necessary for a nonzero band may be estimated, and may be used for decoding magnitude information or sign information.
The quantized component reconstructor 1470 may recover an actual quantized component, based on information about the restored position, magnitude, and sign of the ISC. Here, 0 may be allocated to a zero position, namely, an unquantized part which is a spectral coefficient decoded into 0.
The inverse scaler 1490 may perform inverse scaling on the recovered quantized component to output a quantized spectral coefficient having the same level as that of the normalized spectrum.
Referring to
The communication unit 1510 may receive at least one of an audio signal or an encoded bitstream provided from the outside or may transmit at least one of a reconstructed audio signal or an encoded bitstream obtained as a result of encoding in the encoding module 1530.
The communication unit 1510 is configured to transmit and receive data to and from an external multimedia device or a server through a wireless network, such as wireless Internet, wireless intranet, a wireless telephone network, a wireless Local Area Network (LAN), Wi-Fi, Wi-Fi Direct (WFD), third generation (3G), fourth generation (4G), Bluetooth, Infrared Data Association (IrDA), Radio Frequency Identification (RFID), Ultra WideBand (UWB), Zigbee, or Near Field Communication (NFC), or a wired network, such as a wired telephone network or wired Internet.
According to an exemplary embodiment, the encoding module 1530 may select an ISC in band units for a normalized spectrum and encode information of the selected important spectral component for each band, based on a number, a position, a magnitude, and a sign. A magnitude of an important spectral component may be encoded by a scheme which differs from a scheme of encoding a number, a position, and a sign. For example, a magnitude of an important spectral component may be quantized and arithmetic-coded by using one selected from USQ and TCQ, and a number, a position, and a sign of the important spectral component may be coding by arithmetic coding. According to an exemplary embodiment, the encoding module 1530 may perform scaling on the normalized spectrum based on bit allocation for each band and select an ISC from the scaled spectrum.
The storage unit 1550 may store the encoded bitstream generated by the encoding module 1530. In addition, the storage unit 1550 may store various programs required to operate the multimedia device 1500.
The microphone 1570 may provide an audio signal from a user or the outside to the encoding module 1530.
Referring to
The communication unit 1610 may receive at least one of an audio signal or an encoded bitstream provided from the outside or may transmit at least one of a reconstructed audio signal obtained as a result of decoding in the decoding module 1630 or an audio bitstream obtained as a result of encoding. The communication unit 1610 may be implemented substantially and similarly to the communication unit 1510 of
According to an exemplary embodiment, the decoding module 1630 may receive a bitstream provided through the communication unit 1610 and obtain information of an important spectral component in band units for an encoded spectrum and decode information of the obtained information of the important spectral component, based on a number, a position, a magnitude, and a sign. A magnitude of an important spectral component may be decoded by a scheme which differs from a scheme of decoding a number, a position, and a sign. For example, a magnitude of an important spectral component may be arithmetic-decoded and dequantized by using one selected from the USQ and the TCQ, and arithmetic decoding may be performed for a number, a position, and a sign of the important spectral component.
The storage unit 1650 may store the reconstructed audio signal generated by the decoding module 1630. In addition, the storage unit 1650 may store various programs required to operate the multimedia device 1600.
The speaker 1670 may output the reconstructed audio signal generated by the decoding module 1630 to the outside.
Referring to
Since the components of the multimedia device 1700 shown in
Each of the multimedia devices 1500, 1600, and 1700 shown in
When the multimedia device 1500, 1600, or 1700 is, for example, a mobile phone, although not shown, the multimedia device 1500, 1600, or 1700 may further include a user input unit, such as a keypad, a display unit for displaying information processed by a user interface or the mobile phone, and a processor for controlling the functions of the mobile phone. In addition, the mobile phone may further include a camera unit having an image pickup function and at least one component for performing a function required for the mobile phone.
When the multimedia device 1500, 1600, or 1700 is, for example, a TV, although not shown, the multimedia device 1500, 1600, or 1700 may further include a user input unit, such as a keypad, a display unit for displaying received broadcasting information, and a processor for controlling all functions of the TV. In addition, the TV may further include at least one component for performing a function of the TV.
The above-described exemplary embodiments may be written as computer-executable programs and may be implemented in general-use digital computers that execute the programs by using a non-transitory computer-readable recording medium. In addition, data structures, program instructions, or data files, which can be used in the embodiments, can be recorded on a non-transitory computer-readable recording medium in various ways. The non-transitory computer-readable recording medium is any data storage device that can store data which can be thereafter read by a computer system. Examples of the non-transitory computer-readable recording medium include magnetic storage media, such as hard disks, floppy disks, and magnetic tapes, optical recording media, such as CD-ROMs and DVDs, magneto-optical media, such as optical disks, and hardware devices, such as ROM, RAM, and flash memory, specially configured to store and execute program instructions. In addition, the non-transitory computer-readable recording medium may be a transmission medium for transmitting signal designating program instructions, data structures, or the like. Examples of the program instructions may include not only mechanical language codes created by a compiler but also high-level language codes executable by a computer using an interpreter or the like.
While the exemplary embodiments have been particularly shown and described, it will be understood by those of ordinary skill in the art that various changes in form and details may be made therein without departing from the spirit and scope of the inventive concept as defined by the appended claims. It should be understood that the exemplary embodiments described therein should be considered in a descriptive sense only and not for purposes of limitation. Descriptions of features or aspects within each exemplary embodiment should typically be considered as available for other similar features or aspects in other exemplary embodiments.
This application is a Continuation Application of U.S. application Ser. No. 15/022,406, filed on Mar. 16, 2016, which is a National Stage of International Application No. PCT/KR2014/008627, filed on Sep. 16, 2014, which claims the benefit of U.S. Provisional Application No. 61/878,172, filed on Sep. 16, 2013, in the US Patent Office, the disclosures of which are incorporated herein in their entireties by reference.
Number | Date | Country | |
---|---|---|---|
61878172 | Sep 2013 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 15022406 | Mar 2016 | US |
Child | 16282677 | US |