JPH06105285A - Reproducer - Google Patents

Reproducer

Info

Publication number
JPH06105285A
JPH06105285A JP25260792A JP25260792A JPH06105285A JP H06105285 A JPH06105285 A JP H06105285A JP 25260792 A JP25260792 A JP 25260792A JP 25260792 A JP25260792 A JP 25260792A JP H06105285 A JPH06105285 A JP H06105285A
Authority
JP
Japan
Prior art keywords
component
variable length
undefined
aram
fram
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.)
Pending
Application number
JP25260792A
Other languages
Japanese (ja)
Inventor
Taichi Gyotoku
太一 行徳
Tatsuro Shigesato
達郎 重里
Masaru Nakahama
勝 中濱
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 JP25260792A priority Critical patent/JPH06105285A/en
Publication of JPH06105285A publication Critical patent/JPH06105285A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To attain a reproduction by letting alternating components be '0' and decoding only direct current components at the time of reproduction. CONSTITUTION:Reproduction data turned into a format are inputted from an input port 21, and recorded once in an FRAM 22. Next, the data recorded in the FRAM 22 are separated between the direct current components and the alternating components, and recorded in a DRAM 23 and an ARAM 29. At the time of recording the alternating components recorded in the FRAM 22 in the ARAM 29, when the code words of undefined words are detected by an undefined word detector 1, the code words are held by a selector 2 and registers 3 and 4 until the DRAM 23 and the ARAM 29 are read. The held output signal of the register 4 and the alternating components of the sampling signals of the direct current components generated from a control part 6 are turned to '0' by using the control signal of a selector 5, only the direct current components are decoded by a variable length decoding part 31, inverse quantized by an inverse quantizing part 32, and outputted.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、画像情報や音声情報を
可変長符号化して記録したデータを再生する再生装置に
関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a reproducing apparatus for reproducing data recorded by variable-length coding image information and audio information.

【0002】[0002]

【従来の技術】近年、市場において、画像信号や音声信
号のデジタル記録・再生装置が要求されている。しか
し、画像信号はそのデータ量が非常に大きいため、伝送
または記録する場合に、データ量を削減するために高能
率符号化を用いることが多い。高能率符号化は画像信号
の持つ冗長成分を除去してデータ量を圧縮する手段であ
る。高能率符号化としては、入力された標本値をまず隣
接する複数の画素からなるブロックに分割し、各ブロッ
ク毎に直交変換して各直交変換毎に符号化する方法があ
る。これらの高能率符号化法では、一般的に前記直交成
分に対して量子化を行い可変長符号化して伝送する。
2. Description of the Related Art In recent years, digital recording / reproducing devices for image signals and audio signals have been demanded in the market. However, since the image signal has a very large data amount, high-efficiency coding is often used to reduce the data amount when transmitting or recording. High-efficiency coding is a means for compressing the amount of data by removing the redundant component of the image signal. As a high-efficiency encoding method, there is a method in which an input sample value is first divided into blocks composed of a plurality of adjacent pixels, orthogonal transformation is performed for each block, and encoding is performed for each orthogonal transformation. In these high-efficiency coding methods, generally, the orthogonal components are quantized and variable-length coded for transmission.

【0003】可変長符号化とは発生頻度の大きな信号を
少ないビット数の符号語に符号化し、発生頻度の少ない
信号は多くのビット数の符号語に符号化する方法であ
る。これによって、平均的には少ないビット数でデータ
を伝送することが可能になる。従って従来の画像信号や
音声信号を記録または伝送する装置では上記のような可
変長符号化を用いてデータ量を削減してから記録・再生
を行なっていた。
The variable length coding is a method of coding a signal having a high frequency of occurrence into a code word having a small number of bits and coding a signal having a low frequency of occurrence into a code word having a large number of bits. This makes it possible to transmit data with a small number of bits on average. Therefore, in the conventional apparatus for recording or transmitting an image signal or an audio signal, the variable length coding as described above is used to reduce the data amount before recording / reproducing.

【0004】しかしながら、可変長符号化を用いた場合
には、1ビットでも誤りが発生すると符号同期が外れる
ため、それ以後の可変長符号語を復号することが不可能
になる。このため従来の装置では伝送路誤りの影響が非
常に大きく、それを防ぐために多量の誤り訂正符号やリ
セット信号を必要とした。
However, when variable-length coding is used, if even one bit error occurs, code synchronization is lost, and it becomes impossible to decode the variable-length code words thereafter. Therefore, in the conventional device, the influence of the transmission path error is very large, and a large amount of error correction code and reset signal are required to prevent it.

【0005】そこでこのような課題を記録時のフォーマ
ットで改善する方法が発明者らにより提案されている
(特願平2−404863号)。図4は誤りが発生して
もその誤りが他の小ブロックへ影響を与えないフォーマ
ットの説明図である。図4は変換方法としてDCT(Di
screte Cosine Transform)を用いており、小ブロック
がDCTを実行する基本単位(DCTブロック)に対応
している。図4(a)は3つの小ブロックの変換後の成
分が可変長符号化された後のデータ量の割合を示してい
る。可変長符号化後のデータ量はその入力情報に依存す
るため、図4(a)のようにブロック毎に異なるデータ
量になっている。このため、最初の小ブロックに誤りが
発生して可変長符号同期が外れると、第2、第3小ブロ
ックの先頭位置が検出できなくなるため、3つの小ブロ
ックのデータが全て復号できなくなる。これに対して、
図4(b)は、まず可変長符号化後のデータ領域を3つ
の一定の記録ブロックに分割する。そして、各DCTブ
ロックのDC成分(直流成分)から、続いてAC成分
(交流成分)の低域を表す可変長符号語から順に、対応
する記録ブロックの先頭から書き込んでいく。また、各
記録ブロックの残りのビット数がそこで用いる可変長符
号化の最大の符号長より小さくなった場合には、そこで
一度書き込みをとめる。このようにすることによって、
記録ブロックの先頭から書き込まれる一連の可変長符号
語の系列が符号語の途中で分断されることがなくなる。
次にこの段階で記録ブロックに書き込まれていない可変
長符号語は他の記録ブロックも含めて余っている領域に
記録する。したがって、視覚上重要でない高域を表す符
号語だけが、対応する記録ブロック以外の記録ブロック
に書き込まれることになる(図4(b)の“H”で示す
部分)。このようなフォーマットにすることによって1
つの小ブロックに誤りが発生しても、他の小ブロックは
それぞれ記録ブロックの先頭から復号が再開できるため
誤りの影響を最小限に抑えることが可能になる。
Therefore, a method for improving such a problem by a format at the time of recording has been proposed by the inventors (Japanese Patent Application No. 2-404863). FIG. 4 is an explanatory diagram of a format in which even if an error occurs, the error does not affect other small blocks. FIG. 4 shows DCT (Di
The small block corresponds to the basic unit (DCT block) for executing DCT. FIG. 4A shows the ratio of the data amount after the components of the three small blocks after the conversion are subjected to the variable length coding. Since the amount of data after variable length coding depends on the input information, the amount of data is different for each block as shown in FIG. Therefore, if an error occurs in the first small block and the variable-length code synchronization is lost, the head positions of the second and third small blocks cannot be detected, and the data of all three small blocks cannot be decoded. On the contrary,
In FIG. 4B, first, the data area after variable length coding is divided into three fixed recording blocks. Then, from the DC component (DC component) of each DCT block to the variable length code word representing the low frequency band of the AC component (AC component), writing is sequentially performed from the beginning of the corresponding recording block. When the number of remaining bits of each recording block becomes smaller than the maximum code length of the variable length coding used therein, writing is once stopped there. By doing this,
A series of variable-length codewords written from the beginning of the recording block will not be divided in the middle of the codewords.
Next, at this stage, the variable-length codeword not written in the recording block is recorded in the remaining area including other recording blocks. Therefore, only the code word representing a high frequency band that is not visually significant is written in a recording block other than the corresponding recording block (a portion indicated by "H" in FIG. 4B). With this format, 1
Even if an error occurs in one small block, the other small blocks can resume decoding from the beginning of the recording block, so that the influence of the error can be minimized.

【0006】ところで、上記のフォーマットを実現する
手段として発明者らにより特願平4−54936号の発
明で提案されている。この手段を簡単にここで述べると
以下のようになる。
By the way, as a means for realizing the above format, the inventors have proposed in the invention of Japanese Patent Application No. 4-54936. A brief description of this means is as follows.

【0007】図5は前記フォーマットを実現するための
ブロック図である。図5において、21は再生データの
入力ポート、22は第1のメモリーであるFRAM、2
3はDC成分を記憶するための第2のメモリーであるD
RAM、24はスイッチ、25はシフト器、26はセレ
クタ、27はレジスタ、28は符号長検出部、29はA
C成分を記憶するための第3のメモリーであるARA
M、30はセレクタ、31は可変長復号化部、32は逆
量子化部、33は制御部、34は出力ポートである。ま
た説明を簡単にするため、可変長符号の最大の符号長を
16ビットに設定しFRAM、ARAMの入出力ビット
幅を16ビットにする。同様に、DC成分のビット幅を
11ビットに設定し、下記のDRAMの入出力ビット幅
を11ビットにする。また、上記に示す処理として、図
4(b)に示す3つの記録ブロック(DCT1,DCT
2、DCT3)を1つの大ブロックとして取り扱い、そ
の大ブロック単位をビデオセグメントと呼び、ビデオセ
グメントの処理の開始を示す信号をビデオセグメントス
タートとする。ここでは、ビデオセグメントスタートが
“0”の時、大ブロックの先頭が入力ポート21から入
力される。そこで、図4(b)のようにフォーマットさ
れたデータをDCTブロック毎に分離してDRAM23
およびARAM29に書き込む為には、まず一度FRA
M22に書き込み次に先ほどFRAM22に書き込んだ
データをDC成分はDRAM23に、AC成分はARA
M29に書き込む。書き込む手順として最初にDC成分
を書き込み、次にAC成分の低域部を書き込む、DCT
ブロックに全てのAC成分の低域部の書き込みが終了す
ると、次に高域部を分離して各DCTブロック毎にAR
AM29に書き込む必要がある。図6にそれぞれのRA
Mに書き込む処理のタイミングを示す。同図において、
(a)はビデオセグメントスタート、(b)はFRAM
22の入力、(c)はFRAM22の出力、(d)はD
RAM23およびARAM29の出力である。図6に示
すように制御部33から発生される1番目のビデオセグ
メントスタート信号に同期して入力ポート21から入力
される再生データをFRAM22に一度記録し、2番目
のビデオセグメントスタート信号に同期してFRAM2
2からデータが出力する。
FIG. 5 is a block diagram for realizing the above format. In FIG. 5, reference numeral 21 is a reproduction data input port, 22 is a first memory, FRAM, 2
3 is a second memory D for storing the DC component
RAM, 24 is a switch, 25 is a shifter, 26 is a selector, 27 is a register, 28 is a code length detector, and 29 is A.
ARA, which is the third memory for storing the C component
M and 30 are selectors, 31 is a variable length decoding unit, 32 is an inverse quantization unit, 33 is a control unit, and 34 is an output port. For the sake of simplicity, the maximum code length of the variable length code is set to 16 bits and the input / output bit width of FRAM and ARAM is set to 16 bits. Similarly, the bit width of the DC component is set to 11 bits, and the input / output bit width of the DRAM described below is set to 11 bits. In addition, as the processing described above, three recording blocks (DCT1, DCT) shown in FIG.
2, DCT3) is treated as one large block, the large block unit is called a video segment, and the signal indicating the start of processing of the video segment is the video segment start. Here, when the video segment start is "0", the head of the large block is input from the input port 21. Therefore, the data formatted as shown in FIG. 4B is separated for each DCT block and the DRAM 23 is separated.
And to write to ARAM29, first write FRA once.
Writing to M22 Next, the data written to the FRAM22 is stored in the DRAM component for the DC component and ARA for the AC component.
Write to M29. As a writing procedure, the DC component is first written, and then the low frequency part of the AC component is written.
When the writing of all the low-frequency parts of the AC components is completed in the block, the high-frequency part is separated next, and AR is set for each DCT block.
It is necessary to write in AM29. Each RA in Figure 6
The timing of the process of writing to M is shown. In the figure,
(A) is video segment start, (b) is FRAM
22 input, (c) output of FRAM22, (d) D
It is an output of the RAM 23 and the ARAM 29. As shown in FIG. 6, the reproduction data input from the input port 21 is once recorded in the FRAM 22 in synchronization with the first video segment start signal generated from the control unit 33, and is synchronized with the second video segment start signal. FRAM2
Data is output from 2.

【0008】図7にFRAM22の模式図を示す。図7
に示すFRAM22のデータを用いて以下説明する。最
初DC成分をFRAM22からDRAM23へ移す動作
を説明する。図7に示すようにDC成分(斜線部)は、
各記録ブロックの先頭から11ビットである。すなわ
ち、FRAM22の下位11ビットをDRAM23の入
力端子に接続し、制御部33でDRAM23の書き込み
を制御することでFRAM22のデータをDRAM23
に移すことが実現できる。
FIG. 7 shows a schematic diagram of the FRAM 22. Figure 7
The following will be described using the data of the FRAM 22 shown in FIG. First, the operation of transferring the DC component from the FRAM 22 to the DRAM 23 will be described. As shown in FIG. 7, the DC component (hatched portion) is
It is 11 bits from the beginning of each recording block. That is, by connecting the lower 11 bits of the FRAM 22 to the input terminal of the DRAM 23 and controlling the writing of the DRAM 23 by the control unit 33, the data of the FRAM 22 is transferred to the DRAM 23.
Can be realized.

【0009】次にAC成分の低域部をFRAM22から
ARAM29へ移す動作を説明する。スイッチ24を切
り換えることによって、FRAM22のデータをシフト
器25、セレクタ26を介してレジスタ27に入力す
る。ところが、各記録ブロックの先頭には、11ビット
のDC成分が記録されているため、各記録ブロックの先
頭を読出している場合、AC成分の最初の符号語(P)
はFRAM22の12ビット目から始まっている。その
ため符号語(P)はレジスタ27の最下位ビット(LS
B)から数えて12ビット目からのデータである。その
ため、符号長を検出するには12ビット目から16ビッ
トを抜き出すことで符号長検出部28で符号長の検出が
できる。この検出された符号長の数を、符号長を検出す
るために抜き出し始めたポイント(12ビット目)に加
算することにより次の符号語(Q)の先頭を検出するこ
とが出来る。つまりそのポイントから同様に16ビット
抜き出すことにより各時刻毎の可変長符号語の符号長を
検出することができる。同時に符号長検出部28によっ
て検出された符号長は可変長符号語単位で記録ブロック
のどの位置までのデータを読み込んだか検出する。この
ようにしてレジスタ27の中の可変長符号語の系列が1
6ビットを越えると、レジスタ27の上位16ビットを
ARAM29に書き込む。また符号長検出部28によっ
て記録ブロックの残りのビット数が16ビットより小さ
くなったことが検出された場合(符号語Rを書き込んた
時)は、レジスタ27の上位16ビットをARAM29
に書き込んでそのDCTブロックに対する低域部の処理
を終了する。このような処理を各DCTブロック毎に実
行することによってFRAM22からAC成分の低域部
をARAM29に移すことが実現できる。
Next, the operation of moving the low-frequency part of the AC component from the FRAM 22 to the ARAM 29 will be described. By switching the switch 24, the data in the FRAM 22 is input to the register 27 via the shifter 25 and the selector 26. However, since the 11-bit DC component is recorded at the beginning of each recording block, when the beginning of each recording block is read, the first codeword (P) of the AC component is recorded.
Starts from the 12th bit of FRAM22. Therefore, the code word (P) is the least significant bit (LS) of the register 27.
It is the data from the 12th bit counted from B). Therefore, in order to detect the code length, the code length detection unit 28 can detect the code length by extracting 16 bits from the 12th bit. The head of the next code word (Q) can be detected by adding the detected number of code lengths to the point (the 12th bit) that has started to be extracted in order to detect the code length. That is, by similarly extracting 16 bits from that point, it is possible to detect the code length of the variable length codeword at each time. At the same time, the code length detected by the code length detection unit 28 detects up to which position in the recording block the data is read in variable length codeword units. In this way, the sequence of variable-length codewords in the register 27 is 1
When the number of bits exceeds 6 bits, the upper 16 bits of the register 27 are written in the ARAM 29. When the code length detection unit 28 detects that the number of remaining bits of the recording block becomes smaller than 16 bits (when the code word R is written), the upper 16 bits of the register 27 are set to the ARAM 29.
To the DCT block, and the processing of the low frequency part for the DCT block is finished. By executing such processing for each DCT block, it is possible to transfer the low-frequency part of the AC component from the FRAM 22 to the ARAM 29.

【0010】次にAC成分の高域部をFRAM22から
ARAM29へ移す動作を説明する。AC成分の高域部
をFRAM22からARAM29へ移すには、低域部の
可変長符号語と高域部の可変長符号語をARAM29上
の1ワード(16ビット)の中でミックスする必要があ
る。そこでまず現時点でARAM29に書き込まれてい
る低域を表す可変長符号語の最後の符号語を取り出し
て、その後ろに隙間無く高域を表す可変長符号を接続し
てから再びARAM29へ書き込む必要がある。このた
め、スイッチ24を切り換えることによって、FRAM
22のデータをシフト器25、セレクタ26を介してレ
ジスタ27に入力する。シフト器25では、レジスタ2
7において既に記憶されている低域を表す可変長符号語
と隙間無く接続できるように入力された高域を表す可変
長符号語をシフトする。シフトされた可変長符号語はセ
レクタ26でレジスタ27から出力される低域を表す可
変長符号語とミックスされてレジスタ27に入力され
る。また上記の低域部の書き込みと同様に符号長を符号
長検出部28で検出しながら可変長符号語単位で記録ブ
ロックのどの位置までのデータを読み込んだか検出しA
RAM29へデータを書き込んでいく。このようにして
各記録ブロックの残りのスペースが無くなるまで同じ処
理を繰り返す。また処理途中で、あるDCTブロックに
対する可変長符号語が全て書き込まれてしまった場合に
は、一度そこで処理を中止して次のDCTブロックの高
域の可変長符号語を同様の方法で書き込む。このように
して、ARAM29上にDCTブロック毎に分離された
AC成分のデータが記録される。
Next, the operation of moving the high frequency part of the AC component from the FRAM 22 to the ARAM 29 will be described. In order to move the high-frequency part of the AC component from the FRAM 22 to the ARAM 29, it is necessary to mix the low-frequency part variable-length codeword and the high-frequency part variable-length codeword in one word (16 bits) on the ARAM 29. . Therefore, it is necessary to first take out the last code word of the variable length code word representing the low frequency band which is currently written in the ARAM 29, connect the variable length code representing the high frequency band without a space behind it, and then write it in the ARAM 29 again. is there. Therefore, by switching the switch 24, the FRAM
The data 22 is input to the register 27 via the shifter 25 and the selector 26. In the shifter 25, the register 2
The variable length code word representing the high band that has been input is shifted so that the variable length code word representing the low band already stored in 7 can be connected without a gap. The shifted variable-length codeword is mixed with the variable-length codeword representing the low frequency output from the register 27 by the selector 26 and input to the register 27. Further, similarly to the above-described writing in the low-frequency part, the code length is detected by the code length detection unit 28, and it is detected to which position of the recording block the data has been read in variable length codeword units.
Data is written in the RAM 29. In this way, the same processing is repeated until the remaining space in each recording block is exhausted. Further, when all the variable length code words for a certain DCT block are written in the middle of the processing, the processing is once stopped and the high frequency variable length code word of the next DCT block is written by the same method. In this way, the AC component data separated for each DCT block is recorded on the ARAM 29.

【0011】したがって、上述の方法でFRAM22か
らDCTブロック毎のDC成分とAC成分の分離がで
き、DRAM23およびARAM29に記録ができる。
このように、DCTブロック毎に分離されたDC成分お
よびAC成分を、3番目のビデオセグメントスタート信
号に同期してDRAM23およびARAM29から出力
し、セレクタ30を介して可変長復号化部31で可変長
復号し、逆量子化部32で逆量子化を行ない、出力ポー
ト34から出力し再生される。
Therefore, the DC component and the AC component for each DCT block can be separated from the FRAM 22 by the above-described method, and can be recorded in the DRAM 23 and the ARAM 29.
As described above, the DC component and the AC component separated for each DCT block are output from the DRAM 23 and the ARAM 29 in synchronization with the third video segment start signal, and the variable length decoding unit 31 outputs the variable length using the selector 30. The data is decoded, inversely quantized by the inverse quantizer 32, output from the output port 34, and reproduced.

【0012】[0012]

【発明が解決しようとする課題】ところが、FRAM2
2に記録されているデータに誤りがある場合、ARAM
29にAC成分を移す際に、定義されてない符号語が検
出されるおそれがある。つまり、符号長検出部28で誤
りが生じ、正しくARAM29上にDCTブロック毎の
AC成分のデータが記録されていない。したがって、上
述のような手段で再生を行なった場合においても、1つ
の小ブロックに誤りが発生した場合、他の小ブロックの
先頭から復号が再開できるが、誤りが生じた後のそのブ
ロックは定義されていない符号語が可変長復号化部31
で復号され、そのブロックにノイズを持つことになる。
したがって、再生された画像はちらつきが目立ち視覚上
問題であった。
However, the FRAM2
If there is an error in the data recorded in 2, ARAM
When transferring the AC component to 29, an undefined codeword may be detected. That is, an error occurs in the code length detection unit 28, and AC component data for each DCT block is not correctly recorded in the ARAM 29. Therefore, even when reproduction is performed by the above-mentioned means, when an error occurs in one small block, decoding can be restarted from the head of another small block, but the block after the error is defined The codeword that has not been encoded is the variable length decoding unit 31.
It will be decoded with and the block will have noise.
Therefore, flicker is noticeable in the reproduced image, which is a visual problem.

【0013】本発明はこのような従来の再生装置の課題
を解決することを目的とする。
An object of the present invention is to solve the problems of the conventional reproducing apparatus.

【0014】[0014]

【課題を解決するための手段】上記従来の課題を解決す
るために、本発明に係る再生装置は以下のような構成を
有している。すなわち、画像または音声信号を複数画素
ずつ集めて小ブロックを構成し、前記小ブロック内を周
波数変換し、前記周波数変換で得られた直流成分(DC
成分)および交流成分(AC成分)をそれぞれ量子化し
た後可変長符号化を行い、定められたフォーマットに従
って記録された記録媒体から前記可変長符号語を再生す
る再生手段と、前記ブロックを所定数集めて前記可変長
符号語を再生する再生手段と、前記再生された可変長符
号語が定義された可変長符号語かどうかを判断する未定
義語検出手段と、前記未定義語検出手段で定義されてい
ない符号語が検出された場合、少なくとも定義されてい
ない符号語が検出された前記小ブロック全体もしくは定
義されていない符号語が検出された以降の前記小ブロッ
クの符号語に対応する前記AC成分を所定値に設定する
復号化手段を備えたことを特徴とする。
In order to solve the above conventional problems, the reproducing apparatus according to the present invention has the following configuration. That is, a plurality of pixels of image or audio signals are collected to form a small block, the inside of the small block is frequency-converted, and the DC component (DC) obtained by the frequency conversion is obtained.
Component) and alternating-current component (AC component) are quantized respectively, and then variable length coding is performed to reproduce the variable length code word from a recording medium recorded according to a predetermined format, and a predetermined number of the blocks. Playback means for collecting and playing back the variable length codewords, undefined word detection means for determining whether the played back variable length codewords are defined variable length codewords, and definition by the undefined word detection means When an undefined codeword is detected, at least the entire small block in which the undefined codeword is detected or the AC corresponding to the codeword in the small block after the undefined codeword is detected It is characterized by comprising a decoding means for setting a component to a predetermined value.

【0015】[0015]

【作用】本発明は上記構成により定義されていない符号
語が入力された場合、未定義語検出器で検出し、AC成
分(交流成分)を 強制的に“0”としDC成分(直流
成分)だけの復号化を行う。
According to the present invention, when a code word not defined by the above configuration is input, it is detected by the undefined word detector and the AC component (AC component) is forcibly set to "0", and the DC component (DC component). Only decrypt.

【0016】[0016]

【実施例】図1は本発明の一実施例における再生装置ブ
ロック図である。本実施例において、定義された符号語
の場合においての動作について上記した従来装置とほぼ
同一であるので、以下および同一機能のブロックは同一
番号を付して説明は省略する。図1において、1は未定
義語検出器、2はセレクタ、3はレジスタ、4はレジス
タ、5はセレクタ、6は制御部、21は再生データの入
力ポート、22は第1のメモリーであるFRAM、23
はDC成分を記憶するための第2のメモリーであるDR
AM、24はスイッチ、25はシフト器、26はセレク
タ、27はレジスタ、28は符号長検出部、29はAC
成分を記憶するための第3のメモリーであるARAM、
31は可変長復号化部、32は逆量子化部、34は出力
ポートである。以下の説明は定義されていない符号が入
力された場合について示す。ところで、定義されていな
い符号語を検出した場合AC成分を所定値に設定するこ
とで再生された画像のちらつきを軽減することができ
る。ここでは定義されていない符号語が検出された場合
AC成分を強制的に“0”にしてDC成分だけの再生を
行う方法について述べる。
1 is a block diagram of a reproducing apparatus according to an embodiment of the present invention. In the present embodiment, the operation in the case of the defined code word is almost the same as that of the conventional device described above, and therefore the blocks having the same functions as those described below are designated by the same reference numerals and the description thereof will be omitted. In FIG. 1, 1 is an undefined word detector, 2 is a selector, 3 is a register, 4 is a register, 5 is a selector, 6 is a control unit, 21 is a reproduction data input port, and 22 is a first memory FRAM. , 23
Is a second memory for storing the DC component, DR
AM, 24 is a switch, 25 is a shifter, 26 is a selector, 27 is a register, 28 is a code length detector, and 29 is AC.
ARAM, a third memory for storing the components,
Reference numeral 31 is a variable length decoding unit, 32 is an inverse quantization unit, and 34 is an output port. The following description shows the case where an undefined code is input. By the way, when an undefined code word is detected, the flicker of the reproduced image can be reduced by setting the AC component to a predetermined value. Here, a method of forcibly setting the AC component to “0” and reproducing only the DC component when an undefined codeword is detected will be described.

【0017】AC成分をFRAM22からARAM29
へ移す場合、スイッチ24を切り換えることによって、
FRAM22のデータをシフト器25、セレクタ26を
介してレジスタ27に入力する。同時に符号長検出部2
8ではレジスタ27のデータから各時刻毎の可変長符号
語の符号長の検出を行ない、また未定義語検出器1でそ
の可変長符号語が定義されてるかを判断する。もし、未
定義語の符号語であれば、“1”を出力する。一度、未
定義語の可変長符号語が検出されると、その後のARA
M29に記録されるAC成分は誤りが生じる。そのた
め、未定義語検出器1から“1”が出力されると、セレ
クタ2を介してレジスタ3に入力され、3番目のビデオ
セグメントスタートが発生するまで“1”をホールドす
る。レジスタ3から出力された信号はタイミングを合わ
せるために、レジスタ4で1ビデオセグメント遅延させ
る。
AC component is transferred from FRAM 22 to ARAM 29
When moving to, by switching the switch 24,
The data in the FRAM 22 is input to the register 27 via the shifter 25 and the selector 26. At the same time, the code length detector 2
At 8, the code length of the variable length codeword is detected from the data of the register 27 at each time, and the undefined word detector 1 determines whether or not the variable length codeword is defined. If the code word is an undefined word, "1" is output. Once an undefined variable-length codeword is detected, subsequent ARA
An error occurs in the AC component recorded in M29. Therefore, when "1" is output from the undefined word detector 1, it is input to the register 3 via the selector 2 and held at "1" until the third video segment start occurs. The signal output from the register 3 is delayed by one video segment in the register 4 in order to match the timing.

【0018】図2に上記のタイミングを示す。同図にお
いて(a)はシステムクロック、(b)はビデオセグメ
ントスタート、(c)は未定義語検出器1の出力、
(d)はレジスタ3の出力、(e)はレジスタ4の出力
である。ところで、上記に示したレジスタ4の出力は、
図6(d)に示すDRAM23およびARAM29の出
力とタイミングが一致している。そのためセレクタ5の
制御信号とすることでARAM29の出力であるAC成
分を強制的に“0”にすることが実現できる。
FIG. 2 shows the above timing. In the figure, (a) is the system clock, (b) is the video segment start, (c) is the output of the undefined word detector 1,
(D) is the output of the register 3, and (e) is the output of the register 4. By the way, the output of the register 4 shown above is
The timings match the outputs of the DRAM 23 and the ARAM 29 shown in FIG. Therefore, by using the control signal of the selector 5, the AC component output from the ARAM 29 can be forcibly set to "0".

【0019】図3にセレクタ5の制御を示す。図3にお
いて(a)はセレクタ5の模式図、(b)にセレクタ5
の論理を示した図である。図3(b)に示すようにコン
トロール信号D(レジスタ4の出力)とE(DC成分の
抜取り信号:制御部6から出力)によってどの信号を選
択するか決める。図3(b)の論理から分かるようにコ
ントロール信号Eが“1”の場合には、常にDRAM2
3の出力値を選択する。また、コントロール信号Eが
“0”の場合には、ARAM29の出力を選択するが、
この時コントロール信号Dが“1”の場合、つまり未定
義語検出器1が未定義語を検出したことを意味してい
る。そこで、入力信号C(GND)を選択することで、
ARAM29の出力を強制的に“0”にしたことと同じ
になる。つまりAC成分を示す符号語を強制的に“オー
ル0”にしたことになる。また可変長復号化部31は、
符号語が“オール0”ならば復号する信号は“0”を出
力する。したがって、逆量子化部32を介して出力され
る再生信号はAC成分は“0”つまりDC成分だけであ
る。
FIG. 3 shows the control of the selector 5. In FIG. 3, (a) is a schematic diagram of the selector 5, and (b) is the selector 5.
It is the figure which showed the logic of. As shown in FIG. 3B, the control signal D (output of the register 4) and E (DC component sampling signal: output from the control unit 6) determine which signal is selected. As can be seen from the logic of FIG. 3B, when the control signal E is "1", the DRAM 2 is always
Select the output value of 3. When the control signal E is "0", the output of the ARAM 29 is selected,
At this time, if the control signal D is "1", that is, the undefined word detector 1 has detected an undefined word. Therefore, by selecting the input signal C (GND),
This is the same as forcibly setting the output of the ARAM 29 to "0". That is, the code word indicating the AC component is forcibly set to "all 0". Further, the variable length decoding unit 31
If the code word is "all 0", the signal to be decoded outputs "0". Therefore, the reproduced signal output through the dequantization unit 32 has an AC component of "0", that is, a DC component.

【0020】以上のように、本実施例によれば、再生を
行なう際に未定義語の可変長符号語が検出された場合、
未定義語検出器1を設けることにより、AC成分を強制
的に“0”にし、DC成分だけを復号化することで、1
つの小ブロックに誤りが発生した場合、再生された画像
のちらつきを軽減できる。
As described above, according to this embodiment, when a variable length code word of an undefined word is detected during reproduction,
By providing the undefined word detector 1, the AC component is forcibly set to “0” and only the DC component is decoded,
If an error occurs in two small blocks, the flicker of the reproduced image can be reduced.

【0021】また、本実施例では、可変長符号の最大の
符号長が16ビットの場合について説明しているが、そ
の他任意の最大符号長を持つ可変長符号に対しても適用
可能である。同時にフォーマットについても、図4
(b)以外のフォーマットにも適用可能であり、任意の
数の小ブロックについても実現可能である。また実際の
回路構成では、本発明の上記以外の様々な構成が可能で
ある。
In the present embodiment, the case where the maximum code length of the variable length code is 16 bits has been described, but the present invention can be applied to a variable length code having any other maximum code length. At the same time, regarding the format,
It can be applied to formats other than (b), and can also be realized for an arbitrary number of small blocks. In addition, in the actual circuit configuration, various configurations other than the above of the present invention are possible.

【0022】[0022]

【発明の効果】本発明によれば、1つの小ブロックに誤
りが発生した場合、AC成分を強制的に“0”にしてD
C成分だけを復号化することで、再生された画像のちら
つきは防止することができ、その実用的効果は大きい。
According to the present invention, when an error occurs in one small block, the AC component is forcibly set to "0" and D
By decoding only the C component, it is possible to prevent the reproduced image from flickering, and its practical effect is great.

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

【図1】本発明の再生装置の実施例のブロック図FIG. 1 is a block diagram of an embodiment of a reproducing apparatus of the present invention.

【図2】未定義語検出器で未定義語の可変長符号語が検
出された場合のレジスタ3とレジスタ4のタイミング図
FIG. 2 is a timing chart of registers 3 and 4 when a variable length codeword of an undefined word is detected by an undefined word detector.

【図3】セレクタ5の制御を示した図FIG. 3 is a diagram showing control of a selector 5.

【図4】フォーマット化の説明図の分配図FIG. 4 is a distribution diagram of an explanatory diagram of formatting.

【図5】従来の再生装置のブロック図FIG. 5 is a block diagram of a conventional playback device.

【図6】FRAM,DRAM,ARAMの書き込みおよ
び読出しタイミングを示す図
FIG. 6 is a diagram showing write and read timings of FRAM, DRAM, and ARAM.

【図7】FRAMの模式図FIG. 7 is a schematic diagram of FRAM.

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

1 未定義語検出器 2 セレクタ 3、4 レジスタ 5 セレクタ 6 制御部 22 FRAM 23 DRAM 24 スイッチ 25 シフト器 26 セレクタ 27 レジスタ 28 符号長検出部 29 ARAM 31 可変長復号化部 1 undefined word detector 2 selector 3 4 register 5 selector 6 control unit 22 FRAM 23 DRAM 24 switch 25 shifter 26 selector 27 register 28 code length detection unit 29 ARAM 31 variable length decoding unit

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】画像または音声信号を複数画素ずつ集めて
小ブロックを構成し、前記小ブロック内を周波数変換
し、前記周波数変換で得られた直流成分および交流成分
をそれぞれ量子化した後可変長符号化を行い、定められ
たフォーマットに従って記録された記録媒体から前記可
変長符号語を再生する再生手段と、前記ブロックを所定
数集めて前記可変長符号語を再生する再生手段と、前記
再生された可変長符号語が定義された可変長符号語かど
うかを判断する未定義語検出手段と、前記未定義語検出
手段で定義されていない符号語が検出された場合、少な
くとも定義されていない符号語が検出された前記小ブロ
ック全体もしくは定義されていない符号語が検出された
以降の前記小ブロックの符号語に対応する前記交流成分
を所定値に設定する復号化手段を備えたことを特徴とす
る再生装置。
1. A small block is formed by collecting a plurality of pixels of image or audio signals, frequency conversion is performed in the small block, and a DC component and an AC component obtained by the frequency conversion are respectively quantized and then a variable length is obtained. Reproducing means for reproducing the variable length code word from a recording medium which is encoded and recorded in accordance with a predetermined format; reproducing means for collecting a predetermined number of the blocks to reproduce the variable length code word; Undefined word detection means for determining whether the variable length codeword is a defined variable length codeword, and at least an undefined code when a codeword not defined by the undefined word detection means is detected The AC component corresponding to the entire small block in which the word is detected or the code word in the small block after the undefined code word is detected is set to a predetermined value. Reproducing apparatus, comprising the Goka means.
JP25260792A 1992-09-22 1992-09-22 Reproducer Pending JPH06105285A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP25260792A JPH06105285A (en) 1992-09-22 1992-09-22 Reproducer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP25260792A JPH06105285A (en) 1992-09-22 1992-09-22 Reproducer

Publications (1)

Publication Number Publication Date
JPH06105285A true JPH06105285A (en) 1994-04-15

Family

ID=17239725

Family Applications (1)

Application Number Title Priority Date Filing Date
JP25260792A Pending JPH06105285A (en) 1992-09-22 1992-09-22 Reproducer

Country Status (1)

Country Link
JP (1) JPH06105285A (en)

Similar Documents

Publication Publication Date Title
JP3204543B2 (en) Digital magnetic recording / reproducing method and apparatus
JPH0983951A (en) Picture coding, recording and reproducing device
EP0575997B1 (en) Digital video cassette recorder signal processing apparatus
JP3561962B2 (en) Quantization control device and method
KR950008639B1 (en) Digital video signal reproducing apparatus
KR0145160B1 (en) Video signal recording apparatus and reproducing apparatus
JP3011260B2 (en) Apparatus and method for reproducing video segment of digital video cassette recorder
JPH06105285A (en) Reproducer
JP3852114B2 (en) Compressed image data transmission method and apparatus
JP2989417B2 (en) Digital information playback device
US6208803B1 (en) Recording and/or reproducing apparatus which produces main information and historical information with respect to signal processing performed on the main information
JP3158603B2 (en) Digital image signal transmission equipment
JP3353317B2 (en) Digital image signal recording device
JP3063675B2 (en) Video signal playback device
JP2697290B2 (en) Video signal recording device and playback device, recording method and processing device
JPH0795525A (en) Digital signal recorder
JP3136875B2 (en) Data processing device
JPH08171779A (en) Method and device for reproducing compression data
JPH1056613A (en) Compressed image decoder
JPH06215492A (en) Encoding data processor
JP3458388B2 (en) Digital image signal transmission equipment
JPH0730850A (en) Compressed picture recording and reproducing device
JPS62171290A (en) Data transmission system
JPH04314284A (en) Digital vtr recording system and digital vtr using the system
JPH04188980A (en) Recording and reproducing device for video signal