Decoder system, decoding method, and computer program

The complex predictive stereo coding system addresses inefficiencies in high-bitrate stereo coding by using oversampled representations and critical MDCT transforms, ensuring high-quality audio reproduction with reduced computational complexity and flexibility in coding modes.

JP7955437B2Active Publication Date: 2026-11-24DOLBY INTERNATIONAL AB
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
JP2025106047
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2010-04-09
Filing Date
2025-06-24
Publication Date
2026-11-24
Estimated Expiration
2031-04-06

AI Technical Summary

Technical Problem

Existing stereo coding methods, particularly in high bitrates, face inefficiencies due to computational complexity and the use of QMF-based approaches that introduce delay and artifacts, making them unsuitable for high-quality audio reproduction.

Method used

A decoder and encoder system utilizing complex predictive stereo coding with oversampled representations, allowing for efficient stereo signal reconstruction by transforming the downmix and residual signals into multidimensional subspaces, and using critical MDCT transforms to minimize computational complexity and delay.

Benefits of technology

The system achieves high-quality stereo coding at high bitrates with reduced computational load, maintaining or exceeding the sound quality of conventional methods while avoiding artifacts, and allowing flexibility between direct and predictive coding modes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007955437000014
    Figure 0007955437000014
  • Figure 0007955437000015
    Figure 0007955437000015
  • Figure 0007955437000016
    Figure 0007955437000016
Patent Text Reader

Abstract

To provide methods and apparatus for stereo coding that are computationally efficient also in high bit-rate range.SOLUTION: The invention provides methods and devices for stereo encoding and decoding using complex prediction in a frequency domain. In one embodiment, a decoding method, for obtaining an output stereo signal from an input stereo signal encoded by complex prediction coding and having first frequency-domain representations representing two input channels, includes the upmixing steps of: (i) computing a second frequency-domain representation of a first input channel; and (ii) computing an output channel on the basis of the first and second frequency-domain representations of the first input channel, the first frequency-domain representation of the second input channel, and a complex prediction coefficient. The upmixing can be suspended responsive to control data.SELECTED DRAWING: Figure 2
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field]

[0001] The invention disclosed herein relates in general to stereo audio coding, and more specifically to a stereo coding method using complex prediction in the frequency domain. [Background technology]

[0002] Joint coding of the left (L) and right (R) channels of a stereo signal is more efficient than coding L and R independently. A common approach to joint stereo coding is mid / side (M / S) coding. Here, the mid (M) signal is constructed by adding the L and R signals, for example, the M signal is

number

number

[0003] The MPEG (Moving Picture Experts Group) AAC (Advanced Audio Coding) standard (see standard document ISO / IEC 13818-7) allows for the selection of L / R stereo coding and M / S stereo coding with variable frequency and time. Thus, a stereo encoder can apply L / R coding to a certain frequency band of a stereo signal, while using M / S coding to encode other frequency bands of that stereo signal (variable frequency). Furthermore, the encoder can switch between L / R coding and M / S coding in time (variable time). In MPEG AAC, stereo encoding is performed in the frequency domain, more specifically in the MDCT (Modified Discrete Cosine Transform) domain. This allows for the adaptive selection of either L / R coding or M / S coding with variable frequency and time.

[0004] Parametric stereo coding is a technique for efficiently encoding stereo audio signals as a mono signal and a small amount of side information that serves as stereo parameters. It is part of the MPEG-4 audio standard (see standard document ISO / IEC 14496-3). The mono signal can be encoded using any audio encoder. Since the stereo parameters are incorporated into the mono bit stream, it is fully forward and backward compatible. In the decoder, the mono signal is decoded first, and then the stereo signal is reconstructed using the stereo parameters. The decoded mono signal is uncorrelated (decorrelated version), which has zero cross-correlation with the mono signal. This uncorrelated signal is generated by a decorrelator, for example, using an appropriate all-pass filter including a delay line. Essentially, the uncorrelated signal has the same spectral and temporal energy distribution as the mono signal. The mono signal, along with the uncorrelated signal, is input to an upmixing process. This process is controlled by the stereo parameters and reconstructs the stereo signal. For further information, see Non-Patent Literature 1.

[0005] MPEG Surround (MPS; see ISO / IEC 23003-1 and Non-Patent Literature 2) combines the principles of parametric stereo coding with residual coding, improving perceptible sound quality by replacing uncorrelated signals with transmitted residuals. Residual coding is performed by downmixing multi-channel signals and optionally extracting spatial cues. In the downmixing process, residual signals representing error signals are calculated, encoded, and transmitted. The residual signals replace the uncorrelated signals in the decoder. In the hybrid approach, the residual signals replace the uncorrelated signals in a certain frequency band, preferably a relatively low band.

[0006] Current MPEG Unified Speech and Audio Coding (USAC) systems, as shown in two examples in Figure 1, have a complex-value quadrature mirror filter (QMF) bank located downstream of the core decoder. The QMF representation obtained as the output of this filter bank is complex-value and therefore oversampled by a factor of two, and can be constructed as a downmix signal (i.e., mid-signal) M and a residual signal D. An upmix matrix with complex-value components can be used for this. The L and R signals (in the QMF region) are

number

[0007] The above coding configuration is well-suited for low bitrates, generally below 80kb / s, but is not optimal for high bitrates due to computational complexity. More specifically, at high bitrates, SBR tools are generally not used (as they do not improve coding efficiency). Furthermore, decoders without an SBR stage use a QMF filter bank due to the complex upmix matrix, which is computationally intensive and introduces delay (for a frame length of 1024 samples, the QMF analysis / synthesis filter bank introduces a delay of 961 samples). This clearly demonstrates the need for a more efficient coding configuration. [Prior art documents] [Non-patent literature]

[0008] [Non-Patent Document 1] H. Purnhagen, "Low Complexity Parametric Stereo Coding in MPEG-4", Proc. of the 7th Int. Conference on Digital Audio Effects (DAFx'04), Naples, Italy, October 5-8, 2004, pages 163-168 [Non-Patent Document 2] J. Herre et al., "MPEG Surround - The ISO / MPEG Standard for Efficient and Compatible Multi- Channel Audio Coding", Audio Engineering Convention Paper 7084, 122 <nd>Convention, May 5-8, 2007 [Overview of the Initiative] [Means for solving the problem]

[0009] One objective of the present invention is to provide a method and apparatus for performing highly computationally efficient stereo coding even in high bitrate ranges.

[0010] The present invention achieves this objective by providing a coder and decoder, coding and decoding methods, and computer program products for coding and decoding as defined in the independent claims. Dependent claims define embodiments of the present invention.

[0011] In a first aspect, the present invention provides the following system: a decoder system that provides a stereo signal by complex predictive stereo coding: An upmixing step configured to generate the stereo signal based on a first frequency domain representation of a downmix signal (M) and a residual signal (D), wherein each first frequency domain representation has an upmixing step having a first spectral component representing the spectral content of the corresponding signal represented in a first subspace of a multidimensional space, and the upmixing step is A module for calculating a second frequency domain representation of a downmix signal based on a first frequency domain representation of the downmix signal, wherein the second frequency domain representation has a second spectral component representing the spectral content of the signal represented in the second subspace of the multidimensional space, which includes a portion of the multidimensional space not included in the first subspace. An upmixing step having first and second frequency domain representations of the downmix signal encoded in the bitstream signal, a first frequency domain representation of the residual signal, and a weighted adder that calculates a side signal (S) based on a complex prediction coefficient (α), comprising a sum-difference step of calculating the stereo signal based on a first frequency-domain representation of the downmix signal and the side signal, wherein the upmix step is further operable in a pass-through mode in which the downmix signal and a residual signal are directly supplied to the sum-difference step.

[0012] In a second aspect, the present invention provides the following system. In particular, an encoder system for encoding a stereo signal into a bitstream signal by complex predicted stereo coding, comprising an estimator for estimating a complex prediction coefficient, (a) an encoding step operable to transform the stereo signal into a frequency-domain representation of a downmix signal and a residual signal having a relation determined by a value of the complex prediction coefficient, and a multiplexer for receiving an output from the encoding step and the estimator and encoding the output into the bitstream signal.

[0013] In third and fourth aspects of the present invention, there are provided a method of encoding a stereo signal into a bitstream and a method of decoding a bitstream into at least one stereo signal. The technical features of each method are similar to the technical features of the encoder system and the decoder system, respectively. In fifth and sixth aspects, the present invention provides computer program products comprising instructions for performing each method on a computer.

[0014] This invention benefits from the advantages of unified stereo coding in the MPEG USAC system. These advantages are preserved even at high bitrates without significantly increasing the computational complexity associated with QMF-based approaches where SBR is not commonly used. This is possible because critically sampled MDCT transforms, while fundamental to MPEG USAC transforms, can also be used with complex predictive stereo coding, at least when the downmix and residual channel code audio bandwidths are the same and the upmix process does not involve decorrelation. This means that additional QMF transforms are no longer required. Typical embodiments of complex predictive stereo coding in the QMF domain significantly increase the number of operations per unit time compared to conventional L / R or M / S stereo. Therefore, the coding device according to the present invention appears to be competitive at such bitrates, providing high sound quality with a modest computational load.

[0015] As those skilled in the art will notice, the fact that the upmixing stage can also operate in pass-through mode allows the decoder to adaptively decode using conventional direct coding or simultaneous coding, as well as complex predictive coding, at the discretion of the encoder. Thus, even if the decoder cannot increase the sound quality level more aggressively than conventional direct L / R stereo coding or simultaneous M / S stereo coding, it can be guaranteed to maintain at least the same level. Therefore, a decoder according to this aspect of the present invention can be considered a superset of the background art from a functional standpoint.

[0016] An advantage over QMF-based predictive coding stereo is that it allows for complete reconstruction of the signal (except for arbitrarily small quantization errors).

[0017] Thus, the present invention provides an encoding device that performs transformation-based stereo coding using complex prediction. Preferably, the device according to the present invention is not limited to complex prediction stereo coding, but can also operate with direct L / R stereo coding or simultaneous M / S coding using background technology, allowing the most suitable encoding method to be selected for a specific application or time period.

[0018] An oversampled representation of a signal (e.g., a complex representation) includes both the first and second spectral components and is used as the basis for the complex prediction according to the present invention. Thus, a module for computing such an oversampled representation is configured in the encoder and decoder system according to the present invention. The spectral components refer to the first and second subspaces of a multidimensional space. These are a set of time-dependent functions of a given temporal length (e.g., the length of a given time frame) sampled at a finite sampling frequency. It is well known that functions in this multidimensional space can be approximated by a finite weighted sum of basis functions.

[0019] As will be apparent to those skilled in the art, an encoder configured to work with a decoder is provided with an equivalent module that provides an oversampled representation on which predictive coding is based, enabling faithful reproduction of the encoded signal. Such an equivalent module is the same or similar module, or a module having the same or similar transfer characteristics. In particular, the encoder and decoder modules may each be similar or dissimilar units that run computer programs that perform equivalent mathematical operations.

[0020] In some embodiments of decoder and encoder systems, the first spectral component has real values ​​represented in a first subspace, and the second spectral component has imaginary values ​​represented in a second subspace. The first and second spectral components together constitute a complex spectral representation of the signal. The first subspace is the linear span of the first set of basis functions, and the second subspace is the linear span of the second set of basis functions, a portion of which is linearly independent of the first set of basis functions.

[0021] In one embodiment, the module for calculating the complex representation is a module that calculates the imaginary part of the spectrum of a discrete-time signal based on a real-imaginary transformation, i.e., a real spectral representation of the signal. This transformation is based on exact or approximate mathematical relationships, such as equations derived from harmonic analysis or heuristic relations.

[0022] In some embodiments of a decoder or encoder system, the first spectral component is obtained by a time-frequency transformation of a discrete time-domain signal, preferably by a Fourier transform, such as the discrete cosine transform (DCT), modified discrete cosine transform (MDCT), discrete sine transform (DST), modified discrete sine transform (MDCT), fast Fourier transform (FFT), or a prime-factor-based Fourier algorithm. In the first four cases, the second spectral component is obtained by DST, MDST, DCT, and MDCT, respectively. As is well known, the linear span of a cosine periodic over a unit period constitutes a subspace that is not entirely contained within the linear span of a sine periodic over the same period. Preferably, the first spectral component is obtained by MDCT and the second spectral component is obtained by MDST.

[0023] In one embodiment, the decoder system includes at least one temporal noise shaping module (TNS module, i.e., TNS filter), which is placed upstream of the upmix stage. Generally speaking, the use of TNS improves the perceived sound quality of signals with transient components, and this is also true of embodiments of the decoder system of the present invention having TNS. In conventional L / R and M / S stereo coding, the TNS filter is applied as the final processing step in the frequency domain, immediately before the inverse transform. However, in the case of complex predictive stereo coding, it is often advantageous to apply the TNS filter to the downmix and residual signals, i.e., before the upmix matrix. In other words, TNS is applied to the linear combination of the left and right channels, which has several advantages. First, in some situations, TNS is advantageous only for the downmix signal, for example. Second, TNS filtering can be omitted for the residual signal, which means economical use of available bandwidth. The TNS filter coefficients only need to be transmitted for the downmix signal. Secondly, while the calculation of the oversampled representation of the downmix signal (for example, MDST data is obtained from MDCT data to construct a complex frequency-domain representation) is necessary in complex predictive coding, it requires that the time-domain representation of the downmix signal is computable. This means that the downmix signal can preferably be used as a time sequence of uniformly obtained MDCT spectra. If a TNS filter is applied in the decoder after an upmix matrix that converts the downmix / residual representation to the left / right representation, only a sequence of the TNS residual MDCT spectrum of the downmix signal is obtained. This makes the efficient calculation of the corresponding MDST spectrum extremely difficult, especially when the left / right channels use TNS filters with different characteristics.

[0024] It should be emphasized that the availability of a time sequence of the MDCT spectrum is not an absolute criterion for obtaining an MDST representation that is fitted to function as the basis for complex predictive coding. In addition to experimental evidence, this fact can generally be explained by the fact that TNS is applied only to high frequencies, for example, above a few kilohertz, such that the TNS-filtered residual signal approximately corresponds to the unfiltered residual signal at low frequencies. Thus, the present invention can be implemented as a decoder performing complex predictive stereo coding, in which the TNS filter is placed outside the upmixing stage, as described below.

[0025] In one embodiment, the decoder system includes at least one non-TNS module located downstream of the upmix stage. A selector device allows for the selection of either an upstream or downstream TNS module of the upmix stage. Under certain circumstances, the calculation of the complex frequency-domain representation does not require that the time-domain representation of the downmix signal be computable. Furthermore, as described above, the decoder can operate selectively in direct or simultaneous coding mode without applying complex predictive coding, and it is preferable to use the TNS module in a conventional location, i.e., as one of the final processing steps in the frequency domain.

[0026] In one embodiment, the decoder system is configured to conserve processing resources and, potentially, energy, by deactivating a module that calculates a second frequency-domain representation of the downmix signal. The downmix signal is partitioned into consecutive time blocks, each time block associated with a value of a complex prediction coefficient. This value is determined by a decision made for each time block by an encoder working in cooperation with the decoder. Furthermore, in this embodiment, the module that calculates the second frequency-domain representation of the downmix signal is configured to deactivate itself if, for a given time block, the absolute value of the imaginary part of the complex prediction coefficient is zero or less than a predetermined tolerance. Deactivating the module means that the second frequency-domain representation of the downmix signal is not calculated for that time block. If deactivation is not performed, the second frequency-domain representation (e.g., a set of MDST coefficients) is multiplied by zero or a number of approximately the same order as the decoder's machine epsilon (rounding unit) or other preferred threshold.

[0027] In a further development of the above embodiment, processing resources are saved at sublevels of time blocks in which the downmix signal is partitioned. For example, such sublevels within a time block are frequency bands, and the encoder determines the value of a complex prediction coefficient for each frequency band within the time block. Similarly, the method for generating a second frequency domain representation is configured to suppress calculations for frequency bands within a time block where the complex prediction coefficient is zero or its magnitude is smaller than an acceptable value.

[0028] In one embodiment, the first spectral component is a conversion coefficient arranged in a time block of conversion coefficients, each block being generated by applying a conversion of a time-domain signal to a time segment. Furthermore, a module for calculating a second frequency-domain representation of the downmix signal is: • Determine the first intermediate component from the first spectral component, - A second intermediate component is obtained by forming a coupling of the first spectral component using at least a portion of the impulse response. • The system is configured to determine the second spectral component from the second intermediate component. This procedure allows for the direct calculation of a second frequency-domain representation from a first frequency-domain representation, as described in detail in U.S. Patent No. 6,980,933B2, particularly in columns 8 to 28, and especially in formula 41. As those skilled in the art will notice, unlike inverse transformations which involve different transformations, the calculation is not performed in the time domain.

[0029] In the embodiment of complex predictive stereo coding according to the present invention, the computational complexity is estimated to increase only slightly compared to conventional L / R or M / S stereo (significantly less than the increase caused by complex predictive stereo coding in the QMF region). This type of embodiment, which involves the exact calculation of the second spectral component, results in a delay that is only a few percent longer than that caused by the QMF-based embodiment (assuming a time block length of 1024 samples, compared to the delay of 961 samples in the QMF analysis / synthesis filter bank).

[0030] Preferably, in at least some of the embodiments described above, the impulse response is adapted to a conversion to obtain a first frequency domain representation, or more precisely, a conversion determined by its frequency response characteristics.

[0031] In some embodiments, a first frequency-domain representation of the downmix signal is obtained by a transformation applied to one or more analytical window functions (or cutoff functions, such as a rectangular window, sinusoidal window, or Kaiser-Bessel window), with one objective being to achieve temporal segmentation without introducing dangerous noise levels or undesirable changes to the spectrum. In some cases, such window functions partially overlap. Preferably, the frequency response characteristics of the transformation depend on the characteristics of the one or more analytical window functions.

[0032] By further reference to embodiments featuring the calculation of a second frequency-domain representation in the frequency domain, the computational load can be reduced by using an approximate second frequency-domain representation. Such an approximation can be achieved by not requiring completeness in the information on which the calculation is based. For example, according to the teaching in U.S. Patent No. 6,980,933B2, first frequency-domain data from three time blocks, namely the output block and its simultaneous block, the preceding block, and the subsequent block, is necessary for the exact calculation of the second frequency-domain representation of a downmix signal in a block. For the purpose of complex predictive coding according to the present invention, a suitable approximation can be obtained by omitting or replacing with zeros the data from the subsequent block and / or the preceding block (which is due to module operation and does not contribute to delay), so that the calculation of the second frequency-domain representation is based on only one or two time blocks. It should be noted that omitting input data implies a rescaling of the second frequency-domain representation, for example, in the sense that it no longer represents the same power. However, as mentioned above, it can be used as the basis for complex predictive coding, as long as it is calculated in an equivalent manner on both the encoder and decoder sides. Indeed, this type of rescaling is compensated for by the corresponding change in the predictive coefficient value.

[0033] Another approximation method for calculating the spectral components that constitute part of the second frequency-domain representation of a downmix signal involves combining at least two components from the first frequency-domain representation. The latter components are adjacent with respect to time and / or frequency. Alternatively, the latter components can be combined by finite impulse response (FIR) filtering in a relatively small number of steps. For example, in a system using a time block size of 1024, such an FIR filter would include 2, 3, 4, etc., taps. A description of this type of approximation method can be found, for example, in U.S. Patent Application Publication 2005 / 0197831A1. If a window function that gives relatively small weights to the neighborhoods of each time block boundary is used, for example, a non-rectangular function, it is convenient to base the second spectral component of a time block only on combinations of the first spectral components of the same time block, but the same amount of information about the outermost components will not be obtained. The approximation errors that may arise from such practice can be suppressed to some extent or concealed by the shape of the window function.

[0034] In one embodiment of a decoder designed to output a time-domain stereo signal, it may be possible to switch between direct or simultaneous stereo coding and complex predictive coding. This can be achieved by providing the following: A switch that can selectively operate as a pass-through stage (without changing the signal) or as a sum / difference converter; • Inverse conversion stage that performs frequency-time conversion; and A selector device that inputs a directly (or simultaneously) encoded signal, or a signal encoded by complex prediction, into the inverse transform stage. As those skilled in the art will notice, such flexibility on the decoder side gives the encoder the freedom to choose between conventional direct or simultaneous coding and complex predictive coding. Therefore, this embodiment can guarantee that, if it cannot surpass the sound quality level of conventional direct L / R stereo coding or simultaneous M / S stereo coding, it will at least maintain the same level. Thus, the decoder according to this embodiment can be considered a superset of related technologies.

[0035] Another group of embodiments of the decoder system calculates the second spectral component of the second frequency-domain representation via the time domain. More precisely, it applies the inverse transform of the transform from which the first spectral component was obtained (or can be obtained), and then performs a different transform having the second spectral component as its output. Specifically, it performs an inverse MDCT followed by an MDST. In such embodiments, to reduce the number of transforms and inverse transforms, the output of the inverse MDCT is sent to the MDST and the output terminal of the decoding system (which may be preceded by further processing steps).

[0036] In the case of the embodiment of complex predictive stereo coding according to the present invention, the computational complexity is expected to increase only slightly compared to conventional L / R or M / S stereo (significantly less than the increase caused by complex predictive stereo coding in the QMF domain).

[0037] As a further development of the embodiment mentioned in the preceding paragraph, the upmix stage may have a further inverse transformation stage for processing the side signals. The sum / difference stage is then supplied with the time-domain representation of the side signals generated by the further inverse transformation stage and the time-domain representation of the downmix signal generated by the aforementioned inverse transformation. Again, for convenience from the standpoint of computational complexity, the latter signal is supplied to both the sum / difference stage and a different transformation stage.

[0038] In one embodiment, a decoder designed to output a time-domain stereo signal is switchable between direct L / R stereo coding or simultaneous M / S stereo coding and complex predictive stereo coding. This can be achieved by providing the following: A switch that can operate as a pass-through stage or as a sum / difference stage; • A further inverse transformation step to calculate the time-domain representation of the side signals; A selector device that connects the inverse transform stage to a further sum-and-difference stage connected to a point upstream of the upmix and downstream of the switch (preferably when the switch is activated and functions as a pass filter, as in the case of decoding a stereo signal generated by complex predictive coding), or to a combination of the downmix signal from the switch and the side signal from the weighted adder (preferably when the switch is activated and functions as a sum-and-difference stage, as in the case of decoding a directly coded stereo signal). As those skilled in the art will notice, this gives the encoder the freedom to choose between conventional direct or simultaneous coding and complex predictive coding, that is, it can guarantee a sound quality level at least equivalent to that of direct or simultaneous stereo coding.

[0039] In one embodiment, an encoder system according to a second aspect of the present invention includes an estimator for estimating complex prediction coefficients for the purpose of reducing or minimizing the signal power or average signal power of a residual signal. Minimization is performed over a period of time, preferably over a time segment, time block, or time frame to be encoded. The square of the amplitude can be used as a measure of instantaneous signal power, and the integral of the square of the amplitude over a one-hour interval can be used as a measure of average signal power over that time interval. Preferably, the complex prediction coefficients can be determined for each time block and for each frequency band. That is, their values ​​are set to reduce the average power (i.e., total energy) of the residual signal in that time block and frequency band. Specifically, a module for estimating parametric stereo coding parameters such as IID, ICC, and IPD or similar parameters provides an output that can calculate the complex prediction coefficients by mathematical relationships known to those skilled in the art.

[0040] In one embodiment, the encoding stage of the encoder system also functions as a pass-through stage to enable direct stereo encoding. In situations where direct stereo encoding is expected to provide higher sound quality, by selecting it, the encoder system can ensure that the encoded stereo signal has at least the same sound quality as the direct encoding. Similarly, in situations where the significant computational load caused by complex predictive encoding is undesirable, even if it significantly improves sound quality, the encoder system readily has options available to conserve computational resources. The decision between simultaneous, direct predictive encoding and complex predictive encoding in the coder is generally based on the principle of rate / distortion optimization.

[0041] In one embodiment, the encoder system has a module that computes a second frequency-domain representation directly based on a first spectral component (i.e., without applying an inverse transform to the time domain and without using time-domain data of the signal). With respect to the corresponding embodiment of the decoder system described above, this module has a similar configuration, i.e., similar, but differently ordered processing operations, and is configured such that the encoder outputs data suitable for the decoder-side input. For the purpose of illustrating this embodiment, it is assumed that the stereo signal to be encoded has mid and side channels, or is converted to this configuration, and the encoding stage is configured to receive a first frequency-domain representation. The encoding stage has a module that computes a second frequency-domain representation of the mid channel. (The first and second frequency-domain representations referred to herein are as defined above; specifically, the first frequency-domain representation may be an MDCT representation and the second frequency-domain representation may be an MDST representation.) The encoding stage further has a weighted adder that computes a residual signal as a linear combination of the side signal and the two frequency-domain representations of the mid signal, weighted by the real and imaginary parts of complex prediction coefficients. The mid-range signal, or preferably its first frequency-domain representation, is used directly as the downmix signal. In this embodiment, the estimator further determines the value of the complex prediction coefficients for the purpose of minimizing the power or average signal power of the residual signal. The final operation (optimization) is performed by feedback control, and if necessary, by feedback control in which the estimator receives the residual signal obtained by the current prediction coefficient value to be adjusted, or by feedforward calculations performed directly on the left / right or mid / side channels of the original stereo signal. A feedforward method is preferred in which the complex prediction coefficients are calculated directly (particularly non-repetitive or non-feedback) based on the first and second frequency-domain representations of the mid-range signal and the first frequency-domain representation of the side signal. It should be noted that after determining the complex prediction coefficients, a decision is made on whether to perform direct real-time prediction coding or complex prediction coding, taking into account the quality obtained with each option (preferably, for example, perceptual quality considering signal-to-mask effects).Therefore, the above statement should not be interpreted as meaning that the encoder does not have a feedback mechanism.

[0042] In one embodiment, the encoder system has a module that calculates a second frequency-domain representation of the mid (i.e., downmix) signal over the time domain. Details of the implementation of this embodiment are similar, at least with respect to the calculation of the second frequency-domain representation, and can be carried out in the same manner as in the corresponding decoder embodiment. In this embodiment, the encoding steps include: • The sum and difference steps that convert a stereo signal into mid-channel and side-channel signals; • A conversion step that provides a frequency domain display of the side channel and a complex value (i.e., oversampled) frequency domain display of the mid channel; and A weighted adder that calculates residual signals using complex prediction coefficients as weights. Here, the estimator receives the residual signal and, possibly in a feedback control manner, determines complex prediction coefficients that reduce or minimize the power or average power of the residual signal. However, preferably, the estimator receives the stereo signal to be encoded and determines the prediction coefficients based on it. Using a critically sampled frequency-domain representation of the side channel is advantageous from a computational economics standpoint, since in this embodiment the side channel is not multiplied with a complex number. Preferably, the conversion steps may include MDCT and MDST steps configured in parallel, both of which take a time-domain representation of the mid-channel as input. In this way, an oversampled frequency-domain representation of the mid-channel and a critically sampled frequency-domain representation of the side channel are generated.

[0043] It should be noted that the methods and apparatus disclosed in this section can be applied to the coding of signals with more than two channels with appropriate modifications, within the scope of the skills of those skilled in the art, including ordinary experiments. Such modifications to enable multi-channel operability can be made, for example, in accordance with sections 4 and 5 of the paper by J. Herre et al. cited above.

[0044] In yet another embodiment, features of two or more embodiments described above may be combined, unless they are clearly complementary. The fact that two features are described in different claims does not mean they cannot be combined. Similarly, in yet another embodiment, features that are not necessary or essential for the desired purpose may be omitted. As an example, the decoding system according to the present invention may be implemented without a dequantization step if the encoded signal to be processed is not quantized or is already in a format suitable for processing in the upmixing step. [Brief explanation of the drawing]

[0045] The present invention will be further described by embodiments described in the following sections with reference to the attached drawings. [Figure 1A] This is a block diagram of a QMF-based decoder based on background technology. [Figure 1B] This is a block diagram of a QMF-based decoder based on background technology. [Figure 2] A block diagram shows an MDCT-based stereo decoder system with complex prediction according to one embodiment of the present invention. The complex representation of the channels of the decoded signal is calculated in the frequency domain. [Figure 3] This is a block diagram of an MDCT-based stereo decoder system with complex prediction according to one embodiment of the present invention. The complex representation of the channels of the decoded signal is calculated in the time domain. [Figure 4] This figure shows another embodiment of the decoder system shown in Figure 2. The position of the active TNS stage is selectable. [Figure 5] This is a block diagram showing an MDCT-based stereo encoder system with complex prediction according to another embodiment of the present invention. [Figure 6] This is a block diagram of an MDCT-based stereo encoder system with complex prediction according to one embodiment of the present invention. The complex representation of the channels of the signal to be encoded is calculated based on their time-domain representation. [Figure 7] This figure shows another embodiment of the encoder system shown in Figure 6. This system can also operate in direct L / R encoding mode. [Figure 8] This is a block diagram of an MDCT-based stereo encoder system with complex prediction according to one embodiment of the present invention. The complex representation of the channels of the signal to be encoded is calculated based on their first frequency domain representation. This system can also operate in direct L / R encoding mode. [Figure 9] This figure shows another embodiment of the encoder system shown in Figure 7. This system further includes a TNS stage located downstream of the encoding stage. [Figure 10] Figures 2 and 8 show another embodiment of the portion indicated by label A. [Figure 11] This figure shows another embodiment of the encoder system shown in Figure 8. This system further includes frequency domain modification devices positioned upstream and downstream of the encoding stage, respectively. [Figure 12] This graph shows the results of listening tests at 96kb / s from 6 subjects, illustrating different complexity vs. sound quality trade-off options for calculating or approximating the MDST spectrum. Here, data points labeled "+" indicate the hidden criterion. "×" indicates a 3.5kHz bandwidth-limiting anchor. "*" indicates conventional stereo (M / S or L / R) by USAC. "□" indicates MDCT domain unified stereo coding with complex prediction, disabling the imaginary part of the prediction coefficients (i.e., real-valued prediction that does not require MDST). "■" indicates MDCT domain unified stereo coding with complex prediction, calculating an approximation of the MDST using the current MDCT frame. "○" indicates MDCT domain unified stereo coding with complex prediction, calculating an approximation of the MDST using the current and previous MDCT frames. "●" indicates MDCT domain unified stereo coding with complex prediction, calculating the MDST using the current, previous, and next MDCT frames. [Figure 13] Figure 12 shows the data as the difference score for MDCT domain unified stereo coding by complex prediction, which calculates an approximation of MDST using the current MDCT frame. [Figure 14A] This is a block diagram showing one embodiment of a decoder system according to an embodiment of the present invention. [Figure 14B] This is a block diagram showing another embodiment of the decoder system according to the present invention. [Figure 14C] This is a block diagram showing yet another embodiment of a decoder system according to an embodiment of the present invention. [Figure 15] This flowchart shows a decoding method according to one embodiment of the present invention. [Figure 16] This flowchart shows an encoding method according to one embodiment of the present invention. [Modes for carrying out the invention]

[0046] I. Decoder System Figure 2 shows a schematic block diagram of at least one complex prediction coefficient value α = α R +iα I This describes a decoding system for decoding a bitstream having the following: The MDCT representation of the stereo signal has a downmix M channel and a residual D channel. The real part and α of the prediction coefficient are shown. R and imaginary part α I The bitstream is quantized and / or coded jointly. However, preferably, the real and imaginary parts are quantized independently and uniformly, generally with a step size of 0.1 (dimensionless). According to the MPEG standard, the resolution of the frequency band used for the complex prediction coefficients does not need to be the same as the resolution of the scale factor band (sfb, i.e., a group of MDCT lines using the same MDCT quantization step size and quantization range). In particular, the frequency band resolution of the prediction coefficients is psychoacoustically reasonable, such as the Bark scale. The demultiplexer 201 is configured to extract these MDCT representations and prediction coefficients (part of the illustrated control information) from the supplied bitstream. In fact, the bitstream encodes control information beyond the complex prediction coefficients, such as instructions on whether to decode it in prediction mode or non-prediction mode, and TNS information, which includes the values ​​of TNS parameters used by the TNS (synthesis) filter of the decoder system. When using the same set of TNS parameters for multiple TNS filters, such as both channels, it is more economical to receive this information in the form of bits indicating the identity of the parameter set than to receive two sets of parameters separately. For example, it may also include information on whether to apply the TNS before or after the upmix stage, based on a psychoacoustic evaluation of two options. Furthermore, the control information indicates the individually limited bandwidths of the downmix signal and the residual signal. For each channel, frequency bands above the bandwidth limit are not decoded and are set to zero. In some cases, the energy content of the highest frequency band is so small that it is already zero when quantized. In normal practice (see the max_sfb parameter in the MPEG standard), the same bandwidth limit must be used for both the downmix signal and the residual signal. However, the residual signal has energy content that is much more confined to lower frequency bands than the downmix signal. Therefore, by imposing a dedicated bandwidth limit on the residual signal, it is possible to reduce the bitrate without significantly compromising sound quality.For example, this is adjusted by two independent max_sfb parameters, one for the downmix signal and one for the residual signal, which are encoded into the bitstream.

[0047] In this embodiment, the MDCT representation of the stereo signal is segmented into continuous time frames (i.e., time blocks) containing a fixed number of data points (e.g., 1024 points), one of a plurality of fixed numbers of data points (e.g., 128 or 1024 points), or a variable number of points. As is known to those skilled in the art, the MDCT is critically sampled. The output of the decoding system, shown in the right-hand portion of the figure, is a time-domain stereo signal having a left L channel and a right R channel. The inverse quantization module 202 is configured to process the bitstream input to the decoding system into two bitstreams, as needed, corresponding to the downmix channel and residual channel obtained after demultiplexing the original bitstream. The inversely quantized channel signals are transformed into a transformation matrix

number

number

[0048] Assuming that switching assembly 203 is in pass-through mode, in this embodiment, the inversely quantized channel signals are passed through their respective TNS filters 204. The TNS filters 204 are not essential to the operation of the decoding system and can be replaced by pass-through elements. The signal is then fed to a second switching assembly 205, which has the same function as the upstream switching assembly 203. With the input signal input as described above and set to pass-through mode, the output of the second switching assembly 205 is the downmix channel signal and the residual channel signal. The downmix signal is represented by a time-continuous MDCT spectrum and is fed to a real-imaginary transformer 206 configured to compute the MDST spectrum of the downmix signal. In this embodiment, one MDST frame is based on three MDCT frames, one previous frame, one current (i.e., simultaneous) frame, and one next frame. The input side of the real-imaginary transformer 206 symbolically has a delay component (Z -1 ,Z) is shown.

[0049] The MDST representation of the downmix signal obtained from the real-imaginary transformation 206 is the imaginary part α of the prediction coefficient. I Weighted by the real part α of the prediction coefficient R and is added to the MDCT representation of the downmix signal weighted by the MDCT representation of the residual signal. The two additions and multiplications are performed by adders and multipliers that (functionally) constitute weighted adders 210 and 211. These are supplied with the value of the complex prediction coefficient α that was encoded in the bitstream initially received by the decoder system. One complex prediction coefficient is determined for each time frame. The complex prediction coefficients may be determined more frequently, or one may be determined for each frequency band within a frame. The frequency bands are psychoacoustically motivated partitions. As will be explained later with respect to the encoding system of the present invention, the complex prediction coefficients need not be determined as frequently. The real-imaginary transform 206 is synchronized with the weighted adders such that the current MDST frame of the downmix channel signal is combined with the respective simultaneous MDCT frames of the downmix channel signal and the residual channel signal. The sum of these three signals is the side signal S=Re{αM}+D. In this equation, M includes both the MDCT representation and the MDST representation of the downmix signal, i.e., M=M MDCT -iM MDST . D=DMDCT is a real value. In this way, a stereo signal having a downmix channel and a side channel is obtained, and the sum-difference transform 207 converts this stereo signal into [Equation] to recover the left and right channels. These signals are represented in the MDCT domain. In the final step of the decoding system, an inverse MDCT 209 is applied to each channel to obtain the time-domain representation of the left and right stereo signals.

[0050] A possible implementation of the real-imaginary transform 206 is described in detail in Applicant's U.S. Pat. No. 6,980,933 B2, as mentioned above. According to Equation 41 described in the above document, the transform can be represented as a finite impulse response filter. For example, for an even number of points, [Equation] [Equation] That is the case. Other straightforward approaches are described in U.S. Patent Application Publication No. 2005 / 0197831A1.

[0051] It is possible to further reduce the amount of input data used as the basis for the calculation. For illustrative purposes, the real-imaginary transform 206 and its upstream connection, indicated as "A" in the figure, may be replaced with a simplified variant. Two of these, A' and A'', are shown in Figure 10. Variant A' gives an approximation of the imaginary representation of the signal. Here, the MDST calculation considers only the current frame and the previous frame. Referring to the above equation in this paragraph, for p=0,...,N-1, X III This is done by setting (p)=0 (index III indicates a later time frame). Modification A' does not require the MDCT spectrum of a later frame as input, so the MDST calculation does not introduce a time delay. Clearly, this approximation reduces the accuracy of the resulting MDST signal somewhat, but it also suggests that the energy of this signal is reduced. As a property of predictive coding, the latter is α I This can be fully compensated by increasing the value.

[0052] Modification A'' is shown in Figure 10. This uses only the MDCT data of the current time frame as input. The MDST representation obtained by modification A'' is less accurate than that obtained by modification A′. On the other hand, modification A'' operates with zero delay, like modification A′, and has lower computational complexity. As mentioned above, as long as the same approximation is used in the encoder and decoder systems, there is no effect on the waveform coding characteristics.

[0053] It should be noted that, regardless of which of the modified forms A, A', or A'', or any further development thereof, the imaginary part of the complex prediction coefficient of the MDST spectrum is non-zero, i.e., α I We only need to calculate the part that is not equal to 0. In practical situations, this is the absolute value of the imaginary part of the coefficient |α|. I This can be interpreted as meaning that | is greater than a predetermined threshold. This predetermined threshold relates to the unit round-off of the hardware used. If the imaginary part of the coefficients for all frequency bands in the time frame is zero, it is not necessary to calculate MDST data for that frame. Therefore, the real-imaginary conversion 206 does not generate an MDST output, and thus |α I It is configured to respond when the value of | is very small. This saves computational resources. However, in embodiments where one frame of MDST data is generated using more than one frame, the upstream units of the transformation 206 must continue to operate even if the MDST spectrum is not needed, so that there is enough input data for the real-imaginary transformation 206 when the next time frame related to the non-zero prediction coefficients occurs, and in particular the second switching assembly 205 must continue to transfer the MDCT spectrum. This is, of course, the next time block.

[0054] Returning to Figure 2, the functionality of the decoding system was described assuming that both switching assemblies 203 and 205 are set to pass-through mode. As described here, the decoder system can also decode signals that are not predictively coded. For this use, the second switching assembly 205 is set to sum-and-difference mode, and as shown in the figure, the selector device 208 is set to the lower position, so that the signal is directly input to the inverse transform 209 from the source point between the TNS filter 204 and the second switching assembly 205. For correct decoding, the signal has the appropriate L / R format at the source point. Therefore, when decoding a non-predictively coded stereo signal, it is preferable to set the second switching assembly 205 to sum-and-difference mode in order to always supply the correct mid (i.e., downmix) signal to the real-imaginary transform (not simply by the left signal, for example). As described above, predictive coding can be replaced by conventional direct coding or simultaneous coding of multiple frames, for example, based on data rate versus sound quality determination. The result of such a decision is sent from the encoder to the decoder in various ways, for example, by the value of a dedicated indicator bit in each frame, or by the presence or absence of a prediction coefficient value. If these facts are established, the role of the first switching assembly 203 can be easily realized. In fact, in non-predictive coding mode, the decoder system can process both signals coded directly (L / R) stereo and signals coded simultaneously (M / S). By operating the first switching assembly 203 in either pass-through mode or sum-and-difference mode, it is possible to ensure that a source point is always provided along with the directly coded signal. Clearly, when the switching assembly 203 operates in the sum-and-difference stage, it converts the input signal in M / S format to an output signal in L / R format (which is supplied to an optional TNS filter 204).

[0055] The decoder system receives a signal indicating whether it should decode a given time frame in predictive coding mode or non-predictive coding mode. Non-predictive mode is signaled by the value of a dedicated indicator bit in each frame, or by the presence (or zero value) of a prediction coefficient. Predictive mode can be signaled similarly. A particularly advantageous embodiment allows for overhead-free fallback by utilizing a reserved fourth value in the 2-bit field ms_mask_present (MPEG-2 AAC, see ISO / IEC 13818-7 document). This is transmitted per time frame and is defined as follows: [Table 1] By redefining the value 11 to mean "complex predictive coding," the decoder can operate in all legacy modes, particularly in M / S and L / R coding modes, without compromising the bitrate, and can receive a signal indicating the complex predictive coding mode of the associated frame.

[0056] Figure 4 shows a typical decoder system configuration, similar to that shown in Figure 2, but including at least two different configurations. First, the system in Figure 4 includes switches 404, 411 that enable the application of processing steps including frequency domain modification upstream and / or downstream of the upmix stage. This is realized, on the one hand, by a first set of frequency domain modifiers 403 (depicted in this figure as a TNS composite filter) provided with the first switch 404, which is downstream of the inverse quantization module 401 and the first switching assembly 402, and upstream of the second switching assembly 405, which is located immediately upstream of the upmix stages 406, 407, 408, 409. On the other hand, the decoder system includes a second set of frequency domain modifiers 410 provided with the second switch 411, which is downstream of the upmix stages 406, 407, 408, 409 and upstream of the inverse transformation stage 412. Advantageously, as shown in the figure, each frequency-domain modifier is connected upstream to the input side of the frequency-domain modifier and downstream in parallel with a pass-through line connected to the associated switch. This configuration ensures that the frequency-domain modifiers are always supplied with signal data, enabling frequency-domain processing based on more time frames than just the current time frame. The decision of whether to apply the first set of frequency-domain modifiers 403 or the second set of frequency-domain modifiers 410 is made by the encoder (sent in a bitstream), or may be based on whether predictive coding is applied, or on other criteria appropriate to the practical situation. For example, if the frequency-domain modifiers are TNS filters, the first set 403 is advantageous for use with certain types of signals, while the second set 410 is advantageous for use with other types of signals. If the result of this selection is encoded in a bitstream, the decoder system activates each set of TNS filters as appropriate.

[0057] To facilitate understanding of the decoder system shown in Figure 4, it should be explicitly noted that decoding of a direct (L / R) encoded signal occurs when α=0 (suggesting that pseudo-L / R and L / R are the same, and the side channels and residual channels are the same), the first switching assembly 402 is in pass mode, the second switching assembly is in sum-difference mode, and the signal is in M / S format between the upmix stage second switching assembly 405 and the sum-difference stage 409. At this time, since the upmix stage is an effective pass step, it is not important whether the first set of frequency domain modifiers or the second set of frequency domain modifiers are activated (using switches 404, 411, respectively).

[0058] Figure 3 shows a decoder system according to one embodiment of the present invention, representing a different approach to supplying the MDST data required for upmixing, in relation to the decoder systems of Figures 2 and 4. Similar to the decoder systems already described, the system in Figure 3 has an inverse quantization module 301, a first switching assembly 302 that can operate in pass-through mode or sum-and-difference mode, and a TNS (composite) filter 303. These are all located in series from the input terminal of the decoder system. The modules downstream of this point are selectively utilized by two second switches 305, 310. These second switches preferably operate simultaneously so that both are in the upper or lower position, as shown in the figure. At the output terminal of the decoder system is a sum-and-difference stage 312, and immediately upstream there are two inverse MDCT modules 306, 311 that convert the MDCT domain display for each channel to a time-domain display.

[0059] In complex predictive decoding, the decoder system is supplied with a bitstream encoding the downmix / residual stereo signal and the complex predictive coefficients. The first switching assembly 302 is set to pass-through mode, and the second switches 305 and 310 are set to the upper position. Downstream of the TNS filter, the two channels of the (inversely quantized and TNS-filtered MDCT) stereo signal undergo different processing. The downmix channel is supplied to the multiplier and adder 308, on the one hand, to the multiplier and adder 308. The multiplier and adder 308 processes the real part α of the predictive coefficients. R The MDCT representation of the weighted downmix channel is added to the MDCT representation of the residual channel. On the other hand, it is supplied to one of several MDCT conversion modules 306. The time-domain representation of the downmix channel M is the output from the inverse MDCT conversion module 306 and is supplied to both the final sum / difference stage 312 and the MDST conversion module 307. Using the time-domain representation of the downmix channel in this way is advantageous in terms of computational complexity. The MDST representation of the downmix channel thus obtained is further supplied to another multiplier and adder 309. This multiplier and adder 309 processes the imaginary part α of the prediction coefficient. I After weighting, this signal is added to the linear combination output from adder 308. Thus, the output of adder 309 is the side channel signal S = Re{αM} + D. Similarly, the multiplier and adders 308 and 309 are coupled to the decoder system shown in Figure 2 to form a weighted multi-signal adder that takes the MDCT and MDST displays of the downmix signal, the MDCT display of the residual signal, and the complex prediction coefficient values ​​as inputs. In this embodiment, downstream of this point, the only remaining path for the side channel signal is through the inverse MDCT conversion module 311 before it is supplied to the final sum / difference stage 312.

[0060] The necessary synchronization in the decoder system can be achieved by making the conversion length and window shape the same for both inverse MDCT conversion modules 306 and 311. This has already been put into practice in frequency-selective M / S and L / R coding. Combining one embodiment of the inverse MDCT module 306 with one embodiment of the MDST module 307 results in a one-frame delay. Therefore, five optional delay blocks 313 (or software instructions that produce this effect in computer implementation) are provided to delay the portion of the system to the right of the dashed line by one frame relative to the portion to the left, as needed. Clearly, delay blocks are provided at all intersections between the dashed line and the connecting line, with the exception of the connection between the inverse MDCT module 306 and the MDST conversion module 307, where a delay requiring compensation occurs.

[0061] Calculating MDST data for one time frame requires data from one frame of time-domain representation. However, the inverse MDCT transform is based on one frame (current frame), two consecutive frames (preferably the previous frame and the current frame), or three consecutive frames (preferably the previous frame, the current frame, and the next frame). Due to the well-known time-domain aliasing scanceration (TDAC) associated with MDCT, the three-frame option achieves complete overlap of the input frames and is the most (and in some cases, completely) accurate for frames containing at least time-domain aliasing. Clearly, the three-frame inverse MDCT operates with a one-frame delay. By allowing the use of an approximate time-domain representation as input to the MDST transform, this delay can be avoided, thereby avoiding the need to compensate for delays between different parts of the decoder system. In the two-frame option, overlapping / add-enabling TDAC occurs in the first half of the frame, and aliasing exists only in the second half. In the one-frame option, there is no TDAC, so aliasing occurs throughout the entire frame. However, the MDST display, implemented in this way and used as a daytime signal with complex predictive coding, can provide sufficient quality.

[0062] The decoding system shown in Figure 3 can also operate in two non-predictive decoding modes. To decode a directly L / R encoded stereo signal, the second switches 305 and 310 are set to the down position, and the first switching assembly 302 is set to pass-through mode. Thus, this signal is in L / R format upstream of the sum-difference stage 304. The sum-difference stage 304 converts it to M / S format. Inverse MDCT conversion and final sum-difference calculations are performed on this M / S format. To decode a stereo signal provided in simultaneous M / S encoded format, the first switching assembly 302 is set to sum-difference mode, so that the signal is in L / R format between the first switching assembly 302 and the sum-difference stage 304. The L / R format is more suitable than the M / S format from the viewpoint of TNS filtering. The processing downstream of the sum-difference stage 304 is the same as in the case of direct L / R decoding.

[0063] Figure 14 (14A to 14C) shows three block diagrams illustrating a decoder according to an embodiment of the present invention. Unlike other block diagrams attached to this application, the connections in Figure 14 represent a multi-channel signal. Specifically, such connections are configured to transmit a stereo signal having left / right, mid / side, downmix / residual, pseudo-left / pseudo-right channels, or other combinations.

[0064] Figure 14A shows a decoder system that decodes the frequency domain representation of an input signal (shown as an MDCT representation for the purposes of this figure). The decoder system is configured to supply a time domain representation of a stereo signal as its output. This representation is generated based on the input signal. An upmix stage 1410 is provided in the decoder system to enable decoding of an input signal encoded by complex predictive stereo coding. However, it is also possible to process input signals encoded in other formats, and in some cases switching between multiple coding formats over time, such as an input signal where a sequence of time frames encoded by complex predictive coding is directly followed by time portions encoded by left / right coding. The decoder system's ability to process different coding formats is achieved by providing a connection line (pass-through) in parallel with the upmix stage 1410. A switch 1411 allows selection whether to supply the output from the upmix stage 1410 (lower switch position in the figure) or the unprocessed signal obtained by the connection line (upper switch position in the figure) to a decoder module located further downstream. In this embodiment, the inverse MDCT module 1412 is located downstream of the switch. The MDCT module 1412 converts the MDCT display of the signal to a time-domain display. For example, the signal supplied to the upmix stage 1410 may be a downmix / residual stereo signal. The upmix stage 1410 is then applied to determine the side signals and perform sum and difference operations to output left / right stereo signals (in the MDCT domain).

[0065] Figure 14B shows a decoder system similar to that shown in Figure 14A. This system is configured to receive a bitstream as an input signal. The bitstream is initially processed by a coupled demultiplexer and inverse quantization module 1420. This coupled demultiplexer and inverse quantization module 1420 provides an MDCT indication of a multi-channel stereo signal as a first output signal for further processing, as determined by the position of switch 1422, which performs a similar function to switch 1411 shown in Figure 14A. More precisely, switch 1422 determines whether the first output from the demultiplexer and inverse quantization is processed by the upmixing stage 1421 and the inverse MDCT module 1423 (low position) or by the inverse MDCT module 1423 only (up position). The coupled demultiplexer and inverse quantization module 1420 also outputs control information. In this case, the control information related to the stereo signal includes data indicating whether the upper or lower position of switch 1422 is suitable for decoding the signal, or more abstractly, to what encoding format the stereo signal should be decoded into. The control information also includes parameters that adjust the characteristics of the upmix stage, such as the value of the complex prediction coefficient α used in complex predictive coding, as already described.

[0066] Figure 14C shows entities similar to those shown in Figure 14B, plus first and second frequency-domain modification devices 1431 and 1435 positioned upstream and downstream of the upmix stage 1433, respectively. For the purposes of this drawing, each frequency-domain modification device is exemplified by a TNS filter. However, the term frequency-domain modification device can also be understood as any process other than TNS filtering that can be applied before or after the upmix stage. Examples of frequency-domain modification include prediction, noise addition, bandwidth expansion, and nonlinear processing. In some cases, for psychoacoustic considerations and similar reasons, including the characteristics of the signal being processed and / or the configuration of such frequency-domain modification devices, it is advantageous to apply the frequency-domain modification upstream of the upmix stage 1433 rather than downstream. In other cases, for similar considerations, the upstream position of the frequency-domain modification is preferable to the downstream position. Switches 1432 and 1436 selectively activate the frequency-domain modification devices 1431 and 1435 so that the decoder system can select the desired configuration according to control information. As an example, Figure 14C shows a configuration in which the stereo signals from the coupled demultiplexer and inverse quantization module 1430 are first processed by the first frequency-domain modification device 1431, then fed to the upmixing stage 1433, and finally transferred directly to the inverse MDCT module 1437, without passing through the second frequency-domain adjustment device 1435. As described in the summary of the invention, this configuration is preferred over the option of performing TNS after upmixing in complex predictive coding.

[0067] II. Encoder Systems An encoder system according to the present invention will be described with reference to Figure 5. Figure 5 is a block diagram showing an encoder system that encodes a left / right (L / R) stereo signal as an output bitstream by complex predictive coding. This encoder system receives a time-domain or frequency-domain representation of the signal and supplies it to both the downmix stage and the predictive coefficient estimator. The real and imaginary parts of the predictive coefficients are supplied to the downmix stage to control the downmix of the left and right channels and the conversion to the residual channel. The downmix and residual channel are then supplied to the final multiplexer MUX. If the signal was not supplied to the encoder as a frequency-domain representation, it is converted to such a representation in the downmix stage or the multiplexer.

[0068] One of the principles of predictive coding is to convert the left / right signal into a mid / side format, that is

number

number

[0069] The real part of the prediction coefficient and α R and imaginary part α I The values ​​are quantized and / or coded jointly. However, preferably, the real and imaginary parts are quantized independently and uniformly, generally with a step size of 0.1 (dimensionless). According to the MPEG standard, the resolution of the frequency band used for the complex prediction coefficients does not need to be the same as the resolution of the scale factor band (sfb, i.e., a group of MDCT lines using the same MDCT quantization step size and quantization range). In particular, the frequency band resolution of the prediction coefficients should be psychoacoustically reasonable, such as the Bark scale. It should be noted that the frequency band resolution changes as the conversion length changes.

[0070] As described above, the encoder system according to the present invention has the freedom to choose whether or not to apply predictive stereo coding. In the latter case, it suggests a fallback to L / R or M / S coding. Such a decision can be made on a time frame basis or a finer-grained basis, or on a frequency band basis within a time frame. As described above, the negative result of the decision is sent to the decoding entity in various ways, for example, by the value of a dedicated indicator bit in each frame, or by the presence or absence (or zero value) of the predictive coefficient value. Positive decisions are sent in the same manner. A particularly advantageous embodiment allows for overhead-free fallback by utilizing a reserved fourth value in the 2-bit field ms_mask_present (MPEG-2 AAC, see ISO / IEC 131818-7 document). This is sent per time frame and is defined as follows: [Table 2] By redefining the value 11 to mean "complex predictive coding," the encoder can operate in all legacy modes, particularly in M / S and L / R coding modes, without compromising the bitrate, and, if favorable, can receive signals indicating complex predictive coding of the frame's signal.

[0071] The substantive decision may be based on the data rate versus sound quality principle. (As is common with available MDCT-based audio encoders,) data obtained using a psychoacoustic model included in the encoder may be used as a measure of sound quality. Specifically, some embodiments of the encoder perform rate-distortion optimization selection of prediction coefficients. In such embodiments, if increasing the prediction gain does not save enough bits for encoding the residual signal and the use of bits required for encoding the prediction coefficients cannot be justified, the imaginary part of the prediction coefficients, and possibly the real part as well, is set to zero.

[0072] The encoder embodiment encodes TNS-related information into a bitstream. This information includes the values ​​of the TNS parameters used by the TNS (synthesis) filter on the decoder side. If the same set of TNS parameters is used for both channels, it is more economical to include a signaling bit indicating that the parameters are the same rather than transmitting the two sets of parameters separately. For example, it may also include information on whether to apply TNS before or after the upmix stage, based on a psychoacoustic evaluation of two options.

[0073] Another optional feature, which is potentially beneficial in terms of complexity and bitrate, is that the encoder is configured to use a separately limited bandwidth for encoding the residual signal. Frequency bands above this limit are not transmitted to the decoder and are set to zero. In some cases, the energy content in the highest frequency bands is small and is already zero when quantized. Conventional practice (see the max_sfb parameter in the MPEG standard) requires the use of the same bandwidth limit for both the downmix signal and the residual signal. Here, the inventors have empirically found that the residual signal has energy content confined to significantly lower frequency bands than the downmix signal. Therefore, by imposing a dedicated bandwidth limit on the residual signal, it is possible to reduce the bitrate without significantly compromising sound quality. For example, this can be achieved by transmitting with two independent max_sfb parameters, one for the downmix signal and one for the residual signal.

[0074] It should be noted that while the decoding system shown in Figure 5 was used to explain the optimal determination of prediction coefficients, quantization and its coding, fallback to M / S or L / R mode, TNS filtering, and bandwidth upper limit, the same principles are equally applicable to embodiments disclosed in embodiments described with reference to subsequent drawings.

[0075] Figure 6 shows another encoder system according to the present invention configured to perform complex predictive stereo coding. This system takes as input a time-domain representation of a stereo signal, including left and right channels, divided into consecutive, and possibly overlapping, time frames. A sum-difference step 601 converts this signal into mid-channel and side-channel. The mid-channel is supplied to both MDCT module 602 and MDST module 603, while the side-channel is supplied to MDCT module 604 only. A prediction coefficient drop 605 estimates the value of a complex prediction coefficient for each time frame, and optionally for individual frequency bands within the frame, as described above. The coefficient value α is supplied as weights to weighted adders 606, 607. The weighted adders 606, 607 construct the residual signal D as a linear combination of the MDCT and MDST representations of the mid-signal and the MDCT representation of the side-signal. Preferably, the complex prediction coefficient is supplied to weighted adders 606, 607, represented by the same quantization scheme used when it is encoded into a bitstream. This obviously provides a more faithful reconstruction because both the encoder and decoder use the same prediction coefficient values. The residual signal, the mid-signal (more appropriately called the downmix signal when it appears in combination with the residual signal), and the prediction coefficients are fed to the coupled quantization and multiplexer stage 608. The coupled quantization and multiplexer stage 608 encodes these signals and possibly other information as an output bitstream.

[0076] Figure 7 shows a modified version of the encoder shown in Figure 6. As can be seen from the similar symbols in the figure, the encoder configuration shown in Figure 7 is the same, but with the added function of operating in direct L / R coding fallback mode. The encoder system is activated between complex predictive coding mode and fallback mode by a switch 710 located just upstream of the coupled quantization and multiplexer stage 709. When switch 710 is in the upper position, the encoder operates in fallback mode. The mid-side signal is supplied to the sum-difference stage 705 from a point just downstream of the MDCT modules 702 and 704. The sum-difference stage 705 converts the signal into a left / right signal and then sends it to switch 710. Switch 710 connects the signal to the coupled quantization and multiplexer stage 709.

[0077] Figure 8 shows an encoder system according to the present invention. Unlike the encoder systems shown in Figures 6 and 7, this embodiment obtains the MDST data required for complex predictive coding directly from the MDCT data, i.e., by real-imaginary conversion in the frequency domain. The real-imaginary conversion is performed using one of the approaches described for the decoder systems in Figures 2 and 4. It is important that the decoder calculation method matches the encoder calculation method to enable faithful decoding. The same real-imaginary conversion method is used on both the encoder and decoder sides. In the decoder embodiment, part A, enclosed by a dashed line and containing the real-imaginary conversion 804, can be replaced by a similar modification or by reducing the number of input time frames used. Similarly, coding can be simplified using one of the approximate approaches described above.

[0078] At a high level, the encoder system in Figure 8 has a different configuration from the one that would be obtained by simply replacing the MDST module in Figure 7, with (properly connected) real and virtual modules. This architecture is clean, robust, and computationally economical in its ability to implement the switching function between predictive coding and direct L / R coding. The input stereo signal is input to the MDCT conversion module 801, which outputs a frequency domain representation for each channel. This is sent to both the final switch 808, which activates the encoder system between predictive coding mode and direct coding mode, and the sum-difference stage 802. In direct L / R coding, or simultaneous M / S coding performed in a time frame with the prediction coefficient α set to zero, this embodiment only MDCT converts, quantizes, and multiplexes the input signal. The last two steps are performed by a coupled quantization and multiplexer stage 807 located at the output end of the system, which supplies the bitstream. In predictive coding, each channel is further processed between the sum-difference stage 802 and the switch 808. The real-imaginary transformer 804 obtains MDST data from the MDCT representation of the mid-signal and sends it to both the predictor coefficient estimator 803 and the weighted adder 806. Similar to the encoder systems shown in Figures 6 and 7, another weighted adder 805 is used to combine the side signal with the weighted MDCT and MDST representation of the mid-signal to construct the residual channel signal. The residual channel signal is encoded together with the mid (i.e., downmixed) channel signal and predictor coefficients by the combined quantization and multiplexer stage 807.

[0079] Referring now to Figure 9, we will illustrate that each embodiment of the encoder system can be coupled with one or more TNS (analysis) filters. As previously mentioned, applying TNS filtering to downmixed signals is often advantageous. Therefore, as shown in Figure 9, the encoder system of Figure 7 is adapted to include a TNS by adding a TNS filter 911 immediately upstream of the coupled quantization and multiplexer stage 909.

[0080] Instead of the right / residual TNS filter 911b, two TNS filters (not shown) configured to process either the right channel or the residual channel may be provided immediately upstream of the switch 910. In this way, each of the two TNS filters is always supplied with the respective channel signals, enabling TNS filtering based on more time frames than just the current frame. As mentioned above, TNS filters are an example of frequency domain correction devices, particularly those based on processing more frames than the current time frame. This is as beneficial as, or even more than, the TNS filter itself, to such an arrangement.

[0081] As another alternative to the embodiment shown in Figure 9, the TNS filter for selective activation can be configured at one or more points for each channel. This is similar to the decoder system configuration shown in Figure 4, where different sets of TNS filters can be connected by a switch. This allows for the selection of the most suitable stage for TNS filtering for each time frame. Switching between different TNS locations is particularly advantageous with respect to switching between complex predictive stereo coding mode and other coding modes.

[0082] Figure 11 shows a modified version based on the encoder system of Figure 8, in which a second frequency-domain representation of the downmix signal is obtained by real-imaginary conversion 1105. Similar to the decoder system shown in Figure 4, this encoder system also includes selectively activated frequency-domain modifier modules, one of which 1102 is located upstream of the downmix stage and the other 1109 is located downstream. The frequency-domain modules 1102 and 1109 are illustrated in this figure by a TNS filter, but can be connected to each signal path using four switches 1103a, 1103b, 1109a, and 1109b.

[0083] III. Non-device embodiments Embodiments of the third and fourth aspects of the present invention are shown in Figures 15 and 16. Figure 15 shows a method for decoding a bitstream into a stereo signal, which has the following steps: 1. Input the bitstream. 2. The bitstream is dequantized to obtain the first frequency domain representation of the downmix channel and residual channel of the stereo signal. 3. Calculate the second frequency domain representation of the downmix channel. 4. Calculate the side channel signal based on the three frequency domain representations of the channels. 5. The stereo signal, preferably in left / right format, is calculated based on the side channels and downmix channels. 6. Output the resulting stereo signal. Steps 3 through 5 can be considered as the upmixing process. Steps 1 through 6 are similar to the corresponding functions of any of the decoder systems disclosed in the preceding section of this document, and implementation details can be found in that section.

[0084] Figure 16 shows how to encode a stereo signal into a bitstream signal, and has the following steps: 1. Input a stereo signal. 2. Convert the stereo signal to a first frequency domain display. 3. Determine the complex prediction coefficients. 4. Downmix the frequency domain display. 5. Encode the downmix channel and residual channel as a bitstream along with the complex prediction coefficients. 6. Output the bitstream. Steps 1 through 5 are similar to the corresponding functions of any of the encoder systems disclosed in the preceding section of this document, and implementation details can be found in that section.

[0085] Both methods can be expressed as computer-readable instructions in the form of software programs and can be executed by a computer. The scope of protection of the present invention extends to such software and computer program products for distributing such software.

[0086] IV. Experimental Evaluation The embodiments disclosed herein were experimentally evaluated. The most important parts of the experimental data obtained in this process are summarized below.

[0087] The embodiment used in the experiment has the following characteristics: (i) Each MDST spectrum (of a time frame) was calculated from the current, previous, and next MDCT spectra using two-dimensional finite impulse response filtering. (ii) A psychoacoustic model was used from the USAC stereo encoder. (iii) Instead of the PS parameters ICC, CLD, and IPD, the real and imaginary parts of the complex prediction coefficient α were transmitted. The real and imaginary parts were processed separately, restricted to the range [-3.0, 3.0], and quantized using a step size of 0.1. Time differential coding was performed, and finally Huffman coding was performed using the USAC scale factor codebook. The prediction coefficients were updated every 1 scale factor band, and the frequency resolution was made similar to MPEG surround (see, e.g., ISO / IEC 23003-1). This quantization and coding scheme resulted in an average bitrate of approximately 2 kb / s for stereo side information in a typical configuration with a target bitrate of 96 kb / s. (iv) Since there are only three possible values ​​for the 2-bit ms_mask_present bitstream element, the bitstream format was modified without breaking the current USAC bitstream. By using a fourth value that indicates complex prediction, a basic mid / side coding fallback mode was allowed without wasting bits (see the previous subsection of this disclosure for details).

[0088] Listening tests were conducted using the MUSHRA method with eight test items played back through headphones at a sampling rate of 48kHz. Each test included three, five, or six participants.

[0089] We evaluated the impact of different MDST approximations and demonstrated the practical complexity versus sound quality trade-offs between these options. The results are shown in Figures 12 and 13. The former shows the obtained absolute scores, and the latter shows the difference scores for 96s USAC cplf, i.e., for MDCT domain unified stereo coding with complex prediction using the current MDCT frame to compute the MDST approximation. It can be seen that the sound quality gain achieved by MDCT-based unified stereo coding increases when a computationally more complex approach is used to compute the MDST spectrum. Considering the average across the entire test, the single-frame-based system 96s USAC cplf shows a significant increase in coding efficiency compared to conventional stereo coding. Similarly, even better results are obtained for 96s USAC cp3f, i.e., MDCT domain unified stereo coding with complex prediction using the current, previous, and next MDCT frames to compute the MDST.

[0090] V. Embodiments Furthermore, the present invention can be implemented as follows.

[0091] A decoder system that decodes a bitstream signal into a stereo signal using complex predictive stereo coding: An inverse quantization step (202,401) that provides a first frequency-domain representation of a downmix signal (M) and a residual signal (D) based on the bitstream, wherein each frequency-domain representation has a first spectral component representing the spectral content of the corresponding signal represented in a first subspace of a multidimensional space, the first spectral component being a transformation coefficient arranged in a time frame of transformation coefficients, and each block being generated by applying a transformation of a time-domain signal to a time segment; and Located downstream of the inverse quantization step, it is configured to generate the stereo signal based on the downmix signal and the residual signal: A module (206;408) for calculating a second frequency domain representation of the downmix signal based on the first frequency domain representation of the downmix signal, wherein the second frequency domain representation has a second spectral component representing the spectral content of the signal expressed in the second subspace of the multidimensional space, which includes a portion of the multidimensional space not included in the first subspace, and the module is configured to determine a first intermediate component from the first spectral component; determine a second intermediate component by forming a combination of the first spectral component with at least a portion of the impulse response; and determine a second spectral component from the second intermediate component; A weighted adder (210,211;406,407) that calculates a side signal based on the first and second frequency domain representations of the downmix signal encoded in the bitstream signal, the first frequency domain representation of the residual signal, and a complex prediction coefficient (α); and The system has an upmixing stage (206, 207, 210, 211, 406, 407, 408, 409) which has a sum-and-difference stage (207; 409) for calculating the stereo signal based on a first frequency domain representation of the downmix signal and the side signal.

[0092] Furthermore, the present invention can be implemented as follows: a decoder system that decodes a bitstream signal into a stereo signal using complex predictive stereo coding: An inverse quantization step (301) that provides a first frequency domain representation of a downmix signal (M) and a residual signal (D) based on the bitstream signal, wherein each of the first frequency domain representations has a first spectral component representing the spectral content of the corresponding signal represented in a first subspace of a multidimensional space; and Located downstream of the inverse quantization step, it is configured to generate the stereo signal based on the downmix signal and the residual signal: Modules (306, 307) for calculating a second frequency domain representation of a downmix signal based on a first frequency domain representation of the downmix signal, wherein the second frequency domain representation has spectral content of the signal represented in the second subspace of the multidimensional space, which includes a portion of the multidimensional space not included in the first subspace; and the module comprises an inverse transformation step (306) for calculating a time domain representation of the downmix signal based on the first frequency domain representation of the downmix signal in the first subspace of the multidimensional space; and a transformation step (307) for calculating a second frequency domain representation of the downmix signal based on the time domain representation of the signal; A weighted adder (308, 309) that calculates a side signal based on the first and second frequency domain representations of the downmix signal encoded in the bitstream signal, the first frequency domain representation of the residual signal, and a complex prediction coefficient (α); and The system has an upmixing stage (306, 307, 308, 309, 312) which includes a sum-and-difference stage (312) for calculating the stereo signal based on a first frequency domain representation of the downmix signal and the side signal.

[0093] Furthermore, the present invention can be implemented as follows: A decoder system having the features described in the claim for an independent decoder system, wherein a module for calculating a second frequency domain representation of a downmix signal is: An inverse transform step (306) for calculating the time-domain representation of the downmix signal and / or chrominance signal based on the first frequency-domain representation of each signal in the first subspace of the multidimensional space; and The system includes a conversion step (307) which calculates a second frequency-domain representation of each signal based on the time-domain representation of the aforementioned signal, Preferably, the inverse transformation step (306) performs an inverse modified discrete cosine transform, and the transformation step performs a modified discrete cosine transform.

[0094] In the above decoder system, the stereo signal may be represented in the time domain, and the decoder system may further include the following: A switching assembly (302) positioned between the inverse quantization stage and the upmix stage, which can function as either (a) a pass-through stage used for simultaneous stereo coding, or (b) a sum-and-difference stage used for direct stereo coding; A further inverse transformation step (311) located in the upmix step calculates the time-domain representation of the side signal; (a) a further sum-and-difference stage (304) connected to a point downstream of the switching assembly (302) and upstream of the upmix stage; or (b) a selector device (305, 310) located upstream of the inverse transform stage (306, 301), configured to selectively connect to either the downmix signal obtained from the switching assembly (302) or the side signals obtained from the weighted adders (308, 309).

[0095] VI. Conclusion Further embodiments of the present invention will become apparent to those skilled in the art from the above description. Although this specification and drawings disclose embodiments and examples, the present invention is not limited to these specific examples. Numerous modifications and variations can be made without departing from the scope of the invention as defined in the appended claims.

[0096] It should be noted that the methods and apparatus disclosed in this application can be applied to coding signals having more than two channels with appropriate modifications within the scope of the skills of those skilled in the art, including ordinary experiments. It should be emphasized that the signals, parameters, and matrices described in relation to the embodiments described may be frequency-variable or frequency-invariant and / or time-variable or time-invariant. The calculation steps described may be performed frequency by frequency or for all frequencies at once, and all entities may be implemented to have frequency-selective behavior. Any quantization scheme can be adapted by the psychoacoustic model for the purposes of this application. Furthermore, it should be noted that various sum-difference transforms, i.e., from downmix / residual form to pseudo-L / R form and L / R-to-M / S and M / S-to-L / R transforms, are all in the following form

number

[0097] The systems and methods disclosed herein can be implemented as software, firmware, hardware, or a combination thereof. Some or all components can be implemented as software executed by a digital signal processor or microprocessor, or as hardware or a special-purpose integrated circuit. Such software can be distributed on computer-readable media. Computer-readable media include computer storage media and communication media. As is well known to those skilled in the art, computer storage media include volatile and non-volatile, removable and non-removable media implemented in any method or technique for storing information such as computer-readable instructions, data structures, program modules, and other data. Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory and other memory technologies, CD-ROM, digital versatile disk (DVD) and other optical disc storage media, magnetic cassettes, magnetic tapes, magnetic disk storage and other magnetic storage devices, or any other media that can be used to store desired information. Furthermore, as is well known to those skilled in the art, communication media generally include any information distribution media that embodies data in modulated data signals such as computer-readable instructions, data structures, program modules, and other carrier or other transmission mechanisms. The following additional note is included. (Note 1) A decoder system that provides a stereo signal by complex predictive stereo coding, An upmixing step configured to generate the stereo signal based on a downmix signal and a first frequency domain representation of the residual signal, wherein each first frequency domain representation has a first spectral component representing the spectral content of the corresponding signal represented in a first subspace of a multidimensional space, and the upmixing step is A module for calculating a second frequency domain representation of a downmix signal based on a first frequency domain representation of the downmix signal, wherein the second frequency domain representation has a second spectral component representing the spectral content of the signal represented in the second subspace of the multidimensional space, which includes a portion of the multidimensional space not included in the first subspace. A weighted adder that calculates a side signal based on first and second frequency domain representations of the downmix signal encoded in the bitstream signal, a first frequency domain representation of the residual signal, and complex prediction coefficients. The system includes an upmixing step having a sum-and-difference step that calculates the stereo signal based on the downmix signal and the side signal's first frequency domain representation, The decoder system further allows the upmix stage to operate in a pass-through mode in which the downmix signal and residual signal are directly supplied to the sum / difference stage. (Note 2) The downmix signal and residual signal are segmented into time frames, and the upmix stage is configured to receive a 2-bit data field associated with each time frame and to operate in active mode or pass-through mode depending on the value of the data field. The decoder system described in Appendix 1. (Note 3) The downmix signal and residual signal are segmented into time frames. The upmixing stage is further configured to receive an ms_mask_present field associated with each time frame in the MPEG bitstream, and to operate in active mode or passthrough mode depending on the value of the ms_mask_present field. The decoder system described in Appendix 1. (Note 4) The system further comprises an inverse quantization step located upstream of the upmix step, which provides the first frequency domain representation of the downmix signal and the residual signal based on the bitstream signal. A decoding system as described in any one of the appendices 1 to 3. (Note 5) The first spectral component has a real value represented in the first subspace, The second spectral component has an imaginary value represented in the second subspace, Optionally, the first spectral component is obtained by either the discrete cosine transform (DCT) or the modified discrete cosine transform (MDCT). Optionally, the second spectral component is obtained by either the discrete sine transform (DST) or the modified discrete sine transform (MDST). A decoder system as described in any one of the appendices 1 through 4. (Note 6) At least one temporal noise shaping TNS module located upstream of the upmixing stage, A further TNS module located downstream of the upmixing stage, (a) A selector device that selectively activates either the TNS module upstream of the upmixing stage, or (b) a further TNS module downstream of the upmixing stage. A decoder system as described in any one of the appendices 1 through 5. (Note 7) The downmix signal is partitioned into consecutive time frames, and each time frame is associated with the value of the complex prediction coefficient. The module for calculating the second frequency domain representation of the downmix signal is configured to deactivate itself and not generate an output for a given time frame if the absolute value of the imaginary part of the complex prediction coefficient is smaller than a predetermined tolerance for that time frame. The decoder system described in Appendix 5. (Note 8) The downmix signal time frame is further partitioned into frequency bands, and each frequency band is associated with the value of the complex prediction coefficient. The module for calculating the second frequency domain representation of the downmix signal is configured to deactivate itself and not generate an output for a given frequency band if the absolute value of the imaginary part of the complex prediction coefficient is smaller than a predetermined tolerance for the frequency band of the time frame. The decoder system described in Appendix 7. (Note 9) The first spectral component is a transformation coefficient arranged in a time frame of transformation coefficients, and each block is generated by applying a transformation of a time-domain signal to a time segment. The module for calculating the second frequency domain representation of the downmix signal obtains a first intermediate component from the first spectral component, obtains a second intermediate component by combining the first spectral component with at least a portion of the impulse response, and obtains a second spectral component from the second intermediate component. A decoder system as described in any one of the appendices 1 through 8. (Note 10) A portion of the impulse response is based on the frequency response characteristics of the above conversion. Optionally, the frequency response characteristics of the conversion depend on the characteristics of the analysis window function applied to the conversion of the signal to a time segment. The decoder system described in Appendix 9. (Note 11) The module for calculating the second frequency domain representation of the downmix signal is: (a) Simultaneous time frame of the first spectral component, (b) Simultaneous and preceding time frames of the first spectral component, and (c) configured to determine each time frame of the second spectral component based on one of the simultaneous, preceding, and succeeding time frames of the first spectral component, The decoder system described in Appendix 9 or 10. (Note 12) The module for calculating the second frequency domain representation of the downmix signal is configured to calculate an approximate second spectral representation having an approximate second spectral component determined by a combination of at least two temporally adjacent and / or frequencyly adjacent first spectral components. A decoder system as described in any one of the appendices 1 through 11. (Note 13) The stereo signal is represented in the time domain, and the decoder system further, A switching assembly positioned between the inverse quantization stage and the upmix stage, which can function as either (a) a pass-through stage or (b) a sum-difference stage, thereby enabling switching between direct and simultaneous encoded stereo input signals, An inverse transform step configured to calculate the time-domain representation of the stereo signal, The system includes a selector device positioned upstream of the inverse conversion stage, configured to selectively connect to either (a) a point downstream of the upmix stage where a stereo signal obtained by complex prediction is supplied to the inverse conversion stage, or (b) a point downstream of the switching assembly and upstream of the upmix stage where a stereo signal obtained by direct stereo coding is supplied to the inverse conversion stage. A decoder system as described in any one of the appendices 1 through 12. (Note 14) An encoder system that encodes a stereo signal using complex prediction as a signal having a downmix channel, a residual channel, and complex prediction coefficients, An estimator for estimating complex prediction coefficients, An encoder system comprising: (a) converting the stereo signal into a frequency domain representation of a downmix signal and a residual signal having a relationship determined by the value of the complex prediction coefficient; and (b) an encoding stage that can operate as a pass-through stage to directly supply the stereo signal to be encoded to a multiplexer. (Note 15) It is configured to encode a stereo signal using a bitstream signal by complex predictive stereo coding, and further The system further includes a multiplexer that receives the output from the encoding step and the estimator and encodes it using the bitstream signal. The encoder system described in Appendix 14. (Note 16) The estimator determines the complex prediction coefficient by minimizing the power of the residual signal with respect to time or the average power of the residual signal. The encoder system described in Appendix 14 or 15. (Note 17) The stereo signal has a downmix channel and a side channel, The encoding step is configured to receive a first frequency-domain representation of the stereo signal, the first frequency-domain representation having a first spectral component representing the spectral content of the corresponding signal represented in a first subspace of a multidimensional space, The aforementioned encoding step further, A module for calculating a second frequency domain representation of a downmix channel based on a first frequency domain representation of the downmix signal, wherein the second frequency domain representation has a second spectral component representing the spectral content of the signal represented in the second subspace of the multidimensional space, which includes a portion of the multidimensional space not included in the first subspace. The system includes a first and second frequency domain display of the downmix channel, a first frequency domain display of the side channel, and a weighted adder that calculates a residual signal based on the complex prediction coefficients. The estimator receives the downmix channel and the side channel and determines the complex prediction coefficients to minimize the power of the residual signal over a certain period of time, or to minimize the average power of the residual signal. An encoder system as described in any one of the appendices 14 to 16. (Note 18) The above encoding stage is The sum-and-difference steps convert the aforementioned stereo signal into a simultaneously encoded stereo signal having a downmix channel and a side channel, A conversion step that provides an oversampled frequency domain display of the downmix channel and a critically sampled frequency domain display of the side channel, wherein the oversampled frequency domain display preferably has complex spectral components. The system includes a weighted adder that calculates a residual signal based on the oversampled frequency domain display of the downmix channel, the critically sampled frequency domain display of the side channel, and the complex prediction coefficients. The estimator receives the residual signal and determines the complex prediction coefficient in order to minimize the power of the residual signal or to minimize the average power of the residual signal. Preferably, the conversion step includes a modified discrete cosine transform MDCT step arranged in parallel with a modified discrete sine transform MDST step, which together provides the oversampled frequency domain representation of the downmix channel. An encoder system as described in any one of the appendices 14 to 16. (Note 19) A decoding method that provides a stereo signal by complex predictive stereo coding, A step of receiving a first frequency domain representation of a downmix signal and a residual signal, wherein each of the first frequency domain representations has a first spectral component representing the spectral content of the corresponding signal represented in a first subspace of a multidimensional space, The step of receiving a control signal, Depending on the value of the aforementioned control signal, (a) A step of obtaining the stereo signal by upmixing the downmix signal and the residual signal using an upmixing step, A substep for calculating a second frequency domain representation of the downmix signal based on a first frequency domain representation of the downmix signal, wherein the second frequency domain representation has a second spectral component representing the spectral content of the signal represented in the second subspace of the multidimensional space, which includes a portion of the multidimensional space not included in the first subspace; A substep for calculating a side signal based on a first and second frequency domain representation of the downmix signal encoded in the bitstream signal, a first frequency domain representation of the residual signal, and a complex prediction coefficient, A step comprising: a substep of calculating the stereo signal by applying a first frequency domain representation of the downmix signal and the side signal to the sum-difference conversion; (b) A decoding method comprising the step of interrupting the upmixing step. (Note 20) The first spectral component has a real value represented in the first subspace, The second spectral component has an imaginary value represented in the second subspace, Optionally, the first spectral component is obtained by either the discrete cosine transform (DCT) or the modified discrete cosine transform (MDCT). Optionally, the second spectral component is obtained by either the discrete sine transform (DST) or the modified discrete sine transform (MDST). Decryption method as described in Appendix 19. (Note 21) The downmix signal is partitioned into consecutive time frames, and each time frame is associated with the value of the complex prediction coefficient. The step of calculating the second frequency domain representation of the downmix signal is interrupted if the absolute value of the imaginary part of the complex prediction coefficient is smaller than a predetermined tolerance for the time frame, so as not to generate an output for that time frame. Decryption method as described in Appendix 20. (Note 22) The downmix signal time frame is further partitioned into frequency bands, and each frequency band is associated with the value of the complex prediction coefficient. The step of calculating the second frequency domain representation of the downmix signal is interrupted if the absolute value of the imaginary part of the complex prediction coefficient is smaller than a predetermined tolerance for the frequency band of the time frame, so as not to generate an output for that frequency band. The decryption method described in Appendix 21. (Note 23) The first spectral component is a transformation coefficient arranged in a time frame of transformation coefficients, and each block is generated by applying a transformation of a time-domain signal to a time segment. The step of calculating the second frequency domain representation of the downmix signal is: A substep to determine the first intermediate component from the first spectral component, A substep to determine a second intermediate component by forming a combination of the first spectral components from at least a portion of the impulse response, The process includes a substep of determining the second spectral component from the second intermediate component, Decryption method as described in Appendix 20. (Note 24) A portion of the impulse response is based on the frequency response characteristics of the above conversion. Optionally, the frequency response characteristics of the conversion depend on the characteristics of the analysis window function applied to the conversion of the signal to a time segment. Decryption method as described in Appendix 23. (Note 25) The step of calculating the second frequency domain representation involves using (a) the simultaneous time frame of the first spectral component, (b) the simultaneous and preceding time frames of the first spectral component, and (c) one of the simultaneous, preceding, and succeeding time frames of the first spectral component as input to determine each time frame of the second spectral component. The decryption method described in Appendix 24. (Note 26) The step of calculating a second frequency domain representation of the downmix signal includes the step of calculating an approximate second spectral representation having an approximate second spectral component determined by a combination of at least two temporally adjacent and / or frequencyly adjacent first spectral components. The decryption method described in any one of the appendices 19 to 25. (Note 27) The stereo signal is represented in the time domain, and the method further, Depending on whether the bitstream signal is encoded by direct stereo encoding or simultaneous stereo encoding, the step of omitting the upmixing step is as follows: The process includes the step of inversely transforming the bitstream signal to obtain the stereo signal. The decryption method described in any one of the appendices 19 to 26. (Note 28) Depending on whether the bitstream is encoded by direct stereo coding or simultaneous stereo coding, the steps of transmitting the time-domain representation of the downmix signal and calculating the side signal are omitted. The method further includes the step of obtaining the stereo signal by inversely transforming the frequency domain representation of each channel encoded by the bitstream signal. Decryption method as described in Appendix 27. (Note 29) An encoding method for encoding a stereo signal using a bitstream by complex predictive stereo coding, The steps include determining the complex prediction coefficients, A step of converting the stereo signal to a first frequency domain representation of a downmix signal and a residual signal having a relationship determined by the complex prediction coefficient, wherein the first frequency domain representation has a first spectral component representing the spectral content of the corresponding signal represented in a first subspace of a multidimensional space, An encoding method comprising the step of encoding the downmix channel, the residual channel, and the complex prediction coefficient as the bitstream. (Note 30) The step of determining the complex prediction coefficient is performed in order to minimize the power of the residual signal or the average power of the residual signal over a certain period of time. The encoding method described in Appendix 29. (Note 31) The steps of defining or recognizing the partition of the stereo signal in a time frame, The process further includes the step of encoding or selecting a stereo signal in each time segment using at least one of the following options: direct stereo coding, simultaneous stereo coding, and complex predictive stereo coding. If direct stereo encoding is selected, the stereo signal is converted to a frequency domain representation of the left and right channels and encoded as the bitstream. If simultaneous stereo encoding is selected, the stereo signal is converted to a frequency domain representation of the downmix channel and side channel and encoded as the bitstream. The encoding method described in Appendix 29 or 30. (Note 32) The option that provides the highest sound quality according to the prescribed psychoacoustic model is selected. The encoding method described in Appendix 31. (Note 33) The method further comprises the step of defining or recognizing the partition of the stereo signal into a time frame, The aforementioned stereo signal has a downmix channel and a side channel. The step of converting the stereo signal into a first frequency domain representation of the downmix channel and the residual channel is: A substep for calculating a second frequency domain representation of the downmix signal based on a first frequency domain representation of the downmix channel, wherein the second frequency domain representation has a second spectral component representing the spectral content of the signal represented in the second subspace of the multidimensional space, which includes a portion of the multidimensional space not included in the first subspace; The steps include: constructing a residual signal based on the first and second frequency domain displays of the downmix channel, the first frequency domain display of the side channel, and the complex prediction coefficients; The step of determining the complex prediction coefficient is performed for one hour frame at a time by minimizing the average power of the residual signal in each time frame. The encoding method described in Appendix 29 or 30. (Note 34) The steps of converting the stereo signal into a simultaneously encoded stereo signal having a downmix channel and a side channel, The steps include converting the downmix channel into an oversampled frequency domain representation, preferably having complex spectral components, The steps include: converting the side channel into a critically sampled, preferably real-valued, frequency-domain representation; The method further comprises the step of calculating a residual signal based on the oversampled frequency domain display of the downmix channel, the critically sampled frequency domain display of the side channel, and the complex prediction coefficients. The determination of the complex prediction coefficient is performed by feedback control with respect to the residual signal thus calculated in order to minimize the power or average power. The encoding method described in any one of the appendices 29 to 33. (Note 35) The conversion of the downmix channel to an oversampled frequency domain display is performed by applying MDCT and MDST and concatenating their outputs. The encoding method described in Appendix 34. (Note 36) A computer program product having a computer-readable medium that stores instructions for performing the method described in any one of the notes 19 to 35 when executed by a general-purpose computer.< / nd>

Claims

1. A method for encoding a stereo audio signal having a left channel and a right channel, the method being: The steps include: estimating the prediction coefficient using the left channel and the right channel; The steps include: using the prediction coefficients, downmixing the left channel and the right channel to generate a mid-range signal and a residual signal; The steps include: generating an audio bitstream by multiplexing the mid-range signal, the residual signal, and the prediction coefficient; Includes, The prediction coefficient minimizes the energy of the residual signal, and the encoding operates in either a prediction mode or a non-prediction mode for a given time frame based on the value of the prediction coefficient. The encoding operates in the non-predictive mode when the value of the prediction coefficient is zero. method.

2. The method according to claim 1, wherein when the encoding operates in the prediction mode, the residual signal represents the difference between the side signal and a predicted side signal, and the downmix generates a predicted side signal based on the mid signal and the prediction coefficient.

3. The method according to claim 2, wherein when the encoding operates in the non-predictive mode, the residual signal represents the side signal, the downmix generates the mid signal based on the sum of the left channel and the right channel, and generates the residual signal based on the difference between the left channel and the right channel.

4. The method according to claim 1, wherein the prediction coefficient is determined based on optimization using the mean squared error criterion.

5. The method according to claim 1, wherein when the encoding operates in the prediction mode, the downmix generates the residual signal using a filter having three taps.

6. The method according to claim 1, wherein the prediction coefficient is a real-valued coefficient.

7. The method according to claim 1, wherein the prediction coefficient is a complex-valued coefficient.

8. The method according to claim 1, wherein the prediction coefficient is quantized and encoded in the audio bitstream.

9. The method according to claim 1, wherein the prediction coefficient is encoded in the audio bitstream using multiple parts.

10. A device for encoding a stereo audio signal having a left channel and a right channel, the device is An estimator that generates prediction coefficients using the left channel and the right channel; A downmix unit that uses the prediction coefficients to mix the left channel and the right channel to generate a mid-range signal and a residual signal; A multiplexer that combines the mid-range signal, the residual signal, and the prediction coefficient to generate an audio bitstream. It has, The prediction coefficient minimizes the energy of the residual signal, and the encoding operates in either a prediction mode or a non-prediction mode for a given time frame based on the value of the prediction coefficient. The encoding operates in the non-predictive mode when the value of the prediction coefficient is zero. Device.

11. The apparatus according to claim 10, wherein when the encoding operates in the prediction mode, the residual signal represents the difference between the side signal and a predicted side signal, and the mix generates a predicted side signal based on the mid signal and the prediction coefficient.

12. The apparatus according to claim 11, wherein when the encoding operates in the non-predictive mode, the residual signal represents the side signal, the mix generates the mid signal based on the sum of the left channel and the right channel, and generates the residual signal based on the difference between the left channel and the right channel.

13. The apparatus according to claim 10, wherein the prediction coefficient is determined based on optimization using the mean squared error criterion.

14. The apparatus according to claim 10, wherein when the encoding operates in the prediction mode, the mix generates the residual signal using a filter having three taps.

15. The apparatus according to claim 10, wherein the prediction coefficient is a real-valued coefficient.

16. The apparatus according to claim 10, wherein the prediction coefficient is a complex-valued coefficient.

17. The apparatus according to claim 10, wherein the prediction coefficient is quantized and encoded in the audio bitstream.

18. The apparatus according to claim 10, wherein the prediction coefficient is encoded in the audio bitstream using multiple parts.

19. A non-temporary computer-readable medium storing a computer program for causing a processor to perform the method described in any one of claims 1 to 9.

20. A computer program for causing a processor to perform the method described in any one of claims 1 to 9.

Citation Information

Patent Citations

  • Poly- phonic coding

    JP1992506141A

  • Selective use of multiple entropy models in adaptive coding and decoding

    JP2009501943A