JP2000057711A - Error correction decoding device - Google Patents

Error correction decoding device

Info

Publication number
JP2000057711A
JP2000057711A JP10223484A JP22348498A JP2000057711A JP 2000057711 A JP2000057711 A JP 2000057711A JP 10223484 A JP10223484 A JP 10223484A JP 22348498 A JP22348498 A JP 22348498A JP 2000057711 A JP2000057711 A JP 2000057711A
Authority
JP
Japan
Prior art keywords
data
error correction
code
correction
error
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.)
Withdrawn
Application number
JP10223484A
Other languages
Japanese (ja)
Inventor
Masami Mori
正己 森
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.)
Victor Company of Japan Ltd
Original Assignee
Victor Company of Japan 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 Victor Company of Japan Ltd filed Critical Victor Company of Japan Ltd
Priority to JP10223484A priority Critical patent/JP2000057711A/en
Publication of JP2000057711A publication Critical patent/JP2000057711A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Error Detection And Correction (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an error correction decoding device capable of reducing an access number to a memory having a relatively large storage capacity and reducing power consumption. SOLUTION: An internal code correction circuit 41 of this error correction decoding device performs an error correction decoding operation by an internal code and writes the processed data onto an external memory 42. When reading data stored in the external memory 42, an external code correction circuit 43 copies in an internal memory 45, only the data to which a disappearance flag is simultaneously added. A syndrome is then generated by using the read data, and an error correction operation is performed, based on the generated syndrome, for the data stored in the internal memory 45. The data for which the error correction has been performed is written at an address of the corresponding data in the external memory 42.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、外符号と内符号の
積符号によって誤り訂正符号化されたディジタルデータ
の誤り訂正復号化を行う誤り訂正復号装置に関する。
[0001] 1. Field of the Invention [0002] The present invention relates to an error correction decoding device for performing error correction decoding of digital data which has been error correction coded by a product code of an outer code and an inner code.

【0002】[0002]

【従来の技術】外符号と内符号の積符号によって誤り訂
正符号化されたディジタルデータを磁気テープに記録
し、該記録したデータを再生して誤り訂正復号化を行う
ディジタルVTR(ビデオテープレコーダ)は、すでに
市場に流通しており、このようなディジタルVTRの規
格としてDV規格(またはDVC規格と呼ばれる)が知
られている(例えば、HD-Digital VCR Conference: Spe
cification of Digtal VCRfor Consumer-use (Jul. 199
3))。以下このDV規格の概略を説明する。
2. Description of the Related Art Digital VTR (video tape recorder) for recording digital data error-corrected by a product code of an outer code and an inner code on a magnetic tape and reproducing the recorded data to perform error correction decoding. Are already on the market, and the DV standard (or DVC standard) is known as such a digital VTR standard (for example, HD-Digital VCR Conference: Speech).
cification of Digtal VCR for Consumer-use (Jul. 199
3)). The outline of the DV standard will be described below.

【0003】画像信号は、輝度信号Yと色差信号Cr,
Cbとで構成され、NTSCなどのいわゆる525本/
60フィールド方式では、(4:1:1)で標本化され
て輝度信号Yの水平方向の有効画素数が720画素、垂
直方向の有効ライン数が480本、色差信号Cr,Cb
についてはそれぞれ水平方向の有効画素数が180画
素、垂直方向の有効ライン数が480本である。またP
ALなどのいわゆる625本/50フィールド方式で
は、(4:2:0)で標本化されて輝度信号Yの水平方
向の有効画素数が720画素、垂直方向の有効ライン数
が576本、色差信号Cr,Cbについてはそれぞれ水
平方向の有効画素数が360画素、垂直方向の有効ライ
ン数が288本である。
An image signal is composed of a luminance signal Y and a color difference signal Cr,
And 525 lines such as NTSC /
In the 60-field method, the number of effective pixels in the horizontal direction of the luminance signal Y is 720 pixels, the number of effective lines in the vertical direction is 480, and the color difference signals Cr and Cb are sampled at (4: 1: 1).
The number of effective pixels in the horizontal direction is 180 pixels, and the number of effective lines in the vertical direction is 480. Also P
In a so-called 625 line / 50 field system such as AL, the number of effective pixels in the horizontal direction of the luminance signal Y is 720, the number of effective lines in the vertical direction is 576, and the color difference signal is sampled at (4: 2: 0). For Cr and Cb, the number of effective pixels in the horizontal direction is 360 pixels, and the number of effective lines in the vertical direction is 288.

【0004】これらの有効画素データをブロック化して
DCT(離散コサイン変換)演算を行うことにより、画
像情報の圧縮を行う。DCT演算のためのブロック(以
下「DCTブロック」という)は、具体的には輝度信号
Y及び色差信号Cr,Cbのそれぞれについて1フレー
ムの画素に対して水平8画素×垂直8画素で区切って構
成される。そして、図3(a),(b)に示すように、
画面上の同じ位置の同じ面積に対応する輝度信号YのD
CTブロック4つと、色差信号Cb及びCrのDCTブ
ロック1つずつとからなる6DCTブロックを「マクロ
ブロック」と呼ぶ。さらに図4に示すように、1フレー
ムの画面を27マクロブロック単位で分割し、スーパー
ブロックを構成する。そして、図4の中で各列から1つ
のスーパーブロックを選択し、それぞれのスーパーブロ
ックから1つのマクロブロックを取り出し、5個のマク
ロブロックで1ビデオセグメントを構成する。画像情報
圧縮処理時には、ビデオセグメント単位でデータ量が所
定量以内となるように制御される。さらにこのようにし
てデータ量を収めたビデオセグメントを再度マクロブロ
ック単位に分割して元の画面の位置に並べ戻し、磁気テ
ープに記録するときに1フレームの画面を10本の帯に
分割し、その1本のデータを1トラックに記録する。
Image data is compressed by performing a DCT (Discrete Cosine Transform) operation by blocking these effective pixel data. A block for the DCT operation (hereinafter, referred to as a “DCT block”) is specifically configured such that each of the luminance signal Y and the color difference signals Cr and Cb is divided into eight horizontal pixels × eight vertical pixels for one frame pixel. Is done. Then, as shown in FIGS. 3A and 3B,
D of the luminance signal Y corresponding to the same area at the same position on the screen
A 6 DCT block including four CT blocks and one DCT block for each of the color difference signals Cb and Cr is called a “macro block”. Further, as shown in FIG. 4, a screen of one frame is divided into 27 macroblock units to form a super block. Then, one superblock is selected from each column in FIG. 4, one macroblock is extracted from each superblock, and one video segment is constituted by five macroblocks. At the time of image information compression processing, control is performed such that the data amount is within a predetermined amount in video segment units. Further, the video segment containing the data amount in this way is again divided into macroblock units and arranged back to the original screen position, and when recording on a magnetic tape, the screen of one frame is divided into ten bands, The one data is recorded on one track.

【0005】DCT演算としては、フレーム単位で水平
8画素×垂直8画素で8×8のDCTを行うモード(以
下「静止モード」という)と、フィールド単位で水平8
画素×垂直4画素で8×4のDCTを行い、2つのフィ
ールドの各DCT係数の和と差をとるモード(以下「動
きモード」という)とが設けられており、符号化時に適
応的に切り換え可能とされている。すなわち2つのフィ
ールド間の動きが小さい場合には前者が選択され、動き
が大きい場合には後者が選択される。DCT演算により
得られたDCT係数は、量子化と可変長符号化を施した
後のデータ量が所定値以下で且つ最もその所定値に近い
値となるように、量子化テーブルを選択して量子化され
る。
The DCT operation includes a mode in which 8 × 8 DCT is performed with 8 horizontal pixels × 8 vertical pixels in frame units (hereinafter referred to as “still mode”), and a horizontal 8 pixels in field units.
There is provided a mode (hereinafter referred to as “motion mode”) for performing 8 × 4 DCT by 4 pixels × vertical pixels and calculating the sum and difference of DCT coefficients of two fields, and is adaptively switched at the time of encoding. It is possible. That is, if the movement between two fields is small, the former is selected, and if the movement is large, the latter is selected. The DCT coefficient obtained by the DCT operation is selected by selecting a quantization table so that the data amount after the quantization and the variable length coding is equal to or less than a predetermined value and the value closest to the predetermined value. Be transformed into

【0006】可変長符号化はDCT係数の交流成分につ
いて行われ、交流成分を低周波成分から順次読み出し、
0の連続数と0の後に出現する非0の値の2情報によ
り、2次元ハフマン符号化する。可変長符号化後のデー
タは、図5に示すようにフォーマッティングされ、さら
に図6に示すようにシンクワード、IDコード及び誤り
訂正のためのインナパリティ(内符号)が付加されたシ
ンクブロックが構成され、シンクブロックを単位として
磁気テープ上に記録される。
[0006] The variable length coding is performed on the AC component of the DCT coefficient, and the AC component is sequentially read from the low frequency component.
Two-dimensional Huffman coding is performed based on two pieces of information including a continuous number of 0s and non-zero values appearing after 0s. The data after the variable length coding is formatted as shown in FIG. 5, and a sync block to which a sync word, an ID code and an inner parity (inner code) for error correction are added as shown in FIG. The data is recorded on a magnetic tape in sync block units.

【0007】図5において、各シンクブロックのデータ
領域には、可変長符号化後のデータと共に復号に必要な
パラメータ(選択した量子化テーブルの番号であるQn
o、エラーとコンシールの情報であるSTA、DCTブ
ロックの状況に応じた値をとるクラス番号、及び前記静
止モードまたは動きモードのいずれのモードを選択した
かを示すDCTモードフラグ)も格納されている。ここ
で、コンシールとは、訂正できない誤りが発生した場合
に、前のフレームなどのデータを使用してデータを置き
換えることをいう。
In FIG. 5, in the data area of each sync block, data necessary for decoding together with data after variable length coding (Qn which is the number of the selected quantization table,
o, STA as error and concealment information, a class number taking a value according to the situation of the DCT block, and a DCT mode flag indicating which of the stationary mode and the motion mode is selected). . Here, concealing refers to replacing data using data of a previous frame or the like when an uncorrectable error occurs.

【0008】1ビデオセグメントの情報は、5シンクブ
ロックに格納される。前述したように、1ビデオセグメ
ントは5マクロブロックで構成されるので、1シンクブ
ロックはほぼ1マクロブロックに相当する。1マクロブ
ロックは、輝度信号YのDCTブロック4つと、色差信
号Cb及びCrのDCTブロック1つずつとからなるの
で、それぞれの直流成分(DC)は図5のDC領域に格
納され、交流成分(AC)は、原則として直流成分と同
一のシンクブロック内の、同一のDCTブロックに対応
するAC領域に順次格納される。
[0008] Information of one video segment is stored in five sync blocks. As described above, since one video segment is composed of five macroblocks, one sync block substantially corresponds to one macroblock. Since one macroblock is composed of four DCT blocks of the luminance signal Y and one DCT block of the color difference signals Cb and Cr, each DC component (DC) is stored in the DC area of FIG. AC) is, in principle, sequentially stored in an AC area corresponding to the same DCT block in the same sync block as the DC component.

【0009】誤り訂正符号化は、ビデオデータについて
1フレームを構成する270ビデオセグメントの1/1
0の27ビデオセグメント、すなわち135シンクブロ
ックにビデオAUX(補助情報)の3シンクブロックを
加えた138シンクブロックを集め、これを仮想的に2
次元に配置し、まず列方向に対してリードソロモン符号
化などの誤り訂正符号化(外符号による誤り訂正符号
化)を行ってアウタパリティ(外符号)11バイトを付
加する。列方向の誤り訂正符号化がすべて終了すると、
アウタパリティのシンクブロックが11シンクブロック
となる。これにビデオセグメント及びビデオAUXの1
38シンクブロックを加えた149シンクブロックの行
方向に対して誤り訂正符号化(内符号化による誤り訂正
符号化)を行い、インナパリティ(内符号)8バイトを
付加する。これにより、1トラック分のビデオデータが
構成される(図7(a)参照)。
[0009] The error correction coding is performed by using 1/1 of 270 video segments constituting one frame of video data.
0, ie, 138 sync blocks obtained by adding 3 sync blocks of video AUX (auxiliary information) to 135 sync blocks, and this is virtually 2
First, error correction coding such as Reed-Solomon coding (error correction coding using an outer code) is performed in the column direction, and 11 bytes of outer parity (outer code) are added. When all error correction coding in the column direction is completed,
Outer parity sync blocks are 11 sync blocks. Video segment and video AUX 1
Error correction coding (error correction coding by inner coding) is performed in the row direction of 149 sync blocks to which 38 sync blocks have been added, and 8 bytes of inner parity (inner code) are added. Thus, video data for one track is configured (see FIG. 7A).

【0010】次に従来のVTRにおける再生時の誤り訂
正処理について図7を参照して説明する。1トラック分
の再生データから149シンクブロックを取り出し、こ
れを単位としてまず各シンクブロックの内符号(インナ
パリティ)による誤り訂正復号化を行う。誤りシンボル
数が内符号の訂正能力内と判断されるときは訂正を行
い、訂正能力を越えているときは、そのことを示す消失
フラグを各シンクブロックに付加する(図7(b)の
「×」)。
Next, an error correction process during reproduction in a conventional VTR will be described with reference to FIG. A 149 sync block is extracted from one track of reproduced data, and error correction decoding is first performed using the 149 sync block as a unit using an inner code (inner parity) of each sync block. When the number of error symbols is determined to be within the correction capability of the inner code, correction is performed. When the number of error symbols exceeds the correction capability, an erasure flag indicating that fact is added to each sync block (see FIG. 7B). X ").

【0011】次いで外符号による誤り訂正復号化を、外
符号と消失フラグを用いて行う。すなわち、最初に消失
フラグを参照せずに外符号のみで誤り訂正を試み、それ
で訂正できなかった場合は消失フラグの位置を誤りの位
置とみなして誤り訂正(消失訂正)を行う。この消失フ
ラグ数が外符号の訂正可能範囲内でありながら外符号で
誤り訂正不能となった場合は、内符号訂正で誤訂正が生
じていることになり、誤り位置が特定できないので、そ
のトラックのビデオデータ全体をコンシールして、前フ
レームの同じトラックのデータで置き換える処理を行
う。また、消失フラグを参照しない誤り訂正で外符号が
訂正不能であり、且つ消失フラグ数が外符号の訂正可能
範囲外であった場合は、外符号による訂正ができないの
で、各シンクブロックに付されている消失フラグによっ
て誤りを判断する。すなわち、消失フラグが付加されて
いないシンクブロックを有効とし、消失フラグが付加さ
れているシンクブロックは、前のフレームの同じ位置の
シンクブロックと置き換えるコンシールを行う。例えば
図7(b)では、消失フラグが付加されているシンクブ
ロックは前のフレームの対応するシンクブロックと置き
換え、消失フラグが付加されていないシンクブロックを
有効とする。以上のように内符号と外符号による誤り訂
正とコンシールが行われる。
Next, error correction decoding using the outer code is performed using the outer code and the erasure flag. That is, first, error correction is attempted using only the outer code without referring to the erasure flag, and if the error cannot be corrected, error correction (erasure correction) is performed by regarding the position of the erasure flag as an error position. If the number of erasure flags is within the correctable range of the outer code but the error cannot be corrected by the outer code, it means that an erroneous correction has occurred in the inner code correction, and the error position cannot be specified. Is concealed and replaced with data of the same track in the previous frame. If the outer code cannot be corrected by error correction without referring to the erasure flag and the number of erasure flags is out of the correctable range of the outer code, the outer code cannot be corrected. An error is determined based on the lost flag. That is, the sync block to which the erasure flag is not added is made valid, and the sync block to which the erasure flag is added is concealed to be replaced with the sync block at the same position in the previous frame. For example, in FIG. 7B, the sync block to which the erasure flag is added is replaced with the corresponding sync block of the previous frame, and the sync block to which the erasure flag is not added is made valid. As described above, error correction and concealment using the inner code and the outer code are performed.

【0012】[0012]

【発明が解決しようとする課題】内符号と外符号の積符
号により誤り訂正復号化を行う場合、外符号による訂正
を行う際に求められるのが誤り量であるため、もとの誤
りがあるシンボルを読み込むことが必要となる。そのた
め、外符号による訂正を行う際に訂正を行う単位となる
データ(上述した従来例では、149シンクブロックの
データ)をすべて記憶する比較的大容量のメモリのみを
使用すると、該メモリへのアクセス回数が増加し、消費
電力が増加するという問題があった。
In the case where error correction decoding is performed using a product code of an inner code and an outer code, the amount of error required when performing correction using an outer code is an error amount. It is necessary to read the symbols. Therefore, if only a relatively large-capacity memory that stores all data (units of 149 sync blocks in the above-described conventional example) serving as a unit to be corrected when performing correction using an outer code is used, access to the memory becomes difficult. There is a problem that the number of times increases and power consumption increases.

【0013】本発明はこの点に着目してなされたもので
あり、記憶容量の比較的大きいメモリへのアクセス回数
を減少させ、消費電力を低減することができる誤り訂正
復号装置を提供することを目的とする。
The present invention has been made in view of this point, and an object of the present invention is to provide an error correction decoding device capable of reducing the number of accesses to a memory having a relatively large storage capacity and reducing power consumption. Aim.

【0014】[0014]

【課題を解決するための手段】上記目的を達成するため
本発明は、外符号と内符号の積符号によって誤り訂正符
号化されたディジタルデータを復号化する誤り訂正復号
装置において、内符号による誤り訂正復号化処理を行う
内符号訂正手段と、該内符号訂正手段から出力されるデ
ータを記憶する第1の記憶手段と、前記内符号訂正手段
により訂正できなかったデータのみを記憶する第2の記
憶手段と、該第1の記憶手段に格納されているデータか
らシンドロームを求めるとともに、該シンドロームに基
づく訂正処理を、前記第2の記憶手段に格納されている
データについて実行し、該訂正処理後のデータを前記第
1の記憶手段に格納されている対応するデータの記憶位
置に格納する外符号訂正手段と、前記第1の記憶手段に
格納されたデータについての訂正処理が終了した時点
で、該第1の記憶手段に格納されているデータを出力す
る出力制御手段とを備えることを特徴とする。
SUMMARY OF THE INVENTION In order to achieve the above object, the present invention provides an error correction decoding apparatus for decoding digital data error-corrected by a product code of an outer code and an inner code. An inner code correcting means for performing a correction decoding process, a first storage means for storing data output from the inner code correcting means, and a second storing means for storing only data which cannot be corrected by the inner code correcting means. Calculating a syndrome from the storage means and the data stored in the first storage means, and executing a correction process based on the syndrome on the data stored in the second storage means; Outer code correcting means for storing the data at the storage location of the corresponding data stored in the first storage means, and data stored in the first storage means When the correction processing with is finished, characterized in that it comprises an output control means for outputting the data stored in the first storage means.

【0015】[0015]

【発明の実施の形態】以下本発明の実施の形態を図面を
参照して説明する。図1は本発明の実施の一形態にかか
る誤り訂正復号化装置を含むディジタル画像信号記録再
生装置の要部の構成を示すブロック図であり、この装置
は、前述したDV規格に準拠したVTRである。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing a configuration of a main part of a digital image signal recording / reproducing apparatus including an error correction decoding apparatus according to an embodiment of the present invention. This apparatus is a VTR conforming to the DV standard described above. is there.

【0016】図1において記録系は、ブロック化・シャ
フリング部11と、圧縮処理部12と、誤り訂正符号化
部13と、シンクブロック合成記録変調部14と、記録
アンプ15と、記録ヘッド16とを主たる構成要素と
し、DV規格に準拠した記録信号処理を行う。ブロック
化・シャフリング部11は、入力されるラスタスキャン
の画像データ(輝度信号Y及び2つの色差信号Cb,C
rに対応する画像データ)から垂直8画素×水平8画素
のブロック(以下「DCTブロック」という)を構成
し、このDCTブロックをマクロブロック(Y信号4ブ
ロック、Cb信号1ブロック、Cr信号1ブロック)単
位で出力する。圧縮処理部12は、入力データに対して
DCT(離散コサイン変換)演算、量子化及び可変長符
号化を行い、誤り訂正符号化部13は、誤り訂正符号化
を行いアウタパリティ(外符号)及びインナパリティ
(内符号)の付加を行う。シンクブロック合成記録変調
部14は、磁気テープに記録する小単位を構成するシン
クブロックの合成を行うとともに、磁気テープに記録す
るための変調を行い、シンクブロック合成記録変調部1
4の出力データは、記録アンプ15で増幅され、磁気ヘ
ッド16により記録媒体としての磁気テープ30に記録
される。
In FIG. 1, the recording system includes a blocking / shuffling unit 11, a compression processing unit 12, an error correction encoding unit 13, a sync block synthesis recording modulation unit 14, a recording amplifier 15, a recording head 16 Are the main components, and perform the recording signal processing conforming to the DV standard. The blocking / shuffling unit 11 receives input raster scan image data (a luminance signal Y and two color difference signals Cb and Cb).
r), a block of 8 pixels vertically × 8 pixels horizontally (hereinafter referred to as “DCT block”) is composed of macro blocks (4 blocks of Y signal, 1 block of Cb signal, 1 block of Cr signal). ) Output in units. The compression processing unit 12 performs DCT (Discrete Cosine Transform) operation, quantization and variable length coding on the input data, and the error correction coding unit 13 performs error correction coding and performs outer parity (outer code) and Add inner parity (inner code). The sync block synthesizing recording and modulating unit 14 synthesizes sync blocks constituting a small unit to be recorded on the magnetic tape, and performs modulation for recording on the magnetic tape.
The output data of No. 4 is amplified by the recording amplifier 15 and recorded on the magnetic tape 30 as a recording medium by the magnetic head 16.

【0017】また再生系は、再生ヘッド21と、再生ア
ンプ22と、SYNC検出再生復調部23と、誤り訂正
復号化部24と、伸張処理部25と、画素並べ替え部2
6ととを主たる構成要素とする。なお、再生ヘッド21
は、記録ヘッド16と同一のものとしてもよい。磁気テ
ープ30から再生ヘッド21により再生されたデータ
は、再生アンプ22で増幅され、SYNC検出再生復調
ブロック23に入力される。SYNC検出再生復調ブロ
ック23は、再生データからSYNCワードを検出する
とともに記録時の変調に対応した復調を行う。誤り訂正
復号化部24は、内符号及び外符号を利用した誤り検出
・訂正処理を行い、伸張処理部25は、記録時と逆の処
理、すなわち可変長復号化、逆量子化及び逆DCT演算
を順次行う。画素並べ替え部26は、記録時のシャフリ
ングと逆の処理を行って画素配置を元に戻し、画像デー
タ(輝度信号Y及び色差信号Cb、Cr)を出力する。
The reproduction system includes a reproduction head 21, a reproduction amplifier 22, a SYNC detection reproduction demodulation unit 23, an error correction decoding unit 24, a decompression processing unit 25, and a pixel rearrangement unit 2.
6 and are the main constituent elements. The reproducing head 21
May be the same as the recording head 16. Data reproduced from the magnetic tape 30 by the reproduction head 21 is amplified by the reproduction amplifier 22 and input to the SYNC detection / reproduction demodulation block 23. The SYNC detection / reproduction / demodulation block 23 detects a SYNC word from the reproduction data and performs demodulation corresponding to the modulation at the time of recording. The error correction decoding unit 24 performs an error detection / correction process using the inner code and the outer code, and the decompression processing unit 25 performs processing reverse to that at the time of recording, that is, variable length decoding, inverse quantization, and inverse DCT operation. Are sequentially performed. The pixel rearranging unit 26 performs processing reverse to shuffling at the time of recording to restore the pixel arrangement to the original, and outputs image data (the luminance signal Y and the color difference signals Cb and Cr).

【0018】本発明の誤り訂正復号装置に相当する誤り
訂正復号化部24は、図2に示すように、内符号による
誤り訂正復号化を行う内符号訂正回路41と、内符号訂
正回路41から出力されるデータを記憶する第1の記憶
手段としての外部メモリ42と、外部メモリ42に格納
される149シンクブロックのデータを単位として外符
号による誤り訂正復号化を行う外符号訂正回路43と、
外部メモリ42へのデータの書き込み及び外部メモリ4
2からのデータの読み出しのためのアドレスを発生する
アドレス発生回路44と、内符号訂正回路41により訂
正できなかったデータのみを記憶する第2の記憶手段と
しての内部メモリ45とから構成されている。内部メモ
リ45は、本実施形態では、外符号により訂正可能な範
囲は最大11シンボルであるので、11シンクブロック
分のデータの容量を有する。すなわち、内部メモリ45
の容量は、外符号により訂正可能な最大シンボル数に対
応するデータを格納できるように設定すればよい。
As shown in FIG. 2, an error correction decoding unit 24 corresponding to the error correction decoding apparatus of the present invention includes an inner code correction circuit 41 for performing error correction decoding using an inner code and an inner code correction circuit 41. An external memory 42 as first storage means for storing output data, an outer code correction circuit 43 for performing error correction decoding using an outer code in units of 149 sync block data stored in the external memory 42,
Writing data to the external memory 42 and the external memory 4
An address generation circuit 44 for generating an address for reading data from the memory 2 and an internal memory 45 as second storage means for storing only data that cannot be corrected by the inner code correction circuit 41. . In this embodiment, the internal memory 45 has a data capacity of 11 sync blocks because the range that can be corrected by the outer code is 11 symbols at maximum. That is, the internal memory 45
May be set so that data corresponding to the maximum number of symbols that can be corrected by the outer code can be stored.

【0019】内符号訂正回路41は、149シンクブロ
ックを取り出し、これを単位としてまず各シンクブロッ
クの内符号による誤り訂正復号化を行う。すなわち、誤
りシンボル数が内符号の訂正能力内と判断されるときは
訂正を行い、訂正能力を越えているときは、そのことを
示す消失フラグを各シンクブロックに付加する(図7
(b)参照)。そして、訂正復号化処理後のデータをア
ドレス発生回路44のアドレスを用いて外部メモリ42
に書き込む。
The inner code correction circuit 41 takes out 149 sync blocks, and performs error correction decoding using the inner code of each sync block in units of this. That is, when the number of error symbols is determined to be within the correction capability of the inner code, correction is performed, and when the number exceeds the correction capability, an erasure flag indicating that fact is added to each sync block (FIG. 7).
(B)). The data after the correction decoding process is stored in the external memory 42 using the address of the address generation circuit 44.
Write to.

【0020】外符号訂正回路43は、1)アドレス発生
回路44が発生するアドレスのデータを読み込むととも
に、消失フラグが付加されているシンクブロックのデー
タのみを内部メモリ45にコピーし、2)外部メモリ4
2に格納されているデータによりシンドロームを生成
し、3)該生成したシンドロームによる消失訂正が発生
した場合、内部メモリ45のデータを書き換えることに
よって、訂正処理を行い、4)内部メモリ45内の訂正
されたデータのみ、外部メモリ42の対応するアドレス
に書き戻す処理を行う。なお、消失フラグの数が外符号
による訂正能力を越えていて、消失フラグが付加された
データの全部は、内部メモリ45にコピーできないとき
は、内部メモリ45にコピーできなかったデータについ
ての訂正処理は、アドレス発生回路44が発生する外部
メモリ42のアドレスにアクセスすることより行う。
The outer code correction circuit 43 1) reads the data at the address generated by the address generation circuit 44 and copies only the data of the sync block to which the erasure flag is added to the internal memory 45, and 2) 4
2) a syndrome is generated from the data stored in 2); 3) when the erasure correction due to the generated syndrome occurs, a correction process is performed by rewriting the data in the internal memory 45; Only the written data is written back to the corresponding address in the external memory 42. If the number of the erasure flags exceeds the correction capability of the outer code and all the data to which the erasure flags are added cannot be copied to the internal memory 45, the correction processing for the data that cannot be copied to the internal memory 45 is performed. Is performed by accessing an address of the external memory 42 generated by the address generation circuit 44.

【0021】ここで「シンドローム」は、誤り訂正の対
象となるデータを用いて記録時(誤り訂正符号化時)と
同様の演算処理により生成された外符号(アウタパリテ
ィ)と、再生された外符号(外部メモリ42に格納され
ている外符号)とを比較した結果を示す(ビット単位で
一致しているか、異なっているかを示す)情報である。
Here, the “syndrome” includes an outer code (outer parity) generated by the same arithmetic processing as that at the time of recording (at the time of error correction encoding) using the data to be corrected, and the reproduced outer code. This is information indicating the result of comparison with a code (external code stored in the external memory 42) (indicating whether the code matches or differs in bit units).

【0022】本実施形態では、外符号訂正回路43が出
力制御手段としての機能も有しており、1訂正単位分
(149シンクブロック)の訂正処理が終了すると、外
部メモリ42内のデータを、伸張処理部25に供給する
処理を行う。
In this embodiment, the outer code correction circuit 43 also has a function as an output control means. When the correction processing for one correction unit (149 sync blocks) is completed, the data in the external memory 42 is deleted. The processing for supplying the data to the decompression processing unit 25 is performed.

【0023】以上のように本実施形態では、外符号の訂
正能力に応じた容量(11シンクブロック分)の内部メ
モリ45を設け、誤り訂正処理はこの内部メモリ45に
格納したデータに対して実行するようにしたので、大容
量の外部メモリ42にアクセスする回数を減少させ、消
費電力を低減することができる。
As described above, in the present embodiment, the internal memory 45 having a capacity (for 11 sync blocks) corresponding to the correction capability of the outer code is provided, and the error correction processing is performed on the data stored in the internal memory 45. Therefore, the number of accesses to the large-capacity external memory 42 can be reduced, and power consumption can be reduced.

【0024】なお本発明は上述した実施形態に限るもの
ではなく、種々の変形が可能である。例えば、外符号訂
正回路43とは別に出力制御手段としての機能を有する
出力制御回路を設け、該出力制御回路が、外部メモリ4
2からデータを読み出し、該読み出したデータを伸張処
理部25へ供給する処理を行うようにしてもよい。
The present invention is not limited to the embodiment described above, and various modifications are possible. For example, an output control circuit having a function as output control means is provided separately from the outer code correction circuit 43, and the output control circuit
A process may be performed in which the data is read from the second device 2 and the read data is supplied to the decompression processing unit 25.

【0025】[0025]

【発明の効果】以上詳述したように内符号による誤り訂
正復号化処理を行う内符号訂正手段と、該内符号訂正手
段から出力されるデータを記憶する第1の記憶手段と、
前記内符号訂正手段により訂正できなかったデータのみ
を記憶する第2の記憶手段と、該第1の記憶手段に格納
されているデータからシンドロームを求めるとともに、
該シンドロームに基づく訂正処理を、前記第2の記憶手
段に格納されているデータについて実行し、該訂正処理
後のデータを前記第1の記憶手段に格納されている対応
するデータの記憶位置に格納する外符号訂正手段と、前
記第1の記憶手段に格納されたデータについての訂正処
理が終了した時点で、該第1の記憶手段に格納されてい
るデータを出力する出力制御手段とを備えるように構成
したので、外符号による訂正を行う際に、大容量の第1
の記憶手段にアクセスする回数を減少させ、消費電力を
低減することができる。
As described in detail above, an inner code correction means for performing error correction decoding processing using an inner code, a first storage means for storing data output from the inner code correction means,
A second storage unit that stores only data that cannot be corrected by the inner code correction unit, a syndrome is obtained from data stored in the first storage unit,
A correction process based on the syndrome is performed on data stored in the second storage unit, and the data after the correction process is stored in a storage location of corresponding data stored in the first storage unit. And an output control means for outputting the data stored in the first storage means when the correction processing on the data stored in the first storage means is completed. Therefore, when performing correction by an outer code, a large-capacity first
The number of accesses to the storage means can be reduced, and power consumption can be reduced.

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

【図1】本発明の一実施形態にかかるディジタル画像信
号記録再生装置の構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a digital image signal recording / reproducing apparatus according to an embodiment of the present invention.

【図2】図1の誤り訂正復号化部の構成を示すブロック
図である。
FIG. 2 is a block diagram illustrating a configuration of an error correction decoding unit in FIG. 1;

【図3】マクロブロックを説明するための図である。FIG. 3 is a diagram for explaining a macroblock.

【図4】マクロブロック、スーパーブロック及びビデオ
セグメントの関係を説明するための図である。
FIG. 4 is a diagram for explaining a relationship among a macro block, a super block, and a video segment.

【図5】符号化したデータを記録するときのフォーマッ
トを示す図である。
FIG. 5 is a diagram showing a format when recording encoded data.

【図6】シンクブロックの構成を示す図である。FIG. 6 is a diagram illustrating a configuration of a sync block.

【図7】誤り訂正復号化処理を説明するための図であ
る。
FIG. 7 is a diagram for explaining an error correction decoding process.

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

24 誤り訂正復号化部(誤り訂正復号装置) 41 内符号訂正回路(内符号訂正手段) 42 外部メモリ(第1の記憶手段) 43 外符号訂正回路(外符号訂正手段、出力制御手
段) 44 アドレス発生回路 45 内部メモリ(第2の記憶手段)
24 error correction decoder (error correction decoder) 41 inner code correction circuit (inner code correction means) 42 external memory (first storage means) 43 outer code correction circuit (outer code correction means, output control means) 44 address Generation circuit 45 Internal memory (second storage means)

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 外符号と内符号との積符号によって誤り
訂正符号化されたディジタルデータを復号化する誤り訂
正復号装置において、 内符号による誤り訂正復号化処理を行う内符号訂正手段
と、 該内符号訂正手段から出力されるデータを記憶する第1
の記憶手段と、 前記内符号訂正手段により訂正できなかったデータのみ
を記憶する第2の記憶手段と、 該第1の記憶手段に格納されているデータからシンドロ
ームを求めるとともに、該シンドロームに基づく訂正処
理を、前記第2の記憶手段に格納されているデータにつ
いて実行し、該訂正処理後のデータを前記第1の記憶手
段に格納されている対応するデータの記憶位置に格納す
る外符号訂正手段と、 前記第1の記憶手段に格納されたデータについての訂正
処理が終了した時点で、該第1の記憶手段に格納されて
いるデータを出力する出力制御手段とを備えることを特
徴とする誤り訂正復号装置。
1. An error correction decoding device for decoding digital data error-corrected by a product code of an outer code and an inner code, wherein the inner code correcting means performs an error correction decoding process using the inner code. A first memory for storing data output from the inner code correcting means;
A second storage unit that stores only data that cannot be corrected by the inner code correction unit; a syndrome based on the data stored in the first storage unit; and a correction based on the syndrome. Outer code correcting means for executing processing on data stored in the second storage means and storing the corrected data in a storage location of corresponding data stored in the first storage means And an output control means for outputting the data stored in the first storage means when the correction processing for the data stored in the first storage means is completed. Correction decoding device.
JP10223484A 1998-08-07 1998-08-07 Error correction decoding device Withdrawn JP2000057711A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10223484A JP2000057711A (en) 1998-08-07 1998-08-07 Error correction decoding device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10223484A JP2000057711A (en) 1998-08-07 1998-08-07 Error correction decoding device

Publications (1)

Publication Number Publication Date
JP2000057711A true JP2000057711A (en) 2000-02-25

Family

ID=16798867

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10223484A Withdrawn JP2000057711A (en) 1998-08-07 1998-08-07 Error correction decoding device

Country Status (1)

Country Link
JP (1) JP2000057711A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006070668A1 (en) * 2004-12-28 2006-07-06 International Business Machines Corporation Information recording device, data-flow controller for the device, and control method for the data-flow
JP6069543B1 (en) * 2016-01-12 2017-02-01 東芝デジタルメディアエンジニアリング株式会社 Receiving device and decoding device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006070668A1 (en) * 2004-12-28 2006-07-06 International Business Machines Corporation Information recording device, data-flow controller for the device, and control method for the data-flow
CN101091214B (en) * 2004-12-28 2010-06-09 国际商业机器公司 Information recording device, data-flow controller for the device, and control method for the data-flow
JP6069543B1 (en) * 2016-01-12 2017-02-01 東芝デジタルメディアエンジニアリング株式会社 Receiving device and decoding device

Similar Documents

Publication Publication Date Title
JP3141896B2 (en) Digital video signal recording device
JP3204543B2 (en) Digital magnetic recording / reproducing method and apparatus
JP3428033B2 (en) Digital VTR
JP2630085B2 (en) Recording and playback devices
JPH05252476A (en) Digital magnetic recording device
JP2962053B2 (en) Signal processing device
JPH0723333A (en) Recording and reproducing device for video signal
JP3011260B2 (en) Apparatus and method for reproducing video segment of digital video cassette recorder
JP2000057711A (en) Error correction decoding device
JP3849305B2 (en) Image signal reproducing apparatus and method
JP3207739B2 (en) Image playback device
JP2930089B2 (en) Compressed video information recording method and compressed video information recording 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
JP3104776B2 (en) Image reproducing device and image decoding device
JPH04283473A (en) Video sound digital recording and reproducing device
JP3166969B2 (en) Digital image signal recording device
JP3334140B2 (en) Digital video signal recording apparatus, reproducing apparatus and recording method
JP3049372B2 (en) Digital video signal recording device and recording / reproducing device
KR200151025Y1 (en) Device for recording and reproducing digital image
JPH0795525A (en) Digital signal recorder
JP3787906B2 (en) Digital image signal recording apparatus and image signal recording / reproducing apparatus
JPH0654294A (en) Video signal processing device
JP3854688B2 (en) Image processing apparatus, image processing method, and computer-readable recording medium
JP2002165175A (en) Image-recording apparatus, image-reproducing apparatus and image-recording/reproducing apparatus
JP3552252B2 (en) Information signal recording / reproducing apparatus and information signal recording / reproducing method

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20051101