JPH07115616A - Recording and reproducing device - Google Patents

Recording and reproducing device

Info

Publication number
JPH07115616A
JPH07115616A JP26075093A JP26075093A JPH07115616A JP H07115616 A JPH07115616 A JP H07115616A JP 26075093 A JP26075093 A JP 26075093A JP 26075093 A JP26075093 A JP 26075093A JP H07115616 A JPH07115616 A JP H07115616A
Authority
JP
Japan
Prior art keywords
address information
data
error correction
code
recording
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
JP26075093A
Other languages
Japanese (ja)
Inventor
Hiroshi Okamoto
啓史 岡本
Tatsuji Sakauchi
達司 坂内
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 JP26075093A priority Critical patent/JPH07115616A/en
Publication of JPH07115616A publication Critical patent/JPH07115616A/en
Pending legal-status Critical Current

Links

Landscapes

  • Compression, Expansion, Code Conversion, And Decoders (AREA)
  • Television Signal Processing For Recording (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

PURPOSE:To improve resistance against any error in a transmission line by recording address information for each code corresponding to a prescribed picture element and detecting this information at the time of reproduction. CONSTITUTION:At the time of recording, the number of data bytes in an output from a data packing circuit 3 is counted by an address information generation circuit 4 and for each of encoded data for 32 blocks, 96 kinds of address information are outputted for storing the encoded data of the first byte. Then, a synchronizing signal and an ID are added through an error correct code addition circuit 5 by a recorded signal processing circuit 6 and recorded in a medium 8 by a recording head 7. At the time of reproduction, three pieces of address information among the 96 kinds of address information are detected from the inputted and error-corrected data by an address information detection circuit 13 and when two or more pieces of address information are equal, those data are outputted as the address information. When the absence of any decode disabled flag is judged by an error correction circuit 16, those data are outputted as they are but when there is such a flag, decoded data are replaced with the data of a preceding field and a decoded conversion coefficient is outputted from an output terminal 17.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、テレビジョン等の映像
信号を情報圧縮してVTRなどに記録するための記録再
生装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a recording / reproducing apparatus for compressing a video signal of a television or the like and recording it on a VTR or the like.

【0002】[0002]

【従来の技術】ディジタル化された画像信号を効率的に
情報圧縮する方法として、隣接サンプルからの予測誤差
もしくは直交変換処理後の係数を量子化したものに対し
て、可変長符号化を施すのが有効である。可変長符号化
は、符号化前のデータに対して、発生確率の大きいもの
には短い符号を与え、発生確率の小さいものには長い符
号を与えて符号化することにより、符号化による歪を発
生させることなく平均的な符号量を削減するものであ
る。
2. Description of the Related Art As a method of efficiently compressing information of a digitized image signal, variable length coding is applied to a prediction error from an adjacent sample or a quantized coefficient after orthogonal transform processing. Is effective. Variable-length coding gives a short code to the data with a high probability of occurrence and a long code to the data with a low probability of occurrence to encode the data before coding, thereby causing distortion due to coding. This is to reduce the average code amount without generating it.

【0003】しかしながら可変長符号を復号する場合
は、符号化データの先頭から順番に復号しなければなら
ず、データの途中から復号することはできない。すなわ
ち、可変長符号化データを伝送あるいは記録した場合、
伝送路上で発生するデータの誤りによって、その時点以
降のデータの復号が不可能になる。
However, when decoding a variable length code, it is necessary to decode the encoded data in order from the beginning, and it is not possible to decode from the middle of the data. That is, when variable length encoded data is transmitted or recorded,
Due to an error in the data that occurs on the transmission path, it becomes impossible to decode the data after that point.

【0004】そのため、可変長符号化を伝送あるいは記
録に用いる場合には、伝送路上での誤りの発生に対する
耐性を高める必要がある。特開昭62−141875号
公報で開示されている復号誤り伝播防止方式では、可変
長符号のデータ列中に符号語にない特定パターンを挿入
して、復号時にそのパターンを検出することによって、
そのパターン以降への誤り伝播を抑制している。
Therefore, when variable length coding is used for transmission or recording, it is necessary to increase the resistance to the occurrence of errors on the transmission path. In the decoding error propagation prevention method disclosed in Japanese Patent Application Laid-Open No. 62-141875, by inserting a specific pattern not included in a codeword into a data string of a variable length code and detecting the pattern at the time of decoding,
The error propagation after that pattern is suppressed.

【0005】また、特開平4−86181号公報で開示
されている記録再生装置や特開平4ー252666号公
報で開示されている画像符号化装置では、シンクブロッ
ク内での可変長符号の境界情報をシンクブロック毎に付
加して伝送することにより、誤り伝播を前記境界情報で
示される範囲内に収めている。
Further, in the recording / reproducing apparatus disclosed in Japanese Patent Laid-Open No. 4-86181 and the image coding apparatus disclosed in Japanese Patent Laid-Open No. 4-252666, boundary information of variable-length codes in sync blocks is used. Is added to each sync block for transmission, so that error propagation is contained within the range indicated by the boundary information.

【0006】[0006]

【発明が解決しようとする課題】しかしながら上記第1
の従来の方式では、可変長符号のデータ列中に挿入する
特定パターンは符号語の連結によっても発生しないもの
である必要があるために、特定パターンの長さは一般に
可変長符号の最大符号長よりも長いものになる。このこ
とは、単に冗長度が大きくなるばかりでなく、特定パタ
ーンの誤り率が可変長符号データの誤り率に比べて大き
くなることになる。特定パターンの検出が誤れば、誤り
伝播を抑制することはできないので、特定パターンの誤
り率は可変長符号のデータに比べて十分小さい必要があ
る。
However, the above-mentioned first problem
In the conventional method, the specific pattern to be inserted into the data string of the variable-length code needs to be one that does not occur even by concatenation of codewords, so the length of the specific pattern is generally the maximum code length of the variable-length code. Will be longer than. This means that not only the redundancy becomes large, but also the error rate of the specific pattern becomes larger than the error rate of the variable length code data. If the specific pattern is erroneously detected, error propagation cannot be suppressed. Therefore, the error rate of the specific pattern needs to be sufficiently smaller than that of variable-length code data.

【0007】また、上記第2および第3の方式では、境
界情報にのみ誤り訂正符号や誤り検出符号を付加するこ
とにより、境界情報の誤り率を改善することはできる
が、各シンクブロックに付加しなければならないので、
その分冗長度が大きくなる。また、誤り伝播を止めて、
境界情報で示される場所から可変長復号を再開するため
には、符号語の境界情報に加えて、その符号語に対応す
る画面上の位置の情報も伝送する必要がある。従って、
伝送されるデータ中の付加情報の割合が大きくなり、符
号化効率の低下を招くことになる。
In the second and third methods, the error rate of the boundary information can be improved by adding the error correction code and the error detection code only to the boundary information, but it is added to each sync block. Because I have to
The redundancy increases accordingly. Also, stop error propagation,
In order to restart the variable length decoding from the location indicated by the boundary information, in addition to the boundary information of the codeword, it is necessary to transmit the information of the position on the screen corresponding to the codeword. Therefore,
The ratio of the additional information in the transmitted data becomes large, resulting in a decrease in coding efficiency.

【0008】本発明は上記従来の問題点を解決するもの
で、符号化効率を低下させることなく、伝送路中での誤
りに対する耐性を高める記録再生装置を提供することを
目的とする。
The present invention solves the above-mentioned conventional problems, and an object of the present invention is to provide a recording / reproducing apparatus which improves the resistance to errors in the transmission path without lowering the coding efficiency.

【0009】[0009]

【課題を解決するための手段】この目的を達成するため
に本発明の記録再生装置は、画像信号に対して、所定数
の画素からなる領域を符号量制御単位として、あらかじ
め定められた誤り訂正符号構成ブロックに格納可能な符
号量以下になるように可変長符号化する手段と、前記符
号量制御単位をN分割して得られるN組の画素毎に、前
記可変長符号化結果を誤り訂正符号の1シンボル長単位
に頭詰めして、N組の可変長符号データを出力する手段
と、あらかじめ決められた順番で前記可変長符号データ
列を1シンボル毎に前記誤り訂正符号ブロックに格納す
る手段と、前記誤り訂正符号ブロックにおける、前記N
組のデータ列の先頭の1シンボルのアドレスを示すアド
レス情報を発生する手段と、前記アドレス情報を前記誤
り訂正符号ブロックの所定の領域に格納する手段とを有
し、前記構成により符号化された可変長符号を復号する
際には、誤り訂正処理を行い訂正不能なシンボルに対し
ては誤り訂正不能フラグを立てる手段と、前記アドレス
情報を検出する手段と、所定のタイミングで前記N組の
各可変長符号データ列毎に可変長復号する手段と、誤り
訂正不能フラグが立っているシンボルが含まれる符号の
復号時から現在復号中の組の復号終了タイミングまでの
間復号不能フラグを立て、前記アドレス情報が検出でき
なかった組の復号時にはその組の復号中全てに復号不能
フラグを立てる手段とを有する。
In order to achieve this object, a recording / reproducing apparatus of the present invention uses a predetermined error correction for an image signal, with a region consisting of a predetermined number of pixels as a code amount control unit. A means for performing variable length coding so that the code amount can be stored in a code constituent block or less, and an error correction of the variable length coding result for each N sets of pixels obtained by dividing the code amount control unit into N. A means for outputting N sets of variable-length code data by head-filling in units of one symbol length of the code, and storing the variable-length code data string in the error correction code block for each symbol in a predetermined order. Means and said N in said error correction code block
Coded according to the above-mentioned configuration, having means for generating address information indicating an address of the first symbol of the data string of the set and means for storing the address information in a predetermined area of the error correction code block. When decoding a variable-length code, error correction processing is performed, an error correction impossible flag is set for uncorrectable symbols, a means for detecting the address information, and a predetermined timing for each of the N sets. Means for performing variable length decoding for each variable length code data string, and setting a non-decodable flag from the time of decoding a code including a symbol for which an error correction impossible flag is set to the decoding end timing of the set currently being decoded, When decoding a set for which address information cannot be detected, there is provided means for setting an undecodable flag during the entire decoding of the set.

【0010】また、前記アドレス情報は記録媒体上にそ
れぞれ複数回記録し、再生時には複数個の再生データか
ら多数決判定によってアドレス情報を検出することを特
徴とするものである。
Further, the address information is recorded on the recording medium a plurality of times, and at the time of reproduction, the address information is detected from a plurality of reproduction data by a majority decision.

【0011】[0011]

【作用】上記のような構成により、N組の画素に対応す
る符号語の先頭位置を表わすアドレス情報は、誤り訂正
符号構成ブロックにおいてあらかじめ定められた特定の
位置に配置される。従って、アドレス情報が記録されて
いる位置と内容から、所定の画素に対応する符号語の先
頭が判別できるので、画面上の位置を示す情報を付加す
る必要がなくなる。復号時には、誤り訂正不能フラグが
検出された場合とアドレス情報が検出できなかった場合
に、復号不能フラグを立てることにより、簡単な構成で
復号できなかった区間を検出することができる。
With the above-described structure, the address information representing the head position of the code word corresponding to N sets of pixels is arranged at a predetermined specific position in the error correction code constituent block. Therefore, since the head of the code word corresponding to the predetermined pixel can be determined from the position and the content where the address information is recorded, it is not necessary to add the information indicating the position on the screen. At the time of decoding, when the error correction impossible flag is detected and when the address information cannot be detected, the decoding impossible flag is set to detect the section that cannot be decoded with a simple configuration.

【0012】また、アドレス情報は各シンクブロック毎
には必要でなく、符号量制御単位毎にあればよい。更に
アドレス情報は誤り訂正符号におけるシンボル単位のア
ドレスを示すものとすることにより、アドレス情報を複
数回記録することによる冗長度も十分小さいものとな
り、誤り伝播を抑制するための付加情報によって符号化
効率を低下させることなく、伝送路中での誤りに対する
耐性を高めることとなる。
The address information is not required for each sync block, but may be provided for each code amount control unit. Furthermore, by setting the address information to indicate the address of the symbol unit in the error correction code, the redundancy by recording the address information multiple times becomes sufficiently small, and the coding efficiency is increased by the additional information for suppressing the error propagation. The resistance to errors in the transmission path is increased without reducing the error.

【0013】[0013]

【実施例】以下本発明の画像符号化装置の一実施例につ
いて、図面を参照しながら説明する。図1は本発明の一
実施例における信号処理ブロック図、図2は本発明の一
実施例における誤り訂正符号ブロックの構成図、図3は
本発明の一実施例における記録トラックパターン図であ
る。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the image coding apparatus of the present invention will be described below with reference to the drawings. FIG. 1 is a signal processing block diagram in an embodiment of the present invention, FIG. 2 is a configuration diagram of an error correction code block in an embodiment of the present invention, and FIG. 3 is a recording track pattern diagram in an embodiment of the present invention.

【0014】図1において、1はディジタル信号入力端
子、2は可変長符号化回路、3はデータパッキング回
路、4はアドレス情報発生回路、5は誤り訂正符号付加
回路、6は記録信号処理回路、7は記録ヘッド、8は記
録媒体、9は再生ヘッド、10は再生信号処理回路、1
1は誤り訂正処理回路、12はメモリ、13はアドレス
情報検出回路、14はメモリ読み出し制御回路、15は
可変長復号回路、16は誤り修正回路、17はディジタ
ル信号出力端子である。
In FIG. 1, 1 is a digital signal input terminal, 2 is a variable length coding circuit, 3 is a data packing circuit, 4 is an address information generating circuit, 5 is an error correction code adding circuit, 6 is a recording signal processing circuit, 7 is a recording head, 8 is a recording medium, 9 is a reproducing head, 10 is a reproduction signal processing circuit, 1
1 is an error correction processing circuit, 12 is a memory, 13 is an address information detection circuit, 14 is a memory read control circuit, 15 is a variable length decoding circuit, 16 is an error correction circuit, and 17 is a digital signal output terminal.

【0015】図1のように構成された本実施例の記録再
生装置について、以下その動作を説明する。なお、本実
施例においては、1フィールドを横768画素、縦25
6画素でサンプリングし、1フィールド毎に符号量が1
/3になるように情報圧縮し、1フィールドのデータは
3本のトラックに記録されるものとする。
The operation of the recording / reproducing apparatus of this embodiment constructed as shown in FIG. 1 will be described below. In this embodiment, one field is 768 pixels horizontally and 25 pixels vertically.
The sampling amount is 6 pixels, and the code amount is 1 for each field.
It is assumed that the information is compressed to / 3 and the data of one field is recorded on three tracks.

【0016】映像信号を8ライン*8画素からなるブロ
ック単位に直交変換し、1フィールド毎に所定の符号量
になるような量子化パラメータで量子化された変換係数
データが、ディジタル信号入力端子1より入力する。可
変長符号化回路2において、前記変換データに可変長符
号化処理を施し、符号長が可変の符号化データを出力す
る。データパッキング回路3では32ブロック毎に、符
号化データを1バイト単位に頭詰めして、1バイト毎の
データ列を出力する。ただし、各32ブロックに対応す
る符号化データの符号量が1バイトの整数倍になるよう
に、データ列の末尾に、1バイト以下のダミーデータが
付加される。誤り訂正符号構成ブロックの構成を図2に
示す。
Transform coefficient data obtained by orthogonally transforming a video signal in block units of 8 lines * 8 pixels and quantized with a quantization parameter such that a predetermined code amount is obtained for each field is digital signal input terminal 1. Enter more. In the variable length encoding circuit 2, the conversion data is subjected to a variable length encoding process, and encoded data having a variable code length is output. The data packing circuit 3 head-packs the encoded data in 1-byte units for every 32 blocks and outputs a 1-byte data string. However, dummy data of 1 byte or less is added to the end of the data string so that the code amount of the encoded data corresponding to each 32 blocks is an integral multiple of 1 byte. The structure of the error correction code constituent block is shown in FIG.

【0017】図2において、a1,a2,・・・,a8
16はインナーデータブロックであり、そのうちa1〜
a12,a385〜a396,a757〜a768のそ
れぞれ先頭の16バイトは、アドレス情報格納領域であ
る。a769〜a816はアウターパリティ格納領域、
残りの領域は可変長符号化データ格納領域であり、18
はインナーパリティである。前記バイト単位にパッキン
グされたデータを、誤り訂正符号付加回路5において、
可変長符号化データ格納領域に順次格納する。
In FIG. 2, a1, a2, ..., A8
16 is an inner data block, of which a1
The leading 16 bytes of a12, a385 to a396, and a757 to a768 are address information storage areas. a769 to a816 are outer parity storage areas,
The remaining area is a variable length encoded data storage area,
Is the inner parity. In the error correction code adding circuit 5, the data packed in the byte unit is
The data is sequentially stored in the variable length coded data storage area.

【0018】本実施例においては、図2のa1,a2,
・・・,a768の順で可変長符号化データを順に格納
するものとする。アドレス情報発生回路4では、データ
パッキング回路3から出力されるデータのバイト数をカ
ウントし、32ブロック分に相当する符号化データ毎
に、その先頭の1バイトの符号化データが格納されるア
ドレスを示すアドレス情報を出力する。1フィールドの
映像信号は3072ブロックからなるので、3072/
32=96種類のアドレス情報を出力する。
In this embodiment, a1, a2 of FIG.
The variable-length coded data are stored in order of a768. The address information generation circuit 4 counts the number of bytes of the data output from the data packing circuit 3, and for each piece of encoded data corresponding to 32 blocks, determines the address at which the leading 1-byte encoded data is stored. Outputs the indicated address information. Since the video signal of one field consists of 3072 blocks, 3072 /
32 = 96 types of address information are output.

【0019】図2における誤り訂正符号以外の全データ
格納領域の大きさは、 85*128*6=65280バイト である。すなわち、アドレスは16ビットで表現できる
ことになる。従って、アドレス情報は 16*96=1536ビット=192バイト が最低限必要となる。前記192バイトのアドレス情報
は、図2で示された誤り訂正符号構成ブロックにおい
て、a1〜a12,a385〜a396,a757〜a
768で示される3領域にそれぞれ格納する。すなわ
ち、1符号量制御単位内において同一アドレス情報は、
記録媒体上に3重に記録される。誤り訂正符号付加回路
5でアウターおよびインナーの誤り訂正符号を付加した
後、93バイト毎のインナーコードを出力する。
The size of the entire data storage area other than the error correction code in FIG. 2 is 85 * 128 * 6 = 65280 bytes. That is, the address can be represented by 16 bits. Therefore, 16 * 96 = 1536 bits = 192 bytes are the minimum required for the address information. The 192 byte address information is a1 to a12, a385 to a396, and a757 to a757 in the error correction code constituent block shown in FIG.
It stores in each of the three areas indicated by 768. That is, the same address information in one code amount control unit is
It is recorded on the recording medium in triplicate. After the outer and inner error correction codes are added by the error correction code adding circuit 5, the inner code is output every 93 bytes.

【0020】記録信号処理回路6で、同期信号、IDを
付加し、記録変調処理を施した後、記録ヘッド7を介し
て、記録媒体8上に記録する。1フィールド3本の記録
トラックパターンは図3に示すようになり、図2におけ
るインナーデータブロックa1〜a256,a769〜
784の272ブロックがトラック19に記録され、a
257〜a512,a785〜a800がトラック20
に、a513〜a768,a801〜a816がトラッ
ク21にそれぞれ順番に記録される。従って、図3のト
ラック19、20、21における斜線部22で示すよう
に、アドレス情報は3本のトラックにそれぞれ記録テー
プの幅方向に異なる位置に記録される。
The recording signal processing circuit 6 adds the synchronization signal and the ID and performs recording modulation processing, and then records on the recording medium 8 via the recording head 7. The recording track pattern of three fields in one field is as shown in FIG. 3, and the inner data blocks a1 to a256 and a769 in FIG.
272 blocks of 784 are recorded on track 19 and
257-a512, a785-a800 are trucks 20
In addition, a513 to a768 and a801 to a816 are sequentially recorded on the track 21. Therefore, the address information is recorded on the three tracks at different positions in the width direction of the recording tape, as indicated by the shaded areas 22 in the tracks 19, 20, and 21 of FIG.

【0021】再生時には、再生ヘッド9を介して再生さ
れた信号から、再生信号処理回路10で再生等化、復調
処理等の再生信号処理を施し、誤り訂正処理回路11で
誤り訂正処理を行う。訂正不能の場合にはエラーフラグ
を立てる。訂正されたデータおよびエラーフラグをメモ
リ12に一時格納する。アドレス情報検出回路13では
誤り訂正後のデータから、96種類のアドレス情報をそ
れぞれ3個ずつ検出し、多数決判定を行う。
At the time of reproduction, a reproduction signal processing circuit 10 performs reproduction signal processing such as reproduction equalization and demodulation processing from a signal reproduced through the reproduction head 9, and an error correction processing circuit 11 performs error correction processing. If it cannot be corrected, an error flag is set. The corrected data and the error flag are temporarily stored in the memory 12. The address information detection circuit 13 detects three pieces of each of 96 types of address information from the error-corrected data and makes a majority decision.

【0022】すなわち3個のうち2個以上同じデータで
あればその値をアドレス情報として出力する。ここで、
3個の値が全て異なる場合は、検出できなかったことを
示すアドレス情報検出不能フラグを立てる。可変長復号
回路15では、メモリ12から出力されるデータを復号
して、復号データおよびエラーフラグを出力する。可変
長符号の復号は32ブロック単位に行い、エラーフラグ
が立っていた場合は、その時点から現在復号中の32ブ
ロックが終わるまで復号不能フラグを立てて出力する。
アドレス情報検出不能フラグが立っていた場合は、その
アドレス情報に対応する32ブロックの復号結果全てに
復号不能フラグを立てる。
That is, if two or more of the three data are the same, that value is output as address information. here,
If all three values are different, an address information undetectable flag indicating that the address could not be detected is set. The variable length decoding circuit 15 decodes the data output from the memory 12 and outputs the decoded data and the error flag. Decoding of the variable-length code is performed in units of 32 blocks, and if the error flag is set, the decoding disabled flag is set and output from that point until the end of the 32 blocks currently being decoded.
If the address information undetectable flag has been set, the undecodable flag is set in all the decoding results of 32 blocks corresponding to the address information.

【0023】メモリ読み出し制御回路14では、32ブ
ロック毎にアドレス情報をもとにメモリ12の読み出し
アドレスを発生し、その後は、可変長復号回路15での
復号処理に応じてメモリ12の読み出しを制御する。誤
り修正回路16では、復号不能フラグが立っていない復
号データはそのまま出力し、復号不能フラグが立ってい
る復号データは前フィールドのデータに置き換えて出力
する。ディジタル信号出力端子17では、復号された変
換係数が出力される。
The memory read control circuit 14 generates a read address of the memory 12 based on the address information for every 32 blocks, and thereafter controls the read of the memory 12 in accordance with the decoding process in the variable length decoding circuit 15. To do. The error correction circuit 16 outputs the decoded data in which the undecodable flag is not set as it is, and the decoded data in which the undecodable flag is set is replaced with the data of the previous field and is output. The decoded transform coefficient is output at the digital signal output terminal 17.

【0024】以上説明したように、N組の各可変長符号
データ列の先頭位置を示すアドレス情報は誤り訂正符号
構成ブロックの所定の位置に格納されているので、各組
の可変長符号データ列に対応する画面上での位置の情報
を付加することなく、単に所定の位置に格納されている
アドレス情報を検出することにより、訂正不能の誤りが
伝送路上で発生した場合においても、次のアドレス情報
が示す位置から可変長復号を再開することができる。
As described above, since the address information indicating the head position of each variable length code data string of N sets is stored in the predetermined position of the error correction code constituent block, the variable length code data string of each set is stored. Even if an uncorrectable error occurs on the transmission line by simply detecting the address information stored at a predetermined position without adding the position information on the screen corresponding to The variable length decoding can be restarted from the position indicated by the information.

【0025】また、誤り訂正不能フラグが立っていた場
合には、その時点から現在復号中の組が終わるまで復号
不能フラグを立て、アドレス情報が検出できなかった場
合には、そのアドレス情報に対応する組の復号結果全て
に復号不能フラグを立てることにより、簡単な構成で復
号できなかった区間を検出することができる。復号不能
フラグが立っている区間は復号結果を出力せず、正しく
復号されたデータからその間を補間して出力することに
より、再生画像の破綻を防止できる。
When the error correction impossible flag is set, the decoding impossible flag is set from that point until the group currently being decoded ends, and when the address information cannot be detected, the address information is dealt with. By setting the undecodable flag for all the decoding results of the set, it is possible to detect the section that could not be decoded with a simple configuration. The decoding result is not output in the section in which the undecodable flag is set, and the decoded image is interpolated and output from the correctly decoded data to prevent the reproduction image from being broken.

【0026】記録再生系でのバイト当りの誤り率をpと
するとき、本実施例で示したようにアドレス情報を16
ビットで表した場合、各アドレス情報の誤り率は約2p
になる。しかし、アドレス情報を3重書きして、多数決
判定による検出を行うことにより、各アドレス情報の誤
り率は約12p*pとなり、画像情報を表すデータの誤
り率に比べて十分小さいものとなる。
When the error rate per byte in the recording / reproducing system is p, the address information is 16 as shown in this embodiment.
When expressed in bits, the error rate of each address information is about 2p
become. However, by writing the address information three times and performing detection by majority decision, the error rate of each address information is about 12p * p, which is sufficiently smaller than the error rate of the data representing the image information.

【0027】また、可変長符号データを32ブロック毎
に誤り訂正符号における1シンボル単位に頭詰めしてパ
ッキングすることにより、本実施例のように1シンボル
が1バイトの場合、32ブロック毎のデータ列の末尾に
付加するダミーデータは最大7ビット、平均で3.5ビ
ット発生することになるが、符号量制御単位の全データ
を頭詰めでパッキングしたときに対してアドレス情報は
3ビット少なくできる。その結果、アドレス情報を複数
回記録すればトータルの付加ビット量は小さくなる。
Further, by packing the variable length code data for every 32 blocks by head-packing in a unit of one symbol in the error correction code, when one symbol is 1 byte as in this embodiment, the data for every 32 blocks. A maximum of 7 bits of dummy data is added to the end of the column, and an average of 3.5 bits is generated, but the address information can be reduced by 3 bits compared to the case where all the data of the code amount control unit is packed head-to-head. . As a result, if the address information is recorded a plurality of times, the total amount of additional bits becomes small.

【0028】更に、本実施例の場合、アドレス情報は、
3本のトラック上においてそれぞれ記録テープの幅方向
に異なる位置に記録することにより、テープポスト等に
異物が付着することによってテープの長手方向に傷がつ
いた場合、あるいはヘッドの瞬間的な目詰まり等によっ
て1本のトラックのデータが欠落した場合においても、
3個のアドレス情報のうち2個は正しく再生できる可能
性が大きくなるので、復号時に重要なアドレス情報が保
護できる。
Further, in the case of this embodiment, the address information is
When recording is performed at different positions in the width direction of the recording tape on each of the three tracks, foreign matter adheres to the tape posts or the like to scratch the tape in the longitudinal direction, or instantaneous head clogging occurs. Even if the data of one track is lost due to
Since there is a high possibility that two of the three pieces of address information can be correctly reproduced, important address information can be protected during decoding.

【0029】また、本実施例で示したように、符号量制
御単位をN分割したN組の画素毎に、誤り訂正符号の1
シンボルの整数倍になるようにパッキングすることによ
って、1符号量制御単位のデータを符号化および復号す
るのに、符号化側では、所定数の組毎に並列で可変長符
号化およびパッキング処理を行った後、単純に時分割多
重すればよく、また、復号側では、誤り訂正処理後に、
アドレス情報で先頭位置が示されるN組の符号化データ
列に対して、所定数の組毎に並列で復号処理を行うこと
ができる。すなわち、可変長符号化および復号の並列処
理が簡単に実現でき、処理の高速化が図れる。
Further, as shown in this embodiment, the error correction code is set to 1 for each of N sets of pixels obtained by dividing the code amount control unit into N.
In order to encode and decode data of one code amount control unit by packing so as to be an integral multiple of symbols, the coding side performs variable length coding and packing processing in parallel for each predetermined number of sets. After that, simply perform time division multiplexing, and on the decoding side, after error correction processing,
The decoding process can be performed in parallel for each of a predetermined number of sets on the N sets of encoded data strings whose start position is indicated by the address information. That is, parallel processing of variable length encoding and decoding can be easily realized, and the processing speed can be increased.

【0030】なお、本実施例においては量子化後の直交
変換係数に対して可変長符号化を行った場合に、32ブ
ロック毎にアドレス情報を発生させた場合について説明
したが、これに限らず、予測符号化後のデータなど画素
単位のデータに対して可変長符号化を行い、符号量制御
単位をN分割した画素毎にアドレス情報を発生させた場
合についても同様の効果が得られる。
In this embodiment, the case where the variable length coding is performed on the quantized orthogonal transform coefficient and the address information is generated every 32 blocks has been described, but the present invention is not limited to this. The same effect can be obtained when variable length coding is performed on pixel-based data such as data after predictive coding, and address information is generated for each pixel obtained by dividing the code amount control unit into N.

【0031】[0031]

【発明の効果】以上のように本発明は、可変長符号デー
タと共に、所定の画素に対応する符号毎に誤り訂正符号
構成ブロックでのアドレス情報を記録し、再生時には前
記アドレス情報を検出することにより、誤り伝播を抑制
するための付加情報によって符号化効率を低下させるこ
となく、伝送路中での誤りに対する耐性を高めることが
可能となる。
As described above, according to the present invention, the address information in the error correction code constituent block is recorded for each code corresponding to a predetermined pixel together with the variable length code data, and the address information is detected at the time of reproduction. As a result, it becomes possible to improve the tolerance against errors in the transmission path without reducing the coding efficiency due to the additional information for suppressing the error propagation.

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

【図1】本発明の一実施例における記録再生装置の信号
処理ブロック図
FIG. 1 is a signal processing block diagram of a recording / reproducing apparatus according to an embodiment of the present invention.

【図2】本発明の一実施例における誤り訂正符号ブロッ
クの構成図
FIG. 2 is a configuration diagram of an error correction code block according to an embodiment of the present invention.

【図3】本発明の一実施例における記録トラックパター
ン図
FIG. 3 is a recording track pattern diagram in one embodiment of the present invention.

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

2 可変長符号化回路 3 データパッキング回路 4 アドレス情報発生回路 5 誤り訂正符号付加回路 11 誤り訂正処理回路 12 メモリ 13 アドレス情報検出回路 14 メモリ読み出し制御回路 15 可変長復号回路 16 誤り修正回路 2 variable length coding circuit 3 data packing circuit 4 address information generation circuit 5 error correction code addition circuit 11 error correction processing circuit 12 memory 13 address information detection circuit 14 memory read control circuit 15 variable length decoding circuit 16 error correction circuit

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 H04N 7/32 H04N 7/137 A ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 6 Identification number Office reference number FI Technical display location H04N 7/32 H04N 7/137 A

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】画像信号に対して、所定数の画素からなる
領域を符号量制御単位として、あらかじめ定められた誤
り訂正符号構成ブロックに格納可能な符号量以下になる
ように可変長符号化する手段と、前記符号量制御単位を
N分割して得られるN組の画素毎に、前記可変長符号化
結果を誤り訂正符号の1シンボル長単位に頭詰めして、
N組の可変長符号データを出力する手段と、あらかじめ
決められた順番で前記可変長符号データ列を1シンボル
毎に前記誤り訂正符号ブロックに格納する手段と、前記
誤り訂正符号ブロックにおける、前記N組のデータ列の
先頭の1シンボルのアドレスを示すアドレス情報を発生
する手段と、前記アドレス情報を前記誤り訂正符号ブロ
ックの所定の領域に格納する手段とを有することを特徴
とする記録再生装置。
1. An image signal is subjected to variable length coding such that a region consisting of a predetermined number of pixels is used as a code amount control unit so that the code amount becomes equal to or less than a code amount that can be stored in a predetermined error correction code constituent block. Means, and for each of N sets of pixels obtained by dividing the code amount control unit by N, the variable length coding result is head-filled into a unit of one symbol length of an error correction code,
Means for outputting N sets of variable-length code data; means for storing the variable-length code data string in the error correction code block for each symbol in a predetermined order; and the N in the error correction code block. A recording / reproducing apparatus comprising: means for generating address information indicating an address of one symbol at the head of a set of data strings; and means for storing the address information in a predetermined area of the error correction code block.
【請求項2】所定数の画素からなる領域をN分割して得
られるN組の画素毎の可変長符号化結果と、誤り訂正符
号構成ブロック中の前記N組の可変長符号結果のデータ
列の先頭位置を示すアドレス情報と、誤り訂正符号とか
らなる符号を復号する際に、誤り訂正処理を行い訂正不
能なシンボルに対しては誤り訂正不能フラグを立てる手
段と、前記アドレス情報を検出する手段と、所定のタイ
ミングで前記N組の各可変長符号データ列毎に順次可変
長復号する手段と、誤り訂正不能フラグが立っているシ
ンボルが含まれる符号の復号時から現在復号中の組の復
号終了タイミングまでの間復号不能フラグを立て、前記
アドレス情報が検出できなかった組の復号時にはその組
の復号中全てに復号不能フラグを立てる手段とを有する
ことを特徴とする記録再生装置。
2. A variable length coding result for each N sets of pixels obtained by dividing a region consisting of a predetermined number of pixels into N, and a data string of the N sets of variable length coding results in an error correction code constituent block. When decoding a code consisting of address information indicating the head position of an error correction code and an error correction code, means for performing an error correction process and setting an error correction impossible flag for an uncorrectable symbol, and detecting the address information. Means for sequentially performing variable-length decoding for each of the N sets of variable-length code data strings at a predetermined timing, and for a set currently being decoded from the time of decoding of a code including a symbol for which an error correction impossible flag is set. Means for setting an undecodable flag until the decoding end timing, and setting an undecodable flag during all the decoding of the set when the address information cannot be detected. Recording and reproducing apparatus.
【請求項3】アドレス情報は記録媒体上にそれぞれ複数
回記録し、再生時には複数個の再生データから多数決判
定によってアドレス情報を検出することを特徴とする請
求項1または2記載の記録再生装置。
3. The recording / reproducing apparatus according to claim 1, wherein the address information is recorded on the recording medium a plurality of times, and the address information is detected from a plurality of reproduction data by a majority decision during reproduction.
【請求項4】アドレス情報は異なる記録ヘッドでそれぞ
れ1回以上記録し、各記録トラック上における前記アド
レス情報の記録領域は記録テープ幅方向に互いに異なる
ことを特徴とする請求項3記載の記録再生装置。
4. The recording / reproducing according to claim 3, wherein the address information is recorded one or more times respectively by different recording heads, and the recording areas of the address information on each recording track are different from each other in the recording tape width direction. apparatus.
JP26075093A 1993-10-19 1993-10-19 Recording and reproducing device Pending JPH07115616A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP26075093A JPH07115616A (en) 1993-10-19 1993-10-19 Recording and reproducing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP26075093A JPH07115616A (en) 1993-10-19 1993-10-19 Recording and reproducing device

Publications (1)

Publication Number Publication Date
JPH07115616A true JPH07115616A (en) 1995-05-02

Family

ID=17352225

Family Applications (1)

Application Number Title Priority Date Filing Date
JP26075093A Pending JPH07115616A (en) 1993-10-19 1993-10-19 Recording and reproducing device

Country Status (1)

Country Link
JP (1) JPH07115616A (en)

Similar Documents

Publication Publication Date Title
US8867625B2 (en) Data-file storage, particularly for MPEG format files
CA1241403A (en) Device for correcting and concealing errors in a data stream, and video and/or audio reproduction apparatus comprising such a device
EP0665653B1 (en) Apparatus and method for decoding variable-length code
JPH04320114A (en) Coding/decoding circuit
KR100200801B1 (en) Error correction device
JPH05274818A (en) Digital data processing device and digital video system having the device
US5532837A (en) Digital video signal processing apparatus
JPH05115010A (en) Picture decoder
EP0493129B1 (en) Image processing method and apparatus
JPH0562363A (en) Recording and reproducing method
KR0145160B1 (en) Video signal recording apparatus and reproducing apparatus
JPH07115616A (en) Recording and reproducing device
US6717535B2 (en) System and method for preventing input of variable length codes from being interrupted
JPH07121999A (en) Signal encoder, signal decoder, signal encoding and decoding method
JP3271208B2 (en) Error correction decoding device
KR0186212B1 (en) Error control coding method for the varied speed mode of a dvcr
JP3003460B2 (en) Encoding and decoding device
KR0144975B1 (en) Sink code interleave method and apparatus thereof
JP3259359B2 (en) Data reproducing apparatus and method
JPH1041921A (en) Decoder and coder
JP3287582B2 (en) Image transmission apparatus and image transmission method
JP3158603B2 (en) Digital image signal transmission equipment
JP3063675B2 (en) Video signal playback device
JPH04271071A (en) Error correcting method
KR100371157B1 (en) Method for correcting error of digital vcr