JPH07288476A - Coded signal decoding method/device - Google Patents

Coded signal decoding method/device

Info

Publication number
JPH07288476A
JPH07288476A JP6077094A JP7709494A JPH07288476A JP H07288476 A JPH07288476 A JP H07288476A JP 6077094 A JP6077094 A JP 6077094A JP 7709494 A JP7709494 A JP 7709494A JP H07288476 A JPH07288476 A JP H07288476A
Authority
JP
Japan
Prior art keywords
data
error
byte
block
adverse
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.)
Granted
Application number
JP6077094A
Other languages
Japanese (ja)
Other versions
JP3250367B2 (en
Inventor
Takehiko Yasuda
威彦 安田
Masataka Nikaido
正隆 二階堂
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 Holdings Corp
Original Assignee
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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
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

Abstract

PURPOSE:To eliminate such data that are extracted only when an error is detected by confirming only true error flag of the byte that includes the highest rank bit of the data which are extracted by the adverse quantization processing. CONSTITUTION:The coded signal received from an input terminal 7 is inputted to a demultiplexer part 8 and separated into the scale factor, the assigned bit number and the spectrum data. An adverse quantization part 9 performs the adverse quantization processing of the data based on the assigned bit number and the spectrum data and outputs the data to an adverse normalization part 10. The part 10 performs the adverse normalization of the data based on the scale factor and the output of the part 9 and converts the data into the spectrum data. An IMDCT part 11 applies the othogonal conversion to the spectrum data that undergone the adverse normalization through the IMDCT processing and turns the data into the data on a time area to output them to an output terminal 12 as the PCM digital audio signals that include the frequency components of DC-20kHz, for example.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

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

【0002】[0002]

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

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

【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 band division, there is, for example, a QMF filter, and 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
A new subband coding techniqe, Joseph H. Rothweiler, describes an equal bandwidth filter partitioning technique. Next, as the above-mentioned orthogonal transform, for example, the input audio signal is divided into blocks in a predetermined time unit (frame), and the modified DCT transform (MDCT) or the like is performed for each block to transform the time axis into the frequency axis. There are things. About MDCT ICASSP 1987 Subband
/ Transform Coding Using Filter Bank Designs Based
on TimeDomain Aliasing Cancellation, JPPrincen,
ABBradley, Univ. Of SurreyRoyal Melbourne Inst.
of Tech.

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

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

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

【0009】図2は、上述したような符号化信号が入力
される従来の符号化信号復号化装置の構成を示してい
る。図2において、7は符号化信号復号化装置の入力端
子、8はデマルチプレクサ部、9は逆量子化部、10は
逆正規化部、11はIMDCT部、12はPCMオーデ
ィオデータ出力端子である。
FIG. 2 shows the configuration of a conventional coded signal decoding apparatus to which the coded signal as described above is input. In FIG. 2, 7 is an input terminal of the encoded signal decoding device, 8 is a demultiplexer section, 9 is an inverse quantization section, 10 is an inverse normalization section, 11 is an IMDCT section, and 12 is 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. In FIG. 2, the encoded signal from the input terminal 7 is input to the demultiplexer unit 8, and the scale factor (for example, 22 (1) to 22 (3) in FIG. 8) and the number of allocated bits (for example, in FIG.
23 (1) to 23 (3)), spectral data (for example, in FIG.
24 (1) to 24 (3)).

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

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

【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 the time domain, and as shown in FIG.
It 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 coded signal decoding apparatus described above can decode a digital audio signal from highly efficient coded data.

【0015】[0015]

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

【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バイトにわたって
またがるデータもある。
Now, with reference to FIG. 3, description will be given of a case where the spectrum data is extracted from the data stream. In FIG. 3, 13 (1) to 13 (4) are obtained by dividing the input data stream into byte units. 13
(1a) to 13 (4a) are error flags (1 indicates that an error is included, and 0 indicates that an error is not included) that indicates whether or not each byte includes an error. Further, 14 (1) to 14 (8) are data extracted from the above data stream with a word length of 2 to 16 bits, and Byte (n-1) 13 (2) and Byte are stored in a buffer for data extraction. When 2 bytes of data of (n) are input from the data stream, there are 8 patterns of byte striding when extracting word length data of 2 to 16 bits from this buffer. ) And 14 (5), some data spans 3 bytes.

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

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

【0019】[0019]

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

【0020】[0020]

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

【0021】また、抽出するデータの最上位バイト以外
のバイトにエラーがあった場合でも、最上位のデータが
エラーでないため、例えば、抽出データが8ビットで上
位バイトに7ビット含まれる場合、最下位の1ビットの
みのデータが不確定になるだけで、データの分解能が8
ビットから7ビットに落ちただけと同等になり、元のデ
ータの情報に近いデータに補間する事ができるという効
果を有する。
Even if there is an error 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, if the extracted data is 8 bits and the upper byte contains 7 bits, Only the lower 1-bit data becomes uncertain and the data resolution is 8
This is equivalent to just dropping from 7 bits to 7 bits, and it has an effect of being able to interpolate into data close to the information of the original data.

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

【0023】[0023]

【実施例】図1は本発明の実施例を示すもので、図2の
逆量子化部9で行われる逆量子化処理を表すフローチャ
ートである。すなわち、本発明の実施例における符号化
信号復号化装置の構成は図2に示した従来の構成と同じ
であるが、その中で特に逆量子化部9における処理のし
かたに特徴を持たせたものである。図1の逆量子化処理
を説明する前に、まず、逆量子化部9に入力されるデー
タについて説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 shows an embodiment of the present invention and is a flow chart showing the inverse quantization process performed by the inverse quantization section 9 of FIG. That is, 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 the method of processing in the dequantization unit 9 is particularly characterized. It is a thing. Before describing the inverse quantization process in FIG. 1, first, the data input to the inverse quantization unit 9 will be described.

【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 quantizer 9 of 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 (here, the unit for error detection is a byte).
16 (1a) to 16 (4a) are error flags indicating whether or not the above byte contains an error. Here, if the error flag is 1, the relevant byte contains an error, and if the error flag is 0, it indicates that the relevant byte has no error. Therefore, byte A (16 (1)), byte B (16
(2)), byte D (16 (4)) is a byte having no error, and byte C is a byte containing an error.

【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 the data obtained by extracting the number of allocated bits from the spectrum data stream, and 18 is DATA (n) (1
This is the original value when there is no error in the part of byte C (16 (3)) of 7 (2)). Next, the manner in which the error-free DATA (n) (17 (2)) is dequantized in the most significant bit (MSB) of the data 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 confirmed whether or not 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 the data for the number of extracted bits is input to the bit extraction buffer (step 4
a).

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

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

【0029】さらに、データのMSB にエラーの含まれる
データDATA(n+1) が逆量子化される様子を、図1のフロ
ーチャートに従って説明する。DATA(n+1) のMSB が含ま
れるバイトCにエラーが含まれているかを確認する(ス
テップ1 )。抽出ビット数分(この場合は8ビット)の
データがビット抽出用バッファーにあるかを確認する
(ステップ2b)。ここで、バッファーには3ビットしか
残っていないので、スペクトルデータ・ストリームから
次のバイトDをバッファーに読み込む。
Further, the manner in which the data DATA (n + 1) having an error in the MSB of the data is inversely quantized will be described with reference to the flowchart of FIG. It is confirmed whether or not an error is included in the byte C including the MSB of DATA (n + 1) (step 1). It is confirmed whether or not data for the number of extraction bits (8 bits in this case) is in the bit extraction buffer (step 2b). Now, since there are only 3 bits left in the buffer, the next byte D from the spectral data stream is read 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, but DATA (n + 1) is
Since the MSB contains an error, the data for the extracted number of bits is dequantized with 0 (step 6).

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

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

【0033】この例でもわかるように、逆量子化された
値はオリジナル19が65、ブロックBのみエラーチェッ
クした場合20が71、0で補間した場合21が0となり、
抽出するデータのMSB が含まれるバイトを生かすことに
より、LSB 側のデータにエラーがあっても真の値に近い
値とする事ができる。この例では本来8ビットのデータ
が5ビットの精度に落ちるだけですむのである。このこ
とは、MSB 側のバイトに含まれるビット数が多ければ多
いほど、真の値に近い値に補間できることを表す。
As can be seen from this example, the dequantized value of the original 19 is 65, 20 is 71 when only the block B is error-checked, 21 is 0 when interpolated, and 21 is 0.
By taking advantage 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, originally 8-bit data only needs to fall to 5-bit accuracy. This means that the larger the number of bits included in the byte on the MSB side, the closer the value can be interpolated to the true value.

【0034】[0034]

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

【図面の簡単な説明】[Brief description of 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 a coded signal decoding device according to an embodiment of the present invention and a conventional example.

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

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

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

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

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

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

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

【図10】符号化信号復号化装置のIMDCT部から出
力されるPCMオーディオデータを表す波形図
FIG. 10 is a waveform diagram 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 Section 9 Inverse Quantization Section 10 Inverse Normalization Section 11 IMDCT Section 12 Output Terminal

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 G11B 20/18 560 G 8940−5D 570 C 8940−5D H03M 7/30 A 8842−5J ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 6 Identification code Internal reference number FI Technical display location G11B 20/18 560 G 8940-5D 570 C 8940-5D H03M 7/30 A 8842-5J

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 ブロック単位に分割され、そのブロック
単位に該ブロックのエラーの有無を示すエラーフラグが
含まれたデータストリームにおいて、そのデータストリ
ームから上記エラーフラグが含まれるブロック単位の切
れ目とは異なる単位でデータを抽出する場合に、抽出す
るデータの最上位ビットが含まれるブロックのエラーフ
ラグのみを検出し、そのエラーフラグがエラー無しを示
す場合には抽出するデータを有効とする符号化信号復号
化方法。
1. A data stream divided into blocks and including an error flag indicating the presence / absence of an error in the block in the block unit is different from a break in the block unit including the error flag from the data stream. When extracting data in units, only the error flag of the block that contains the most significant bit of the data to be extracted is detected, and if the error flag indicates that there is no error, the extracted data is valid Method.
【請求項2】 ビット圧縮されたデータを復号するシス
テムにおいて、エラー検出可変長の形式に符号化された
複数のデータを連結してビットストリームを形成し、こ
れを一定の長さのエラー検出ブロックに分割し、訂正符
号を付加して記録再生または伝送した信号を複合する復
号装置であって、前記訂正符号を用いて復号するデータ
内のエラーを検出する手段と誤ったデータを補間する補
間手段を有し、復号されるデータが複数のエラー検出ブ
ロックにまたがった場合に、そのデータの最上位ビット
が含まれるエラー検出ブロックのみを検査し、そのエラ
ー検出ブロックにエラーが発生していた場合のみその復
号データを補間して復号するようにした符号化信号復号
装置。
2. A system for decoding bit-compressed data, wherein a plurality of data encoded in an error detection variable length format are concatenated to form a bit stream, which is an error detection block having a fixed length. A decoding device for dividing a signal recorded / reproduced or transmitted by adding a correction code by dividing into, a means for detecting an error in data to be decoded using the correction code, and an interpolation means for interpolating erroneous data. If the data to be decoded spans multiple error detection blocks, only the error detection block that contains the most significant bit of the data is checked, and only if the error detection block has an error. A coded signal decoding device that interpolates and decodes 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 true JPH07288476A (en) 1995-10-31
JP3250367B2 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)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1999038157A1 (en) * 1998-01-27 1999-07-29 Matsushita Electric Industrial Co., Ltd. Method and device for coding lag parameter and code book preparing method

Family Cites Families (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

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1999038157A1 (en) * 1998-01-27 1999-07-29 Matsushita Electric Industrial Co., Ltd. Method and device for coding lag parameter and code book preparing method

Also Published As

Publication number Publication date
JP3250367B2 (en) 2002-01-28

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
JP3926399B2 (en) How to signal noise substitution during audio signal coding
KR100310214B1 (en) Signal encoding or decoding device and recording medium
JP3277692B2 (en) Information encoding method, information decoding method, and information recording medium
JP3203657B2 (en) Information encoding method and apparatus, information decoding method and apparatus, information transmission method, and information recording medium
JPH08190764A (en) Method and device for processing digital signal and recording medium
US6415251B1 (en) Subband coder or decoder band-limiting the overlap region between a processed subband and an adjacent non-processed one
US6011824A (en) Signal-reproduction method and apparatus
JPH0830295A (en) Method and device for digital/audio signal recording and reproducing
JP2003506763A (en) Scaleable encoding method for high quality audio
US6930618B2 (en) Encoding method and apparatus, and decoding method and apparatus
JP3318931B2 (en) Signal encoding device, signal decoding device, and signal encoding method
EP0773634B1 (en) Audio subband coding method
JPH0846516A (en) Device and method for information coding, device and method for information decoding and recording medium
US5950156A (en) High efficient signal coding method and apparatus therefor
JP3685823B2 (en) Signal encoding method and apparatus, and signal decoding method and apparatus
JP3465697B2 (en) Signal recording medium
JP3250367B2 (en) Encoded signal decoding method and apparatus
JP3465698B2 (en) Signal decoding method and apparatus
JPH09135173A (en) Device and method for encoding, device and method for decoding, device and method for transmission and recording medium
JP3389849B2 (en) Quantizer
JPH1032494A (en) Digital signal processing method and processor, digital signal recording method and recorder, recording medium and digital signal transmission method and transmitter
JPH07336231A (en) Method and device for coding signal, method and device for decoding signal and recording medium
JP3200886B2 (en) Audio signal processing method

Legal Events

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