JPH0993575A - Image expansion device - Google Patents

Image expansion device

Info

Publication number
JPH0993575A
JPH0993575A JP7250301A JP25030195A JPH0993575A JP H0993575 A JPH0993575 A JP H0993575A JP 7250301 A JP7250301 A JP 7250301A JP 25030195 A JP25030195 A JP 25030195A JP H0993575 A JPH0993575 A JP H0993575A
Authority
JP
Japan
Prior art keywords
time
input
waiting time
data
start time
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP7250301A
Other languages
Japanese (ja)
Inventor
Hayato Nakao
早人 中尾
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 JP7250301A priority Critical patent/JPH0993575A/en
Publication of JPH0993575A publication Critical patent/JPH0993575A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To realize the image expansion device with a simple circuit configuration by extracting a wait time of a succeeding picture from compressed data during a wait time till the expansion of a picture of the compressed image data is started in the image expansion device. SOLUTION: The image expansion device is made up of a vbv delay extract circuit 2 extracting a wait time, a 90kHz up-counter 13 counted up for each 90kHz, an adder 14 adding the wait time and the count and providing an output of a start time, a start time insert circuit 15 inserting the start time to compressed image data, a rate buffer 9 storing the compressed image data, a decode wait circuit 10 awaiting output of the compressed image data till the count value becomes equal to the start time, and a decoder 11 expanding the compressed image data.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、MPEGビデオストリ
ームなどの動画像を圧縮したデータを、各ピクチャ毎に
そのピクチャデータが入力されてから伸長が開始される
までの待ち時間が記述されているデータを伸長する画像
伸長装置に関する。具体的には、あるピクチャの伸長を
開始するまでの待ち時間中に、次のピクチャの待ち時間
を圧縮データから取り出すことを簡単な回路構成で実現
する画像伸長装置を提供するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention describes, for each picture, waiting time from the input of the picture data to the start of decompression of data obtained by compressing a moving picture such as an MPEG video stream. The present invention relates to an image decompression device that decompresses data. More specifically, the present invention provides an image decompression device that realizes, with a simple circuit configuration, taking out the waiting time of the next picture from the compressed data during the waiting time until the decompression of a certain picture is started.

【0002】[0002]

【従来の技術】MPEGビデオストリームは1ピクチャ毎に
ピクチャヘッダと呼ばれるデータを持っている。ピクチ
ャヘッダは32bit定数のピクチャスタートコードを
先頭に持ち、VBV_delayという16bitの符号なし整
数を含んでいる。VBV_delayには、デコーダが画像をデ
コードする前にピクチャスタートコードの最終バイト受
信後待たねばならない時間が、90kHzクロック数と
して示されている。
2. Description of the Related Art An MPEG video stream has data called a picture header for each picture. The picture header has a 32-bit constant picture start code at the head, and includes a 16-bit unsigned integer called VBV_delay. In VBV_delay, the time that the decoder has to wait after receiving the last byte of the picture start code before decoding the image is shown as a 90 kHz clock number.

【0003】MPEGビデオストリームは複数のピクチャか
ら成り、ピクチャの種類によってデータ量が異なる。図
6にMPEGビデオストリームの構成例を示す。図6におい
て、I1およびI16は1画面内で符号化したIピクチ
ャ、P4、P7、P10、P13、P19、P22、P
25およびP28はIピクチャを利用して符号化される
Pピクチャ、B2、B3、B5、B6、B8、B9、B
11、B12、B14、B15、B17、B18、B2
0、B21、B23、B24、B26、B27、B29
およびB30はIピクチャおよびPピクチャを利用して
符号化されるBピクチャである。この例ではIピクチャ
のデータ量はBピクチャのデータ量の約8倍、Pピクチ
ャのデータ量はBピクチャのデータ量の約2倍である。
図7にこのビデオストリームを一定のレートで入力し、
一定時間ごとにデコードして表示する場合のタイミング
図を示す。t1は図6のピクチャI1の入力開始時刻、
T1は図6のピクチャI1のデコード開始時刻である。
同様にt2からt30は図6のピクチャB2からB30
の入力開始時刻、T2からT25は図6のピクチャB2
からB25のデコード開始時刻である。
The MPEG video stream is composed of a plurality of pictures, and the data amount differs depending on the type of picture. FIG. 6 shows a configuration example of an MPEG video stream. In FIG. 6, I1 and I16 are I pictures encoded in one screen, P4, P7, P10, P13, P19, P22, and P.
25 and P28 are P pictures coded using I pictures, B2, B3, B5, B6, B8, B9, and B pictures.
11, B12, B14, B15, B17, B18, B2
0, B21, B23, B24, B26, B27, B29
And B30 are B pictures that are coded using I pictures and P pictures. In this example, the I picture data amount is about 8 times the B picture data amount, and the P picture data amount is about 2 times the B picture data amount.
Input this video stream at a constant rate in Figure 7,
The timing chart at the time of decoding and displaying every fixed time is shown. t1 is the input start time of the picture I1 in FIG.
T1 is the decoding start time of the picture I1 in FIG.
Similarly, t2 to t30 are pictures B2 to B30 in FIG.
Input start time, T2 to T25 are pictures B2 in FIG.
To B25 decoding start time.

【0004】図8にピクチャスタートコード受信後VBV_
delayに示された時間が経過後、デコードを開始する回
路の構成図を示す。図8において、1はビデオストリー
ムの入力端子、2はVBV_delay抽出回路、3〜8は90
kHzダウンカウンタ、9はレートバッファ、10はデ
コードウェイト回路、11はデコーダ、12は画像デー
タの出力端子である。
FIG. 8 shows VBV__ after receiving the picture start code.
The block diagram of the circuit which starts decoding after the time shown by delay passes is shown. In FIG. 8, 1 is a video stream input terminal, 2 is a VBV_delay extraction circuit, and 3 to 8 are 90.
kHz down counter, 9 is a rate buffer, 10 is a decode wait circuit, 11 is a decoder, and 12 is an image data output terminal.

【0005】入力端子1から入力されたビデオストリー
ムは、1ピクチャ毎にVBV_delay抽出回路2によってVBV
_delayが取り出される。ここで、VBV_delayとして10
0が取り出されたとする。取り出されたVBV_delayは9
0kHzダウンカウンタ3から8のうち1個にロードさ
れる。VBV_delayがロードされた90kHzダウンカウ
ンタは90kHz毎に減少し、カウント値はデコードウ
ェイト回路10に送られる。つまり、取り出されたVBV_
delayの100から90kHzクロック毎に、99、9
8、97・・・1、0とカウントダウンして、カウント
値はデコードウェイト回路10に送られる。一方、VBV_
delay抽出回路2を通過したビデオストリームはレート
バッファ9に蓄積される。レートバッファ9に蓄積され
たビデオストリームはデコードウェイト回路10によっ
て読み出される。デコードウェイト回路10は、ピクチ
ャスタートコードの最終バイトを検出後、VBV_delayが
ロードされた90kHzダウンカウンタのカウンタ値が
0になるまで待ち状態となる。カウント値が0になると
ビデオストリームはデコーダ11に送られる。デコーダ
11でデコード処理が行われ、画像データが出力端子1
2より出力される。
The video stream input from the input terminal 1 is VBV_delay extraction circuit 2 for VBV_delay extraction circuit 2.
_delay is taken out. Here, 10 as VBV_delay
Suppose 0 is taken out. The extracted VBV_delay is 9
One of the 0 kHz down counters 3 to 8 is loaded. The 90 kHz down counter loaded with VBV_delay is decremented every 90 kHz, and the count value is sent to the decode wait circuit 10. That is, the retrieved VBV_
99, 9 for every 100 to 90 kHz clock of delay
The count value is counted down to 8, 97 ... 1, 0, and the count value is sent to the decode wait circuit 10. On the other hand, VBV_
The video stream that has passed through the delay extraction circuit 2 is accumulated in the rate buffer 9. The video stream stored in the rate buffer 9 is read by the decode wait circuit 10. After detecting the last byte of the picture start code, the decode wait circuit 10 waits until the counter value of the 90 kHz down counter loaded with VBV_delay becomes 0. When the count value becomes 0, the video stream is sent to the decoder 11. Decoding processing is performed by the decoder 11, and the image data is output to the output terminal 1
2 is output.

【0006】図8において、VBV_delay抽出回路2でVBV
_delayを抽出し、それが90kHzダウンカウンタにロ
ードされ、デコードウェイト回路10がピクチャスター
トコードの最終バイトを検出後、90kHzダウンカウ
ンタのカウンタ値が0になるまでの待ち動作中に、VBV_
delay抽出回路2が次のピクチャのVBV_delayを抽出した
場合、待ち動作中に使用している前記90kHzダウン
カウンタには新たなVBV_delayをロードすることはでき
ないので90kHzダウンカウンタを複数個使用する必
要がある。図8では6個の90kHzダウンカウンタが
使用されている理由を以下で説明する。例えば、ピクチ
ャ11のVBV_delayが抽出され、それが90kHzダウ
ンカウンタにロードされる時刻は図7のt11、90k
Hzダウンカウンタのカウント値が0になってデコード
が開始される時刻はT11である。よって時刻t11か
ら時刻T11の間ピクチャ11のVBV_delayのカウント
に90kHzダウンカウンタが一個使用される。一方、
時刻t11から時刻T11の間にピクチャ12からピク
チャ16のVBV_delayが抽出され、それが別々の90k
Hzダウンカウンタにロードされる。よって時刻t11
から時刻T11の間に6個の90kHzダウンカウンタ
が必要となる。他の区間でも同様で90kHzダウンカ
ウンタが6個以下で待ち時間中のVBV_delayの抽出が可
能であるので、上記の例の場合、90kHzダウンカウ
ンタが6個必要である。
In FIG. 8, the VBV_delay extraction circuit 2 outputs VBV_delay.
_delay is extracted and loaded into the 90 kHz down counter, and after the decode wait circuit 10 detects the last byte of the picture start code, during the waiting operation until the counter value of the 90 kHz down counter becomes 0, VBV_
When the delay extraction circuit 2 extracts the VBV_delay of the next picture, a new VBV_delay cannot be loaded into the 90 kHz down counter used during the waiting operation, so it is necessary to use a plurality of 90 kHz down counters. . The reason why six 90 kHz down counters are used in FIG. 8 will be described below. For example, the VBV_delay of the picture 11 is extracted and loaded into the 90 kHz down counter at t11 and 90 k in FIG.
The time when the count value of the Hz down counter becomes 0 and decoding starts is T11. Therefore, from time t11 to time T11, one 90 kHz down counter is used to count VBV_delay of the picture 11. on the other hand,
From time t11 to time T11, VBV_delay of picture 12 to picture 16 is extracted, and it is separated by 90k.
The Hz down counter is loaded. Therefore, time t11
From 6 to time T11, six 90 kHz down counters are required. Similarly in other sections, VBV_delay can be extracted during the waiting time with six 90 kHz down counters or less. Therefore, in the above example, six 90 kHz down counters are required.

【0007】[0007]

【発明が解決しようとする課題】しかしながら、従来の
画像伸長装置においては、1つのVBV_delayをロードす
ると1つの90kHzダウンカウンタをカウント値が0
になるまで専有してしまうので、待ち時間中に新たなVB
V_delayをロードするためには、複数の90kHzダウ
ンカウンタを用意する必要があるので、回路構成が複雑
になるという問題があった。そこで、本発明は、データ
毎に新たな待ち時間を持たせることにより、カウンタの
数を減らすことを課題としている。
However, in the conventional image decompressor, when one VBV_delay is loaded, the count value of one 90 kHz down counter becomes 0.
I will monopolize until I become a new VB during the waiting time
Since it is necessary to prepare a plurality of 90 kHz down counters to load V_delay, there is a problem that the circuit configuration becomes complicated. Therefore, an object of the present invention is to reduce the number of counters by providing a new waiting time for each data.

【0008】[0008]

【課題を解決するための手段】本発明は、上記課題を解
決するため、請求項1記載の発明は、動画像が圧縮され
た画像データを含み、該画像データを入力してから伸長
を開始するまでの待ち時間を含むビットストリームを入
力し、該待ち時間経過後に該圧縮された画像データを伸
長する画像伸長装置において、前記ビットストリームに
記述されている待ち時間を抽出する待ち時間抽出手段
と、前記待ち時間を表わす時間単位によって決定される
所定の時間毎にカウント値を増加させるカウンタと、前
記待ち時間抽出手段により抽出された待ち時間と、前記
カウンタから入力される現カウント値とを加算し、加算
された値を前記画像データの伸長を開始するデコードス
タートタイムとする加算手段と、該加算手段からデコー
ドスタートタイムを入力し、前記待ち時間抽出手段から
圧縮データを入力し、該入力された圧縮データに前記デ
コードスタートタイムを挿入するデコードスタートタイ
ム挿入手段と、該デコードスタートタイム挿入手段から
該デコードスタートタイムを挿入された圧縮データを入
力し、格納するメモリと、該メモリから該デコードスタ
ートタイムを挿入した圧縮データと、前記カウンタから
現カウント値を入力し、該圧縮データに挿入されている
該デコードスタートタイムと該現カウント値が等しくな
ったとき該圧縮データを出力するデコードウェイト手段
と、該デコードウェイト手段から該圧縮データが入力さ
れたとき前記圧縮された画像データを伸長するデコーダ
と、を備えたことを特徴とする。
In order to solve the above-mentioned problems, the present invention provides a moving image including compressed image data, and starts decompression after inputting the image data. And a wait time extraction means for extracting a wait time described in the bit stream in an image decompression device that inputs a bit stream including a wait time until the waiting time elapses and decompresses the compressed image data after the elapse of the wait time. , A counter that increments the count value at every predetermined time determined by a time unit representing the waiting time, the waiting time extracted by the waiting time extraction means, and the current count value input from the counter Then, adding means for using the added value as a decoding start time for starting the expansion of the image data, and a decoding start time from the adding means Inputting the compressed data from the waiting time extracting means, inserting the decoding start time into the input compressed data, and inserting the decoding start time from the decoding start time inserting means. The memory for inputting and storing the compressed data, the compressed data into which the decoding start time is inserted from the memory, the current count value from the counter, and the decoding start time and the decoding start time inserted in the compressed data. Decoding weight means for outputting the compressed data when the current count values become equal, and a decoder for decompressing the compressed image data when the compressed data is input from the decoding weight means are provided. And

【0009】請求項2記載の発明は、請求項1記載の画
像伸長装置において、前記待ち時間抽出手段が、前記待
ち時間を抽出するとともに、ビットストリームの1ピク
チャデータの先頭にあるピクチャスタートコードを入力
し、前記デコードスタートタイム挿入手段が、該ピクチ
ャスタートコードを入力したとき、該ピクチャスタート
コードの直後に前記デコードスタートタイムを挿入させ
ることを特徴とする。
According to a second aspect of the present invention, in the image decompressing apparatus according to the first aspect, the waiting time extraction means extracts the waiting time and a picture start code at the beginning of one picture data of a bitstream is set. When the picture start code is input and the decoding start time inserting means inputs the picture start code, the decoding start time is inserted immediately after the picture start code.

【0010】請求項3記載の発明は、動画像が圧縮され
た画像データを含み、該画像データを入力してから伸長
を開始するまでの待ち時間を含むビットストリームを入
力し、該待ち時間経過後に該圧縮された画像データを伸
長する画像伸長装置において、前記ビットストリームに
記述されている待ち時間を抽出する待ち時間抽出手段
と、前記待ち時間を表わす時間単位によって決定される
所定の時間毎にカウント値を増加させるカウンタと、前
記待ち時間抽出手段により抽出された待ち時間と、前記
カウンタから入力される現カウンタ値とを加算し、加算
された値を前記画像データの伸長を開始するデコードス
タートタイムとする加算手段と、該加算手段からデコー
ドスタートタイムを入力し、前記待ち時間抽出手段から
圧縮データを入力し、該入力された圧縮データの伸長開
始までの待ち時間が記述されたデータを前記デコードス
タートタイムと置き換えるデコードスタートタイム置換
手段と、該デコードスタートタイム置換手段から前記待
ち時間が該デコードスタートタイムに置換された圧縮デ
ータを入力し、格納するメモリと、該メモリから該デコ
ードスタートタイムが記述された圧縮データと、前記カ
ウンタから現カウント値を入力し、該圧縮データに記述
されている該デコードスタートタイムと該現カウント値
が等しくなったとき該圧縮データを出力するデコードウ
ェイト手段と、該デコードウェイト手段から該圧縮デー
タが入力されたとき前記圧縮された画像データを伸長す
るデコーダと、を備えたことを特徴とする。
According to a third aspect of the present invention, a bit stream including image data in which a moving image is compressed and a waiting time from the input of the image data to the start of decompression is input, and the waiting time elapses. In an image decompressing device for decompressing the compressed image data later, a waiting time extracting means for extracting a waiting time described in the bit stream, and a predetermined time determined by a time unit representing the waiting time. A counter for increasing the count value, the waiting time extracted by the waiting time extraction means, and the current counter value input from the counter are added, and the added value is started to start decoding of the image data. The addition means for setting the time, the decoding start time from the addition means, and the compressed data from the waiting time extraction means are input. Decoding start time replacing means for replacing the data describing the waiting time until the decompression start of the input compressed data with the decoding start time, and the waiting time is replaced with the decoding start time from the decoding start time replacing means. The memory for inputting and storing the compressed data, the compressed data in which the decode start time is described from the memory, and the current count value from the counter, and the decode start time described in the compressed data. Decoding weight means for outputting the compressed data when the current count values become equal, and a decoder for decompressing the compressed image data when the compressed data is input from the decoding weight means are provided. Characterize.

【0011】請求項4記載の発明は、請求項3記載の画
像伸長装置において、前記待ち時間抽出手段が、前記待
ち時間を抽出するとともに、ビットストリームの1ピク
チャデータの先頭にあるピクチャスタートコードを入力
し、前記デコードスタートタイム置換手段が、該ピクチ
ャスタートコードを入力したとき、該ピクチャスタート
コードから固定長離れた位置にある待ち時間をデコード
スタートタイムに置換させることを特徴とする。
According to a fourth aspect of the present invention, in the image decompressing apparatus according to the third aspect, the waiting time extracting means extracts the waiting time and a picture start code at the beginning of one picture data of a bit stream is set. When the picture start code is input and the picture start code is input, the decoding start time is replaced with a wait time at a position separated by a fixed length from the picture start code.

【0012】請求項5記載の発明は、動画像が圧縮され
た画像データを含み、該画像データを入力してから伸長
を開始するまでの待ち時間を含むビットストリームを入
力し、該待ち時間経過後に該圧縮された画像データを伸
長する画像伸長装置において、前記ビットストリームに
記述されている待ち時間を抽出する待ち時間抽出手段
と、前記待ち時間を表わす時間単位によって決定される
所定の時間毎にカウント値を増加させるカウンタと、前
記待ち時間抽出手段により抽出された待ち時間と、前記
カウンタから入力される現カウント値とを加算し、加算
された値を前記画像データの伸長を開始するデコードス
タートタイムとする加算手段と、該加算手段からデコー
ドスタートタイムを入力保持し、該デコードスタートタ
イムを入力順に出力するFIFOメモリと、前記待ち時
間抽出手段から前記圧縮データを入力し、格納するメモ
リと、該メモリから該圧縮データを入力し、該FIFO
メモリから入力されるデコードスタートタイムと該カウ
ンタから入力される現カウント値が等しくなったとき該
圧縮データを出力するデコードウェイト手段と、該デコ
ードウェイト手段から該圧縮データが入力されたとき前
記圧縮された画像データを伸長するデコーダと、を備え
たことを特徴とする。
According to a fifth aspect of the present invention, a moving image includes compressed image data, and a bit stream including a waiting time from the input of the image data to the start of decompression is input, and the waiting time elapses. In an image decompressing device for decompressing the compressed image data later, a waiting time extracting means for extracting a waiting time described in the bit stream, and a predetermined time determined by a time unit representing the waiting time. A counter for increasing the count value, the waiting time extracted by the waiting time extraction means, and the current count value input from the counter are added, and the added value is started for decoding to start the expansion of the image data. Addition means for setting the time and the decoding start time from the addition means are input and held, and the decoding start time is output in the input order. That a FIFO memory, and input the compressed data from said waiting time extracting means receives a memory for storing, the compressed data from said memory, said FIFO
Decode wait means for outputting the compressed data when the decode start time input from the memory is equal to the current count value input from the counter, and the compressed data when the compressed data is input from the decode wait means. And a decoder for expanding the image data.

【0013】[0013]

【発明の実施の形態】請求項1記載の画像伸長装置で
は、動画像が圧縮された画像データを含み、該画像デー
タを入力してから伸長を開始するまでの待ち時間を含む
ビットストリームを入力し、該待ち時間経過後に該圧縮
された画像データを伸長する画像伸長装置において、前
記ビットストリームに記述されている待ち時間を抽出す
る待ち時間抽出手段2により待ち時間を抽出し、前記待
ち時間を表わす時間単位によって決定される所定の時間
毎にカウント値を増加させるカウンタ13によりカウン
トをとり、前記待ち時間抽出手段2により抽出された待
ち時間と前記カウンタ13から入力される現カウント値
とを加算し、加算された値である前記画像データの伸長
を開始するデコードスタートタイムを加算手段14によ
り求め、該加算手段14からデコードスタートタイムを
入力し、前記待ち時間抽出手段2から圧縮データを入力
し、該入力された圧縮データに前記デコードスタートタ
イムをデコードスタートタイム挿入手段15により挿入
し、該デコードスタートタイム挿入手段15から該デコ
ードスタートタイムを挿入された圧縮データを入力し、
メモリ9に格納し、該メモリ9から該デコードスタート
タイムを挿入した圧縮データと、前記カウンタ13から
現カウント値を入力し、該圧縮データに挿入されている
該デコードスタートタイムと該現カウント値が等しくな
ったとき該圧縮データをデコードウェイト手段10から
出力し、該デコードウェイト手段10から該圧縮データ
が入力されたとき前記圧縮された画像データをデコーダ
11により伸長する。
According to the image decompressing device of the present invention, a moving image includes a compressed image data, and a bit stream including a waiting time from the input of the image data to the start of decompression is input. Then, in the image decompression device that decompresses the compressed image data after the waiting time has elapsed, the waiting time is extracted by the waiting time extraction means 2 that extracts the waiting time described in the bit stream, and the waiting time is calculated. The counter 13 that increments the count value every predetermined time determined by the unit of time to be counted is counted, and the waiting time extracted by the waiting time extraction means 2 and the current count value input from the counter 13 are added. Then, the decoding start time for starting the expansion of the image data, which is the added value, is obtained by the adding means 14, and the adding means is added. 4, the decode start time is inputted, the compressed data is inputted from the waiting time extracting means 2, the decode start time is inserted into the inputted compressed data by the decode start time inserting means 15, and the decode start time inserting means is inputted. Input the compressed data with the decoding start time inserted from 15,
Compressed data stored in the memory 9 and having the decoding start time inserted from the memory 9 and the current count value from the counter 13 are input, and the decoding start time and the current count value inserted into the compressed data are When they become equal, the compressed data is output from the decode weight means 10, and when the compressed data is input from the decode weight means 10, the compressed image data is expanded by the decoder 11.

【0014】請求項2記載の画像伸長装置では、請求項
1記載の画像伸長装置において、前記待ち時間抽出手段
2が、前記待ち時間を抽出するとともに、ビットストリ
ームの1ピクチャデータの先頭にあるピクチャスタート
コードを入力し、前記デコードスタートタイム挿入手段
15が、該ピクチャスタートコードを入力したとき、該
ピクチャスタートコードの直後に前記デコードスタート
タイムを挿入させる。
According to a second aspect of the present invention, there is provided the image decompression apparatus according to the first aspect, wherein the waiting time extracting means 2 extracts the waiting time and a picture at the head of one picture data of a bit stream. When a start code is input and the decoding start time inserting means 15 inputs the picture start code, the decoding start time is inserted immediately after the picture start code.

【0015】請求項3記載の画像伸長装置では、動画像
が圧縮された画像データを含み、該画像データを入力し
てから伸長を開始するまでの待ち時間を含むビットスト
リームを入力し、該待ち時間経過後に該圧縮された画像
データを伸長する画像伸長装置において、前記ビットス
トリームに記述されている待ち時間を待ち時間抽出手段
2により抽出し、前記待ち時間を表わす時間単位によっ
て決定される所定の時間毎にカウント値を増加させるカ
ウンタ13によりカウントし、前記待ち時間抽出手段2
により抽出された待ち時間と、前記カウンタ13から入
力される現カウンタ値とを加算し、加算された値である
前記画像データの伸長を開始するデコードスタートタイ
ムを加算手段14により求め、該加算手段14からデコ
ードスタートタイムを入力し、前記待ち時間抽出手段2
から圧縮データを入力し、該入力された圧縮データの伸
長開始までの待ち時間が記述されたデータをデコードス
タートタイム置換手段20により前記デコードスタート
タイムと置き換え、該デコードスタートタイム置換手段
20から前記待ち時間が該デコードスタートタイムに置
換された圧縮データをメモリ9に入力し、格納して、該
メモリ9から該デコードスタートタイムが記述された圧
縮データと、前記カウンタ13から現カウント値を入力
し、該圧縮データに記述されている該デコードスタート
タイムと該現カウント値が等しくなったとき該圧縮デー
タをデコードウェイト手段10により出力し、該デコー
ドウェイト手段10から該圧縮データが入力されたとき
前記圧縮された画像データをデコーダ11により伸長す
る。
According to another aspect of the image decompressing apparatus of the present invention, a moving image includes compressed image data, and a bit stream including a waiting time from the input of the image data to the start of decompression is input and the waiting is performed. In the image decompression device that decompresses the compressed image data after the passage of time, the waiting time described in the bit stream is extracted by the waiting time extraction means 2, and the predetermined time is determined by the time unit representing the waiting time. The waiting time extracting means 2 counts by the counter 13 which increases the count value every time.
The waiting time extracted by the above is added to the current counter value input from the counter 13, the decoding start time for starting the expansion of the added image data, which is the added value, is obtained by the adding means 14, and the adding means is added. The decode start time is input from 14 and the waiting time extraction means 2
The compressed start time replacing means 20 replaces the data describing the waiting time until the start of decompression of the input compressed data with the decoding start time replacing means 20, and the decoding start time replacing means 20 waits for the waiting time. The compressed data whose time is replaced by the decode start time is input to and stored in the memory 9, and the compressed data in which the decode start time is described and the current count value from the counter 13 are input from the memory 9. When the decode start time described in the compressed data and the current count value become equal, the compressed data is output by the decode weight means 10, and when the compressed data is input from the decode weight means 10, the compression is performed. The decoded image data is expanded by the decoder 11.

【0016】請求項4記載の画像伸長装置では、請求項
3記載の画像伸長装置において、前記待ち時間抽出手段
2が、前記待ち時間を抽出するとともに、ビットストリ
ームの1ピクチャデータの先頭にあるピクチャスタート
コードを入力し、前記デコードスタートタイム置換手段
20が、該ピクチャスタートコードを入力したとき、該
ピクチャスタートコードから固定長離れた位置にある待
ち時間をデコードスタートタイムに置換させる。
According to a fourth aspect of the present invention, there is provided the image decompression apparatus according to the third aspect, wherein the waiting time extraction means 2 extracts the waiting time and the picture at the head of one picture data of the bit stream. When a start code is input and the decode start time replacing means 20 inputs the picture start code, the decode start time is replaced with the waiting time at a position separated by a fixed length from the picture start code.

【0017】請求項5記載の画像伸長装置では、動画像
が圧縮された画像データを含み、該画像データを入力し
てから伸長を開始するまでの待ち時間を含むビットスト
リームを入力し、該待ち時間経過後に該圧縮された画像
データを伸長する画像伸長装置において、前記ビットス
トリームに記述されている待ち時間を待ち時間抽出手段
2により抽出し、前記待ち時間を表わす時間単位によっ
て決定される所定の時間毎にカウント値を増加させるカ
ウンタ13によりカウントし、前記待ち時間抽出手段2
により抽出された待ち時間と、前記カウンタ13から入
力される現カウント値とを加算し、加算された値である
前記画像データの伸長を開始するデコードスタートタイ
ムを加算手段14により求め、該加算手段14からデコ
ードスタートタイムを入力保持し、該デコードスタート
タイムを入力順にFIFOメモリ26により出力し、前
記待ち時間抽出手段2から前記圧縮データをメモリ9に
より入力し、格納して、該メモリ9から該圧縮データを
入力し、該FIFOメモリ26から入力されるデコード
スタートタイムと該カウンタ13から入力される現カウ
ント値が等しくなったとき該圧縮データをデコードウェ
イト手段10により出力し、該デコードウェイト手段1
0から該圧縮データが入力されたとき前記圧縮された画
像データをデコーダ11により伸長する。
According to a fifth aspect of the present invention, in the image decompressing device, a moving image includes compressed image data, and a bit stream including a waiting time from the input of the image data to the start of decompression is input, and the waiting is performed. In the image decompression device that decompresses the compressed image data after the passage of time, the waiting time described in the bit stream is extracted by the waiting time extraction means 2, and the predetermined time is determined by the time unit representing the waiting time. The waiting time extracting means 2 counts by the counter 13 which increases the count value every time.
The waiting time extracted by the above is added to the current count value input from the counter 13, and the decoding start time for starting the expansion of the added image data, which is the added value, is obtained by the adding means 14, and the adding means is added. 14, the decode start time is input and held, the decode start time is output by the FIFO memory 26 in the order of input, the compressed data is input by the memory 9 from the waiting time extraction means 2, stored, and stored from the memory 9. When the compressed data is input and the decode start time input from the FIFO memory 26 and the current count value input from the counter 13 become equal, the compressed data is output by the decode wait means 10 and the decode wait means 1
When the compressed data is input from 0, the compressed image data is expanded by the decoder 11.

【0018】[0018]

【実施例】以下、本発明に係る実施例を図1〜図5に示
す図面にしたがって説明する。図1〜図2は、本発明の
第1の実施例を示す図である。図1に示すように、画像
伸長装置は、ビデオストリーム入力端子1、VBV_delay
抽出回路2、90kHzアップカウンタ13、加算器1
4、デコードスタートタイム挿入回路15、レートバッ
ファ9、デコードウェイト回路10、デコーダ11、画
像データ出力端子12からなる。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment according to the present invention will be described below with reference to the drawings shown in FIGS. 1 and 2 are diagrams showing a first embodiment of the present invention. As shown in FIG. 1, the image decompression device has a video stream input terminal 1, VBV_delay
Extraction circuit 2, 90 kHz up counter 13, adder 1
4, a decode start time insertion circuit 15, a rate buffer 9, a decode wait circuit 10, a decoder 11, and an image data output terminal 12.

【0019】ビデオストリーム入力端子1から入力され
たビデオストリームは、1ピクチャ毎にVBV_delay抽出
回路2によってVBV_delayが取り出される。ここで、VBV
_delayとして100が取り出されたとする。90kHz
アップカウンタ13において、VBV_delayが取り出され
たときにおけるカウント値を初期カウント値とし加算器
に出力するとともに、初期カウント値および初期カウン
ト値から90kHz毎に増加されるカウント値はデコー
ドウェイト回路10に送られる。ここで、VBV_delay抽
出回路2においてVBV_delayとして100が取り出され
たとき、90kHzアップカウンタ13のカウント値は
1000であるとする。この1000を初期カウント値
とし加算器に出力し、初期カウント値1000および以
降90kHz毎に増加されたカウント値1001、10
02・・・1100はデコードウェイト回路10に送ら
れる。加算器14では90kHzアップカウンタ13お
よびVBV_delay抽出回路2においてそれぞれ出力された
初期カウント値およびVBV_delayを加算して、加算値を
デコードスタートタイムとしてデコードスタートタイム
挿入回路15に出力する。つまり、初期カウント値10
00とVBV_delay100との加算値1100がデコード
スタートタイムとなる。デコードスタートタイム挿入回
路15はVBV_delay抽出回路2から入力されたビデオス
トリームのピクチャスタートコードの直後に加算器14
から出力されたデコードスタートタイムを挿入し、デコ
ードスタートタイムを挿入したビデオストリームを出力
する。図2にデコードスタートタイム挿入回路の動作を
説明するためのビデオストリーム構成図が示されてい
る。図2において16はピクチャスタートコード以前の
ビデオストリーム、17はピクチャスタートコード、1
8はピクチャスタートコード以降のビデオストリーム、
19はデコードスタートタイム挿入回路15によって挿
入されたデコードスタートタイムを表している。デコー
ドスタートタイム19はピクチャスタートコード17と
ピクチャスタートコード以降のビデオストリーム18の
間に挿入されることがわかる。デコードスタートタイム
挿入回路15は入力されたビデオストリーム中でピクチ
ャスタートコード17を見つけるとピクチャスタートコ
ード17の直後にデコードスタートタイム19を挿入し
て出力する。前記デコードスタートタイムを挿入したビ
デオストリームはレートバッファ9に蓄積され、レート
バッファ9に蓄積されたビデオストリームはデコードウ
ェイト回路10によって読み出される。デコードウェイ
ト回路10は、レートバッファ9に蓄積されたビデオス
トリームを読み出しピクチャスタートコードの最終バイ
トを検出後、90kHzアップカウンタ13のカウント
値がビデオストリームから読み出したデコードスタート
タイムと等しくなるまでビデオストリームの出力待ち状
態となる。つまり、初期カウント値1000がデコード
スタートタイム1100になるまで待ち状態となる。9
0kHzアップカウンタ13のカウント値がビデオスト
リームから読み出したデコードスタートタイムと等しく
なるときビデオストリームはデコーダ11に送られ、デ
コーダ11はデコード処理を行ない、画像データが出力
端子12より出力される。
The VBV_delay extracting circuit 2 extracts VBV_delay from the video stream input from the video stream input terminal 1. Where VBV
It is assumed that 100 is taken out as _delay. 90 kHz
In the up counter 13, the count value when VBV_delay is taken out is output to the adder as the initial count value, and the initial count value and the count value that is incremented by 90 kHz from the initial count value are sent to the decode wait circuit 10. . Here, when 100 is extracted as VBV_delay in the VBV_delay extraction circuit 2, it is assumed that the count value of the 90 kHz up counter 13 is 1000. This 1000 is output to the adder as the initial count value, and the initial count value 1000 and the count values 1001 and 10 that are increased every 90 kHz thereafter.
02 ... 1100 are sent to the decode wait circuit 10. The adder 14 adds the initial count value and VBV_delay output from the 90 kHz up counter 13 and the VBV_delay extraction circuit 2, respectively, and outputs the added value to the decode start time insertion circuit 15 as the decode start time. That is, the initial count value 10
00 and VBV_delay100 add value 1100 is the decoding start time. The decode start time insertion circuit 15 adds the adder 14 immediately after the picture start code of the video stream input from the VBV_delay extraction circuit 2.
The decoding start time output from is inserted, and the video stream with the decoding start time inserted is output. FIG. 2 shows a video stream configuration diagram for explaining the operation of the decode start time insertion circuit. In FIG. 2, 16 is a video stream before the picture start code, 17 is a picture start code, 1
8 is the video stream after the picture start code,
Reference numeral 19 represents the decode start time inserted by the decode start time inserting circuit 15. It can be seen that the decode start time 19 is inserted between the picture start code 17 and the video stream 18 after the picture start code. When the decoding start time insertion circuit 15 finds the picture start code 17 in the input video stream, it inserts the decoding start time 19 immediately after the picture start code 17 and outputs it. The video stream in which the decoding start time is inserted is accumulated in the rate buffer 9, and the video stream accumulated in the rate buffer 9 is read by the decode wait circuit 10. The decode wait circuit 10 reads the video stream accumulated in the rate buffer 9, detects the last byte of the picture start code, and then detects the end of the video stream until the count value of the 90 kHz up counter 13 becomes equal to the decode start time read from the video stream. Waiting for output. That is, the process waits until the initial count value 1000 reaches the decode start time 1100. 9
When the count value of the 0 kHz up counter 13 becomes equal to the decoding start time read from the video stream, the video stream is sent to the decoder 11, the decoder 11 performs the decoding process, and the image data is output from the output terminal 12.

【0020】図3〜図4は、本発明の第2の実施例を示
す図である。本実施例においては、第1の実施例のデコ
ードスタートタイム挿入回路15の代わりにデコードス
タートタイム置換回路20が用いられている。ビデオス
トリーム入力端子1から入力されたビデオストリーム
は、1ピクチャ毎にVBV_delay抽出回路2によってVBV_d
elayが取り出される。ここで、VBV_delayとして100
が取り出されたとする。90kHzアップカウンタ13
において、VBV_delayが取り出されたときにおけるカウ
ント値を初期カウント値とし加算器に出力するととも
に、初期カウント値および初期カウント値から90kH
z毎に増加されるカウント値はデコードウェイト回路1
0に送られる。ここで、VBV_delay抽出回路2においてV
BV_delayとして100が取り出されたとき、90kHz
アップカウンタ13のカウント値は1000であるとす
る。この1000を初期カウント値とし加算器に出力
し、初期カウント値1000および以降90kHz毎に
増加されるカウント値1001、1002・・・110
0はデコードウェイト回路10に送られる。加算器14
では90kHzアップカウンタ13およびVBV_delay抽
出回路2においてそれぞれ出力された初期カウント値お
よびVBV_delayを加算して、加算値をデコードスタート
タイムとしてデコードスタートタイム置換回路20に出
力する。つまり、初期カウント値1000とVBV_delay
100との加算値1100がデコードスタートタイムと
なる。デコードスタートタイム置換回路20はVBV_dela
yをデコードスタートタイムと置き換え出力する。図4
にデコードスタートタイム置換回路の動作を説明するた
めのビデオストリーム構成図が示されている。図4にお
いて16はピクチャスタートコード以前のビデオストリ
ーム、17はピクチャスタートコード、23はピクチャ
スタートコードとVBV_delayの間のビデオストリーム、
24はVBV_delay、25はVBV_delay以降のビデオストリ
ーム、19はデコードスタートタイム置換回路20によ
ってVBV_delayから置換されたデコードスタートタイム
を表している。デコードスタートタイム置換回路は、入
力するビットストリーム中のピクチャスタートコード1
7を見つけると、ピクチャスタートコード17と各ピク
チャの圧縮画像データに記述されているVBV_delay24
との間のビットストリームが固定長であることを利用し
てVBV_delay24を見つけ、VBV_delay24をデコードス
タートタイム19に置換する。前記VBV_delayをデコー
ドスタートタイムで置換したビデオストリームはレート
バッファ9に蓄積され、レートバッファ9に蓄積された
ビデオストリームはデコードウェイト回路10によって
読み出される。デコードウェイト回路10は、レートバ
ッファ9に蓄積されたビデオストリームを読み出しピク
チャスタートコードの最終バイトを検出後、90kHz
アップカウンタ13のカウント値がビデオストリームか
ら読み出したデコードスタートタイムと等しくなるまで
ビデオストリームの出力待ち状態となる。つまり、初期
カウント値1000がデコードスタートタイム1100
になるまで待ち状態となる。90kHzアップカウンタ
13のカウント値がビデオストリームから読み出したデ
コードスタートタイムと等しくなるときビデオストリー
ムはデコーダ11に送られ、デコーダ11はデコード処
理を行ない、画像データが出力端子12より出力され
る。
3 to 4 are diagrams showing a second embodiment of the present invention. In this embodiment, a decode start time replacing circuit 20 is used instead of the decode start time inserting circuit 15 of the first embodiment. The video stream input from the video stream input terminal 1 is VBV_dlay extracted by the VBV_delay extraction circuit 2 for each picture.
The elay is taken out. Here, 100 as VBV_delay
Is taken out. 90kHz up counter 13
At, the count value when VBV_delay is taken out is output to the adder as the initial count value, and the initial count value and 90 kH from the initial count value.
The count value incremented for each z is the decode wait circuit 1
Sent to 0. Here, in the VBV_delay extraction circuit 2, V
90 kHz when 100 is taken out as BV_delay
It is assumed that the count value of the up counter 13 is 1000. This 1000 is output to the adder as the initial count value, and the initial count value 1000 and count values 1001, 1002, ...
0 is sent to the decode wait circuit 10. Adder 14
Then, the initial count value and VBV_delay output from the 90 kHz up counter 13 and the VBV_delay extraction circuit 2 are added, and the added value is output to the decode start time replacement circuit 20 as the decode start time. That is, the initial count value of 1000 and VBV_delay
The decoding start time is the addition value 1100 with 100. Decode start time replacement circuit 20 is VBV_dela
Replace y with the decode start time and output. FIG.
A video stream configuration diagram for explaining the operation of the decode start time replacement circuit is shown in FIG. In FIG. 4, 16 is a video stream before the picture start code, 17 is a picture start code, 23 is a video stream between the picture start code and VBV_delay,
Reference numeral 24 represents VBV_delay, 25 is a video stream after VBV_delay, and 19 is a decode start time replaced from VBV_delay by the decode start time replacement circuit 20. The decode start time replacement circuit uses the picture start code 1 in the input bit stream.
When 7 is found, the picture start code 17 and VBV_delay 24 described in the compressed image data of each picture
The VBV_delay 24 is found by utilizing the fact that the bit stream between and has a fixed length, and the VBV_delay 24 is replaced with the decode start time 19. The video stream in which VBV_delay is replaced with the decoding start time is stored in the rate buffer 9, and the video stream stored in the rate buffer 9 is read by the decode wait circuit 10. The decode wait circuit 10 reads the video stream accumulated in the rate buffer 9, detects the last byte of the picture start code, and then outputs 90 kHz.
Until the count value of the up counter 13 becomes equal to the decode start time read from the video stream, the video stream output wait state is set. That is, the initial count value 1000 is the decode start time 1100.
It will be in a waiting state until. When the count value of the 90 kHz up counter 13 becomes equal to the decoding start time read from the video stream, the video stream is sent to the decoder 11, the decoder 11 performs the decoding process, and the image data is output from the output terminal 12.

【0021】図5は、本発明の第3の実施例を示す図で
ある。本実施例においては、第2の実施例のデコードス
タートタイム置換回路20が省かれ、加算器14とデコ
ードウェイト回路10との間にFIFOメモリが加えら
れている。ビデオストリーム入力端子1から入力された
ビデオストリームは、1ピクチャ毎にVBV_delay抽出回
路2によってVBV_delayが取り出される。ここで、VBV_d
elayとして100が取り出されたとする。90kHzア
ップカウンタ13において、VBV_delayが取り出された
ときにおけるカウント値を初期カウント値とし加算器1
4に出力するとともに、初期カウント値および初期カウ
ント値から90kHz毎に増加されたカウント値はデコ
ードウェイト回路10に送られる。ここで、VBV_delay
抽出回路2においてVBV_delayとして100が取り出さ
れたとき、90kHzアップカウンタ13のカウント値
は1000であるとする。この1000を初期カウント
値とし加算器14に出力し、初期カウント値1000お
よび以降90kHz毎に増加されたカウント値100
1、1002・・・1100はデコードウェイト回路1
0に送られる。加算器14では90kHzアップカウン
タ13およびVBV_delay抽出回路2においてそれぞれ出
力された初期カウント値およびVBV_delayを加算して、
加算値をデコードスタートタイムとしてFIFOメモリ
26に出力する。つまり、初期カウント値1000とVB
V_delay100との加算値1100がデコードスタート
タイムとなり、出力される。FIFOメモリ26ではデ
コードスタートタイムが蓄積され、入力順にデコードウ
ェイト回路10によって読み出される。デコードウェイ
ト回路10はピクチャスタートコードの最終バイトを検
出後、90kHzアップカウンタ13のカウント値がF
IFOメモリ26から読み出したデコードスタートタイ
ムと等しくなるまで入力されたビデオストリームは、出
力待ち状態とする。90kHzアップカウンタ13のカ
ウント値がデコードスタートタイムと等しいときビデオ
ストリームはデコーダ11へ出力される。以降デコード
ウェイト回路10は次のピクチャのデコードスタートタ
イムをFIFOメモリ26から読み出し同様に90kH
zアップカウンタ13のカウント値がデコードスタート
タイムと等しくなるまで待ち状態となる。デコーダ11
はデコードウェイト回路10から入力されたビデオスト
リームのデコード処理を行ない、画像データが出力端子
12より出力される。
FIG. 5 is a diagram showing a third embodiment of the present invention. In this embodiment, the decode start time replacement circuit 20 of the second embodiment is omitted, and a FIFO memory is added between the adder 14 and the decode wait circuit 10. The VBV_delay extraction circuit 2 extracts VBV_delay from the video stream input from the video stream input terminal 1. Where VBV_d
It is assumed that 100 is taken out as elay. In the 90 kHz up counter 13, the adder 1 sets the count value when VBV_delay is taken as the initial count value.
4 and the initial count value and the count value increased every 90 kHz from the initial count value are sent to the decode wait circuit 10. Where VBV_delay
When 100 is extracted as VBV_delay in the extraction circuit 2, it is assumed that the count value of the 90 kHz up counter 13 is 1000. This 1000 is output to the adder 14 as the initial count value, and the initial count value 1000 and the count value 100 increased every 90 kHz thereafter.
1, 1002 ... 1100 are decode wait circuits 1
Sent to 0. The adder 14 adds the initial count value and VBV_delay output from the 90 kHz up counter 13 and the VBV_delay extraction circuit 2, respectively,
The added value is output to the FIFO memory 26 as the decoding start time. That is, the initial count value of 1000 and VB
The value 1100 added to V_delay100 becomes the decoding start time and is output. The decode start time is accumulated in the FIFO memory 26 and read by the decode wait circuit 10 in the order of input. After the decode wait circuit 10 detects the last byte of the picture start code, the count value of the 90 kHz up counter 13 becomes F.
The video stream input until the decoding start time read from the IFO memory 26 becomes equal to the decoding start time is put in an output standby state. When the count value of the 90 kHz up counter 13 is equal to the decode start time, the video stream is output to the decoder 11. Thereafter, the decode wait circuit 10 reads the decode start time of the next picture from the FIFO memory 26 and similarly 90 kH.
It waits until the count value of the z-up counter 13 becomes equal to the decoding start time. Decoder 11
Decodes the video stream input from the decode wait circuit 10, and the image data is output from the output terminal 12.

【0022】前記ビデオストリームはレートバッファ9
に蓄積され、レートバッファ9に蓄積されたビデオスト
リームはデコードウェイト回路10によって読み出され
る。デコードウェイト回路10は、レートバッファ9に
蓄積されたビデオストリームを読み出しピクチャスター
トコードの最終バイトを検出後、90kHzアップカウ
ンタ13のカウント値がFIFOメモリ26から読み出
したデコードスタートタイムと等しくなるまでビデオス
トリームの出力待ち状態となる。つまり、初期カウント
値1000がデコードスタートタイム1100になるま
で待ち状態となる。90kHzアップカウンタ13のカ
ウント値がFIFOメモリ26から読み出したデコード
スタートタイムと等しくなるときビデオストリームはデ
コーダ11に送られ、デコーダ11はデコード処理を行
ない、画像データが出力端子12より出力される。
The video stream is a rate buffer 9
And the video stream stored in the rate buffer 9 is read by the decode wait circuit 10. The decode wait circuit 10 reads the video stream accumulated in the rate buffer 9, detects the last byte of the picture start code, and then until the count value of the 90 kHz up counter 13 becomes equal to the decode start time read from the FIFO memory 26. Will be in the output waiting state. That is, the process waits until the initial count value 1000 reaches the decode start time 1100. When the count value of the 90 kHz up counter 13 becomes equal to the decode start time read from the FIFO memory 26, the video stream is sent to the decoder 11, the decoder 11 performs the decoding process, and the image data is output from the output terminal 12.

【0023】[0023]

【発明の効果】本発明によれば、カウンタを専有するこ
となく画像伸長までの待ち時間を把握することができる
ので、1つのカウンタで待ち時間の制御ができ、カウン
タが1つの回路構成が簡単な画像伸長装置にすることが
できる。
According to the present invention, the waiting time until image expansion can be grasped without occupying a counter, so that the waiting time can be controlled by one counter, and the circuit configuration with one counter is simple. Image decompression device.

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

【図1】本発明の第1の実施例を示す回路構成図FIG. 1 is a circuit diagram showing a first embodiment of the present invention.

【図2】デコードスタートタイム挿入回路の動作を説明
するためのビデオストリーム構成図
FIG. 2 is a video stream configuration diagram for explaining the operation of a decode start time insertion circuit.

【図3】本発明の第2の実施例を示す回路構成図FIG. 3 is a circuit diagram showing a second embodiment of the present invention.

【図4】VBV_delayをデコードスタートタイムに置換す
る回路の動作を説明するためのビデオストリーム構成図
FIG. 4 is a video stream configuration diagram for explaining the operation of a circuit that replaces VBV_delay with a decode start time.

【図5】本発明の第3の実施例を示す回路構成図FIG. 5 is a circuit configuration diagram showing a third embodiment of the present invention.

【図6】MPEGビデオストリームの構成例[Fig. 6] Configuration example of MPEG video stream

【図7】図1のMPEGビデオストリームの入力とデコード
のタイミング図
7 is a timing diagram of input and decoding of the MPEG video stream of FIG.

【図8】従来の画像伸長装置を示す回路構成図FIG. 8 is a circuit configuration diagram showing a conventional image decompression device.

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

1 ビデオストリーム入力端子 2 vbv_delay抽出回路 3 90kHzダウンカウンタ 4 90kHzダウンカウンタ 5 90kHzダウンカウンタ 6 90kHzダウンカウンタ 7 90kHzダウンカウンタ 8 90kHzダウンカウンタ 9 レートバッファ 10 第1実施例および第2実施例のデコードウェイ
ト回路 10A 第3実施例のデコードウェイト回路 10P 従来例のデコードウェイト回路 11 デコーダ 12 画像データ出力端子 13 90kHzアップカウンタ 14 加算器 15 デコードスタートタイム挿入回路 16 ピクチャスタートコード以前のビデオストリーム 17 ピクチャスタートコード 18 ピクチャスタートコード以降のビデオストリーム 19 デコードスタートタイム 20 デコードスタートタイム置換回路 23 ピクチャスタートコードとvbv_delayの間のビデ
オストリーム 24 vbv_delay 25 vbv_delay以降のビデオストリーム 26 FIFOメモリ
1 Video Stream Input Terminal 2 vbv_delay Extraction Circuit 3 90 kHz Down Counter 4 90 kHz Down Counter 5 90 kHz Down Counter 6 90 kHz Down Counter 7 90 kHz Down Counter 8 90 kHz Down Counter 9 Rate Buffer 10 Decode Wait Circuit of First and Second Embodiments 10A Decode Wait Circuit of Third Embodiment 10P Decode Wait Circuit of Conventional Example 11 Decoder 12 Image Data Output Terminal 13 90 kHz Up Counter 14 Adder 15 Decode Start Time Insertion Circuit 16 Video Stream Before Picture Start Code 17 Picture Start Code 18 Picture Video stream after start code 19 Decode start time 20 Decode start time replacement circuit 23 pictures Video stream 26 FIFO memory of the video stream 24 vbv_delay 25 vbv_delay later between the start code and vbv_delay

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】動画像が圧縮された画像データを含み、該
画像データを入力してから伸長を開始するまでの待ち時
間を含むビットストリームを入力し、該待ち時間経過後
に該圧縮された画像データを伸長する画像伸長装置にお
いて、 前記ビットストリームに記述されている待ち時間を抽出
する待ち時間抽出手段と、 前記待ち時間を表わす時間単位によって決定される所定
の時間毎にカウント値を増加させるカウンタと、 前記待ち時間抽出手段により抽出された待ち時間と、前
記カウンタから入力される現カウント値とを加算し、加
算された値を前記画像データの伸長を開始するデコード
スタートタイムとする加算手段と、 該加算手段からデコードスタートタイムを入力し、前記
待ち時間抽出手段から圧縮データを入力し、該入力され
た圧縮データに前記デコードスタートタイムを挿入する
デコードスタートタイム挿入手段と、 該デコードスタートタイム挿入手段から該デコードスタ
ートタイムを挿入された圧縮データを入力し、格納する
メモリと、 該メモリから該デコードスタートタイムを挿入した圧縮
データと、前記カウンタから現カウント値を入力し、該
圧縮データに挿入されている該デコードスタートタイム
と該現カウント値が等しくなったとき該圧縮データを出
力するデコードウェイト手段と、 該デコードウェイト手段から該圧縮データが入力された
とき前記圧縮された画像データを伸長するデコーダと、 を備えたことを特徴とする画像伸長装置。
1. A moving image includes compressed image data, and a bit stream including a waiting time from the input of the image data to the start of decompression is input, and the compressed image is input after the waiting time elapses. In an image decompression device for decompressing data, a waiting time extraction means for extracting a waiting time described in the bit stream, and a counter for increasing a count value at every predetermined time determined by a time unit representing the waiting time. And an addition unit that adds the waiting time extracted by the waiting time extraction unit and the current count value input from the counter, and uses the added value as a decoding start time for starting the expansion of the image data. The decoding start time is input from the adding means, the compressed data is input from the waiting time extracting means, and the input compression data is input. A decoding start time inserting means for inserting the decoding start time into the data, a memory for inputting and storing the compressed data in which the decoding start time is inserted from the decoding start time inserting means, and a decoding start time from the memory. Decode wait means for inputting the compressed data inserted with the current count value from the counter, and outputting the compressed data when the decode start time inserted in the compressed data and the current count value are equal, An image decompression device, comprising: a decoder that decompresses the compressed image data when the compressed data is input from the decode weight means.
【請求項2】請求項1記載の画像伸長装置において、 前記待ち時間抽出手段が、前記待ち時間を抽出するとと
もに、ビットストリームの1ピクチャデータの先頭にあ
るピクチャスタートコードを入力し、 前記デコードスタートタイム挿入手段が、該ピクチャス
タートコードを入力したとき、該ピクチャスタートコー
ドの直後に前記デコードスタートタイムを挿入させるこ
とを特徴とする画像伸長装置。
2. The image decompression device according to claim 1, wherein the waiting time extracting means extracts the waiting time and inputs a picture start code at the beginning of one picture data of a bitstream to start the decoding start. An image decompression device, wherein when the time inserting means inputs the picture start code, the decoding start time is inserted immediately after the picture start code.
【請求項3】動画像が圧縮された画像データを含み、該
画素データを入力してから伸長を開始するまでの待ち時
間を含むビットストリームを入力し、該待ち時間経過後
に該圧縮された画像データを伸長する画像伸長装置にお
いて、 前記ビットストリームに記述されている待ち時間を抽出
する待ち時間抽出手段と、 前記待ち時間を表わす時間単位によって決定される所定
の時間毎にカウント値を増加させるカウンタと、 前記待ち時間抽出手段により抽出された待ち時間と、前
記カウンタから入力される現カウンタ値とを加算し、加
算された値を前記画像データの伸長を開始するデコード
スタートタイムとする加算手段と、 該加算手段からデコードスタートタイムを入力し、前記
待ち時間抽出手段から圧縮データを入力し、該入力され
た圧縮データの伸長開始までの待ち時間が記述されたデ
ータを前記デコードスタートタイムと置き換えるデコー
ドスタートタイム置換手段と、 該デコードスタートタイム置換手段から前記待ち時間が
該デコードスタートタイムに置換された圧縮データを入
力し、格納するメモリと、 該メモリから該デコードスタートタイムが記述された圧
縮データと、前記カウンタから現カウント値を入力し、
該圧縮データに記述されている該デコードスタートタイ
ムと該現カウント値が等しくなったとき該圧縮データを
出力するデコードウェイト手段と、 該デコードウェイト手段から該圧縮データが入力された
とき前記圧縮された画像データを伸長するデコーダと、 を備えたことを特徴とする画像伸長装置。
3. A moving image includes compressed image data, and a bit stream including a waiting time from the input of the pixel data to the start of decompression is input, and the compressed image is input after the waiting time elapses. In an image decompression device for decompressing data, a waiting time extraction means for extracting a waiting time described in the bit stream, and a counter for increasing a count value at every predetermined time determined by a time unit representing the waiting time. And an addition unit that adds the waiting time extracted by the waiting time extraction unit and the current counter value input from the counter, and uses the added value as a decoding start time for starting the expansion of the image data. The decoding start time is input from the adding means, the compressed data is input from the waiting time extracting means, and the input compression data is input. Decoding start time replacing means for replacing the data describing the waiting time until the start of data expansion with the decoding start time, and compressed data in which the waiting time is replaced by the decoding start time from the decoding start time replacing means. A memory for inputting and storing, compressed data in which the decode start time is described from the memory, and a current count value from the counter,
Decode wait means for outputting the compressed data when the decode start time described in the compressed data is equal to the current count value, and the compressed wait data when the compressed data is input from the decode wait means An image decompression device comprising: a decoder for decompressing image data;
【請求項4】請求項3記載の画像伸長装置において、 前記待ち時間抽出手段が、前記待ち時間を抽出するとと
もに、ビットストリームの1ピクチャデータの先頭にあ
るピクチャスタートコードを入力し、 前記デコードスタートタイム置換手段が、該ピクチャス
タートコードを入力したとき、該ピクチャスタートコー
ドから固定長離れた位置にある待ち時間をデコードスタ
ートタイムに置換させることを特徴とする画像伸長装
置。
4. The image decompression device according to claim 3, wherein the waiting time extracting means extracts the waiting time and inputs a picture start code at the beginning of one picture data of a bitstream to start the decoding start. An image decompression device, wherein the time replacement means replaces, when the picture start code is input, a waiting time located at a fixed length away from the picture start code with a decoding start time.
【請求項5】動画像が圧縮された画像データを含み、該
画像データを入力してから伸長を開始するまでの待ち時
間を含むビットストリームを入力し、該待ち時間経過後
に該圧縮された画像データを伸長する画像伸長装置にお
いて、 前記ビットストリームに記述されている待ち時間を抽出
する待ち時間抽出手段と、 前記待ち時間を表わす時間単位によって決定される所定
の時間毎にカウント値を増加させるカウンタと、 前記待ち時間抽出手段により抽出された待ち時間と、前
記カウンタから入力される現カウント値とを加算し、加
算された値を前記画像データの伸長を開始するデコード
スタートタイムとする加算手段と、 該加算手段からデコードスタートタイムを入力保持し、
該デコードスタートタイムを入力順に出力するFIFO
メモリと、 前記待ち時間抽出手段から前記圧縮データを入力し、格
納するメモリと、 該メモリから該圧縮データを入力し、該FIFOメモリ
から入力されるデコードスタートタイムと該カウンタか
ら入力される現カウント値が等しくなったとき該圧縮デ
ータを出力するデコードウェイト手段と、 該デコードウェイト手段から該圧縮データが入力された
とき前記圧縮された画像データを伸長するデコーダと、 を備えたことを特徴とする画像伸長装置。
5. A moving image includes compressed image data, and a bit stream including a waiting time from the input of the image data until the start of decompression is input, and the compressed image after the waiting time elapses. In an image decompression device for decompressing data, a waiting time extraction means for extracting a waiting time described in the bit stream, and a counter for increasing a count value at every predetermined time determined by a time unit representing the waiting time. And an addition unit that adds the waiting time extracted by the waiting time extraction unit and the current count value input from the counter, and uses the added value as a decoding start time for starting the expansion of the image data. , Inputting and holding the decode start time from the adding means,
FIFO for outputting the decoding start time in the order of input
A memory, a memory for inputting and storing the compressed data from the waiting time extracting means, a memory for inputting the compressed data from the memory, a decode start time input from the FIFO memory and a current count input from the counter Decoding weight means for outputting the compressed data when the values become equal, and a decoder for decompressing the compressed image data when the compressed data is input from the decoding weight means, are provided. Image decompressor.
JP7250301A 1995-09-28 1995-09-28 Image expansion device Pending JPH0993575A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7250301A JPH0993575A (en) 1995-09-28 1995-09-28 Image expansion device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7250301A JPH0993575A (en) 1995-09-28 1995-09-28 Image expansion device

Publications (1)

Publication Number Publication Date
JPH0993575A true JPH0993575A (en) 1997-04-04

Family

ID=17205878

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7250301A Pending JPH0993575A (en) 1995-09-28 1995-09-28 Image expansion device

Country Status (1)

Country Link
JP (1) JPH0993575A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014030070A (en) * 2012-07-31 2014-02-13 Hitachi Ltd Monitoring camera controller

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014030070A (en) * 2012-07-31 2014-02-13 Hitachi Ltd Monitoring camera controller

Similar Documents

Publication Publication Date Title
US8189908B2 (en) System and method for compressing video data and alpha channel data using a single stream
US8014615B2 (en) System and method for decompressing video data and alpha channel data using a single stream
US7248304B2 (en) Digital broadcast receiving apparatus
KR100234265B1 (en) Caption data processing circuit and method therefor
JPH08505513A (en) Two-step synchronization scheme for digital video decoder
US8009741B2 (en) Command packet system and method supporting improved trick mode performance in video decoding systems
JPH09205618A (en) Dynamic image sound expansion reproduction device and dynamic image sound synchronization controller
EP1643772A2 (en) System, method and apparatus for clean channel change
JP4223567B2 (en) Coded video sequence switching method and apparatus
EP0868087A2 (en) Multiplexing apparatus and method, transmitting apparatus and method, and recording medium
JP4676331B2 (en) Code conversion method and apparatus
US6285789B1 (en) Variable length code decoder for MPEG
JPH09503105A (en) Real-time voice packet layer encoder
JPH07222164A (en) Digital video bit stream coder
JP4457349B2 (en) MPEG content synchronous playback method, client terminal, and MPEG content synchronous playback program
JP2001204032A (en) Mpeg decoder
JPH0993575A (en) Image expansion device
JP3636062B2 (en) Processing circuit for data stream including video data and control method thereof
JP2006211485A (en) Apparatus and method for reproducing motion picture
EP2259432A1 (en) Variable-length code decoding apparatus and method
USRE41179E1 (en) Device for extracting parameters for decoding a video data flow coded according to an MPEG standard
KR100565651B1 (en) Apparatus for decoding video user data in DTV and for the same
JPH11251922A (en) Compression-encoding device and method
JP2004056234A (en) Image encoder and image encoding method
JP2003529252A (en) Method and apparatus for concatenating bits of odd length words