JP3250367B2 - Encoded signal decoding method and apparatus - Google Patents

Encoded signal decoding method and apparatus

Info

Publication number
JP3250367B2
JP3250367B2 JP07709494A JP7709494A JP3250367B2 JP 3250367 B2 JP3250367 B2 JP 3250367B2 JP 07709494 A JP07709494 A JP 07709494A JP 7709494 A JP7709494 A JP 7709494A JP 3250367 B2 JP3250367 B2 JP 3250367B2
Authority
JP
Japan
Prior art keywords
data
error
byte
block
bit
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
JP07709494A
Other languages
Japanese (ja)
Other versions
JPH07288476A (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.)
Panasonic Corp
Panasonic Holdings Corp
Original Assignee
Panasonic Corp
Matsushita Electric Industrial Co Ltd
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 Panasonic Corp, Matsushita Electric Industrial Co Ltd filed Critical Panasonic Corp
Priority to JP07709494A priority Critical patent/JP3250367B2/en
Publication of JPH07288476A publication Critical patent/JPH07288476A/en
Application granted granted Critical
Publication of JP3250367B2 publication Critical patent/JP3250367B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、符号化信号復号化方法
に関し、例えば連続信号をデジタル化した入力データを
ビット圧縮してディスク状記録媒体に記録し、このディ
スク状記録媒体から上記ビット圧縮されたデータを再生
してビット伸張する事によって再生データを得るように
したディスク記録再生装置に適用される。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for decoding a coded signal, for example, by bit-compressing input data obtained by digitizing a continuous signal, recording the data on a disk-shaped recording medium, and performing bit compression from the disk-shaped recording medium. The present invention is applied to a disk recording / reproducing apparatus in which reproduced data is obtained by reproducing the data and expanding the bits.

【0002】[0002]

【従来の技術】近年、高能率符号化技術の進歩、発達に
伴い、音声、画像等のデジタル信号を高能率符号化する
技術がその適用分野を拡大していく時期を迎えている。
オーディオあるいは音声等の信号の高能率符号化の手法
においては、例えば、時間軸上のオーディオ信号を、複
数の周波数帯域にフィルターで分割して符号化する、帯
域分割符号化(サブ・バンド・コーディング:SBC)
等が挙げられ、また、時間軸上の信号を周波数軸上の信
号に変換(直行変換)して複数の周波数帯域に分割し、
各帯域毎に符号化する、変換符号化等を挙げることがで
きる。
2. Description of the Related Art In recent years, with the advancement and development of high-efficiency coding technology, it is time to expand the field of application of technology for high-efficiency coding of digital signals such as audio and video.
In a high-efficiency coding method of a signal such as audio or voice, for example, band division coding (sub-band coding) in which an audio signal on a time axis is divided into a plurality of frequency bands by a filter and coded. : SBC)
And the like. In addition, a signal on the time axis is converted into a signal on the frequency axis (orthogonal conversion) and divided into a plurality of frequency bands,
Transform coding, etc., which encodes each band.

【0003】また、上述の帯域分割符号化と変換符号化
とを組み合わせた高能率符号化の方法も考えられてお
り、この場合には、例えば、上記帯域分割符号化でいく
つか帯域に分割を行った後、その各帯域毎の信号を周波
数軸上の信号に直行変換し、この直交変換された各帯域
毎に符号化が行われる。
Further, a high-efficiency coding method combining the above-described band division coding and transform coding has been considered. In this case, for example, division into several bands by the above-mentioned band division coding is performed. After that, the signal for each band is orthogonally transformed into a signal on the frequency axis, and encoding is performed for each of the orthogonally transformed bands.

【0004】ここで、上述した帯域分割のためのフィル
タとしては、例えばQMFフィルタがあり、1976 R.E.C
rochier,Digital coding of speech in subbands,BellS
yst.Tech. J. Vol.55,No.8 1976 に述べられている。ま
た ICASSP 83,BOSTONPolyphase Quadrature filters-A
new subband coding techniqe, Joseph H.Rothweilerに
は等バンド幅のフィルタ分割手法が述べられている。次
に上述した直交変換としては、例えば、入力オーディオ
信号を所定時間単位(フレーム)でブロック化し、当該
ブロック毎にモディファイドDCT変換(MDCT)等
を行うことで時間軸を周波数軸に変換するようなものが
挙げられる。MDCTについては ICASSP 1987 Subband
/Transform Coding Using Filter Bank Designs Based
on TimeDomain Aliasing Cancellation, J.P.Princen,
A.B.Bradley, Univ. of SurreyRoyal Melbourne Inst.
of Tech. に述べられている。
Here, as a filter for the above-mentioned band division, for example, there is a QMF filter, and a 1976 REC
rochier, Digital coding of speech in subbands, BellS
yst.Tech. J. Vol.55, No.8 1976. Also ICASSP 83, BOSTON Polyphase Quadrature filters-A
New subband coding techniqe, Joseph H. Rothweiler, describes an equal-bandwidth filter partitioning technique. Next, as the above-described orthogonal transform, for example, an input audio signal is divided into blocks in a predetermined time unit (frame), and a time axis is converted to a frequency axis by performing a modified DCT transform (MDCT) or the like for each block. Things. ICASSP 1987 Subband for MDCT
/ Transform Coding Using Filter Bank Designs Based
on TimeDomain Aliasing Cancellation, JPPrincen,
ABBradley, Univ. Of SurreyRoyal Melbourne Inst.
of Tech.

【0005】さらに、周波数帯域分割された各周波数成
分を量子化する周波数分割幅としては、例えば人間の聴
覚心理特性等を利用した帯域分割が行われ、各帯域毎の
データを符号化する際には、各帯域毎に適応的なビット
割当による符号化が行われる。例えば、上記MDCT処
理されて得られたデータを上記ビット割当によって符号
化する際には、上記各ブロック毎のMDCTデータに対
して、適応的な割当ビット数で符号化が行われることに
なる。
[0005] Further, as a frequency division width for quantizing each frequency component obtained by dividing the frequency band, for example, band division using human psychoacoustic characteristics or the like is performed, and when encoding data for each band, Is subjected to encoding by adaptive bit allocation for each band. For example, when encoding the data obtained by the MDCT processing by the bit allocation, the MDCT data of each block is encoded with an adaptive number of allocated bits.

【0006】このような符号化手法によって作られた、
オーディオ信号の符号化データの例を図7に示す。図7
において、22は、一般に浮動小数点表記をした場合の
指数部に当たるスケール情報(スケールファクタ)であ
る。23は上記各ブロックに割り当てられたビット数を
示し、浮動小数点表記をした場合の仮数部の桁数に相当
する、割当ビット情報(ワードレングス)である。24
は上記各ブロックのスペクトル成分のデータで、浮動小
数点表記をした場合の仮数部に入るデータに当たるスペ
クトル情報(スペクトルデータ)である。スケール情報
22及び割当ビット数情報23は、入力されたスペクト
ルデータを複数の帯域(ブロック)に分割(例えば、5
2ブロックに分割して周波数の低いブロックからブロッ
ク0,ブロック1,・・・,ブロックn とする。)し
た場合、それぞれ各ブロック毎に1つずつ割り当てられ
る。
[0006] The encoding method is used to
FIG. 7 shows an example of encoded data of an audio signal. FIG.
, 22 is scale information (scale factor) generally corresponding to an exponent part in a floating-point notation. Reference numeral 23 denotes the number of bits allocated to each block, and is allocated bit information (word length) corresponding to the number of digits of the mantissa in floating-point notation. 24
Is spectral component data of each block, and is spectral information (spectral data) corresponding to data included in the mantissa when floating-point notation is used. The scale information 22 and the allocated bit number information 23 divide the input spectrum data into a plurality of bands (blocks) (for example, 5
The block is divided into two blocks, and blocks 0, 1, 2,... ), One is assigned to each block.

【0007】図8は、図7のスケールファクタ22とワ
ードレングス23とスペクトルデータ24を拡大したも
のであり、それぞれブロック0〜ブロックnのスケール
ファクタ22(1)〜22(3)、ブロック0〜ブロックnのワー
ドレングス23(1)〜23(3)、ブロック0〜ブロックnのス
ペクトルデータ24(1)〜24(3)となる。
FIG. 8 is an enlarged view of the scale factor 22, the word length 23 and the spectrum data 24 of FIG. 7, and the scale factors 22 (1) to 22 (3) of the blocks 0 to n and the blocks 0 to The word lengths 23 (1) to 23 (3) of the block n and the spectrum data 24 (1) to 24 (3) of the blocks 0 to n are obtained.

【0008】また、図7の符号化されたデータは、デー
タ内のエラー発生の有無を知るため、図4に示したよう
に、図7のようなデータストリームをある単位毎(本説
明では、1バイトを単位とする。)15(a)に分割し、各
バイトにエラーが含まれるかを示すエラーフラグ15(b)
をつけた構成とする。そのエラーフラグが1の時バイト
データ15(a)にエラーが含まれ、エラーフラグが0の時
バイトデータにエラーが含まれない事を示す。
Further, in order to know whether or not an error has occurred in the data, the encoded data shown in FIG. 7 is composed of a data stream as shown in FIG. It is divided into 15 (a), and an error flag 15 (b) indicating whether each byte contains an error.
The configuration is added. When the error flag is 1, an error is included in the byte data 15 (a), and when the error flag is 0, no error is included in the byte data.

【0009】図2は、上述したような符号化信号が入力
される従来の符号化信号復号化装置の構成を示してい
る。図2において、7は符号化信号復号化装置の入力端
子、8はデマルチプレクサ部、9は逆量子化部、10は
逆正規化部、11はIMDCT部、12はPCMオーデ
ィオデータ出力端子である。
FIG. 2 shows the configuration of a conventional coded signal decoding device to which the coded signal as described above is input. In FIG. 2, reference numeral 7 denotes an input terminal of the coded signal decoding device, 8 denotes a demultiplexer unit, 9 denotes an inverse quantization unit, 10 denotes an inverse normalization unit, 11 denotes an IMDCT unit, and 12 denotes a PCM audio data output terminal. .

【0010】次に、上記従来例の動作について説明す
る。図2において、入力端子7からの符号化信号はデマ
ルチプレクサ部8に入力され、スケールファクタ(例え
ば、図8の22(1)〜22(3)、割当ビット数(例えば、図8
の23(1)〜23(3))、スペクトルデータ(例えば、図8の
24(1)〜24(3))に分離される。
Next, the operation of the above conventional example will be described. 2, the coded signal from the input terminal 7 is input to the demultiplexer unit 8, where the scale factor (for example, 22 (1) to 22 (3) in FIG. 8 and the number of allocated bits (for example, FIG.
23 (1) to 23 (3)), spectrum data (for example, FIG.
24 (1) to 24 (3)).

【0011】逆量子化部9は割当ビット数とスペクトル
データからデータの逆量子化処理を行って、そのデータ
を逆正規化部10に出力する。
The inverse quantization unit 9 performs an inverse quantization process on the data based on the number of allocated bits and the spectrum data, and outputs the data to the inverse normalization unit 10.

【0012】逆正規化部10は、スケールファクタと逆
量子化部9の出力からデータの逆正規化を行い、図9の
ようなスペクトルデータに変換される。図9において、
D1〜D8は、スペクトルデータの周波数帯域毎の強度を表
し、このように逆正規化されたスペクトルデータ(周波
数軸上のデータ)として出力される。
The inverse normalizing section 10 performs inverse normalization of the data from the scale factor and the output of the inverse quantizing section 9 and converts the data into spectrum data as shown in FIG. In FIG.
D1 to D8 represent the intensities of the spectrum data for each frequency band, and are output as spectrum data (data on the frequency axis) thus denormalized.

【0013】IMDCT部11は、逆正規化されたスペ
クトルデータをIMDCT処理によって直交変換して時
間領域のデータにし、図10に示したように、例えば、
DC〜20KHzの周波数成分を含むPCMデジタルオ
ーディオ信号として、出力端子12に出力する。
The IMDCT unit 11 orthogonally transforms the denormalized spectrum data by IMDCT processing into data in a time domain, and as shown in FIG.
The signal is output to the output terminal 12 as a PCM digital audio signal including a frequency component of DC to 20 KHz.

【0014】このように、上記従来の符号化信号復号化
装置では、高能率符号化されたデータからデジタルオー
ディオ信号を復号する事ができる。
As described above, the conventional encoded signal decoding apparatus can decode a digital audio signal from highly efficient encoded data.

【0015】[0015]

【発明が解決しようとする課題】しかしながら、上記従
来の符号化信号復号化装置では、図7のような符号化デ
ータにエラーが発生していた場合に、上記のような逆量
子化を行う事ができなかったので、符号化信号の復号が
できず、本来復号されるべきPCMオーディオデータが
ミュートされるか又は、ノイズが発生するという問題が
あった。
However, the above-described conventional coded signal decoding apparatus performs the above-described inverse quantization when an error occurs in coded data as shown in FIG. Therefore, the encoded signal cannot be decoded, and the PCM audio data to be decoded is muted or noise occurs.

【0016】ここで、図3について、データストリーム
からスペクトルデータが抽出される場合の様子について
説明する。図3において、13(1)〜13(4)は入力されるデ
ータストリームをバイト単位に分割したものである。13
(1a)〜13(4a)は上記各バイトにエラーが含まれているか
否かを示すエラーフラグ(1でエラーが含まれ、0でエ
ラーが含まれない。)である。さらに、14(1)〜14(8)は
上記データストリームから2〜16ビットのワード長で
データを抽出したものであり、データ抽出用のバッファ
ーにByte(n−1)13(2)とByte(n)の2バ
イト分のデータがデータストリームから入力されていた
場合に、このバッファーから2〜16ビットのワード長
のデータを抽出する場合のバイトのまたがりのパターン
は8通りあり、14(5)や14(5)の用に3バイトにわたって
またがるデータもある。
Referring to FIG. 3, a case where spectrum data is extracted from a data stream will be described. In FIG. 3, 13 (1) to 13 (4) are obtained by dividing an input data stream into byte units. 13
(1a) to 13 (4a) are error flags (1 indicates an error, 0 indicates no error) indicating whether or not each byte contains an error. Further, 14 (1) to 14 (8) are obtained by extracting data with a word length of 2 to 16 bits from the data stream. Byte (n-1) 13 (2) and Byte (n-1) 13 (2) are stored in the data extraction buffer. When data of 2 bytes of (n) is input from the data stream, there are eight patterns of byte straddling when extracting data having a word length of 2 to 16 bits from this buffer. Some data spans 3 bytes for) and 14 (5).

【0017】このようなデータを抽出する際に、抽出さ
れるデータが含まれる各バイト毎のエラーの有無を確認
し、エラーが含まれる場合は該当データを0にするなど
の処理を行う。しかし、場合分けが8通りもあり、さら
に1つのデータを抽出する際に最大3バイト分のエラー
フラグを確認しなければならず、そのためには大規模な
ハードウェアを必要とし実現が困難であった。
When such data is extracted, it is checked whether or not there is an error for each byte including the extracted data, and if an error is included, processing such as setting the data to 0 is performed. However, there are eight cases, and when extracting one piece of data, it is necessary to check an error flag of up to three bytes, which requires large-scale hardware and is difficult to realize. Was.

【0018】本発明は、このような従来の問題を解決す
るものであり、従来の装置と同等の規模のハードウェア
で、高能率符号化信号にデータエラーが発生した場合で
も音質の劣化を最小限に抑えてデータの逆量子化処理を
し、オーディオ信号を復号できる優れた符号化信号復号
化装置を提供するものである。
The present invention solves such a conventional problem, and minimizes deterioration of sound quality even when a data error occurs in a highly efficient coded signal with hardware of the same scale as a conventional device. It is an object of the present invention to provide an excellent coded signal decoding device capable of performing an inverse quantization process on data and decoding an audio signal while limiting the number of data.

【0019】[0019]

【課題を解決するための手段】本発明は上記目的を達成
するために、逆量子化部で行われる逆量子化処理におい
て、抽出されるデータの最上位ビットが含まれるバイト
のエラーフラグのみを確認し、最上位バイトにエラーが
含まれているときのみ抽出されるデータを0にするよう
にしたものである。
According to the present invention, in order to achieve the above object, in an inverse quantization process performed by an inverse quantization unit, only an error flag of a byte including the most significant bit of data to be extracted is determined. After the confirmation, the data to be extracted is set to 0 only when the most significant byte contains an error.

【0020】[0020]

【作用】従って、本発明によれば、逆量子化するデータ
の最上位ビットが含まれるバイトのエラーの有無を調べ
ることによって、エラーがあった場合は逆量子化するデ
ータを0にすることができる。
Therefore, according to the present invention, by checking the presence or absence of an error in a byte containing the most significant bit of data to be dequantized, it is possible to set the data to be dequantized to 0 when an error occurs. it can.

【0021】また、抽出するデータの最上位バイト以外
のバイトにエラーがあった場合でも、最上位のデータが
エラーでないため、例えば、抽出データが8ビットで上
位バイトに7ビット含まれる場合、最下位の1ビットの
みのデータが不確定になるだけで、データの分解能が8
ビットから7ビットに落ちただけと同等になり、元のデ
ータの情報に近いデータに補間する事ができるという効
果を有する。
Even when an error occurs in a byte other than the most significant byte of the data to be extracted, the most significant data is not an error. For example, when the extracted data is 8 bits and the upper byte includes 7 bits, The data resolution is 8
This is equivalent to only dropping from 7 bits to 7 bits, and has the effect of being able to interpolate into data close to the information of the original data.

【0022】さらに、エラー有無の確認は、抽出するデ
ータの最上位ビットが含まれるバイトののみしか行わな
いため、エラーフラグの確認の回数とエラーパターンの
場合分けが減り、逆量子化部の処理を簡単なハードウェ
アで実現することができ、データにエラーが有った場合
の補間処理を行うための処理負荷を大幅に増やすこと無
しに、音質の劣化を最小限にできるという効果を有す
る。
Further, since the checking of the presence / absence of an error is performed only for the byte including the most significant bit of the data to be extracted, the number of times of checking the error flag and the classification of the error pattern are reduced, and the processing of the inverse quantization unit is reduced. Can be realized by simple hardware, and there is an effect that deterioration of sound quality can be minimized without greatly increasing a processing load for performing interpolation processing when data has an error.

【0023】[0023]

【実施例】図1は本発明の実施例を示すもので、図2の
逆量子化部9で行われる逆量子化処理を表すフローチャ
ートである。すなわち、本発明の実施例における符号化
信号復号化装置の構成は図2に示した従来の構成と同じ
であるが、その中で特に逆量子化部9における処理のし
かたに特徴を持たせたものである。図1の逆量子化処理
を説明する前に、まず、逆量子化部9に入力されるデー
タについて説明する。
FIG. 1 shows an embodiment of the present invention, and is a flowchart showing the inverse quantization process performed by the inverse quantization unit 9 in FIG. In other words, the configuration of the coded signal decoding apparatus in the embodiment of the present invention is the same as the conventional configuration shown in FIG. 2, but in particular, the method of processing in the inverse quantization unit 9 is characterized. Things. Before describing the inverse quantization processing of FIG. 1, data input to the inverse quantization unit 9 will be described first.

【0024】図5は、図2の逆量子化部9に入力される
スペクトルデータとスペクトルデータストリームの各バ
イトのエラーの有無を示すもので、割当ビット数の抽出
の様子を示すものである。図5において、16(1)〜16(4)
はスペクトルデータ・ストリームを分割したバイト(こ
こでは、エラー検出を行う際の単位をバイトとする。)
で、16(1a)〜16(4a)は上記バイトにエラーが含まれてい
るかの有無を示すエラーフラグである。ここで、エラー
フラグが1の場合は、該当バイトにエラーが含まれ、エ
ラーフラグが0の場合は、該当バイトにエラーが無いこ
とを示す。従って、バイトA(16(1)),バイトB(16
(2)),バイトD(16(4))はエラーの無いバイト、バイ
トCはエラーの含まれるバイトである。
FIG. 5 shows the presence / absence of an error in each byte of the spectrum data and the spectrum data stream input to the inverse quantization unit 9 in FIG. 2, and shows how the number of allocated bits is extracted. In FIG. 5, 16 (1) to 16 (4)
Is a byte obtained by dividing the spectrum data stream (in this case, a unit used for error detection is a byte)
Here, 16 (1a) to 16 (4a) are error flags indicating whether or not the byte contains an error. Here, when the error flag is 1, the corresponding byte includes an error, and when the error flag is 0, it indicates that there is no error in the corresponding byte. Therefore, byte A (16 (1)) and byte B (16 (1))
(2)), byte D (16 (4)) is an error-free byte, and byte C is an error-containing byte.

【0025】DATA(n-1)(17(1)),DATA(n)(17(2)),
DATA(n+1)(17(3))は、スペクトルデータストリームか
ら割当ビット数を抽出したデータで、18はDATA(n)(1
7(2))のバイトC(16(3))の部分にエラーが無かった
場合のオリジナルの値である。 次に、データの最上位
ビット(MSB) にエラーの無いDATA(n)(17(2))が逆量子
化される様子について、図1のフローチャートに従って
説明する。DATA(n)のMSBが含まれる、バイトB(16
(2))にエラーが無いので(ステップ1 )、ビット抽出
用バッファーに、抽出ビット数(この例の場合は8ビッ
ト)分のデータがあるかを確認する(ステップ2a)。
DATA (n-1) (17 (1)), DATA (n) (17 (2)),
DATA (n + 1) (17 (3)) is data obtained by extracting the number of allocated bits from the spectrum data stream, and 18 is DATA (n) (1
7 (2)) is the original value when there is no error in the byte C (16 (3)). Next, the manner in which DATA (n) (17 (2)) having no error in the most significant bit (MSB) of data is dequantized will be described with reference to the flowchart of FIG. Byte B (16 including the MSB of DATA (n)
Since there is no error in (2)) (step 1), it is checked whether there is data for the number of extracted bits (8 bits in this example) in the bit extraction buffer (step 2a).

【0026】しかし、バイトBからは8ビットのデータ
を抽出できないので、スペクトルデータストリームか
ら、次のバイトC(16(3))を入力する(ステップ3
a)。さらに、ビット抽出用バッファーに抽出ビット数
分のデータが入力されているかを確認する(ステップ4
a)。
However, since 8-bit data cannot be extracted from byte B, the next byte C (16 (3)) is input from the spectrum data stream (step 3).
a). Further, it is confirmed whether data for the number of extracted bits has been input to the bit extraction buffer (step 4).
a).

【0027】ここで、13ビットのデータがバッファー
にあるので、バイトBから5ビット、バイトCから3ビ
ットのデータを取り出して、DATA(n) が逆量子化される
(ステップ5 )。
Since 13-bit data is stored in the buffer, 5-bit data is extracted from byte B and 3-bit data is extracted from byte C, and DATA (n) is inversely quantized (step 5).

【0028】この場合、DATA(n) のMSB が含まれるバイ
トBにエラーが無いため、DATA(n)の下位ビット部であ
るバイトCにエラーがあっても、そのまま逆量子化され
る。
In this case, since there is no error in the byte B containing the MSB of DATA (n), even if there is an error in the byte C which is the lower bit part of DATA (n), it is inversely quantized.

【0029】さらに、データのMSB にエラーの含まれる
データDATA(n+1) が逆量子化される様子を、図1のフロ
ーチャートに従って説明する。DATA(n+1) のMSB が含ま
れるバイトCにエラーが含まれているかを確認する(ス
テップ1 )。抽出ビット数分(この場合は8ビット)の
データがビット抽出用バッファーにあるかを確認する
(ステップ2b)。ここで、バッファーには3ビットしか
残っていないので、スペクトルデータ・ストリームから
次のバイトDをバッファーに読み込む。
Further, how the data DATA (n + 1) containing an error in the MSB of the data is inversely quantized will be described with reference to the flowchart of FIG. It is checked whether an error is contained in the byte C containing the MSB of DATA (n + 1) (step 1). It is confirmed whether data of the number of extracted bits (8 bits in this case) is present in the bit extraction buffer (step 2b). Here, since only three bits remain in the buffer, the next byte D is read from the spectrum data stream into the buffer.

【0030】ビット抽出用バッファーには、13ビット
のデータがあるので次の処理に進むが、DATA(n+1) は、
MSB にエラーが含まれているので、抽出したビット数分
のデータを0として逆量子化する(ステップ6 )。
Since the bit extraction buffer has 13-bit data, the process proceeds to the next process.
Since the MSB contains an error, the data corresponding to the number of extracted bits is dequantized as 0 (step 6).

【0031】このようにして逆量子化処理が行われる
が、図6は、上記図5で抽出されたデータ DATA(n)(17
(2))を逆量子化した時の、処理方法の違いによる逆量
子化された値の違いを表す。
The inverse quantization process is performed as described above. FIG. 6 shows the data DATA (n) (17) extracted in FIG.
(2)) represents the difference in the inversely quantized value due to the difference in the processing method when inversely quantized.

【0032】DATA(n) は、最下位ビット(LSB) 側のバイ
トCに含まれる部分にエラーがあるため、真の値を復号
することはできないものである。19はDATA(n) にエラ
ーが無い場合、つまり真の逆量子化値を表し、20はDA
TA(n) のMSB が含まれるバイトBのみをエラーチェック
し、図1のフローチャートで示した方法で逆量子化した
値を表し、21はDATA(n) のLSB が含まれるバイトCに
エラーがあるため、DATA(n) をエラーとみなして抽出ビ
ット全てを0で補間した場合の値を表す。
DATA (n) cannot decode its true value because there is an error in the portion included in byte C on the least significant bit (LSB) side. Reference numeral 19 denotes a case where there is no error in DATA (n), that is, a true inverse quantization value.
Only the byte B containing the MSB of TA (n) is error-checked and represents a value dequantized by the method shown in the flow chart of FIG. 1, and 21 indicates an error in the byte C containing the LSB of DATA (n). Therefore, the value represents a case where DATA (n) is regarded as an error and all the extracted bits are interpolated with 0.

【0033】この例でもわかるように、逆量子化された
値はオリジナル19が65、ブロックBのみエラーチェッ
クした場合20が71、0で補間した場合21が0となり、
抽出するデータのMSB が含まれるバイトを生かすことに
より、LSB 側のデータにエラーがあっても真の値に近い
値とする事ができる。この例では本来8ビットのデータ
が5ビットの精度に落ちるだけですむのである。このこ
とは、MSB 側のバイトに含まれるビット数が多ければ多
いほど、真の値に近い値に補間できることを表す。
As can be seen from this example, the dequantized values are 65 for the original 19, 71 for the error check of block B only, 21 for 0, and 21 for 0 when the interpolation is performed.
By making use of the byte containing the MSB of the data to be extracted, it is possible to make the value close to the true value even if there is an error in the data on the LSB side. In this example, 8-bit data is only required to be reduced to 5-bit precision. This means that the more bits included in the byte on the MSB side, the closer to the true value can be interpolated.

【0034】[0034]

【発明の効果】本発明は上記説明から明らかなように、
以下に示す効果を有する。 (1)スペクトルデータの最上位ビットが含まれるバイ
トのエラーのみを調べ、そのバイトにエラーが無い場合
には最上位ビットが含まれるデータが生かされてデータ
が逆量子化されるため、逆量子化するスペクトルをエラ
ーとしてクリアする方法に比べオリジナルのデータとの
差異が少なく、特に上位ビットの含まれるバイトのビッ
ト数が多ければ多いほどオリジナルの値に近づけること
ができるという効果を有する。 (2)データの逆量子化を行う際に、スペクトルデータ
から抽出するデータのエラーの有無の確認を抽出ブロッ
クの最上位ビットが含まれるバイトのみを調べることに
よって行うため、抽出するデータが複数のバイトにまた
がる場合であってもエラーフラグを1回確認するだけで
逆量子化をすることができ、逆量子化部の処理を簡単に
し、ハードウェアの規模小さくでき、従来と同等のハー
ドウェア規模、処理速度で符号化信号復号化装置を実現
することができるという効果を有する。
According to the present invention, as is apparent from the above description,
It has the following effects. (1) Only the error of the byte containing the most significant bit of the spectrum data is checked. If there is no error in the byte, the data containing the most significant bit is utilized and the data is inversely quantized. Compared with the method of clearing the spectrum to be converted as an error, the difference from the original data is small, and in particular, there is an effect that the more the number of bytes of the byte including the upper bit is, the closer to the original value. (2) When performing inverse quantization of data, the presence or absence of an error in the data extracted from the spectrum data is checked by examining only the byte including the most significant bit of the extraction block. Even if it extends over bytes, inverse quantization can be performed only by checking the error flag once, which simplifies the processing of the inverse quantization unit, reduces the size of the hardware, and has the same hardware scale as before. This has the effect that the encoded signal decoding device can be realized at a high processing speed.

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

【図1】本発明の実施例における符号化信号復号化装置
の逆量子化部で行う逆量子化処理のフローチャート
FIG. 1 is a flowchart of an inverse quantization process performed by an inverse quantization unit of an encoded signal decoding device according to an embodiment of the present invention.

【図2】本発明の実施例および従来例の符号化信号復号
化装置の概略構成を示すブロック図
FIG. 2 is a block diagram showing a schematic configuration of an encoded signal decoding apparatus according to an embodiment of the present invention and a conventional example.

【図3】逆量子化時に発生するデータのエラーパターン
FIG. 3 is an error pattern diagram of data generated at the time of inverse quantization.

【図4】本装置に入力されるデータストリームをバイト
単位に区切って、各バイト毎のエラー検出フラグを付加
した説明図
FIG. 4 is an explanatory diagram in which a data stream input to the apparatus is divided into bytes and an error detection flag for each byte is added;

【図5】本発明の実施例におけるスペクトルデータ・ス
トリームの一部にエラーが発生した場合の逆量子化され
るデータの説明図
FIG. 5 is an explanatory diagram of data to be inversely quantized when an error occurs in a part of the spectrum data stream in the embodiment of the present invention.

【図6】上記図5で、逆量子化されたデータDATA(n) の
処理の違いによる値の違いを表した図
FIG. 6 is a diagram showing a difference in value due to a difference in processing of dequantized data DATA (n) in FIG.

【図7】本装置に入力される符号化信号の説明図FIG. 7 is an explanatory diagram of a coded signal input to the apparatus.

【図8】図7の符号化信号の拡大図FIG. 8 is an enlarged view of the encoded signal of FIG. 7;

【図9】符号化信号復号化装置の逆正規化後のスペクト
ルデータの強度を表すスペクトル図
FIG. 9 is a spectrum diagram showing the intensity of spectrum data after denormalization of the encoded signal decoding device.

【図10】符号化信号復号化装置のIMDCT部から出
力されるPCMオーディオデータを表す波形図
FIG. 10 is a waveform chart showing PCM audio data output from the IMDCT unit of the encoded signal decoding device.

【符号の説明】[Explanation of symbols]

7 入力端子 8 デマルチプレクサ部 9 逆量子化部 10 逆正規化部 11 IMDCT部 12 出力端子 7 input terminal 8 demultiplexer unit 9 inverse quantization unit 10 inverse normalization unit 11 IMDCT unit 12 output terminal

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.7 識別記号 FI G11B 20/18 560 H03M 7/30 A 570 G10L 7/04 G H03M 7/30 9/18 J (58)調査した分野(Int.Cl.7,DB名) H03M 13/00 G10L 19/00 G11B 20/00 H03M 7/00 ──────────────────────────────────────────────────の Continued on the front page (51) Int.Cl. 7 Identification code FI G11B 20/18 560 H03M 7/30 A 570 G10L 7/04 G H03M 7/30 9/18 J (58) Fields surveyed (Int. .Cl. 7 , DB name) H03M 13/00 G10L 19/00 G11B 20/00 H03M 7/00

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 ブロック単位に分割され、そのブロック
単位に該ブロックのエラーの有無を示すエラーフラグが
含まれたデータストリームにおいて、そのデータストリ
ームから上記エラーフラグが含まれるブロック単位の切
れ目とは異なる単位でデータを抽出する場合に、抽出す
るデータの最上位ビットが含まれるブロックのエラーフ
ラグのみを検出し、そのエラーフラグがエラー無しを示
す場合には抽出するデータを有効とする符号化信号復号
化方法。
1. A data stream that is divided into block units and includes an error flag indicating the presence / absence of an error of the block in the block unit is different from a break of the block unit including the error flag from the data stream. When extracting data in units, only the error flag of the block containing the most significant bit of the data to be extracted is detected, and if the error flag indicates that there is no error, the encoded signal decoding that validates the extracted data Method.
【請求項2】 ビット圧縮されたデータを復号するシス
テムにおいて、エラー検出可変長の形式に符号化された
複数のデータを連結してビットストリームを形成し、こ
れを一定の長さのエラー検出ブロックに分割し、訂正符
号を付加して記録再生または伝送した信号を複合する復
号装置であって、前記訂正符号を用いて復号するデータ
内のエラーを検出する手段と誤ったデータを補間する補
間手段を有し、復号されるデータが複数のエラー検出ブ
ロックにまたがった場合に、そのデータの最上位ビット
が含まれるエラー検出ブロックのみを検査し、そのエラ
ー検出ブロックにエラーが発生していた場合のみその復
号データを補間して復号するようにした符号化信号復号
装置。
2. A system for decoding bit-compressed data, comprising: forming a bit stream by concatenating a plurality of data encoded in an error detection variable length format; A decoding device for combining a signal recorded, reproduced or transmitted by adding a correction code, and a means for detecting an error in data to be decoded using the correction code and an interpolation means for interpolating erroneous data. When the data to be decoded spans a plurality of error detection blocks, only the error detection block including the most significant bit of the data is checked, and only when the error detection block has an error. An encoded signal decoding device configured to interpolate and decode the decoded data.
JP07709494A 1994-04-15 1994-04-15 Encoded signal decoding method and apparatus Expired - Fee Related JP3250367B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP07709494A JP3250367B2 (en) 1994-04-15 1994-04-15 Encoded signal decoding method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP07709494A JP3250367B2 (en) 1994-04-15 1994-04-15 Encoded signal decoding method and apparatus

Publications (2)

Publication Number Publication Date
JPH07288476A JPH07288476A (en) 1995-10-31
JP3250367B2 true JP3250367B2 (en) 2002-01-28

Family

ID=13624203

Family Applications (1)

Application Number Title Priority Date Filing Date
JP07709494A Expired - Fee Related JP3250367B2 (en) 1994-04-15 1994-04-15 Encoded signal decoding method and apparatus

Country Status (1)

Country Link
JP (1) JP3250367B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1256001A (en) * 1998-01-27 2000-06-07 松下电器产业株式会社 Method and device for coding lag parameter and code book preparing method

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3045186B2 (en) 1991-01-31 2000-05-29 ソニー株式会社 How to cut out encoded data

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3045186B2 (en) 1991-01-31 2000-05-29 ソニー株式会社 How to cut out encoded data

Also Published As

Publication number Publication date
JPH07288476A (en) 1995-10-31

Similar Documents

Publication Publication Date Title
JP3336617B2 (en) Signal encoding or decoding apparatus, signal encoding or decoding method, and recording medium
JP3721582B2 (en) Signal encoding apparatus and method, and signal decoding apparatus and method
US5687157A (en) Method of recording and reproducing digital audio signal and apparatus thereof
US6675148B2 (en) Lossless audio coder
JP3277692B2 (en) Information encoding method, information decoding method, and information recording medium
JPH08190764A (en) Method and device for processing digital signal and recording medium
US6011824A (en) Signal-reproduction method and apparatus
US5899970A (en) Method and apparatus for encoding digital signal method and apparatus for decoding digital signal, and recording medium for encoded signals
JP3318931B2 (en) Signal encoding device, signal decoding device, and signal encoding method
EP0773634B1 (en) Audio subband coding method
US5950156A (en) High efficient signal coding method and apparatus therefor
JPH0846516A (en) Device and method for information coding, device and method for information decoding and recording medium
JP3250367B2 (en) Encoded signal decoding method and apparatus
JP3465697B2 (en) Signal recording medium
JPH07168593A (en) Signal encoding method and device, signal decoding method and device, and signal recording medium
JPH0863901A (en) Method and device for recording signal, signal reproducing device and recording medium
JPH1083623A (en) Signal recording method, signal recorder, recording medium and signal processing method
JP3465698B2 (en) Signal decoding method and apparatus
JP3389849B2 (en) Quantizer
JP3141451B2 (en) Audio signal processing method
JPH1032494A (en) Digital signal processing method and processor, digital signal recording method and recorder, recording medium and digital signal transmission method and transmitter
JP3200886B2 (en) Audio signal processing method
JPH07336231A (en) Method and device for coding signal, method and device for decoding signal and recording medium
JP3141853B2 (en) Audio signal processing method
KR0138325B1 (en) Coding method of audio signal

Legal Events

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