BRPI0507229B1 - EQUIPMENT AND METHOD FOR DETERMINING THE QUANTIZATION STEP DIMENSION - Google Patents

EQUIPMENT AND METHOD FOR DETERMINING THE QUANTIZATION STEP DIMENSION Download PDF

Info

Publication number
BRPI0507229B1
BRPI0507229B1 BRPI0507229B1 BR PI0507229 B1 BRPI0507229 B1 BR PI0507229B1 BR PI0507229 B1 BRPI0507229 B1 BR PI0507229B1
Authority
BR
Brazil
Prior art keywords
dimension
interference
quantizer
limit
quantizing
Prior art date
Application number
Other languages
Portuguese (pt)
Publication date

Links

Description

(54) Título: EQUIPAMENTO E MÉTODO PARA A DETERMINAÇÃO DA DIMENSÃO DA ETAPA DE(54) Title: EQUIPMENT AND METHOD FOR DETERMINING THE DIMENSION OF THE STAGE OF

QUANTIZAÇÃO (51) lnt.CI.: G10L 19/02 (30) Prioridade Unionista: 01/03/2004 DE 10 2004 009 955.3 (73) Titular(es): FRAUNHOFER-GESELLSCHAFT ZUR FÕRDERUNG DER ANGEWANDTEN FORSCHUNG E.V.QUANTIZATION (51) lnt.CI .: G10L 19/02 (30) Unionist Priority: 01/03/2004 DE 10 2004 009 955.3 (73) Holder (s): FRAUNHOFER-GESELLSCHAFT ZUR FÕRDERUNG DER ANGEWANDTEN FORSCHUNG E.V.

(72) Inventor(es): BERNHARD GRILL; MICHAEL SCHUG; BODO TEICHMANN; NIKOLAUS RETTELBACH (85) Data do Início da Fase Nacional: 24/08/2006(72) Inventor (s): BERNHARD GRILL; MICHAEL SCHUG; BODO TEICHMANN; NIKOLAUS RETTELBACH (85) National Phase Start Date: 08/24/2006

Figure BRPI0507229B1_D0001

EQUIPAMENTO ·· ·EQUIPMENT ·· ·

E MÉTODO ·AND METHOD ·

PARA ’ · Í UETEÉÍfflJÂVJÃÒ’ DAFOR ’· Í UETEÉÍfflJÂVJÃÒ’ DA

DIMENSÃO DA ETAPA DE QUANTIZAÇÃODIMENSION OF THE QUANTIZATION STAGE

Descriçãodescription

A presente invenção se refere a codificadores de 5 áudio, e particularmente a codificadores de áudio que são baseados em transformação, isto ê, caracterizados pelo fato de ser realizada uma conversão de uma representação temporal em uma representação espectral no início do pipeline do codificador.The present invention relates to audio encoders, and particularly to audio encoders that are based on transformation, i.e., characterized by the fact that a conversion of a temporal representation to a spectral representation is carried out at the beginning of the encoder pipeline.

É apresentado um codificador de áudio da técnica 10 anterior baseado em transformação na Fig. 3. O codificador mostrado na Fig. 3 está representado no padrão internacional ISO/IEC 14496-3: 2001 (Ε), subparte 4, página 4, sendo também conhecido na técnica como codificador AAC.An audio encoder of the prior art 10 based on transformation is shown in Fig. 3. The encoder shown in Fig. 3 is represented in the international standard ISO / IEC 14496-3: 2001 (Ε), subpart 4, page 4, being also known in the art as AAC encoder.

O codificador de áudio da técnica anterior será 15 apresentado abaixo. É enviado um sinal de áudio a ser codificado para uma entrada 1000 . Este sinal de áudio é inicialmente enviado a uma etapa de graduação 1002, caracterizada pelo fato de que o controle de ganho do referido AAC é feito para estabelecer o nível do sinal de áudio. As informações colaterais da graduação sãoThe prior art audio encoder will be shown below. An audio signal to be encoded is sent to an input 1000. This audio signal is initially sent to a graduation stage 1002, characterized by the fact that the gain control of said AAC is done to establish the level of the audio signal. Collateral information from graduation is

0 fornecidas a um formatador de bit stream 1004, como representado pela seta localizada entre o bloco 1002 e o bloco 1004. O sinal graduado de áudio é então enviado a um banco de filtros MDCT 1006.0 supplied to a bit stream formatter 1004, as represented by the arrow located between block 1002 and block 1004. The graduated audio signal is then sent to an MDCT filter bank 1006.

Com o codificador AAC, o banco de filtros implementa uma transformação co-seno discreta modificada com janelas de sobreposição 50%, com o comprimento da janela sendo determinado por um bloco 1008.With the AAC encoder, the filter bank implements a modified discrete cosine transformation with 50% overlapping windows, with the window length being determined by a 1008 block.

De modo geral, o bloco 1008 existe com o objetivo de janelar sinais transientes com janelas relativamente curtas, e fl • ·· ···· ·· ···· · • ·· · ! · • ····· « · • · · · · • · · · · · ·· · · • · · · • · · ······· ·· de janelar sinais que tendem a sér éêtáciõnários com janelas relativamente grandes. Isto serve para atingir um nível mais alto de tempo de resolução (às custas de resolução de freqüência) para sinais transientes, devido âs janelas relativamente curtas, caracterizado pelo fato de que para sinais que tendem a ser estacionários, é alcançada uma resolução de maior freqüência (âs custas da resolução de tempo), devido a janelas mais longas, existindo uma tendência pela preferência de janelas mais longas, já que elas resultam em um maior ganho de codificação. Na saída do banco de filtros 1006, existem blocos de valores espectrais - os blocos sendo sucessivos no tempo - que podem ser coeficientes MDCT, coeficientes de Fourier ou sinais de sub-banda, dependendo da implementação do banco de filtros, cada sinal de sub-banda tendo uma largura limitada específica de banda pelo canal respectivo de sub-banda no banco de filtros 1006, e cada sinal de sub-banda tendo um número específico de amostras de sub-bandas.In general, block 1008 exists with the objective of winding transient signals with relatively short windows, and fl • ·· ···· ·· ···· · • ·· ·! · • ····· «· • · · · · · · · · · ·· · · · · · · · · ········· ·· window signs that tend to be etêtáciõnários with windows relatively large. This serves to achieve a higher level of resolution time (at the expense of frequency resolution) for transient signals, due to the relatively short windows, characterized by the fact that for signals that tend to be stationary, a higher frequency resolution is achieved (at the expense of time resolution), due to longer windows, there is a tendency for the preference of longer windows, since they result in a greater coding gain. At the output of the filter bank 1006, there are blocks of spectral values - the blocks being successive in time - which can be MDCT coefficients, Fourier coefficients or subband signals, depending on the implementation of the filter bank, each sub-signal band having a specific limited bandwidth by the respective subband channel in filter bank 1006, and each subband signal having a specific number of subband samples.

Segue-se uma apresentação, por meio de exemplo, do caso em que o banco de filtros fornece blocos temporalmente sucessivos de coeficientes espectrais MDCT que, geralmente falando, representam espectros sucessivos de curto-prazo de sinais de áudio a serem codificados na entrada 1000. É então enviado um bloco de valores espectrais MDCT para um bloco de processamentoThis is followed by a presentation, by way of example, of the case in which the filter bank provides temporally successive blocks of MDCT spectral coefficients which, generally speaking, represent successive short-term spectra of audio signals to be encoded at input 1000. An MDCT spectral value block is then sent to a processing block

TNS 1010 (TNS = modulação temporal do ruído) , onde é realizada a modulação temporal do ruído. A técnica TNS é usada para conformar a forma temporal do ruído de quantização dentro de cada janela da transformação. Isto é feito aplicando um processo de filtração às peças dos dados espectrais de cada canal. A codificação é feita em uma base de j anelas. Em particular, as etapas a seguir sãoTNS 1010 (TNS = temporal noise modulation), where the temporal noise modulation is performed. The TNS technique is used to conform the temporal form of the quantization noise within each window of the transformation. This is done by applying a filtration process to the spectral data pieces for each channel. Coding is done on a window basis. In particular, the following steps are

Figure BRPI0507229B1_D0002

- 3 :::: ::.. : . · ·- 3 :::: :: ..:. · ·

... ·· j·j : : * * a a realizadas para aplicar a ferramenta. TNS? *á úftia**janela* *cLe dados espectrais, isto é, a um bloco de valores espectrais.... ·· j · j:: * * aa performed to apply the tool. TNS? * áftia ** window * * cLe spectral data, that is, a block of spectral values.

Inicialmente, é selecionada uma faixa de freqüências para a ferramenta TNS. Uma seleção adequada compreende cobrir uma faixa de frequências de 1,5 kHz com um filtro, até a maior banda possível de fator de escala. Será ressaltado que essa faixa de frequências depende da taxa de amostragem, como especificada no padrão AAC (ISO/IEC 14496-3: 2001 (E) ) .Initially, a frequency range for the TNS tool is selected. A suitable selection includes covering a frequency range of 1.5 kHz with a filter, up to the largest possible range of scale factor. It will be emphasized that this frequency range depends on the sampling rate, as specified in the AAC standard (ISO / IEC 14496-3: 2001 (E)).

Depois, é feito um calculo LPC (LPC= codificação preditiva linear), precisamente usando os coeficientes MDCT espectrais existentes na faixa selecionada de freqüências alvo. Para maior estabilidade, os coeficientes que correspondem a frequências abaixo de 2,5 kHz são excluídos deste processo. Podem ser usados os procedimentos LPC comuns como conhecidos no processo de fala para o cálculo LPC, por exemplo, o conhecido algoritmo Levinson-Durbin. O cálculo é feito para a máxima ordem admissível de filtro de modulação de ruído.Then, an LPC calculation is performed (LPC = linear predictive coding), precisely using the spectral MDCT coefficients existing in the selected range of target frequencies. For greater stability, coefficients that correspond to frequencies below 2.5 kHz are excluded from this process. Common LPC procedures as known in the speech process for LPC calculation can be used, for example, the well-known Levinson-Durbin algorithm. The calculation is made for the maximum permissible order of noise modulation filter.

Como resultado do cálculo LPC, é obtido o esperado PG de ganho de predição. Além disso, são obtidos os coeficientes de reflexão, ou coeficientes Parcor.As a result of the LPC calculation, the expected PG of prediction gain is obtained. In addition, reflection coefficients, or Parcor coefficients, are obtained.

Se o ganho de predição não ultrapassar um limite específico, a ferramenta TNS não se aplica. Nesse caso, é escrita uma peça das informações de controle no bit stream, de maneira que o decodificador sabe que não foi feito nenhum processamento TNS.If the prediction gain does not exceed a specific limit, the TNS tool does not apply. In this case, a piece of control information is written to the bit stream, so that the decoder knows that no TNS processing has been done.

Entretanto, se o ganho de predição exceder um limite, aplica-se o processamento TNS.However, if the prediction gain exceeds a threshold, TNS processing is applied.

Na próxima etapa, os coeficientes de reflexão são quantizados. A ordem do filtro de modulação de ruído usado é tIn the next step, the reflection coefficients are quantized. The order of the noise modulation filter used is t

Figure BRPI0507229B1_D0003

: : :-.: : f / .· *·· • * · * · · · · · * ****** determinada removendo todos os ccfefiíVerttes’ cie *rêíYêxao que tiverem um valor absoluto inferior a um limite a partir da cauda do conjunto de coeficientes de reflexão. O número de coeficientes de reflexão remanescentes é da ordem de magnitude do filtro de modulação de ruídos. Um limite adequado é de 0,1.::: - .:: f /. · * ·· • * · * · · · · · * ****** determined by removing all ccfefiíVerttes' cie * rêíYêxao that have an absolute value below a limit from the tail of the set of reflection coefficients. The number of reflection coefficients remaining is on the order of magnitude of the noise modulation filter. An appropriate limit is 0.1.

Os coeficientes de reflexão remanescentes são tipicamente convertidos em coeficientes de predição linear, sendo essa técnica também conhecida como o procedimento de step-up.The remaining reflection coefficients are typically converted into linear prediction coefficients, and this technique is also known as the step-up procedure.

Os coeficientes LPC calculados são então usados como coeficientes de codificação de filtro de modulação de ruídos, isto é, como coeficientes de filtro de predição. Esse filtro FIR é usado para a filtragem na faixa especificada de freqüência alvo. É usado na decodificação um filtro auto-regressivo, caracterizado pelo fato de que o referido filtro médio de movimentação é utilizado na codificação. Eventualmente, as informações colaterais para a ferramenta TNS são fornecidas ao formatador de bit stream, como representadas pela seta mostrada entre o bloco processador TNS 1010 e o formatador de bit stream 1004 na Fig.3.The calculated LPC coefficients are then used as noise modulation filter coding coefficients, that is, as prediction filter coefficients. This FIR filter is used for filtering in the specified target frequency range. An auto-regressive filter is used in decoding, characterized by the fact that the referred average movement filter is used in the encoding. Eventually, collateral information for the TNS tool is provided to the bit stream formatter, as represented by the arrow shown between the TNS 1010 processor block and bit stream formatter 1004 in Fig.3.

Depois, são percorridas várias ferramentas opcionais que não estão mostradas na Fig. 3, como uma ferramenta de predição de longo prazo, uma ferramenta de intensidade/acoplamento, uma ferramenta de predição, uma ferramenta de substituição de ruído, até se alcançar eventualmente um codificador central/lateral 1012. O codificador central/lateral 1012 estará ativo quando o sinal de áudio a ser codificado for um sinal multi-canais, isto é, um sinal estéreo dotado de um canal esquerdo e um canal direito. Até o presente, isto é, a montante do bloco 1012 da Fig. 3, foram processados os canais estéreo esquerdoThen, several optional tools that are not shown in Fig. 3 are traversed, such as a long-term prediction tool, an intensity / coupling tool, a prediction tool, a noise replacement tool, until eventually an encoder is reached center / side 1012. The center / side encoder 1012 will be active when the audio signal to be encoded is a multi-channel signal, that is, a stereo signal with a left channel and a right channel. Until now, that is, upstream of block 1012 of Fig. 3, the left stereo channels have been processed

V ·· «««· ·· ···· ·· ·· • · · · · * · : · :: : • ·*··· · · · · · · • · · · * · a· · ♦ · · ·· • *·· e direito, isto é, graduados, transfcffcmadòb *£eíõ Banco *ãe*Filtros, submetidos ou não ao processamento TNS, etc., separadamente entreGo· · ♦ · · ·· • * ·· and law, that is, graduated, transfcffcmadòb * £ eíõ Bank * ã * Filters, submitted or not to TNS processing, etc., separately between

No codificador central/lateral, é feita inicialmente uma verificação sobre se uma codificação central/lateral faz sentido, isto é, se irã proporcionar um ganho de codificação. A codificação central/lateral produzirá um ganho de codificação se os canais esquerdo e direito tenderem a ser similares, já que nesse caso, o canal médio, isto é, a soma dos canais esquerdo e direito for quase igual ao canal esquerdo ou ao canal direito, independente da graduação por um fator de 1/2, caracterizado pelo fato de que o canal lateral possui somente valores muito pequenos, já que é igual à diferença entre os canais esquerdo e direito. Como conseqüência, pode-se ver que, quando os canais esquerdo e direito forem aproximadamente o mesmo, a diferença será aproximadamente zero, ou inclui somente valores muito pequenos que - e esta é a esperança - serão quantizados para zero em um quantizador subseqüente 1014, e assim poderão ser transmitidos de maneira muito eficiente, já que um codificador de entropia 1016 está conectado a jusante do quantizador 1014.In the central / lateral encoder, a check is initially made as to whether a central / lateral encoding makes sense, that is, whether it will provide an encoding gain. The central / lateral coding will produce a coding gain if the left and right channels tend to be similar, since in this case, the middle channel, that is, the sum of the left and right channels is almost equal to the left or right channel. , regardless of graduation by a factor of 1/2, characterized by the fact that the lateral channel has only very small values, since it is equal to the difference between the left and right channels. As a consequence, it can be seen that when the left and right channels are approximately the same, the difference will be approximately zero, or include only very small values that - and this is the hope - will be quantized to zero in a subsequent quantizer 1014, and so they can be transmitted very efficiently, since an entropy encoder 1016 is connected downstream of the quantizer 1014.

quantizador 1014 proporciona uma interferência admissível por banda de fator de escala por um modelo psicoacústico 1020. O quantizador opera de maneira iterativa, isto é, é chamando inicialmente um circuito externo de iteração, que depois chamará um circuito interno de iteração. De modo geral, iniciando a partir de valores de partida escalonados, é realizada inicialmente na entrada do quantizador 1014 uma quantização de um bloco de valores. Em particular, o circuito interno quantifica os « » « · · ·* · * * · · » « ·· · · * · * ’ _ coeficientes MDCT, sendo consumido Hô ** processo *üm°*numero específico de bits. O circuito externo calcula a distorção e a energia modificada dos coeficientes que usam o fator de escala , de maneira a chamar novamente um circuito interno. Esse processo é iterado por um determinado tempo até que seja alcançada uma cláusula condicional específica. Para cada iteração no circuito de iteração externo, o sinal é reconstruído de maneira a calcular a interferência introduzida pela quantização, e compará-la com a interferência admissível fornecida pelo modelo psico-acústicoquantizer 1014 provides permissible interference per band of scale factor by a psychoacoustic model 1020. The quantizer operates in an iterative manner, that is, it is initially calling an external iteration circuit, which will then call an internal iteration circuit. In general, starting from scaled starting values, a quantization of a block of values is initially performed at the input of quantizer 1014. In particular, the internal circuit quantifies the «» «· · * * * * · ·» «·· · · * · *’ _ MDCT coefficients, with Hô ** process * üm ° * being consumed * specific number of bits. The external circuit calculates the distortion and the modified energy of the coefficients that use the scale factor, in order to recall an internal circuit. This process is iterated over a period of time until a specific conditional clause is reached. For each iteration in the external iteration circuit, the signal is reconstructed in order to calculate the interference introduced by the quantization, and to compare it with the permissible interference provided by the psycho-acoustic model

1020. Além disso, os fatores de escala dessas bandas de freqüência, que após essa comparação ainda são considerados como interferidos, são aumentados por um ou mais estágios de iteração para iteração, para ser exato, para cada iteração do circuito de iteração externo.1020. In addition, the scale factors of these frequency bands, which after this comparison are still considered to be interfered, are increased by one or more iteration stages for iteration, to be exact, for each iteration of the external iteration circuit.

Uma vez sendo alcançada uma situação em que a interferência de quantização introduzida pela quantização seja inferior à interferência admissível determinada pelo modelo psicoacústico, e se ao mesmo tempo forem obedecidos os requisitos de bits, estado em que, para ser exato, uma taxa máxima de bits não seja ultrapassada, a iteração, isto é, o método de análise por síntese seja completado, e os fatores de escala obtidos sejam codificados como ilustrado no bloco 1014, sendo fornecidos em forma codificada a um formatador de bit streatn 1004 como marcado pela seta existente entre o bloco 1014 e o bloco 1004. Os valoresOnce a situation is reached in which the quantization interference introduced by the quantization is less than the permissible interference determined by the psychoacoustic model, and if at the same time the bit requirements are obeyed, a state in which, to be exact, a maximum bit rate is not exceeded, the iteration, that is, the method of analysis by synthesis is completed, and the scale factors obtained are coded as illustrated in block 1014, being supplied in coded form to a streatn bit formatter 1004 as marked by the existing arrow between block 1014 and block 1004. The values

5 quantizados são então enviados ao codificador de entropia 1016, que tipicamente realiza a codificação de entropia para várias bandas de fator de escala usando várias tabelas de código deThe quantized 5 is then sent to the entropy encoder 1016, which typically performs the entropy coding for various bands of scale factor using several code tables.

Huffman, de maneira a traduzir os valores quantizados em umHuffman, in order to translate the quantized values into a

V • ·· 4 *V • ·· 4 *

a » ··· »4 ···· **·** ·*'.. *, * ·« · * . ! !ϊ * . ··« · · * · * · *· · · * .a »···» 4 ···· ** · ** · * '.. *, * · «· *. ! ! ϊ *. ·· «· · * · * · * · · · *.

- * 4 4 · · * Φ * 4 ’ 9 »·*·*?·<- * 4 4 · · * Φ * 4 '9 »· * · *? · <

formato binário. Como é conhecido, a •codíK.dãçãõ âê entropia sob a forma de codificação Huffman envolve o retorno a tabelas de codificação que são criadas com base em estatísticas de sinal esperado, e onde os valores que ocorrem com freqüência recebem 5 palavras de código mais curtas que as dos valores que ocorrem frequentemente. São fornecidos então os valores com codificação de entropia como informações principais reais ao formatador de bit stream 1004, que então produz o sinal codificado de áudio no lado de saída, de acordo com uma sintaxe específica de bit stream.binary format. As it is known, • codíK.dãçãoõ ê entropy in the form of Huffman coding involves returning to coding tables that are created based on expected signal statistics, and where frequently occurring values receive 5 shorter code words than the values that occur frequently. Entropy encoded values are then supplied as real main information to bit stream formatter 1004, which then produces the encoded audio signal on the output side, according to a specific bit stream syntax.

Como já ilustrado, é usada uma dimensão de etapa quantizadora mais fina nessa quantização iterativa, na eventualidade de a interferência introduzida por uma dimensão de etapa quantizada ser maior do que a de limite, isto sendo feito na esperança de que conduza a uma redução do ruído de quantização devido ao fato da quantização realizada ser mais fina.As already illustrated, a finer quantizing step dimension is used in this iterative quantization, in the event that the interference introduced by a quantized step dimension is greater than the limit, this being done in the hope that it will lead to a reduction in noise of quantization due to the fact that the quantization performed is finer.

Esse conceito é desvantajoso devido a que, com a dimensão da etapa quantizadora mais fina, a quantidade de dados a ser transmitida aumenta naturalmente, e assim, o ganho de compressão decresce.This concept is disadvantageous because, with the dimension of the finer quantizing step, the amount of data to be transmitted increases naturally, and thus, the compression gain decreases.

É objeto da presente invenção prover um conceito para determinar uma dimensão de etapa quantizadora que, por um lado introduz interferência de baixa quantização e provê, por outro lado, um alto ganho de compressão.It is the object of the present invention to provide a concept for determining a quantizing step dimension which, on the one hand, introduces low quantization interference and provides, on the other hand, a high compression gain.

Este obj eto ê alcançado por meio de um equipamento para determinar uma dimensão de etapa quantizadora como na reivindicação 1 da patente, por um método de determinação de dimensão de etapa quantizadora como na reivindicação 8 da patente ou por um programa de computador como na reivindicação 9This object is achieved by means of equipment for determining a quantizing step dimension as in claim 1, by a quantizing step dimension method as in claim 8 or by a computer program as in claim 9

ΟΟ

Figure BRPI0507229B1_D0004

da patente.of the patent.

A presente invenção se baseia nas descobertas de que uma redução adicional na potência de interferência, por um lado, e ao mesmo tempo um aumento, ou pelo menos a preservação do ganho de codificação podem ser alcançados quando pelo menos várias dimensões de etapas quantizadas mais grosseiras forem tentadas, mesmo quando a interferência introduzida for maior do que um limite, ao invés de realizar uma quantização mais fina, como foi feito na técnica anterior. Acontece que mesmo com dimensões de etapas quantizadoras mais grosseiras, podem ser obtidas reduções na interferência introduzidas pela quantização, para ser exato naqueles casos em que a dimensão da etapa quantizadora mais grosseira impacta o valor a ser quantizado melhor que a dimensão da etapa quantizadora mais fina. Esse efeito se baseia no fato de que o erro de quantização depende não somente da dimensão da etapa quantizadora, mas naturalmente também dos valores a serem quantizados. Se os valores a serem quantizados estiverem bem próximos às dimensões de etapa da dimensão da etapa quantizadora mais grosseira, será obtida uma redução do ruído de quantizaçãoThe present invention is based on the findings that an additional reduction in the interference power, on the one hand, and at the same time an increase, or at least the preservation of the coding gain, can be achieved when at least several coarser quantized step dimensions are attempted, even when the introduced interference is greater than a limit, instead of performing a finer quantization, as was done in the prior art. It turns out that even with coarse quantizing step dimensions, reductions in interference introduced by quantization can be obtained, to be exact in those cases where the dimension of the coarse quantizing step impacts the value to be quantized better than the dimension of the finer quantizing step . This effect is based on the fact that the quantization error depends not only on the dimension of the quantizing step, but naturally also on the values to be quantized. If the values to be quantized are very close to the step dimensions of the coarse quantizer step dimension, a reduction in the quantization noise will be obtained

0 enquanto aumenta o ganho de compressão (já que a quantização foi mais grosseira).0 while increasing the compression gain (since the quantization was more coarse).

O conceito inventivo é muito lucrativo, particularmente quando existem bem estimadas dimensões de etapas quantizadoras já para a primeira dimensão de etapa quantizadora, com base na qual é feita a comparação limite. Em uma configuração preferida da presente invenção é, portanto, preferido determinar a primeira dimensão da etapa quantizadora por meio de um cálculo direto com base na energia do ruído médio do que com base em um • · · · • · · · • · · • · · ·The inventive concept is very profitable, particularly when there are well-estimated dimensions of quantizing steps for the first dimension of quantizing steps, on the basis of which the limit comparison is made. In a preferred embodiment of the present invention, it is therefore preferred to determine the first dimension of the quantizer step by means of a direct calculation based on the energy of the average noise rather than on the basis of a · · · · · · · · · · · • · · ·

........................

·· ·♦·· • · · · ’ · · * * * * ϊ cenário de pior caso. Assim, os ciícuitps..dê..iteração?· *d^ cfcordo com a técnica anterior podem já ser consideravelmente reduzidos ou podem tornar-se totalmente obsoletos.·· · ♦ ·· • · · · ’· · * * * * ϊ worst case scenario. Thus, the cycuitps..dê..iteração? · * D ^ cfaccording to the prior art may already be considerably reduced or may become totally obsolete.

pós-processamento inventivo da dimensão da 5 etapa quantizadora será então experimentada, somente mais uma vez, uma dimensão de etapa quantizadora ainda mais grosseira na configuração, de maneira a se beneficiar do efeito descrito de melhor impacto de um valor a ser quantizado. Se acontecer, subseqüentemente, da interferência obtida pela dimensão da etapa 10 quantizadora mais grosseira ser menor que a interferência anterior ou ainda menor que o limite, podem ser realizadas mais iterações para tentar uma dimensão de etapa quantizadora ainda mais grosseira. Esse procedimento de engrossamento da dimensão da etapa quantizadora prossegue por um tempo até que a interferência introduzida cresça novamente. Depois, é atingido um critério de término, de maneira que a quantização é feita com a dimensão da etapa quantizadora armazenada que proporcionou a menor interferência introduzida, de maneira que o procedimento de codificação prossegue como necessário.inventive post-processing of the dimension of the quantizing step will then be experienced, just once again, an even more coarse quantizing step dimension in the configuration, in order to benefit from the described effect of better impact of a value to be quantized. If, subsequently, the interference obtained by the coarser quantizing step 10 dimension is less than the previous interference or even less than the limit, more iterations can be performed to try an even coarser quantizer step dimension. This procedure of increasing the dimension of the quantizer step continues for a while until the introduced interference grows again. Then, a termination criterion is reached, so that the quantization is done with the dimension of the stored quantizer step that provided the least interference introduced, so that the coding procedure proceeds as necessary.

Em uma configuração alternativa da presente invenção, para estimar a dimensão da primeira etapa quantizadora, pode ser feita uma abordagem análise por síntese aproximada como na técnica anterior, que prossegue por um tempo até que seja aí atingido um critério de término. Depois, pode ser empregado o pós25 processamento inventivo para eventualmente verificar se pode ser possível atingir resultados de interferência igualmente bons, ou até melhores resultados de interferência com uma dimensão de etapa quantizadora mais grosseira. Se for determinado que uma dimensão de etapa quantizadora mais grosseira •.igualVftéhêe ••teow**oU até melhor com relação a interferência introduzida, essa dimensão de. etapa será usada para a quantificação. Se for determinado, entretanto, que uma quantização mais grosseira não produz efeitos positivos, será usado para uma eventual quantização aquela dimensão de etapa quantizadora originalmente determinada, por exemplo, por meio de um método de anãlise/síntese.In an alternative configuration of the present invention, to estimate the size of the first quantizer step, an approximate synthesis analysis approach can be made as in the prior art, which continues for a while until a termination criterion is reached there. Then, inventive post-processing can be employed to eventually check whether it may be possible to achieve equally good interference results, or even better interference results with a coarser quantizing step dimension. If it is determined that a coarser quantizing step dimension • .igualVftéhêe •• teow ** oU even better with respect to the introduced interference, that dimension of. step will be used for quantification. If it is determined, however, that a coarse quantization does not produce positive effects, that dimension of the quantizing step originally determined will be used for a possible quantization, for example, by means of an analysis / synthesis method.

De acordo com a invenção, podem ser empregadas quaisquer dimensões de etapa quantizadora para fazer uma primeira comparação de limites. É irrelevante se essa primeira dimensão de etapa quantizadora já tenha sido determinada pelos esquemas de anãlise/síntese ou mesmo por meio de cálculos diretos das dimensões das etapas quantizadoras.According to the invention, any quantizer step dimensions can be used to make a first comparison of limits. It is irrelevant if this first dimension of the quantizing step has already been determined by the analysis / synthesis schemes or even by means of direct calculations of the dimensions of the quantizing steps.

Em uma configuração alternativa da presente invenção, este conceito pode ser empregado para quantizar um sinal de áudio presente na faixa de freqüências. Entretanto, esse conceito também pode ser empregado para quantizar um sinal de domínio de tempo que compreende informações de áudio e/ou de vídeo.In an alternative configuration of the present invention, this concept can be used to quantize an audio signal present in the frequency range. However, this concept can also be used to quantify a time domain signal that comprises audio and / or video information.

Além disso, deve ser ressaltado que o limite usado para comparar é uma interferência permissível psico-acústica ou psico-ótica, ou outro limite que se deseja reduzir. Por exemplo, esse limite pode, na realidade, ser uma interferência permissível provida por um modelo psico-acústico. Entretanto, esse limite pode também ser uma interferência previamente determinada introduzida para a dimensão da etapa quantizadora original, ou qualquer outro limite.In addition, it should be noted that the limit used to compare is a permissible psycho-acoustic or psycho-optic interference, or another limit to be reduced. For example, this limit may actually be a permissible interference provided by a psycho-acoustic model. However, this limit can also be a predetermined interference introduced for the dimension of the original quantizer step, or any other limit.

Deve-se notar que os valores quantizados nãoIt should be noted that the quantized values do not

Μ) precisam, necessariamente, ser cod^£ic$íicJ§.· que podem ser alternativamente codificados usando outra codificação de entropia, como uma codificação aritmética. De maneira alternativa, os valores quantizados também podem ser codificados de forma binária, já que essa codificação também tem o efeito que, para transmitir menores valores ou valores iguais a zero, menos bits são necessários do que os necessários para a transmissão de maiores valores ou, em geral, valores diferentes de zero.Μ) must necessarily be coded which can alternatively be encoded using another entropy coding, such as an arithmetic coding. Alternatively, the quantized values can also be encoded in a binary way, since this encoding also has the effect that, in order to transmit smaller values or values equal to zero, fewer bits are needed than are necessary for the transmission of higher values or , in general, non-zero values.

Para a determinação dos valores de partida, isto é, a dimensão da etapa quantizadora 1, a abordagem iterativa pode ser preferivelmente totalmente, ou pelo menos em grande parte dispensada, se a dimensão da etapa quantizadora for determinada a partir de uma estimativa direta de energia de ruído. O cálculo da dimensão da etapa quantizadora a partir de uma estimativa exata de energia de ruído é consideravelmente mais rápido do que o cálculo de um circuito análise por síntese, j ã que os valores para o cálculo estão diretamente presentes. Não é necessário primeiro fazer e comparar várias tentativas de quantização até que seja encontrada uma dimensão de etapa quantizadora que seja favorável para a codificação.For the determination of the starting values, that is, the dimension of the quantizer step 1, the iterative approach can preferably be totally, or at least largely eliminated, if the dimension of the quantizer step is determined from a direct energy estimate. of noise. Calculating the dimension of the quantizer step from an accurate noise energy estimate is considerably faster than calculating an analysis by synthesis circuit, since the values for the calculation are directly present. It is not necessary to first make and compare several quantization attempts until a quantizing step dimension is found that is favorable for coding.

Entretanto, como a curva característica quantizadora usada é uma curva característica não linear, a curva característica não linear deve ser levada em consideração na estimativa de energia de ruído. Não é mais possível usar a simples estimativa de energia de ruído para um quantizador linear, já que não tem a precisão suficiente. De acordo com a invenção, é usado um quantizador que tem a seguinte curva característica de quantização:However, as the quantizer characteristic curve used is a non-linear characteristic curve, the non-linear characteristic curve must be taken into account when estimating noise energy. It is no longer possible to use the simple noise energy estimate for a linear quantizer, as it is not sufficiently accurate. According to the invention, a quantizer is used which has the following quantization characteristic curve:

• ♦· · ·· • * · • · · · ♦ • « y{ - round• ♦ · · ·· • * · • · · ♦ • «y { - round

Na equação acima, x£ são os valores espectrais a ser quantizados. Os valores de partida são caracterizados por yi, Yi sendo, portanto, valores espectrais quantizados. q é a dimensão da etapa quantizadora. Round é a função de arredondamento, que é preferivelmente a função nint, nint significando o inteiro mais próximo. O expoente que torna o quanti zador um quanti zador não linear é denominado a, a sendo diferente de 1. Tipicamente, o expoente a serã menor que 1, de maneira que o quantizador tem uma característica de compressão. Com camada 3, e com AAC, o expoente α é igual a 0,75. O parâmetro s é um aditivo constante que pode ter qualquer valor, mas que também pode ser zero.In the above equation, x £ are the spectral values to be quantized. The starting values are characterized by yi, Yi and are therefore quantized spectral values. q is the dimension of the quantizer step. Round is the rounding function, which is preferably the nint function, nint meaning the nearest integer. The exponent that makes the quantizer a non-linear quantizer is called a, a being different from 1. Typically, the exponent a will be less than 1, so that the quantizer has a compression characteristic. With layer 3, and with AAC, the exponent α is equal to 0.75. The parameter s is a constant additive that can have any value, but can also be zero.

De acordo com a invenção, é usada a seguinte conexão para calcular a dimensão da etapa quantizadora.According to the invention, the following connection is used to calculate the dimension of the quantizer step.

ΣΙΜΣΙΜ

7'7 '

12a'12th '

Σ-υ-’Σ-υ- ’

Sendo α igual a resulta a seguinte equação:Being α equal to, the following equation results:

|l/2| l / 2

Nessas equações, o termo da esquerda significa a interferência THR permissível em uma banda de freqüência e que éIn these equations, the term on the left signifies the permissible THR interference in a frequency band and that is

0 provida por um módulo psico-acústico para uma banda de fator de escala com as linhas de freqüência de i iguais a ii para i igual a i2. A equação acima permite uma estimativa quase exata de uma interferência introduzida por uma dimensão de etapa quantizadora q para um quantizador não linear que tenha a curva característica quantizadora acima com um expoente α diferente de 1, caracterizado0 provided by a psycho-acoustic module for a scale factor band with the frequency lines from i equal to ii to i equal to 2 . The above equation allows an almost exact estimate of an interference introduced by a quantizer step dimension q for a non-linear quantizer that has the quantizer characteristic curve above with an α exponent other than 1, characterized

- 13 • ·· *· ·' ·· ·· ::- 13 • ·· * · · '·· ·· ::

······ l·* · · · » • · : ϊ · .· »· ··:······ l · * · · · »• ·: ϊ ·. ·» ···:

pelo fato de que a função nínt da ec^úaçãS. ,'qnant‘izs‘d®ra,,p2*õ^?orciona a equação quantizadora real, que é arredondada até o inteiro mais próximo.by the fact that the nint function of ec ^ a cations. , 'qnant'izs'd®ra ,, p2 * õ ^? orients the real quantization equation, which is rounded to the nearest integer.

Deve ser notado que, ao invés da função nint, pode ser usada qualquer função de arredondamento desejada, por exemplo, também arredondando para o próximo inteiro par ou para o próximo inteiro ímpar, ou arredondar para o próximo inteiro de 10, etc. Geralmente falando, a função de arredondamento é responsável pelo mapeamento de um valor a partir de um conjunto de valores que têm um número específico de valores permitidos para um conjunto de valores que têm um segundo número de valores específicos menor.It should be noted that, instead of the nint function, any desired rounding function can be used, for example, also rounding to the next even integer or the next odd integer, or rounding to the next integer of 10, etc. Generally speaking, the rounding function is responsible for mapping a value from a set of values that have a specific number of allowed values to a set of values that have a smaller second number of specific values.

Em uma configuração preferida da presente invenção, os valores espectrais quantizados foram previamente submetidos ao processamento TNS e, se estiver tratando de, por 15 exemplo, sinais estéreo, para codificação central/lateral, desde que os canais sejam tais que o codificador central/lateral tenha sido ativado.In a preferred configuration of the present invention, the quantized spectral values have been previously subjected to TNS processing and, if dealing with, for example, stereo signals, for central / lateral encoding, provided that the channels are such that the central / lateral encoder has been activated.

Assim, o fator de escala para cada banda de fator de escala pode ser indicado diretamente e pode ser alimentado no respectivo codificador de áudio com a conexão entre a dimensão da etapa quantizadora e o fator de escala, que é fornecido de acordo com a seguinte equação:Thus, the scaling factor for each scaling factor band can be directly indicated and can be fed into the respective audio encoder with the connection between the dimension of the quantizing step and the scaling factor, which is provided according to the following equation :

g - _g - _

O fator de escala resulta da seguinte equação.The scale factor results from the following equation.

« scf = 8.8585 -[logI0(6.75 -THR) -log10(FK4C)];«Scf = 8.8585 - [log I0 (6.75 -THR) -log 10 (FK4C)];

ΣΗ1'2 =™cΣΗ 1 ' 2 = ™ c

Em uma configuração preferida da presente £2>In a preferred configuration of this £ 2>

,♦· ♦· ·*·;, ♦ · ♦ · · * ·;

•» · • * · • ··· invenção, pode também ser feito ·* usç5»’dê*>i*úrna* *itWI16fÇSb ** pósprocessamento baseada em um princípio de análise por síntese, de maneira a variar um pouco a dimensão da etapa quantizadora, que foi calculada diretamente sem iteração, para cada banda de fator de escala de maneira a alcançar o ideal presente.• »· • * · • ··· invention, can also be made · * usç5» 'give *> i * úrna * * itWI16fÇSb ** post-processing based on a principle of analysis by synthesis, in order to vary the dimension a little the quantizer step, which was calculated directly without iteration, for each scale factor band in order to achieve the present ideal.

Entretanto, comparado à técnica anterior, o cálculo já muito preciso dos valores de partida permite uma iteração muito pequena, apesar de ter acontecido que na grande maioria dos casos, a iteração a jusante pode ser totalmente dispensada.However, compared to the prior art, the already very accurate calculation of the starting values allows for a very small iteration, although it has happened that in the vast majority of cases, the downstream iteration can be totally dispensed with.

O conceito preferido baseado no cálculo da dimensão da etapa usando a energia do ruído médio proporciona assim uma real e boa estimativa, já que diferentemente da técnica anterior, este não opera com o cenário de pior caso, mas usa um valor esperado do erro de quantização como base e assim permite, com qualidade subjetivamente equivalente, uma codificação mais eficiente dos dados com uma contagem de bits consideravelmente reduzida. Além disso, pode ser obtido um código consideravelmente mais rápido devido ao fato que a iteração pode ser totalmente 2 0 dispensada e/ou que o número de etapas de iteração pode ser claramente reduzido. Isto é notável, em particular, porque os circuitos de iteração no codificador da técnica anterior foram essenciais para o requisito de tempo geral do codificador. Assim, mesmo uma redução de uma ou menos etapas de iteração conduz a uma 25 considerável economia geral de tempo do codificador.The preferred concept based on the calculation of the step dimension using the energy of the average noise thus provides a real and good estimate, since unlike the previous technique, it does not operate with the worst case scenario, but uses an expected value of the quantization error. as a basis and thus allows, with subjectively equivalent quality, a more efficient encoding of the data with a considerably reduced bit count. In addition, a considerably faster code can be obtained due to the fact that the iteration can be totally dispensed with and / or that the number of iteration steps can be clearly reduced. This is notable, in particular, because the iteration circuits in the prior art encoder were essential to the overall time requirement of the encoder. Thus, even a reduction of one or less iteration steps leads to considerable overall time savings for the encoder.

As configurações preferidas da presente invenção serão explicadas abaixo em detalhes, com referência às figuras de acompanhamento, caracterizadas pelo fato de que:The preferred configurations of the present invention will be explained below in detail, with reference to the accompanying figures, characterized by the fact that:

diagrama· *··cfe ·’ ’bloco· · ·· tfe· ·*um um sinal de áudio quantizado;diagram · * ·· cfe · ’’ block · · ·· tfe · · * a quantized audio signal;

Fig. 1 é um equipamento para a determinação deFig. 1 is a device for the determination of

Fig. 2 é um fluxograma da representação do pós-processamento de acordo com uma configuração preferida da 5 presente invenção;Fig. 2 is a flow chart of the post-processing representation according to a preferred embodiment of the present invention;

Fig. 3 mostra um diagrama de bloco de um codificador da técnica anterior de acordo com o padrão AAC;Fig. 3 shows a block diagram of a prior art encoder according to the AAC standard;

Fig. 4 é uma representação da redução da interferência de quantização por uma dimensão de etapa quantizadora mais grosseira; eFig. 4 is a representation of the reduction of quantization interference by a coarser quantizing step dimension; and

Fig. 5 mostra um diagrama de bloco do equipamento da invenção para a determinação de uma dimensão de etapa quantizadora para a quantização de um sinal.Fig. 5 shows a block diagram of the equipment of the invention for determining a dimension of quantizing step for the quantization of a signal.

conceito inventivo será apresentado abaixo com referência â Fig. 5. A Fig. 5 mostra uma representação esquemática de um equipamento para a determinação da dimensão da etapa quantizadora para a quantização de um sinal que compreende informações de áudio ou vídeo e sendo provido por meio de uma entrada de sinal 500. O sinal é fornecido para um meio 502 para prover uma primeira dimensão da etapa quantizadora (QSS) e para prover um limite de interferência que também será denominado abaixo como interferência introduzível. Será notado que o limite de interferência pode ser qualquer limite. De preferência, entretanto, será uma interferência psico-acústica ou psico25 oticamente introduzível, sendo esse limite selecionado de maneira que um sinal em que a interferência tenha sido introduzida será ainda percebido como não interferido por observadores ou ouvintes humanos.inventive concept will be presented below with reference to Fig. 5. Fig. 5 shows a schematic representation of an equipment for determining the dimension of the quantizer step for the quantization of a signal comprising audio or video information and being provided by means of a signal input 500. The signal is provided to a means 502 to provide a first dimension of the quantizer step (QSS) and to provide an interference limit which will also be referred to below as an introductory interference. It will be noted that the interference limit can be any limit. Preferably, however, it will be an optically introducing psycho-acoustic or psycho25 interference, this limit being selected so that a signal in which the interference has been introduced will still be perceived as not interfered by human observers or listeners.

O limite (THR) , bem eornc^a'primeiTa* dlTflêfíSão”de etapa quantizadora, são fornecidos a um meio 504 para a determinação da primeira real interferência introduzida pela primeira dimensão da etapa quantizadora. A determinação da interferência realmente introduzida é feita de preferência por quantização, usando a primeira dimensão de etapa quantizadora, pela re-quantização usando a primeira dimensão de etapa quantizadora, e pelo calculo da distância entre o sinal original e o sinal re-quantizado. De preferência, quando valores espectrais estão sendo processados, os valores espectrais correspondentes do sinal original e do sinal re-quantizado são elevados ao quadrado, de maneira a então determinar a diferença dos quadrados. Podem ser empregados métodos alternativos para a determinação da distância.The limit (THR), as well as the "quantitative step", are provided to a medium 504 for the determination of the first real interference introduced by the first dimension of the quantizing step. The determination of the interference actually introduced is made preferably by quantization, using the first dimension of the quantizing step, by re-quantizing using the first dimension of the quantizing step, and by calculating the distance between the original signal and the re-quantized signal. Preferably, when spectral values are being processed, the corresponding spectral values of the original signal and the re-quantized signal are squared, so as to then determine the difference of the squares. Alternative methods can be used to determine the distance.

O meio 504 fornece um valor para uma primeira interferência realmente introduzida pela primeira dimensão da etapa quantizadora. Essa primeira interferência é fornecida, juntamente com o limite THR, a um meio 506 para comparação. 0 meio 506 faz uma comparação entre o limite THR e a primeira interferência realmente introduzida. Se a primeira interferênciaThe medium 504 provides a value for a first interference actually introduced by the first dimension of the quantizer step. This first interference is provided, along with the THR limit, to a 506 medium for comparison. The means 506 makes a comparison between the THR limit and the first interference actually introduced. If the first interference

0 realmente introduzida for maior do que o limite, o meio 506 ativará o meio 50 8 para selecionar uma segunda dimensão de etapa quantizadora, o meio 508 sendo configurado para selecionar uma segunda dimensão de etapa quantizadora mais grosseira, isto é, maior do que a primeira dimensão de etapa quantizadora. A segunda dimensão de etapa quantizadora selecionada pelo meio 508 é fornecida ao meio 510 para determinar a segunda interferência realmente introduzida. Para isto, o meio 510 obtém o sinal original, assim como a segunda dimensão de etapa quantizadora e • · · · · · · « » * · • · · · * * φ· φ· ·· J novamente realiza uma quantização usando··^ ••sdgurfda · díftifâilScío^de etapa quantizadora, uma re-quantização usando a primeira dimensão de etapa quantizadora, e um cálculo de distância entre o sinal requantizado e o sinal original, de maneira a fornecer um meio 512 5 para comparar com uma medida da segunda interferência realmente introduzida. O meio 512 de comparação compara a segunda interferência realmente introduzida com a primeira interferência realmente introduzida ou com o limite THR. Se a segunda interferência realmente introduzida for menor do que a primeira interferência realmente introduzida, ou mesmo menor que o limite0 actually introduced is greater than the limit, medium 506 will activate medium 50 8 to select a second dimension of quantizing step, medium 508 being configured to select a second dimension of coarse quantizing step, that is, greater than first dimension of quantizer stage. The second quantizer step dimension selected by means 508 is provided to means 510 to determine the second interference actually introduced. For this, the medium 510 obtains the original signal, as well as the second dimension of the quantizing stage and • · · · · · · * »· · · · · * * φ · φ · ·· J again performs a quantization using · · ^ •• sdgurfda · diftifâilScío ^ of a quantizing step, a re-quantization using the first dimension of a quantizing step, and a calculation of the distance between the requantized signal and the original signal, in order to provide a 512 5 means to compare with a measure of the second interference actually introduced. The comparison medium 512 compares the second interference actually introduced with the first interference actually introduced or with the THR limit. If the second interference actually introduced is less than the first interference actually introduced, or even less than the limit

THR, a segunda dimensão de etapa quantizadora será utilizada para quantizar o sinal.THR, the second quantizer step dimension will be used to quantize the signal.

Será notado que o conceito mostrado na Fig. 5 é somente esquemático. Naturalmente, não é absolutamente necessário prover meios separados de comparação para realizar as comparações nos blocos 506 e 512, mas é também possível prover um único meio de comparação controlado adequadamente. O mesmo se aplica aos meios 504 e 510 para a determinação das interferências realmente introduzidas. Essas, também, não precisam ser necessariamente configuradas como meios separados.It will be noted that the concept shown in Fig. 5 is only schematic. Of course, it is not absolutely necessary to provide separate means of comparison to perform the comparisons in blocks 506 and 512, but it is also possible to provide a single adequately controlled means of comparison. The same applies to means 504 and 510 for determining the interferences actually introduced. These, too, need not necessarily be configured as separate means.

Além disso, será notado que o meio para quantização não precisa necessariamente ser configurado como um meio separado do meio 510. Para ser exato, os sinais que são quantizados pela segunda dimensão de etapa quantizadora são tipicamente gerados tão precocemente quanto no meio 510, quando o meio 510 faz uma quantização e re-quantização para determinar a interferência realmente introduzida. Os valores quantizados aí obtidos podem também ser armazenados e liberados como um sinal • · ”·· ·· · · ··· .······· » · · quantizado quando o meio 512 para comparado foifLetfe iim**fè*^últ’âdo positivo, de maneira que o meio 514 para quantização se funde, como tal, com o meio 510 para determinar a segunda interferência realmente introduzida.In addition, it will be noted that the quantizing medium does not necessarily need to be configured as a medium separate from the 510 medium. To be exact, the signals that are quantized by the second quantizing step dimension are typically generated as early as in the 510 medium, when the medium 510 performs quantization and re-quantization to determine the interference actually introduced. The quantized values obtained there can also be stored and released as a signal • · ”·· ·· · · ···. ········» · · quantized when the medium 512 for comparison was foifLetfe iim ** fè * ^ last positive, so that the means 514 for quantization merges, as such, with the means 510 to determine the second interference actually introduced.

Em uma configuração preferida da presente invenção, o limite THR é a maior interferência introduzível determinada por meio de psico-acústica, nesse caso o sinal sendo um sinal de áudio. Aqui, o limite THR é fornecido por um modelo psico-acústico que opera de maneira convencional e que provê, para cada banda de fator de escala, uma interferência de quantização máxima estimada introduzível nessa banda de fator de escala. A máxima interferência introduzível se baseia no limite de mascaramento em que é idêntica ao limite de mascaramento ou derivada do limite de mascaramento, no sentido de, por exemplo, 15 ser feita a codificação com espaçamento seguro de maneira que a interferência introduzível seja menor do que o limite de mascaramento, ou que seja feito um código mais ofensivo no sentido de ser obtida uma redução da taxa de bits, especificamente no sentido de que a interferência permissível exceda o limite deIn a preferred embodiment of the present invention, the THR limit is the highest introductory interference determined by means of psycho-acoustics, in which case the signal being an audio signal. Here, the THR limit is provided by a psycho-acoustic model that operates in a conventional manner and that provides, for each scale factor band, an estimated maximum quantization interference that can be introduced in that scale factor band. The maximum introducible interference is based on the masking limit where it is identical to the masking limit or derived from the masking limit, in the sense that, for example, 15 is coded with safe spacing so that the introductory interference is less than the masking limit, or that a more offensive code be made in order to obtain a reduction in the bit rate, specifically in the sense that the permissible interference exceeds the limit of

0 mascaramento.0 masking.

Será apresentada abaixo uma maneira preferida de implementar o meio 502 para prover uma primeira dimensão de etapa quantizadora, com referência à Fig. 1. Nesse aspecto, as funcionalidades do meio 50 da Fig. 2 e do meio 502 da Fig. 5 são 25 as mesmas. Preferivelmente, o meio 502 é configurado para ter as funcionalidades do meio 10 e do meio 12 da Fig. 1. Além disso, nesse exemplo, o quantizador 514 da Fig.A preferred way of implementing medium 502 to provide a first dimension of quantizer step will be presented below, with reference to Fig. 1. In this aspect, the functionalities of medium 50 of Fig. 2 and medium 502 of Fig. 5 are 25 as same. Preferably, the means 502 is configured to have the features of the means 10 and the means 12 of Fig. 1. In addition, in this example, the quantizer 514 of Fig.

idêntico ao quantizador 14 da Fig. 1.identical to the quantizer 14 of Fig. 1.

é configurado para ser ··· ·*· ·· ··· ·· ···· ·* ·· ·· • · ·· ·· · * ·· ·· ·· · • * ·· ····· · · · · · «a· · · · ·· « · ···is configured to be ··· · * · ·· ··· ·· ···· · * ·· ·· • · ·· ·· · * ·· ·· ·· · • * ·· ···· · · · · · · "The· · · · ·· " · ···

Também será apresentado e&ãwxõ· · com* referência· à Fig. 2, um procedimento completo que, se a interferência introduzida ultrapassar o limite, tentará também obter dimensões de etapas quantizadoras mais grosseiras.It will also be presented e & ãwxõ · · with * reference · to Fig. 2, a complete procedure that, if the interference introduced exceeds the limit, will also try to obtain dimensions of coarse quantizer steps.

Além disso, o ramal esquerdo da Fig. 2, que mostra o conceito inventivo, ê ampliado no sentido que na eventualidade que a interferência introduzida ultrapassar o limite e que o engrossamento da dimensão da etapa quantizadora não produza nenhum efeito, e se as necessidades da taxa de bits não forem particularmente estritas e/ou se ainda houver algum espaço no banco de economia de bits, é feita uma iteração usando uma menor, isto é, mais fina dimensão de etapa quantizadora.In addition, the left branch of Fig. 2, which shows the inventive concept, is expanded in the sense that in the event that the introduced interference exceeds the limit and that the increase in the dimension of the quantizer step does not produce any effect, and if the needs of the bit rates are not particularly strict and / or if there is still some space in the bit saving bank, an iteration is made using a smaller, that is, finer dimension of quantizer step.

Eventualmente, o efeito em que se baseia a presente invenção será apresentado abaixo, com referência à Fig. 15 4, especificamente o efeito de que, apesar do engrossamento da dimensão da etapa quantizadora, pode ser obtido um reduzido ruídoEventually, the effect on which the present invention is based will be presented below, with reference to Fig. 15 4, specifically the effect that, despite the increase in the dimension of the quantizer step, reduced noise can be obtained

de quantização quantization e, and, associado a este, um aumento no associated with this, an increase in ganho gain de in compressão. compression. A THE Fig. 1 mostra um equipamento Fig. 1 shows an equipment para for a The 20 determinação de 20 determination of um one sinal de áudio quantizado que é dado quantized audio signal that is given como as uma an

representação espectral sob a forma de valores espectrais. Será notado, particularmente, que na eventualidade de - com referência à Fig. 3 - não ter sido feito nenhum processamento TNS e nenhuma codificação central/lateral, os valores espectrais são diretamente os valores de partida do banco de filtro. Entretanto, se for feito somente o processamento TNS sem codificação central/lateral, os valores espectrais fornecidos para o quantizador 1015 são valores espectrais residuais, já que são formados a partir da filtração de predição TNS.spectral representation in the form of spectral values. It will be noted, in particular, that in the event that - with reference to Fig. 3 - no TNS processing and no central / lateral coding have been done, the spectral values are directly the starting values of the filter bank. However, if only TNS processing is performed without central / lateral coding, the spectral values provided for the 1015 quantizer are residual spectral values, since they are formed from the TNS prediction filtering.

Figure BRPI0507229B1_D0005

Se for empregado o processamento TNS incluindo uma codificação central/lateral, os valores espectrais enviados para o equipamento inventivo são valores espectrais de um canal médio, ou valores espectrais de um canal lateral.If TNS processing including central / lateral coding is employed, the spectral values sent to the inventive equipment are spectral values of a medium channel, or spectral values of a side channel.

Para início, a presente invenção inclui um meio para prover uma interferência permissível, indicada por 10 na Fig.To begin with, the present invention includes a means for providing permissible interference, indicated by 10 in Fig.

1. 0 modelo psico-acústico 1020 mostrado na Fig. 3, que tipicamente é configurado para prover uma interferência ou um1. The psycho-acoustic model 1020 shown in Fig. 3, which is typically configured to provide interference or a

1imit e permi s s ível, também denominado THR, para cada banda de fator de escala, isto é, para um grupo de vários valores espectrais que são espectralmente adjacentes entre si, pode servir como meio para o provimento de uma interferência permissível. A interferência permissível se baseia no limite de mascaramento 15 psico-acústico e indica a quantidade de energia que pode ser introduzida em um sinal de áudio original sem que a energia de interferência seja percebida pelo ouvido humano. Em outras palavras, a interferência permissível ê a porção do sinal artificialmente introduzida (pela quantização) que é mascarada pelo sinal real de áudio.Limit and permits, also known as THR, for each scale factor band, that is, for a group of several spectral values that are spectrally adjacent to each other, can serve as a means of providing permissible interference. The allowable interference is based on the psycho-acoustic masking limit 15 and indicates the amount of energy that can be introduced into an original audio signal without the interference energy being perceived by the human ear. In other words, the permissible interference is the portion of the signal artificially introduced (by quantization) that is masked by the actual audio signal.

meio 10 é mostrado para calcular a interferência THR permissível para uma banda de freqüência, preferivelmente uma banda de fator de escala, e para fornecer essa banda a um meio a jusante 12. 0 meio 12 serve para calcular uma 25 peça das informações da dimensão da etapa quantizadora para a banda de freqüência para a qual a interferência THR permissível foi indicada. O meio 12 é configurado para fornecer a peça das informações da dimensão da etapa quantizadora q para um meio a « t · · • * · « · · 4 φ * * · · • · « « * · jusante 14 para a quantização. 0 meio T4 pât*a*?2uâhti^;a$ãó*‘dpéra’*de acordo com a especificação de quantização constante do bloco 14, sendo usadas as informações da dimensão da etapa quantizadora no caso mostrado na Fig. 1, para inicialmente dividir um valor 5 espectral Xi pelo valor de q, e para então exponenciar o resultado com o expoente cx diferente de 1, e para então somar um fator aditivo s, como possa ser o caso.medium 10 is shown to calculate the permissible THR interference for a frequency band, preferably a scale factor band, and to supply that band to a downstream medium 12. The medium 12 serves to calculate a piece of the dimension information of the quantizer step for the frequency band for which the permissible THR interference was indicated. The medium 12 is configured to supply the dimension information piece of the quantizer step q for a medium a «t · · • * ·« · · 4 φ * * · · · · «« * · downstream 14 for quantization. The medium T4 pât * a *? 2uâhti ^; a $ ãó * 'dpéra' * according to the quantization specification in block 14, using the dimension information of the quantizer step in the case shown in Fig. 1, to initially divide a spectral value 5 Xi by the value of q, and then exponentiate the result with the exponent cx other than 1, and then add an additive factor s, as may be the case.

Depois, este resultado é enviado para uma função de arredondamento que, na configuração mostrada na Fig. 1, seleciona o inteiro mais próximo. De acordo com a definição, o inteiro pode ser gerado novamente cortando-se os dígitos atrás do ponto decimal, isto é, sempre arredondando para baixo. De maneira alternativa, o inteiro mais próximo também pode ser gerado arredondando para baixo até 0,499 e arredondando para cima atéThis result is then sent to a rounding function which, in the configuration shown in Fig. 1, selects the nearest integer. According to the definition, the integer can be generated again by cutting the digits behind the decimal point, that is, always rounding down. Alternatively, the nearest integer can also be generated by rounding down to 0.499 and rounding up to

0,5. Como outra alternativa, o inteiro mais próximo pode ser determinado por sempre arredondar para cima, dependendo da implementação individual. Entretanto, ao invés da função nínt, qualquer outra função de arredondamento pode ser implementada que, de modo geral, mapeia um valor que deve ser arredondado, a partir0.5. Alternatively, the nearest integer can be determined by always rounding up, depending on the individual implementation. However, instead of the nint function, any other rounding function can be implemented that, in general, maps a value that must be rounded, starting from

0 de um primeiro e maior conjunto de valores para um segundo conjunto menor de valores.0 from a first and largest set of values to a second, smaller set of values.

O valor espectral quantizado estará então presente na banda de freqüência na saída do meio 14. Como pode ser visto na equação mostrada no bloco 14, o meio 14 também será naturalmente fornecido, além da dimensão da etapa quantizadora q, com o valor espectral a ser quantizado na banda de freqüência contemplada.The quantized spectral value will then be present in the frequency band at the output of the medium 14. As can be seen in the equation shown in block 14, the medium 14 will also be naturally provided, in addition to the dimension of the quantizer step q, with the spectral value to be quantized in the contemplated frequency band.

Será notado que o meio 12 não precisa ,· ··· ·* ,·»· ·· «a·· ·· «· ·· « · · · · · · a· ·· · i · * ·«·«· · · * ·* * i« * « a ♦ · · · · · · · · • · necessariamente calcular diretamentê â” *dirflênáâo * cfã’‘*‘êtà’pa quantizadora q, mas esta como informação da dimensão da etapa quantizadora alternativa, pode ser também calculado o fator de escala como usado nos codificadores de áudio baseados em transformação da técnica anterior. O fator de escala está ligado â dimensão da etapa quantizadora real por meio de uma relação mostrada à direita do bloco 12 na Fig. 1. Se os meios para o cálculo forem ainda configurados para calcular, como informações da dimensão de etapa quantizadora, o fator de escala scf, esse fator de escala será fornecido ao meio 14 para quantização, meio que então usará, no bloco 14, o valor de 21/4 sce para o cálculo de quantização ao invés do valor q.It will be noted that the medium 12 does not need, · ··· · *, · »··· a ·· ··« ··· · · · · · · a · ·· · i · * · «·« · · · * · * * I «*« a ♦ · · · · · · · · • · necessarily calculate direct â € * dirflênáâo * cfã '' * 'êtà'pa quantizadora q, but this as information of the dimension of the stage alternative quantizer, the scale factor can also be calculated as used in audio encoders based on prior art transformation. The scale factor is linked to the dimension of the actual quantizing step by means of a relationship shown to the right of block 12 in Fig. 1. If the means for the calculation are still configured to calculate, such as information on the dimension of the quantizing step, the factor scale factor, this scale factor will be provided to medium 14 for quantization, which will then use, in block 14, the value of 2 1/4 sce for the quantization calculation instead of the q value.

Uma derivação da forma dada no bloco 12 será mostrada abaixo.A derivation of the form given in block 12 will be shown below.

Como já mostrado, o quantizador de forma exponencial como mostrado no bloco 14 obedece à seguinte relação:As already shown, the quantizer exponentially as shown in block 14 obeys the following relationship:

y- ~ round — +5y- ~ round - +5

A operação inversa será apresentada como segueThe reverse operation will be presented as follows

Esta equação representa assim a operação necessária para a re-quantização, caracterizada pelo fato de que Yi é um valor espectral quantizado e onde x/ é um valor espectral re-quantizado. Novamente, q é a dimensão da etapa quantizadora que está associada ao fator de escala por meio da relação mostrada naThis equation thus represents the necessary operation for re-quantization, characterized by the fact that Yi is a quantized spectral value and where x / is a re-quantized spectral value. Again, q is the dimension of the quantizer step that is associated with the scale factor through the relationship shown in

Fig. 1 â direita do bloco 12.Fig. 1 to the right of block 12.

Como esperado, na eventualidade que α seja igual a 1, o resultado será consistente com esta equação.As expected, in the event that α is equal to 1, the result will be consistent with this equation.

I» · · · ·* · · ♦ # * » · -t · * • · · · »· * · ·· · »··» · · · · ·· * a »··« · · ·· ·I »· · · · * · · ♦ # *» · -t · * • · · · · · · ·· · »··» · · · ·· * a »··« · · ·· ·

Se a equação acima for *&*orfiàdâ· a** ufh VêVóF cfos valores espectrais, a potência de ruído total em uma banda indicada pelo índice i será dada como segue:If the equation above is * & * orfiàdâ · a ** ufh VêVóF cf spectral values, the total noise power in a band indicated by index i will be given as follows:

ΣΜΣΜ

12α·12α ·

Em resumo, o valor esperado do ruído de quantização de um vetor é determinado pela dimensão da etapa quantizadora q e do referido fator de forma que descreve a distribuição das quantidades dos componentes do vetor.In summary, the expected value of the quantization noise of a vector is determined by the dimension of the quantizer step q and the aforementioned form factor that describes the distribution of the quantities of the vector components.

O fator de forma, que é o termo mais à direita na 10 equação acima, depende dos valores reais de entrada e somente precisa ser calculado uma vez, mesmo se a equação acima for calculada para níveis de interferência THR desejados em diferentes graus.The form factor, which is the rightmost term in the 10 equation above, depends on the actual input values and only needs to be calculated once, even if the above equation is calculated for desired THR interference levels to varying degrees.

Como jã visto anteriormente, essa equação com α igual a % é simplificada como a seguir:As already seen, this equation with α equal to% is simplified as follows:

O lado esquerdo desta equação ê assim uma estimativa da energia do ruído de quantização que, em um caso limite, estã conforme a energia permissível de ruído (limite).The left side of this equation is thus an estimate of the energy of the quantization noise which, in a limit case, is in accordance with the permissible energy of the noise (limit).

Portanto, será feita a seguinte abordagem:Therefore, the following approach will be taken:

Χ|Δχ,.|2=7ϊΰ?Χ | Δχ ,. | 2 = 7ϊΰ?

ii

A soma das raízes das linhas de freqüência na parte direita da equação corresponde a uma medida da uniformidade das linhas de freqüência e é conhecida como o fator de forma preferivelmente tão logo possível no codificador:The sum of the roots of the frequency lines in the right part of the equation corresponds to a measure of the uniformity of the frequency lines and is known as the form factor preferably as soon as possible in the encoder:

Assim, resulta o seguinte:Thus, the following results:

Σ|χ,Γ = FFAC , ·· ···· · : : · ,· • ·· ··Σ | χ, Γ = FFAC, ·· ···· ·:: ·, · • ·· ··

..............

3/23/2

THR*°--FFACTHR * ° --FFAC

6.75 q aqui corresponde à dimensão da etapa quantizadora. Com AAC, é especificado como:6.75 q here corresponds to the dimension of the quantizer step. With AAC, it is specified as:

scf é o fator de escala. Se o fator de escala for determinado, a equação pode ser calculada como a seguir, com base na relação entre a dimensão da etapa e o fator de escala:scf is the scale factor. If the scale factor is determined, the equation can be calculated as follows, based on the relationship between the step dimension and the scale factor:

2(3/8)SC/ 2 (3/8) SC /

THR*~--FFACTHR * ~ --FFAC

6.756.75

2(3/8)«/ _2 (3/8) «/ _

6.75-77¾6.75-77¾

FFAC , 8 .6.75-77¾.FFAC, 8 .6.75-77¾.

^scf=ilos2(-^^) « scf = —1— [log10 (6.75 · THR) - log10 (FFAC)] scf = 8.8585 · [log10 (6.75 THR) - log10 (FK4C)]^ scf = i los2 ( - ^^ ) «scf = —1— [log 10 (6.75 · THR) - log 10 (FFAC)] scf = 8.8585 · [log 10 (6.75 THR) - log 10 (FK4C)]

A presente invenção assim prove uma conexão mais próxima entre os fatores de escala scf para uma banda de fator de escala que tem um fator de forma específico e para o qual é dado um limite específico de interferência THR, que tipicamente se origina de um modelo psico-acústico.The present invention thus provides a closer connection between the scf scale factors for a scale factor band that has a specific form factor and for which a specific THR interference limit is given, which typically originates from a psycho model -acoustic.

Como j ã demonstrado, o calculo da dimensão de etapa usando uma energia de ruído médio fornece uma melhor estimativa, jã que a base usada é o valor esperado do erro de quantização, ao invés de um cenário de pior caso.As already demonstrated, the calculation of the step dimension using a medium noise energy provides a better estimate, since the base used is the expected value of the quantization error, instead of a worst case scenario.

VV

M ·· ···· • · · • · · · · i nvêíífe ivo · * *é· âdé £[tíá ão ‘paraM ·· ···· • · · • · · · i nvêíífe ivo · * * é · âdé £ [tíá ão ‘para

Assim, o conceito determinar a dimensão da etapa quantizadora e/ou, em equivalência a esta, do fator de escala de uma banda de fator de escala sem iterações.Thus, the concept determines the dimension of the quantizer step and / or, in equivalence to this, the scale factor of a scale factor band without iterations.

Não obstante, o pós-processamento como será representado abaixo por intermédio da Fig. 2 também pode ser feito caso os requisitos de tempo de calculo não forem muito estritos. Em uma primeira etapa na Fig. 2, é estimada a primeira dimensão da etapa quantizadora (etapa 50) . A estimativa da primeira dimensão da etapa quantizadora (QSS) é feita usando o procedimento mostrado por meio da Fig. 1. Depois, é feita uma quantização usando a primeira dimensão da etapa quantizadora em uma etapa 52, de preferência de acordo com o quantizador como mostrado usando o bloco 14 da Fig. 1. Em sequência, os valores obtidos com a primeira dimensão da etapa quantizadora são re-quant i zados, de maneira a então calcular a interferência introduzida. Depois, em uma etapa 54, verifica-se se a interferência introduzida ultrapassa um limite predefinido.However, post-processing as will be shown below via Fig. 2 can also be done if the calculation time requirements are not very strict. In a first step in Fig. 2, the first dimension of the quantizer step (step 50) is estimated. The estimation of the first dimension of the quantizer step (QSS) is done using the procedure shown in Fig. 1. Then, a quantization is made using the first dimension of the quantizer step in a step 52, preferably according to the quantizer as shown using block 14 of Fig. 1. In sequence, the values obtained with the first dimension of the quantizing step are re-quantized, in order to then calculate the introduced interference. Then, in a step 54, it is checked whether the introduced interference exceeds a predefined limit.

Será indicado que dimensão da etapaIt will be indicated which step size

20 quantizadora 20 quantizer q (ou q (or scf) scf) que what foi was calculada calculated pela through the conexão connection representada represented no bloco on the block 12 12 é uma is aproximação. approximation. Se a If the conexão connection apresentada presented no bloco 12 in block 12 : da : gives Fig. 1 Fig. 1 foi was realmente really exata, exact, deve ser must be

estabelecido, no bloco 54, que a interferência introduzida corresponde exatamente ao limite. Entretanto, devido à natureza daestablished in block 54 that the introduced interference corresponds exactly to the limit. However, due to the nature of

5 aproximação da conexão no bloco 12 da Fig. 1, a interferência introduzida pode ultrapassar ou cair abaixo do limite THR.As the connection approaches block 12 of Fig. 1, the interference introduced may exceed or fall below the THR limit.

Além disso, será notado que o desvio do limite não será particularmente grande, mesmo porque, não obstante, «In addition, it will be noted that the deviation from the limit will not be particularly large, not least because, nevertheless, «

ii

4S4S

,........., .........

·· · .·· ·.

• · · · · · . · ·· · · · · · · •ê tapa· * £>4 * · qü ê* * tíâ ãnclo a estará presente. Se for determinado, primeira dimensão da etapa quantizadora a interferência introduzida cai abaixo do limite, isto é, se a pergunta na etapa for respondida no negativo, o ramal direito da Fig. 3 será escolhido. Se a interferência introduzida cair abaixo do limite, isto significa que a estimativa no bloco 12 da Fig. 1 foi muito pessimista, de maneira que na etapa 56 é estabelecida uma dimensão da etapa quantizadora mais grosseira que a segunda etapa quantizadora.• · · · · ·. · ·· · · · · · · • ê slap · * £> 4 * · equ ê * * tíâ ãnclo a will be present. If it is determined, the first dimension of the quantizer step, the introduced interference falls below the limit, that is, if the question in the step is answered in the negative, the right branch of Fig. 3 will be chosen. If the introduced interference falls below the limit, this means that the estimate in block 12 of Fig. 1 was very pessimistic, so that in step 56, a dimension of the quantizer step that is coarser than the second quantizer step is established.

Pode ser selecionado o grau em que a segunda dimensão da etapa quantizadora é mais grosseira, em comparação, do que a primeira dimensão da etapa quantizadora. Entretanto, é preferível adotar incrementos relativamente pequenos, já que a estimativa no bloco 50 já será relativamente exata.The degree to which the second dimension of the quantizer step is coarser, in comparison, than the first dimension of the quantizer step can be selected. However, it is preferable to adopt relatively small increments, since the estimate in block 50 will already be relatively accurate.

Usando a segunda dimensão da etapa quant i zadora (maior) mais grosseira, são feitos uma quantização dos valores espectrais, uma subseqüente re-quantização e um cálculo da segunda interferência que corresponde à segunda dimensão da etapa quantizadora em uma etapa 58.Using the second dimension of the coarse (larger) quantizing step, a quantization of the spectral values is made, a subsequent re-quantization and a calculation of the second interference that corresponds to the second dimension of the quantizing step in a step 58.

Em uma etapa (60), verifica-se então se a segunda interferência, que corresponde à segunda dimensão da etapa quantizadora, ainda cai abaixo do limite original. Se isso acontecer, a segunda dimensão da etapa quantizadora é armazenada (62) , e uma nova iteração é iniciada de maneira a estabelecer uma dimensão da etapa quantizadora ainda mais grosseira em uma etapa (56). Depois, a etapa 60 e, conforme o caso, a etapa 62, são então novamente realizadas usando uma dimensão da etapa quantizadora ainda mais grosseira, de maneira a novamente iniciar uma novaIn a step (60), it is then verified whether the second interference, which corresponds to the second dimension of the quantizer step, still falls below the original limit. If this happens, the second dimension of the quantizer step is stored (62), and a new iteration is started in order to establish an even coarser dimension of the quantizer step in one step (56). Then, step 60 and, as the case may be, step 62, are then performed again using an even coarser dimension of the quantizer step, so as to start a new one again.

- 27 • · * · · · · • · • · · • · · · · ?- 27 • · * · · · · · · · · · · · · ·?

iteração. Caso se constatar, durante Jíma .Lt‘era?ão'tia·eíâVá”60*,' que a segunda interferência não cai abaixo do limite, isto é, ultrapassa o limite, terã sido atingido um critério de término, e após atingir o critério de término, é feita a quantização (64) usando uma dimensão da etapa quantizadora que foi armazenada por último.iteration. If it is found, during Jíma .Lt'era? Ão'tia · eíâVá ”60 *, 'that the second interference does not fall below the limit, that is, it exceeds the limit, a termination criterion will have been reached, and after reaching the termination criteria, quantization (64) is performed using a dimension of the quantizer step that was last stored.

Como a primeira dimensão da etapa quantizadora jã foi um valor relativamente bom, o número de iterações quando comparadas com valores de partida mal estimados será reduzido, o que conduzirá a economias significativas em tempo de cálculo ao codificar, já que as iterações para o cálculo da dimensão da etapa quantizadora consomem a maior parte do tempo de cálculo do codificador.As the first dimension of the quantizing step was already a relatively good value, the number of iterations when compared with poorly estimated starting values will be reduced, which will lead to significant savings in calculation time when coding, since the iterations for calculating the dimension of the quantizer step consume most of the encoder calculation time.

Será representado abaixo um procedimento inventivo usado quando a interferência introduzida realmente ultrapassa o limite, com referência ao ramal esquerdo na Fig. 2.Below will be shown an inventive procedure used when the introduced interference actually exceeds the limit, with reference to the left branch in Fig. 2.

Apesar do fato que a interferência introduzida já ultrapassa o limite, é estabelecida uma dimensão da etapa quantizadora ainda mais grosseira de acordo com a invenção (70), uma quantização, uma re-quantização e o cálculo da segunda interferência de ruído, que corresponde à segunda dimensão da etapa quantizadora sendo então realizada na etapa 72. Depois, é feita uma verificação na etapa 74 de se a segunda interferência de ruído agora cai abaixo do limite. Se for o caso, a pergunta na etapa 74 será respondida sim e a segunda dimensão da etapa quantizadora será armazenada (76) . Entretanto, se for constatado que a segunda interferência de ruído ultrapassa o limite, a quantização será realizada usando a dimensão da etapa quantizadora : : : : ♦’ <.Despite the fact that the interference introduced already exceeds the limit, an even coarser quantizing step dimension is established according to the invention (70), a quantization, a re-quantization and the calculation of the second noise interference, which corresponds to the second dimension of the quantizer step being carried out in step 72. Then, a check is made in step 74 of whether the second noise interference now falls below the limit. If so, the question in step 74 will be answered yes and the second dimension of the quantizer step will be stored (76). However, if it is found that the second noise interference exceeds the limit, quantization will be performed using the dimension of the quantizer step:::: ♦ ’<.

armazenada, ou, se não tiver sido ^rmazfeííacTà^urrtet rtielHW‘segunda dimensão da etapa quantizadora, será feita uma iteração, caracterizada pelo fato de que, como na técnica anterior, é selecionada uma dimensão da etapa quantizadora mais fina para empurrar a interferência introduzida abaixo do limite.stored, or, if it has not been ^ rmazfeííTT ^ urrtet rtielHW's second dimension of the quantizing step, an iteration will be made, characterized by the fact that, as in the prior art, a dimension of the finer quantizing step is selected to push the introduced interference below the limit.

Segue-se uma discussão sobre porque um aperfeiçoamento pode ainda ser obtido quando é usada uma dimensão da etapa quantizadora ainda mais grosseira, particularmente quando a interferência introduzida ultrapassa o limite. Até agora, sempre foi operado na suposição de que uma dimensão da etapa quantizadora mais fina conduz a uma menor energia de quantização introduzida, e que uma maior dimensão da etapa quantizadora conduz a uma maior interferência de quantização introduzida. Na media, isto pode ser verdade, mas nem sempre é verdade, e o oposto será verdade, em particular, para bandas de fator de escala ainda mais finamente povoadas e, em particular, quando o quantizador tem uma curva característica não linear. Determinou-se, de acordo com a invenção, que em alguns casos que não devem ser subestimados, uma dimensão da etapa quantizadora mais grosseira conduz a uma menor interferência introduzida. Isto pode conduzir de volta ao fato que pode também haver o caso quando uma dimensão da etapa quantizadora mais grosseira atinge um valor espectral a ser quantizado melhor do que uma dimensão da etapa quantizadora mais fina, como será apresentado usando o exemplo abaixo com referência â Fig. 4.A discussion follows on why an improvement can still be obtained when an even coarser dimension of the quantizer step is used, particularly when the interference introduced exceeds the limit. Until now, it has always been operated on the assumption that a dimension of the finer quantizing step leads to less quantization energy introduced, and that a larger dimension of the quantizing step leads to greater quantization interference introduced. On average, this may be true, but it is not always true, and the opposite will be true, in particular, for even more finely populated scale factor bands and, in particular, when the quantizer has a nonlinear characteristic curve. It has been determined, according to the invention, that in some cases that should not be underestimated, a dimension of the coarser quantizing step leads to less interference introduced. This can lead back to the fact that there may also be a case when a dimension of the coarse quantizer step reaches a spectral value to be quantized better than a dimension of the finer quantizer step, as will be presented using the example below with reference to Fig 4.

Como exemplo, a Fig. 4 mostra uma curva característica de quantização (60), que provê quatro estágios de quantização 0, 1, 2, 3, quando os sinais de entrada entre 0 e 1 são quantizados. Os valores quantizados correspondem a 0,0; 0,25;As an example, Fig. 4 shows a quantization characteristic curve (60), which provides four quantization stages 0, 1, 2, 3, when the input signals between 0 and 1 are quantized. The quantized values correspond to 0.0; 0.25;

SPSP

0,5 e 0,75. Em comparação, uma curva :carafc>t*eríffit*re& de •CfllâfiEização diferente e mais grosseira é desenhada em linhas pontilhadas na0.5 and 0.75. In comparison, a curve: carafc> t * eríffit * re & de • CfllâfiE Different and more coarse design is drawn in dotted lines in the

Fig. 4 (62), que somente tem três estágios de quantização que correspondem aos valores absolutos 0,0; 0,33; 0,66. Assim, no primeiro caso, isto é, com a curva característica quantizadora 60, a dimensão da etapa quantizadora é igual a 0,25, caracterizada pelo fato de que no segundo caso, isto é, com a curva característica quantizadora 62, a dimensão da etapa quantizadora é igual a 0,33. A segunda curva característica quantizadora (62), portanto, tem uma dimensão da etapa quantizadora mais grosseira do que a primeira curva característica quantizadora (60), que representa uma curva característica de quantização fina. Se for contemplado o valor Xi=0,33 a ser quantizado, pode-se ver a partir na Fig. 4 que o erro na quantização usando o quantizador fino com quatro estágios é igual à diferença entre 0,33 e 0,25, sendo, portanto, 0,08. Em contraste, o erro na quantização usando três estágios ê igual a zero, devido ao fato que o estágio quantizador atinge exatamente, o valor a ser quantizado.Fig. 4 (62), which only has three stages of quantization that correspond to absolute values 0.0; 0.33; 0.66. Thus, in the first case, that is, with the quantizer characteristic curve 60, the dimension of the quantizer step is equal to 0.25, characterized by the fact that in the second case, that is, with the quantizer characteristic curve 62, the dimension of the quantizer step. quantizer step is equal to 0.33. The second quantizer characteristic curve (62), therefore, has a coarser dimension of the quantizer step than the first quantizer characteristic curve (60), which represents a fine quantization characteristic curve. If the value Xi = 0.33 to be quantized is taken into account, it can be seen from Fig. 4 that the quantization error using the four-stage fine quantizer is equal to the difference between 0.33 and 0.25, being therefore, 0.08. In contrast, the error in quantization using three stages is equal to zero, due to the fact that the quantizer stage reaches exactly the value to be quantized.

Portanto, pode ser visto a partir da Fig. 4, que 20 uma quantização mais grosseira pode conduzir a um menor erro de quantização que uma quantização fina.Therefore, it can be seen from Fig. 4, that a more coarse quantization can lead to a lesser quantization error than a fine quantization.

Além disso, uma quantização mais grosseira é o fator decisivo para a necessidade de uma menor taxa de bits de partida, já que os estados possíveis são somente três, isto é, 0,In addition, a more coarse quantization is the decisive factor for the need for a lower starting bit rate, since the possible states are only three, that is, 0,

1, 2, diferentemente do caso do quantizador mais fino, onde quatro estágios 0, 1, 2, 3 devem ser assinalados. Além disso, a dimensão da etapa quantizadora mais grosseira tem a vantagem de que mais valores tendem a ser quantizados para mais longe do 0 do que com • · í : :··*.: · ·. .· .* ·♦:1, 2, unlike the case of the finer quantizer, where four stages 0, 1, 2, 3 must be marked. In addition, the coarse quantizing step dimension has the advantage that more values tend to be quantized further away from 0 than with • · í:: ·· * .: · ·. . ·. * · ♦:

uma dimensão da etapa quantizadora ntais »í5isiâ***c>rfde ’me*hò*s*'valores são quantizados para mais longe do 0 . Mesmo assim, quando são contemplados vários valores espectrais em uma banda de fator de escala, a quantização para 0 conduz a um aumento no erro de quantização, mas isto não deve necessariamente tornar-se problemático, já que uma dimensão da etapa quantizadora mais grosseira pode atingir outros valores espectrais mais importantes de uma maneira mais exata, de maneira que o erro de quantização é cancelado e mesmo supercompensado pela quantização mais grosseira dos outros valores espectrais, ocorrendo ao mesmo tempo uma menor taxa de bits.a dimension of the quantisation step ntais »í5isiâ *** c> rfde 'me * hò * s *' values are quantized further away from 0. Even so, when several spectral values are considered in a scale factor band, quantization to 0 leads to an increase in the quantization error, but this should not necessarily become problematic, since a dimension of the coarser quantizing step can to reach other more important spectral values in a more accurate way, so that the quantization error is canceled and even overcompensated by the coarser quantization of the other spectral values, at the same time occurring a lower bit rate.

Em outras palavras, o resultado do codificador alcançado é melhor, isto é, como o conceito inventivo alcança um menor número de estados a serem sinalizados e, ao mesmo tempo, proporciona um melhor impacto dos estágios de quantização.In other words, the result of the achieved encoder is better, that is, as the inventive concept reaches a smaller number of states to be signaled and, at the same time, it provides a better impact of the quantization stages.

De acordo com a invenção, como foi representada no ramal esquerdo da Fig. 2, é tentada uma dimensão da etapa quantizadora ainda mais grosseira, iniciando a partir de valores estimados (etapa 50 da Fig. 2), quando a interferência introduzida ultrapassa o limite, de maneira a beneficiar-se a partir do efeito representado usando a Fig. 4. Além disso, determinou-se que esse efeito é ainda mais significativo com quantizadores não lineares do que no caso, mencionado na Fig. 4, de duas curvas características quantizadoras lineares.According to the invention, as shown in the left branch of Fig. 2, an even coarser dimension of the quantizer step is attempted, starting from estimated values (step 50 of Fig. 2), when the introduced interference exceeds the limit , in order to benefit from the effect represented using Fig. 4. In addition, it was determined that this effect is even more significant with non-linear quantizers than in the case, mentioned in Fig. 4, of two characteristic curves linear quantizers.

0 conceito apresentado de dimensão da etapa quantizadora pós-processamento e/ou de fator de escala pósprocessamento serve assim para aperfeiçoar o resultado do estimador de fator de escala.The presented concept of dimension of the post-processing quantizer step and / or post-processing scale factor thus serves to improve the result of the scale factor estimator.

.............. ..................... .......

·· ··· * . * ·· · • · · · ····. · · ··· ··· ••t.ií·· · · das dim$nsõe53’..aa·· efcapa ”qtiSMti*áadora de fator de escala (50 na Fig. 2), são análise por síntese, novas dimensões de·· ··· *. * ·· · • · · · ····. · · ··· ··· •• t.ií ·· · · of the dim $ nsõ53 '.. aa ·· efcapa ”qtiSMti * scaling factor generator (50 in Fig. 2), are analysis by synthesis, new dimensions of

Partindo determinadas no estimador determinadas, na etapa de etapa quantizadoras que são as maiores possíveis e para as quais a energia de erro cai abaixo do valor limite predefinido.Starting from determined in the estimator determined, in the quantizer stage step that are the largest possible and for which the error energy falls below the predefined limit value.

Portanto, o espectro é quantizado com as dimensões da etapa quantizadora calculadas, e a energia do sinal de erro, isto é, é determinada preferivelmente a soma dos quadrados das diferenças dos valores espectrais original e quantizado. De maneira alternativa, para a determinação de erro, pode também ser usado um sinal de tempo correspondente, ainda que sejam preferidos os valores espectrais.Therefore, the spectrum is quantized with the dimensions of the quantizing step calculated, and the energy of the error signal, that is, the sum of squares of differences in the original and quantized spectral values is preferably determined. Alternatively, for the determination of error, a corresponding time signal can also be used, although spectral values are preferred.

A dimensão da etapa quantizadora e o sinal de erro são armazenados com o melhor resultado obtido até então. Se a interferência calculada ultrapassar um valor limite, a seguinte abordagem é adotada:The dimension of the quantizer step and the error signal are stored with the best result obtained so far. If the calculated interference exceeds a threshold value, the following approach is taken:

fator de escala dentro de uma faixa predefinida é variado à volta do valor originalmente calculado, sendo também feito o uso, em particular, de dimensões de etapas quantizadoras mais grosseiras (70).scaling factor within a predefined range is varied around the value originally calculated, with the use, in particular, of coarser quantizing step dimensions (70).

Para cada novo fator de escala, o espectro é novamente quantizado, sendo calculada a energia do sinal de erro. Se o sinal de erro for menor do que o menor que jã tiver sido calculado, a atual dimensão da etapa quantizadora ê considerada, juntamente com a energia do sinal de erro associado, como o melhor resultado obtido até o momento.For each new scale factor, the spectrum is again quantized, and the energy of the error signal is calculated. If the error signal is less than the smallest that has already been calculated, the current dimension of the quantizer step is considered, together with the energy of the associated error signal, as the best result obtained so far.

De acordo com a invenção, não somente os fatores de graduação relativamente pequenos, mas também os fatores de graduação relativamente grandes s^ò* Levado & βπτ· 'ôtfntci, de maneira a beneficiar-se do conceito descrito com referência à Fig.According to the invention, not only relatively small graduation factors, but also relatively large graduation factors s ^ ò * Levado & βπτ · 'ôtfntci, in order to benefit from the concept described with reference to Fig.

4, particularmente quando o quantizador se trata de um quantizador não linear.4, particularly when the quantizer is a non-linear quantizer.

Entretanto, se a interferência calculada cair abaixo do valor limite, isto é, se a estimativa na etapa 50 foi muito pessimista, o fator de escala variará dentro de uma faixa predefinida, à volta do valor originalmente calculado.However, if the calculated interference falls below the limit value, that is, if the estimate in step 50 was too pessimistic, the scale factor will vary within a predefined range, around the value originally calculated.

Para cada novo fator de escala, o espectro é re10 quantizado, e calculada a energia do sinal de erro.For each new scale factor, the spectrum is re-quantized, and the energy of the error signal is calculated.

Se o sinal de erro for menor do que o menor que tiver sido calculado até então, a atual dimensão da etapa quantizadora é considerada, juntamente com a energia do sinal de erro associado, como o melhor resultado obtido até o momento.If the error signal is less than the smallest that has been calculated until then, the current dimension of the quantizer step is considered, together with the energy of the associated error signal, as the best result obtained so far.

Entretanto, aqui somente são levados em contaHowever, here we only take into account

fatores factors de in graduação relativamente grosseiros, relatively coarse graduation, de maneira a in order to reduzir reduce o O número de bits necessários para a number of bits required for codificação do coding espectro spectrum de in áudio. audio.

Dependendo das circunstâncias, o método inventivoDepending on the circumstances, the inventive method

0 pode ser implementado no hardware ou no software. A implementação pode ser feita em um meio de armazenagem digital, em particular um disco ou CD com sinais de controle com leitura eletrônica, que possam cooperar com um sistema de computador programável, de maneira que o método seja realizado.0 can be implemented in hardware or software. The implementation can be done in a digital storage medium, in particular a disk or CD with control signals with electronic reading, which can cooperate with a programmable computer system, so that the method is carried out.

Em geral, a invenção consiste assim em um produto de programa de computador dotado de um código de programas, armazenado em um portador com leitura por máquina, para a realização do método inventivo, quando o produto de programa deIn general, the invention thus consists of a computer program product equipped with a program code, stored in a machine-readable carrier, for carrying out the inventive method, when the

Λζ computador opera em um computador. JEm ©Utra’s-^ãi*ãvras·,··SVlrffrenção pode assim ser realizada como um programa de computador dotado de um código de programa para a realização do método, quando o programa de computador é operado em um computador.The computer operates on a computer. JEm © Utra’s- ^ ãi * ãvras ·, ·· SVlrffrenference can thus be performed as a computer program with a program code for carrying out the method, when the computer program is operated on a computer.

1/41/4

Claims (5)

REIVINDICAÇÕES 1/5 ·· · • · · · · ···· • · · · » , « ··· • · · * « ········ ··1/5 ·· · • · · · · ···· · · · · »,« ··· • · · * * ··········· VALORES ESPECTRAIS QUANT1ZADOS NA BANDA DE FREQÜÊNCIASPECTRAL VALUES QUANT1ZED IN THE FREQUENCY BAND FiglFigl 1. Equipamento para a determinação da dimensão da etapa quantizadora de quantização de um sinal que compreende informações de áudio ou vídeo, o equipamento caracterizado pelo fato de que compreende: meio (502) para prover uma primeira dimensão de etapa quantizadora e um limite de interferência; meio (504) para determinar uma primeira interferência introduzida pela primeira dimensão de etapa quantizadora; meio (506) para comparar a interferência introduzida pela primeira dimensão de etapa quantizadora com o limite de interferência; meio (508) para selecionar uma segunda dimensão de etapa quantizadora, que é maior do que a primeira dimensão de etapa quantizadora, se a primeira interferência introduzida ultrapassar o limite de interferência;1. Equipment for determining the dimension of the quantization step of a signal that comprises audio or video information, the equipment characterized by the fact that it comprises: means (502) to provide a first dimension of the quantizing step and an interference limit ; means (504) for determining a first interference introduced by the first quantizer step dimension; means (506) for comparing the interference introduced by the first dimension of the quantizing step with the interference limit; means (508) for selecting a second quantizing step dimension, which is greater than the first quantizing step dimension, if the first introduced interference exceeds the interference limit; meio (510) para determinar uma segunda interferência introduzida pela segunda dimensão de etapa quantizadora; meio (512) para comparar a segunda interferência introduzida com o limite de interferência ou a primeira interferência introduzida; e meio (514) para quantizar o sinal com a segunda dimensão de etapa quantizadora, se a segunda interferência introduzida for menor que a primeira interferência introduzida ou for menor que o limite de interferência.means (510) for determining a second interference introduced by the second dimension of quantizer step; means (512) for comparing the second interference introduced with the interference limit or the first interference introduced; and means (514) for quantizing the signal with the second dimension of quantizing step, if the second interference introduced is less than the first interference introduced or is less than the interference limit. 2/52/5 Fig 2Fig 2 2(l-a) onde o meio (514) para quantização está configurado para quantizar de acordo com a seguinte equação:2 (l-a) where the means (514) for quantization is configured to quantize according to the following equation: y. = round onde Xi é um valor espectral a ser quantizado, onde q representa as informações da dimensão de etapa quantizadora, onde s é um dado que difere ou é igual a zero, onde α é um expoente diferente de 1, onde round é uma função de arredondamento que mapeia um valor a partir de uma primeira maior faixa de valores para um valor dentro de uma segunda e menor faixa de valores, onde Y|Ax,| i (THR) é a interferência permissível e onde i é um índice de operação para os valores espectrais na banda de freqüência.y. = round where Xi is a spectral value to be quantized, where q represents the information of the quantizing step dimension, where s is a data that differs or is equal to zero, where α is an exponent other than 1, where round is a function rounding that maps a value from a first largest range of values to a value within a second and smallest range of values, where Y | Ax, | i (THR) is the permissible interference and where i is an operating index for the spectral values in the frequency band. Petição 870180051055, de 14/06/2018, pág. 8/10Petition 870180051055, of 06/14/2018, p. 8/10 2/42/4 2. Equipamento de acordo com a reivindicação 1, caracterizado pelo fato de que o sinal é um sinal de áudio e compreende valores espectrais de uma representação espectral do sinal de áudio, e onde o meio (502) para o provimento é configurado como um modelo psico-acústico que calcula uma interferência permissível para a banda de freqüências, com base em um limite de mascaramento psico-acústico.2. Equipment according to claim 1, characterized by the fact that the signal is an audio signal and comprises spectral values of a spectral representation of the audio signal, and where the means (502) for the provision is configured as a model psycho-acoustic that calculates a permissible interference for the frequency band, based on a psycho-acoustic masking limit. Petição 870180051055, de 14/06/2018, pág. 7/10Petition 870180051055, of 06/14/2018, p. 7/10 3/53/5 Fig 3 (TÉCNICA ANTERIOR)Fig 3 (PREVIOUS TECHNIQUE) 3/43/4 5. Equipamento de acordo com qualquer das reivindicações anteriores, caracterizado pelo fato de que o meio (508) para a seleção está ainda configurado para selecionar uma maior dimensão de etapa quantizadora quando a interferência introduzida é menor que a interferência permissível.5. Equipment according to any of the preceding claims, characterized by the fact that the means (508) for the selection is further configured to select a larger dimension of the quantizing step when the introduced interference is less than the permissible interference. 6. Equipamento de acordo com qualquer das reivindicações anteriores, caracterizado pelo fato de que o meio (502) para provimento está configurado para prover a primeira dimensão de etapa quantizadora como resultado de uma determinação análise/síntese.6. Equipment according to any of the preceding claims, characterized by the fact that the means (502) for provisioning is configured to provide the first dimension of the quantizing step as a result of an analysis / synthesis determination. 7. Equipamento de acordo com qualquer das reivindicações anteriores, caracterizado pelo fato de que o meio (508) para seleção está configurado para alterar uma dimensão de etapa quantizadora para uma banda de freqüências independentemente de uma dimensão de etapa quantizadora para outra banda de freqüências.7. Equipment according to any of the preceding claims, characterized by the fact that the means (508) for selection is configured to change a dimension of a quantizing step for a frequency band regardless of a dimension of a quantizing step for another frequency band. 8. Equipamento de acordo com qualquer das reivindicações anteriores, caracterizado pelo fato de que o meio (502) para provimento está configurado para determinar uma primeira dimensão de etapa quantizadora como resultado de uma etapa de iteração precedente com o engrossamento da dimensão de etapa quantizadora, e onde o limite de interferência é uma interferência introduzida na etapa de iteração precedente para a determinação da primeira dimensão de etapa quantizadora.8. Equipment according to any of the preceding claims, characterized by the fact that the means (502) for provisioning is configured to determine a first dimension of the quantizing step as a result of a previous iteration step with the thickening of the dimension of the quantizing step, and where the interference limit is an interference introduced in the previous iteration step to determine the first dimension of the quantizer step. 9. Método para a determinação da dimensão da etapa quantizadora de quantização de um sinal compreendendo informações de áudio ou vídeo, o método caracterizado pelo fato de que compreende as etapas de: prover (502) de uma primeira dimensão de etapa9. Method for determining the dimension of the quantization step of a signal comprising audio or video information, the method characterized by the fact that it comprises the steps of: providing (502) a first step dimension Petição 870180051055, de 14/06/2018, pág. 9/10Petition 870180051055, of 06/14/2018, p. 9/10 3. Equipamento de acordo com as reivindicações 1 ou 2, caracterizado pelo fato de que o meio (504) para a determinação da primeira interferência introduzida, ou o meio (510) para o cálculo da segunda interferência introduzida está configurado para quantizar usando uma dimensão de etapa quantizadora, para re-quantizar usando a dimensão de etapa quantizadora, e para calcular uma distância entre o sinal re-quantizado e o sinal, de maneira a obter a interferência introduzida.Equipment according to claim 1 or 2, characterized in that the means (504) for determining the first introduced interference, or the means (510) for calculating the second introduced interference is configured to quantize using a dimension quantizer step, to re-quantize using the quantizer step dimension, and to calculate a distance between the re-quantized signal and the signal, in order to obtain the introduced interference. 4/54/5 - ERRO COM QUANTIZAÇÃO DE 4 ESTÁGIOS (QU. FINA)- ERROR WITH QUANTIZATION OF 4 STAGES (QU. FINA) 0,33 - 0,25 = 0,080.33 - 0.25 = 0.08 - ERRO COM QUANTIZAÇÃO DE 3 ESTÁGIOS (QU. GROSSA)- ERROR WITH QUANTIZATION OF 3 STAGES (QU. THICK) 0,33-0,33 = 0,000.33-0.33 = 0.00 Fig 4 • · •··· ·· ·· • * · · · · • · · · • · · » · · • ·«······Fig 4 • · · · · · · · · · · · · · · · · · · · · · · S1 *·· ·· ···» ·♦ • · · · ♦ · • · ····· · * « · · · · • · ♦ · ··.· *·* ·· »· ··S1 * ·· ·· ··· »· ♦ • · · · ♦ · • · ····· · *« · · · · • · ♦ · ··. · * · * ·· »··· 4?4? • · · · · * · • · · · • · · · · · • · · ·· · · · · · · · · · · · · · · · · · · · 4/4 quantizadora e um limite de interferência; determinar em (504) uma primeira interferência introduzida pela primeira dimensão de etapa quantizadora; comparar em (506) a interferência introduzida pela primeira dimensão de etapa quantizadora com o limite de interferência; selecionar em (508) uma segunda dimensão de etapa quantizadora que seja maior do que a primeira dimensão de etapa quantizadora, se a primeira interferência introduzida ultrapassar o limite de interferência; determinar em (510) uma segunda interferência introduzida pela segunda dimensão de etapa quantizadora; comparar em (512) a segunda interferência introduzida com o limite de interferência ou com a primeira interferência introduzida; quantizar em (514) o sinal com a segunda dimensão de etapa quantizadora, se a segunda interferência introduzida for menor que a primeira interferência introduzida ou for menor que o limite de interferência.4/4 quantizer and an interference limit; determine in (504) a first interference introduced by the first dimension of the quantizer stage; compare (506) the interference introduced by the first dimension of the quantizing step with the interference limit; select (508) a second dimension of a quantizing step that is greater than the first dimension of a quantizing step, if the first interference introduced exceeds the interference limit; determine in (510) a second interference introduced by the second dimension of a quantizing step; compare (512) the second interference introduced with the interference limit or with the first interference introduced; quantize in (514) the signal with the second dimension of quantizing step, if the second interference introduced is less than the first interference introduced or is less than the interference limit. Petição 870180051055, de 14/06/2018, pág. 10/10Petition 870180051055, of 06/14/2018, p. 10/10 4. Equipamento de acordo com qualquer das reivindicações anteriores, caracterizado pelo fato de que o meio (502) para o provimento da primeira dimensão de etapa quantizadora está configurado para calcular a dimensão de etapa quantizadora de acordo com a seguinte equação:4. Equipment according to any of the preceding claims, characterized by the fact that the means (502) for providing the first dimension of the quantizing step is configured to calculate the dimension of the quantizing step according to the following equation: ,2a2a Υ|Δχ |2«-í__Vx: ν' 12a2Υ | Δχ | 2 «-í__Vx : ν '12a 2 ' 5/55/5 QUANTIZADOQUANTIZED Fig 5Fig 5

Family

ID=

Similar Documents

Publication Publication Date Title
KR100852481B1 (en) Device and method for determining a quantiser step size
KR100852482B1 (en) Method and apparatus for determining an estimate
CA2877161C (en) Linear prediction based audio coding using improved probability distribution estimation
JP6494741B2 (en) Encoding apparatus, decoding apparatus, system and method for encoding and decoding
CA2899072C (en) Apparatus and method for generating a frequency enhanced signal using shaping of the enhancement signal
WO2014118171A1 (en) Low-complexity tonality-adaptive audio signal quantization
BRPI0507229B1 (en) EQUIPMENT AND METHOD FOR DETERMINING THE QUANTIZATION STEP DIMENSION
WO2014198726A1 (en) Apparatus and method for audio signal envelope encoding, processing and decoding by modelling a cumulative sum representation employing distribution quantization and coding
WO2023285630A1 (en) Integral band-wise parametric audio coding
MXPA06009932A (en) Device and method for determining a quantiser step size
MXPA06009934A (en) Device and method for determining an estimated value