JP2893691B2 - Digital signal processor - Google Patents

Digital signal processor

Info

Publication number
JP2893691B2
JP2893691B2 JP63298777A JP29877788A JP2893691B2 JP 2893691 B2 JP2893691 B2 JP 2893691B2 JP 63298777 A JP63298777 A JP 63298777A JP 29877788 A JP29877788 A JP 29877788A JP 2893691 B2 JP2893691 B2 JP 2893691B2
Authority
JP
Japan
Prior art keywords
data
value
requantization
filter
threshold
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP63298777A
Other languages
Japanese (ja)
Other versions
JPH02143712A (en
Inventor
直人 岩橋
健三 赤桐
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sony Corp
Original Assignee
Sony Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sony Corp filed Critical Sony Corp
Priority to JP63298777A priority Critical patent/JP2893691B2/en
Publication of JPH02143712A publication Critical patent/JPH02143712A/en
Application granted granted Critical
Publication of JP2893691B2 publication Critical patent/JP2893691B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Description

【発明の詳細な説明】 以下の順序で本発明を説明する。DETAILED DESCRIPTION OF THE INVENTION The present invention will be described in the following order.

A産業上の利用分野 B発明の概要 C従来の技術(第3図) D発明が解決しようとする問題点(第3図) E問題点を解決するための手段(第1図) F作用(第1図) G実施例(第1図及び第2図) (G1)最適量子化の原理 (G2)第1の実施例(第1図及び第2図) (G3)他の実施例 H発明の効果 A産業上の利用分野 本発明はデイジタル信号処理装置に関し、例えばオー
デイオ信号等を高品質で記録、再生、伝送するようにな
されたデイジタル信号処理装置に適用して好適なもので
ある。
A Industrial application field B Outline of the invention C Conventional technology (Fig. 3) D Problems to be solved by the invention (Fig. 3) E Means for solving the problems (Fig. 1) F function ( (Fig. 1) G embodiment (Figs. 1 and 2) (G1) Principle of optimal quantization (G2) First embodiment (Figs. 1 and 2) (G3) Other embodiments H invention BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a digital signal processing device, and is suitably applied to, for example, a digital signal processing device configured to record, reproduce, and transmit an audio signal or the like with high quality.

B発明の概要 本発明は、デイジタル信号処理装置において、所定期
間毎に、最適な量子化値及びしきい値を選定して入力信
号を量子化することにより、量子化誤差を低減すること
ができる。
B. Summary of the Invention The present invention can reduce a quantization error in a digital signal processing device by quantizing an input signal by selecting an optimal quantization value and a threshold value at predetermined intervals. .

C従来の技術 従来、この種のデイジタル信号処理装置においては、
適応予測符号化法(adaptive predictive coding:APC)
の手法を用いてオーデイオ信号を符号化して伝送するこ
とにより、S/N比、明瞭度等の劣化を未然に防止して高
い伝送効率で伝送するようになされたものがある(特開
昭59−223033号公報、特開昭60−223034号公報、特開昭
61−158217号公報、特開昭61−158218号公報、特願昭63
−46595号、特願昭63−61724号、特願昭63−61725号、
特願昭63−65192号)。
C Conventional technology Conventionally, in this kind of digital signal processing device,
Adaptive predictive coding (APC)
There is a method in which an audio signal is encoded and transmitted by using the method of (1), thereby preventing deterioration of the S / N ratio, intelligibility and the like beforehand and transmitting the signal with high transmission efficiency (Japanese Patent Laid-Open No. 59-1984). JP-A-223033, JP-A-60-223034, JP-A
No. 61-158217, JP-A-61-158218, Japanese Patent Application No. 63
-46595, Japanese Patent Application No. 63-61724, Japanese Patent Application No. 63-61725,
Japanese Patent Application No. 63-65192).

すなわち、所定の予測化フイルタに入力デイジタル信
号を受け、当該予測化フイルタの出力信号の入力デイジ
タル信号との差信号でなる残差信号を得る。
That is, a predetermined prediction filter receives an input digital signal, and obtains a residual signal which is a difference signal between the output signal of the prediction filter and the input digital signal.

このとき、入力デイジタル信号を所定期間ごとにブロ
ツク化し、各ブロツクごとに線型予測分析(linear pre
dictive coding:LPC)の手法を適用して予測化フイルタ
の周波数特性を切り換えることにより、残差信号が小さ
くなるようにする。
At this time, the input digital signal is blocked at predetermined intervals, and a linear prediction analysis (linear pre-
The residual signal is reduced by switching the frequency characteristic of the prediction filter by applying the technique of dictive coding (LPC).

さらに第3図に示すように、各ブロツクBL1、BL2、…
…、の残差信号SZ1(第3図(A))の最大値に応じ
て、残差信号SZ1をビツトシフトした後、最上位ビツト
から例えば2ビツトのデータを伝送する。
Further, as shown in FIG. 3, each block BL1, BL2,.
..., in response to the maximum value of the residual signal S Z1 (FIG. 3 (A)), after Bitsutoshifuto the residual signal S Z1, to transmit data from the most significant bit for example 2 bits.

従つて各ブロツクごとに量子化値y0、y1、y2、y3(第
3図(B))が切り換えられ、これにより伝送するデー
タのダイナミツクレンジを切り換えて残差信号SZ1を再
量子化する。
Accordingly, the quantized values y 0 , y 1 , y 2 , y 3 (FIG. 3B) are switched for each block, whereby the dynamic range of the data to be transmitted is switched and the residual signal S Z1 is changed. Requantize.

かくして当該残差信号を再量子化して、再量子化され
た残差信号を予測化フイルタの係数(すなわち予測化フ
イルタの周波数特性を表す)及びビツトシフト量と共に
伝送することにより、入力デイジタル信号を直接伝送す
る場合に比して、入力デイジタル信号を高い伝送効率で
伝送することができ、併せてS/N比、明瞭度等の劣化を
未然に防止し得る。
Thus, by requantizing the residual signal and transmitting the requantized residual signal together with the coefficients of the predictive filter (ie, representing the frequency characteristics of the predictive filter) and the amount of bit shift, the input digital signal can be directly converted. The input digital signal can be transmitted with higher transmission efficiency than in the case of transmission, and the deterioration of the S / N ratio, clarity, and the like can be prevented beforehand.

D発明が解決しようとする問題点 ところで、この種のデイジタル信号処理装置において
は、再量子化の際に誤差の発生を避け得ず、このため伝
送側で復号した際にこの誤差分が雑音成分として重畳さ
れることを避け得ない。
D Problems to be Solved by the Invention By the way, in this kind of digital signal processing device, an error cannot be avoided at the time of requantization, and therefore, when the signal is decoded on the transmission side, the error component becomes a noise component. Cannot be avoided.

従つて、この雑音成分(以下再量子化誤差と呼ぶ)を
抑圧することができれば、さらに高い品位で所望の入力
デイジタル信号を伝送し得ると考えられる。
Therefore, if this noise component (hereinafter referred to as requantization error) can be suppressed, it is considered that a desired input digital signal can be transmitted with higher quality.

本発明は、以上の点を考慮してなされたもので、従来
に比して再量子化誤差を抑圧し得るデイジタル信号処理
装置を提案しようとするものである。
The present invention has been made in view of the above points, and has as its object to propose a digital signal processing device capable of suppressing a requantization error as compared with the related art.

E問題点を解決するための手段 かかる問題点を解決するため本発明においては、入力
信号データSIを第1の予測化フイルタ2に与えることに
より得られる第1の予測化フイルタの出力データと入力
信号データSIとの残差データSZ1を得る予測誤差フイル
タ手段(2、3)と、残差データSZ1を再量子化して再
量子化データSLを得て、当該再量子化データSLを第1の
処理データとして出力する再量子化手段7と、再量子化
データSLと再量子化手段7の入力データとの差データを
第2の予測化フイルタ11を介して再量子化手段7の入力
端に再量子化誤差データSZ2としてフイードバツクする
再量子化誤差信号生成手段(8、10、11)と、入力信号
データSIに基づいて第1の期間ごとにブロツク化して各
ブロツクごとに第1及び第2の予測化フイルタ2、11に
対して予測化フイルタパラメータPPZを与えると共に、
当該予測化フイルタパラメータPPZを第2の処理データ
として出力する線型予測分析手段4と、残差データSZ1
に基づいて、当該残差データSZ1を第2の期間ごとにブ
ロツク化して、各ブロツクごとに再量子化手段7に対す
る最適量子化パラメータPQを生成すると共に、当該最適
量子化パラメータPQを第3の処理データとして出力する
最適量子化分析手段6とを具え、最適量子化分析手段6
は、次式 及び次式 の関係で表される再量子化のしきい値xj及び再量子化値
yjを、最適量子化パラメータPQとして生成する(ただ
し、xは再量子化する残差データSZ1のサンプル値、p
(x)はサンプル値xの確率分布、Mは再量子化値yj
数)ことにより、再量子化誤差データSZ2が最小になる
ようにすると共に、第1、第2及び第3の処理データに
基づいて処理結果データSL0を復号できるようにする。
In the present invention for solving means above problems to solve E problems, a first prediction of filter output data obtained by applying the input signal data S I to the first prediction of the filter 2 input signal data S I and prediction error filter means for obtaining a residual data S Z1 (2,3) of, with the re-quantized data S L and re-quantizes the residual data S Z1, the re-quantized data Re-quantizing means 7 for outputting S L as first processing data, and re-quantizing the difference data between the re-quantized data SL and the input data of the re-quantizing means 7 via a second predictive filter 11 a requantization error signal generating means (8, 10, 11) which fed back as a requantization error data S Z2 to the input terminal of the means 7, and blocks of each first period based on the input signal data S I A first and a second predictive filter 2 for each block, 11 and the predicted filter parameter P PZ is given.
A linear prediction analysis means 4 for outputting the predicted filter parameter P PZ as second processing data, and residual data S Z1
, The residual data S Z1 is blocked every second period to generate an optimal quantization parameter P Q for the requantizing means 7 for each block, and to generate the optimal quantization parameter P Q Optimal quantization analysis means 6 for outputting as third processing data.
Is And the following equation Threshold value xj and requantization value expressed by the relationship
y j is generated as an optimal quantization parameter P Q (where x is a sample value of the residual data S Z1 to be requantized, p
(X) is the probability distribution of the sample value x, M is the number of requantized values y j ), so that the requantized error data S Z2 is minimized, and the first, second, and third The processing result data SL0 can be decoded based on the processing data.

最適量子化分析手段として、しきい値の初期値xj
ら、次式 を解いて、順次再量子化値yj及びしきい値xjを得た後、
次式 の収束条件を調べ、当該収束条件を満足するとき、次式 y1=y1+Δ ……(2D) とおいて、(2A)及び(2B)式の演算を繰り返すことに
より、最適化された再量子化値yj及びしきい値xjを得る
ことにより、再量子化誤差データが最小になるように
し、これにより第3の処理データとしての最適量子化パ
ラメータを生成するものを用いる。
From the initial threshold value x j , And sequentially obtaining re-quantized values y j and threshold values x j ,
Next formula The convergence condition is examined, and when the convergence condition is satisfied, the following formula y 1 = y 1 + Δ... (2D) is repeated, and the operations of the formulas (2A) and (2B) are repeated, so that the optimized By obtaining the quantized value y j and the threshold value x j , the re-quantization error data is minimized, and the data that generates the optimum quantization parameter as the third processing data is used.

F作用 残差データSZ1を再量子化した再量子化データSLと、
第1及び第2の予測化フイルタ2、11に対して与える予
測化フイルタパラメータPPZと共に、所定期間ごとに最
適化された再量子化値及びしきい値でなる最適量子化パ
ラメータPQとを、処理データとして得るようにしたこと
により、従来に比して量子化の際に生じる量子化誤差を
低減することができ、かくして所望の入力信号を高い品
位で量子化することができるデイジタル信号処理装置を
得ることができる。
F action: requantized data S L obtained by requantizing residual data S Z1 ,
Along with the predicted filter parameter P PZ given to the first and second predicted filters 2 and 11, a re-quantized value optimized for each predetermined period and an optimal quantization parameter P Q consisting of a threshold value are obtained. Digital signal processing that can reduce quantization errors that occur at the time of quantization as compared with the prior art, and thus quantize desired input signals with high quality. A device can be obtained.

F作用 入力信号SZ1に基づいて、所定期間ごとに量子化値yj
及びしきい値xjを選定し、当該量子化値yj及びしきい値
xjに基づいて、入力信号SZ1を量子化するようにすれ
ば、量子化誤差を抑圧することができる。
F action Based on the input signal S Z1 , the quantization value y j
And the threshold value x j , and the quantization value y j and the threshold value
If the input signal S Z1 is quantized based on x j , the quantization error can be suppressed.

G実施例 (G1)最適量子化の原理 再量子化誤差εは、再量子化する入力信号の各サンプ
ル値をx、サンプル値xの確率分布をP(x)、再量子
化のしきい値をxj、再量子化値をyjとおくと、次式 で表される。
G Example (G1) Principle of Optimal Quantization The requantization error ε is x for each sample value of the input signal to be requantized, P (x) for the probability distribution of the sample value x, and a threshold value for requantization. Let x j be the requantized value and y j be It is represented by

ここで、Mは再量子化値yjの数を表す。Here, M represents the number of requantization values y j .

従つて、(1)式をそれぞれyj及びxjで微分して0と
おけば、次式 の関係が得られる。
Therefore, if the equation (1) is differentiated by y j and x j and set to 0, the following equation is obtained. Is obtained.

従つて、各ブロツクごとに(2)及び(3)式の関係
を満足するように、再量子化のしきい値xj及び再量子化
値をyjを選定すれば、再量子化誤差εが最小値になるよ
うに再量子化することができる(以下最適量子化と呼
ぶ)。
Therefore, if the re-quantization threshold x j and the re-quantization value y j are selected so as to satisfy the relations of equations (2) and (3) for each block, the re-quantization error ε Can be re-quantized so as to be the minimum value (hereinafter referred to as optimal quantization).

(G2)第1の実施例 第1図において、1は全体としてデイジタル信号処理
装置を示し、上述の最適量子化の原理に基づいて、各ブ
ロツクごとに再量子化のしきい値xj及び再量子化値yj
選定する。
(G2) in FIG. 1 a first embodiment, 1 indicates a digital signal processing device as a whole, based on the principle of the optimum quantization described above, and re-threshold x j requantization for each block Select the quantization value y j .

すなわちデイジタル信号処理装置1は、予測化フイル
タ2に16ビツトの入力デイジタルオーデイオ信号SIを与
え、減算器3を介して当該予測化フイルタ2の出力信号
と入力デイジタルオーデイオ信号SIとの差信号でなる残
差信号SZ1を得る。
That is, the digital signal processing device 1 supplies a 16-bit input digital audio signal S I to the prediction filter 2, and outputs a difference signal between the output signal of the prediction filter 2 and the input digital audio signal S I via the subtractor 3. Is obtained.

これに対してLPC分析回路4は、入力デイジタルオー
デイオ信号SIを20〔msec〕の区間ごとにブロツク化し、
各ブロツクごとに線型予測分析の手法を適用して、予測
化フイルタ2の周波数特性を切り換える予測化フイルタ
パラメータPPZを出力する。
This LPC analysis circuit 4 with respect is to block the input digital audio signal S I for each section of 20 [msec],
By applying a linear prediction analysis technique to each block, a prediction filter parameter P PZ for switching the frequency characteristics of the prediction filter 2 is output.

これにより、各ブロツクごとに残差信号SZ1の最大値
が最小になるように、予測化フイルタ2の周波数特性が
切り換えられるようになされている。
Thus, as the maximum value of the residual signal S Z1 for each block is minimized, are made as a frequency characteristic of the predictive of filter 2 is switched.

これに対して最適量子化分析器6は、残差信号SZ1
各ブロツクごとに、第2図に示すロイドマツクス(LIOY
D−MAX)の手法を適用した処理手順を実行し、これによ
り16ビツトの残差信号SZ1を2ビツトに再量子化する際
のしきい値xj及び再量子化値yjを選定する。
Optimal quantizer analyzer 6 on the other hand, for each block of the residual signal S Z1, Lloyd shown in FIG. 2 Matsukusu (LIOY
(D-MAX) method, thereby selecting a threshold value x j and a re-quantized value y j for re-quantizing the 16-bit residual signal S Z1 to 2 bits. .

すなわち最適量子化分析器6は、再量子化のしきい値
xj(j=0、1、2、3、4)を初期設定した後、ステ
ツプSP1からステツプSP2に移つて、第1の内部カウンタ
kを値1に設定し、続いてステツプSP3に移つて第2の
内部カウンタjを値1に設定する。
That is, the optimal quantization analyzer 6 calculates the threshold value of the requantization.
After initializing x j (j = 0, 1, 2, 3, 4), the process moves from step SP1 to step SP2, sets the first internal counter k to a value of 1, and then moves to step SP3. Set the second internal counter j to the value one.

ここで第1の内部カウンタkは、当該処理手順の繰り
返し処理数をカウントするために用いられ、第2の内部
カウンタjは、再量子化のしきい値xjの数をカウントす
るために用いられる。
Here, the first internal counter k is used to count the number of repetitions of the processing procedure, and the second internal counter j is used to count the number of re-quantization thresholds x j. Can be

続いて最適量子化分析器6は、ステツプSP4に移つて
第1の内部レジスタYを値0に設定すると共に、第3の
内部カウンタcを値0に設定した後、ステツプSP5に移
つて、第4の内部カウンタiを値0に設定する。
Subsequently, the optimal quantization analyzer 6 proceeds to step SP4 to set the first internal register Y to a value of 0, and sets the third internal counter c to a value of 0. 4 is set to a value 0.

ここで第4の内部カウンタiは、残差信号SZ1を構成
する1ブロツク内のサンプル数をカウントするために用
いられる。
Here fourth internal counter i of is used to count the number of samples in one block constituting the residual signal S Z1.

続いて最適量子化分析器6は、ステツプSP6に移つ
て、入力された残差信号SZ1のサンプル値x(i)(この場
合i=0でなる)が、しきい値xj-1からしきい値xjの間
(この場合しきい値x0からしきい値x1の範囲でなり、し
きい値x0=−∞、x4=∞でなる)に位置するか否か判断
し、ここで否定結果が得られると、ステツプSP7に移つ
て、第4の内部カウンタiを値1だけインクリメントす
る。
Subsequently, the optimal quantization analyzer 6 proceeds to step SP6, where the sample value x (i) (in this case, i = 0 ) of the input residual signal SZ1 is changed from the threshold value xj-1. during the threshold x j (in this case becomes the range of the threshold x 1 from the threshold x 0, threshold x 0 = -∞, consisting of x 4 = ∞) it is determined whether or not located in the If a negative result is obtained here, the process proceeds to step SP7, where the fourth internal counter i is incremented by one.

これに対して、ステツプSP6において肯定結果が得ら
れると、ステツプSP8に移つて、第1の内部レジスタY
にサンプル値x(i)を加算すると共に、第3の内部カウン
タcを値1だけインクリメントして、続くステツプSP7
に移る。
On the other hand, if a positive result is obtained in step SP6, the process proceeds to step SP8, where the first internal register Y is set.
In addition to adding the sample values x (i), increments the third internal counter c by the value 1, the following step SP7
Move on to

かくして第3の内部カウントcは、しきい値xj-1から
しきい値xjの間に位置するサンプル値x(i)の数をカウン
トする。
Thus the third internal count c counts the number of sample values x (i) located between the threshold x j-1 of the threshold x j.

続いて最適量子化分析器6は、ステツプSP9に移つ
て、第4の内部カウンタiの値がブロツク内のサンプル
数Nと一致するか否か判断し、この場合否定結果が得ら
れ、ステツプSP6に戻る。
Subsequently, the optimal quantization analyzer 6 proceeds to step SP9, and determines whether or not the value of the fourth internal counter i matches the number N of samples in the block. In this case, a negative result is obtained, and step SP6 is performed. Return to

従つて最適量子化分析器6は、ステツプSP6におい
て、サンプル値x(i)(i=0)に続くサンプル値x
(i)(i=1)について、しきい値x0からしきい値x1
範囲に位置するか否か判断する。
Accordingly, the optimal quantization analyzer 6 determines in step SP6 that the sample value x (i) (i = 0)
For (i) (i = 1) , it is determined whether or not the position of the threshold x 0 in a range of threshold x 1.

ここで肯定結果が得られるとステツプSP8において第
1の内部レジスタYに加算されると共に第3の内部カウ
ンタcがインクリメントされるのに対し、否定結果が得
られるとステツプSP7を経てステツプSP9に移る。
Here, if a positive result is obtained, the result is added to the first internal register Y and the third internal counter c is incremented in step SP8, whereas if a negative result is obtained, the process proceeds to step SP9 via step SP7. .

かくして、順次ステツプSP6−SP7−SP9−SP6又はステ
ツプSP6−SP8−SP7−SP9−SP6の処理ループLOOP1を繰り
返すことにより、しきい値x0からしきい値x1の範囲に位
置するサンプル値x(i)が第1の内部レジスタYに順次加
算されると共に加算されたサンプル値x(i)の数が第3の
内部カウンタcに格納される。
Thus, by repeating the sequential step SP6-SP7-SP9-SP6 or step SP6-SP8-SP7-SP9- SP6 processing loop LOOP1, the sample value x is located in the range of the threshold x 1 from the threshold x 0 (i) are sequentially added to the first internal register Y, and the number of sample values x (i) added is stored in the third internal counter c.

さらに、当該処理ループLOOP1が繰り返される度に、
第4の内部カウンタiの値が値1ずつインクリメントさ
れることから、全体でN回繰り返されるとステツプSP7
で第4の内部カウンタiの値が値Nに設定される。
Further, every time the processing loop LOOP1 is repeated,
Since the value of the fourth internal counter i is incremented by 1 each time, if the process is repeated N times in total, step SP7 is executed.
Sets the value of the fourth internal counter i to the value N.

従つてブロツク内のサンプルの数が値Nでなることか
ら、ブロツク内の全てのサンプル値x(i)について当該処
理ループLOOP1が繰り返されると、ステツプSP9において
肯定結果が得られ、最適量子化分析器6はステツプSP10
に移る。
Therefore, since the number of samples in the block is the value N, when the processing loop LOOP1 is repeated for all the sample values x (i) in the block, a positive result is obtained in step SP9, and the optimal quantization analysis is performed. Instrument 6 is step SP10
Move on to

かくして、当該処理ループLOOP1を繰り返すことによ
り、次式 の演算処理を実行するようになされている。
Thus, by repeating the processing loop LOOP1, the following equation is obtained. Is executed.

続いてステツプSP10において最適量子化分析器6は、
第1の内部レジスタYの値及び第3の内部カウンタcの
値に基づいて、次式 で表される第1の再量子化値y1を選定する。
Subsequently, in step SP10, the optimal quantization analyzer 6
Based on the value of the first internal register Y and the value of the third internal counter c, In selecting the first re-quantized values y 1 represented.

かくして、しきい値x0からしきい値x1の範囲に位置す
るサンプル値x(i)の和を得た後、その平均値を再量子化
値y1に設定することができ、これによりしきい値x0から
しきい値x1の範囲において、再量子化誤差εを最小にす
る再量子化値y1を選定することができる。
Thus, after obtaining the sum of the sample values x (i) is located in the range of the threshold x 1 from the threshold x 0, can set the average value to the re-quantized value y 1, thereby in the range from the threshold x 0 of the threshold x 1, the re-quantization error ε can be selected requantization values y 1 to a minimum.

最適量子化分析器6は、第1の再量子化値y1を所定の
レジスタ回路に格納した後、続いてステツプSP11に移つ
て、第2の内部カウンタjの値を値1だけインクリメン
トする。
After storing the first requantized value y1 in a predetermined register circuit, the optimum quantization analyzer 6 subsequently proceeds to step SP11 and increments the value of the second internal counter j by the value 1.

続いて、ステツプSP12に移つて、第2の内部カウンタ
jの値が再量子化値yjの数M(この場合2ビツトに再量
子化することからM=4でなる)と一致するか否か判断
し、この場合否定結果が得られてステツプSP4に戻る。
Subsequently, moves connexion to step SP 12, whether the value of the second internal counter j matches the number of requantization values y j M (made by M = 4 since the re-quantization in this case 2 bits) In this case, a negative result is obtained and the process returns to step SP4.

ここで最適量子化分析器6は、続いて第1の内部レジ
スタY及び第3の内部カウンタcを値0に設定した後、
ステツプSP5に移つて、第4の内部カウンタiを値0に
設定し、続いてテツプSP6に移つて、入力された残差信
号SZ1のサンプル値x(i)(i=0)が、しきい値x1から
しきい値x2の範囲に位置するか否か判断する。
Here, the optimal quantization analyzer 6 subsequently sets the first internal register Y and the third internal counter c to a value of 0,
Step SP5 to move connexion, a fourth of the internal counter i is set to 0, followed by transfer to Tetsupu SP6 in connexion, sample values x of the input residual signal S Z1 (i) (i = 0), the teeth from threshold x 1 determines whether located within the range of threshold x 2.

かくして、再び処理ループLPPO1が繰り返され、これ
によりしきい値x0からしきい値x1の間に第1の再量子化
値y1を選定した場合と同様に、しきい値x1からしきい値
x2の間のサンプル値x(i)が順次加算されて第1の内部レ
ジスタYに格納されると共に加算されたサンプル値x(i)
の数が第3の内部カウンタcに格納される。
Thus, the processing loop LPPO1 is repeated again, thereby similarly to the case of selecting the first re-quantized values y 1 between the threshold x 1 from the threshold x 0, threshold x 1 mustard Threshold
Sample values are summed with sample values x between x 2 (i) is stored in the first internal register Y is sequentially added x (i)
Is stored in the third internal counter c.

最適量子化分析器6は、ブロツク内の全てのサンプル
値x(i)について処理ループLOOP1が繰り返されると、ス
テツプSP10に移つて、次式 で表される第2の再量子化値y2を選定し、これによりし
きい値x1からしきい値x2の間に再量子化誤差εを最小に
する再量子化値y2を選定する。
When the processing loop LOOP1 is repeated for all the sample values x (i) in the block, the optimal quantization analyzer 6 proceeds to step SP10 and It represented the second selected requantization values y 2 is in, thereby selecting the re-quantized value y 2 for the re-quantization error ε to the minimum between the threshold x 1 threshold x 2 I do.

続いて最適量子化分析器6は、ステツプSP11で第2の
内部カウンタjをインクリメントした後、ステツプSP12
に移つて、第2の内部カウンタjの値が再量子化値yj
数Mと一致するか否か判断をする。
Subsequently, the optimum quantization analyzer 6 increments the second internal counter j in step SP11, and then, proceeds to step SP12.
Then, it is determined whether or not the value of the second internal counter j matches the number M of the requantized values y j .

かくして、ステツプSP12−SP4−SP5−LOOP1−SP10−S
P11−SP12の処理ループLOOP2を繰り返すことにより、順
次しきい値x0からしきい値x1、しきい値x1からしきい値
x2、しきい値x2からしきい値x3、しきい値x3からしきい
値x4間に再量子化誤差εを最小にする再量子化値yj(j
=1、2、3、4)を選定することができ、これにより
(3)式の一般式で表される再量子化値yjを選定するこ
とができる。
Thus, steps SP12-SP4-SP5-LOOP1-SP10-S
By repeating the processing loop LOOP2 of P11-SP 12, sequentially threshold x 1 from the threshold x 0, the threshold from the threshold x 1
x 2, threshold x 2 from the threshold x 3, threshold x 3 from the threshold x requantization values requantization error ε to the minimum between 4 y j (j
= 1, 2, 3, 4), whereby the requantized value y j represented by the general expression of the expression (3) can be selected.

これに対して、全てのしきい値xj間に再量子化値yj
選定されると、ステツプSP11において第2の内部カウン
タjの値が値Mにインクリメントされる。
On the other hand, when the requantized value y j is selected between all the threshold values x j , the value of the second internal counter j is incremented to the value M in step SP11.

従つて、この場合ステツプSP12において肯定結果が得
られ、最適量子化分析器6は、ステツプSP13に移る。
Therefore, in this case, a positive result is obtained in step SP12, and the optimum quantization analyzer 6 proceeds to step SP13.

ここで最適量子化分析器6は、再び第2の内部カウン
タjを値1に設定した後、ステツプSP14に移つて、再量
子化値yj及びyj+1(この場合j=1でなることから、再
量子化値y1及びy2でなる)について、次式 の関係で表される第2のしきい値x1を選定する。
Here, the optimal quantization analyzer 6 sets the second internal counter j to the value 1 again, and then proceeds to step SP14, where the requantized values y j and y j + 1 (in this case, j = 1) Therefore, for the requantized values y 1 and y 2 ), Selecting a second threshold x 1 represented by the relationship.

これにより、再量子化値y1及びy2間に(2)式の一般
式で表される第2のしきい値x1を選定することができ、
再量子化値y1及びy2間に再量子化誤差εを最小にする第
2のしきい値x1を選定することができる。
Thus, it is possible to select the second threshold value x 1 which is represented by the general formula (2) between the re-quantized value y 1 and y 2,
The requantization error ε can be selected second threshold x 1 to minimize between requantization values y 1 and y 2.

続いて最適量子化分析器6は、ステツプSP15に移つて
第2の内部カウンタjの値を値1だけインクリメントし
た後、ステツプSP16に移つて第2の内部カウンタjの値
が再量子化値yjの数M(M=4)と一致するか否か判断
する。
Subsequently, the optimal quantization analyzer 6 proceeds to step SP15 and increments the value of the second internal counter j by the value 1, and then proceeds to step SP16 to change the value of the second internal counter j to the requantized value y. It is determined whether or not the number matches j (M = 4).

この場合ステツプSP16においては、否定結果が得ら
れ、最適量子化分析器6は、ステツプSP14に戻る。
In this case, a negative result is obtained in step SP16, and the optimal quantization analyzer 6 returns to step SP14.

かくして、第2の内部カウンタjがインクリメントさ
れた後、当該ステツプSP14を繰り返すことにより、第2
のしきい値x1の場合と同様に、再量子化値y2及びy3間に
再量子化誤差εを最小にする第3のしきい値x2が選定さ
れる。
Thus, after the second internal counter j is incremented, by repeating the step SP14, the second
Of As with the threshold value x 1, third threshold x 2 for the re-quantization error ε to the minimum between requantization values y 2 and y 3 are selected.

従つて、ステツプSP14−SP15−SP16−SP14の処理ルー
プLOOP3を繰り返すことにより、再量子化値y1から再量
子化値y2、再量子化値y2から再量子化値y3、再量子化値
y3から再量子化値y4間にそれぞれ再量子化誤差εを最小
にするしきい値xj(j=1、2、3)を選定することが
できる。
Accordance connexion, step SP14-SP15-SP16-SP14 by repeating the processing loop LOOP3 of requantization values from the re-quantized value y 1 y 2, requantization values y 2 from the re-quantized values y 3, requantization Value
from y 3 requantization values y 4 between the requantization error ε respectively can be selected threshold x j (j = 1,2,3) be minimized.

これに対して、全ての再量子化値yj間にしきい値xj
選定されると、ステツプSP15において第2の内部カウン
タjの値が値Mにインクリメントされ、これによりステ
ツプSP16において肯定結果が得られ、最適量子化分析器
6は、ステツプSP17に移る。
On the other hand, when the threshold value x j is selected between all the requantized values y j , the value of the second internal counter j is incremented to the value M in step SP15, whereby the positive result is obtained in step SP16. Are obtained, and the optimal quantization analyzer 6 proceeds to step SP17.

ここで最適量子化分析器6は、第1の内部カウンタk
の値を値1だけインクリメントした後、ステツプSP18に
移つて第1の内部カウンタkの値が所定値5に一致する
か否か判断する。
Here, the optimal quantization analyzer 6 has a first internal counter k
Is incremented by 1 and the process proceeds to step SP18 to determine whether the value of the first internal counter k matches the predetermined value 5.

この場合、当該ステツプSP18において否定結果が得ら
れ、最適量子化分析器6は、ステツプSP3に戻る。
In this case, a negative result is obtained in step SP18, and the optimal quantization analyzer 6 returns to step SP3.

従つて最適量子化分析器6は、再びステツプSP3の処
理手順を実行した後、処理ループLOOP2を繰り返し、こ
れにより初期化されたしきい値に代えて、処理ループLO
OP3を繰り返して選定されたしきい値xj間に、再度再量
子化誤差εを最小にする再量子化値yjを選定する。
Therefore, the optimal quantization analyzer 6 repeats the processing procedure of step SP3 and thereafter repeats the processing loop LOOP2, thereby replacing the initialized threshold with the processing loop LOOP.
OP3 between repeatedly selected threshold x j a, selecting a re-quantized values y j that minimizes the re-quantization error ε again.

続いて再量子化値yjが再選定されると、最適量子化分
析器6はステツプSP13の処理手順を実行した後、処理ル
ープLOOP3を繰り返し、これにより再選定された再量子
化値yj間に、再量子化誤差εを最小にするしきい値xj
再設定し、ステツプSP17に移る。
Subsequently, when the re-quantized value y j is re-selected, the optimal quantization analyzer 6 executes the processing procedure of step SP13 and then repeats the processing loop LOOP3, thereby re-selecting the re-quantized value y j during the re-quantization error ε reconfigure the threshold x j that minimizes, proceeds to step SP17.

かくして、第1の内部カウンタkの値が所定値5に一
致するまで、ステツプSP18−SP3−LOOP2−SP13−LOOP3
−SP17−SP18の処理ループLOOP4が繰り返され、これに
より再量子化処理全体の再量子化誤差を収束させるよう
な、交互に再量子化値yj及びしきい値xjが選定される。
Thus, steps SP18-SP3-LOOP2-SP13-LOOP3 are performed until the value of the first internal counter k matches the predetermined value 5.
Processing loop LOOP4 of -SP17-SP18 is repeated, thereby as to converge the requantization error of the entire re-quantization process, re-quantized value y j and threshold x j are selected alternately.

これに対して、処理ループLOOP4が5回繰り返される
と、ステツプSP18で肯定結果が得られ、最適量子化分析
器6はステツプSP19に移つて当該処理手順を終了し、こ
れにより最適化した再量子化値yj及びしきい値xjが選定
される。
On the other hand, if the processing loop LOOP4 is repeated five times, a positive result is obtained in step SP18, and the optimal quantization analyzer 6 proceeds to step SP19 and ends the processing procedure, thereby optimizing the requantization. A threshold value y j and a threshold value x j are selected.

実際上、当該処理ループLOOP4を5回繰り返すように
すれば、再量子化処理全体の再量子化誤差を必要上十分
な範囲で最適化することができ、かくして従来に比して
再量子化誤差を低減することができる。
Actually, if the processing loop LOOP4 is repeated five times, the requantization error of the entire requantization process can be optimized within a necessary and sufficient range. Can be reduced.

さらに最適量子化分析器6は、続くブロツクにおいて
初期化されたしきい値に代えて、直前のブロツクで最適
化されたしきい値xjを用いて、当該処理手順を繰り返す
ようになされている。
Optimal quantizer analyzer 6 further includes, in place of the initialized threshold in subsequent block, using the optimized threshold x j in the previous block, it has been made to repeat the processing procedure .

この場合、オーデイオ信号においては、各ブロツク間
に相関があり、全のブロツクで最適化されたしきい値xj
を初期値として用いることにより、処理ループLOOP4の
繰り返し数を5回程度に小さくても、最適化された再量
子化値yj及びしきい値xjを得ることができる。
In this case, in the audio signal, there is a correlation between each block, and the threshold value x j optimized for all the blocks is used.
Is used as an initial value, an optimized requantized value y j and threshold value x j can be obtained even when the number of repetitions of the processing loop LOOP4 is as small as about five.

従つてその分、全体として短時間の内に最適化された
再量子化値yj及びしきい値xjを得ることができることか
ら、再量子化処理を簡略化することができる。
Accordance connexion that amount, since it is possible to obtain an optimized re-quantized values y j and threshold x j in a short time as a whole, requantization process can be simplified.

さらに最適量子化分析器6は、各ブロツクごとに、最
適化された再量子化値yj及びしきい値xjを最適量子化パ
ラメータPQとして再量子化器7及び逆再量子化器8に出
力すると共に、伝送対象の逆再量子化器9に出力する。
Further optimization quantizer analyzer 6, for each block, optimized re-quantized values y j and the quantizer 7 and the inverse requantizer threshold x j as the optimal quantization parameter P Q 8 And to the inverse requantizer 9 to be transmitted.

再量子化器7は、最適量子化パラメータPQに基づい
て、最適化された再量子化値yj及びしきい値xjで残差信
号SZ1を再量子化し、その結果得られる2ビツトの再量
子化信号SLを伝送対象に出力する。
The re-quantizer 7 re-quantizes the residual signal S Z1 with the optimized re-quantized value y j and threshold value x j based on the optimal quantization parameter P Q , and obtains the resulting two bits. and outputs the re-quantized signal S L of the transmission target.

これに対して、逆再量子化器8は最適量子化パラメー
タPQに基づいて再量子化信号SLを復号する。
In contrast, the inverse requantizer 8 decodes the re-quantized signal S L based on the optimal quantization parameter P Q.

減算器10は、逆再量子化器8の出力信号及び残差信号
SZ1の差信号を得ることにより、再量子化誤差信号SZ2
得、当該再量子化誤差信号SZ2を予測化フイルタ11に出
力する。
The subtracter 10 outputs the output signal of the inverse requantizer 8 and the residual signal.
By obtaining the difference signal of S Z1 , the re-quantization error signal S Z2 is obtained, and the re-quantization error signal S Z2 is output to the prediction filter 11.

予測化フイルタ11は、予測化フイルタパラメータPPZ
に応じて、予測化フイルタ2と同一の周波数特性に切り
換わり、再量子換誤差信号SZ2の周波数特性を補正した
後、減算器12を介して再量子化器7に帰還するようにな
されている。
The prediction filter 11 has a prediction filter parameter P PZ
Depending on the switches to the same frequency characteristics and prediction of filter 2, after the frequency characteristic of the requantization換誤difference signal S Z2 corrected, adapted to return to the re-quantizer 7 via the subtractor 12 I have.

これにより、再量子化誤差信号SZ2のスペクトラム形
状においては、エネルギが最小の平坦なスペクトラム形
状に補正される。
As a result, the spectrum shape of the requantization error signal SZ2 is corrected to a flat spectrum shape with the minimum energy.

これに対して伝送対象においては、逆再量子化器9で
再量子化信号SLを複号し、これにより2ビツトの再量子
化信号SLを再量子化前の残差信号SZ1に複号した後、減
算器14を介して予測化フイルタ15に出力する。
In transmission subject contrast, and decoding the re-quantized signal S L at opposite requantizer 9, thereby the two bits of the re-quantized signal S L requantization previous residual signal S Z1 After decoding, the signal is output to the prediction filter 15 via the subtractor 14.

予測化フイルタ15は、予測化フイルタパラメータPPZ
に応じて、予測化フイルタ2と同一の周波数特性に切り
換わり、逆再量子化器9の出力信号を減算器14に帰還す
ることにより、複号された残差信号SZ1をデイジタルオ
ーデイオ信号SL0に復号する。
The predictive filter 15 has a predictive filter parameter P PZ
Is switched to the same frequency characteristic as that of the prediction filter 2 and the output signal of the inverse requantizer 9 is fed back to the subtractor 14 so that the decoded residual signal S Z1 is converted to the digital audio signal S Decode to L0 .

かくして伝送対象に対して、2ビツトの再量子化信号
SLを順次伝送すると共に、各ブロツクごとに予測化フイ
ルタパラメータPPZ及び最適量子化パラメータPQを伝送
するだけで、16ビツトの入力デイジタルオーデイオ信号
SIを伝送することができる。
Thus, for the transmission target, a 2-bit requantized signal
By transmitting the S L sequentially and transmitting the prediction filter parameter P PZ and the optimum quantization parameter P Q for each block, the 16-bit input digital audio signal
It can transmit S I.

因にこの実施例において、再量子化器7、逆量子化器
8、減算器10及び12と予測化フイルタ11は、入力された
残差信号SZ1を最適化された再量子化値yj及びしきい値x
jで量子化する量子化器を構成する。
In this embodiment, the requantizer 7, the inverse quantizer 8, the subtracters 10 and 12, and the prediction filter 11 convert the input residual signal S Z1 into an optimized requantized value y j. And threshold x
Construct a quantizer that quantizes with j .

以上の構成によれば、ロイドマツクスの手法を適用し
て最適化された再量子化値yj及びしきい値xjを得、当該
最適化された再量子化値yj及びしきい値xjで残差信号S
Z1を再量子化することにより、各ブロツクごとに再量子
化誤差を抑圧し得、かくして従来に比して高い品位で入
力デイジタルオーデイオ信号S1を伝送することができ
る。
According to the above configuration, to obtain a re-quantized value y j and threshold x j optimized by applying the technique of Lloyd Matsukusu, the optimized re-quantized values y j and the threshold x j is the residual signal S
By re-quantizing the Z1, resulting suppresses the requantization errors for each block, thus it is possible to transmit the input digital audio signals S 1 at a higher than conventional quality.

(G3)他の実施例 なお上述に実施例においては、ロイドマツクスの手法
を適用して最適化された再量子化値yj及びしきい値xj
得る場合について述べたが、本発明はこれに限らず、例
えばマツクス(MAX)の手法、パンテルデイツテ(PANTE
R−DITE)の手法、スミス(SMITH)の手法等種々の手法
を広く適用することができる。
(G3) Other Embodiments In the embodiments described above, the case where the requantized value y j and the threshold value x j optimized by applying the Lloyd-Mux method are described. Not limited to this, for example, the method of Matsukusu (MAX),
Various techniques such as the technique of R-DITE and the technique of Smith (SMITH) can be widely applied.

この場合例えばマツクスの手法を適用する場合、しき
い値の初期値xjから、次式 を解いて、順次再量子化値yj及びしきい値xjを得た後、
次式 の収束条件を調べ、ここで当該収束条件を満足すると
き、次式 y1=y1+Δ ……(11) とおいて、(8)及び(9)式を繰り返すことにより、
最適化された再量子化値yj及びしきい値xjを得ることが
できる。
In this case, for example, when the Matsukus method is applied, the following expression is obtained from the initial threshold value x j And sequentially obtaining re-quantized values y j and threshold values x j ,
Next formula The convergence condition is examined, and when the convergence condition is satisfied, the following expression y 1 = y 1 + Δ (11) is performed, and the expressions (8) and (9) are repeated.
An optimized requantization value y j and threshold value x j can be obtained.

ここで、δ及びΔは適当な微小量でなる。 Here, δ and Δ are appropriate minute amounts.

さらに上述の実施例においては、16ビツトの入力デイ
ジタルオーデイオ信号SIを2ビツトの再量子化信号に再
量子化して伝送する場合について述べたが、本発明はこ
れに限らず、種々のビツト量、種々の入力デイジタル信
号を、所望ビツトの再量子化信号に再量子化する場合に
広く適用することができる。
Further, in the aforementioned embodiments, 16 has described the case where the input digital audio signal S I of the bit and transmits the re-quantized to requantization signal 2 bits, the present invention is not limited thereto, various bit amount The present invention can be widely applied to a case where various input digital signals are requantized into a requantized signal having a desired bit.

さらに上述の実施例においては、誤差が収束するよう
に順次再量子化値yj及びしきい値xjを再量子化選定した
場合について述べたが、本発明はこれに限らず、例えば
予め数種類の再量子化値yj及びしきい値xjを選定してお
き、この中から再量子化誤差が再も小さくなる再量子化
値yj及びしきい値xjを選定するようにしてもよい。
Further, in the above-described embodiment, a case has been described in which the requantization value y j and the threshold value x j are sequentially selected so as to converge the error. However, the present invention is not limited to this. leave selected requantization values y j and the threshold x j of, be selected requantization values y j and the threshold x j requantization error re is also reduced from this Good.

さらに上述の実施例においては、ブロツク化してLPC
分析した残差信号SZ1について、当該ブロツクごとに再
量子化値yj及びしきい値xjを選定する場合について述べ
たが、本発明はこれに限らず、LPC分析とは無関係に残
差信号をブロツク化し、再量子化値yj及びしきい値xj
選定するようにしてもよい。
Further, in the above embodiment, LPC
The case where the requantized value y j and the threshold value x j are selected for each block with respect to the analyzed residual signal S Z1 has been described, but the present invention is not limited thereto, and the residual signal is independent of the LPC analysis. to block the signal may be selected to re-quantized value y j and the threshold x j.

さらに上述の実施例においては、デイジタル信号を伝
送する場合について述べたが、本発明はデイジタル信号
を伝送する場合に限らず、所望のデイジタル信号を記録
再生する場合等に広く適用することができる。
Further, in the above-described embodiment, the case of transmitting a digital signal has been described. However, the present invention is not limited to the case of transmitting a digital signal, but can be widely applied to the case of recording and reproducing a desired digital signal.

H発明の効果 上述のように本発明によれば、残差データを再量子化
した再量子化データと、第1及び第2の予測化フイルタ
に対して与える予測化フイルタパラメータと共に、所定
期間ごとに最適化された再量子化値及びしきい値でなる
最適量子化パラメータとを、伝送データとして得るよう
にしたことにより、従来に比して量子化の際に生じる量
子化誤差を低減することができ、かくして所望の入力信
号を高い品位で量子化することができるデイジタル信号
処理装置を得ることができる。
H Advantageous Effects of the Invention As described above, according to the present invention, the re-quantized data obtained by re-quantizing the residual data, the predicted filter parameters given to the first and second predicted filters, By obtaining, as transmission data, a requantization value optimized in accordance with the above and an optimal quantization parameter consisting of a threshold value, it is possible to reduce a quantization error generated at the time of quantization as compared with the related art. Thus, a digital signal processing device capable of quantizing a desired input signal with high quality can be obtained.

【図面の簡単な説明】[Brief description of the drawings]

第1図は本発明によるデイジタル信号処理装置を示すブ
ロツク図、第2図はその動作の説明に供するフローチャ
ート、第3図は従来の再量子化の説明に供する信号波形
図である。 1……デイジタル信号処理装置、2、11、15……予測化
フイルタ、4……LPC分析回路、6……最適量子化分析
器、7……再量子化器、8、9……逆再量子化器。
FIG. 1 is a block diagram showing a digital signal processing apparatus according to the present invention, FIG. 2 is a flowchart for explaining its operation, and FIG. 3 is a signal waveform diagram for explaining conventional requantization. DESCRIPTION OF SYMBOLS 1 ... Digital signal processing apparatus, 2, 11, 15 ... Predictive filter, 4 ... LPC analysis circuit, 6 ... Optimal quantization analyzer, 7 ... Requantizer, 8, 9 ... Reverse Quantizer.

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.6,DB名) H03M 7/32 - 7/38 ──────────────────────────────────────────────────続 き Continued on front page (58) Field surveyed (Int.Cl. 6 , DB name) H03M 7/32-7/38

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】入力信号データを第1の予測化フイルタを
与えることにより得られる第1の予測化フイルタの出力
データと上記入力信号データとの残差データを得る予測
誤差フイルタ手段と、 上記残差データを再量子化して再量子化データを得て、
当該再量子化データを第1の処理データとして出力する
再量子化手段と、 上記再量子化データと上記再量子化手段の入力データと
の差データを第2の予測化フイルタを介して上記再量子
化手段の入力端に再量子化誤差データとしてフイードバ
ツクする再量子化誤差信号生成手段と、 上記入力信号データに基づいて第1の期間ごとにブロツ
ク化して各ブロツクごとに上記第1及び第2の予測化フ
イルタに対して予測化フイルタパラメータを与えると共
に、当該予測化フイルタパラメータを第2の処理データ
として出力する線型予測分析手段と、 上記残差データに基づいて、当該残差データを第2の期
間ごとにブロツク化して、各ブロツクごとに上記再量子
化手段に対する最適量子化パラメータを生成すると共
に、当該最適量子化パラメータを第3の処理データとし
て出力する最適量子化分析手段と を具え、上記最適量子化分析手段は、次式 及び次式 の関係で表される再量子化のしきい値xj及び再量子化値
yjを、上記最適量子化パラメータとして生成する(ただ
し、xは再量子化する残差データのサンプル値、p
(x)はサンプル値xの確率分布、Mは再量子化値yj
数)ことにより、上記再量子化誤差データが最小になる
ようにすると共に、上記第1、第2及び第3の処理デー
タに基づいて処理結果データを復号できるようにしたこ
とを特徴とするデイジタル信号処理装置。
1. A prediction error filter means for obtaining residual data between output data of a first predictive filter obtained by providing input signal data to a first predictive filter and said input signal data; Requantize the difference data to get requantized data,
Re-quantizing means for outputting the re-quantized data as first processing data; and difference data between the re-quantized data and the input data of the re-quantizing means through the second predictive filter. A requantization error signal generating means for feeding back as requantization error data to an input terminal of the quantization means; and a block for each first period based on the input signal data, and the first and second blocks for each block. A linear prediction analysis means for providing a predicted filter parameter to the predicted filter and outputting the predicted filter parameter as second processing data; and converting the residual data to a second , And an optimal quantization parameter for the requantization means is generated for each block, and the optimal quantization parameter is Comprising an optimum quantization analyzing means for outputting a third process data, the optimum quantizing analysis means, the following equation And the following equation Threshold value xj and requantization value expressed by the relationship
y j is generated as the optimal quantization parameter (where x is a sample value of the residual data to be requantized, p
(X) is the probability distribution of the sample value x, M is the number of requantized values y j ) so that the requantized error data is minimized, and the first, second, and third A digital signal processing device characterized in that processing result data can be decoded based on processing data.
【請求項2】入力信号データの第1の予測化フイルタに
与えることにより得られる第1の予測化フイルタの出力
データと上記入力信号データとの残差データを得る予測
誤差フイルタ手段と、 上記残差データを再量子化して再量子化データを得て、
当該再量子化データを第1の処理データとして出力する
再量子化手段と、 上記再量子化データと上記再量子化手段の入力データと
の差データを第2の予測化フイルタを介して上記再量子
化手段の入力端に再量子化誤差データとしてフイードバ
ツクする再量子化誤差信号生成手段と、 上記入力信号データに基づいて第1の期間ごとにブロツ
ク化して各ブロツクごとに上記第1及び第2の予測化フ
イルタに対して予測化フイルタパラメータを与えると共
に、当該予測化フイルタパラメータを第2の処理データ
として出力する線型予測分析手段と、 上記残差データに基づいて、当該残差データを第2の期
間ごとにブロツク化して、各ブロツクごとに上記再量子
化手段に対する最適量子化パラメータを生成すると共
に、当該最適量子化パラメータを第3の処理データとし
て出力する最適量子化分析手段と を具え、上記最適量子化分析手段は、しきい値の初期値
xjから、次式 を解いて、順次再量子化値yj及びしきい値xjを得た後、
次式 の収束条件を調べ、当該収束条件を満足するとき、次式 y1=y1+Δ ……(2D) とおいて、(2A)及び(2B)式の演算を繰り返すことに
より、最適化された再量子化値yj及びしきい値xjを得る
ことにより、上記再量子化誤差データが最小になるよう
にすると共に、上記第1、第2及び第3の処理データに
基づいて処理結果データを復号できるようにしたことを
特徴とするデイジタル信号処理装置。
2. A prediction error filter means for obtaining residual data between output data of the first prediction filter obtained by providing input signal data to the first prediction filter and said input signal data; Requantize the difference data to get requantized data,
Re-quantizing means for outputting the re-quantized data as first processing data; and difference data between the re-quantized data and the input data of the re-quantizing means through the second predictive filter. A requantization error signal generating means for feeding back as requantization error data to an input terminal of the quantization means; and a block for each first period based on the input signal data, and the first and second blocks for each block. A linear prediction analysis means for providing a predicted filter parameter to the predicted filter and outputting the predicted filter parameter as second processing data; and converting the residual data to a second , And an optimal quantization parameter for the requantization means is generated for each block, and the optimal quantization parameter is Comprising an optimum quantization analyzing means for outputting a third process data, the optimum quantizing analysis means, threshold initial value of
From x j , the following equation And sequentially obtaining re-quantized values y j and threshold values x j ,
Next formula The convergence condition is examined, and when the convergence condition is satisfied, the following formula y 1 = y 1 + Δ... (2D) is repeated, and the operations of the formulas (2A) and (2B) are repeated, so that the optimized By obtaining the quantized value y j and the threshold value x j , the re-quantization error data is minimized, and the processing result data is calculated based on the first, second, and third processing data. A digital signal processing device characterized in that decoding is possible.
JP63298777A 1988-11-25 1988-11-25 Digital signal processor Expired - Fee Related JP2893691B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63298777A JP2893691B2 (en) 1988-11-25 1988-11-25 Digital signal processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63298777A JP2893691B2 (en) 1988-11-25 1988-11-25 Digital signal processor

Publications (2)

Publication Number Publication Date
JPH02143712A JPH02143712A (en) 1990-06-01
JP2893691B2 true JP2893691B2 (en) 1999-05-24

Family

ID=17864081

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63298777A Expired - Fee Related JP2893691B2 (en) 1988-11-25 1988-11-25 Digital signal processor

Country Status (1)

Country Link
JP (1) JP2893691B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9454974B2 (en) * 2006-07-31 2016-09-27 Qualcomm Incorporated Systems, methods, and apparatus for gain factor limiting
JP2010281965A (en) * 2009-06-03 2010-12-16 Sony Corp Quantization device, reproducing device, quantization method and program

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0738117B2 (en) * 1987-01-22 1995-04-26 日本電気株式会社 Multi-pulse encoder

Also Published As

Publication number Publication date
JPH02143712A (en) 1990-06-01

Similar Documents

Publication Publication Date Title
CA2262293C (en) Apparatus for encoding and apparatus for decoding speech and musical signals
US20210144503A1 (en) Methods and apparatus for decoding encoded hoa signals
EP0405584B1 (en) Gain-shape vector quantization apparatus
EP0768780B1 (en) Method and apparatus for wavelet based data compression having adaptive bit rate control for compression of digital audio or other sensory data
US4017849A (en) Apparatus for analog to digital conversion
US6198412B1 (en) Method and apparatus for reduced complexity entropy coding
US4811396A (en) Speech coding system
Noll A comparative study of various quantization schemes for speech encoding
EP0600642A2 (en) Method and apparatus for reducing correlated errors in subband coding systems with quantizers
RU2005137320A (en) METHOD AND DEVICE FOR QUANTIZATION OF AMPLIFICATION IN WIDE-BAND SPEECH CODING WITH VARIABLE BIT TRANSMISSION SPEED
EP0369682B1 (en) Efficient coding method and its decoding method
US7801732B2 (en) Audio codec system and audio signal encoding method using the same
EP0529556B1 (en) Vector-quatizing device
US6397176B1 (en) Fixed codebook structure including sub-codebooks
US5263119A (en) Gain-shape vector quantization method and apparatus
JP2893691B2 (en) Digital signal processor
JP2968666B2 (en) Image coding method and apparatus
JP2523286B2 (en) Speech encoding and decoding method
KR0138115B1 (en) Apparatus for processing digital signal
JP3067676B2 (en) Apparatus and method for predictive encoding of LSP
JP3299073B2 (en) Quantization device and quantization method
JP2699382B2 (en) Noise shaping method
JP2687368B2 (en) Differential encoder
JP2699388B2 (en) Noise shaping method
JP2551147B2 (en) Speech coding system

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees