The present embodiments generally relate to speech and audio encoding and decoding, and in particular to handling of envelope representation coefficients.
When handling audio signals, such as speech signals, at an encoder of a transmitting unit, the audio signals are represented digitally in a compressed form using for example Linear Predictive Coding, LPC. As LPC coefficients are sensitive to distortions, which may occur to a signal transmitted in a communication network from a transmitting unit to a receiving unit, the LPC coefficients might be transformed to envelope representation coefficients at the encoder. Further, the envelope representation coefficients may be compressed, i.e. coded, in order to save bandwidth over the communication interface between the transmitting unit and the receiving unit.
A further use of the spectral envelope is to apply a mean removed normalized frequency envelope to scale a frequency domain signal prior to quantization, based on a quantized spectral envelope in order to control the frequency location and magnitude of the spectral line quantization errors introduced in the spectral line quantization for those frequency locations. The mean removed normalized frequency envelope may be represented as a vector of scale factors.
LSF coefficients provide a compact representation of a spectral envelope, especially suited for speech signals. LSF coefficients are used in speech and audio coders to represent and transmit the envelope of the signal to be coded. The LSFs are a representation typically based on linear prediction. The LSFs comprise an ordered set of angles in the range from 0 to pi, or equivalently a set of frequencies from 0 to Fs/2, where Fs is the sampling frequency of the time domain signal. The LSF coefficients can be quantized on the encoder side and are then sent to the decoder side. LSF coefficients are robust to quantization errors due to their ordering property. As a further benefit, the input LSF coefficient values are easily used to weigh the quantization error for each individual LSF coefficient, a weighing principle which coincides well with a wish to reduce the codec quantization error more in perceptually important frequency areas than in less important areas.
Legacy methods, such as AMR-WB (Adaptive Multi-Rate Wide Band), use a large stored codebook or several medium sized codebooks in several stages, such as Multistage Vector Quantizer (MSVQ) or Split MSVQ, for LSF, or Immittance Spectral Frequencies (ISF), quantization, and typically make an exhaustive search in codebooks that is computationally costly.
Alternatively, an algorithmic VQ can be used, e.g. in EVS (Enhanced Voice Service) a scaled D8+ lattice VQ is used which applies a shaped lattice to encode the LSF coefficients. The benefit of using a structured lattice VQ is that the search in codebooks may be simplified and the storage requirements for codebooks may be reduced, as the structured nature of algorithmic Lattice VQs can be used. Other examples of lattices are D8, RE8. In some EVS mode of operation, Trellis Coded Quantization, TCQ, is employed for LSF quantization. TCQ is also a structured algorithmic VQ.
There is an interest to achieve an efficient compression technique requiring low computational complexity at the encoder.
An object of embodiments herein is to provide efficient compression requiring low computational complexity at the encoder.
According to a first aspect there is presented a method performed by an encoder of a communication system for handling input envelope representation coefficients. The method comprises determining envelope representation residual coefficients as first compressed envelope representation coefficients subtracted from the input envelope representation coefficients. The method comprises transforming the envelope representation residual coefficients into a warped domain so as to obtain transformed envelope representation residual coefficients. The method comprises applying, at least one of a plurality of gain-shape coding schemes on the transformed envelope representation residual coefficients in order to achieve gain-shape coded envelope representation residual coefficients, where the plurality of gain-shape coding schemes have mutually different trade-offs in one or more of gain resolution and shape resolution for one or more of the transformed envelope representation residual coefficients. The method comprises transmitting, over a communication channel to a decoder, a representation of the first compressed envelope representation coefficients, the gain-shape coded envelope representation residual coefficients, and information on the at least one applied gain-shape coding scheme.
According to a second aspect there is presented an encoder for handling input envelope representation coefficients. The encoder comprises processing circuitry configured to perform the method according to the first aspects.
According to an embodiment the encoder further comprises a storage medium storing a set of operations as defined by the actions performed by the encoder according to the first aspect. The processing circuitry is configured to retrieve the set of operations from the storage medium to cause the encoder to perform the set of operations.
According to a third aspect there is presented an encoder for handling input envelope representation coefficients. The encoder comprises modules configured to perform the method according to the first aspects.
According to a fourth aspect there is presented a computer program for handling input envelope representation coefficients, the computer program comprising computer program code which, when run on processing circuitry of an encoder, causes the encoder to perform a method according to the first aspect.
According to a fifth aspect there is presented a method performed by a decoder of a communication system for handling envelope representation residual coefficients. The method comprises receiving, over a communication channel from an encoder, a representation of first compressed envelope representation coefficients, gain-shape coded envelope representation residual coefficients, and information on at least one applied gain-shape coding scheme, applied by the encoder. The method comprises applying, at least one of a plurality of gain-shape decoding schemes on the received gain-shape coded envelope representation residual coefficients according to the received information on at least one applied gain-shape coding scheme, in order to achieve envelope representation residual coefficients, where the plurality of gain-shape decoding schemes have mutually different trade-offs in one or more of gain resolution and shape resolution for one or more of the gain-shape coded envelope representation residual coefficients. The method comprises transforming the envelope representation residual coefficients from a warped domain into an envelope representation original domain so as to obtain transformed envelope representation residual coefficients. The method comprises determining envelope representation coefficients as the transformed envelope representation residual coefficients added with the received first compressed envelope representation coefficients.
According to a sixth aspect there is presented a decoder for handling envelope representation residual coefficients. The decoder comprises processing circuitry configured to perform the method according to the fifth aspects.
According to an embodiment the decoder further comprises a storage medium storing a set of operations as defined by the actions performed by the decoder according to the fifth aspect. The processing circuitry is configured to retrieve the set of operations from the storage medium to cause the decoder to perform the set of operations.
According to a seventh aspect there is presented a decoder for handling input envelope representation coefficients. The decoder comprises modules configured to perform the method according to the fifth aspects.
According to an eight aspect there is presented a computer program for handling envelope representation residual coefficients, the computer program comprising computer program code which, when run on processing circuitry of a decoder, causes the decoder to perform a method according to the fifth aspect.
According to a ninth aspect there is presented a computer program product comprising a computer program according to at least one of the fourth aspect and the eight aspect and a computer readable storage medium on which the computer program is stored. The computer readable storage medium could be a non-transitory computer readable storage medium.
Other objectives, features and advantages of the enclosed embodiments will be apparent from the following detailed disclosure, from the attached dependent embodiments as well as from the drawings.
Generally, all terms used in the enumerated embodiments are to be interpreted according to their ordinary meaning in the technical field, unless explicitly defined otherwise herein. All references to “a/an/the element, apparatus, component, means, module, step, etc.” are to be interpreted openly as referring to at least one instance of the element, apparatus, component, means, module, step, etc., unless explicitly stated otherwise. The steps of any method disclosed herein do not have to be performed in the exact order disclosed, unless explicitly stated.
The inventive concept is now described, by way of example, with reference to the accompanying drawings.
The inventive concept will now be described more fully hereinafter with reference to the accompanying drawings, in which certain embodiments of the inventive concept are shown. This inventive concept may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein; rather, these embodiments are provided by way of example so that this disclosure will be thorough and complete, and will fully convey the scope of the inventive concept to those skilled in the art. Like numbers refer to like elements throughout the description. The figures are schematic and simplified for clarity, and they merely show details for the understanding of the embodiments presented herein, while other details have been left out.
The wireless communications network 100 comprises a network node 110. The network node 110 serves at least one cell 112. The network node 110 may be a base station, a radio base station, a nodeB, an eNodeB, a Home Node B, a Home eNode B or any other network unit capable of communicating with a wireless device within the cell 112 served by the network node depending e.g. on the radio access technology and terminology used. The network node may also be a base station controller, a network controller, a relay node, a repeater, an access point, a radio access point, a Remote Radio Unit, RRU, or a Remote Radio Head, RRH.
In
Embodiments described herein may also be implemented in a short-range radio wireless communication network such as a Bluetooth based network. In a short-range radio wireless communication network communication may be performed between different short-range radio communication enabled communication devices, which may have a relation such as the relation between an access point/base station and a wireless device. However, the short-range radio enabled communication devices may also be two wireless devices communicating directly with each other, leaving the cellular network discussion of
Alternatively, the communication network may be a wireline communication network.
As part of the developing of the embodiments described herein, a problem will first be identified and discussed.
When transmitting envelope representation coefficients from a transmitting unit comprising an encoder to a receiving unit comprising a decoder there is an interest to achieve a better compression technique, requiring low bandwidth for transmitting the signal and low computational complexity at the encoder and the decoder.
According to one embodiment, such a problem may be solved by a method performed by an encoder of a communication system for handling input envelope representation coefficients as presented above.
According to one embodiment, such a problem may be solved by a method performed by an decoder of a communication system for handling envelope representation residual coefficients as presented above.
According to some embodiments, the encoder performs the following actions:
In some examples, the submode scheme selection is made by a combination of low complex Pyramid Vector Quantizer-, PVQ-projection and shape fine search selection followed by an optional global mean square error, MSE, optimization. The MSE optimization is global in the sense that both gain and shape and all submodes are evaluated. This saves average complexity. The action results in a submode index and possibly a gain codeword, and shape code word(s) for the selected submode. The selectively applying may be realized by searching an initial outlier submode and subsequently a non-outlier mode.
In some examples the gain-shape sub-mode selection is made by a combination of low complex Pyramid VQ (PVQ) shape fine search selection and then an optional global (mean square error) MSE optimization (global in the sense that both gain and shape and all submodes are evaluated). This saves average complexity and results in a shape-gain submode index j and possibly a gain codeword i, and shape code word(s) for the selected shape-gain submode j.
In some examples the encoder searches an initial outlier submode and eventually a non-outlier mode.
In some examples the encoder sends first stage VQ codewords over the channel to the decoder.
In some examples the encoder sends high level submode-information over the channel to the decoder.
In some examples the encoder combines gain codeword(s) with the shape index and send these over the channel to the decoder, if required by the selected gain-shape submode j.
In some examples the shape PVQ codeword(s) are indexed, optionally combined with a part of the gain codeword and/or a part of the submode index by the encoder, and sent by the encoder over the channel to the decoder.
By one or more of the embodiments of the invention one or more of the following advantages may be achieved:
Very low complexity can be achieved.
The application of a structured (energy compacting) transform allows for a strongly reduced first stage VQ. For example, the first stage VQ may be reduced to 25% of its original codebook size decreasing both Table ROM (Read Only Memory) and first stage search complexity. E.g. from R=0.875 bits/coefficient to R=0.625 bits per coefficient. E.g. with dimensions 8 the bit rate can be dropped from 8*0.875=7 bits to 8*0.625-5 bits, which corresponds to a drop from 128 vectors to 32 vectors of dimension 8.
The structured PVQ based sub-modes may be searched with an extended (low complex) linear search, even though there are several gain-shape combination sub-modes for the envelope representation coefficients available.
The structured PVQ based sub-modes may be optimized to handle both outliers, where outliers are the envelope representation residual coefficients with an atypical high and low energy, and also handle non-outlier target vectors with sufficient resolution.
In the following, an embodiment is presented. The proposed method requires as input a vector of envelope representation coefficients.
In some aspects the time signal is an audio signal, such as a speech signal. An analysis window might be applied before the MDCT, see e.g. MDCT application and definition in ITU-T G.719 encoder. The spectral coefficients c(n) for n=0 . . . (Ncoded−1), where Ncoded may be e.g. 400 coefficients from the encoder side MDCT, are in this embodiment grouped into Nbands=16 uniform bands of length Lbands=Ncoded/16. The band sizes could alternatively be logarithmic or semi-logarithmic band sizes (as in aforementioned document ITU-T G.719)). The obtained logarithmic spectral band energies en Log(band) are normalized into a vector of target scale factors scf(band) by removing the mean of all en Log(band) values:
These target scale factors scf(band) for band=0 . . . 15 now represents an approximation of the mean level normalized Root Mean Square (RMS) shape for the spectral envelope of the original time domain input signal s(t).
The target scale factors scf(n) as obtained according the above are quantized using a two-stage vector quantizer employing a total of 38 bits (R=2.375 bits/coefficient). The first stage is a 10 bit split VQ and the second stage is a low complex algorithmic Pyramid VQ (PVQ). To maintain low overall VQ complexity the Pyramid VQ is analyzed in a gain/shape fashion in a transformed domain, enabling an efficient shape only search, followed by a low complex total MSE evaluation in a combined gain and shape determination step. The presented VQ-scheme can typically be realized in the range of 20-60 bits without any drastic increase in complexity with increased bit rate.
The first stage is a split VQ employing two off-line trained stochastic codebooks LFCB and HFCB. Each codebook row has dimension 8 and the number of codebook columns is limited to 32, requiring 5 bits for each split for transmission. The MSE distortions for the two codebooks are defined as follows:
The best index for the low frequency split is found (module 601; SCF VQ-stage 1 short/low complexity search) according to:
The best index for the high frequency split is found (module 601; SCF VQ-stage 1 short/low complexity search) according to:
The first stage vector is composed as:
The first stage residual signal is calculated (module 602) as:
Reference is made to
The corresponding modules in
On a high level the overall mean square error that is minimized (616) by the second stage is:
The second stage employs a 16-dimensional DCT-rotation using a 16-by-16 matrix D. The matrix D has been determined off-line for efficient scale factor quantization, it has the property that DT·D=I, where/is the identity matrix. To reduce the encoder side search complexity the reverse (i.e., analysis) transform D (i.e. DCT) may be used prior to the shape and gain determination, while on the decoder side only the forward (synthesis) transform DT (i.e. IDCT) is required. The coefficients of the full D rotation matrix are listed below. It should be noted that the conventional DCT( ) and IDCT( ) functions could be used to realize these transformations. Possible alternatives that also are able to handle a mean value component in the residual signal, are to use e.g the Hadamard transform with very low processing and storage requirements or even a trained Rotation Matrix. In
There are four different 16-dimensional unit energy normalized shape candidates evaluated, where the normalization is always performed over 16 coefficients. The pulse configurations for two sets (denoted A and B) of scale factors for each candidate shape index(j) are given in Table 1.
Shape index j=0 pulse configuration is a hybrid PVQ shape configuration, with KA=10 over NA=10 scale factors and KA=1 over the remaining NB=6 scale factors. For shape index 0, it the two sets of unit pulses are unit energy normalized over the full target dimension N=NA+NB=16, even though the PVQ integer pulse and sign enumeration is performed separately for each scale factor set.
The shape search target preparation consists of a 16×16 dimensional matrix analysis rotation (a DCT implemented using matrix D) as follows:
The goal of a generic PVQ(N, K) shape search procedure is to find the best normalized vector xq(n). In vector notation, xq(n) is defined as:
That is xq is the unit energy normalized integer vector y, a deterministic point on the unit energy hypersphere. The best integer y vector is the one minimizing the mean squared shape error between the second stage target vector t2rot(n)=x(n) and the normalized quantized output vector xq. The shape search is achieved by minimizing the following distortion:
Equivalently, by squaring numerator and denominator, by maximizing the quotient QPVQ-shape:
The best position nbest for the k'th unit pulse, is iteratively updated by increasing nc from 0 to N−1:
To avoid division operations (which might be especially important in fixed point arithmetic) the QPVQ-shape maximization update decision may be performed using a cross-multiplication of a saved best squared correlation numerator bestCorrSq so far and the saved best energy denominator bestEn so far:
The iterative maximization of QPVQ-shape(k, nc) may start from a zero number of initially placed unit pulses (ystart(n)=0, for n=0 . . . 15) or alternatively from a low cost pre-placement number of unit pulses based on an projection to a integer valued point below the K'th-pyramid's surface, with a guaranteed undershoot of unit pulses in the target L1 norm K. Such a projection may be made as follows:
A projection to K (on the PVQ(N,K) pyramids surface) might also be used. It numerical precision issues result in a point above the pyramids surface, a new valid projection at or below the surface needs to be performed, or alternatively unit pulses are removed until the surface of the pyramid is reached.
For shape j=0, the set B positions only contain one single non-stacked unit pulse with a fixed energy contribution. This means that the search for the single pulse in set B may be simplified to search only for the maximum absolute value in the six set B locations.
Four signed integer pulse configurations vectors yj are established by using distortion measure dPVQ-shape and then their corresponding unit energy shape vectors xq,j are computed according to Equation (12). As each total pulse configuration yj always spans 16coefficients, the energy normalization is always performed over dimension 16, even though two shorter sets are used for enumeration of the y0 integer vector.
An efficient overall unit pulse search (for all four shape candidates) may be achieved by searching the shapes in the order from shape j=3 to shape j=0, by making a first projection to a point on or below the pyramid K=6, and then sequentially add unit pulses and save intermediate shape results until K is correct for each of the shape candidates with a higher number of unit pulses K. Note that as the regular set A shapes j=0, 1 spans over different allowed scale factor regions than the two outlier shapes (j=2, 3), the search start pulse configuration for the two regular shapes is handled by removing any unit pulses which are not possible to index in the regular shape sets A (for j=0,1). As the pulse search is performed in the all positive orthant, a final step of setting the signs of the non-zero entries in yj(n) based on the corresponding sign of the target vector x(n) is performed.
An example of a search procedure corresponding to the above PVQ search strategy for the described PVQ based shapes is summarized in Table 2.
An example of potentially available integer vectors yj and unit energy normalized vectors xq,j, after the PVQ search are summarized in Table 3.
There are four different adjustment gain candidate sets, one set corresponding to each overall shape candidate j. The adjustment gain configuration for each of the shapes are given in Table 4
The best possible shape and gain is determined among the possible shape candidates and each corresponding gain set. To minimize complexity the MSE versus the target may be evaluated in the rotated domain, i.e. the same domain as the shape search was performed in:
Out of the total 18(2+4+4+8) possible gain-shape combinations, the shape_index(=j) and adjustment gain index gain_index(=i) that results in the minimum MSE are selected for subsequent enumeration and multiplexing:
The pulse configuration(s) of the selected shape are enumerated using an efficient scheme which separates each PVQ(N, K) pulse configuration into two short codewords; a leading sign index bit and an integer MPVQ-index codeword. The MPVQ-index bit-space is typically fractional (i.e. a non-power of 2 total number of pulse configurations). In
The largest sized MPVQ integer shape index (j=2, ‘outlier_near’) fits within a 24 bit unsigned word, enabling fast implementations of MPVQ enumeration and de-enumeration on platforms supporting unsigned integer arithmetic of 24 bits or higher.
The enumeration scheme uses an indexing offsets table A(n, k) which may be found as tabled unsigned integer values below. The offset values in A (dimension n, L1-norm k) are defined recursively as:
The actual enumeration of a signed integer vector y(=vec_in) with an L1 norm of K(=k_val_in) over dimension N(=dim_in), into an MPVQ shape index index an and a leading sign index lead_sign_ind is shown in pseudo-code below:
MPVQ enumeration calls for a selected shape (j) are summarized in Table 5:
The stage 1 indices are multiplexed in the following order: ind_LF (5 bits) followed by ind_HF (5 bits).
To efficiently use the available total bit space for the scale factor quantizer (38 bits), in combination with the fractional sized MPVQ-indices, the shape index j, the second stage shape codewords and potentially an LSB of the gain codeword are jointly encoded. The overall parameter encoding order for the second stage multiplexing components is shown in Table 6.
In the multiplexing of leading signs LeadSignA and/or LeadSignB, each leading sign is multiplexed as 1 if the leading sign is negative and multiplexed as a 0 if the leading sign is positive. Table 7 shows submode bit values, sizes of the various second stage MPVQ shape indices, and the adjustment gain separation sections for each shape index (j).
For a selected shape with shape index j=0 and j=2, the selected gain index is sent without modification as index i, for gain value Gi,j, requiring 1 bit for j=0 and 2 bits for j=2.
For a selected shape with shape index j=1 and j=3, and a selected gain value Gi,j with gain index i, the MSB part of the gain index is first sent by a removal of the LSBgain bit. That is. iMSBs=i>>1; LSBgain=i&0×1; The multiplexing of iMSBs will require 1 bit for j=1 and 2 bits for j=3. The LSBgain bit will be multiplexed into the joint index.
In
Composition of the joint index for a selected shape index of j=0 (‘regular’) is determined as:
Composition of the joint index for a selected shape index of j=1 (‘regular_If’) is determined as:
Composition of the joint index for a selected shape index of j=2 (‘outlier_near’) is determined as:
Composition of the joint index for a selected shape index of j=3 (‘outlier_far’)
The quantized first stage vector st1, the quantized second stage unit energy shape vector xq,j and the quantized adjustment gain Gi,j (with gain index i) are used to establish the quantized scale factor vector scƒQ(n) as follows:
In equation (30, the xq,j(n)·DT vector times matrix multiplication realizes the IDCT synthesis transform. Even though this (Equations 30 and 31) quantized scale factor generation takes place on the encoder side, the corresponding steps are performed the same way in the decoder, see
The quantized scale factor vector scfQ(n) is now used to scale/normalize the MDCT coefficients c(n) into cnorm(n) as follows:
The normalized coefficients cnorm(n) may be quantized using a logarithmic PCM quantizer, like ITU-T G.711, where G.711 is defined for using 8 bits per coefficient, into normQ(n) for n=(0. . . . Ncoded−1). And G711 mu-law may handle a dynamic range of 14 bits.
The resulting residual spectrum parameter bytes spec(n) for n=(0 . . . Ncoded−1) are forwarded on the transport channel, where each spec(n) is a G.711 8 bit index.
In some aspects the decoder performs the following steps. A set of 16 quantized scale factors is first decoded as described for/in the encoder. These quantized scale factors are the same as the quantized scale factors obtained in the encoder. The quantized scale factors are then used to shape the received MDCT normalized spectrum coefficient as described below.
The first stage parameters are decoded, in
The first stage indices ind_LF and ind_HF are converted to signal st1(n) according to Equations (7) and (8) above, in
To efficiently use the available total bit space for the scale factor quantizer (38 bits), in combination with the fractional sized MPVQ-indices, the shape selection, the second stage shape codewords and the adjustment gain least significant bit are jointly encoded as described in Table 7. On the decoder/receiver side the reverse process takes place. The second stage submode bit, initial gain index and the Leading Sign index are first read from the bitstream decoded as follows:
If subModeMSB equals 0, corresponding to one of the shapes (j=0 or j=1), the following demultiplexing procedure is followed:
If subModeMSB equals 1, (‘outlier_near’ or ‘outlier_far’ submodes) the following demultiplexing procedure is followed:
Finally the decombined/demultiplexed second stage indices j and i are determined as follows:
In
If shape_j is 0, two shapes A(LS_indA, idxA), B(LS_indB, idxB), are de-enumerated into signed integer vectors, otherwise (shape_j is not 0) only one shape is de-enumerated. The setup of the four possible shape configurations are described in Table 1.
The actual de-enumeration of a leading sign index LS_ind and an MPVQ shape index MPVQ_ind into an signed integer vector y (denoted vec_out) with an L1 norm of K (denoted k_val_in) over dimension N (denoted dim_in), is shown in pseudo code below.
MPVQ de-enumeration calls according to Table 8 are made for the demultiplexed shape (j).
The de-enumerated signed integer vector y is normalized to an unit energy vector xq,j over dimension 16 according to Equation (12).
The adjustment gain value Gi,j for gain index i and shape index j is determined based on table lookup (see encoder Table 4).
Finally, the synthesis of the quantized scale factor vector scfQ(n) is performed the same way as on the encoder side (see, Equations 30 and 31).
The final quantized scale factor generation is in
The spectrum parameter bytes spec(n) for n=(0 . . . Ncoded−1), received over a communications channel are dequantized using an inverse logarithmic pcm quantizer, like ITU-T G.711 (using 8 bits per coefficient) into cnormQ(n) for n=(0 . . . Ncoded−1). The quantized scale factor vector scfQ(n) is now used to scale the quantized normalized MDCT coefficients cnormQ(n) into cQ(n) as follows:
Finally the inverse MDCT (see e.g. ITU-T G.719 decoder) is applied to the scaled quantized spectrum as follows:
Further after the IMDCT the signal sQ(t) is windowed and the required MDCT overlap add (OLA) operation is performed to obtain the final synthesized time domain signal, see e.g. ITU-T G.719 decoder where a sine window is applied before the MDCT OLA.
Below follows listings of first stage scale factors (LFCB and HFCB), MPVQ indexing offset table A, and a DCT rotation matrix D.
In accordance with the above, an efficient low complexity method is provided for quantization of envelope representation coefficients.
According to embodiments, application of a transform to the envelope representation residual coefficients enables a very low rate and low complex first stage in the VQ without sacrificing performance.
According to embodiments, selection of an outlier sub-mode in a multimode PVQ quantizer enables efficient handling of envelope representation residual coefficient outliers. Outliers have very high or very low energy/gains or an atypical shape.
According to embodiments, selection of a regular sub-mode in a multimode PVQ quantizer enables higher resolution coding of the most frequent/typical envelope representation residual coefficients/shapes.
According to embodiments, for enabling an efficient PVQ-search scheme, the outlier mode employs a non-split VQ while the regular non-outlier submode employs a split-VQ, with different bits/coefficient in each split segment. Further the split segments may preferably be a nonlinear sample of the transformed vector.
According to embodiments, application of an efficient dual/multi-mode PVQ-search enables a very efficient search and sub-mode selection in a multimode PVQ-based gain-shape structure.
According to embodiments, the herein disclosed methods enable efficient usage of a fractional bitspace through the use joint combination of shape indices, LSB gains and LSB of submode indications.
To perform the methods and actions herein, an encoder 1600 and a decoder 1800 are provided.
For the encoder, the embodiments may be implemented through one or more processors 1603 in the encoder depicted in
The encoder 1600 may according to the embodiment of
For the decoder 1800, the embodiments herein may be implemented through one or more processors 1803 in the decoder 1800 depicted in
The decoder 1800 may according to the embodiment of
As will be readily understood by those familiar with communications design, functions from other circuits may be implemented using digital logic and/or one or more microcontrollers, microprocessors, or other digital hardware. In some embodiments, several or all of the various functions may be implemented together, such as in a single application-specific integrated circuit (ASIC), or in two or more separate devices with appropriate hardware and/or software interfaces between them.
From the above it may be seen that the embodiments may further comprise a computer program product, comprising instructions which, when executed on at least one processor, e.g. the processors 1603 or 1803, cause the at least one processor to carry out any of the methods described. Also, some embodiments may, as described above, further comprise a carrier containing said computer program, wherein the carrier is one of an electronic signal, optical signal, radio signal, or computer readable storage medium.
Although the description above contains a plurality of specificities, these should not be construed as limiting the scope of the concept described herein but as merely providing illustrations of some exemplifying embodiments of the described concept. It will be appreciated that the scope of the presently described concept fully encompasses other embodiments which may become obvious to those skilled in the art, and that the scope of the presently described concept is accordingly not to be limited. Reference to an element in the singular is not intended to mean “one and only one” unless explicitly so stated, but rather “one or more.” All structural and functional equivalents to the elements of the above-described embodiments that are known to those of ordinary skill in the art are expressly incorporated herein by reference and are intended to be encompassed hereby. Moreover, it is not necessary for an apparatus or method to address each and every problem sought to be solved by the presently described concept, for it to be encompassed hereby. In the exemplary figures, a dashed line generally signifies that the feature within the dashed line is optional.
1. A method performed by an encoder (1600) of a communication system (100) for handling input envelope representation coefficients, the method comprising: determining (204) envelope representation residual coefficients as first compressed envelope representation coefficients subtracted from the input envelope representation coefficients; transforming (206) the envelope representation residual coefficients into a warped domain so as to obtain transformed envelope representation residual coefficients; applying (208) at least one of a plurality of gain-shape coding schemes on the transformed envelope representation residual coefficients in order to achieve gain-shape coded envelope representation residual coefficients, where the plurality of gain-shape coding schemes have mutually different trade-offs in one or more of gain resolution and shape resolution for one or more of the transformed envelope representation residual coefficients; and transmitting (210), over a communication channel to a decoder, a representation of the first compressed envelope representation coefficients, the gain-shape coded envelope representation residual coefficients, and information on the at least one applied gain-shape coding scheme.
The steps of handling the envelope representation residual coefficients has an advantage in that it provides a computationally efficient handling that at the same time results in an efficient compression of the envelope representation residual coefficients. Consequently, the method results in a computation efficient and compression efficient handling of the envelope representation coefficients.
The envelope representation coefficients may also be called an envelope representation coefficient vector. Similarly, the envelope representation residual coefficients may be called an envelope representation residual coefficient vector. The warped domain may be a warped quantization domain. The application of one of the plurality of gain-shape coding schemes may be performed per envelope representation residual coefficient basis. For example, a first scheme may be applied for a first group of envelope representation residual coefficients and a second scheme may be applied for a second group of envelope representation residual coefficients.
The wording “resolution” above signifies number of bits used for a coefficient. In other words, gain resolution signifies number of bits used for defining gain for a coefficient and shape resolution signifies number of bits used for defining shape for a coefficient.
2. Method according to embodiment 1, further comprising: quantizing (202) the input envelope representation coefficients using a first number of bits, and wherein the determining (204) of envelope representation residual coefficients comprises subtracting the quantized envelope representation coefficients from the input envelope representation coefficients, and the transmitted first compressed envelope representation coefficients are the quantized envelope representation coefficients.
The above method has the advantage that it enables a low first number of bits used in the quantizing step.
3. Method according to any of the preceding embodiments, wherein the applying (208) at least of one of a plurality of gain-shape coding schemes on the transformed envelope representation residual coefficients comprises selectively applying the at least one of the plurality of gain-shape coding schemes.
By selectively applying a gain-shape coding scheme the encoder can select the gain-shape coding scheme that is best suited for the individual coefficient.
4. Method according to embodiment 3, wherein the selection in the selectively applying (208) of the at least one of the plurality of gain-shape coding schemes is performed by a combination of a PVQ shape projection and a shape fine search to reach a first PVQ pyramid code point over available dimensions on a per envelope representation residual coefficient basis.
The above embodiment has the advantage that it lowers average computational complexity.
5. Method according to embodiment 3, wherein the selection in the selectively applying (208) of the at least one of the plurality of gain-shape coding schemes is performed by a combination of a PVQ shape projection and a shape fine search to reach a first PVQ pyramid codepoint over available dimensions followed by another shape fine search to reach a second PVQ pyramid code point within a restricted set of dimensions.
6. Method according to any of the preceding embodiments, wherein at least some of the plurality of gain-shape coding schemes use mutually different bit resolutions for different subsets of envelope representation residual coefficients.
7. Method according to any of the preceding embodiments, wherein the input envelope representation coefficients are mean removed envelope representation coefficients.
8. Method according to any of the preceding embodiments, wherein the applying (208) at least of one of a plurality of gain-shape coding schemes on the transformed envelope representation residual coefficients comprises applying a two-stage VQ.
9. Method according to embodiment 8, wherein the two-stage VQ comprises a first stage split VQ and a second stage PVQ.
10. Method according to embodiment 9, wherein the split VQ employs two off-line trained stochastic codebooks.
11. Method according to embodiment 10, wherein the two off-line trained stochastic codebooks are not larger than half the size of codebooks used during the second stage PVQ.
That is, the codebooks of the first stage split VQ might, in a quantifiable way, be of much lower size than the codebooks used during the second stage PVQ.
12. Method according to embodiment 9, wherein the PVQ employs application of a DCT-rotation matrix, application of a shape search, application of adjustment gain and submode quantization, and application of shape enumeration.
13. Method according to embodiment 12, wherein the two-stage VQ employs a total of whole 38 bits.
14. Method according to any of the preceding claims, wherein an integer bit space for gain-shape multiplexing is used by sectioning a joint shape codeword into several subsections, and where a specific subsection indicates submode least significant bit, a gain least significant bit, or an additional shape codeword.
15. A method performed by a decoder (1800) of a communication system (100) for handling envelope representation residual coefficients, the method comprising: receiving (301), over a communication channel from an encoder (1600), a representation of first compressed envelope representation coefficients, gain-shape coded envelope representation residual coefficients, and information on at least one applied gain-shape coding scheme, applied by the encoder; applying (304) at least one of a plurality of gain-shape decoding schemes on the received gain-shape coded envelope representation residual coefficients according to the received information on at least one applied gain-shape coding scheme, in order to achieve envelope representation residual coefficients, where the plurality of gain-shape decoding schemes have mutually different trade-offs in one or more of gain resolution and shape resolution for one or more of the gain-shape coded envelope representation residual coefficients; transforming (306) the envelope representation residual coefficients from a warped domain into an envelope representation original domain so as to obtain transformed envelope representation residual coefficients, and determining (308) envelope representation coefficients as the transformed envelope representation residual coefficients added with the received first compressed envelope representation coefficients.
To transform the coefficients from a warped domain into an envelope representation coefficient original domain signifies that the coefficients are warped back to the envelope representation residual coefficient domain in which they were before they were transformed into the warped domain at the encoder.
16. Method according to embodiment 15, wherein the received first compressed envelope representation coefficients are quantized envelope representation coefficients, the method further comprising: de-quantizing (307) the quantized envelope representation coefficients using a first number of bits corresponding to the number of bits used for quantizing envelope representation coefficients at a quantizer of the encoder, and wherein the envelope representation coefficients are determined (308) as the transformed envelope representation residual coefficients added with the de-quantized envelope representation coefficients.
17. Method according to claim embodiment 15, further comprising: receiving (S302), over the communication channel and from the encoder, the first number of bits used at a quantizer of the encoder.
The first number of bits may be predetermined between encoder and decoder. If not, information of the first number of bits is sent from the encoder to the decoder.
18. Method according to any of embodiments 15-17, wherein the input envelope representation coefficients are mean removed envelope representation coefficients.
19. Method according to any of embodiments 15-18, wherein the applying (304) at least of one of a plurality of gain-shape decoding schemes on the transformed envelope representation residual coefficients comprises applying an inverse two-stage VQ.
20. Method according to embodiment 19, wherein the inverse two-stage VQ comprises a first stage inverse PVQ and a second stage inverse split VQ.
21. Method according to embodiment 20, wherein the inverse PVQ employs application of submode and gain decoding, application of shape de-enumeration and normalization, application of adjustment gain, and application of an IDCT-rotation matrix.
22. Method according to any of embodiments 15 to 21, wherein a received jointly coded shape codeword is decomposed to indicate submode least significant bit, or a gain least significant bit, or an additional shape codeword.
23. Method according to any of the preceding embodiments, wherein the representation is defined by indices to codebooks.
24. Method according to any of the preceding embodiments, wherein the representation is defined by the first compressed envelope representation coefficients, the gain-shape coded envelope representation residual coefficients, and the information on at least one applied gain-shape coding scheme themselves.
25. Method according to any of the preceding embodiments, wherein the envelope representation coefficients represent scale factors.
26. Method according to any of the preceding embodiments, wherein the envelope representation coefficients represent an encoded audio waveform.
27. An encoder (1600) of a communication system (100) for handling input envelope representation coefficients, the encoder being configured to perform a method according to any of embodiments 1 to 14 and 23 to 26.
28. A decoder (1800) of a communication system (100) for handling envelope representation residual coefficients, the decoder being configured to perform a method according to any of embodiments 15 to 26.
The inventive concept has mainly been described above with reference to a few embodiments. However, as is readily appreciated by a person skilled in the art, other embodiments than the ones disclosed above are equally possible within the scope of the inventive concept, as defined by the appended patent claims.
This application is a continuation of U.S. application Ser. No. 17/821,344, filed on 2022 Aug. 22 (status pending), which is a continuation of U.S. application Ser. No. 16/783,823, filed on 2020 Feb. 6 (now U.S. Pat. No. 11,430,455, issued on 2022 Aug. 30), which is a continuation of U.S. application Ser. No. 15/774,535, having a section 371 (c) date of 2018 May 8 (now U.S. Pat. No. 10,580,422 issued on 2020 Mar. 3), which is the U.S. National Stage application of International patent application no. PCT/EP2017/082951, filed on 2017 Dec. 15, which claims priority to: i) U.S. provisional application No. 62/583,791, filed on 2017 Nov. 9 and ii) U.S. provisional patent application No. 62/435,173, filed on 2016 Dec. 16. The above identified applications are incorporated by this reference.
Number | Date | Country | |
---|---|---|---|
62583791 | Nov 2017 | US | |
62435173 | Dec 2016 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 17821344 | Aug 2022 | US |
Child | 18649620 | US | |
Parent | 16783823 | Feb 2020 | US |
Child | 17821344 | US | |
Parent | 15774535 | May 2018 | US |
Child | 16783823 | US |