JPH1013248A - Decoding device - Google Patents

Decoding device

Info

Publication number
JPH1013248A
JPH1013248A JP15827696A JP15827696A JPH1013248A JP H1013248 A JPH1013248 A JP H1013248A JP 15827696 A JP15827696 A JP 15827696A JP 15827696 A JP15827696 A JP 15827696A JP H1013248 A JPH1013248 A JP H1013248A
Authority
JP
Japan
Prior art keywords
decoding
data
reception buffer
header
picture
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP15827696A
Other languages
Japanese (ja)
Other versions
JP3478003B2 (en
Inventor
Masahiro Kazeyama
雅裕 風山
Hideki Inomata
英樹 猪股
Kenichi Asano
研一 浅野
Shinichi Okada
信一 岡田
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP15827696A priority Critical patent/JP3478003B2/en
Publication of JPH1013248A publication Critical patent/JPH1013248A/en
Application granted granted Critical
Publication of JP3478003B2 publication Critical patent/JP3478003B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To avoid the breakage of a buffer and to obtain a stable decoded image by writing the digital data into plural receiving buffer memories and counting the number of digital data, for applying the variable length decoding control to a decoding means. SOLUTION: The input digital data are divided by a selector 1 and written into the receiving buffer memories 21 to 24, separately from each other. Each of variable length decoding parts 31 to 34 reads the digital data by means of a decoding start signal 51, received from a parallel control part 5. The decoding bit counting parts 41 to 44 count the number of bits which performed the variable length decoding operations and notify the part 5 of the count value 401 to 404. The part 5 notifies the decoding start signal 51, based on the total bit number 111 and the value 401 to 404, to the variable length decoding part. Thus, the breakage of a buffer is avoided, and a stable decoded image is obtained.

Description

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

【0001】[0001]

【発明の属する技術分野】この発明はディジタル信号処
理装置などに利用される復号装置、特に動画像を復号す
る動画像復号装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a decoding device used for a digital signal processing device or the like, and more particularly to a moving image decoding device for decoding a moving image.

【0002】[0002]

【従来の技術】図10は例えば特開平6−225278
号公報に示された従来の画像復号装置の概略構成図であ
り、図において、1はセレクタ、21〜24は受信バッ
ファメモリ、31〜34は可変長復号部である。
2. Description of the Related Art FIG.
FIG. 1 is a schematic configuration diagram of a conventional image decoding device disclosed in Japanese Patent Application Laid-Open Publication No. H10-207, in which 1 is a selector, 21 to 24 are reception buffer memories, and 31 to 34 are variable length decoding units.

【0003】次に動作について説明する。入力されたビ
ットストリームデータはセレクタ1により、受信バッフ
ァメモリ21〜24に分配されて格納される。可変長復
号部31〜34はそれぞれ受信バッファメモリ21〜2
4からのデータを読み込んで可変長復号を行う。
Next, the operation will be described. The input bit stream data is distributed to and stored in the reception buffer memories 21 to 24 by the selector 1. The variable length decoding units 31 to 34 are respectively provided with reception buffer memories 21 to 2
4 and performs variable-length decoding.

【0004】このとき、可変長復号に必要なデータ量が
受信バッファメモリに蓄積され、かつ受信バッファメモ
リがオーバフローしないことが必要であるが、各受信バ
ッファメモリへの蓄積データ量は均等ではないので、可
変長復号の開始タイミングを適切に制御しなければなら
ない。ここでは、全ての受信バッファメモリがある一定
の閾値を越えた時を可変長復号の開始タイミングと定
め、この時点で各受信バッファメモリから各可変長復号
部への読みだしが一斉に開始され、可変長復号が行われ
る。
At this time, it is necessary that the amount of data required for variable-length decoding be stored in the reception buffer memory and that the reception buffer memory does not overflow. However, since the amount of data stored in each reception buffer memory is not uniform, , The start timing of variable-length decoding must be properly controlled. Here, the time when all the reception buffer memories exceed a certain threshold is defined as the variable-length decoding start timing, and at this time, reading from each reception buffer memory to each variable-length decoding unit is started simultaneously, Variable length decoding is performed.

【0005】[0005]

【発明が解決しようとする課題】従来の復号装置は以上
のように構成されており、復号の開始は各バッファ全て
に所定量以上のデータが蓄積された時とされている。と
ころが、HDTV画像のように情報量が膨大で、各受信
バッファメモリに対して必ずしもデータが均等に割り振
られないような場合、平均すれば各バッファとも所定量
以上のデータが蓄積されていたとしても、情報量の少な
いバッファにおいて所定量以上のデータが蓄積するまで
には、なお時間を要するため、情報量が集中しているバ
ッファにおいてはさらにデータの蓄積が行なわれて、最
悪オーバーフローによりバッファの破綻を招き、結果的
に復号画像が壊れるといった問題点があった。
The conventional decoding apparatus is configured as described above, and the decoding is started when a predetermined amount or more of data is accumulated in all the buffers. However, in the case where the amount of information is enormous like an HDTV image and the data is not always uniformly allocated to each of the receiving buffer memories, even if an average of each buffer stores a predetermined amount of data or more. Since it takes a long time before data of a predetermined amount or more is accumulated in a buffer having a small amount of information, data is further accumulated in a buffer having a large amount of information, and the buffer is broken due to the worst overflow. , Resulting in a problem that the decoded image is broken.

【0006】この発明は上記のような問題点を解消する
ためになされたもので、情報量の振り分けが偏っていた
場合においてもバッファの破綻を回避し、安定した復号
画像を得ることを目的とする。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problems, and has as its object to avoid a buffer failure even when the distribution of information amount is biased, and to obtain a stable decoded image. I do.

【0007】[0007]

【課題を解決するための手段】この発明における復号装
置は、入力デジタルデータを複数の受信バッファメモリ
に分配して書き込む分配手段と、この分配手段が上記各
受信バッファメモリに書き込んだデジタルデータのデー
タ量をカウントする書き込みデータカウント手段と、上
記各受信バッファメモリよりデータを読み込んで可変長
復号を行う復号手段と、この各復号手段が上記各受信バ
ッファメモリから読み込んだデータのデータ量をカウン
トする読み込みデータカウント手段と、この読み込みデ
ータカウント手段でカウントされた読み込みデータ量と
上記書き込みデータカウント手段でカウントされた書き
込みデータ量とに基づき、上記復号手段に対して可変長
復号の開始を指示制御する制御手段とを備えたものであ
る。
According to the present invention, there is provided a decoding apparatus for distributing input digital data to a plurality of receiving buffer memories and writing the digital data into the receiving buffer memories; Write data counting means for counting the amount, decoding means for reading data from each reception buffer memory and performing variable length decoding, and reading for counting the data amount of data read from each reception buffer memory by each decoding means Data count means, and control for instructing the decoding means to start variable-length decoding based on the read data amount counted by the read data count means and the write data amount counted by the write data count means. Means.

【0008】また、上記分配手段は、入力デジタルデー
タのうちヘッダ情報を含むデータを特定の受信バッファ
メモリのみに書き込み、ヘッダ情報以外のデータをそれ
ぞれの受信バッファメモリに分割して書き込むように構
成する。
The distribution means writes data including header information of the input digital data only to a specific reception buffer memory, and divides and writes data other than header information into respective reception buffer memories. .

【0009】そして、上記特定の受信バッファメモリか
ら上記ヘッダ情報を含むデータを読み込む復号手段は、
このヘッダ情報に基づきヘッダ情報以外のデータの復号
に必要なサイド情報を他の復号手段に通知する通知手段
を備える。
The decoding means for reading data including the header information from the specific reception buffer memory,
A notifying means is provided for notifying other decoding means of side information necessary for decoding data other than the header information based on the header information.

【0010】あるいは、上記分配手段は、入力デジタル
データのうちヘッダ情報を含むデータをすべての受信バ
ッファメモリに書き込み、ヘッダ情報以外のデータをそ
れぞれの受信バッファメモリに分割して書き込むように
構成する。
Alternatively, the distribution means writes data including header information in the input digital data to all the reception buffer memories, and divides and writes data other than the header information into the respective reception buffer memories.

【0011】また、上記復号手段は、上記受信バッファ
メモリメモリからスライスヘッダを読み込んだ時点でデ
ータの復号を停止して復号停止フラグを上記制御手段に
送るとともに、上記制御手段は、全ての復号手段から上
記復号停止フラグが送られた状態である場合に、各復号
手段に対し復号開始を指示する構成とする。
The decoding means stops decoding the data when the slice header is read from the reception buffer memory and sends a decoding stop flag to the control means. When the above-mentioned decoding stop flag is sent from, the decoding unit is instructed to start decoding.

【0012】また、上記分配手段は入力デジタルデータ
からピクチャヘッダを検出して上記各受信バッファメモ
リにピクチャの先頭を示す情報書き込むピクチャヘッダ
検出手段を備える。
The distribution means includes picture header detection means for detecting a picture header from the input digital data and writing information indicating the head of the picture in each of the reception buffer memories.

【0013】そして、上記復号手段はデータ中のシンタ
ックスエラーを検出し、上記制御手段にエラー検出を通
知するシンタックスエラー検出手段を備えるとともに、
上記制御手段はいずれかの復号手段でシンタックスエラ
ーが発生した場合、すべての復号手段に対して、上記ピ
クチャの先頭を示す情報に基づき次のピクチャの先頭位
置までデータを読み捨てる制御を行うようにする。
The decoding means includes a syntax error detection means for detecting a syntax error in the data and notifying the control means of the error detection.
When a syntax error occurs in any of the decoding units, the control unit controls all the decoding units to read and discard data up to the start position of the next picture based on the information indicating the start of the picture. To

【0014】また、上記分配手段は入力デジタルデータ
からグループオブピクチャヘッダを検出して上記各受信
バッファメモリにグループオブピクチャの先頭を示す情
報を書き込むグループオブピクチャヘッダ検出手段を備
える。
The distributing means includes a group of picture header detecting means for detecting a group of picture header from the input digital data and writing information indicating the head of the group of picture to each of the reception buffer memories.

【0015】そして、上記復号手段はデータ中のシンタ
ックスエラーを検出し、上記制御手段にエラー検出を通
知するシンタックスエラー検出手段を備えるとともに、
上記制御手段はいずれかの復号手段でシンタックスエラ
ーが発生した場合、すべての復号手段に対して、上記グ
ループオブピクチャの先頭を示す情報に基づき次のグル
ープオブピクチャの先頭位置までのデータ読み捨て指示
制御を行うようにする。
The decoding means includes a syntax error detection means for detecting a syntax error in the data and notifying the control means of the error detection.
When a syntax error occurs in any of the decoding means, the control means instructs all decoding means to discard data up to the head of the next group of pictures based on the information indicating the head of the group of pictures. Take control.

【0016】また、上記分配手段は入力デジタルデータ
からシーケンスヘッダを検出して上記各受信バッファメ
モリにシーケンスの先頭を示す情報書き込むシーケンス
ヘッダ検出手段を備える
The distribution means includes a sequence header detection means for detecting a sequence header from the input digital data and writing information indicating the beginning of the sequence in each of the reception buffer memories.

【0017】そして、上記復号手段はデータ中のシンタ
ックスエラーを検出し、上記制御手段にエラー検出を通
知するシンタックスエラー検出手段を備えるとともに、
上記制御手段はいずれかの復号手段でシンタックスエラ
ーが発生した場合、すべての復号手段に対して、上記シ
ーケンスの先頭を示す情報に基づき次のシーケンスの先
頭位置までのデータ読み捨て指示制御を行うようにす
る。
The decoding means includes a syntax error detection means for detecting a syntax error in the data and notifying the control means of the error detection.
When a syntax error occurs in any of the decoding units, the control unit performs, based on the information indicating the start of the sequence, data read / discard instruction control up to the start position of the next sequence for all decoding units. To

【0018】また、上記各復号手段はデータ中のエラー
を検出した場合に次のスライス以上のレイヤの先頭位置
までデータを読み捨てる制御を行うエラー検出情報を出
力するエラー検出手段を備える。
Each of the decoding means includes error detection means for outputting error detection information for performing control of reading and discarding data up to the head position of a layer above the next slice when an error in the data is detected.

【0019】また、上記復号手段は復号したマクロブロ
ックデータの先頭タイミングで先頭識別信号を可変長復
号データと共に出力するとともに、各復号手段からのマ
クロブロックデータ先頭識別信号の位相を監視するマク
ロブロック位相監視手段を備える。
The decoding means outputs the head identification signal together with the variable-length decoded data at the head timing of the decoded macroblock data, and monitors the phase of the macroblock data head identification signal from each decoding means. A monitoring means is provided.

【0020】[0020]

【発明の実施の形態】BEST MODE FOR CARRYING OUT THE INVENTION

実施の形態1.以下、この発明の実施の形態を説明す
る。図1はこの発明の実施形態における復号装置の構成
図である。図において、1は入力デジタルデータを複数
の受信バッファメモリ21〜24に分配して書き込む分
配手段としてのセレクタであり、各受信バッファメモリ
21〜24に書き込んだデータのデータ量(ここではト
ータルビット数111)をカウントして出力する書き込
みデータカウント手段(図示せず)を有する。
Embodiment 1 FIG. Hereinafter, embodiments of the present invention will be described. FIG. 1 is a configuration diagram of a decoding device according to an embodiment of the present invention. In the figure, reference numeral 1 denotes a selector as distribution means for distributing and writing input digital data to a plurality of reception buffer memories 21 to 24, and a data amount (here, a total bit number) of data written to each of the reception buffer memories 21 to 24. 111) for counting and outputting the data.

【0021】31〜34は上記各受信バッファメモリ2
1〜24よりデータを読み込んで可変長復号を行う復号
手段としての可変長復号部、41〜44はこの可変長復
号部31〜34が上記各受信バッファメモリ21〜24
読み込んで復号したデータのデータ量(ここでは復号ビ
ット数401〜404)をカウントする読み込みデータ
カウント手段としての復号ビットカウント部である。
Reference numerals 31 to 34 denote the reception buffer memories 2 described above.
The variable length decoding units 41 to 44 serving as decoding means for reading data from 1 to 24 and performing variable length decoding are configured by the variable length decoding units 31 to 34 by the reception buffer memories 21 to 24 described above.
This is a decoded bit count unit as read data counting means for counting the data amount of the read and decoded data (here, the number of decoded bits 401 to 404).

【0022】また、5は上記復号ビットカウント部41
〜44でカウントされた復号ビット数401〜404と
上記書き込みデータカウント手段でカウントされたトー
タルビット数111とに基づき、上記可変長復号部31
〜34に対して可変長復号の開始を指示制御する制御手
段としての並列制御部である。
5 is the decoded bit counting section 41
The variable length decoding unit 31 is based on the decoded bit numbers 401 to 404 counted by the write data counting means and the total bit number 111 counted by the write data counting means.
To 34 are parallel control units as control means for instructing the start of variable-length decoding.

【0023】次に動作について説明する。入力デジタル
データとしての動画像信号のビットストリームデータ
は、セレクタ1においてデータを分割され、各受信バッ
ファメモリ21〜24に分配して書き込まれる。(図で
はセレクタ1からの出力線が全ての受信バッファメモリ
21〜24に接続されているが、セレクタ1からそれぞ
れの受信バッファメモリ21〜24に個別に接続される
構成でもよい。) なお、このビットストリームデータの各受信バッファメ
モリ21〜24への分配のしかたとしてはいろいろな分
けかたが考えられ、必ずしも各受信バッファメモリ21
〜24に均等には分配されない。
Next, the operation will be described. Bit stream data of a moving image signal as input digital data is divided by the selector 1 and distributed to each of the reception buffer memories 21 to 24 and written. (In the figure, the output line from the selector 1 is connected to all the reception buffer memories 21 to 24, but the selector 1 may be connected to each of the reception buffer memories 21 to 24 individually.) There are various ways of distributing the bit stream data to the reception buffer memories 21 to 24.
~ 24 are not evenly distributed.

【0024】各可変長復号部31〜34は、並列制御部
5からのピクチャデータ復号開始信号51により、それ
ぞれ受信バッファメモリ21〜24からデータを読み込
み、可変長復号を行う。この可変長復号データは、図示
していない後段のDCT復号部に対して送出され、以降
の処理により動画像信号が復号されることになる。
Each of the variable length decoding units 31 to 34 reads data from the reception buffer memories 21 to 24 in response to the picture data decoding start signal 51 from the parallel control unit 5, and performs variable length decoding. The variable-length decoded data is sent to a subsequent DCT decoding unit (not shown), and the moving image signal is decoded by the subsequent processing.

【0025】ここで、各受信バッファメモリ21〜24
には必ずしも均等にデータが蓄積されていないため、そ
れぞれの受信バッファメモリにおけるデータ蓄積量には
偏りがあるが、受信バッファメモリ全体としてある程度
のデータ量が蓄積されている状態になった場合に、各可
変長復号部31〜34による復号動作を開始すること
が、適切な復号動作として好ましい。すなわち、こうす
ることにより復号可能なデータ量が受信バッファメモリ
21〜24に蓄積されてから復号が行われる状態を実現
し、かつ各受信バッファメモリがオーバフローしないよ
うにするためのバッファメモリ容量の設計値を抑えるこ
とができる。
Here, each of the reception buffer memories 21 to 24
Since the data is not always evenly stored in each of the receiving buffer memories, there is a bias in the amount of data stored in each of the receiving buffer memories, but when a certain amount of data is stored in the entire receiving buffer memory, Starting a decoding operation by each of the variable-length decoding units 31 to 34 is preferable as an appropriate decoding operation. In other words, the buffer memory capacity is designed to realize a state in which decoding is performed after the amount of data that can be decoded is accumulated in the reception buffer memories 21 to 24, and that each reception buffer memory does not overflow. The value can be suppressed.

【0026】そのために、並列制御部5はピクチャ復号
開始信号51により、各可変長復号部31〜34の復号
動作の開始を以下のようにして指示制御する。まず、実
際に可変長復号を行ったビット数が復号ビットカウント
部41〜44においてカウントされ、そのカウント値が
復号ビット数401〜404として並列制御部5に通知
される。一方、セレクタ1の上記書き込みデータカウン
ト手段(図示せず)からは、各受信バッファメモリ21
〜24に書き込んだトータルビット数111が並列制御
部5に通知される。
For this purpose, the parallel control section 5 controls the start of the decoding operation of each of the variable length decoding sections 31 to 34 in accordance with the picture decoding start signal 51 as follows. First, the number of bits actually subjected to variable-length decoding is counted by the decoding bit counting units 41 to 44, and the count value is notified to the parallel control unit 5 as the number of decoding bits 401 to 404. On the other hand, from the write data counting means (not shown) of the selector 1, each reception buffer memory 21
The total number of bits 111 written in .about.24 is notified to the parallel control unit 5.

【0027】並列制御部5においては、このトータルビ
ット数111、及びすべての復号ビットカウント部41
〜44からのより復号ビット数401〜404に基づ
き、トータルビット数111から復号ビット数401〜
404を減じることによって全受信バッファメモリに蓄
積されているデータ量の総和を求める。そして、この受
信バッファメモリ全体としての蓄積量が、ある閾値、例
えばビットストリームデータに多重されているvbv_
delay値相当のデータ量(すなわち可変長復号が可
能なデータ量)以上になったら、ピクチャ復号開始信号
51をすべての可変長復号部に通知し、復号を開始させ
る。
In the parallel control unit 5, the total bit number 111 and all the decoded bit counts 41
From the total number of bits 111 to the number of decoded bits 401 to
By subtracting 404, the total amount of data stored in all the reception buffer memories is obtained. Then, the accumulated amount of the entire reception buffer memory is set to a certain threshold value, for example, vbv_multiplexed to the bit stream data.
When the data amount becomes equal to or larger than the data amount corresponding to the delay value (that is, the data amount that can be subjected to variable-length decoding), a picture decoding start signal 51 is notified to all the variable-length decoding units to start decoding.

【0028】なお、一例として示した上記vbv_de
lay値を用いる場合は、vbv_delay値がビッ
トストリームデータのヘッダ部分に含まれているので、
ヘッダ部分を蓄積するいずれかの受信バッファメモリか
らデータを読み込む可変長復号部が、並列制御部5に通
知するように構成すればよい。
The vbv_de described above as an example
When using the lay value, since the vbv_delay value is included in the header portion of the bit stream data,
The variable length decoding unit that reads data from any of the reception buffer memories that store the header part may be configured to notify the parallel control unit 5.

【0029】以上により、蓄積量がそれぞれの受信バッ
ファで偏っていても、バッファの破綻を起こすことなく
安定した復号画像を得ることができる。
As described above, a stable decoded image can be obtained without causing a buffer breakdown even if the amount of storage is uneven in each receiving buffer.

【0030】実施の形態2.次に、上記セレクタ1によ
る各受信バッファ21〜24への分配の例と、その場合
の実施形態を以下に示す。図2は例えば、国際標準IS
O/IEC 13818−2(MPEG2:VIDE
O)に示された画像データ伝送に用いるビットストリー
ムデータについて記したものである。図中101はシー
ケンスヘッダのデータを示し、102はシーケンスエク
ステンションのデータを示し、103はGOPヘッダの
データを示し、104はピクチャヘッダのデータを示
し、105はピクチャエクステンションのデータを示
し、106a以降はスライスヘッダ以下のデータを示し
ている。
Embodiment 2 FIG. Next, an example of distribution to the reception buffers 21 to 24 by the selector 1 and an embodiment in that case will be described below. FIG. 2 shows, for example, the international standard IS
O / IEC 13818-2 (MPEG2: VIDE
This describes the bit stream data used for image data transmission shown in O). In the figure, 101 indicates data of a sequence header, 102 indicates data of a sequence extension, 103 indicates data of a GOP header, 104 indicates data of a picture header, 105 indicates data of a picture extension, and 106a and thereafter The data below the slice header is shown.

【0031】このようなデータが図1のセレクタ1に入
力された場合、各受信バッファメモリへの分配の例を示
したものが図3である。ヘッダ情報を含むデータ、例え
ばシーケンスヘッダのデータ101、シーケンスエクス
テンションのデータ102、GOP(グループオブピク
チャ)ヘッダのデータ103、ピクチャヘッダのデータ
104、ピクチャエクステンションのデータ105に関
しては、特定の受信バッファメモリ、例えば受信バッフ
ァメモリ21のみに書き込まれる。
FIG. 3 shows an example of distribution to each reception buffer memory when such data is input to the selector 1 of FIG. For data including header information, for example, sequence header data 101, sequence extension data 102, GOP (group of picture) header data 103, picture header data 104, and picture extension data 105, a specific reception buffer memory For example, it is written only in the reception buffer memory 21.

【0032】またスライスヘッダ以下のデータ106に
関しては、例えば106aは受信バッファメモリ21
に、106bは受信バッファメモリ22に、106cは
受信バッファメモリ23に、106dは受信バッファメ
モリ24に、106eは受信バッファメモリ21にとい
うように各受信バッファメモリ21〜24に分割して、
書き込まれる。
As for the data 106 below the slice header, for example, 106a is stored in the reception buffer memory 21.
106b is divided into the reception buffer memories 22 to 24, 106c is divided into the reception buffer memory 23, 106d is divided into the reception buffer memory 24, and 106e is divided into the reception buffer memories 21 to 24.
Written.

【0033】このようにして、実質的な画像データであ
り、データ量の大きいスライスヘッダ以下のデータ10
6は各受信バッファメモリ21〜24にできるだけ分散
して蓄積し、ある単位に対応して設けられるヘッダ情報
は一箇所に蓄積して一括処理できるようにする。
As described above, the data 10 which is substantially image data and has a large data amount and is equal to or less than the slice header.
Numeral 6 distributes and accumulates as much as possible in each of the reception buffer memories 21 to 24, and the header information provided corresponding to a certain unit is accumulated in one place so that it can be collectively processed.

【0034】このような分配方法の場合、ヘッダ情報が
一箇所の受信バッファメモリ21にのみ蓄積されるた
め、他のバッファメモリ22〜24からデータを読み取
って復号を行う可変長復号部32〜34は、ヘッダ情報
に含まれる可変長復号に必要な情報を得ることができな
い。したがって、受信バッファメモリ21からデータを
読み取って復号を行う可変長復号部31から他の可変長
復号部32〜34に対して可変長復号に必要な情報をサ
イド情報として通知する。
In the case of such a distribution method, since the header information is stored only in one receiving buffer memory 21, variable length decoding units 32 to 34 which read data from other buffer memories 22 to 24 and decode the data. Cannot obtain information necessary for variable length decoding included in the header information. Therefore, information necessary for variable-length decoding is notified as side information from the variable-length decoding unit 31 that reads data from the reception buffer memory 21 and performs decoding to the other variable-length decoding units 32-34.

【0035】このような場合の構成図を図4に示す。こ
こで図1と異なるのは、可変長復号部31において、上
記サイド情報310をから他の可変長復号部32〜34
に通知する通知手段31aが設けられていることであ
る。ピクチャレイヤ以上のデータに関しては可変長復号
部31でしか復号が行なわれない。従ってピクチャレイ
ヤ以上のデータで復号に必要な情報は、通知手段31a
によりサイド情報310として可変長復号部32、3
3、34にあらかじめ通知する。
FIG. 4 shows a configuration diagram in such a case. Here, the difference from FIG. 1 is that the variable-length decoding unit 31 converts the side information 310 from the other variable-length decoding units 32-34.
Is provided with a notifying unit 31a for notifying the user. Data of the picture layer or higher is decoded only by the variable length decoding unit 31. Therefore, the information necessary for decoding in the data of the picture layer or higher is transmitted to the notifying unit 31a.
The variable length decoding units 32 and 3
3, 34 are notified in advance.

【0036】可変長復号部31においては復号を行った
ヘッダ情報により、また可変長復号部32、33、34
は通知手段31からのサイド情報310を得ることによ
り、受信バッファメモリからの読み込みデータを可変長
復号する。並列制御部5による制御については上記実施
形態と同様の動作がなされる。以上により、効率的にビ
ットストリームを分配して全ての可変長復号部31〜3
4における復号動作が実現される。
In the variable length decoding unit 31, the variable length decoding units 32, 33, 34
Obtains the side information 310 from the notifying means 31 and performs variable length decoding of the data read from the reception buffer memory. Regarding the control by the parallel control unit 5, the same operation as in the above embodiment is performed. As described above, the bit stream is efficiently distributed and all of the variable length decoding units 31 to 3 are decoded.
4 is realized.

【0037】実施形態3.次に、上記セレクタ1による
各受信バッファ21〜24への分配のしかたとして、上
記実施形態と異なる分配方法の例を示す。上記説明と同
様の図2のようなビットストリームデータが入力された
場合において、各受信バッファメモリ21〜24へ分配
した状態を図5に示す。
Embodiment 3 Next, an example of a distribution method different from that of the above embodiment will be described as a method of distribution to the respective reception buffers 21 to 24 by the selector 1. FIG. 5 shows a state where bit stream data as shown in FIG. 2 similar to the above description is input and distributed to the respective reception buffer memories 21 to 24.

【0038】この図5で、上述の図3で示した場合と異
なるのは、ヘッダ情報を含む各データ101〜105に
関しては、全ての受信バッファメモリに書き込まれる点
である。スライスヘッダ以下のデータ106に関して
は、各受信バッファメモリ21〜24に分割して書き込
まれる。このようにして、実質的にデータ量の大きいス
ライスヘッダ以下のデータ106は各受信バッファメモ
リ21〜24にできるだけ分散するようにして蓄積す
る。
FIG. 5 differs from FIG. 3 in that each of the data 101 to 105 including the header information is written in all the reception buffer memories. The data 106 below the slice header is divided and written into each of the reception buffer memories 21 to 24. In this manner, the data 106 having a data size substantially equal to or smaller than the slice header is accumulated in the reception buffer memories 21 to 24 so as to be dispersed as much as possible.

【0039】またヘッダ情報は全ての受信バッファメモ
リ21〜24に蓄積されるので、ヘッダ情報に含まれる
可変長復号に必要な情報を全ての可変長復号部31〜3
4が各受信バッファメモリ21〜24から直接得ること
ができ、構成としては図1に示したように簡略なものに
なる。
Since the header information is stored in all the reception buffer memories 21 to 24, the information necessary for the variable length decoding included in the header information is stored in all the variable length decoding units 31 to 31.
4 can be obtained directly from each of the reception buffer memories 21 to 24, and the configuration becomes simple as shown in FIG.

【0040】実施の形態4.次に、可変長復号部による
復号動作を制御する別の実施形態説明する。図6はこの
実施形態における復号装置の構成図であり、1、21〜
24、31〜34、41〜44、5、51は図1と同様
のものである。この実施形態では、上記図1で説明した
並列制御部5による可変長復号部31〜34へのピクチ
ャ復号開始の制御に加え、スライスデータ復号の動作制
御も行う。ピクチャ復号の開始制御については、上記実
施形態と同様である。
Embodiment 4 FIG. Next, another embodiment for controlling the decoding operation by the variable length decoding unit will be described. FIG. 6 is a configuration diagram of a decoding device according to this embodiment.
24, 31 to 34, 41 to 44, 5, and 51 are the same as those in FIG. In this embodiment, in addition to controlling the start of picture decoding to the variable length decoding units 31 to 34 by the parallel control unit 5 described in FIG. 1, the operation control of slice data decoding is also performed. The start control of picture decoding is the same as in the above embodiment.

【0041】可変長復号部31〜34は、復号動作にお
いてスライスヘッダを読み込むと、復号を停止し、並列
制御部5に対してそれぞれスライス復号停止フラグ31
1、321、331、341を渡す。並列制御部5は、
全ての可変長復号部31〜34からのスライス復号停止
フラグが得られた時点で、スライス復号開始信号52を
すべての可変長復号部31〜34に通知する。これによ
り各可変長復号部31〜34で停止していたスライスデ
ータの復号が開始される。
When reading the slice header in the decoding operation, the variable-length decoding units 31 to 34 stop decoding, and instruct the parallel control unit 5 to execute the slice decoding stop flag 31.
1, 321, 331 and 341 are passed. The parallel control unit 5
When the slice decoding stop flags are obtained from all the variable length decoding units 31 to 34, the slice decoding start signal 52 is notified to all the variable length decoding units 31 to 34. Thus, the decoding of the slice data that has been stopped in each of the variable length decoding units 31 to 34 is started.

【0042】このようにすることにより、ある特定の可
変長復号部の復号時間が延びた場合においても、スライ
スデータ単位での各可変長復号部31〜34間の同期を
確立でき、後段のDCT復号部などの処理をスライスデ
ータ単位で同期して進行できる。
By doing so, even when the decoding time of a specific variable length decoding unit is extended, synchronization between the variable length decoding units 31 to 34 can be established in slice data units, and the DCT at the subsequent stage can be established. The processing of the decoding unit and the like can proceed synchronously in units of slice data.

【0043】実施の形態5.次に、ビットストリーム中
のエラーを検出する場合の処置についての実施形態を説
明する。図7において、1、21〜24、31〜34、
41〜44、5、51は図1と同様のものである。11
はセレクタ1に設けられ、入力ビットストリームからピ
クチャヘッダを検出して、これに基づきピクチャの先頭
を示す情報を上記各受信バッファメモリ21〜24に書
き込むピクチャヘッダ検出手段としてのピクチャヘッダ
検出部、61〜64は各可変長復号部31〜34に設け
られ、データ中のシンタックスエラーを検出し、並列制
御部5にエラー検出を通知するシンタックスエラー検出
手段としてのシンタックスエラー検出部である。
Embodiment 5 FIG. Next, an embodiment of a process for detecting an error in a bit stream will be described. In FIG. 7, 1, 21 to 24, 31 to 34,
Reference numerals 41 to 44, 5, and 51 are the same as those in FIG. 11
Is provided in the selector 1, detects a picture header from the input bit stream, and writes information indicating the head of the picture into each of the reception buffer memories 21 to 24 based on the picture header. Numerals 64 are syntax error detectors provided in each of the variable length decoders 31 to 34 as syntax error detectors for detecting a syntax error in the data and notifying the parallel controller 5 of the error detection.

【0044】動画像信号のビットストリームデータはセ
レクタ1においてデータを分割され、受信バッファメモ
リ21〜24に書き込まれる。この時ピクチャヘッダ検
出部11においてピクチャヘッダを検出した場合、それ
ぞれの受信バッファメモリ21〜24に検出後最初にデ
ータを書き込む際に、ピクチャの先頭位置を示すフラグ
をそのデータと供に受信バッファメモリに書き込む。こ
のフラグが書き込まれることにより、受信バッファメモ
リにおいてピクチャの先頭位置が確認できるようにな
る。
The bit stream data of the moving image signal is divided by the selector 1 and written into the reception buffer memories 21 to 24. At this time, when a picture header is detected by the picture header detection unit 11, when data is first written into each of the reception buffer memories 21 to 24 after the detection, a flag indicating the head position of the picture is transmitted together with the data to the reception buffer memory. Write to. By writing this flag, the head position of the picture can be confirmed in the reception buffer memory.

【0045】一方、可変長復号部31〜34において
は、上記実施形態と同様に可変長復号動作、並列制御部
5によるピクチャ復号開始制御が行われる。可変長復号
部31〜34の復号動作中にいずれかのシンタックスエ
ラー検出部61〜64でエラーを検出した場合、検出を
したシンタックスエラー検出部から並列制御部5にエラ
ー情報601〜604が伝わる。
On the other hand, in the variable length decoding units 31 to 34, the variable length decoding operation and the picture decoding start control by the parallel control unit 5 are performed as in the above embodiment. When any of the syntax error detection units 61 to 64 detects an error during the decoding operation of the variable length decoding units 31 to 34, the error information 601 to 604 is sent from the detected syntax error detection unit to the parallel control unit 5. Convey.

【0046】シンタックスエラーが検出された場合、そ
のピクチャに対応するデータ全体に影響があるので、こ
れは画像の復号に使用しないようする必要がある。した
がって、エラー情報601〜604のいずれかを受けた
並列処理部5は、全可変長復号部31〜34に対して、
次のピクチャの先頭までデータを読み捨てるよう指示信
号53が出される。各可変長復号部31〜34では、こ
の読み捨て指示信号を受けると、ピクチャヘッダ検出部
11により受信バッファメモリ21〜24に書き込まれ
たピクチャの先頭位置を示すフラグに基づき、次のピク
チャの先頭までデータを読み飛ばし、次のピクチャから
復号を再開する。
When a syntax error is detected, the entire data corresponding to the picture is affected, so that it is necessary not to use it for decoding an image. Therefore, the parallel processing unit 5 that has received any of the error information 601 to 604 sends a signal to all the variable length decoding units 31 to 34.
An instruction signal 53 is issued to read and discard data up to the beginning of the next picture. When each of the variable-length decoding units 31 to 34 receives the read-out instruction signal, the variable-length decoding unit 31 to 34 determines whether or not the next picture starts, based on the flag indicating the head position of the picture written in the reception buffer memories 21 to 24 by the picture header detection unit 11. Data is skipped, and decoding is restarted from the next picture.

【0047】また、エラー情報601〜604に基づい
て、並列処理部5あるいは可変長復号部31〜34など
から、この可変長復号以降の処理を行う例えばDCT復
号部(図示せず)に対して、復号停止指示をだす。以上
により、データに誤りがあった場合に、高速に正常な画
像に復帰でき、エラーの影響を最小限にとどめることが
できる。
Further, based on the error information 601 to 604, the parallel processing unit 5 or the variable length decoding units 31 to 34, for example, sends a signal to a DCT decoding unit (not shown) which performs processing after the variable length decoding. , And issues a decoding stop instruction. As described above, when there is an error in the data, the image can be restored to a normal image at high speed, and the influence of the error can be minimized.

【0048】なお、ここでは、セレクタ1に、ピクチャ
ヘッダを検出して各受信バッファメモリ21〜24に書
き込むピクチャヘッダ検出部11を設けたものを示した
が、ピクチャヘッダではなく、入力ビットストリーム中
からグループオブピクチャ(GOP)ヘッダを検出し、
GOPの先頭を示す情報(フラグ)を各受信バッファメ
モリ21〜24に書き込むGOPヘッダ検出手段、ある
いは、シーケンスヘッダを検出し、シーケンスの先頭を
示す情報(フラグ)を各受信バッファメモリ21〜24
に書き込むシーケンスヘッダ検出手段を設けるようにし
てもよい。
Although the selector 1 is provided with the picture header detector 11 for detecting the picture header and writing the picture header into each of the reception buffer memories 21 to 24, the selector 1 is not used for the picture header but for the input bit stream. From the group of pictures (GOP) header,
GOP header detecting means for writing information (flag) indicating the head of the GOP into each of the reception buffer memories 21 to 24, or detecting a sequence header and transmitting information (flag) indicating the head of the sequence to each of the reception buffer memories 21 to 24
May be provided.

【0049】これらの場合も、シンタックスエラー検出
部61〜64でエラーを検出した場合、それぞれにおけ
る上記フラグに基づき、次のグループオブピクチャの先
頭まで、あるいは次のシーケンスの先頭までデータを読
み飛ばし、次の先頭から復号を再開するようにすること
により、データに誤りがあった場合に、高速に正常な画
像に復帰でき、エラーの影響を最小限にとどめることが
できる。
Also in these cases, when an error is detected by the syntax error detectors 61 to 64, data is skipped to the head of the next group of pictures or the head of the next sequence, based on the above flags. By restarting decoding from the next head, if there is an error in the data, it is possible to quickly return to a normal image and minimize the influence of the error.

【0050】以上のエラー処理を行う実施形態は、シン
タックスエラーの検出により、シーケンスやGOP、ピ
クチャなどの範囲にわたって、すなわち複数の可変長復
号部31〜34に影響がある場合についての処置につい
てのものであり、ピクチャヘッダ、GOPヘッダ、シー
ケンスヘッダを各受信バッファメモリに書き込んでおく
ことで、上記のような動作が可能となるものである。
In the embodiment in which the above error processing is performed, detection of a syntax error covers a range of a sequence, a GOP, a picture, etc., that is, a measure for a case where a plurality of variable length decoding units 31 to 34 are affected. By writing a picture header, a GOP header, and a sequence header in each reception buffer memory, the above operation can be performed.

【0051】図3のようにヘッダ情報をひとつの受信バ
ッファメモリに蓄積するような分配方法において、ヘッ
ダ情報が蓄積されない受信バッファメモリにおいてもピ
クチャヘッダ、GOPヘッダ、シーケンスヘッダを書き
込むので、上述のような動作を行うことができる。ま
た、図5のようにヘッダ情報をひとつの受信バッファメ
モリに蓄積するような分配方法においては、各受信バッ
ファメモリにヘッダ情報が蓄積されているので、そのヘ
ッダ情報からピクチャ、GOP、シーケンスの先頭を検
出することもできるが、上述のような簡略な構成のピク
チャヘッダ、GOPヘッダ、シーケンスヘッダを書き込
むようにすることで、より簡単にピクチャ、GOP、シ
ーケンスの先頭を検出できる。
In the distribution method in which the header information is stored in one reception buffer memory as shown in FIG. 3, the picture header, the GOP header, and the sequence header are written in the reception buffer memory in which the header information is not stored. Operation can be performed. In the distribution method in which the header information is stored in one reception buffer memory as shown in FIG. 5, the header information is stored in each reception buffer memory. Can be detected, but by writing a picture header, a GOP header, and a sequence header having a simple configuration as described above, the head of a picture, a GOP, and a sequence can be detected more easily.

【0052】実施の形態6.以上のエラー処理を行う実
施形態は、シンタックスエラーの検出により、シーケン
スやGOP、ピクチャなどの範囲にわたって、すなわち
複数の可変長復号部31〜34に影響がある場合につい
ての処置についてのものであったが、次に、スライスの
範囲におけるエラー処理をする場合の実施形態を説明す
る。
Embodiment 6 FIG. The embodiment in which the above error processing is performed is a processing for a case where detection of a syntax error affects a range of a sequence, a GOP, a picture, and the like, that is, a case where a plurality of variable length decoding units 31 to 34 are affected. However, an embodiment in which error processing is performed in a range of a slice will be described next.

【0053】図8において、1、21〜24、31〜3
4、41〜44、5、51は図1と同様のものである。
71〜74は各可変長復号部31〜34に設けられ、デ
ータ中のエラーを検出するエラー検出手段としてエラー
検出部である。可変長復号部31〜34においては、可
変長復号動作、並列制御部5によるピクチャ復号開始制
御が行われる。
In FIG. 8, 1, 21 to 24, 31 to 3
4, 41 to 44, 5, and 51 are the same as those in FIG.
Error detection units 71 to 74 are provided in the variable length decoding units 31 to 34, respectively, and serve as error detection means for detecting errors in data. In the variable length decoding units 31 to 34, a variable length decoding operation and a picture decoding start control by the parallel control unit 5 are performed.

【0054】各可変長復号部31〜34で復号を行って
いる際にエラー検出部71〜74でエラーを検出した場
合、検出のあった可変長復号部では次のスライスの先頭
までデータを読み飛ばし、また後段のDCT復号部に対
して復号停止命令を出力する。DCT復号部においては
復号停止命令が出た場合、例えば前フレームのデータを
出力するなどのエラーコンシールメント処理を行う。な
お、スライスの先頭は各可変長復号部31〜34で把握
できることはいうまでもない。
When an error is detected by the error detectors 71 to 74 during decoding by the variable length decoders 31 to 34, the detected variable length decoder reads data up to the head of the next slice. Skipping is performed, and a decoding stop instruction is output to the subsequent DCT decoding unit. When a decoding stop instruction is issued, the DCT decoding unit performs an error concealment process such as outputting data of a previous frame. Needless to say, the beginning of the slice can be grasped by each of the variable length decoding units 31 to 34.

【0055】実施の形態7.次に、各可変長復号部31
〜34におけるマクロブロック単位での動作を同期させ
る実施形態について説明する。図9において8はマクロ
ブロック位相監視手段としてのマクロブロック位相監視
部である。可変長復号部31〜34は可変長復号を行
い、後段のDCT復号部に対してデータを送出する。ま
たこれとは別に、マクロブロックのデータを出力する際
に、マクロブロック先頭パルスを出力し、マクロブロッ
ク先頭パルスはマクロブロック位相監視部8に送られ
る。
Embodiment 7 FIG. Next, each variable length decoding unit 31
An embodiment for synchronizing the operations in units of macroblocks in .about.34 will be described. In FIG. 9, reference numeral 8 denotes a macroblock phase monitoring unit as macroblock phase monitoring means. The variable-length decoding units 31 to 34 perform variable-length decoding, and transmit data to the DCT decoding unit at the subsequent stage. Separately from this, when outputting the macroblock data, a macroblock head pulse is output, and the macroblock head pulse is sent to the macroblock phase monitoring unit 8.

【0056】マクロブロック位相監視部8では、全ての
可変長復号部からのマクロブロックの位相を監視し、1
つでも位相がずれていた場合には並列制御部5に通知
し、並列制御部5はこれをうけると、全ての可変長復号
部31〜34に対して、例えば次のスライスまでデータ
の読み飛ばしを指示する。このようなマクロブロック位
相監視部を設けることにより、ある特定の可変長復号部
のマクロブロックにおいて復号時間が延びた場合でも、
マクロブロック単位で同期が確立され、後段のDCT復
号部の処理を同時進行できるという利点がある。
The macroblock phase monitor 8 monitors the phases of the macroblocks from all the variable length decoders, and
If any one of the phases is out of phase, the parallel control unit 5 is notified of it, and upon receiving this, the parallel control unit 5 skips data to all the variable length decoding units 31 to 34, for example, to the next slice. Instruct. By providing such a macroblock phase monitoring unit, even if the decoding time is extended in a macroblock of a specific variable length decoding unit,
Synchronization is established in units of macroblocks, and there is an advantage that the processing of the subsequent DCT decoding unit can proceed simultaneously.

【0057】[0057]

【発明の効果】以上のように、この発明によれば、情報
量が偏って振り分けられた場合においても、バッファの
破綻を回避し、安定した復号画像を得ることができる。
As described above, according to the present invention, even when the amount of information is unevenly distributed, the buffer can be prevented from being broken and a stable decoded image can be obtained.

【0058】また、ヘッダ情報を含むデータを特定の受
信バッファメモリに書き込むことにより、効率的にビッ
トストリームを分配することができ、また、この場合復
号に必要な情報を他の復号手段に通知することにより、
全ての復号手段で復号動作が実現できる。
Further, by writing data including header information into a specific reception buffer memory, a bit stream can be efficiently distributed. In this case, information necessary for decoding is notified to other decoding means. By doing
The decoding operation can be realized by all decoding means.

【0059】また、ヘッダ情報を含むデータを全ての受
信バッファメモリに書き込むことにより、H/Wの構成
を簡単にして復号動作が実現できる。また、各復号手段
でのスライスヘッダの読み込みに応じて復号開始制御を
行うようにすることで、ある特定の復号手段の復号時間
が延びた場合においても、同期を確立し、後段のDCT
復号部の処理を同期して進行できる。
Further, by writing data including header information into all the reception buffer memories, the decoding operation can be realized by simplifying the H / W configuration. Further, by performing decoding start control in accordance with the reading of the slice header by each decoding means, synchronization is established even when the decoding time of a specific decoding means is extended, and the DCT of the subsequent stage is established.
The processing of the decoding unit can proceed in synchronization.

【0060】また、ピクチャ、GOP、シーケンスとい
ったデータの先頭位置を示す情報を各受信バッファメモ
リに書き込み、エラーを検出した場合にこれら先頭位置
に基づきデータの読み捨てを行うようにすることによ
り、データに誤りがあった場合に、高速に正常な画像に
復帰でき、エラーの影響を最小限にとどめることができ
る。
Further, information indicating a head position of data such as a picture, a GOP, and a sequence is written in each reception buffer memory, and when an error is detected, the data is read and discarded based on the head position. When there is an error, it is possible to quickly return to a normal image and to minimize the influence of the error.

【0061】また、エラー検出により次のスライスの先
頭まで読み捨てを行うようにすることにより、データに
誤りがあった場合に、エラーの影響を最小限にとどめる
ことができる。
Further, by reading and discarding data up to the beginning of the next slice by detecting an error, when there is an error in data, the influence of the error can be minimized.

【0062】そして、マクロブロック位相監視部を設け
ることにより、ある特定の相のマクロブロックにおいて
復号時間が延びた場合でも、マクロブロック単位で同期
が確立され、後段のDCT復号部の処理を同時進行でき
る。
By providing the macroblock phase monitoring unit, even if the decoding time is extended in a macroblock of a specific phase, synchronization is established in units of macroblocks, and the processing of the subsequent DCT decoding unit proceeds simultaneously. it can.

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

【図1】 この発明の実施の形態1における復号装置の
構成図である。
FIG. 1 is a configuration diagram of a decoding device according to Embodiment 1 of the present invention.

【図2】 この発明の実施の形態2および実施の形態3
におけるビットストリームデータの例を示す説明図であ
る。
FIG. 2 is a view illustrating a second embodiment and a third embodiment of the present invention;
FIG. 3 is an explanatory diagram showing an example of bit stream data in FIG.

【図3】 この発明の実施の形態2における各受信バッ
ファの蓄積状態の例を示す説明図である。
FIG. 3 is an explanatory diagram illustrating an example of an accumulation state of each reception buffer according to Embodiment 2 of the present invention;

【図4】 この発明の実施の形態2における復号装置の
構成図である。
FIG. 4 is a configuration diagram of a decoding device according to Embodiment 2 of the present invention.

【図5】 この発明の実施の形態3における各受信バッ
ファの蓄積状態の例を示す説明図である。
FIG. 5 is an explanatory diagram showing an example of an accumulation state of each reception buffer according to Embodiment 3 of the present invention.

【図6】 この発明の実施の形態4における復号装置の
構成図である。
FIG. 6 is a configuration diagram of a decoding device according to Embodiment 4 of the present invention.

【図7】 この発明の実施の形態5における復号装置の
構成図である。
FIG. 7 is a configuration diagram of a decoding device according to a fifth embodiment of the present invention.

【図8】 この発明の実施の形態6における復号装置の
構成図である。
FIG. 8 is a configuration diagram of a decoding device according to Embodiment 6 of the present invention.

【図9】 この発明の実施の形態7における復号装置の
構成図である。
FIG. 9 is a configuration diagram of a decoding device according to a seventh embodiment of the present invention.

【図10】 従来の復号装置を示す構成図である。FIG. 10 is a configuration diagram showing a conventional decoding device.

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

1 セレクタ 5 並列制御部 8 マクロブロック位相監視部 11 ピクチャヘッダ検出部 12 GOPヘッダ検出部 13 シーケンスヘッダ検出部 21、22、23、24 受信バッファ 31、32、33、34 可変長復号部 31a 通知手段 41、42、43、44 復号ビットカウント部 51 ピクチャデータ復号開始信号 52 スライス復号開始信号 53 指示信号 61、62、63、64 シンタックスエラー検出部 71、72、73、74 エラー検出部 101 シーケンスヘッダデータ 102 シーケンスエクステンションヘッダデータ 103 GOPヘッダデータ 104 ピクチャヘッダデータ 105 ピクチャエクステンションヘッダデータ 106 スライスデータ 111 トータルビット数 310 サイド情報 311、321、331、341 スライス復号停止フ
ラグ 401〜404 復号ビット数 601〜604 エラー情報
Reference Signs List 1 selector 5 parallel control unit 8 macroblock phase monitoring unit 11 picture header detection unit 12 GOP header detection unit 13 sequence header detection unit 21, 22, 23, 24 reception buffer 31, 32, 33, 34 variable length decoding unit 31a notification means 41, 42, 43, 44 Decoding bit count unit 51 Picture data decoding start signal 52 Slice decoding start signal 53 Instruction signal 61, 62, 63, 64 Syntax error detection unit 71, 72, 73, 74 Error detection unit 101 Sequence header Data 102 Sequence extension header data 103 GOP header data 104 Picture header data 105 Picture extension header data 106 Slice data 111 Total bit number 310 Side information 311, 321, 331, 341 Slice decoding stop flag 401-404 Number of decoding bits 601-604 Error information

───────────────────────────────────────────────────── フロントページの続き (72)発明者 岡田 信一 東京都千代田区丸の内二丁目2番3号 三 菱電機株式会社内 ──────────────────────────────────────────────────続 き Continuing on the front page (72) Inventor Shinichi Okada 2-3-2 Marunouchi, Chiyoda-ku, Tokyo Mitsubishi Electric Corporation

Claims (13)

【特許請求の範囲】[Claims] 【請求項1】 入力デジタルデータを複数の受信バッフ
ァメモリに分配して書き込む分配手段と、 この分配手段が上記各受信バッファメモリに書き込んだ
デジタルデータのデータ量をカウントする書き込みデー
タカウント手段と、 上記各受信バッファメモリよりデータを読み込んで可変
長復号を行う復号手段と、 この各復号手段が上記各受信バッファメモリから読み込
んだデータのデータ量をカウントする読み込みデータカ
ウント手段と、 この読み込みデータカウント手段でカウントされた読み
込みデータ量と上記書き込みデータカウント手段でカウ
ントされた書き込みデータ量とに基づき、上記復号手段
に対して可変長復号の開始を指示制御する制御手段とを
備えた復号装置。
1. A distribution means for distributing and writing input digital data to a plurality of reception buffer memories, writing data counting means for counting the data amount of digital data written to each reception buffer memory by the distribution means, Decoding means for reading data from each receiving buffer memory and performing variable length decoding; reading data counting means for counting the data amount of data read from each receiving buffer memory by each decoding means; and reading data counting means A decoding device comprising: control means for instructing the decoding means to start variable-length decoding based on the counted read data amount and the write data amount counted by the write data counting means.
【請求項2】 上記分配手段は、入力デジタルデータの
うちヘッダ情報を含むデータを特定の受信バッファメモ
リのみに書き込み、ヘッダ情報以外のデータをそれぞれ
の受信バッファメモリに分割して書き込むことを特徴と
する請求項1に記載の復号装置。
2. The distribution means writes data including header information of input digital data only to a specific reception buffer memory, and divides and writes data other than header information into respective reception buffer memories. The decoding device according to claim 1, wherein
【請求項3】 上記特定の受信バッファメモリから上記
ヘッダ情報を含むデータを読み込む復号手段は、このヘ
ッダ情報に基づきヘッダ情報以外のデータの復号に必要
なサイド情報を他の復号手段に通知する通知手段を備え
たことを特徴とする請求項2に記載の復号装置。
3. A decoding unit for reading data including the header information from the specific reception buffer memory, based on the header information, notifies the other decoding unit of side information necessary for decoding data other than the header information. 3. The decoding device according to claim 2, further comprising means.
【請求項4】 上記分配手段は、入力デジタルデータの
うちヘッダ情報を含むデータをすべての受信バッファメ
モリに書き込み、ヘッダ情報以外のデータをそれぞれの
受信バッファメモリに分割して書き込むことを特徴とす
る請求項1に記載の復号装置。
4. The distribution means writes data including header information among the input digital data to all reception buffer memories, and writes data other than header information into each reception buffer memory in a divided manner. The decoding device according to claim 1.
【請求項5】 上記復号手段は、上記受信バッファメモ
リからスライスヘッダを読み込んだ時点でデータの復号
を停止して復号停止フラグを上記制御手段に送るととも
に、上記制御手段は、全ての復号手段から上記復号停止
フラグが送られた状態である場合に、各復号手段に対し
復号開始を指示することを特徴とする請求項1ないし4
のいずれかに記載の復号装置。
5. The decoding means stops decoding data at the time of reading the slice header from the reception buffer memory and sends a decoding stop flag to the control means. 5. The decoding apparatus according to claim 1, wherein when the decoding stop flag is sent, the decoding unit is instructed to start decoding.
The decoding device according to any one of the above.
【請求項6】 上記分配手段は入力デジタルデータから
ピクチャヘッダを検出して上記各受信バッファメモリに
ピクチャの先頭を示す情報を書き込むピクチャヘッダ検
出手段を備えたことを特徴とする請求項1ないし5のい
ずれかに記載の復号装置。
6. A picture header detecting means for detecting a picture header from input digital data and writing information indicating a head of a picture in each of the receiving buffer memories. The decoding device according to any one of the above.
【請求項7】 上記復号手段はデータ中のシンタックス
エラーを検出し、上記制御手段にエラー検出を通知する
シンタックスエラー検出手段を備えるとともに、上記制
御手段はいずれかの復号手段でシンタックスエラーが発
生した場合、すべての復号手段に対して、上記ピクチャ
の先頭を示す情報に基づき次のピクチャの先頭位置まで
データを読み捨てる制御を行うことを特徴とする請求項
6に記載の復号装置。
7. The decoding means includes a syntax error detecting means for detecting a syntax error in data and notifying the control means of error detection, and the control means includes a syntax error detecting means for detecting a syntax error in the data. 7. The decoding apparatus according to claim 6, wherein when the error occurs, all decoding means are controlled to read and discard data up to the start position of the next picture based on the information indicating the start of the picture.
【請求項8】 上記分配手段は入力デジタルデータから
グループオブピクチャヘッダを検出して上記各受信バッ
ファメモリにグループオブピクチャの先頭を示す情報を
書き込むグループオブピクチャヘッダ検出手段を備えた
ことを特徴とする請求項1ないし5のいずれかに記載の
復号装置。
8. The apparatus according to claim 1, wherein said distributing means includes a group of picture header detecting means for detecting a group of picture header from the input digital data and writing information indicating a head of the group of picture to each of said reception buffer memories. The decoding device according to any one of claims 1 to 5, wherein:
【請求項9】 上記復号手段はデータ中のシンタックス
エラーを検出し、上記制御手段にエラー検出を通知する
シンタックスエラー検出手段を備えるとともに、上記制
御手段はいずれかの復号手段でシンタックスエラーが発
生した場合、すべての復号手段に対して、上記グループ
オブピクチャの先頭を示す情報に基づき次のグループオ
ブピクチャの先頭位置までのデータ読み捨て指示制御を
行うことを特徴とする請求項8に記載の復号装置。
9. The decoding means includes a syntax error detecting means for detecting a syntax error in data and notifying the control means of error detection, and the control means includes a syntax error detecting means for detecting a syntax error in the decoding means. 9. The method according to claim 8, wherein when the occurrence of the error occurs, all the decoding units are instructed to discard data up to the start position of the next group of picture based on the information indicating the start of the group of picture. Decoding device.
【請求項10】 上記分配手段は入力デジタルデータか
らシーケンスヘッダを検出して上記各受信バッファメモ
リにシーケンスの先頭を示す情報を書き込むシーケンス
ヘッダ検出手段を備えたことを特徴とする請求項1ない
し5のいずれかに記載の復号装置。
10. The apparatus according to claim 1, wherein said distribution means includes sequence header detection means for detecting a sequence header from the input digital data and writing information indicating a head of the sequence to each of said reception buffer memories. The decoding device according to any one of the above.
【請求項11】 上記復号手段はデータ中のシンタック
スエラーを検出し、上記制御手段にエラー検出を通知す
るシンタックスエラー検出手段を備えるとともに、上記
制御手段はいずれかの復号手段でシンタックスエラーが
発生した場合、すべての復号手段に対して、上記シーケ
ンスの先頭を示す情報に基づき次のシーケンスの先頭位
置までのデータ読み捨て指示制御を行うことを特徴とす
る請求項10に記載の復号装置。
11. The decoding means includes a syntax error detection means for detecting a syntax error in data and notifying the control means of error detection, and the control means includes a syntax error detection means for detecting a syntax error in one of the decoding means. 11. The decoding apparatus according to claim 10, wherein, when the error occurs, all the decoding units are instructed to read and discard data up to the start position of the next sequence based on the information indicating the start of the sequence.
【請求項12】 上記各復号手段はデータ中のエラーを
検出した場合に次のスライス以上のレイヤの先頭位置ま
でデータを読み捨てる制御を行うエラー検出手段を備え
たことを特徴とする請求項1ないし11のいずれかに記
載の復号装置。
12. The apparatus according to claim 1, wherein each of the decoding means includes error detection means for performing control of reading and discarding the data up to a head position of a layer of a next slice or more when an error in the data is detected. 12. The decoding device according to any one of claims 11 to 11.
【請求項13】 上記復号手段は復号したマクロブロッ
クデータの先頭タイミングで先頭識別信号を可変長復号
データと共に出力するとともに、各復号手段からのマク
ロブロックデータ先頭識別信号の位相を監視するマクロ
ブロック位相監視手段を備えたことを特徴とする請求項
1ないし12のいずれかに記載の復号装置。
13. The decoding means outputs a head identification signal together with variable-length decoded data at the head timing of the decoded macroblock data, and monitors a macroblock phase for monitoring the phase of the macroblock data head identification signal from each decoding means. 13. The decoding device according to claim 1, further comprising a monitoring unit.
JP15827696A 1996-06-19 1996-06-19 Decryption device Expired - Fee Related JP3478003B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15827696A JP3478003B2 (en) 1996-06-19 1996-06-19 Decryption device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15827696A JP3478003B2 (en) 1996-06-19 1996-06-19 Decryption device

Publications (2)

Publication Number Publication Date
JPH1013248A true JPH1013248A (en) 1998-01-16
JP3478003B2 JP3478003B2 (en) 2003-12-10

Family

ID=15668073

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15827696A Expired - Fee Related JP3478003B2 (en) 1996-06-19 1996-06-19 Decryption device

Country Status (1)

Country Link
JP (1) JP3478003B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002374172A (en) * 2001-06-14 2002-12-26 Sony Corp Apparatus and method for recording
JP2011114535A (en) * 2009-11-26 2011-06-09 Ricoh Co Ltd Data processor and data processing method
JP2017516364A (en) * 2014-03-31 2017-06-15 マイクロソフト テクノロジー ライセンシング,エルエルシー Recording and synthesis of incomplete video data frames

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002374172A (en) * 2001-06-14 2002-12-26 Sony Corp Apparatus and method for recording
JP2011114535A (en) * 2009-11-26 2011-06-09 Ricoh Co Ltd Data processor and data processing method
JP2017516364A (en) * 2014-03-31 2017-06-15 マイクロソフト テクノロジー ライセンシング,エルエルシー Recording and synthesis of incomplete video data frames

Also Published As

Publication number Publication date
JP3478003B2 (en) 2003-12-10

Similar Documents

Publication Publication Date Title
US7342967B2 (en) System and method for enhancing performance of personal video recording (PVR) functions on hits digital video streams
US8160152B2 (en) Moving image decoding apparatus and moving image coding apparatus
US6785289B1 (en) Method and apparatus for aligning sub-stream splice points in an information stream
US7333545B2 (en) Digital video decoding, buffering and frame-rate converting method and apparatus
KR100273877B1 (en) Mpeg coded picture decoding apparatus)
KR100232992B1 (en) Moving picture decoding circuit
AU699801B2 (en) Method of and apparatus for reverse playback of a time- division-multiplexed signal
US8009741B2 (en) Command packet system and method supporting improved trick mode performance in video decoding systems
US20070147517A1 (en) Video processing system capable of error resilience and video processing method for same
EP1775953A1 (en) Switching between digital video streams using buffering of second digital video stream
US8923688B2 (en) Performing personal video recording (PVR) functions on digital video streams
CN1255014A (en) Programmable filter for removing filling bits from MPEG-2 bit stream
US6028632A (en) Management of multiple buffers and video decoders in progressive digital video decoder
US8170375B2 (en) Image processing apparatus and method for controlling the same
JP2009111932A (en) Moving image decoding device
US20030128765A1 (en) Receiving apparatus
US6385212B1 (en) Data switching apparatus for switching received data without changing coding unit
US6061403A (en) Computer program product for selectively reducing bandwidth of real-time video data
US20040174912A1 (en) Multiplexing video decoding apparatus and method
JP4879381B2 (en) Image decoding method and image decoding apparatus
JPH1013248A (en) Decoding device
KR20050077145A (en) Video buffer controlling apparatus for dual video decoding
US7672374B2 (en) Image processing apparatus
JP2001309371A (en) Mpeg decoder
JP3995017B2 (en) How to mute the video signal

Legal Events

Date Code Title Description
FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071003

Year of fee payment: 4

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081003

Year of fee payment: 5

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091003

Year of fee payment: 6

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091003

Year of fee payment: 6

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101003

Year of fee payment: 7

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111003

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees