JPH08116532A - Image decoding system and device therefor - Google Patents

Image decoding system and device therefor

Info

Publication number
JPH08116532A
JPH08116532A JP24892494A JP24892494A JPH08116532A JP H08116532 A JPH08116532 A JP H08116532A JP 24892494 A JP24892494 A JP 24892494A JP 24892494 A JP24892494 A JP 24892494A JP H08116532 A JPH08116532 A JP H08116532A
Authority
JP
Japan
Prior art keywords
decoding
start time
time information
bitstream
information
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
JP24892494A
Other languages
Japanese (ja)
Other versions
JP2894958B2 (en
Inventor
Yutaka Okada
豊 岡田
Takayuki Kobayashi
孝之 小林
Ryuji Saito
隆二 西塔
Yoshika Kawamura
嘉郁 川村
Norihiko Nagai
律彦 永井
Katsumi Goto
勝巳 後藤
Shigeru Komatsu
茂 小松
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.)
GRAPHICS COMMUN LAB KK
Original Assignee
GRAPHICS COMMUN LAB KK
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 GRAPHICS COMMUN LAB KK filed Critical GRAPHICS COMMUN LAB KK
Priority to JP24892494A priority Critical patent/JP2894958B2/en
Publication of JPH08116532A publication Critical patent/JPH08116532A/en
Application granted granted Critical
Publication of JP2894958B2 publication Critical patent/JP2894958B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE: To provide the image decoding system and the device in which the control of insertion of decoding start time information representing a time for starting decoding corresponding to each frame into a bit stream, storing the resulting information to a buffer memory and reading of the bit stream based on the stored decoding start time information and starting of decoding corresponding to each frame is easily conducted. CONSTITUTION: A reference time is measured by an STC counter section 32, a VBS/DTS insert section 34 inserts decoding start time information representing a time to start decoding of each frame to a bit stream based on the reference time. Then the bit stream is stored in a buffer memory 12 and a read control section 36 reads the bit stream stored in the buffer memory 12 and controls the start of reading the bit stream stored based on the decoding start time information included in the bit stream.

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 system and apparatus, and more particularly to starting decoding when inputting a bit stream containing encoded image data and decoding the image data. The present invention relates to an image decoding system and apparatus for inserting power time information into a bitstream.

【0002】[0002]

【従来の技術】従来、ディジタル信号によって表現され
た画像データを伝送または蓄積する場合に、画像データ
のデータ量を削減するために符号化が行われている。符
号化の方法としては、画像データの時間的または空間的
相関性を利用して冗長度を削減する方法がある。時間的
相関性を利用する方法としては、連続する2画面(フレ
ーム)の差分を符号化したり、画像の動きを検出して動
き補償を行ったりするものがある。一方、空間的相関性
を利用する方法としては、画像を所定の大きさのブロッ
ク(例えば縦方向、横方向とも8画素ずつ)に分けてブ
ロック内の画像データを直交変換し、変換係数をスキャ
ン変換(例えば低周波成分から高周波成分の順に並びか
える)した後に、可変長符号化を行うものがある。
2. Description of the Related Art Conventionally, when transmitting or accumulating image data represented by a digital signal, encoding is performed to reduce the data amount of the image data. As a coding method, there is a method of reducing redundancy by utilizing temporal or spatial correlation of image data. As a method of utilizing the temporal correlation, there is a method of encoding a difference between two consecutive screens (frames) or detecting a motion of an image to perform motion compensation. On the other hand, as a method of utilizing the spatial correlation, the image is divided into blocks of a predetermined size (for example, 8 pixels in each of the vertical and horizontal directions), the image data in the blocks is orthogonally transformed, and the transform coefficient is scanned. There is a method in which variable length coding is performed after conversion (for example, rearranging from low frequency components to high frequency components).

【0003】また、近年、前記2つの方法を併用する画
像符号化方式として、MPEG(Moving Picture Exper
t Group )によって標準化が進められている「ISO/
IEC13818−2」に記載の”Generic Coding of
Moving Pictures and Associated Audio”において画像
符号化方式(以下、MPEG2という)の暫定勧告がな
されている。
In recent years, MPEG (Moving Picture Exper) has been used as an image coding method that uses the above two methods together.
t group) is promoting standardization under "ISO /
"Generic Coding of" IEC13818-2 "
In "Moving Pictures and Associated Audio", a provisional recommendation of an image encoding method (hereinafter referred to as MPEG2) is made.

【0004】このMPEG2については、図7に示すM
PEG2が搭載された画像復号化装置が知られている。
この画像復号化装置は、図7に示すように、バッファメ
モリ制御部11、バッファメモリ12、可変長復号化器
21、スキャン変換器22、逆量子化器23、逆DCT
部24、動き補償画像再生部25および予測フレームメ
モリ26から構成され、符号化された画像データを含む
入力ビットストリーム100を復号化して再生画像20
0を出力するものである。
Regarding this MPEG2, M shown in FIG.
An image decoding device equipped with PEG2 is known.
As shown in FIG. 7, this image decoding apparatus includes a buffer memory control unit 11, a buffer memory 12, a variable length decoder 21, a scan converter 22, an inverse quantizer 23, and an inverse DCT.
The input bitstream 100 including the encoded image data, which is composed of the unit 24, the motion compensation image reproducing unit 25, and the prediction frame memory 26, and reproduces the reproduced image 20.
It outputs 0.

【0005】次に、図7に示す画像復号化装置の復号化
動作について説明する。まず、入力ビットストリーム1
00は、バッファメモリ制御部11によって制御されて
バッファメモリ12に順次に蓄積される。一方、バッフ
ァメモリ12から読み出された画像データは、可変長復
号化器21によって可変長復号化される。なお、画像デ
ータには、可変長符号化されているものと固定長符号化
されているものとがあり、両者とも可変長復号化器21
によって復号化されるものとする。次に、スキャン変換
器22によって画像データの順序を並び換えた後に、逆
量子化器23によって逆量子化される。次に、逆DCT
部24によって逆離散コサイン変換される。動き補償画
像再生部25では、フレーム間差分データを受信した場
合は、参照データを予測フレームメモリ26から読み出
し、受信データと加算した後に、再生画像を予測フレー
ムメモリ26に書き込み、再生画像200を出力する。
一方、フレーム内で符号化されたデータを受信した場合
は、受信データをそのまま予測フレームメモリ26に書
き込み、再生画像200を出力する。
Next, the decoding operation of the image decoding apparatus shown in FIG. 7 will be described. First, the input bitstream 1
00 is sequentially stored in the buffer memory 12 under the control of the buffer memory control unit 11. On the other hand, the image data read from the buffer memory 12 is variable length decoded by the variable length decoder 21. There are two types of image data, one is variable length coded and the other is fixed length coded, and both are variable length decoder 21.
Shall be decrypted by. Next, after the order of the image data is rearranged by the scan converter 22, it is inversely quantized by the inverse quantizer 23. Then the inverse DCT
Inverse discrete cosine transform is performed by the unit 24. When the inter-frame difference data is received, the motion compensation image reproduction unit 25 reads the reference data from the prediction frame memory 26, adds the reference data to the received data, writes the reproduction image in the prediction frame memory 26, and outputs the reproduction image 200. To do.
On the other hand, when the data encoded in the frame is received, the received data is directly written in the prediction frame memory 26 and the reproduced image 200 is output.

【0006】ここで、各フレームの復号化を開始するに
は、2つの制御方法がある。各フレームの復号化を開始
する場合の第1の方法は、MPEG2のプログラムスト
リームやトランスポートストリーム等のシステムストリ
ーム中に付加されたタイミング情報101を用いるもの
である。このシステムストリームは、1つのビットスト
リーム中に、ビデオストリーム、オーディオストリーム
やその他の情報を多重化して構成されている。ビデオス
トリームやオーディオストリーム等は、MPEGシステ
ムデコーダにより分離されてビデオ復号化器やオーディ
オ復号化器等に供給される。
There are two control methods for starting the decoding of each frame. The first method for starting the decoding of each frame is to use the timing information 101 added in the system stream such as the MPEG2 program stream or transport stream. This system stream is configured by multiplexing a video stream, an audio stream and other information in one bit stream. The video stream, the audio stream, and the like are separated by the MPEG system decoder and supplied to the video decoder, the audio decoder, and the like.

【0007】このようにして、図7に示すようなビデオ
の入力ビットストリーム100とタイミング情報101
は得られる。タイミング情報101としては、基準時刻
を表すSCR(System Clock Rsference)(プログラム
ストリームではSCR、トランスポートストリームでは
PCRと呼ばれるが、以下まとめてSCRとする。)、
復号化開始時刻情報を表すDTS(Decoding Time Stam
p )、表示開始時刻情報を表すPTS(Presentation T
ime Stamp )がある。なお、DTSはPTSと異なる場
合にのみ与えられる情報であり、DTSとPTSが同一
である場合にはPTSのみが与えられる。従って、復号
化開始時刻情報は、DTSまたはPTSにより判ること
になるが、以下では両方を代表して復号化開始時刻情報
はDTSで与えられるものとする。時刻計測は、画像復
号化装置内にSTCカウンタを設け、SCRをこのST
Cカウンタにセットしてシステムデコーダから与えられ
る27MHZの基準クロックをカウントアップして行う。
また、入力したDTSはバッファメモリ制御部11の内
部に記憶させておく。ここで、各フレームの復号化を開
始するには、バッファメモリ12に蓄積されたデータを
STCとDTSとが一致する時刻に読み出しを開始する
ように制御する。
In this way, the video input bit stream 100 and the timing information 101 as shown in FIG.
Is obtained. As the timing information 101, an SCR (System Clock Rsference) representing a reference time (which is called SCR in the program stream and PCR in the transport stream, which will be collectively referred to as SCR hereinafter),
DTS (Decoding Time Stam) representing the decoding start time information
p), PTS (Presentation T) indicating the display start time information
ime Stamp). Note that DTS is information that is given only when it is different from PTS, and when DTS and PTS are the same, only PTS is given. Therefore, although the decoding start time information can be known from the DTS or PTS, the decoding start time information will be given by the DTS on behalf of both. For time measurement, an STC counter is provided in the image decoding device, and the SCR is
The C counter is set and the 27 MHz reference clock given from the system decoder is counted up.
The input DTS is stored inside the buffer memory control unit 11. Here, in order to start decoding of each frame, the data stored in the buffer memory 12 is controlled to start reading at the time when STC and DTS match.

【0008】一方、各フレームの復号化を開始する場合
の第2の方法は、入力ビットストリーム100中の各フ
レームの先頭に付加されるピクチャヘッダ中のVBV遅
延情報を用いるものである。VBV遅延情報は、ピクチ
ャヘッダをバッファメモリ12に書き込んでから再度読
み出すまでの遅延時間を90KHZの基準クロックでカウ
ントしたときのカウント数で与えられる。なお、VBV
遅延情報は、バッファメモリ12による遅延を表すバッ
ファ遅延情報を表すものである。
On the other hand, the second method for starting the decoding of each frame is to use the VBV delay information in the picture header added to the beginning of each frame in the input bitstream 100. The VBV delay information is given by the count number when the delay time from writing the picture header to the buffer memory 12 until reading it again is counted with the reference clock of 90 KHZ. In addition, VBV
The delay information represents buffer delay information indicating the delay due to the buffer memory 12.

【0009】ここで、入力ビットストリーム100のビ
ットレートをR、ピクチャヘッダをバッファメモリ12
から読み出した後(注目しているフレームのデータを読
み出す時刻)のバッファ蓄積量をBとすると、 VBV遅延 = 90000×B/R (数1) の関係がある。
Here, the bit rate of the input bit stream 100 is R and the picture header is the buffer memory 12.
Letting B be the buffer storage amount after reading (from the time when the data of the frame of interest is read), there is a relationship of VBV delay = 90000 × B / R (Equation 1).

【0010】次に、図8を参照してVBV遅延情報を用
いて復号化の開始を制御する第1の復号化開始制御例の
動作を説明する。まず、書込ヘッダ解析部は入力ビット
ストリーム100のピクチャヘッダを解析してVBV遅
延情報を得た後に、VBV遅延レジスタ部にVBV遅延
情報を保存する。また、書込制御部では、ピクチャヘッ
ダをバッファメモリ12に書き込んだタイミングを通知
する書込信号をカウンタ部に出力する。書込信号によっ
て起動をかけられたカウンタ部は、90KHZの基準クロ
ックをカウントアップする。ここで、カウンタ部のカウ
ンタ値がVBV遅延レジスタ部に保存されたVBV遅延
値と一致した場合には、一致回路は復号化開始信号を読
出制御部に出力する。次に、読出制御部は復号化開始信
号を入力した時点でバッファメモリ12からビットスト
リームデータの読み出しを再開する。可変長復号化器2
1で1フレーム分の復号化が終了した後に、バッファメ
モリ12からのビットストリームデータの読み出しを中
断し、次のフレームに対応した復号化開始信号を待つ。
Next, the operation of the first decoding start control example for controlling the start of decoding using the VBV delay information will be described with reference to FIG. First, the write header analysis unit analyzes the picture header of the input bitstream 100 to obtain VBV delay information, and then stores the VBV delay information in the VBV delay register unit. Further, the write control unit outputs a write signal for notifying the timing of writing the picture header to the buffer memory 12 to the counter unit. The counter unit activated by the write signal counts up the 90 KHZ reference clock. Here, when the counter value of the counter unit matches the VBV delay value stored in the VBV delay register unit, the matching circuit outputs the decoding start signal to the read control unit. Next, the read control unit restarts reading the bitstream data from the buffer memory 12 when the decoding start signal is input. Variable length decoder 2
After the decoding for one frame is completed at 1, the reading of the bit stream data from the buffer memory 12 is interrupted and the decoding start signal corresponding to the next frame is waited for.

【0011】次に、図9を参照してVBV遅延情報を用
いて復号化の開始を制御する第2の復号化開始制御例の
動作を説明する。まず、読出制御部が、バッファメモリ
12からピクチャヘッダを読み出し、ピクチャヘッダを
読出ヘッダ解析部で解析してVBV遅延情報を得る。こ
の時点でバッファメモリ12からの読み出しを中断す
る。ここで、VBV遅延情報を入力された復号化開始時
バッファ量算出部は、前述の(数1)に基づいてバッフ
ァ蓄積量Bを算出する。なお、ビットレートRは、予め
シーケンスヘッダ中から得られているものとする。一
方、バッファ蓄積量算出部は、書込制御部から得られる
書込アドレスと読出制御部から得られる読出アドレスか
らバッファメモリ12の実際の実バッファ蓄積量bを求
める。ここで、入力ビットストリーム100が順次にバ
ッファメモリ12に書き込まれると実バッファ蓄積量b
が増加し、実バッファ蓄積量bがバッファ蓄積量Bと等
しくなったことを一致回路により検出した場合には、一
致回路は復号化開始信号を出力する。次に、復号化開始
信号を入力した読出制御部は、バッファメモリ12から
ビットストリームデータの読み出しを再開する。
Next, the operation of the second decoding start control example for controlling the start of decoding using the VBV delay information will be described with reference to FIG. First, the read control unit reads the picture header from the buffer memory 12, and the read header analysis unit analyzes the picture header to obtain the VBV delay information. At this point, the reading from the buffer memory 12 is interrupted. Here, the decoding start buffer amount calculation unit, to which the VBV delay information is input, calculates the buffer storage amount B based on the above (Equation 1). The bit rate R is assumed to be obtained from the sequence header in advance. On the other hand, the buffer storage amount calculation unit obtains the actual actual buffer storage amount b of the buffer memory 12 from the write address obtained from the write control unit and the read address obtained from the read control unit. Here, when the input bitstream 100 is sequentially written in the buffer memory 12, the actual buffer storage amount b
When the matching circuit detects that the actual buffer storage amount b becomes equal to the buffer storage amount B, the matching circuit outputs a decoding start signal. Next, the read control unit that has received the decoding start signal restarts reading the bitstream data from the buffer memory 12.

【0012】なお、DTSを用いて復号化の開始を制御
する場合は、音声データと画像データの同期が取りやす
いという利点を有する。しかし、DTSが得られない場
合は、VBV遅延情報を用いて復号化の開始を制御しな
ければならない。従って、画像復号化装置は、DTSお
よびVBV遅延情報を用いて復号化の開始を制御できる
ことが好ましい。
When the start of decoding is controlled using DTS, there is an advantage that audio data and image data can be easily synchronized. However, if the DTS is not available, the VBV delay information must be used to control the start of decoding. Therefore, it is preferable that the image decoding apparatus can control the start of decoding using the DTS and VBV delay information.

【0013】また、従来、画像復号化方式および装置に
ついては、特願平6−36755号記載の「画像復号装
置」が報告されている。このものは、画像データの復号
化に直接関係しないゼロスタッフィングやユーザデータ
等を分離/廃棄するものである。
As for the image decoding system and apparatus, the "image decoding apparatus" described in Japanese Patent Application No. 6-36755 has been reported. This is to separate / discard zero stuffing, user data, etc. that are not directly related to the decoding of image data.

【0014】[0014]

【発明が解決しようとする課題】しかしながら、従来の
図8に示す第1の復号化開始制御例にあっては、バッフ
ァメモリ12は複数フレーム分の画像データを蓄積する
ことができるにもかかわらず、図8に示すように、VB
V遅延レジスタ部およびカウンタ部が1つずつしかない
ので、複数フレーム分のVBV遅延情報を管理できな
い。このため、最初のフレームに対応した復号化の開始
を制御することはできるが、2枚目のフレームに対応す
るVBV遅延情報に基づいて復号化の開始を制御するこ
とはできないといった問題があった。
However, in the first decoding start control example shown in FIG. 8 of the related art, although the buffer memory 12 can store image data for a plurality of frames. , As shown in FIG.
Since there is only one V delay register section and one counter section, the VBV delay information for a plurality of frames cannot be managed. Therefore, the decoding start corresponding to the first frame can be controlled, but the decoding start cannot be controlled based on the VBV delay information corresponding to the second frame. .

【0015】また、最初のフレームに対応したVBV遅
延情報に基づいて復号化の開始を制御し、次のフレーム
からはフレームレートに応じて等間隔に各フレームの復
号化を開始することもできる。しかしながら、編集され
たビットストリーム等のように復号化を開始する間隔が
等間隔にならない場合には、復号化ができなくなってし
まうといった問題があった。
It is also possible to control the start of decoding based on the VBV delay information corresponding to the first frame, and start decoding of each frame from the next frame at equal intervals according to the frame rate. However, there is a problem that decoding cannot be performed if the intervals at which decoding is started are not equal, such as in an edited bitstream.

【0016】さらに、各フレーム毎にVBV遅延情報に
基づいて復号化の開始を制御をするためには、VBV遅
延レジスタ部、カウンタ部および一致回路を複数設ける
必要があり、回路および制御が複雑になるといった問題
があった。しかしながら、従来の図9に示す第2の復号
化開始制御例にあっては、復号化開始時バッファ量算出
部に乗算器と除算器とが必要になるため、回路構成が複
雑になるといった問題があった。
Further, in order to control the start of decoding based on the VBV delay information for each frame, it is necessary to provide a plurality of VBV delay register sections, counter sections and coincidence circuits, which complicates the circuit and control. There was a problem that became. However, in the second decoding start control example shown in FIG. 9 of the related art, since the decoding start buffer amount calculation unit needs a multiplier and a divider, the circuit configuration becomes complicated. was there.

【0017】また、従来の特願平6−36755号記載
の「画像復号装置」にあっては、画像データの復号化に
直接関係しないゼロスタッフィングやユーザデータ等を
分離/廃棄するような場合に、バッファ蓄積量算出部に
より分離/廃棄される不要データの監視が複雑になると
いった問題があった。そこで、本発明は、各フレームに
対応した復号化を開始する時刻を表す復号化開始時刻情
報を基準時刻に基づいて生成し、この復号化開始時刻情
報をビットストリーム中に挿入してバッファメモリに記
憶した後に、記憶されたビットストリームを順次に読み
出し、ビットストリーム中に含まれる復号化開始時刻情
報に基づいて記憶された画像データを含むビットストリ
ームの読み出しを開始するように制御することで、各フ
レームに対応したの復号化を開始する制御を容易にでき
る画像復号化方式および装置を提供することを課題とし
ている。
Further, in the conventional "image decoding device" described in Japanese Patent Application No. 6-36755, when zero stuffing and user data which are not directly related to the decoding of image data are separated / discarded. However, there is a problem that monitoring of unnecessary data separated / discarded by the buffer accumulation amount calculation unit becomes complicated. Therefore, the present invention generates decoding start time information representing the time to start decoding corresponding to each frame based on the reference time, inserts this decoding start time information into the bitstream, and stores it in the buffer memory. After the storage, the stored bitstreams are sequentially read, and control is performed so as to start reading the bitstream including the stored image data based on the decoding start time information included in the bitstreams. An object of the present invention is to provide an image decoding system and device that can easily perform control for starting decoding corresponding to a frame.

【0018】[0018]

【課題を解決するための手段】請求項1記載の発明は、
上記課題を解決するため、符号化された画像データを含
むビットストリームを入力して該画像データを復号化す
る画像復号化方式において、基準時刻を計測し、該基準
時刻に基づいて各フレームの復号化を開始する時刻を表
す復号化開始時刻情報を前記ビットストリーム中に挿入
し、該復号化開始時刻情報を含むビットストリームを記
憶し、記憶された該ビットストリームを順次に読み出
し、該ビットストリーム中に含まれる前記復号化開始時
刻情報に基づいて記憶された画像データを含むビットス
トリームの読み出しを開始するように制御することを特
徴とする。
According to the first aspect of the present invention,
In order to solve the above problems, in an image decoding method in which a bitstream including encoded image data is input and the image data is decoded, a reference time is measured and each frame is decoded based on the reference time. Decoding start time information indicating the time to start decoding is inserted into the bitstream, a bitstream including the decoding start time information is stored, the stored bitstream is sequentially read, and the bitstream is read. Is controlled so as to start the reading of the bit stream including the image data stored based on the decoding start time information included in.

【0019】請求項2記載の発明は、上記課題を解決す
るため、請求項1記載の発明において、画像データを含
むビットストリーム中に設定されたバッファによる遅延
を表すバッファ遅延情報、該ビットストリームの付帯情
報である復号化開始時刻情報および該ビットストリーム
の付帯情報である表示開始時刻情報のうちいずれか一つ
に基づいて前記復号化開始時刻情報を生成することを特
徴とする。
In order to solve the above-mentioned problems, the invention according to claim 2 is the invention according to claim 1, in which buffer delay information representing a delay due to a buffer set in a bitstream containing image data and the bitstream of the bitstream. It is characterized in that the decoding start time information is generated based on one of the decoding start time information which is the additional information and the display start time information which is the additional information of the bitstream.

【0020】請求項3記載の発明は、上記課題を解決す
るため、請求項1乃至2記載の発明において、画像デー
タを含むビットストリーム中に設定されたバッファによ
る遅延を表すバッファ遅延情報を前記復号化開始時刻情
報に置換して、該復号化開始時刻情報をビットストリー
ム中に挿入することを特徴とする。請求項4記載の発明
は、上記課題を解決するため、請求項1記載の発明にお
いて、順次に読み出されたビットストリーム中に含まれ
る復号化開始時刻情報が計測された前記基準時刻と一致
した場合には、読み出し開始を表す読出開始信号を発生
することを特徴とする。
In order to solve the above-mentioned problems, the invention according to claim 3 is the invention according to claim 1 or 2, wherein the buffer delay information indicating the delay due to the buffer set in the bit stream containing the image data is decoded. The decoding start time information is replaced and the decoding start time information is inserted into the bitstream. In order to solve the above-mentioned problems, the invention according to claim 4 is the invention according to claim 1, wherein the decoding start time information included in the sequentially read bitstreams matches the measured reference time. In this case, a read start signal indicating the start of read is generated.

【0021】請求項5記載の発明は、上記課題を解決す
るため、符号化された画像データを含むビットストリー
ムを入力して該画像データを復号化する画像復号化装置
において、基準時刻を計測する基準時刻計測手段と、該
基準時刻計測手段で計測された基準時刻に基づいて各フ
レームの復号化を開始する時刻を表す復号化開始時刻情
報を前記ビットストリーム中に挿入する復号化開始時刻
情報挿入手段と、復号化開始時刻情報を含むビットスト
リームを記憶するバッファメモリ手段と、該バッファメ
モリ手段に記憶されたビットストリームを順次に読み出
し、該ビットストリーム中に含まれる前記復号化開始時
刻情報に基づいて該バッファメモリ手段に記憶された画
像データを含むビットストリームの読み出しを開始する
ように制御する読出制御手段と、を備えたことを特徴と
する。
In order to solve the above-mentioned problems, the invention according to claim 5 measures a reference time in an image decoding apparatus for inputting a bit stream including encoded image data and decoding the image data. Reference time measuring means, and decoding start time information insertion for inserting into the bitstream decoding start time information indicating the time to start decoding of each frame based on the reference time measured by the reference time measuring means Means, a buffer memory means for storing a bitstream including decoding start time information, and a bitstream stored in the buffer memory means are sequentially read out, and based on the decoding start time information included in the bitstream. Read control for starting the reading of the bit stream containing the image data stored in the buffer memory means. Characterized by comprising a control means.

【0022】請求項6記載の発明は、上記課題を解決す
るため、請求項5記載の発明において、画像データを含
むビットストリーム中に設定されたバッファによる遅延
を表すバッファ遅延情報、該ビットストリームの付帯情
報である復号化開始時刻情報および該ビットストリーム
の付帯情報である表示開始時刻情報のうちいずれか一つ
に基づいて復号化開始時刻情報を生成する復号化開始時
刻情報生成手段を備えたことを特徴とする。
In order to solve the above-mentioned problems, the invention according to claim 6 is the invention according to claim 5, wherein buffer delay information indicating a delay due to a buffer set in a bitstream containing image data, and the bitstream of the bitstream. Decoding start time information generating means for generating decoding start time information based on one of the decoding start time information that is the additional information and the display start time information that is the additional information of the bitstream is provided. Is characterized by.

【0023】請求項7記載の発明は、上記課題を解決す
るため、請求項5乃至6記載の発明において、画像デー
タを含むビットストリーム中に設定されたバッファによ
る遅延を表すバッファ遅延情報を前記復号化開始時刻情
報に置換して、該復号化開始時刻情報をビットストリー
ム中に挿入する復号化開始時刻情報置換手段を備えたこ
とを特徴とする。
In order to solve the above-mentioned problems, the invention according to claim 7 is the invention according to claims 5 to 6, wherein the buffer delay information representing the delay due to the buffer set in the bit stream containing the image data is decoded. A decoding start time information replacing unit that replaces the decoding start time information and inserts the decoding start time information into the bitstream is provided.

【0024】請求項8記載の発明は、上記課題を解決す
るため、請求項5記載の発明において、前記バッファメ
モリ手段から読み出されたビットストリーム中に含まれ
る復号化開始時刻情報が前記基準時刻計測手段で計測さ
れた基準時刻と一致した場合には、前記読出制御手段に
読み出し開始を表す読出開始信号を発生する読出開始信
号発生手段を備えたことを特徴とする。
In order to solve the above-mentioned problems, the invention according to claim 8 is the invention according to claim 5, wherein the decoding start time information contained in the bit stream read from the buffer memory means is the reference time. When it coincides with the reference time measured by the measuring means, the read control means is provided with a read start signal generating means for generating a read start signal indicating a read start.

【0025】請求項9記載の発明は、上記課題を解決す
るため、請求項1乃至8記載の発明において、前記復号
開始時刻情報を16ビット長により表すことを特徴とす
る。
In order to solve the above-mentioned problems, the invention of claim 9 is characterized in that, in the invention of claims 1 to 8, the decoding start time information is represented by a 16-bit length.

【0026】[0026]

【作用】請求項1記載の発明では、符号化された画像デ
ータを含むビットストリームを入力して該画像データを
復号化する画像復号化方式において、基準時刻を計測
し、該基準時刻に基づいて各フレームの復号化を開始す
る時刻を表す復号化開始時刻情報を前記ビットストリー
ム中に挿入し、該復号化開始時刻情報を含むビットスト
リームを記憶し、記憶された該ビットストリームを順次
に読み出し、該ビットストリーム中に含まれる前記復号
化開始時刻情報に基づいて記憶された画像データを含む
ビットストリームの読み出しを開始するように制御す
る。
According to the first aspect of the present invention, in the image decoding system for inputting the bit stream including the encoded image data and decoding the image data, the reference time is measured and based on the reference time. Decoding start time information indicating the time to start decoding of each frame is inserted into the bitstream, a bitstream including the decoding start time information is stored, and the stored bitstream is sequentially read, Based on the decoding start time information included in the bitstream, control is performed to start reading of the bitstream including the image data stored.

【0027】請求項2記載の発明では、請求項1記載の
発明において、画像データを含むビットストリーム中に
設定されたバッファによる遅延を表すバッファ遅延情
報、該ビットストリームの付帯情報である復号化開始時
刻情報および該ビットストリームの付帯情報である表示
開始時刻情報のうちいずれか一つに基づいて前記復号化
開始時刻情報を生成する。
According to a second aspect of the invention, in the first aspect of the invention, buffer delay information indicating a delay due to a buffer set in a bitstream including image data, and decoding start which is incidental information of the bitstream. The decoding start time information is generated based on any one of the time information and the display start time information that is additional information of the bitstream.

【0028】請求項3記載の発明では、請求項1乃至2
記載の発明において、画像データを含むビットストリー
ム中に設定されたバッファによる遅延を表すバッファ遅
延情報を前記復号化開始時刻情報に置換して、該復号化
開始時刻情報をビットストリーム中に挿入する。請求項
4記載の発明では、請求項1記載の発明において、順次
に読み出されたビットストリーム中に含まれる復号化開
始時刻情報が計測された前記基準時刻と一致した場合に
は、読み出し開始を表す読出開始信号を発生する。
In the invention according to claim 3, claims 1 and 2
In the described invention, the buffer delay information indicating the delay due to the buffer set in the bitstream containing the image data is replaced with the decoding start time information, and the decoding start time information is inserted into the bitstream. In the invention according to claim 4, in the invention according to claim 1, when the decoding start time information included in the sequentially read bit stream matches the measured reference time, the read start is performed. A read start signal is generated.

【0029】請求項5記載の発明では、符号化された画
像データを含むビットストリームを入力して該画像デー
タを復号化する画像復号化装置において、基準時刻計測
手段により計測された基準時刻に基づいて各フレームの
復号化を開始する時刻を表す復号化開始時刻情報を復号
化開始時刻情報挿入手段により前記ビットストリーム中
に挿入する。次に、復号化開始時刻情報を含むビットス
トリームをバッファメモリ手段に記憶する。読出制御手
段により該バッファメモリ手段に記憶されたビットスト
リームを順次に読み出し、該ビットストリーム中に含ま
れる前記復号化開始時刻情報に基づいて該バッファメモ
リ手段に記憶された画像データを含むビットストリーム
の読み出しを開始するように制御する。
According to a fifth aspect of the present invention, in an image decoding apparatus for inputting a bit stream including encoded image data and decoding the image data, based on the reference time measured by the reference time measuring means. Decoding start time information indicating the time when decoding of each frame is started is inserted into the bitstream by the decoding start time information inserting means. Next, the bit stream including the decoding start time information is stored in the buffer memory means. The read control means sequentially reads the bitstream stored in the buffer memory means, and based on the decoding start time information contained in the bitstream, the bitstream containing the image data stored in the buffer memory means. Control to start reading.

【0030】請求項6記載の発明では、請求項5記載の
発明において、復号化開始時刻情報生成手段により画像
データを含むビットストリーム中に設定されたバッファ
による遅延を表すバッファ遅延情報、該ビットストリー
ムの付帯情報である復号化開始時刻情報および該ビット
ストリームの付帯情報である表示開始時刻情報のうちい
ずれか一つに基づいて復号化開始時刻情報を生成する。
According to a sixth aspect of the invention, in the fifth aspect of the invention, the buffer delay information indicating the delay due to the buffer set in the bitstream containing the image data by the decoding start time information generating means, the bitstream. Decoding start time information is generated based on one of the decoding start time information, which is the additional information of the above, and the display start time information, which is the additional information of the bitstream.

【0031】請求項7記載の発明では、請求項5乃至6
記載の発明において、復号化開始時刻情報置換手段によ
り画像データを含むビットストリーム中に設定されたバ
ッファによる遅延を表すバッファ遅延情報を前記復号化
開始時刻情報に置換して、該復号化開始時刻情報をビッ
トストリーム中に挿入する。請求項8記載の発明では、
請求項5記載の発明において、前記バッファメモリ手段
から読み出されたビットストリーム中に含まれる復号化
開始時刻情報が前記基準時刻計測手段で計測された基準
時刻と一致した場合には、読出開始信号発生手段により
前記読出制御手段に読み出し開始を表す読出開始信号を
発生する。
According to the invention of claim 7, claims 5 to 6 are provided.
In the invention described above, the decoding start time information is replaced by replacing the buffer delay information indicating the delay due to the buffer set in the bitstream including the image data by the decoding start time information replacing means with the decoding start time information. Is inserted into the bitstream. According to the invention of claim 8,
In the invention according to claim 5, when the decoding start time information contained in the bit stream read from the buffer memory means coincides with the reference time measured by the reference time measuring means, a read start signal. The generating means generates a read start signal indicating the start of reading to the read control means.

【0032】請求項9記載の発明では、請求項1乃至8
記載の発明において、前記復号開始時刻情報を16ビッ
ト長により表す。
According to the invention of claim 9, claims 1 to 8
In the invention described above, the decoding start time information is represented by a 16-bit length.

【0033】[0033]

【実施例】以下、本発明の実施例を図面を参照して説明
する。まず、画像復号化装置のシステム構成について説
明する。図1は本発明の一実施例である画像復号化装置
のシステム構成図である。図1に示すように、画像復号
化装置は、バッファメモリ制御部110、バッファメモ
リ12、可変長復号化器21、スキャン変換器22、逆
量子化器23、逆DCT部24、動き補償画像再生部2
5および予測フレームメモリ26から構成される。
Embodiments of the present invention will be described below with reference to the drawings. First, the system configuration of the image decoding apparatus will be described. FIG. 1 is a system configuration diagram of an image decoding apparatus which is an embodiment of the present invention. As shown in FIG. 1, the image decoding apparatus includes a buffer memory control unit 110, a buffer memory 12, a variable length decoder 21, a scan converter 22, an inverse quantizer 23, an inverse DCT unit 24, and a motion compensation image reproduction. Part 2
5 and the prediction frame memory 26.

【0034】バッファメモリ制御部110は、入力ビッ
トストリーム100をバッファメモリ12に順次に蓄積
するとともに、バッファメモリ12に蓄積されたビット
ストリームを順次に読み出す制御を行う。バッファメモ
リ12は、入力ビットストリーム100を順次に蓄積す
るとともに、蓄積されたビットストリームを先入先出順
に出力する。可変長復号化器21は、バッファメモリ1
2から読み出された可変長符号化された画像データまた
は固定長符号化された画像データを可変長復号化する。
スキャン変換器22は、復号化された画像データの順序
を並び換える。
The buffer memory control unit 110 controls to sequentially store the input bitstream 100 in the buffer memory 12 and to sequentially read out the bitstream stored in the buffer memory 12. The buffer memory 12 sequentially accumulates the input bitstream 100 and outputs the accumulated bitstream in the first-in first-out order. The variable length decoder 21 includes a buffer memory 1
The variable-length coded image data or the fixed-length coded image data read from No. 2 is variable-length decoded.
The scan converter 22 rearranges the order of the decoded image data.

【0035】逆量子化器23は、順序を並び換えられた
画像データを逆量子化してDCT係数を復元する。逆D
CT部24は、DCT係数を逆離散コサイン変換する。
動き補償画像再生部25は、フレーム間差分データを入
力した場合は、参照データを予測フレームメモリ26か
ら読み出し、入力データと加算した後に、再生画像を予
測フレームメモリ26に書き込み、再生画像200を出
力する。一方、フレーム内で符号化されたデータを入力
した場合は、入力データをそのまま予測フレームメモリ
26に書き込み、再生画像200を出力する。
The dequantizer 23 dequantizes the reordered image data to restore DCT coefficients. Reverse D
The CT unit 24 performs an inverse discrete cosine transform on the DCT coefficient.
When the inter-frame difference data is input, the motion compensation image reproduction unit 25 reads the reference data from the prediction frame memory 26, adds the reference data to the input data, writes the reproduction image in the prediction frame memory 26, and outputs the reproduction image 200. To do. On the other hand, when the data encoded in the frame is input, the input data is written as it is in the prediction frame memory 26 and the reproduced image 200 is output.

【0036】予測フレームメモリ26は、動き補償画像
再生部25でフレーム間差分データと予測フレームメモ
リ26から読み出した参照データを加算した結果として
の再生画像200を記憶するとともに、フレーム内で符
号化された画像データをそのまま記憶する。図2はMP
EG2画像データの階層構成を示す図である。
The predictive frame memory 26 stores the reproduced image 200 as a result of adding the inter-frame difference data and the reference data read from the predictive frame memory 26 in the motion compensation image reproducing section 25, and is encoded within the frame. The stored image data is stored as it is. Figure 2 is MP
It is a figure which shows the hierarchical structure of EG2 image data.

【0037】図2に示すように、MPEG2画像データ
は、シーケンス層、GOP層、ピクチャ層、スライス
層、マクロブロック層およびブロック層によって階層構
成されている。シーケンス層は、一連の同じ属性を有す
る画面グループから構成される。GOP層は、ランダム
・アクセスの単位になる画面グループの最少単位から構
成される。ピクチャ層は、1枚の画面に共通な属性から
構成される。スライス層は、1枚の画面を細分した小画
面に共通の情報から構成される。マクロブロック層は、
スライス層をさらに分割した画素ブロックに共通の情報
から構成される。ブロック層は、DCTの変換係数から
構成される。
As shown in FIG. 2, the MPEG2 image data is hierarchically structured by a sequence layer, a GOP layer, a picture layer, a slice layer, a macroblock layer and a block layer. The sequence layer is composed of a series of screen groups having the same attributes. The GOP layer is composed of the minimum unit of the screen group which is a unit of random access. The picture layer is composed of attributes common to one screen. The slice layer is composed of information common to small screens obtained by subdividing one screen. The macroblock layer is
It is composed of information common to the pixel blocks obtained by further dividing the slice layer. The block layer is composed of DCT transform coefficients.

【0038】図3はピクチャ層の多重処理系統図であ
る。図3に示すように、ピクチャ層は、ピクチャ層の開
始同期コードを示すPSC(Picture Start Code)、表
示順の番号を示すTR(Temporal Reference)、ピクチ
ャ・タイプを示すPCT(Picture Coding Type )、ラ
ンダムアクセス時のバッファの初期状態を示すバッファ
遅延情報VD(VBV Delay )、順方向動きベクトルの精
度が整数単位か半画素単位かを示すFPFV(Full Pel
Forward Vector )、順方向動きベクトル探索範囲を示
すFFC(Forward F Code)、逆方向動きベクトルの精
度が整数単位か半画素単位かを示すFPBV(Full Pel
Backward Vector)、逆方向動きベクトル探索範囲を示
すBFC(Backward F Code )、その他のピクチャ情報
の有無を示すEBP(Extra Bit Picture )、ピクチャ
符号化機能拡張部(Picture Coding Extension)、量子
化マトリクス機能拡張部(QM Extension)、ピクチャ表
示機能拡張部(Picture Display Extension )、ピクチ
ャ空間スケーラブル機能拡張部(Picture Spatial Scal
able Extension)、ピクチャ時間スケーラブル機能拡張
部(Picture Temporal Scalable Extension )から構成
され、以下1つ下層のスライス層に続く。
FIG. 3 is a diagram of a multi-processing system of the picture layer. As shown in FIG. 3, the picture layer includes a PSC (Picture Start Code) indicating a start synchronization code of the picture layer, a TR (Temporal Reference) indicating a display order number, a PCT (Picture Coding Type) indicating a picture type, Buffer delay information VD (VBV Delay) indicating the initial state of the buffer at random access, FPFV (Full Pel) indicating whether the accuracy of the forward motion vector is an integer unit or a half pixel unit
Forward Vector), FFC (Forward F Code) indicating the forward motion vector search range, and FPBV (Full Pel) indicating whether the accuracy of the backward motion vector is an integer unit or a half pixel unit.
Backward Vector), BFC (Backward F Code) indicating the backward motion vector search range, EBP (Extra Bit Picture) indicating the presence / absence of other picture information, Picture Coding Extension (Picture Coding Extension), Quantization matrix function Extension (QM Extension), Picture Display Extension (Picture Display Extension), Picture Space Scalable Extension (Picture Spatial Scal)
and the picture temporal scalable function extension part (Picture Temporal Scalable Extension), and is followed by the slice layer one layer below.

【0039】(実施例1)本実施例(請求項1,2,
4,5,6,8)は図1で説明した画像復号化装置に適
用することができる。本実施例では、本発明(請求項
1,2,4,5,6,8)の特徴部分を具体的に説明す
る。図4は本発明の一実施例である画像復号化装置のバ
ッファメモリ制御部110のブロック構成図である。
(Embodiment 1) This embodiment (claims 1, 2,
4, 5, 6, 8) can be applied to the image decoding apparatus described in FIG. In this embodiment, a characteristic part of the present invention (claims 1, 2, 4, 5, 6, 8) will be specifically described. FIG. 4 is a block diagram of the buffer memory control unit 110 of the image decoding apparatus which is an embodiment of the present invention.

【0040】図4に示すように、バッファメモリ制御部
110は、書込ヘッダ解析部31、STCカウンタ部3
2、DTS生成部33、VBV/DTS挿入部34、書
込制御部35、読出制御部36、読出ヘッダ解析部37
およびSTC/DTS比較部38によって構成されてい
る。書込ヘッダ解析部31は、図3に示すピクチャ層の
入力ビットストリーム100中のピクチャヘッダを解析
してVBV遅延情報としてVDを得た後に、DTS生成
部33にVBV遅延情報を保存する。
As shown in FIG. 4, the buffer memory control unit 110 includes a write header analysis unit 31 and an STC counter unit 3.
2, DTS generator 33, VBV / DTS inserter 34, write controller 35, read controller 36, read header analyzer 37
And an STC / DTS comparison unit 38. The write header analysis unit 31 analyzes the picture header in the input bitstream 100 of the picture layer shown in FIG. 3 to obtain VD as VBV delay information, and then stores the VBV delay information in the DTS generation unit 33.

【0041】STCカウンタ部32は、通常SCR−e
xtと呼ばれる300進の9ビットカウンタとSCR−
baseと呼ばれる33ビットカウンタによって構成さ
れる。SCR−extは、27MHZ基準クロックをカウ
ントアップして300に達した時に90KHZのトリガク
ロックをSCR−baseカウンタに出力する。SCR
−baseは、システム時刻基準参照値SCRにプリセ
ットされた後に、90KHZのクロックでカウントアップ
される。このように、STCカウンタ部32は、基準時
刻値を計測してDTS生成部33に出力する。なお、S
CR値がタイミング情報101に含まれてない場合に
は、STCカウンタ部32は自走するものとする。
The STC counter section 32 is normally SCR-e.
300-ary 9-bit counter called xt and SCR-
It is composed of a 33-bit counter called base. The SCR-ext counts up the 27 MHz reference clock, and when it reaches 300, outputs a 90 KHZ trigger clock to the SCR-base counter. SCR
-Base is counted up by the clock of 90 KHZ after being preset to the system time reference reference value SCR. In this way, the STC counter unit 32 measures the reference time value and outputs it to the DTS generation unit 33. Note that S
If the CR value is not included in the timing information 101, the STC counter unit 32 is assumed to be free-running.

【0042】DTS生成部33は、DTS/VBVモー
ド信号によりVBVモードに設定されている場合には、
書込ヘッダ解析部31から転送されたVBV遅延情報と
STCカウンタ部32から転送された現在の時刻を表す
基準時刻値を加算して、復号化開始時刻情報である生成
DTSを得る。一方、DTS/VBVモード信号により
DTSモードに設定されている場合には、システムスト
リーム中のDTSをそのまま生成DTSとする。ここ
で、システムストリーム中において、DTSが与えられ
ていないフレームに対しては、1つ前のフレームの生成
DTSにフレームレートから定められる1フレーム期間
に対応するSTCカウンタ値を加算することで生成DT
Sを得る。1つ前がフィールド画像である場合は、1フ
ィールド期間に対応するSTCカウンタ値を加算するこ
とで生成DTSを得る。また、システムストリーム中の
DTSとPTSが異なる場合には、与えられたPTSを
そのまま生成DTSとする。
When the DTS generator 33 is set to the VBV mode by the DTS / VBV mode signal,
The VBV delay information transferred from the write header analysis unit 31 and the reference time value representing the current time transferred from the STC counter unit 32 are added to obtain the generated DTS which is the decoding start time information. On the other hand, when the DTS mode is set by the DTS / VBV mode signal, the DTS in the system stream is directly used as the generated DTS. Here, in the system stream, for a frame to which a DTS is not given, the DT generated by adding the STC counter value corresponding to one frame period determined from the frame rate to the DTS of the immediately preceding frame.
Get S. When the previous one is a field image, the generated DTS is obtained by adding the STC counter value corresponding to one field period. When the DTS and PTS in the system stream are different, the given PTS is used as it is as the generated DTS.

【0043】VBV/DTS挿入部34は、DTS生成
部33により生成された生成DTSをビットストリーム
100中に挿入する。書込制御部35は、VBV/DT
S挿入部34から出力されたビットストリームをバッフ
ァメモリ12に順次に書き込むための制御を行う。読出
制御部36は、バッファメモリ12に書き込まれたビッ
トストリームを先入先出順に順次に読み出す。なお、読
出ヘッダ解析部37から読出中断信号を入力した場合に
は、読出制御部36はバッファメモリ12からのビット
ストリームの読み出しを中断する。また、STC/DT
S比較部38から復号化開始信号を入力した場合には、
読出制御部36はバッファメモリ12からビットストリ
ームの読み出しを開始する。
The VBV / DTS insertion unit 34 inserts the generated DTS generated by the DTS generation unit 33 into the bitstream 100. The write control unit 35 uses VBV / DT
Control for sequentially writing the bitstream output from the S insertion unit 34 into the buffer memory 12 is performed. The read control unit 36 sequentially reads the bitstream written in the buffer memory 12 in a first-in first-out order. When the read interrupt signal is input from the read header analysis unit 37, the read control unit 36 interrupts the reading of the bitstream from the buffer memory 12. Also, STC / DT
When the decoding start signal is input from the S comparison unit 38,
The read control unit 36 starts reading the bitstream from the buffer memory 12.

【0044】読出ヘッダ解析部37は、バッファメモリ
12から読出制御部36を介して読み出されたビットス
トリームのピクチャヘッダ中の生成DTSを検出た後
に、読出中断信号を読出制御部36に出力してバッファ
メモリ12からビットストリームの読み出しを中断させ
る。次に、読出ヘッダ解析部37は生成DTSを解析し
て生成DTS値をSTC/DTS比較部38に出力す
る。
The read header analysis unit 37 outputs a read interruption signal to the read control unit 36 after detecting the generated DTS in the picture header of the bit stream read from the buffer memory 12 via the read control unit 36. Reading of the bit stream from the buffer memory 12 is interrupted. Next, the read header analysis unit 37 analyzes the generated DTS and outputs the generated DTS value to the STC / DTS comparison unit 38.

【0045】STC/DTS比較部38は、読出ヘッダ
解析部37で解析された生成DTS値とSTCカウンタ
部32から出力される基準時刻とを比較して一致した場
合には、復号化開始信号を読出制御部36に出力してバ
ッファメモリ12からビットストリームの読み出しを開
始させる。図5は本発明の一実施例である画像復号化装
置のバッファメモリ12におけるバッファ占有率の時間
変化を示す図である。
The STC / DTS comparison unit 38 compares the generated DTS value analyzed by the read header analysis unit 37 with the reference time output from the STC counter unit 32, and if they match each other, outputs a decoding start signal. The data is output to the read control unit 36 to start reading the bitstream from the buffer memory 12. FIG. 5 is a diagram showing a temporal change of the buffer occupancy rate in the buffer memory 12 of the image decoding apparatus according to the embodiment of the present invention.

【0046】以下、図5を用いて本発明の一実施例であ
る画像復号化装置の動作を説明する。図5において、横
軸は時間を表し、縦軸はバッファメモリ12に蓄積され
ているビットストリームデータのバッファ占有率を表す
ものとする。また、DTS/VBVモード信号によりV
BVモードに設定されているものとする。
The operation of the image decoding apparatus which is an embodiment of the present invention will be described below with reference to FIG. In FIG. 5, the horizontal axis represents time, and the vertical axis represents the buffer occupancy rate of the bit stream data accumulated in the buffer memory 12. In addition, V is generated by the DTS / VBV mode signal.
It is assumed that the BV mode is set.

【0047】まず、図4に示す書込ヘッダ解析部31
は、図3に示すピクチャ層の入力ビットストリーム10
0中のピクチャヘッダを解析してVBV遅延情報として
VDを得た後に、DTS生成部33にVBV遅延情報を
保存する。次に、DTS生成部33は、VBVモードに
設定されているので、書込ヘッダ解析部31から転送さ
れたVBV遅延情報とSTCカウンタ部32から転送さ
れた現在の時刻を表す基準時刻値を加算して、復号開始
時刻情報である生成DTSを得る。
First, the write header analysis unit 31 shown in FIG.
Is the input bitstream 10 of the picture layer shown in FIG.
After the picture header in 0 is analyzed and VD is obtained as VBV delay information, the VBV delay information is stored in the DTS generator 33. Next, since the DTS generator 33 is set to the VBV mode, it adds the VBV delay information transferred from the write header analyzer 31 and the reference time value representing the current time transferred from the STC counter 32. Then, the generated DTS which is the decoding start time information is obtained.

【0048】次に、VBV/DTS挿入部34は、DT
S生成部33により生成された生成DTSをビットスト
リーム100中に挿入する。次に、VBV/DTS挿入
部34から出力されたビットストリームを書込制御部3
5でバッファメモリ12に順次に書き込みが開始され
る。次に、バッファメモリ12においては、図5に示す
ように1フレーム目のヘッダ情報H1を先頭にしてビッ
トストリームが順次に書き込まれる。この時点でヘッダ
情報H1中には、VBV遅延情報1(d1)とSTCカ
ウンタ部32から転送された現在の時刻を表す基準時刻
値(STC1)を加算した生成DTS1が挿入される。
次に、2フレーム目のヘッダ情報H2中には、VBV遅
延情報2(d2)とSTCカウンタ部32から転送され
た現在の時刻を表す基準時刻値(STC2)を加算した
生成DTS2が挿入される。
Next, the VBV / DTS insertion unit 34 causes the DT
The generated DTS generated by the S generation unit 33 is inserted into the bitstream 100. Next, the bit stream output from the VBV / DTS insertion unit 34 is written into the write control unit 3
At 5, the writing is sequentially started to the buffer memory 12. Next, in the buffer memory 12, as shown in FIG. 5, the bit stream is sequentially written with the header information H1 of the first frame as the head. At this point, the generated DTS1 obtained by adding the VBV delay information 1 (d1) and the reference time value (STC1) representing the current time transferred from the STC counter unit 32 is inserted into the header information H1.
Next, in the header information H2 of the second frame, the generated DTS2 obtained by adding the VBV delay information 2 (d2) and the reference time value (STC2) representing the current time transferred from the STC counter unit 32 is inserted. .

【0049】一方、読出制御部36は、バッファメモリ
12に書き込まれたビットストリームを先入先出順に順
次に読み出して読出ヘッダ解析部37に出力する。次
に、読出ヘッダ解析部37は、バッファメモリ12から
読出制御部36を介して読み出されたビットストリーム
のヘッダ情報H1中に挿入された生成DTS1を検出し
た後に、読出中断信号を読出制御部36に出力してバッ
ファメモリ12からビットストリームの読み出しを一旦
中断させる。次に、読出ヘッダ解析部37は生成DTS
1を解析して生成DTS1値をSTC/DTS比較部3
8に出力する。
On the other hand, the read control unit 36 sequentially reads the bit streams written in the buffer memory 12 in the first-in first-out order and outputs them to the read header analysis unit 37. Next, the read header analysis unit 37 detects the generated DTS1 inserted in the header information H1 of the bitstream read from the buffer memory 12 via the read control unit 36, and then outputs the read interrupt signal to the read control unit. The data is output to 36 and the reading of the bit stream from the buffer memory 12 is once interrupted. Next, the read header analysis unit 37 generates the generated DTS.
1 is analyzed and the DTS1 value generated is analyzed by the STC / DTS comparison unit 3
Output to 8.

【0050】次に、STC/DTS比較部38は、図5
に示すポイントP1において、読出ヘッダ解析部37で
解析された生成DTS1値とSTCカウンタ部32から
出力される基準時刻値とを比較して一致した場合には、
復号化開始信号を読出制御部36に出力する。次に、読
出制御部36は、STC/DTS比較部38から復号化
開始信号を入力したので、ポイントP1において、バッ
ファメモリ12からビットストリームの読み出しを開始
する。
Next, the STC / DTS comparing section 38 operates as shown in FIG.
At the point P1 shown in (1), if the generated DTS1 value analyzed by the read header analysis unit 37 and the reference time value output from the STC counter unit 32 are compared and they match,
The decoding start signal is output to the read control unit 36. Next, since the decoding start signal is input from the STC / DTS comparison unit 38, the read control unit 36 starts reading the bitstream from the buffer memory 12 at point P1.

【0051】ここで、バッファメモリ12から読み出さ
れたビットストリームは、読出制御部36および読出ヘ
ッダ解析部37を介して可変長復号化器21に入力され
る。次に、可変長復号化器21は、バッファメモリ12
から読み出された可変長符号化された画像データまたは
固定長符号化された画像データを可変長復号化し、スキ
ャン変換器22で復号化された画像データの順序を並び
換える。次に、逆量子化器23は、順序を並び換えられ
た画像データを逆量子化してDCT係数を復元し、逆D
CT部24でDCT係数を逆離散コサイン変換する。
The bit stream read from the buffer memory 12 is input to the variable length decoder 21 via the read control unit 36 and the read header analysis unit 37. Next, the variable length decoder 21 uses the buffer memory 12
The variable-length coded image data or the fixed-length coded image data read from is variable-length decoded, and the order of the image data decoded by the scan converter 22 is rearranged. Next, the inverse quantizer 23 inversely quantizes the rearranged image data to restore the DCT coefficient, and the inverse D
The CT unit 24 performs inverse discrete cosine transform on the DCT coefficient.

【0052】次に、動き補償画像再生部25は、フレー
ム内で符号化されたヘッダ情報H1直後のデータを入力
した場合は、入力データをそのまま予測フレームメモリ
26に書き込み、再生画像200を出力する。一方、ヘ
ッダ情報H3,H4直後のフレーム間差分データを入力
した場合は、参照データを予測フレームメモリ26から
読み出し、入力データと加算した後に、再生画像を予測
フレームメモリ26に書き込み、再生画像200を出力
する。
Next, when the data immediately after the header information H1 encoded in the frame is input, the motion compensation image reproducing unit 25 writes the input data as it is in the prediction frame memory 26 and outputs the reproduced image 200. . On the other hand, when the inter-frame difference data immediately after the header information H3 and H4 is input, the reference data is read from the prediction frame memory 26, added with the input data, and then the reproduced image is written into the predicted frame memory 26 to reproduce the reproduced image 200. Output.

【0053】このように、本実施例(請求項1)では、
符号化された画像データを含むビットストリームを入力
して該画像データを復号化する画像復号化方式におい
て、基準時刻をSTCカウンタ部32により計測し、V
BS/DTS挿入部34により基準時刻に基づいて各フ
レームの復号化を開始する時刻を表す復号化開始時刻情
報をビットストリーム中に挿入する。次に、復号化開始
時刻情報を含むビットストリームをバッファメモリ12
に記憶し、読出制御部36によりバッファメモリ12に
記憶されたビットストリームを順次に読み出し、ビット
ストリーム中に含まれる復号化開始時刻情報に基づいて
記憶された画像データを含むビットストリームの読み出
しを開始するように制御する。
Thus, in this embodiment (claim 1),
In an image decoding method in which a bitstream including encoded image data is input and the image data is decoded, the reference time is measured by the STC counter unit 32 and V
The BS / DTS inserting unit 34 inserts the decoding start time information indicating the time when the decoding of each frame starts based on the reference time into the bitstream. Next, the bit stream including the decoding start time information is stored in the buffer memory 12
The bit stream stored in the buffer memory 12 is sequentially read by the read control unit 36, and the reading of the bit stream including the image data stored based on the decoding start time information included in the bit stream is started. Control to do.

【0054】従って、各フレームの復号化開始時刻情報
を基準時刻に基づいて求めてビットストリーム中に挿入
し、ビットストリーム中に含まれる復号化開始時刻情報
に基づいて記憶された画像データを含むビットストリー
ムの読み出しを開始するように制御するので、バッファ
メモリからビットストリームの読み出しを開始する場合
の制御を容易にすることができる。また、バッファメモ
リ中に複数フレームの画像データが蓄積されている場合
でも、各々のフレームに対応した復号化開始時刻情報を
挿入できるので、バッファメモリからビットストリーム
の読み出しを開始する場合のフレーム単位の制御を容易
にすることができる。
Therefore, the decoding start time information of each frame is obtained based on the reference time and inserted into the bit stream, and the bit including the image data stored based on the decoding start time information included in the bit stream is included. Since the control is performed so as to start the reading of the stream, it is possible to facilitate the control when starting the reading of the bit stream from the buffer memory. Further, even when the image data of a plurality of frames is stored in the buffer memory, the decoding start time information corresponding to each frame can be inserted, so that the frame unit for reading the bitstream from the buffer memory is started. Control can be facilitated.

【0055】このように、本実施例(請求項2)では、
DTS生成部33により画像データを含むビットストリ
ーム中に設定されたバッファによる遅延を表すバッファ
遅延情報(例えばVBV遅延情報)、ビットストリーム
の付帯情報である復号化開始時刻情報およびビットスト
リームの付帯情報である表示開始時刻情報のうちいずれ
か一つに基づいて復号化開始時刻情報である生成DTS
を生成する。
Thus, in this embodiment (claim 2),
Buffer delay information (for example, VBV delay information) indicating a delay due to a buffer set in a bitstream including image data by the DTS generation unit 33, decoding start time information that is additional information of the bitstream, and additional information of the bitstream. Generated DTS that is decoding start time information based on any one of the display start time information
Generate

【0056】従って、STCカウンタ部で計測された基
準時刻に基づいて復号化開始時刻情報を生成するため、
システムクロックと整合性のよい時刻管理ができる。こ
のように、本実施例(請求項4)では、順次に読み出さ
れたビットストリーム中に含まれる復号化開始時刻情報
である生成DTSが計測された基準時刻であるSTCと
一致した場合には、STC/DTS比較部38により読
み出し開始を表す読出開始信号を発生するので、読出制
御部36によりバッファメモリ12に記憶されたビット
ストリームを順次に読み出しを開始するように制御で
き、バッファメモリからビットストリームの読み出しを
開始する場合の制御を容易にすることができる。
Therefore, since the decoding start time information is generated based on the reference time measured by the STC counter section,
It is possible to manage time that is highly consistent with the system clock. As described above, in the present embodiment (claim 4), when the generated DTS which is the decoding start time information included in the sequentially read bitstreams matches the STC which is the measured reference time, , The STC / DTS comparison unit 38 generates a read start signal indicating the start of reading, so that the read control unit 36 can control to sequentially start reading the bit streams stored in the buffer memory 12, and the bit from the buffer memory can be controlled. It is possible to facilitate control when starting reading of the stream.

【0057】このように、本実施例(請求項5)では、
符号化された画像データを含むビットストリームを入力
して画像データを復号化する画像復号化装置において、
STCカウンタ部32(基準時刻計測手段)により計測
された基準時刻に基づいて各フレームの復号化を開始す
る時刻を表す復号化開始時刻情報をVBV/DTS挿入
部34(復号化開始時刻情報挿入手段)によりビットス
トリーム中に挿入する。次に、復号化開始時刻情報を含
むビットストリームをバッファメモリ12(バッファメ
モリ手段)に記憶する。読出制御部36(読出制御手
段)によりバッファメモリ12(バッファメモリ手段)
に記憶されたビットストリームを順次に読み出し、ビッ
トストリーム中に含まれる復号化開始時刻情報に基づい
てバッファメモリ12(バッファメモリ手段)に記憶さ
れた画像データを含むビットストリームの読み出しを開
始するように制御する。
Thus, in this embodiment (claim 5),
In an image decoding device for inputting a bitstream containing encoded image data and decoding the image data,
The VBV / DTS inserting unit 34 (decoding start time information inserting unit) outputs decoding start time information indicating the time when decoding of each frame is started based on the reference time measured by the STC counter unit 32 (reference time measuring unit). ) To insert into the bitstream. Next, the bit stream including the decoding start time information is stored in the buffer memory 12 (buffer memory means). The buffer memory 12 (buffer memory means) by the read controller 36 (read control means)
The bitstreams stored in the buffer are sequentially read, and the bitstream including the image data stored in the buffer memory 12 (buffer memory means) is read based on the decoding start time information included in the bitstreams. Control.

【0058】従って、各フレームの復号化開始時刻情報
を基準時刻に基づいて求めてビットストリーム中に挿入
し、ビットストリーム中に含まれる復号化開始時刻情報
に基づいて記憶された画像データを含むビットストリー
ムの読み出しを開始するように制御するので、バッファ
メモリからビットストリームの読み出しを開始する場合
の制御を容易にすることができる。また、バッファメモ
リ中に複数フレームの画像データが蓄積されている場合
でも、各々のフレームに対応した復号化開始時刻情報を
挿入できるので、バッファメモリからビットストリーム
の読み出しを開始する場合のフレーム単位の制御を容易
にすることができる。このように、本実施例(請求項
6)では、DTS生成部32(復号化開始時刻情報生成
手段)により画像データを含むビットストリーム中に設
定されたバッファによる遅延を表すバッファ遅延情報、
ビットストリームの付帯情報である復号化開始時刻情報
およびビットストリームの付帯情報である表示開始時刻
情報のうちいずれか一つに基づいて復号化開始時刻情報
である生成DTSを生成する。
Therefore, the decoding start time information of each frame is obtained based on the reference time and inserted into the bit stream, and the bit including the image data stored based on the decoding start time information included in the bit stream is included. Since the control is performed so as to start the reading of the stream, it is possible to facilitate the control when starting the reading of the bit stream from the buffer memory. Further, even when the image data of a plurality of frames is stored in the buffer memory, the decoding start time information corresponding to each frame can be inserted, so that the frame unit for reading the bitstream from the buffer memory is started. Control can be facilitated. As described above, in the present embodiment (claim 6), the buffer delay information indicating the delay due to the buffer set in the bitstream including the image data by the DTS generator 32 (decoding start time information generator),
A generated DTS that is decoding start time information is generated based on either one of the decoding start time information that is additional information of the bitstream and the display start time information that is additional information of the bitstream.

【0059】従って、STCカウンタ部で計測された基
準時刻に基づいて復号化開始時刻情報を生成するため、
システムクロックと整合性のよい時刻管理ができる。こ
のように、本実施例(請求項8)では、バッファメモリ
12(バッファメモリ手段)から読み出されたビットス
トリーム中に含まれる復号化開始時刻情報である生成D
TSがSTCカウンタ部32(基準時刻計測手段)で計
測された基準時刻であるSTCと一致した場合には、S
TC/DTS比較部38(読出開始信号発生手段)によ
り読出制御部36(読出制御手段)に読み出し開始を表
す読出開始信号を発生するので、読出制御部36により
バッファメモリ12に記憶されたビットストリームを順
次に読み出しを開始するように制御でき、バッファメモ
リからビットストリームの読み出しを開始する場合の制
御を容易にすることができる。
Therefore, since the decoding start time information is generated based on the reference time measured by the STC counter section,
It is possible to manage time that is highly consistent with the system clock. As described above, in the present embodiment (claim 8), the generation D which is the decoding start time information included in the bit stream read from the buffer memory 12 (buffer memory means).
If TS matches STC which is the reference time measured by the STC counter unit 32 (reference time measuring means), S
Since the TC / DTS comparing unit 38 (reading start signal generating means) generates a reading start signal indicating the reading start to the reading control unit 36 (reading control means), the reading control unit 36 stores the bit stream stored in the buffer memory 12. Can be controlled so as to start reading sequentially, and control when starting reading of the bitstream from the buffer memory can be facilitated.

【0060】(実施例2)本実施例(請求項3,7)も
実施例1と同様図1で説明した画像復号化装置に適用す
ることができる。本実施例では、本発明(請求項3,
7)の特徴部分を具体的に説明する。図6は本発明の一
実施例である画像復号化装置のバッファメモリ制御部1
10のブロック構成図である。
(Embodiment 2) This embodiment (claims 3 and 7) can be applied to the image decoding apparatus described in FIG. 1 as in Embodiment 1. In this embodiment, the present invention (claim 3,
The characteristic part of 7) will be specifically described. FIG. 6 shows a buffer memory control unit 1 of an image decoding apparatus which is an embodiment of the present invention.
It is a block block diagram of 10.

【0061】図6に示すように、図4に示した画像復号
化装置の構成に対し、VBV/DTS置換部44が本実
施例において新たな構成要素になる部分である。VBV
/DTS置換部44は、ビットストリーム中のVBV遅
延情報を削除し、代わりにDTS生成部33から転送さ
れた生成DTSを置換する。このようにして得られたビ
ットストリームは書込制御部35を介してバッファメモ
リ12に書き込まれる。
As shown in FIG. 6, the VBV / DTS replacing section 44 is a new component in this embodiment in addition to the configuration of the image decoding apparatus shown in FIG. VBV
The / DTS replacing unit 44 deletes the VBV delay information in the bitstream and replaces the generated DTS transferred from the DTS generating unit 33 instead. The bit stream thus obtained is written in the buffer memory 12 via the write controller 35.

【0062】以下、図5を用いて本発明の一実施例であ
る画像復号化装置の書込ヘッダ解析部31から書込制御
部35に至る動作を説明する。まず、図5に示す書込ヘ
ッダ解析部31は、図3に示すピクチャ層の入力ビット
ストリーム100中のピクチャヘッダを解析してVBV
遅延情報としてVDを得た後に、DTS生成部33にV
BV遅延情報を保存する。次に、DTS生成部33は、
VBVモードに設定されているので、書込ヘッダ解析部
31から転送されたVBV遅延情報とSTCカウンタ部
32から転送された現在の時刻を表す基準時刻値を加算
して、復号開始時刻情報である生成DTSを得る。
The operation from the write header analysis unit 31 to the write control unit 35 of the image decoding apparatus according to the embodiment of the present invention will be described below with reference to FIG. First, the write header analysis unit 31 shown in FIG. 5 analyzes the picture header in the input bitstream 100 of the picture layer shown in FIG.
After VD is obtained as the delay information, VD is input to the DTS generator 33.
Save BV delay information. Next, the DTS generator 33
Since the VBV mode is set, the VBV delay information transferred from the write header analysis unit 31 and the reference time value representing the current time transferred from the STC counter unit 32 are added to obtain the decoding start time information. Get the generated DTS.

【0063】次に、VBV/DTS置換部44は、ビッ
トストリーム中のVBV遅延情報を削除し、代わりにD
TS生成部33から転送された生成DTSを置換する。
次に、VBV/DTS置換部44から出力されたビット
ストリームを書込制御部35でバッファメモリ12に順
次に書き込みが開始される。以下は図5の動作説明と同
様なので、これを省略する。
Next, the VBV / DTS replacing section 44 deletes the VBV delay information in the bit stream, and replaces it with D
The generated DTS transferred from the TS generation unit 33 is replaced.
Then, the write control unit 35 sequentially starts writing the bitstream output from the VBV / DTS replacing unit 44 into the buffer memory 12. The rest of the description is the same as that of FIG.

【0064】このように、本実施例(請求項3)では、
VBV/DTS置換部44により画像データを含むビッ
トストリーム中に設定されたバッファによる遅延を表す
バッファ遅延情報を復号化開始時刻情報である生成DT
Sに置換して、復号化開始時刻情報である生成DTSを
ビットストリーム中に挿入する。従って、DTS情報に
基づいて復号化開始を制御する場合に、DTSをVBV
遅延情報に置換してストリーム中に挿入することで、ビ
ットストリームをバッファメモリから読み出しを開始す
る制御を容易にでき、かつ、VBV遅延情報に基づく制
御方法とDTS情報に基づく制御方法を同一画像復号化
装置において統合的に実現できる。
As described above, in the present embodiment (claim 3),
The buffer delay information indicating the delay due to the buffer set in the bitstream including the image data by the VBV / DTS replacing unit 44 is generated DT which is the decoding start time information.
Substitute S for inserting the generated DTS, which is the decoding start time information, into the bitstream. Therefore, when the decoding start is controlled based on the DTS information, the DTS is set to VBV
By replacing the delay information with the delay information and inserting it into the stream, the control for starting the reading of the bitstream from the buffer memory can be facilitated, and the control method based on the VBV delay information and the control method based on the DTS information can be decoded by the same image. It can be realized in an integrated device.

【0065】このように、本実施例(請求項7)では、
VBV/DTS置換部44(復号化開始時刻情報置換手
段)により画像データを含むビットストリーム中に設定
されたバッファによる遅延時間を表すバッファ遅延時間
情報を復号化開始時刻情報である生成DTSに置換し
て、復号化開始時刻情報をビットストリーム中に挿入す
る。
Thus, in this embodiment (claim 7),
The VBV / DTS replacing section 44 (decoding start time information replacing means) replaces the buffer delay time information representing the delay time due to the buffer set in the bitstream containing the image data with the generated DTS which is the decoding start time information. Then, the decoding start time information is inserted into the bitstream.

【0066】従って、DTS情報に基づいて復号化開始
を制御する場合に、DTSをVBV遅延情報に置換して
ストリーム中に挿入することで、ビットストリームをバ
ッファメモリから読み出しを開始する制御を容易にで
き、かつ、VBV遅延情報に基づく制御方法とDTS情
報に基づく制御方法を同一画像復号化装置において統合
的に実現できる。
Therefore, when the decoding start is controlled based on the DTS information, by replacing the DTS with the VBV delay information and inserting the stream into the stream, the control for starting the reading of the bit stream from the buffer memory can be facilitated. In addition, the control method based on the VBV delay information and the control method based on the DTS information can be integrally realized in the same image decoding device.

【0067】(実施例3)本実施例(請求項9)も実施
例1と同様図1で説明した画像復号化装置に適用するこ
とができる。本実施例では、本発明(請求項9)の特徴
部分を具体的に説明する。図4に示すように、STCカ
ウンタ部32は、通常SCR−extと呼ばれる300
進の9ビットカウンタとSCR−baseと呼ばれる3
3ビットカウンタによって構成される。SCR−ext
は、27MHZ基準クロックをカウントアップして300
に達した時に90KHZのトリガクロックをSCR−ba
seカウンタに出力する。SCR−baseは、システ
ム時刻基準参照値SCRにプリセットされた後に、90
KHZのクロックでカウントアップされる。このように、
STCカウンタ部32は、基準時刻値を計測してDTS
生成部33に出力する。なお、SCR値がタイミング情
報101に含まれてない場合には、STCカウンタ部3
2は自走するものとする。
(Third Embodiment) This embodiment (Claim 9) can be applied to the image decoding apparatus described in FIG. 1 as in the first embodiment. In this embodiment, a characteristic part of the present invention (claim 9) will be specifically described. As shown in FIG. 4, the STC counter unit 32 is usually called SCR-ext 300.
9-bit counter and 3 called SCR-base
It is composed of a 3-bit counter. SCR-ext
Counts up 27 MHz reference clock to 300
90KHZ trigger clock when SCR-ba
output to the se counter. After the SCR-base is preset to the system time base reference value SCR, 90
It is counted up by the clock of KHZ. in this way,
The STC counter unit 32 measures the reference time value and DTS
Output to the generation unit 33. If the SCR value is not included in the timing information 101, the STC counter unit 3
2 shall be self-propelled.

【0068】次に、SCR−baseのカウンタ値また
はその一部分をDTS生成部33およびSTC/DTS
比較部38に出力される。SCR−baseのカウンタ
値は33ビットで構成されているので、DTS生成部3
3でシステムストリーム中の33ビットのDTSと加算
して33ビットの生成DTSを得ることができる。従っ
て、VBV/DTS挿入部34では、33ビットの生成
DTSを挿入することになる。また、図6に示すVBV
/DTS置換部44では、16ビットのVBV遅延情報
を削除して、33ビットの生成DTSを挿入することに
なる。
Next, the counter value of SCR-base or a part thereof is set to the DTS generator 33 and STC / DTS.
It is output to the comparison unit 38. Since the counter value of SCR-base is composed of 33 bits, the DTS generator 3
In step 3, the 33-bit DTS in the system stream can be added to obtain a 33-bit generated DTS. Therefore, the VBV / DTS inserting unit 34 inserts the 33-bit generated DTS. In addition, the VBV shown in FIG.
The / DTS replacing section 44 deletes the 16-bit VBV delay information and inserts the 33-bit generated DTS.

【0069】しかしながら、SCR−baseおいて、
90KHZクロックを用いて16ビットまでのカウンタと
して計測できる時間は約0.728秒である。これは、
NTSC方式のビデオフォーマットにおいて約22フレ
ーム期間に相当するものであり、一般的に、これ程の遅
延量を許容するストリームはない。従って、生成DTS
として33ビット中の下位16ビットを用いるだけでも
実用上の問題はない。また、16ビットの生成DTSを
用いる場合には、VBV/DTS置換部44では16ビ
ットのVBV遅延情報を削除して、同じビット数の生成
DTSを挿入することになるので置換が容易に実行でき
るとともに、ビットストリームのバイトアライン(種々
のデータのまとまりがバイト単位になっていること)が
保持され、復号化処理が容易になる。
However, in SCR-base,
The time that can be measured by the counter up to 16 bits using the 90 KHZ clock is about 0.728 seconds. this is,
This corresponds to about 22 frame periods in the NTSC system video format, and generally, there is no stream that allows such a delay amount. Therefore, the generated DTS
There is no practical problem even if only the lower 16 bits of 33 bits are used. When using the 16-bit generated DTS, the VBV / DTS replacing section 44 deletes the 16-bit VBV delay information and inserts the generated DTS having the same number of bits, so that the replacement can be easily performed. At the same time, byte alignment of the bit stream (a group of various data is in units of bytes) is held, which facilitates the decoding process.

【0070】このように、本実施例(請求項9)では、
復号開始時刻情報である生成DTSを16ビット長によ
り表すので、ビットストリーム中への復号開始時刻情報
の挿入を容易にでき、また、ビットストリーム中のVB
V遅延情報との置換を容易にできる。
As described above, in the present embodiment (claim 9),
Since the generated DTS, which is the decoding start time information, is represented by a 16-bit length, it is possible to easily insert the decoding start time information into the bitstream, and the VB in the bitstream can be easily inserted.
It can be easily replaced with V delay information.

【0071】[0071]

【発明の効果】そこで、本発明によれば、各フレームの
復号化開始時刻情報を基準時刻に基づいて求めてビット
ストリーム中に挿入し、ビットストリーム中に含まれる
復号化開始時刻情報に基づいて記憶された画像データを
含むビットストリームの読み出しを開始するように制御
するので、バッファメモリからビットストリームの読み
出しを開始する場合の制御を容易にすることができる。
Therefore, according to the present invention, the decoding start time information of each frame is obtained based on the reference time and inserted into the bit stream, and based on the decoding start time information included in the bit stream. Since the control is performed so as to start the reading of the bitstream including the stored image data, the control when starting the reading of the bitstream from the buffer memory can be facilitated.

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

【図1】本発明の一実施例である画像復号化装置のシス
テム構成図である。
FIG. 1 is a system configuration diagram of an image decoding apparatus that is an embodiment of the present invention.

【図2】MPEG2画像データの階層構成を示す図であ
る。
FIG. 2 is a diagram showing a hierarchical structure of MPEG2 image data.

【図3】MPEG2画像データのピクチャ層の多重処理
系統図である。
FIG. 3 is a diagram of a multiple processing system of a picture layer of MPEG2 image data.

【図4】本発明の一実施例である画像復号化装置のバッ
ファメモリ制御部110のブロック構成図である。
FIG. 4 is a block configuration diagram of a buffer memory control unit 110 of an image decoding apparatus that is an embodiment of the present invention.

【図5】本発明の一実施例である画像復号化装置のバッ
ファメモリ12におけるバッファ占有率の時間変化を示
す図である。
FIG. 5 is a diagram showing a temporal change of a buffer occupancy rate in the buffer memory 12 of the image decoding apparatus which is an embodiment of the present invention.

【図6】本発明の一実施例である画像復号化装置のバッ
ファメモリ制御部110のブロック構成図である。
FIG. 6 is a block configuration diagram of a buffer memory control unit 110 of an image decoding apparatus that is an embodiment of the present invention.

【図7】MPEG2が搭載された従来の画像復号化装置
を示す図である。
FIG. 7 is a diagram showing a conventional image decoding apparatus equipped with MPEG2.

【図8】従来の画像復号化装置のバッファメモリ制御部
11のブロック構成図である。
FIG. 8 is a block diagram of a buffer memory control unit 11 of a conventional image decoding device.

【図9】従来の画像復号化装置のバッファメモリ制御部
11のブロック構成図である。
FIG. 9 is a block configuration diagram of a buffer memory control unit 11 of a conventional image decoding device.

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

12 バッファメモリ 21 可変長復号化器 22 スキャン変換器 23 逆量子化器 24 逆DCT部 25 動き補償画像再生部 26 予測フレームメモリ 31 書込ヘッダ解析部 32 STCカウンタ部 33 DTS生成部 34 VBV/DTS挿入部 35 書込制御部 36 読出制御部 37 読出ヘッダ解析部 38 STC/DTS比較部 11,110,111 バッファメモリ制御部 12 Buffer Memory 21 Variable Length Decoder 22 Scan Converter 23 Inverse Quantizer 24 Inverse DCT Section 25 Motion Compensated Image Reproduction Section 26 Prediction Frame Memory 31 Write Header Analysis Section 32 STC Counter Section 33 DTS Generation Section 34 VBV / DTS Insertion unit 35 Write control unit 36 Read control unit 37 Read header analysis unit 38 STC / DTS comparison unit 11, 110, 111 Buffer memory control unit

───────────────────────────────────────────────────── フロントページの続き (72)発明者 西塔 隆二 東京都渋谷区代々木4丁目36番19号 株式 会社グラフィックス・コミュニケーショ ン・ラボラトリーズ内 (72)発明者 川村 嘉郁 東京都渋谷区代々木4丁目36番19号 株式 会社グラフィックス・コミュニケーショ ン・ラボラトリーズ内 (72)発明者 永井 律彦 東京都渋谷区代々木4丁目36番19号 株式 会社グラフィックス・コミュニケーショ ン・ラボラトリーズ内 (72)発明者 後藤 勝巳 東京都渋谷区代々木4丁目36番19号 株式 会社グラフィックス・コミュニケーショ ン・ラボラトリーズ内 (72)発明者 小松 茂 東京都渋谷区代々木4丁目36番19号 株式 会社グラフィックス・コミュニケーショ ン・ラボラトリーズ内 ─────────────────────────────────────────────────── ─── Continuation of front page (72) Inventor Ryuji Nishito 4-36-19, Yoyogi, Shibuya-ku, Tokyo Within Graphics Communications Laboratories, Inc. (72) Inventor Kaiku Kawamura 4-chome, Yoyogi, Shibuya-ku, Tokyo 36-19 No. 19 in Graphics Communications Laboratories, Inc. (72) Inventor Norihiko Nagai 4-36-yoyogi, Shibuya-ku, Tokyo No. 36-19 in Graphics Communications Laboratories, Inc. (72) Inventor Katsumi Goto 4-36-19 Yoyogi, Shibuya-ku, Tokyo Within Graphics Communications Laboratories, Inc. (72) Inventor Shigeru Komatsu 4-36-19 Yoyogi, Shibuya-ku, Tokyo Graphics Communications, Inc. Laboratories in the

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】符号化された画像データを含むビットスト
リームを入力して該画像データを復号化する画像復号化
方式において、基準時刻を計測し、該基準時刻に基づい
て各フレームの復号化を開始する時刻を表す復号化開始
時刻情報を前記ビットストリーム中に挿入し、該復号化
開始時刻情報を含むビットストリームを記憶し、記憶さ
れた該ビットストリームを順次に読み出し、該ビットス
トリーム中に含まれる前記復号化開始時刻情報に基づい
て記憶された画像データを含むビットストリームの読み
出しを開始するように制御することを特徴とする画像復
号化方式。
1. An image decoding system for inputting a bit stream containing encoded image data to decode the image data, measuring a reference time, and decoding each frame based on the reference time. Decoding start time information indicating a start time is inserted into the bitstream, a bitstream including the decoding start time information is stored, the stored bitstream is sequentially read, and included in the bitstream. An image decoding system characterized by controlling to start reading a bitstream including image data stored based on the decoding start time information.
【請求項2】画像データを含むビットストリーム中に設
定されたバッファによる遅延を表すバッファ遅延情報、
該ビットストリームの付帯情報である復号化開始時刻情
報および該ビットストリームの付帯情報である表示開始
時刻情報のうちいずれか一つに基づいて前記復号化開始
時刻情報を生成することを特徴とする請求項1記載の画
像復号化方式。
2. Buffer delay information representing a delay due to a buffer set in a bitstream containing image data,
The decoding start time information is generated based on one of decoding start time information that is additional information of the bitstream and display start time information that is additional information of the bitstream. The image decoding method according to item 1.
【請求項3】画像データを含むビットストリーム中に設
定されたバッファによる遅延を表すバッファ遅延情報を
前記復号化開始時刻情報に置換して、該復号化開始時刻
情報をビットストリーム中に挿入することを特徴とする
請求項1乃至2記載の画像復号化方式。
3. Replacing buffer delay information indicating a delay due to a buffer set in a bitstream including image data with the decoding start time information, and inserting the decoding start time information in the bitstream. The image decoding method according to claim 1 or 2, characterized in that:
【請求項4】順次に読み出されたビットストリーム中に
含まれる復号化開始時刻情報が計測された前記基準時刻
と一致した場合には、読み出し開始を表す読出開始信号
を発生することを特徴とする請求項1記載の画像復号化
方式。
4. A read start signal indicating a read start is generated when the decoding start time information contained in the sequentially read bit stream matches the measured reference time. The image decoding method according to claim 1.
【請求項5】符号化された画像データを含むビットスト
リームを入力して該画像データを復号化する画像復号化
装置において、基準時刻を計測する基準時刻計測手段
と、該基準時刻計測手段で計測された基準時刻に基づい
て各フレームの復号化を開始する時刻を表す復号化開始
時刻情報を前記ビットストリーム中に挿入する復号化開
始時刻情報挿入手段と、復号化開始時刻情報を含むビッ
トストリームを記憶するバッファメモリ手段と、該バッ
ファメモリ手段に記憶されたビットストリームを順次に
読み出し、該ビットストリーム中に含まれる前記復号化
開始時刻情報に基づいて該バッファメモリ手段に記憶さ
れた画像データを含むビットストリームの読み出しを開
始するように制御する読出制御手段と、を備えたことを
特徴とする画像復号化装置。
5. An image decoding apparatus for inputting a bit stream containing encoded image data and decoding the image data, wherein a reference time measuring means for measuring a reference time and measurement by the reference time measuring means. Decoding start time information inserting means for inserting decoding start time information indicating the time to start decoding of each frame based on the reference time, into the bit stream, and a bit stream including the decoding start time information. And a buffer memory unit for storing the bit stream stored in the buffer memory unit, and including the image data stored in the buffer memory unit based on the decoding start time information contained in the bit stream. And a read control means for controlling to start reading of the bit stream. Apparatus.
【請求項6】画像データを含むビットストリーム中に設
定されたバッファによる遅延を表すバッファ遅延情報、
該ビットストリームの付帯情報である復号化開始時刻情
報および該ビットストリームの付帯情報である表示開始
時刻情報のうちいずれか一つに基づいて復号化開始時刻
情報を生成する復号化開始時刻情報生成手段を備えたこ
とを特徴とする請求項5記載の画像復号化装置。
6. Buffer delay information representing a delay due to a buffer set in a bitstream containing image data,
Decoding start time information generating means for generating decoding start time information based on one of the decoding start time information which is additional information of the bitstream and the display start time information which is additional information of the bitstream. The image decoding apparatus according to claim 5, further comprising:
【請求項7】画像データを含むビットストリーム中に設
定されたバッファによる遅延を表すバッファ遅延情報を
前記復号化開始時刻情報に置換して、該復号化開始時刻
情報をビットストリーム中に挿入する復号化開始時刻情
報置換手段を備えたことを特徴とする請求項5乃至6記
載の画像復号化装置。
7. Decoding in which buffer delay information indicating a delay due to a buffer set in a bitstream including image data is replaced with the decoding start time information and the decoding start time information is inserted into the bitstream. 7. The image decoding apparatus according to claim 5, further comprising an encoding start time information replacing unit.
【請求項8】前記バッファメモリ手段から読み出された
ビットストリーム中に含まれる復号化開始時刻情報が前
記基準時刻計測手段で計測された基準時刻と一致した場
合には、前記読出制御手段に読み出し開始を表す読出開
始信号を発生する読出開始信号発生手段を備えたことを
特徴とする請求項5記載の画像復号化装置。
8. When the decoding start time information included in the bit stream read from the buffer memory means matches the reference time measured by the reference time measuring means, the read control means reads the information. The image decoding apparatus according to claim 5, further comprising a read start signal generating means for generating a read start signal indicating the start.
【請求項9】前記復号開始時刻情報を16ビット長によ
り表すことを特徴とする請求項1乃至8記載の画像復号
化方式および装置。
9. The image decoding system and apparatus according to claim 1, wherein the decoding start time information is represented by a 16-bit length.
JP24892494A 1994-10-14 1994-10-14 Image decoding method and apparatus Expired - Lifetime JP2894958B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP24892494A JP2894958B2 (en) 1994-10-14 1994-10-14 Image decoding method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP24892494A JP2894958B2 (en) 1994-10-14 1994-10-14 Image decoding method and apparatus

Publications (2)

Publication Number Publication Date
JPH08116532A true JPH08116532A (en) 1996-05-07
JP2894958B2 JP2894958B2 (en) 1999-05-24

Family

ID=17185450

Family Applications (1)

Application Number Title Priority Date Filing Date
JP24892494A Expired - Lifetime JP2894958B2 (en) 1994-10-14 1994-10-14 Image decoding method and apparatus

Country Status (1)

Country Link
JP (1) JP2894958B2 (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001189934A (en) * 1999-07-27 2001-07-10 Sharp Corp Motion estimating method with motion precision having adaptability
US6477204B1 (en) 1997-12-19 2002-11-05 Kabushiki Kaisha Toshiba Video image decoding method and apparatus
US6798839B2 (en) 2000-12-12 2004-09-28 Kabushiki Kaisha Toshiba Image processing device, television receiver and image reproducing device
JP2008245325A (en) * 1997-10-31 2008-10-09 Matsushita Electric Ind Co Ltd Moving image encoding method
JP2009065274A (en) * 2007-09-04 2009-03-26 Sharp Corp Decoder, digital television device, portable telephone with television, digital media player, internet television device, and decoding method
US7602813B2 (en) 2004-06-01 2009-10-13 Sanyo Electric Co., Ltd. Decoder device
WO2018190207A1 (en) * 2017-04-13 2018-10-18 パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカ Encoding device, decoding device, encoding method, and decoding method
US10911770B2 (en) 2017-04-13 2021-02-02 Panasonic Intellectual Property Corporation Of America Encoder, decoder, encoding method, and decoding method for selecting the best candidate motion vector

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008245325A (en) * 1997-10-31 2008-10-09 Matsushita Electric Ind Co Ltd Moving image encoding method
JP4510909B2 (en) * 1997-10-31 2010-07-28 パナソニック株式会社 Video coding method
US6477204B1 (en) 1997-12-19 2002-11-05 Kabushiki Kaisha Toshiba Video image decoding method and apparatus
USRE46468E1 (en) 1999-07-27 2017-07-04 Sharp Kabushiki Kaisha Methods for motion estimation with adaptive motion accuracy
JP2001189934A (en) * 1999-07-27 2001-07-10 Sharp Corp Motion estimating method with motion precision having adaptability
JP4614512B2 (en) * 1999-07-27 2011-01-19 シャープ株式会社 Motion estimation method with adaptive motion accuracy
USRE44012E1 (en) 1999-07-27 2013-02-19 Sharp Kabushiki Kaisha Methods for motion estimation with adaptive motion accuracy
USRE45014E1 (en) 1999-07-27 2014-07-15 Sharp Kabushiki Kaisha Methods for motion estimation with adaptive motion accuracy
US6798839B2 (en) 2000-12-12 2004-09-28 Kabushiki Kaisha Toshiba Image processing device, television receiver and image reproducing device
US7602813B2 (en) 2004-06-01 2009-10-13 Sanyo Electric Co., Ltd. Decoder device
JP2009065274A (en) * 2007-09-04 2009-03-26 Sharp Corp Decoder, digital television device, portable telephone with television, digital media player, internet television device, and decoding method
WO2018190207A1 (en) * 2017-04-13 2018-10-18 パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカ Encoding device, decoding device, encoding method, and decoding method
US10911770B2 (en) 2017-04-13 2021-02-02 Panasonic Intellectual Property Corporation Of America Encoder, decoder, encoding method, and decoding method for selecting the best candidate motion vector
US11425409B2 (en) 2017-04-13 2022-08-23 Panasonic Intellectual Property Corporation Of America Encoder, decoder, encoding method, and decoding method
US11653018B2 (en) 2017-04-13 2023-05-16 Panasonic Intellectual Property Corporation Of America Encoder, decoder, encoding method, and decoding method
US11895316B2 (en) 2017-04-13 2024-02-06 Panasonic Intellectual Property Corporation Of America Encoder, decoder, encoding method, and decoding method

Also Published As

Publication number Publication date
JP2894958B2 (en) 1999-05-24

Similar Documents

Publication Publication Date Title
JP3364281B2 (en) Time-division video and audio signal synchronization
US7027713B1 (en) Method for efficient MPEG-2 transport stream frame re-sequencing
US6337880B1 (en) Indexing for motion video that is compressed using interframe and intraframe techniques
US6219381B1 (en) Image processing apparatus and method for realizing trick play
US5572333A (en) Compressed data recording method using integral logical block size and physical block size ratios
US20090010334A1 (en) Decoding device, decoding method, recording medium, and program
US8131135B2 (en) MPEG picture data recording apparatus, MPEG picture data recording method, MPEG picture data recording medium, MPEG picture data generating apparatus, MPEG picture data reproducing apparatus, and MPEG picture data reproducing method
JP2001285861A (en) Device for encoding picture signal
JPH09187007A (en) Resynchronizing method for data stream including error, encoder and decoder
US6754274B2 (en) Video data recording method and apparatus for high-speed reproduction
JP2894958B2 (en) Image decoding method and apparatus
JP2001204032A (en) Mpeg decoder
KR100975170B1 (en) Image data reproducing device and method
JP2002094384A (en) Device and method for compressing image and audio over long time period
JP3839911B2 (en) Image processing apparatus and image processing method
JP2823806B2 (en) Image decoding device
KR20040010173A (en) Image data reproducing device and method
JPH0795536A (en) Device and method for reversely reproducing moving image
JP3721972B2 (en) MPEG image data recording method
JP3721971B2 (en) MPEG image data recording apparatus and recording medium
US20100166383A1 (en) System and method for providing trick modes
JP2000023096A (en) Data encoding method, decoding method and device
JP2004229323A (en) Mpeg image data recorder
JP2004266846A (en) Mpeg image data recording method
JP2004173117A (en) Device and method for decoding encoded data