[go: up one dir, main page]

JP2001128163A - Image decoding device - Google Patents

Image decoding device

Info

Publication number
JP2001128163A
JP2001128163A JP30115699A JP30115699A JP2001128163A JP 2001128163 A JP2001128163 A JP 2001128163A JP 30115699 A JP30115699 A JP 30115699A JP 30115699 A JP30115699 A JP 30115699A JP 2001128163 A JP2001128163 A JP 2001128163A
Authority
JP
Japan
Prior art keywords
data
synchronization
error correction
syndrome
circuit
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
JP30115699A
Other languages
Japanese (ja)
Inventor
Hiromasa Nakajima
弘雅 中島
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 JP30115699A priority Critical patent/JP2001128163A/en
Publication of JP2001128163A publication Critical patent/JP2001128163A/en
Pending legal-status Critical Current

Links

Landscapes

  • Compression Of Band Width Or Redundancy In Fax (AREA)
  • Error Detection And Correction (AREA)
  • Detection And Prevention Of Errors In Transmission (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

(57)【要約】 【課題】 回路規模を縮小する。 【解決手段】 伝送路からの符号データの転送レートが
符号復元部等の内部処理能力に比べて極めて低レートで
入力される特性を利用し、単純なインクリメントカウン
タを持ったアドレス生成部を追加し時分割にメモリへの
アクセスを調停することにより単一のメモリ4で同期検
出回路1、誤り訂正回路5、符号復元回路6の処理を実
現し、また誤り訂正回路6についてはシンドローム演算
テーブルROMを用いずに、係数演算回路とシリアル演
算器によりシンドロームエラー検出用の値を求める。
(57) [Summary] [PROBLEMS] To reduce the circuit scale. An address generation unit having a simple increment counter is added by utilizing a characteristic that a transfer rate of code data from a transmission line is input at an extremely low rate as compared with an internal processing capability of a code restoration unit or the like. By arbitrating access to the memory in a time-division manner, the processing of the synchronization detection circuit 1, the error correction circuit 5, and the code restoration circuit 6 is realized by the single memory 4, and the syndrome calculation table ROM is used for the error correction circuit 6. Instead, a value for detecting a syndrome error is obtained by a coefficient arithmetic circuit and a serial arithmetic unit.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、画像伝送後のデー
タを復号化処理するための画像復号化装置に関するもの
である。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image decoding apparatus for decoding data after image transmission.

【0002】[0002]

【従来の技術】近年、デジタル信号処理技術の進歩や通
信基盤の整備により、画像通信を主体としたマルチメデ
ィア・コミュニケーションの分野の成長が見込まれてい
る。しかし、画像データをそのままデジタル化して扱う
場合、情報量が莫大となる。伝送路の有効利用のため
に、ITU−T勧告H.261、H.263などの圧縮
技術によって情報量を削減して画像データを伝送する必
要がある。
2. Description of the Related Art In recent years, with the progress of digital signal processing technology and the development of communication infrastructure, the field of multimedia communication mainly for image communication is expected to grow. However, when the image data is directly digitized and handled, the amount of information becomes enormous. For effective use of the transmission path, ITU-T Recommendation H. 261, H .; It is necessary to transmit the image data while reducing the amount of information by a compression technique such as H.263.

【0003】以下に一般的な画像復号化装置について説
明する。
[0003] A general image decoding apparatus will be described below.

【0004】図8は一般的な画像復号化装置の構成を示
すブロック図である。図8において、101は一定間隔
で挿入されている同期ビットを検出する同期検出回路で
ある。
FIG. 8 is a block diagram showing a configuration of a general image decoding apparatus. In FIG. 8, reference numeral 101 denotes a synchronization detection circuit that detects synchronization bits inserted at regular intervals.

【0005】102は同期検出回路101で同期検出す
るための一定期間分のデータを蓄える同期検出用FIF
O(先入れ先出し)メモリである。
[0005] Reference numeral 102 denotes a synchronization detection FIFO that stores data for a predetermined period for synchronization detection by the synchronization detection circuit 101.
O (first in first out) memory.

【0006】103は伝送路からきた符号データの誤り
を検出し訂正を行う誤り訂正回路である。
Reference numeral 103 denotes an error correction circuit for detecting and correcting an error in the code data coming from the transmission line.

【0007】104は誤り訂正回路103で用いる1フ
レーム分の遅延データを蓄える誤り訂正用FIFOメモ
リである。
An error correction FIFO memory 104 stores one frame of delayed data used in the error correction circuit 103.

【0008】106は誤り訂正回路103により伝送誤
りを訂正した符号データを蓄える符号復元用FIFOメ
モリである。
Reference numeral 106 denotes a code restoration FIFO memory for storing code data in which a transmission error has been corrected by the error correction circuit 103.

【0009】105は符号復元用FIFOメモリ106
に蓄えられた符号データを画像データに復元する符号復
元用回路である。
Reference numeral 105 denotes a code restoration FIFO memory 106.
Is a code restoring circuit for restoring the code data stored in the image data into image data.

【0010】107は伝送路からの受信データの同期検
出回路101へ送る状態と誤り訂正回路103へ送る状
態を切り替えるスイッチである。
Reference numeral 107 denotes a switch for switching between a state in which the data received from the transmission path is sent to the synchronization detection circuit 101 and a state in which the data is sent to the error correction circuit 103.

【0011】図9は誤り訂正回路103と誤り訂正用F
IFOメモリ104の一般的な構成を示すブロック図で
ある。図9において、111は伝送路からの符号データ
をシンドローム演算するために蓄積するとともに最終的
に演算したシンドロームの値を蓄積するシンドロームレ
ジスタである。
FIG. 9 shows an error correction circuit 103 and an error correction F
FIG. 2 is a block diagram showing a general configuration of an IFO memory 104. In FIG. 9, reference numeral 111 denotes a syndrome register for accumulating code data from a transmission path for performing a syndrome operation and for accumulating a finally calculated syndrome value.

【0012】112はシンドロームレジスタ111の蓄
積データと伝送路からの符号データによりシンドローム
演算を行うシンドローム演算器である。
Reference numeral 112 denotes a syndrome calculator for performing a syndrome operation based on the data stored in the syndrome register 111 and the code data from the transmission line.

【0013】113は最終的に演算したシンドロームの
値が蓄積されたシンドロームレジスタ111の値を誤り
訂正するためのデータに変換するシンドローム演算テー
ブルROMである。
Reference numeral 113 denotes a syndrome calculation table ROM for converting the value of the syndrome register 111 in which the finally calculated syndrome value is stored into data for error correction.

【0014】114は伝送路のデータを1フレーム分遅
延させるFIFOメモリであり、図8の誤り訂正用FI
FOメモリ104と同じである。
Reference numeral 114 denotes a FIFO memory for delaying the data on the transmission line by one frame, and the FIFO for error correction shown in FIG.
It is the same as the FO memory 104.

【0015】115はシンドローム演算テーブルROM
113によって変換されたデータを蓄え、シリアル演算
によってシンドロームエラー検出を行うためのシンドロ
ームエラーレジスタである。なお、シンドロームエラー
検出というのは、シリアル演算(除算)により余りが0
になれば、誤りなしであるということを検出することで
ある。
115 is a syndrome calculation table ROM
A syndrome error register for storing the data converted by 113 and detecting a syndrome error by a serial operation. The syndrome error detection means that the remainder is 0 due to a serial operation (division).
Is to detect that there is no error.

【0016】116はシンドロームエラーレジスタ11
5を用いてシンドロームエラー用の演算を実施するシン
ドロームエラー演算器である。なお、シンドロームエラ
ー用の演算というのは、上記した余りが0以外の場合に
は、符号ビットに誤りがあるので、余りデータを基に係
数変換(乗算)をシリアル演算にて実施することであ
る。
Reference numeral 116 denotes a syndrome error register 11
5 is a syndrome error calculator for performing a calculation for a syndrome error. Note that the operation for syndrome error means that when the remainder is other than 0, the sign bit has an error, so that coefficient conversion (multiplication) is performed by serial operation based on the remainder data. .

【0017】117はFIFOメモリ114によって1
フレーム分遅延された伝送路データとシンドロームレジ
スタ115に蓄えられたデータをもとに誤り訂正を行
い、符号復元用データを出力する訂正回路である。
Reference numeral 117 denotes 1 by the FIFO memory 114.
A correction circuit that performs error correction based on the transmission path data delayed by the frame and the data stored in the syndrome register 115 and outputs code restoration data.

【0018】以上のような画像復号化装置についてその
動作を以下に説明する。
The operation of the above image decoding apparatus will be described below.

【0019】図8において、伝送路接続後の最初のデー
タは、まずスイッチ107および同期検出回路101を
経由して同期検出用FIFOメモリ102に蓄えられ
る。同期検出用FIFOメモリ102によって1フレー
ム分遅れたデータと伝送路からの受信データの2ビット
以上のデータを用いて同期パターンを検出し、同期ビッ
ト位置を検出していく。この従来例の同期パターンの検
出手順は後述の実施の形態の場合の同期パターンの検出
と同じである。ただ、後述の実施の形態の説明の場合、
同期が確定した後のことを言っているので、1ビットだ
け(フレーム毎に)観測すればよい。メモリ削減のため
に、実施の形態では、メモリを使用してはいない。
In FIG. 8, the first data after connection of the transmission line is first stored in the FIFO memory 102 for synchronization detection via the switch 107 and the synchronization detection circuit 101. The synchronization detection FIFO memory 102 detects a synchronization pattern using data delayed by one frame and data of two or more bits of data received from the transmission line, and detects a synchronization bit position. The procedure for detecting a synchronization pattern in this conventional example is the same as the detection of a synchronization pattern in the embodiment described later. However, in the case of the embodiment described below,
Since it refers to the state after the synchronization has been determined, only one bit needs to be observed (for each frame). In order to reduce the memory, the embodiment does not use a memory.

【0020】同期ビットを検出すると、スイッチ107
を反転させることで、同期ビット以外のデータを誤り訂
正回路103に送り、誤り訂正用FIFOメモリ104
を用いて誤り訂正を実施する。同期検出および誤り訂正
は、伝送路からの転送レートに合わせて演算され、画像
の符号データとして一定の間隔で符号復元用FIFOメ
モリ106に蓄えられる。画像の符号データは符号復元
用回路105の処理能力に応じて読み出しが行われ、画
像データへの復元を行う。なお、スイッチ107は、同
期検出後は、常に誤り検出回路103側に切り替わって
おり、同期が外れた場合に同期検出回路101側に切り
替わる。
When a synchronization bit is detected, the switch 107
, The data other than the synchronization bit is sent to the error correction circuit 103, and the error correction FIFO memory 104
Error correction is performed using. Synchronization detection and error correction are calculated in accordance with the transfer rate from the transmission line, and are stored in the code restoration FIFO memory 106 at regular intervals as image code data. The code data of the image is read out in accordance with the processing capability of the code restoration circuit 105, and restoration to image data is performed. Note that the switch 107 is always switched to the error detection circuit 103 after the synchronization is detected, and is switched to the synchronization detection circuit 101 when the synchronization is lost.

【0021】また、誤り訂正回路103と誤り検出用F
IFOメモリ104とでは、次のように動作する。
The error correction circuit 103 and the error detection F
The operation with the IFO memory 104 is as follows.

【0022】まず伝送路からの受信データが入力される
と、データの入力毎にシンドロームレジスタ111とシ
ンドローム演算器112とによるシリアル演算が実施さ
れ、1フレーム分のシンドローム演算が行われる。
First, when data received from the transmission path is input, a serial operation is performed by the syndrome register 111 and the syndrome calculator 112 every time data is input, and a syndrome operation for one frame is performed.

【0023】1フレーム分のシンドローム演算が終了し
た時点で、その演算結果が、シンドローム演算テーブル
ROM113を用いてエラー検出を行うための演算値に
変換され、変換後のデータがシンドロームエラー演算用
のシンドロームエラーレジスタ115にセットされる。
When the syndrome calculation for one frame is completed, the calculation result is converted into a calculation value for performing error detection using the syndrome calculation table ROM 113, and the converted data is used as a syndrome for syndrome error calculation. It is set in the error register 115.

【0024】次に、FIFOメモリ114によって伝送
路からの受信データを蓄えることで、FIFOメモリ1
14から出力される1フレーム分遅れたデータとレジス
タ115の値とを用いて訂正回路117によってデータ
の誤り訂正が行われる。この誤り訂正動作と並行してF
IFOメモリ114によって1フレーム分遅れたデータ
とレジスタ115に格納されたデータとで、シンドロー
ムエラー演算器116によってシリアル演算が実施され
る。その演算結果はシンドロームエラーレジスタ115
に蓄えられる。蓄えられたシンドロームエラーレジスタ
115の値は次のデータとの誤り訂正用の値として使わ
れ、この動作が1フレーム分繰り返されて1フレーム分
の誤り訂正された符号データが出力される。
Next, by storing the data received from the transmission line by the FIFO memory 114, the FIFO memory 1
The error correction of the data is performed by the correction circuit 117 using the data delayed by one frame output from 14 and the value of the register 115. In parallel with this error correction operation, F
Serial operation is performed by the syndrome error calculator 116 on the data delayed by one frame by the IFO memory 114 and the data stored in the register 115. The calculation result is output to the syndrome error register 115.
Is stored in The stored value of the syndrome error register 115 is used as an error correction value for the next data, and this operation is repeated for one frame, and one frame of error-corrected code data is output.

【0025】[0025]

【発明が解決しようとする課題】しかしながら、上記従
来の画像復号化装置の構成では、同期検出回路101、
誤り訂正回路103、符号復元回路105のそれぞれに
バッファメモリ、具体的には、同期検出用FIFOメモ
リ102、誤り訂正用FIFOメモリ104、符号復元
用FIFOメモリ106が必要となり、また誤り訂正回
路103についてはさらにシンドロームエラー演算用の
データとしてシンドローム演算テーブルROM113が
必要となる。つまり、複数のハードマクロを使用するこ
とにより、レイアウト設計時における制約やメモリ容量
の増加により回路規模が増大してしまうという問題点が
あった。
However, in the configuration of the above-described conventional image decoding apparatus, the synchronization detecting circuit 101,
Each of the error correction circuit 103 and the code restoration circuit 105 requires a buffer memory, specifically, a synchronization detection FIFO memory 102, an error correction FIFO memory 104, and a code restoration FIFO memory 106. Requires a syndrome calculation table ROM 113 as data for calculating a syndrome error. In other words, there is a problem that the use of a plurality of hard macros increases the circuit scale due to restrictions during layout design and an increase in memory capacity.

【0026】したがって、本発明の目的は、単一のメモ
リで同期検出部、誤り訂正部、符号復元部の処理を実現
し、回路規模を縮小することができる画像復号化装置を
提供することである。
Accordingly, it is an object of the present invention to provide an image decoding apparatus which realizes the processing of a synchronization detecting section, an error correcting section, and a code restoring section with a single memory and can reduce the circuit scale. is there.

【0027】また、本発明の他の目的は、シンドローム
演算テーブルROMを使用せずにシンドロームエラー検
出のための演算を行うことができ、回路規模を縮小する
ことができる画像復号化装置を提供することである。
Another object of the present invention is to provide an image decoding apparatus capable of performing an operation for detecting a syndrome error without using a syndrome operation table ROM and reducing the circuit scale. That is.

【0028】[0028]

【課題を解決するための手段】本発明は、伝送路からの
符号データの転送レートが符号復元部等の内部処理能力
に比べて極めて低レートで入力される特性を利用し、単
純なインクリメントカウンタを持ったアドレス生成部を
追加し時分割にメモリへのアクセスを調停することによ
り単一のメモリで同期検出部、誤り訂正部、符号復元部
の処理を実現したものであり、特に、誤り訂正部につい
てもシンドローム演算テーブルROMを用いず、係数演
算回路とシリアル演算回路を用いてシンドロームエラー
検出のためのデータを求めるようにしたものである。
SUMMARY OF THE INVENTION The present invention utilizes a characteristic that a transfer rate of coded data from a transmission line is input at an extremely low rate as compared with an internal processing capability of a code recovery unit or the like, and uses a simple increment counter. By adding an address generation unit with a arbitration and arbitrating access to the memory in a time-sharing manner, the processing of the synchronization detection unit, error correction unit, and code restoration unit can be realized with a single memory. As for the section, data for detecting a syndrome error is obtained using a coefficient operation circuit and a serial operation circuit without using the syndrome operation table ROM.

【0029】請求項1記載の発明の画像復号化装置は、
フレーム同期のために一定間隔で挿入されている同期パ
ターンを検出する同期検出部と、受信データに対して誤
りを検出し訂正を行う誤り訂正部と、符号データを復元
する符号復元部と、単一の記憶手段と、伝送路からの符
号データの転送レートが同期検出部、誤り訂正部および
符号復元部の内部処理能力に比べて極めて低レートで入
力される特性を利用し、同期検出部、誤り訂正部および
符号復元部の符号データを単一の記憶手段を用いて処理
をするために、記憶手段への書き込み読み出し時にのみ
アドレスポインタがインクリメント演算するアドレス制
御部とを備え、時分割に記憶手段へのアクセスを調停す
ることを特徴とする。
The image decoding apparatus according to the first aspect of the present invention provides:
A synchronization detection unit for detecting a synchronization pattern inserted at regular intervals for frame synchronization, an error correction unit for detecting and correcting an error in received data, a code restoration unit for restoring code data, One storage means, utilizing the characteristic that the transfer rate of the code data from the transmission path is input at an extremely low rate compared to the internal processing capacity of the synchronization detection unit, the error correction unit and the code recovery unit, In order to process the code data of the error correction unit and the code restoration unit using a single storage unit, an address control unit that increments an address pointer only when writing and reading to the storage unit is provided, and is stored in a time-division manner. Mediating access to the means.

【0030】なお、時分割に記憶手段へのアクセスを調
停するというのは、特定のタイミングを設けてリードラ
イトを制御することで、同期を検出するまでは、例えば
図3のタイミングで、ライト、リード、リード、リード
というのようにアクセスを行い、それ以後は、例えば図
4のタイミングで、誤り訂正、符号復元可能なタイミン
グでそれぞれから要求のあるときにリードもしくはライ
トすることをいう。
The arbitration of access to the storage means in a time-division manner means that read / write is controlled by providing a specific timing, and until the synchronization is detected, for example, the write, write, An access such as read, read, or read is performed, and thereafter, read or write is performed when there is a request from each of them at a timing at which error correction and code restoration can be performed, for example, at the timing shown in FIG.

【0031】この構成によれば、伝送路からの符号デー
タの転送レートが同期検出部、誤り訂正部、符号復元部
の内部処理能力に比べて極めて低レートで入力される特
性を利用し、記憶手段への書き込み読み出し時にのみア
ドレスポインタがインクリメント演算するアドレス制御
部を追加し、時分割に記憶手段へのアクセスを調停する
ことにより単一の記憶手段で同期検出部、誤り訂正部、
符号復元部の処理を実現することができ、回路規模を縮
小することができる。
According to this configuration, the transfer rate of the coded data from the transmission line is stored at a very low rate compared with the internal processing capability of the synchronization detection unit, the error correction unit, and the code restoration unit. An address control unit that increments the address pointer only when writing to and reading from the means, and arbitrates access to the storage means in a time-division manner, so that the synchronization detection unit, the error correction unit,
The processing of the code restoration unit can be realized, and the circuit scale can be reduced.

【0032】また、記憶手段への書き込み読み出し時に
のみアドレスポインタがインクリメント演算することに
より、アドレス発生を全ての+1の演算だけで済ませる
ことができ、回路を削減できる。
Further, the address pointer performs the increment operation only at the time of writing / reading to / from the storage means, so that the address generation can be performed only by all +1 operations, and the number of circuits can be reduced.

【0033】また、請求項2記載の発明の画像復号化装
置は、請求項1記載の画像復号化装置において、同期検
出部は、記憶手段の記憶容量がnビット(nは正整
数)、一定周期にある同期パターンのフレーム数がm
(mは正整数)の場合に(n/m)+1のデータを用い
て同期ビットの位置を検出する同期ビット位置検出部
と、前記同期ビット位置検出部による同期位置の検出後
は、記憶手段を用いずにn/mごとに前後の同期保護を
行う同期ビット確定部とで構成されることを特徴とす
る。
According to a second aspect of the present invention, in the image decoding apparatus of the first aspect, the synchronization detecting section is configured such that the storage capacity of the storage means is n bits (n is a positive integer) and is fixed. The number of frames of the synchronization pattern in the cycle is m
In the case of (m is a positive integer), a synchronization bit position detection unit for detecting the position of a synchronization bit using data of (n / m) +1, and a storage unit after the detection of the synchronization position by the synchronization bit position detection unit , And a synchronization bit determination unit that performs protection before and after every n / m.

【0034】なお、この請求項2は、図5の構成に対応
しており、特に同期ビット確定部は同期チェック回路が
対応している。また、同期ビットの位置検出は、例えば
図3のタイミングで、フレーム数m毎のデータを読み込
み、入力データとあわせてパターンマッチングを行うこ
とにより実施する。また、前後の同期保護のうち、前保
護は、同期ビットを発見し、確定するまでと、何フレー
ム分がそれを確認しないと同期検出したことにしないと
いうことであり、後保護は、同期確定中に、同期ビット
に誤りがあった場合に、すぐには同期外れを示さず、数
フレームの中である決めた数の誤りがあった場合に、同
期が外れるとすることである。
The claim 2 corresponds to the configuration shown in FIG. 5. In particular, the synchronization bit determination section corresponds to the synchronization check circuit. The position of the synchronization bit is detected, for example, by reading data for each frame number m at the timing shown in FIG. 3 and performing pattern matching together with the input data. Of the preceding and following synchronization protections, the pre-protection is that the synchronization bit is not detected until the synchronization bit is found and determined, and then synchronization is not detected unless a certain number of frames have been confirmed. If an error occurs in a synchronization bit during the synchronization, synchronization is not immediately indicated. If there is a predetermined number of errors in several frames, synchronization is lost.

【0035】この構成によれば、同期ビット確定部によ
って記憶手段を用いずにn/mごとに前後の同期保護を
行うので、誤り訂正処理および符号復元処理を行ってい
るときに、記憶手段において同期検出のために用いてい
た領域を誤り訂正処理および符号復元処理のために使用
することができ、全体として記憶手段の容量を削減でき
る。
According to this configuration, since the synchronization protection is performed before and after every n / m by the synchronization bit determination unit without using the storage means, the error correction processing and the code restoration processing are performed by the storage means when the error correction processing and the code restoration processing are performed. The area used for synchronization detection can be used for error correction processing and code restoration processing, and the capacity of the storage means can be reduced as a whole.

【0036】また、請求項3記載の発明の画像復号化装
置は、請求項1記載の画像復号化装置において、誤り訂
正部が、復号側シンドローム演算手段で算出されたシン
ドロームの値から、シンドローム演算テーブルROMを
用いずに係数演算手段とシリアル演算手段とを用いて3
乗演算を含む係数演算を行い、シンドロームエラー検出
用の値を求めることを特徴とする。
According to a third aspect of the present invention, in the image decoding apparatus according to the first aspect, the error correction unit calculates a syndrome from the value of the syndrome calculated by the decoding-side syndrome calculating means. 3 without using the table ROM and using the coefficient calculating means and the serial calculating means.
A coefficient operation including a multiplication operation is performed to obtain a value for detecting a syndrome error.

【0037】この構成によれば、誤り訂正部において、
シンドローム演算テーブルROMを用いずシリアル演算
を繰り返し行うことによりシンドロームエラー検出用の
値を求めるので、回路規模を縮小することができる。
According to this configuration, in the error correction unit,
Since a value for detecting a syndrome error is obtained by repeatedly performing a serial operation without using the syndrome operation table ROM, the circuit scale can be reduced.

【0038】[0038]

【発明の実施の形態】以下、本発明の実施の形態につい
て図面を参照しながら説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0039】図1は本発明の実施の形態における画像復
号化装置の構成を示すブロック図である。図1におい
て、1は画像データ中に一定間隔で挿入されている同期
ビットを検出する同期検出部としての同期検出回路であ
る。
FIG. 1 is a block diagram showing a configuration of an image decoding apparatus according to an embodiment of the present invention. In FIG. 1, reference numeral 1 denotes a synchronization detection circuit as a synchronization detection unit that detects synchronization bits inserted at regular intervals in image data.

【0040】4は演算結果を蓄える単一の第1の記憶手
段としてのメモリである。
Reference numeral 4 denotes a memory as a single first storage means for storing the operation result.

【0041】2は単一のメモリ4を用いるために時分割
処理したデータを制御するためのデータ制御回路であ
る。なお、このデータ制御回路2は、後で詳しく説明す
る図3や図4のようにアドレスが制御されることで、そ
れぞれ毎(時間毎)に違う役割(レジスタ)に使われ、
誤り訂正や復号化等に使われる。
Reference numeral 2 denotes a data control circuit for controlling time-division-processed data in order to use a single memory 4. The address of the data control circuit 2 is controlled as shown in FIGS. 3 and 4 which will be described in detail later, so that the data control circuit 2 is used for different roles (registers) every time (time).
Used for error correction and decoding.

【0042】3は単一のメモリ4を用いるためにそれぞ
れの命令に必要なインクリメント演算を行いアドレスを
制御するアドレス制御部としてのアドレス制御回路であ
る。
Reference numeral 3 denotes an address control circuit as an address control unit for controlling an address by performing an increment operation necessary for each instruction in order to use a single memory 4.

【0043】5は同期検出回路1によって同期検出され
た後から誤り訂正を行う誤り訂正部としての誤り訂正回
路である。
Reference numeral 5 denotes an error correction circuit as an error correction unit for performing error correction after the synchronization is detected by the synchronization detection circuit 1.

【0044】6は誤り訂正後の符号データを画像データ
に復元する符号復元部としての符号復元回路である。
Reference numeral 6 denotes a code restoration circuit as a code restoration unit for restoring the error-corrected code data into image data.

【0045】図2は本発明の実施の形態における画像復
号化装置のうちのアドレス制御回路3の構成を示すブロ
ック図である。図2において、10は誤り訂正リードデ
ータ用および符号復元リードライトデータ用のアドレス
ポインタレジスタである。
FIG. 2 is a block diagram showing a configuration of the address control circuit 3 in the image decoding apparatus according to the embodiment of the present invention. In FIG. 2, reference numeral 10 denotes an address pointer register for error correction read data and code recovery read / write data.

【0046】11は同期検出リードライトデータ用上位
のアドレスポインタレジスタである。
Numeral 11 is an upper address pointer register for synchronous detection read / write data.

【0047】12は誤り訂正ライトデータ用と同期検出
リードライトデータ用下位のアドレスポインタレジスタ
である。
Reference numeral 12 denotes a lower address pointer register for error correction write data and a synchronous detection read / write data.

【0048】13はメモリアクセス用のアドレスを選択
するセレクタである。
A selector 13 selects a memory access address.

【0049】14はインクリメント演算を実施するデー
タを選択するセレクタである。
Reference numeral 14 denotes a selector for selecting data on which the increment operation is performed.

【0050】15は+1のインクリメントを実施するイ
ンクリメント演算器である。
Reference numeral 15 denotes an increment operation unit for performing +1 increment.

【0051】図3および図4は本発明の実施の形態の画
像復号化装置におけるメモリ4へのアドレス値のタイミ
ング図である。図3および図4において、21はメモリ
4へのリード時にアクティブになるリード信号(RDは
読み出しを意味する)である。
FIGS. 3 and 4 are timing charts of address values to the memory 4 in the image decoding apparatus according to the embodiment of the present invention. 3 and 4, reference numeral 21 denotes a read signal (RD means read) which becomes active when reading from the memory 4.

【0052】22はメモリ4へのライト時にアクティブ
になるライト信号(WTは書き込みを意味する)であ
る。
Reference numeral 22 denotes a write signal (WT means writing) which becomes active when writing to the memory 4.

【0053】23はメモリへのアドレス値を示すアドレ
ス信号である。
Reference numeral 23 denotes an address signal indicating an address value to the memory.

【0054】24は同期検出を行った結果として同期が
確定したかどうかを示す同期確定信号である。
Reference numeral 24 denotes a synchronization determination signal indicating whether or not synchronization has been determined as a result of synchronization detection.

【0055】25は各タイミングで行うメモリアクセス
時の処理内容である。
Reference numeral 25 denotes processing contents at the time of memory access performed at each timing.

【0056】図10には、図3のタイミング図に対応し
たフローチャートを示し、図11には、図4のタイミン
グ図に対応したフローチャートを示す。
FIG. 10 is a flowchart corresponding to the timing chart of FIG. 3, and FIG. 11 is a flowchart corresponding to the timing chart of FIG.

【0057】図10のフローチャートでは、現在のデー
タ(アドレス(n−1))をライトする。ついで4フレ
ーム前のデータ(アドレスn)をリードしてレジスタR
1に格納する。ついで3フレーム前のデータ(アドレス
(n+512))をリードしてレジスタR2に格納す
る。ついで2フレーム前のデータ(アドレス(n+51
2×2))のデータをリードしてレジスタR3に格納す
る。ついで1フレーム前のデータ(アドレス(n+51
2×3))のデータをリードしてレジスタR4に格納す
る。ついで新規データと、レジスタR1〜R4の4個の
データと、併せて5個のデータで同期ビットのチェック
を行い、同期ビットでなければ最初からの動作を繰り返
し、同期ビットであれば同期確定となる。
In the flowchart of FIG. 10, the current data (address (n-1)) is written. Then, the data (address n) four frames before is read and the register R
1 is stored. Next, the data (address (n + 512)) three frames before is read and stored in the register R2. Then, the data (address (n + 51) two frames before
2 × 2)) is read and stored in the register R3. Then, the data (address (n + 51) one frame before
2 × 3)) is read and stored in the register R4. Then, the new data and the four data in the registers R1 to R4 are used to check the synchronization bit with the total of five data. If not, the operation is repeated from the beginning. Become.

【0058】図11のフローチャートは、誤り訂正回路
5からのライト要求、ライトデータ、リード要求、リー
ドデータ、符号復元回路6からのライト要求、ライトデ
ータ、リード要求、リードデータを基に、図10のフロ
ーチャートにおいて同期確定後に、以下のように動作す
る。すなわち、誤り訂正ライト要求の有無を判別し、要
求ありの場合には、データライトを行い、つぎの処理へ
進む。要求なしの場合はそのままつぎの処理へ進む。
The flowchart of FIG. 11 is based on the write request, write data, read request, read data from the error correction circuit 5, the write request, write data, read request, and read data from the code restoration circuit 6. After the synchronization is determined in the flowchart of FIG. That is, it is determined whether or not there is an error correction write request. If there is a request, data write is performed, and the process proceeds to the next process. If there is no request, the process proceeds to the next process.

【0059】つぎに、誤り訂正リード要求の有無を判別
し、要求ありの場合には、データリードを行い、つぎの
処理へ進む。要求なしの場合はそのままつぎの処理へ進
む。
Next, it is determined whether or not there is an error correction read request. If there is a request, data read is performed, and the process proceeds to the next step. If there is no request, the process proceeds to the next process.

【0060】つぎに、符号復元ライト要求の有無を判別
し、要求ありの場合には、データライトを行い、つぎの
処理へ進む。要求なしの場合はそのままつぎの処理へ進
む。
Next, the presence or absence of a code restoration write request is determined. If there is a request, data writing is performed, and the process proceeds to the next processing. If there is no request, the process proceeds to the next process.

【0061】つぎに、符号復元リード要求の有無を判別
し、要求ありの場合には、データリードを行い、つぎの
処理へ進む。要求なしの場合はそのままつぎの処理へ進
む。
Next, the presence / absence of a code restoration read request is determined. If there is a request, data read is performed, and the process proceeds to the next processing. If there is no request, the process proceeds to the next process.

【0062】つぎに、同期ビットチェックを行い、同期
確定のままであれば、図11の最初に戻る。同期エラー
であれば、エラー回数のカウントを行い、その回数nが
3以下の場合には図11の最初に戻る。回数nが3を超
えた場合には、同期外れと見なして、図10の最初に戻
る。
Next, a synchronization bit check is performed. If the synchronization is still determined, the process returns to the beginning of FIG. If it is a synchronization error, the number of errors is counted. If the number n is 3 or less, the process returns to the beginning of FIG. If the number n exceeds 3, it is regarded as out of synchronization, and the process returns to the beginning of FIG.

【0063】図5は本発明の実施の形態における画像復
号化装置のうちの同期検出回路1の構成を示すブロック
図である。図5において、30は伝送路から受信した符
号データをメモリ4のビット幅(この例では、8ビッ
ト)に合わせてパラレル変換しメモリ4への書き込みデ
ータを蓄えるメモリライトデータ用レジスタである。
FIG. 5 is a block diagram showing a configuration of the synchronization detecting circuit 1 in the image decoding apparatus according to the embodiment of the present invention. In FIG. 5, reference numeral 30 denotes a memory write data register for converting code data received from the transmission path into parallel data in accordance with the bit width of the memory 4 (8 bits in this example) and storing write data to the memory 4.

【0064】31A,31B,31C,31Dはメモリ
4からの読み出しデータであるkフレーム分遅延させた
データを格納するメモリリードデータ用レジスタであ
り、図10に示した1〜4フレーム分前のデータを格納
するレジスタR1〜R4に対応する。
Numerals 31A, 31B, 31C and 31D are memory read data registers for storing data read from the memory 4 and delayed by k frames. Corresponding to the registers R1 to R4.

【0065】32はkフレーム前のデータと伝送路から
の受信データにより同期検出を行う同期チェック回路で
ある。
Reference numeral 32 denotes a synchronization check circuit for detecting synchronization based on data before k frames and data received from the transmission line.

【0066】33は同期チェック回路32により同期ビ
ット検出後1フレーム分のカウントを行い同期確定や同
期はずれを数えるフレームカウンタである。
Reference numeral 33 denotes a frame counter which counts one frame after the synchronization bit is detected by the synchronization check circuit 32 and counts synchronization determination and synchronization loss.

【0067】図6は本発明の実施の形態における画像復
号化装置のうちの誤り訂正回路5の構成を示すブロック
図である。図6において、41は伝送路からの符号デー
タをシンドローム演算するために蓄積するとともに最終
的に演算したシンドロームの値を蓄積するシンドローム
レジスタである。
FIG. 6 is a block diagram showing the configuration of the error correction circuit 5 of the image decoding apparatus according to the embodiment of the present invention. In FIG. 6, reference numeral 41 denotes a syndrome register for accumulating code data from the transmission line for performing a syndrome operation and for accumulating a finally calculated syndrome value.

【0068】42はシンドロームレジスタ41の蓄積デ
ータと伝送路からの符号データによりシンドローム演算
を行うシンドローム演算器である。
Reference numeral 42 denotes a syndrome calculator for performing a syndrome operation based on the data stored in the syndrome register 41 and the code data from the transmission line.

【0069】43は最終的に演算したシンドロームの値
が蓄積されたシンドロームレジスタ41の値を誤り訂正
するためのデータに変換する係数演算のための係数演算
回路である。
Reference numeral 43 denotes a coefficient operation circuit for coefficient operation for converting the value of the syndrome register 41 in which the finally calculated syndrome value is stored into data for error correction.

【0070】44は係数演算回路43によって計算され
た排他的論理和を使いシリアル演算により3乗演算値を
計算するシリアル演算器である。
Reference numeral 44 denotes a serial operation unit for calculating a cube operation value by serial operation using the exclusive OR calculated by the coefficient operation circuit 43.

【0071】45は係数演算回路43により演算された
データを蓄えシリアル演算によってシンドロームエラー
検出を行うためのシンドロームエラーレジスタである。
なお、シンドロームエラー検出というのは、シリアル演
算(除算)により余りが0になれば、誤りなしであると
いうことを検出することである。
Reference numeral 45 denotes a syndrome error register for storing data calculated by the coefficient calculation circuit 43 and detecting a syndrome error by serial calculation.
Note that the syndrome error detection is to detect that there is no error when the remainder becomes 0 by serial operation (division).

【0072】46はシンドロームエラーレジスタ45を
用いてシンドロームエラー用の演算を実施するシンドロ
ームエラー演算器である。なお、シンドロームエラー用
の演算というのは、上記した余りが0以外の場合には、
符号ビットに誤りがあるので、余りデータを基に係数変
換(乗算)をシリアル演算にて実施することである。
Reference numeral 46 denotes a syndrome error calculator which performs a syndrome error operation using the syndrome error register 45. The calculation for the syndrome error means that when the remainder is other than 0,
Since there is an error in the sign bit, coefficient conversion (multiplication) is performed by serial operation based on the remaining data.

【0073】47はメモリ4によって1フレーム分遅延
された伝送路データとレジスタ45のデータにより誤り
訂正を行う訂正回路である。
Reference numeral 47 denotes a correction circuit for performing error correction based on the transmission line data delayed by one frame by the memory 4 and the data of the register 45.

【0074】図7は誤り訂正回路5の動作を示すタイミ
ング図である。図7において、61は伝送路から受信し
た符号データを1フレーム分入力し演算が終了したこと
を知らせるシンドローム演算終了信号である。
FIG. 7 is a timing chart showing the operation of the error correction circuit 5. In FIG. 7, reference numeral 61 denotes a syndrome calculation end signal for inputting one frame of code data received from the transmission path and notifying that the calculation has been completed.

【0075】62は図6のシンドロームレジスタ41に
より3乗係数のシリアル演算を実行している期間を示す
シリアル演算期間信号である。
Reference numeral 62 denotes a serial operation period signal indicating a period during which the serial operation of the cubic coefficient is performed by the syndrome register 41 of FIG.

【0076】63はシリアル係数演算終了後にシンドロ
ームエラー(訂正用兼用)レジスタ45にデータをセッ
トし訂正動作を開始する誤り訂正開始信号である。
Reference numeral 63 denotes an error correction start signal for setting data in the syndrome error (for both correction) register 45 after the completion of the serial coefficient calculation and for starting a correction operation.

【0077】64はサイクル毎に演算しているシンドロ
ームエラー訂正用変換演算処理内容である。
Reference numeral 64 denotes the content of a conversion operation for syndrome error correction which is performed for each cycle.

【0078】以上のように構成された本実施の形態の画
像復号化装置について、以下その動作を説明する。
The operation of the image decoding apparatus according to the present embodiment configured as described above will be described below.

【0079】伝送路から受信する符号データがH.26
1等で規定されている符号化方式である符号データであ
る場合、符号誤りによる影響を軽減するために送信デー
タを一定長毎に分割している。これをフレームという。
1フレームは512ビットで構成され、1ビットのフレ
ーム同期信号と511ビットの誤り訂正ビット付きの符
号データとからなる。誤り訂正方式は冗長ビットである
パリティビット18ビットを付加する誤り訂正符号の一
種であるBCHが使われている。フレーム同期信号は8
フレームからなるマルチフレーム構造を示しており、フ
レーム同期パターンが繰り返される。
Code data received from the transmission path is H.264. 26
In the case of encoded data that is an encoding method specified by 1 or the like, transmission data is divided into fixed lengths in order to reduce the influence of code errors. This is called a frame.
One frame is composed of 512 bits and includes a 1-bit frame synchronization signal and 511 bits of code data with error correction bits. The error correction method uses BCH, which is a type of error correction code that adds 18 parity bits, which are redundant bits. The frame synchronization signal is 8
This shows a multi-frame structure composed of frames, in which a frame synchronization pattern is repeated.

【0080】図12にマルチフレーム構造におけるフレ
ームパターンを示す。各フレームは、1ビットのフレー
ム同期ビットSi(i=1〜8)、1ビットのフィル識
別子Fi、492ビットの画像データかすべてが“1”
のフィルビット、18ビットの誤り訂正符号(パリテ
ィ)から構成されている。フレーム同期パターンは、
(S1〜S8)=(00011011)が繰り返され
る。フィル識別子が“0”のときは、これに続く492
ビットはすべて“1”であって画像データは伝送されな
いことを示している。誤り訂正符号はフィル識別子を含
む493ビットのデータに対して計算される。
FIG. 12 shows a frame pattern in the multi-frame structure. Each frame has 1-bit frame synchronization bit Si (i = 1 to 8), 1-bit fill identifier Fi, and 492-bit image data, all of which are “1”.
And an 18-bit error correction code (parity). The frame sync pattern is
(S1 to S8) = (00011011) are repeated. When the fill identifier is “0”, the subsequent 492
The bits are all "1", indicating that no image data is transmitted. The error correction code is calculated for 493 bits of data including the fill identifier.

【0081】ここで、4フレーム分しかデータを蓄積で
きないメモリで、8フレームからなるマルチフレーム構
造のフレーム同期信号を検出できる点について説明す
る。つまり、4フレーム分+新たな1ビットの5ビット
で、同期パターンの位置を推定し、その512ビット後
のデータで6ビット目と、同期パターンから外れるまで
512ビットおきにチェックする。前保護として、この
動作が(マルチフレーム)何回か連続して確かめられた
時点で同期確定とする。
Here, a description will be given of a point that a memory capable of storing data for only four frames can detect a frame synchronization signal having a multi-frame structure composed of eight frames. In other words, the position of the synchronization pattern is estimated by 5 bits of 4 frames + new 1 bit, and the data of 512 bits after that is checked at the 6th bit and every 512 bits until the data deviates from the synchronization pattern. As pre-protection, synchronization is determined when this operation is confirmed several times (multi-frame) consecutively.

【0082】まず、図1の画像符号化装置において、伝
送路から受信する符号データによって同期ビット位置を
検出するため、メモリ4のサイズが256×8ビット構
成の場合は、最大4フレーム分のデータがメモリ4に蓄
えられる。この場合、データ制御回路2がシリアルデー
タをメモリライトデータ用レジスタ30によって8ビッ
トパッキングし、メモリ4にデータを書き込む。
First, in the image coding apparatus shown in FIG. 1, since the synchronization bit position is detected by the code data received from the transmission line, if the size of the memory 4 is 256 × 8 bits, the data of a maximum of 4 frames is used. Is stored in the memory 4. In this case, the data control circuit 2 performs 8-bit packing of the serial data by the memory write data register 30 and writes the data into the memory 4.

【0083】そして、データを書き込んだ次のサイクル
から4サイクル連続して、メモリ4よりデータをリード
して同期検出回路1にデータを転送する。
Then, the data is read from the memory 4 and transferred to the synchronization detecting circuit 1 for four consecutive cycles from the next cycle in which the data is written.

【0084】図5の同期検出回路1では、メモリリード
データ用レジスタ31A〜31Dに4サイクル分の読み
出しデータをそれぞれセットし、伝送路からの受信デー
タと合わせて5ビットのデータで同期チェック回路32
にてマルチフレーム構造を持ったフレーム同期パターン
の検出を行い、1フレーム内の同期ビット位置を推定す
る。このチェックを繰り返す間も、伝送路からの受信デ
ータをメモリライトデータ用レジスタ30によってシリ
アルデータを8ビットデータにパッキングし、データ制
御回路4を介してメモリ4に書き込む。したがって、8
ビットの入力毎にメモリ4に1度書き込み、4度読み出
すことになる。
In the synchronization detecting circuit 1 shown in FIG. 5, four cycles of read data are set in the memory read data registers 31A to 31D, respectively, and the synchronization check circuit 32 uses 5-bit data together with data received from the transmission line.
Detects a frame synchronization pattern having a multi-frame structure, and estimates a synchronization bit position in one frame. Even while this check is repeated, the serial data is packed into 8-bit data by the memory write data register 30 with the data received from the transmission path and written into the memory 4 via the data control circuit 4. Therefore, 8
Each time a bit is input, it is written into the memory 4 once and read out four times.

【0085】ここで、上記のフレーム同期パターンの検
出の方法について説明する。フレーム同期パターンは
“00011011”であるので、“00011”,
“00110”,“01101”,“11011”,
“10110”,“01100”,“11000”,
“10001”かどうかをチェックし、その場合には、
512ビット後のデータをチェックしている。
Here, a method of detecting the frame synchronization pattern will be described. Since the frame synchronization pattern is “00011011”, “00011”,
“00110”, “01101”, “11011”,
“10110”, “01100”, “11000”,
Check if it is "10001", and in that case,
The data after 512 bits is checked.

【0086】この回路では1フレーム分の受信データを
入力する間に1度以上のフレーム同期パターンの検出を
行う。つまり、1フレームの間に1回以上は同期パター
ンが存在するため、1度以上は、フレーム同期パターン
を検出する。したがって、通常の画像符号パターンを誤
ってフレーム同期パターンと認識してしまうことがある
ため、同期ビット位置検出後、フレームカウンタ33に
よって512ビットカウントし再度フレーム同期パター
ンのチェックを行う。このようにチェックを繰り返しマ
ルチフレーム構造を3回分見つけた場合に同期確定信号
をアクティブにする。
In this circuit, one or more frame synchronization patterns are detected while receiving one frame of received data. That is, since the synchronization pattern exists at least once during one frame, the frame synchronization pattern is detected at least once. Therefore, since a normal image code pattern may be erroneously recognized as a frame synchronization pattern, after detecting a synchronization bit position, the frame counter 33 counts 512 bits and checks the frame synchronization pattern again. As described above, when the check is repeated and the multi-frame structure is found three times, the synchronization determination signal is activated.

【0087】同期確定信号を出力後は伝送路からの受信
データのみで同期チェック回路32にて同期はずれのチ
ェックを行うためメモリ4は使用しない。つまり、51
2ビット間隔で同期ビットが挿入されており、つぎの同
期パターンの期待値(“0”または“1”)と入力デー
タとを比較するということである。ここで、同期の保護
といっているのは、回線はエラーフリーではないため、
1ビット外れたからといってすぐに同期が外れたと見な
して同期ビットを探し始めることがないようにするとい
う意味である。その目的は、同期ビットを検出するの
に、時間がかかり、有効なデータを棄てる頻度を減らす
ことである。
After outputting the synchronization determination signal, the memory 4 is not used because the synchronization check circuit 32 checks for loss of synchronization only with the data received from the transmission line. That is, 51
Synchronization bits are inserted at two-bit intervals, and the expected value (“0” or “1”) of the next synchronization pattern is compared with the input data. Here, synchronization protection means that the line is not error-free,
This means that even if one bit is deviated, it is assumed that synchronization is immediately deviated, so that a search for a synchronization bit is not started. The purpose is to reduce the frequency with which it takes time to detect the synchronization bit and discard valid data.

【0088】つまり、同期はずれのチェックを行い、そ
の結果、同期はずれの場合には、外部や制御のシーケン
スを、同期パターン検出のシーケンスにする。
That is, out-of-synchronization is checked. As a result, in the case of out-of-synchronization, the external or control sequence is used as a sequence for detecting a synchronization pattern.

【0089】ここで、同期チェック回路の動作を図13
のフローチャートを参照しながら説明する。
Here, the operation of the synchronization check circuit is shown in FIG.
This will be described with reference to the flowchart of FIG.

【0090】まず、5ビットデータによるチェックで同
期ビット検出を行い、検出できなれば最初の5ビットデ
ータによるチェックに戻る。同期ビットの検出ができれ
ば、512ビット後のデータが同期パターンと合致して
いるかをチェックし、合致していなければ、n=0とし
て最初の5ビットデータによるチェックに戻る。合致し
ておれば、n=n+1、つまりnの値を1増加させる。
そして、nの値が前保護として決めた数より大きいかど
うかを判定し、大きくはない場合にはさらに512ビッ
ト後のデータが同期パターンと合致しているかのチェッ
クに戻る。大きい場合には、同期確定とする。
First, synchronization bit detection is performed by checking with 5-bit data, and if detection is not possible, the process returns to the first check with 5-bit data. If the synchronization bit can be detected, it is checked whether or not the data after 512 bits matches the synchronization pattern. If not, the process returns to the first 5-bit data check with n = 0. If they match, n = n + 1, that is, the value of n is increased by one.
Then, it is determined whether or not the value of n is larger than the number determined as the pre-protection. If the value is not larger, the process returns to the check as to whether the data after 512 bits further matches the synchronization pattern. If it is larger, the synchronization is determined.

【0091】つぎに、n=0に初期化し、さらに512
ビット後のデータが同期パターンと合致しているかを同
期外れの検出のためにチェックし、合致しておれば、一
定の間隔でnの値をクリアし、さらに512ビット後の
データが同期パターンと合致しているかのチェックに戻
る。合致していなければ、n=n+1、つまりnの値を
1増加させる。そして、nの値が後保護として決めた数
より大きいかどうかを判定し、大きくはない場合にはさ
らに512ビット後のデータが同期パターンと合致して
いるかのチェックに戻る。大きい場合には、同期外れと
し、最初の5ビットデータによるチェックに戻る。
Next, n is initialized to 0 and further 512
A check is made to see if the data after the bit matches the synchronization pattern to detect out-of-synchronism, and if so, the value of n is cleared at regular intervals, and the data after 512 bits matches the synchronization pattern. Return to check for match. If they do not match, n = n + 1, that is, the value of n is increased by one. Then, it is determined whether or not the value of n is larger than the number determined as the post-protection. If not, the process returns to the check as to whether the data after 512 bits further matches the synchronization pattern. If it is larger, it is determined that the synchronization has been lost, and the process returns to the first 5-bit data check.

【0092】また、1つのマルチフレーム構造のデータ
内で2ビット以上の誤りを発見したときには、同期確定
信号をネガティブにし、同期ビット位置の検出を行う。
When an error of 2 bits or more is found in one multi-frame structure data, the synchronization determination signal is made negative and the synchronization bit position is detected.

【0093】なお、上記1つのマルチフレーム構造のデ
ータというのは、前に示した8ビットが一組の“000
11011”である(512ビット間隔)。回線にエラ
ーがあるのが前提にあるため、すぐには同期が外れるわ
けにはいかない。2ビットを3ビットにするかどうかは
システム設計上により異なる。また、上記の1つのマル
チフレーム構造のデータ内で2ビット以上の誤りは、同
期外れと同じチェックをし、エラー時にカウンタで数
え、一定間隔でリセットする。
Note that the data of one multi-frame structure is a set of “000” consisting of 8 bits shown above.
11011 "(interval of 512 bits). It is assumed that there is an error in the line, so that synchronization cannot be lost immediately. Whether to change 2 bits to 3 bits depends on the system design. An error of 2 bits or more in the data of one multi-frame structure is checked in the same manner as the out-of-synchronization, is counted by a counter when an error occurs, and is reset at regular intervals.

【0094】図2において、この同期検出を行う際のア
ドレス制御回路3の動作は以下の通りである。すなわ
ち、上位のアドレスポインタレジスタ11が2ビットで
あり、下位のアドレスポインタ12が9ビットであり、
セレクタ13はレジスタ11、レジスタ12側を選び続
け、同期検出を行う際のメモリ4のアドレスとして使わ
れる。
In FIG. 2, the operation of the address control circuit 3 at the time of performing the synchronization detection is as follows. That is, the upper address pointer register 11 has 2 bits, the lower address pointer 12 has 9 bits,
The selector 13 keeps selecting the registers 11 and 12 and is used as an address of the memory 4 when performing synchronization detection.

【0095】メモリ4にデータを書き込むと、セレクタ
14はレジスタ12を選択し、インクリメント演算器1
5によってレジスタ12の値を1インクリメントし、レ
ジスタ12にデータをセットする。次に、メモリ4から
データを読み出すと、セレクタ14は今度はレジスタ1
1を選択し、インクリメント演算器15によって1イン
クリメントし、レジスタ11にデータをセットする。以
下、この動作を2回繰り返す。
When data is written to the memory 4, the selector 14 selects the register 12 and the increment operation unit 1
The value of the register 12 is incremented by one by 5 and data is set in the register 12. Next, when data is read from the memory 4, the selector 14 sets the register 1
1 is selected, incremented by 1 by the increment calculator 15, and data is set in the register 11. Hereinafter, this operation is repeated twice.

【0096】このときのメモリのリードおよびライトの
動作が図3に示されている。図3において、ライト信号
22によりn−1のアドレスにデータを書き込み、次の
サイクルでアドレス信号は下位のビットがインクリメン
トされ11ビットでnのアドレス値を示す。このアドレ
スに入っているデータはメモリ4に残っている最も古い
データで、4フレーム前のデータである。このアドレス
値の示すデータをリード信号21で読み出す。
FIG. 3 shows the read and write operations of the memory at this time. In FIG. 3, data is written to the address n-1 by the write signal 22, and in the next cycle, the lower bits of the address signal are incremented, and the 11 bits indicate the address value of n. The data contained in this address is the oldest data remaining in the memory 4 and is the data four frames before. The data indicated by the address value is read by the read signal 21.

【0097】このタイミングでレジスタ11の値を1イ
ンクリメントし、アドレス値としては11ビットでn+
512のアドレス値を示す。このアドレスに入っている
データは3フレーム前のデータである。このアドレス値
の示すデータをリード信号21で読み出す。
At this timing, the value of the register 11 is incremented by one, and the address value is 11 bits and n +
512 indicates the address value. The data contained in this address is data three frames before. The data indicated by the address value is read by the read signal 21.

【0098】この動作を繰り返し2フレーム前と1フレ
ーム前のデータを読み出す。このとき、アドレス値とし
てはn+2048すなわちnのアドレス値を示し、次に
伝送路からの受信データの書き込みを行うアドレス値を
示すことになる。
This operation is repeated to read data two frames before and one frame before. At this time, the address value indicates n + 2048, that is, the address value of n, and then indicates the address value at which the data received from the transmission line is written.

【0099】また、伝送路の転送レートは通常低ビット
の符号データのため、内部の動作周波数よりかなり遅い
レートで入力される。通常20倍以上のレートの差が存
在する。実施の形態では、1度の書き込みに対し5サイ
クルで一つの処理を終了するため、5倍以上の動作で内
部処理がなされる条件の場合、1ビットずつシリアルに
同期検出のチェックが可能である。
Since the transfer rate of the transmission line is usually low-bit code data, it is input at a rate considerably lower than the internal operating frequency. Usually there is a rate difference of 20 times or more. In the embodiment, since one process is completed in five cycles for one write, under the condition that the internal process is performed by five times or more operation, it is possible to serially check synchronization detection bit by bit. .

【0100】このように同期が確定し同期確定信号24
がアクティブになると、メモリ4およびアドレス制御回
路3は誤り訂正用と符号データ復元用として動作を開始
する。この場合、メモリ4によって1フレーム分遅延さ
せたデータと伝送路からの受信データとによって訂正回
路5により誤り訂正を行い、再びメモリ4にデータを書
き込む。また、符号データ復元用にメモリ4よりデータ
を、符号復元回路6に復元処理に必要なタイミングで読
み出し、画像データに復元する。
The synchronization is thus determined, and the synchronization determination signal 24
Becomes active, the memory 4 and the address control circuit 3 start operating for error correction and code data restoration. In this case, the error correction is performed by the correction circuit 5 using the data delayed by one frame by the memory 4 and the data received from the transmission path, and the data is written into the memory 4 again. Also, data is read from the memory 4 for code data restoration to the code restoration circuit 6 at a timing necessary for restoration processing, and is restored to image data.

【0101】先にも示したように、誤り訂正にとっては
伝送路からの転送レートが内部周波数より遅く、また符
号データ復元用装置では符号データ自体が可変長符号の
ためシリアルに処理を行いメモリ4が8ビットのバンド
幅の場合は最低8サイクルに1回読み出すことができれ
ば復元処理の能力を低下させることがないという特徴を
利用する。
As described above, for error correction, the transfer rate from the transmission line is slower than the internal frequency, and the code data recovery device performs serial processing because the code data itself is a variable-length code. In the case where is a bandwidth of 8 bits, a characteristic is utilized that if the data can be read at least once every 8 cycles, the performance of the restoration processing is not reduced.

【0102】この場合、図4の処理内容25に示す通
り、誤り訂正用データの書き込みおよび読み出し可能タ
イミング(WT、RD)と符号データ復元用データ
の書き込みおよび読み出し可能タイミング(WT、
RD)の4つの可能タイミングを設けて、メモリ4への
読み書きを実施する。メモリ4の使用内容は2048ビ
ットのうち、誤り訂正用に512ビットを使用し、残り
を符号データ復元用メモリとして使用する。この場合、
誤り訂正用データの書き込みおよび読み出し可能タイミ
ング(WT、RD)と符号データ復元用データの書
き込みおよび読み出し可能タイミング(WT、R
D)の4つの可能タイミングを設けることが可能なのは
以下の理由からである。データをシリアルで処理してい
くため、4ビット以上でパッキングすると、4サイクル
以上のタイミングでしか、アクセスしない。そして、こ
れは、もともと符号量が128kbps位で、内部は数
十MHzで動作するため、符号データは1ビット1サイ
クルで処理をする必要がないことを利用している。
In this case, as shown in the processing content 25 in FIG. 4, the timing (WT, RD) at which the error correction data can be written and read and the timing (WT, RD) at which the code data restoring data can be written and read.
The read / write to the memory 4 is performed with four possible timings (RD). The memory 4 uses 512 bits out of the 2048 bits for error correction, and uses the rest as code data restoring memory. in this case,
Timing for writing and reading error correction data (WT, RD) and timing for writing and reading code data restoration data (WT, R
The four possible timings of D) can be provided for the following reasons. In order to process data serially, if data is packed with 4 bits or more, access is made only at a timing of 4 cycles or more. This utilizes the fact that the code amount is originally about 128 kbps and operates internally at several tens of MHz, so that it is not necessary to process the code data in one cycle per bit.

【0103】なお、図4において、処理内容25とRD
(21)、WT(22)のアクティブ期間との関係は以
下のとおりである。すなわち、誤り訂正回路5や符号復
元回路6でデータが必要な時に要求信号が出て、それぞ
れのタイミングで要求がある時のみ、リード信号、ライ
ト信号が各々アクティブになる。
In FIG. 4, the processing contents 25 and RD
The relationship between (21) and the active period of the WT (22) is as follows. That is, a request signal is output when data is required by the error correction circuit 5 and the code restoration circuit 6, and only when there is a request at each timing, the read signal and the write signal become active.

【0104】また、図4において、アドレスAD(2
3)のA,B,C,Dのインクリメントの仕方が同一で
ないのは、リード、ライトのアクセスがあった時のみ、
アドレスがインクリメントするためであり、各ブロック
からの要求が同一でないためである。
In FIG. 4, address AD (2
3) The way of incrementing A, B, C, and D is not the same only when there is a read or write access.
This is because the address is incremented, and the request from each block is not the same.

【0105】図2において、この誤り訂正および符号デ
ータ復元を行う際のアドレス制御回路の動作は、以下の
通りである。誤り訂正リードデータ用および符号復元リ
ードライトデータ用のアドレスポインタレジスタ10
は、11ビットレジスタ2個と9ビットレジスタからな
り、誤り訂正ライトデータ用のアドレスポインタレジス
タ12と合わせてメモリ4へのアドレスを示す。
In FIG. 2, the operation of the address control circuit when performing this error correction and code data restoration is as follows. Address pointer register 10 for error correction read data and code recovery read / write data
Is composed of two 11-bit registers and a 9-bit register, and indicates an address to the memory 4 together with the address pointer register 12 for error correction write data.

【0106】誤り訂正、符号データ復元時にはメモリ4
はFIFOメモリ(最初に書いたデータを読み、最後に
書いたデータの後に書く)として働くため、誤り訂正、
符号データ復元用にリードまたはライト動作をしたとき
に、それぞれのアドレスポインタを1インクリメントす
る動作をすることになる。したがって、セレクタ13と
セレクタ14は同じアドレスポインタレジスタ10また
は12を選択し、インクリメント演算器15で1インク
リメントを行う。このタイミングで誤り訂正、符号デー
タ復元用にリードまたはライト動作をしたときにレジス
タ10、レジスタ12にデータをセットし、次のアドレ
ス演算処理に備える。
At the time of error correction and code data restoration, the memory 4
Works as a FIFO memory (reads the first written data and writes after the last written data), so error correction,
When a read or write operation is performed for restoring the code data, each address pointer is incremented by one. Therefore, the selector 13 and the selector 14 select the same address pointer register 10 or 12, and the increment operation unit 15 performs one increment. At this timing, when a read or write operation is performed for error correction and code data restoration, data is set in the registers 10 and 12 to prepare for the next address calculation process.

【0107】なお、誤り訂正、符号データ復元時のアド
レス制御回路3の動作と、同期検出時のアドレス制御回
路3の動作は同期確定の信号によって切り替えられる。
Note that the operation of the address control circuit 3 at the time of error correction and code data restoration and the operation of the address control circuit 3 at the time of synchronization detection are switched by a synchronization determination signal.

【0108】つぎに、図6に示す誤り訂正回路5の動作
を説明する。BCHの誤り訂正符号では、1フレーム中
に2つのランダム誤りを訂正することが可能で、18ビ
ットの誤り訂正符号は(X9 +X4 +1)、(X9 +X
6 +X4 +X3 +X1 +1)として伝送路から受信され
る。この演算式の前者をS1、後者をS3とし、この演
算式を基に、シンドロームレジスタ41とシンドローム
演算器42より伝送路からの受信データ(同期ビットを
除いた511ビット)でシリアル演算を行い、シンドロ
ームの値を求める。
Next, the operation of the error correction circuit 5 shown in FIG. 6 will be described. In the BCH error correction code, two random errors can be corrected in one frame, and the 18-bit error correction code is (X 9 + X 4 +1), (X 9 + X
6 + X 4 + X 3 + X 1 +1). The former of this arithmetic expression is S1, the latter is S3, and based on this arithmetic expression, a serial operation is performed on the received data (511 bits excluding the synchronization bit) from the transmission line by the syndrome register 41 and the syndrome arithmetic unit 42, Find the value of the syndrome.

【0109】つぎに、シンドロームエラー検出用のデー
タA1=(S1の2乗)とA2=(S1の3乗×S3)
を求める必要がある。従来は、2の18乗×18ビット
のROMまたは2の9乗×9ビットの2個のROMによ
りシンドロームエラー検出用のデータA1=(S1の2
乗)とA2=(S1の3乗×S3)を求めていた。
Next, syndrome error detection data A1 = (S1 squared) and A2 = (S1 cubed × S3)
Need to ask. Conventionally, syndrome error detection data A1 = (2 of S1 = 2 × 18 bits) or two ROMs of 2 × 9 × 9 bits.
Power) and A2 = (S1 cubed × S3).

【0110】上記の演算は桁上がり無しの演算のため、
2数の演算の場合には非常に簡易な回路で構成できる。
したがって、S1の3乗演算を簡易に行えると、求める
値としては1ビットに対して最大1つの排他的論理和
(EXOR)で構成することが可能となる。
The above calculation is performed without carry, so
In the case of the operation of two numbers, it can be constituted by a very simple circuit.
Therefore, if the squaring operation of S1 can be easily performed, the value to be obtained can be configured by one exclusive OR (EXOR) for one bit.

【0111】なお、S1の3乗演算を簡易に行う回路と
いうのは、S13 をS12 ×S1の乗算に分割し、S1
2 ×S1を9ビットのシリアル乗算によって実現させる
回路である。
A circuit for easily performing the cube operation of S1 is obtained by dividing S1 3 into multiplication of S1 2 × S1, and
This circuit realizes 2 × S1 by 9-bit serial multiplication.

【0112】そこで、先にも示したように誤り訂正にと
っては伝送路から転送レートが内部周波数より遅く動作
するので、図7のタイミングチャートに示すようにシン
ドローム演算終了信号61からシリアル演算期間信号6
2の期間の9サイクルでシリアル演算によりS1の3乗
を行い、訂正開始信号63のタイミングで(S1の3
乗)とS3の演算を行いシンドロームエラーレジスタ4
5にA1、A2をセットする。レジスタ45とシンドロ
ームエラー演算器46とで、エラー箇所をシリアル演算
し、訂正回路47によって1フレーム遅れた伝送路から
の受信データの誤りを訂正し、493ビットの符号復元
用データとしてメモリ4に書き込む。なお、S1の2乗
の演算は、始めの係数演算のサイクルで実施される。
Therefore, as described above, for error correction, the transfer rate operates from the transmission line at a lower rate than the internal frequency. Therefore, as shown in the timing chart of FIG.
The power of S1 is raised to the third power by serial operation in nine cycles of the period 2, and (3 of S1
Multiplication) and S3 to perform the syndrome error register 4
A1 and A2 are set to 5. The register 45 and the syndrome error calculator 46 serially calculate the error location, correct the error of the data received from the transmission line delayed by one frame by the correction circuit 47, and write it to the memory 4 as 493-bit code restoration data. . The calculation of the square of S1 is performed in the cycle of the first coefficient calculation.

【0113】これによって伝送路からの符号データの転
送レートが同期検出回路1、誤り訂正回路5、符号復元
回路6等の内部処理能力に比べて極めて低レートで入力
される特性を利用し、単純なインクリメントカウンタ
(インクリメント演算器15)を持ったアドレス制御回
路3を追加し、時分割にメモリ4へのアクセスを調停す
ることにより単一のメモリ4で同期検出回路1、誤り訂
正回路5、符号復元回路6の処理を実現することが可能
となる。
Thus, the characteristic that the transfer rate of the code data from the transmission line is input at an extremely low rate as compared with the internal processing capability of the synchronization detection circuit 1, the error correction circuit 5, the code restoration circuit 6, etc. is used. An address control circuit 3 having a simple increment counter (increment arithmetic unit 15) is added, and access to the memory 4 is arbitrated in a time-division manner, so that the synchronization detection circuit 1, the error correction circuit 5, the code The processing of the restoration circuit 6 can be realized.

【0114】また、誤り訂正回路5ついては、シンドロ
ーム演算テーブルROM113を用いずシリアル演算を
繰り返し行うことにより、エラー訂正用シンドローム値
を求めるためにシリアル演算用レジスタ9個とタイミン
グを計るカウンタ用レジスタ4個と、係数演算用に20
個のNANDやEXORで実現でき大幅に回路規模を削
減することが可能である。
The error correction circuit 5 is composed of nine serial operation registers and four counter registers for measuring timing by repeatedly performing serial operation without using the syndrome operation table ROM 113 to obtain an error correction syndrome value. And 20 for coefficient calculation
It can be realized by a single NAND or EXOR, and the circuit scale can be greatly reduced.

【0115】ここで、図14には、上記の演算を行うた
めの回路図を示す。図14において、100はシリアル
演算用のシフトレジスタであり、9個のDフリップフロ
ップ101〜109で構成されている。また、200は
3乗演算を行うための回路であり、9個のNAND回路
201〜209、9個の排他的論理和回路211〜21
9、9個のDフリップフロップ221〜222で構成さ
れている。
FIG. 14 is a circuit diagram for performing the above operation. In FIG. 14, reference numeral 100 denotes a shift register for serial operation, which is composed of nine D flip-flops 101 to 109. Reference numeral 200 denotes a circuit for performing a cubic operation, including nine NAND circuits 201 to 209 and nine exclusive OR circuits 211 to 21.
It is composed of 9, 9 D flip-flops 221 to 222.

【0116】係数演算式は、S1,S3はシンドローム
演算によって求めた値としたときに、 A=S13 ×S3 B=S12 を A=S12 ×S1×S3 B=S12 に分けて演算を実施する。
[0116] coefficient computing expressions, S1, S3 is when a value determined by the syndrome calculation, calculation by dividing the A = S1 3 × S3 B = S1 2 to A = S1 2 × S1 × S3 B = S1 2 Is carried out.

【0117】この場合、図7の始めの係数演算サイクル
でS12 を演算する。具体的には、以下に示す排他的論
理和演算を行う。記号^は排他的論理和を意味する。
[0117] In this case, computing the S1 2 at the beginning of the coefficient operation cycle of FIG 7. Specifically, the following exclusive OR operation is performed. The symbol ^ means exclusive OR.

【0118】B[8]=S1[4] B[7]=S1[8]^S1[6] B[6]=S1[8]^S1[3] B[5]=S1[7]^S1[5] B[4]=S1[7]^S1[2] B[3]=S1[6] B[2]=S1[8]^S1[1] B[1]=S1[5] B[0]=S1[7]^S1[0] 次に、シリアル3乗計算のサイクルでは、図14の回路
を用いてB×S1の演算を実施する。この場合、シフト
しながら、シリアル演算により3乗演算を実施する。結
果はレジスタCに格納される。
B [8] = S1 [4] B [7] = S1 [8] ^ S1 [6] B [6] = S1 [8] ^ S1 [3] B [5] = S1 [7] ^ S1 [5] B [4] = S1 [7] ^ S1 [2] B [3] = S1 [6] B [2] = S1 [8] ^ S1 [1] B [1] = S1 [5] B [0] = S1 [7] ^ S1 [0] Next, in the cycle of the serial cube calculation, the circuit of FIG. 14 performs the calculation of B × S1. In this case, a cubic operation is performed by serial operation while shifting. The result is stored in register C.

【0119】図7の最後の係数演算のサイクルで、S3
×S13 の演算を完了させる。具体的には、以下に示す
排他的論理和演算である。
In the last cycle of the coefficient calculation in FIG.
× to complete the calculation of S1 3. Specifically, it is an exclusive OR operation shown below.

【0120】 A[8]=C[8]^B[8] A[7]=C[7]^B[7] A[6]=C[6]^B[6] … … … A[1]=C[1]^B[1] A[0]=C[0]^B[0]A [8] = C [8] ^ B [8] A [7] = C [7] ^ B [7] A [6] = C [6] ^ B [6] ... A [ 1] = C [1] ^ B [1] A [0] = C [0] ^ B [0]

【0121】[0121]

【発明の効果】以上のように本発明の請求項1記載の画
像復号化装置によれば、伝送路からの符号データの転送
レートが符号復元部等の内部処理能力に比べて極めて低
レートで入力される特性を利用し、第1の記憶手段への
書き込み読み出し時にのみアドレスポインタがインクリ
メント演算するアドレス制御回路を追加し、時分割に記
憶手段へのアクセスを調停することにより単一の記憶手
段で画像復号化処理を実現でき、複数のハードマクロを
使用することによるレイアウト設計時の制約や記憶手段
の容量の増加による回路規模の増大を防ぎ、回路規模の
小さい画像復号化装置を提供できる。
As described above, according to the image decoding apparatus of the first aspect of the present invention, the transfer rate of the coded data from the transmission path is extremely low as compared with the internal processing capacity of the code restoration unit and the like. By utilizing an input characteristic, an address control circuit for incrementing an address pointer only at the time of writing to and reading from the first storage means is added, and arbitration of access to the storage means in a time sharing manner makes it possible to provide a single storage means. Thus, it is possible to realize an image decoding process, prevent a restriction in layout design by using a plurality of hard macros, and prevent an increase in circuit scale due to an increase in the capacity of storage means, and provide an image decoding apparatus with a small circuit scale.

【0122】また、本発明の請求項2記載の画像復号化
装置によれば、同期ビット確定部によって記憶手段を用
いずにn/mごとに前後の同期保護を行うので、誤り訂
正処理および符号復元処理を行っているときに、記憶手
段において同期検出のために用いていた領域を誤り訂正
処理および符号復元処理のために使用することができ、
全体として記憶手段の容量を削減できる。
According to the image decoding apparatus of the second aspect of the present invention, since the synchronization protection is performed before and after every n / m by the synchronization bit determination unit without using the storage means, error correction processing and coding can be performed. When performing the restoration process, the area used for synchronization detection in the storage means can be used for error correction processing and code restoration processing,
The capacity of the storage means can be reduced as a whole.

【0123】また、本発明の請求項3記載の画像復号化
装置によれば、誤り訂正部において、シンドローム演算
テーブルROMを用いずシリアル演算を繰り返し行うこ
とによりシンドロームエラー検出用の値を求めるので、
回路規模を縮小することができる。
According to the image decoding apparatus of the third aspect of the present invention, the error correction unit obtains a value for detecting a syndrome error by repeatedly performing a serial operation without using the syndrome operation table ROM.
The circuit scale can be reduced.

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

【図1】本発明の実施の形態における画像復号化装置の
構成を示すブロック図である。
FIG. 1 is a block diagram illustrating a configuration of an image decoding device according to an embodiment of the present invention.

【図2】本発明の実施の形態における画像復号化装置の
うちのアドレス制御回路の構成を示すブロック図であ
る。
FIG. 2 is a block diagram illustrating a configuration of an address control circuit in the image decoding device according to the embodiment of the present invention.

【図3】図1の画像復号化装置の動作を示すタイミング
図である。
FIG. 3 is a timing chart showing an operation of the image decoding device of FIG. 1;

【図4】図1の画像復号化装置の動作を示すタイミング
図である。
FIG. 4 is a timing chart showing an operation of the image decoding device of FIG. 1;

【図5】本発明の実施の形態における画像復号化装置の
うちの同期検出回路の構成を示すブロック図である。
FIG. 5 is a block diagram illustrating a configuration of a synchronization detection circuit in the image decoding device according to the embodiment of the present invention.

【図6】本発明の実施の形態における画像復号化装置の
うちの誤り訂正回路の構成を示すブロック図である。
FIG. 6 is a block diagram illustrating a configuration of an error correction circuit in the image decoding device according to the embodiment of the present invention.

【図7】図5の誤り訂正回路の動作を示すタイミング図
である。
FIG. 7 is a timing chart showing an operation of the error correction circuit of FIG. 5;

【図8】従来の画像復号化装置の構成の一例を示すブロ
ック図である。
FIG. 8 is a block diagram illustrating an example of a configuration of a conventional image decoding device.

【図9】従来の画像復号化装置の誤り訂正回路の一例を
示すブロックである。
FIG. 9 is a block diagram illustrating an example of an error correction circuit of a conventional image decoding device.

【図10】図3に対応したフローチャートである。FIG. 10 is a flowchart corresponding to FIG. 3;

【図11】図4に対応したフローチャートである。FIG. 11 is a flowchart corresponding to FIG. 4;

【図12】マルチフレーム構造のフレームデータを示す
模式図である。
FIG. 12 is a schematic diagram showing frame data having a multi-frame structure.

【図13】同期検出および同期外れの検出の手順を示す
フローチャートである。
FIG. 13 is a flowchart illustrating a procedure for detecting synchronization and detecting loss of synchronization.

【図14】本発明の実施の形態で用いる演算回路の構成
を示す回路図である。
FIG. 14 is a circuit diagram illustrating a configuration of an arithmetic circuit used in an embodiment of the present invention.

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

1 同期検出回路 2 データ制御回路 3 アドレス制御回路 4 メモリ 5 誤り訂正回路 6 符号復元回路 10 アドレスポインタレジスタ 11 アドレスポインタレジスタ 12 アドレスポインタレジスタ 13 セレクタ 14 セレクタ 15 インクリメント演算器 21 メモリリード信号 22 メモリライト信号 23 メモリアドレス信号 24 同期確定信号 25 メモリアクセス時の処理内容 30 メモリライトデータ用レジスタ 31A メモリリードデータ用レジスタ 31B メモリリードデータ用レジスタ 31C メモリリードデータ用レジスタ 31D メモリリードデータ用レジスタ 32 同期チェック回路 33 フレームカウンタ 41 シンドローム演算器 42 シンドロームレジスタ 43 係数演算回路 44 シリアル演算器 45 シンドロームエラーレジスタ 46 シンドロームエラー演算器 47 訂正回路 61 シンドローム演算終了信号 62 シリアル演算期間信号 63 誤り訂正開始信号 64 シンドロームエラー訂正用変換演算処理内容 101 同期検出回路 102 同期検出用FIFOメモリ 103 誤り訂正回路 104 誤り訂正用FIFOメモリ 105 符号復元回路 106 符号復元用FIFOメモリ 111 シンドロームレジスタ 112 シンドローム演算器 113 シンドローム演算テーブルROM 114 FIFOメモリ 115 シンドロームエラーレジスタ 116 シンドロームエラー演算器 117 訂正回路 DESCRIPTION OF SYMBOLS 1 Synchronization detection circuit 2 Data control circuit 3 Address control circuit 4 Memory 5 Error correction circuit 6 Code restoration circuit 10 Address pointer register 11 Address pointer register 12 Address pointer register 13 Selector 14 Selector 15 Increment calculator 21 Memory read signal 22 Memory write signal 23 Memory Address Signal 24 Synchronization Determination Signal 25 Processing Contents at Memory Access 30 Memory Write Data Register 31A Memory Read Data Register 31B Memory Read Data Register 31C Memory Read Data Register 31D Memory Read Data Register 32 Synchronization Check Circuit 33 Frame counter 41 Syndrome arithmetic unit 42 Syndrome register 43 Coefficient arithmetic circuit 44 Serial arithmetic unit 45 Syndrome Error register 46 syndrome error calculator 47 correction circuit 61 syndrome calculation end signal 62 serial calculation period signal 63 error correction start signal 64 syndrome error correction conversion calculation processing contents 101 synchronization detection circuit 102 synchronization detection FIFO memory 103 error correction circuit 104 error Correction FIFO memory 105 Code recovery circuit 106 Code recovery FIFO memory 111 Syndrome register 112 Syndrome arithmetic unit 113 Syndrome arithmetic table ROM 114 FIFO memory 115 Syndrome error register 116 Syndrome error arithmetic unit 117 Correction circuit

フロントページの続き (51)Int.Cl.7 識別記号 FI テーマコート゛(参考) H04N 1/41 H04N 7/13 Z A Fターム(参考) 5C059 KK08 KK09 KK34 MA00 RC02 RF05 UA05 UA34 UA36 5C078 CA25 CA34 CA45 DA01 DA02 5J065 AB03 AC03 AF03 AF04 AG02 AH07 AH17 AH18 5K014 AA01 AA05 BA05 EA01 EA07 5K047 AA16 CC02 DD02 HH01 HH12 HH42 MM14 Continued on the front page (51) Int.Cl. 7 Identification code FI Theme coat II (Reference) H04N 1/41 H04N 7/13 Z AF term (Reference) 5C059 KK08 KK09 KK34 MA00 RC02 RF05 UA05 UA34 UA36 5C078 CA25 CA34 CA45 DA01 DA02 5J065 AB03 AC03 AF03 AF04 AG02 AH07 AH17 AH18 5K014 AA01 AA05 BA05 EA01 EA07 5K047 AA16 CC02 DD02 HH01 HH12 HH42 MM14

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 画像信号の復号化処理を行う画像復号化
装置であって、 フレーム同期のために一定間隔で挿入されている同期パ
ターンを検出する同期検出部と、 受信データに対して誤りを検出し訂正を行う誤り訂正部
と、 符号データを復元する符号復元部と、 単一の記憶手段と、 伝送路からの符号データの転送レートが前記同期検出
部、前記誤り訂正部および前記符号復元部の内部処理能
力に比べて極めて低レートで入力される特性を利用し、
前記同期検出部、前記誤り訂正部および前記符号復元部
の符号データを前記単一の記憶手段を用いて処理をする
ために、前記記憶手段への書き込み読み出し時にのみア
ドレスポインタがインクリメント演算するアドレス制御
部とを備え、 時分割に前記記憶手段へのアクセスを調停することを特
徴とする画像復号化装置。
1. An image decoding apparatus for decoding an image signal, comprising: a synchronization detecting section for detecting a synchronization pattern inserted at a constant interval for frame synchronization; An error correction unit for detecting and correcting, a code restoration unit for restoring code data, a single storage unit, and a transfer rate of code data from a transmission line, wherein the synchronization detection unit, the error correction unit, and the code restoration Utilizing the characteristics that are input at a very low rate compared to the internal processing capacity of the
An address control in which an address pointer is incremented only at the time of writing / reading to / from the storage means in order to process the code data of the synchronization detection section, the error correction section and the code restoration section using the single storage means. And an arbitration unit for arbitrating access to the storage means in a time-sharing manner.
【請求項2】 請求項1記載の画像復号化装置におい
て、同期検出部は、記憶手段の記憶容量がnビット(n
は正整数)、一定周期にある同期パターンのフレーム数
がm(mは正整数)の場合に(n/m)+1のデータを
用いて同期ビットの位置を検出する同期ビット位置検出
部と、前記同期ビット位置検出部による同期位置の検出
後は、記憶手段を用いずにn/mごとに前後の同期保護
を行う同期ビット確定部とで構成されることを特徴とす
る画像復号化装置。
2. The image decoding apparatus according to claim 1, wherein the synchronization detection unit has a storage unit having a storage capacity of n bits (n bits).
A synchronous bit position detecting unit that detects the position of the synchronous bit using (n / m) +1 data when the number of frames of the synchronous pattern in a fixed period is m (m is a positive integer); An image decoding apparatus, comprising: a synchronization bit determination unit that performs synchronization protection before and after every n / m without using storage means after detecting the synchronization position by the synchronization bit position detection unit.
【請求項3】 請求項1記載の画像復号化装置におい
て、誤り訂正部が、復号側シンドローム演算手段で算出
されたシンドロームの値から、シンドローム演算テーブ
ルROMを用いずに係数演算手段とシリアル演算手段と
を用いて3乗演算を含む係数演算を行い、シンドローム
エラー検出用の値を求めることを特徴とする画像復号化
装置。
3. The image decoding apparatus according to claim 1, wherein the error correction unit calculates the coefficient calculation means and the serial calculation means from the syndrome value calculated by the decoding-side syndrome calculation means without using the syndrome calculation table ROM. An image decoding apparatus characterized in that a coefficient calculation including a cube operation is performed using the above and a value for detecting a syndrome error is obtained.
JP30115699A 1999-10-22 1999-10-22 Image decoding device Pending JP2001128163A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP30115699A JP2001128163A (en) 1999-10-22 1999-10-22 Image decoding device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP30115699A JP2001128163A (en) 1999-10-22 1999-10-22 Image decoding device

Publications (1)

Publication Number Publication Date
JP2001128163A true JP2001128163A (en) 2001-05-11

Family

ID=17893466

Family Applications (1)

Application Number Title Priority Date Filing Date
JP30115699A Pending JP2001128163A (en) 1999-10-22 1999-10-22 Image decoding device

Country Status (1)

Country Link
JP (1) JP2001128163A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014075708A (en) * 2012-10-04 2014-04-24 Canon Inc Moving image encoder and moving image encoding method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014075708A (en) * 2012-10-04 2014-04-24 Canon Inc Moving image encoder and moving image encoding method

Similar Documents

Publication Publication Date Title
US7958431B2 (en) Method for interleaving data in a communication device
JP3549788B2 (en) Multi-stage encoding method, multi-stage decoding method, multi-stage encoding device, multi-stage decoding device, and information transmission system using these
US6192499B1 (en) Device and method for extending error correction beyond one sector time
EP0642228A2 (en) Apparatus for transmitting and receiving interleaved error correction coded data on a transmission frame
US20020075715A1 (en) Memory device, method of accessing the memory device, and Reed-Solomon decoder including the memory device
EP0600380B1 (en) Method and device for detection and correction of errors in ATM cell headers
CN101473308A (en) Non-volatile memory error correction system and method
CN101312387A (en) Data transmission apparatus, data transmission device, data reception device and data transmission system
JPWO1998052315A1 (en) Variable-length frame transmission method, transmitter, and receiver
US8539316B2 (en) Method and device for synchronizing reception of data packets
JP4012907B2 (en) Asynchronous transmission method and circuit thereof
JP2001128163A (en) Image decoding device
CN108650047B (en) A kind of serial data receiving real-time synchronous monitoring circuit and monitoring method
JPH02168753A (en) Synchronizing detection method in error correction device, its equipment and synchronizing method using the equipment
CN1326345C (en) Method and device for discarding error logical transfer unit
US20040153945A1 (en) Error correction circuit employing cyclic code
JPS62141875A (en) Preventing system for propagation of decoding error
US20020004881A1 (en) Data transfer apparatus and data transfer method
JP2016092632A (en) Data transmission / reception system, data transmission device, data reception device, data transmission / reception method, and program
JP7521837B1 (en) Processing system, processing method, and program
JP2726902B2 (en) Wide bandwidth Reed-Solomon encoding, decoding and error correction circuits
KR940007422B1 (en) RS Decoding System Without Buffer Register
CN120995967A (en) A wave controller chip with data error correction function
JPS58162152A (en) System for transmitting loop
JPH0430234A (en) Error detection circuit