JPH07222100A - Dynamic image reproduction device - Google Patents

Dynamic image reproduction device

Info

Publication number
JPH07222100A
JPH07222100A JP2600794A JP2600794A JPH07222100A JP H07222100 A JPH07222100 A JP H07222100A JP 2600794 A JP2600794 A JP 2600794A JP 2600794 A JP2600794 A JP 2600794A JP H07222100 A JPH07222100 A JP H07222100A
Authority
JP
Japan
Prior art keywords
data
buffer
decoding
amount
picture
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2600794A
Other languages
Japanese (ja)
Inventor
Satoshi Kanai
聡 金井
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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP2600794A priority Critical patent/JPH07222100A/en
Publication of JPH07222100A publication Critical patent/JPH07222100A/en
Pending legal-status Critical Current

Links

Landscapes

  • Television Signal Processing For Recording (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

PURPOSE:To decode an image continuously even when input of data to a buffer 3 is interrupted in the device reproducing compressed dynamic image information. CONSTITUTION:The dynamic image reproduction device having a read device 2 reproducing dynamic image information of a CD-ROM 1 and outputting a bit stream of coded data, a buffer 3 storing the bit stream, a buffer level read device monitoring the data quantity of the buffer 3, a comparator 7 discriminating whether or not the data quantity reaches a threshold quantity and sending coded data to a decoding means (after VLD8) to start decoding is provided with a header analyzer 5 analyzing the coded data to calculate the data providing a threshold level and an adder 13 adding a prescribed value Ba to the data calculated by the header analyzer 5 to provide the sum to the comparator 7 as a threshold level.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、CD−ROMやディジ
タルビデオテ−プ等の記録媒体に記録されている圧縮動
画像情報を再生する装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an apparatus for reproducing compressed moving image information recorded on a recording medium such as a CD-ROM or a digital video tape.

【0002】[0002]

【従来の技術】動画像情報をディジタルデータとして記
録媒体に記録する場合、情報量が非常に多く、そのまま
では極めて短時間のデ−タしか記録できない。このた
め、動画像情報を高能率符号化により圧縮して符号化デ
−タとして記録しておき、再生時に復号化する方式が考
えられている。
2. Description of the Related Art When moving image information is recorded as digital data on a recording medium, the amount of information is very large, and as it is, only very short time data can be recorded. Therefore, a method has been proposed in which moving image information is compressed by high-efficiency encoding, recorded as encoded data, and then decoded at the time of reproduction.

【0003】高能率符号化方式としては、ISOで規格
化されたMPEG(ISO,11172)と呼ばれる圧
縮方式がある。MPEGでは、複数フレーム分のデータ
を1つのグループ(GOP)とし、その中で、少なくと
も1フレームのデータを比較的圧縮率の低いフレーム内
圧縮符号化処理で符号化し(Iピクチャ)、残りのフレ
ームを比較的圧縮率の高いフレーム間圧縮符号化処理で
符号化している(Pピクチャ,Bピクチャ)。なお、高
能率符号化方式としては、他に、H.261やH.21
1等のテレビ電話用の規格などがある。このような方式
によると、データ量は、もとのデ−タ量の数分の一から
数十分の一、場合によっては数百分の一まで、比較的高
い画質で圧縮される。
As a high efficiency coding system, there is a compression system called MPEG (ISO, 11172) standardized by ISO. In MPEG, data for a plurality of frames is grouped into one group (GOP), and at least one frame of data is coded by intraframe compression coding processing with a relatively low compression rate (I picture), and the remaining frames. Are encoded by interframe compression encoding processing having a relatively high compression rate (P picture, B picture). In addition, as a high-efficiency encoding method, other than H.264. 261 and H.264. 21
There are standards for videophone such as 1st grade. According to such a method, the data amount is compressed with a relatively high image quality from a fraction of the original data amount to a few tenths, and in some cases, a few hundredths.

【0004】[0004]

【発明が解決しようとする課題】MPEG規格に従って
CD−ROMに記録されている動画像情報は、図7に示
すように、まず、ディスク読出装置2により符号化デ−
タとして読み出され、バッファ3に一時的に格納され
る。この格納は、固定レ−トR[bit/sec] で行われる。
次に、バッファ3内のデ−タ量が或る閾値B0(図3参
照)に達すると、バッファ読出器4による読み出しが開
始され、以後、画像レ−トで定まる時間間隔で、符号化
デ−タがバッファ3からフレ−ム単位で読み出される。
なお、バッファ3から読み出される符号化デ−タは、V
LD8で可変長符号をデコ−ドされた後、逆量子化器9
で逆量子化され、逆DCT器10で逆DCT変換され、
さらに、必要に応じて加算器11で予測器12の出力を
加算される。また、こうして復号化された動画像デ−タ
は、外部機器へ出力される。
The moving picture information recorded on the CD-ROM according to the MPEG standard is first encoded by the disc reading device 2 as shown in FIG.
And is temporarily stored in the buffer 3. This storage is performed at a fixed rate R [bit / sec].
Next, when the amount of data in the buffer 3 reaches a certain threshold value B0 (see FIG. 3), the reading by the buffer reader 4 is started, and thereafter, the encoding data is set at a time interval determined by the image rate. Data is read from the buffer 3 in frame units.
The encoded data read from the buffer 3 is V
After the variable length code is decoded by the LD8, the inverse quantizer 9
Is inversely quantized and is inversely DCT-transformed by the inverse DCT unit 10,
Furthermore, the output of the predictor 12 is added by the adder 11 as needed. The moving image data thus decoded is output to an external device.

【0005】上記閾値B0は、CD−ROM1から読み
出される符号化デ−タのビデオシ−ケンスレイヤのシ−
ケンスヘッダ中でバッファサイズBSとして与えられて
いるパラメ−タに基づいて、ヘッダ解析器5により算出
される。この算出された閾値B0は、比較器7へ送られ
る。また、バッファ3内のデ−タ量は、バッファレベル
読出器6により読み出されて、比較器6へ送られる。比
較器6では両者が比較され、その結果、バッファ3内の
デ−タ量が上記閾値B0を越えると、その旨の情報がバ
ッファ読出器4へ送られる。これにより、バッファ読出
器4は復号化のためのデ−タの読み出しを開始する。以
後、画像レ−トで定まる時間間隔で符号化デ−タがフレ
−ム単位で読み出される。また、読み出された符号化デ
−タはVLD8側へ送られて復号化される。
The threshold value B0 is the sequence of the video sequence layer of the encoded data read from the CD-ROM 1.
It is calculated by the header analyzer 5 based on the parameter given as the buffer size BS in the can header. The calculated threshold value B0 is sent to the comparator 7. The amount of data in the buffer 3 is read by the buffer level reader 6 and sent to the comparator 6. The comparator 6 compares the two, and when the amount of data in the buffer 3 exceeds the threshold value B0 as a result, information to that effect is sent to the buffer reader 4. As a result, the buffer reader 4 starts reading data for decoding. After that, the coded data is read out in frame units at time intervals determined by the image rate. The read coded data is sent to the VLD 8 side and decoded.

【0006】上記の如くバッファ3に対するデ−タの入
出力が行われる結果、バッファ3内のデ−タ量は図3の
ように変化する。このため、ディスク読出装置2でデ−
タの読出エラ−が発生して、バッファ3へのデ−タの入
力が中断すると、バッファ3内のデ−タが無くなって、
画像の連続再生ができなくなる場合が生ずる。本発明
は、ディスク読出装置2でのデ−タの読出エラ−の発生
等によりバッファ3へのデ−タの入力が中断した場合で
も、画像を連続的に復号化できるようにすることを目的
とする。
As a result of inputting / outputting data to / from the buffer 3 as described above, the amount of data in the buffer 3 changes as shown in FIG. For this reason, the disk reader 2 is
When a data read error occurs and the input of data to the buffer 3 is interrupted, the data in the buffer 3 is lost,
In some cases, continuous playback of images may not be possible. It is an object of the present invention to enable continuous decoding of images even when the input of data to the buffer 3 is interrupted due to the occurrence of a data read error in the disk reading device 2. And

【0007】[0007]

【課題を解決するための手段】本発明は、記録媒体に記
録されている動画像情報を再生して符号化デ−タのビッ
トストリ−ムを出力する再生手段と、該ビットストリ−
ムを格納するバッファと、該バッファのデ−タ量を監視
して該デ−タ量が或る閾値に達すると復号化手段に対し
て上記符号化デ−タを送って復号化を開始させる復号化
開始制御手段とを備えた動画像再生装置に於いて;前記
符号化デ−タを解析して前記閾値を与えるデ−タを算出
するデ−タ解析手段と、前記デ−タ解析手段により算出
されたデ−タに或る所定値を加算して加算後の値を前記
閾値として前記復号化開始制御手段に与える閾値制御手
段と、を備えた動画像再生装置である。
SUMMARY OF THE INVENTION The present invention is a reproducing means for reproducing moving image information recorded on a recording medium and outputting a bit stream of encoded data, and the bit stream.
The buffer for storing the buffer and the data amount of the buffer are monitored, and when the data amount reaches a certain threshold value, the encoding data is sent to the decoding means to start the decoding. In a moving picture reproducing apparatus provided with decoding start control means; data analyzing means for analyzing the encoded data to calculate data for giving the threshold value; and data analyzing means. And a threshold control means for giving a value after the addition to the decoding start control means to the decoding start control means as a threshold value.

【0008】[0008]

【作用】記録媒体から再生される符号化デ−タに基づい
て、デ−タ解析手段により、復号化開始のための閾値を
与えるデ−タが算出される。この算出デ−タに閾値制御
手段によって或る所定値が加算され、加算後の値が上記
閾値として復号化開始制御手段に与えられる。復号化開
始制御手段は、与えられた閾値とバッファ内のデ−タ量
を比較し、その結果、バッファ内のデ−タ量が閾値を越
えると、復号化手段に対してバッファ内の符号化デ−タ
を送り、復号化を開始させる。
According to the encoded data reproduced from the recording medium, the data analyzing means calculates the data which gives the threshold value for starting the decoding. A certain predetermined value is added to this calculated data by the threshold value control means, and the value after addition is given to the decoding start control means as the above threshold value. The decoding start control means compares the given threshold value with the data amount in the buffer. As a result, when the data amount in the buffer exceeds the threshold value, the decoding means controls the encoding in the buffer. Send data and start decoding.

【0009】[0009]

【実施例】以下、本発明の実施例を説明する。まず、図
2に即してMPEGの蓄積用符号化標準のデ−タ構造を
説明し、続いて、各層のヘッダ中に与えられているデ−
タについて説明する。MPEGの動画デ−タは、下層か
ら順に、ブロック層、マクロブロック層、スライス層、
ピクチャ層、GOP層、ビデオシ−ケンス層として構成
されており、符号化デ−タも同様の層構造に構成されて
いる。
EXAMPLES Examples of the present invention will be described below. First, the data structure of the MPEG encoding standard for storage will be described with reference to FIG. 2, and subsequently, the data provided in the header of each layer will be described.
Will be described. The moving picture data of MPEG is, in order from the lower layer, a block layer, a macroblock layer, a slice layer,
It is configured as a picture layer, a GOP layer, and a video sequence layer, and the coding data is also configured in the same layer structure.

【0010】ブロックは、8ライン×8画素の画素から
構成される。DCT(離散コサイン変換)は、このブロ
ック単位で実行される。
Each block is composed of 8 lines × 8 pixels. DCT (Discrete Cosine Transform) is executed in this block unit.

【0011】マクロブロックは、左右及び上下に隣合う
4個の輝度ブロックと、画像上で同じ位置にあたるC
b,Crという2個の色差ブロックとの合計6個のブロ
ックで構成される。伝送順は、Y0,Y1,Y2,Y
3,Cb,Crである。予測デ−タ(差分をとる基準の
画像デ−タ:前方予測,後方予測,両方向予測等で作ら
れる)に何を用いるか、また、差分を送らなくともよい
か等は、このマクロブロック単位で判断される。
A macroblock is a C block which is located at the same position on the image as four luminance blocks adjacent to each other in the left, right, top and bottom directions.
It is composed of a total of 6 blocks including two color difference blocks b and Cr. The transmission order is Y0, Y1, Y2, Y
3, Cb, Cr. What is used for the prediction data (reference image data that takes the difference: made by forward prediction, backward prediction, bidirectional prediction, etc.), and whether it is not necessary to send the difference, etc. It is judged by.

【0012】スライスは、画像の走査順に連なる1又は
複数個のマクロブロックで構成される。スライスの長さ
や始まる位置は任意であり、伝送路のエラ−状態によっ
て変えられるようになっている。
A slice is composed of one or a plurality of macroblocks which are continuous in the scanning order of an image. The slice length and starting position are arbitrary and can be changed according to the error state of the transmission path.

【0013】ピクチャとは1枚づつの各画像をいい、通
常、Iピクチャ、Pピクチャ、Bピクチャの3種から成
る。Iピクチャは、当該画像内の全ブロックが、予測デ
−タとの差分をとることなくDCTで符号化されたブロ
ックから構成されるピクチャである。Pピクチャは、当
該画像内に、予測デ−タとの差分をとることなくDCT
で符号化されたブロックと、入力で時間的に前方に位置
し既に復号化された画像デ−タとの差分をDCTで符号
化されたブロックとが、混在するピクチャである。Bピ
クチャは、当該画像内に、予測デ−タとの差分をとるこ
となくDCTで符号化されたブロックと、入力で時間的
に前方に位置し既に復号化された画像デ−タとの差分を
DCTで符号化されたブロックと、入力で時間的に後方
に位置し既に復号化された画像デ−タとの差分をDCT
で符号化されたブロックと、時間的に前方に位置し既に
復号化された画像データと、時間的に後方に位置し既に
復号化された画像データの2者の補間画像との差分をD
CTで符号化されたブロックとが、混在するピクチャで
ある。
The picture means each picture one by one, and is usually composed of three kinds of picture, I picture, P picture and B picture. The I picture is a picture in which all blocks in the image are composed of blocks encoded by DCT without taking a difference from the prediction data. The P picture is a DCT image without taking a difference from the prediction data in the image.
This is a picture in which a block coded by (1) and a block coded by DCT of the difference between the image data located ahead in time with the input and already decoded are mixed. The B picture is a difference between a block coded by DCT without taking a difference from the prediction data in the picture and a picture data which is located ahead in time at the input and already decoded. Is a DCT-coded block, and the difference between the image data that has been temporally located at the input and has already been decoded is the DCT.
D is the difference between the block encoded in step S1, the image data that is temporally forward and already decoded, and the two interpolated images of image data that is temporally posterior and already decoded.
The block coded by CT is a mixed picture.

【0014】GOPは、1又は複数枚のIピクチャと0
枚以上の非Iピクチャから構成されるピクチャのグル−
プである。また、ビデオシ−ケンスは、画像サイズや画
像レ−ト等が同じ1又は複数のGOPから構成される。
A GOP is one or more I pictures and 0.
A group of pictures consisting of one or more non-I pictures
It is The video sequence is composed of one or a plurality of GOPs having the same image size and image rate.

【0015】ビデオシ−ケンス層は、シ−ケンススタ−
トコ−ドで始まり、シ−ケンスエンドコ−ドで終わる。
その間に1つ以上のシーケンスヘッダ部が含まれ、各シ
ーケンスヘッダ部の後に1つ以上のGOP層のデ−タが
続く。シーケンスヘッダ部はシ−ケンスヘッダコ−ドで
始まり、画像レ−トや、符号化データのビットレート
や、デコードに必要なバッファサイズを持つ。また、画
面の表示領域の横及び縦の画素数、画素間隔の縦横比、
各パラメ−タが或る制約以下であるか否かを示すフラグ
を持ち、さらに、量子化マトリックス等の情報をオプシ
ョンで持つ。
The video sequence layer is a sequence star.
It begins with a to-code and ends with a sequence-end code.
One or more sequence header sections are included between them, and each sequence header section is followed by one or more GOP layer data. The sequence header section starts with a sequence header code, and has an image rate, a bit rate of encoded data, and a buffer size necessary for decoding. Also, the number of horizontal and vertical pixels in the display area of the screen, the aspect ratio of the pixel interval,
Each parameter has a flag indicating whether or not it is below a certain constraint, and further has information such as a quantization matrix as an option.

【0016】各GOP層は、グル−プスタ−トコ−ドで
始まる。次に、当該GOPの最初のピクチャのタイムコ
ード(シ−ケンスの頭からの時間を示すコ−ド)、当該
GOPの画像の再構成に他のGOPのデータが必要か否
かを示すフラグ、先行するGOPのデータを参照可能か
否かを示すフラグ等が続き、その後に、当該GOPに含
まれるピクチャのピクチャ層データが続く。
Each GOP layer begins with a group start code. Next, the time code of the first picture of the GOP (code indicating the time from the beginning of the sequence), a flag indicating whether or not data of another GOP is necessary for reconstructing the image of the GOP, A flag indicating whether or not the data of the preceding GOP can be referred to follows, and then the picture layer data of the picture included in the GOP follows.

【0017】ピクチャ層は、ピクチャスタ−トコ−ドで
始まる。次に、各ピクチャの表示順を示す番号、ピクチ
ャの符号化の種類(I,P,B)、当該ピクチャを表示
する時点で必要な符号化デ−タをバッファに蓄積するの
に必要な時間、動きベクトルの精度、動きベクトルの範
囲が続き、その後に、1つ以上のスライス層データが続
く。
The picture layer begins with a picture start code. Next, a number indicating the display order of each picture, the coding type (I, P, B) of the picture, and the time required to store the coding data required at the time of displaying the picture in the buffer. , Motion vector accuracy, motion vector range, followed by one or more slice layer data.

【0018】スライス層は、スライススタ−トコ−ドで
始まる。次に、量子化幅を与えるデータが続き、その後
に、1つ以上のマクロブロック層データが続く。
The slice layer begins with a slice start code. Next follows the data that gives the quantisation width, followed by one or more macroblock layer data.

【0019】マクロブロック層には、ビットレート調整
用のダミーデータ、マクロブロックのピクチャ内におけ
る絶対位置を示すマクロブロックアドレッシングを制御
するデータ、マクロブロックタイプ、量子化幅、必要に
応じて前後方向の予測の動きベクトル、いずれのブロッ
クのデータを符号化データとして持っているかを示すデ
ータが並び、その後に、ブロック層データが続く。
In the macroblock layer, dummy data for bit rate adjustment, data for controlling macroblock addressing indicating an absolute position of a macroblock in a picture, macroblock type, quantization width, and, if necessary, a front-back direction A prediction motion vector and data indicating which block of data is used as encoded data are arranged, followed by block layer data.

【0020】ブロック層には、DCT後のDC成分やA
C成分をエントロピー符号化したデ−タが、Y0,Y
1,Y2,Y3,Cb,Crの順に並ぶ。
The block layer contains DC components and A after DCT.
The data obtained by entropy coding the C component is Y0, Y.
1, Y2, Y3, Cb, Cr are arranged in this order.

【0021】次に、図1に即して、実施例装置の構成を
説明する。本装置は、CD−ROM1に記録されている
動画像情報をディスク読出器2により読み出して符号化
デ−タのビットストリ−ムを固定レ−トR[bit/sec] で
生成し、これを、一旦バッファ3に格納した後、比較器
7からの信号に応じて読み出して復号化部(VLD8,
逆量子化部9,逆DCT部10,加算器11,予測器1
2)へ送り、動画像デ−タに復号化して出力する装置で
ある。
Next, the structure of the embodiment apparatus will be described with reference to FIG. This apparatus reads moving image information recorded on a CD-ROM 1 by a disk reader 2 and generates a bit stream of encoded data at a fixed rate R [bit / sec], which is then generated. , Once stored in the buffer 3, then read in accordance with the signal from the comparator 7 and read out by the decoding unit (VLD8,
Inverse quantizer 9, inverse DCT 10, adder 11, predictor 1
It is a device for sending to (2) and decoding and outputting to moving image data.

【0022】まず、バッファ3に固定レ−トRで格納さ
れるデ−タは、バッファ読出器4により読み出されてヘ
ッダ解析器5に送られる。ヘッダ解析器5では、前記ピ
クチ層のデ−タ(当該ピクチャを表示する時点で必要な
符号化デ−タをバッファ3に蓄積するのに必要な時間:
パラメ−タBF)に基づき、復号化開始時にバッファ3
内に蓄積されているべきデ−タ量(復号化開始のための
閾値)B0が算出される。即ち、バッファ3へのデ−タ
の格納が固定レ−トRで行われるため、上記パラメ−タ
BFを上記デ−タ量B0に変換できるのである。
First, the data stored in the buffer 3 at the fixed rate R is read by the buffer reader 4 and sent to the header analyzer 5. In the header analyzer 5, the data of the picture layer (the time required to store the coded data required at the time of displaying the picture in the buffer 3):
Buffer 3 at the start of decoding based on the parameter BF).
An amount of data (threshold value for starting decoding) B0 that should be stored in B0 is calculated. That is, since the data is stored in the buffer 3 at the fixed rate R, the parameter BF can be converted into the data amount B0.

【0023】ヘッダ解析器5で算出された上記デ−タ量
B0は、次に、加算器13へ送られて、或る所定値Ba
を加算され、この加算後の値「B0+Ba」が、復号化
開始のための閾値として比較器7へ送られる。比較器7
には、バッファ3のデ−タ量を監視するバッファレベル
読出器6からのデ−タが入力されている。
The above data amount B0 calculated by the header analyzer 5 is then sent to the adder 13 to have a predetermined value Ba.
Is added, and the value “B0 + Ba” after this addition is sent to the comparator 7 as a threshold value for starting decoding. Comparator 7
The data from the buffer level reader 6 for monitoring the amount of data in the buffer 3 is input to.

【0024】比較器7は、上記閾値B0+Baとバッフ
ァ3内のデ−タ量を比較して、バッファ3内のデ−タ量
が上記閾値B0+Baを越えると、バッファ読出器4に
対して「復号化を開始すべき旨の信号」を送る。これに
応じてバッファ読出器4はバッファ3のデ−タをフレ−
ム単位で読み出してVLD8へ送る。これにより、VL
D8以降の復号化部に於いて公知の復号化処理が行われ
て、復号化後のデ−タが外部へ出力される。なお、復号
化開始以後、バッファ3からのデ−タの読み出しは、画
像レ−トで定まる時間毎にフレ−ム単位で実行される。
The comparator 7 compares the threshold value B0 + Ba with the amount of data in the buffer 3, and when the amount of data in the buffer 3 exceeds the threshold value B0 + Ba, the buffer reader 4 "decodes". Signal to start conversion ”. In response to this, the buffer reader 4 reads out the data of the buffer 3.
It is read in units of frames and sent to VLD8. This allows VL
A known decoding process is performed in the decoding unit after D8, and the decoded data is output to the outside. After the decoding is started, the reading of the data from the buffer 3 is executed in frame units at every time determined by the image rate.

【0025】このようにバッファ3からのデ−タの読み
出しが行われる結果、本装置のバッファ3内のデ−タ量
は、図4のように変化する。即ち、バッファ3内のデ−
タ量が「B0+Ba」を越えると復号化が開始されて最
初のピクチャのデ−タが読み出され、以後、画像レ−ト
で定まる時間毎にフレ−ム単位でデ−タが読み出されて
復号化される。また、図4に示すように、本装置では、
バッファ3の容量として、原容量Bよりも上記加算値B
aの分だけ大きい容量「B+Ba」が確保されている。
この原容量Bは、前記シ−ケンスヘッダ中のデ−タ(デ
コードに必要なバッファサイズ:パラメ−タBS)に基
づいて規定される従来の装置の容量であるが、本装置で
は、この原容量Bに上記加算値Baを加算した値「B+
Ba」がバッファ3の容量として確保されるのである。
As a result of reading the data from the buffer 3 in this way, the amount of data in the buffer 3 of this apparatus changes as shown in FIG. That is, the data in the buffer 3 is
When the data amount exceeds "B0 + Ba", decoding is started and the data of the first picture is read out, and thereafter, the data is read out in frame units at each time determined by the image rate. Be decrypted. In addition, as shown in FIG.
As the capacity of the buffer 3, the added value B is larger than the original capacity B.
The capacity "B + Ba" which is large by the amount of "a" is secured.
The original capacity B is the capacity of a conventional device which is defined based on the data (buffer size required for decoding: parameter BS) in the sequence header. A value obtained by adding the addition value Ba to B, “B +
“Ba” is secured as the capacity of the buffer 3.

【0026】次に、ディスク読出装置2での読出エラ−
等により、バッファ3へのビットストリ−ムの入力が中
断された場合を、図5,図6に即して説明する。
Next, a read error in the disk reading device 2
The case where the input of the bit stream to the buffer 3 is interrupted by the above will be described with reference to FIGS.

【0027】図5のように、時刻t1でバッファ3への
ビットストリ−ムの入力が中断されると、以後、バッフ
ァ3内のデ−タ量は増加しない。この状態で次のフレ−
ムのデ−タが読み出されると、該デ−タ量分だけバッフ
ァ3内のデ−タ量は減少するが、この時点では、バッフ
ァ3内のデ−タ量はBaより多い。しかし、時刻t2に
於いて次々フレ−ムのデ−タが読み出されると、バッフ
ァ3内のデ−タ量はBaよりも少なくなる。但し、バッ
ファ3内のデ−タ量は「0」ではない。このように、従
来の装置であれは時刻t2でバッファ3内のデ−タ量が
「0」になって連続的に画像を復号化することができな
くなる筈であるが、本装置の場合には前記加算値Baの
分の余裕があるため、連続して復号化することが可能で
ある。
As shown in FIG. 5, when the input of the bit stream to the buffer 3 is interrupted at time t1, the amount of data in the buffer 3 does not increase thereafter. In this state the next frame
When the memory data is read, the amount of data in the buffer 3 decreases by the amount of the amount of data, but at this time, the amount of data in the buffer 3 is larger than Ba. However, when the frame data is read out one after another at time t2, the amount of data in the buffer 3 becomes smaller than Ba. However, the amount of data in the buffer 3 is not "0". As described above, in the conventional device, the amount of data in the buffer 3 becomes "0" at time t2, and it is impossible to continuously decode the image. However, in the case of the present device, Since there is a margin for the addition value Ba, it is possible to continuously decode.

【0028】図6は、バッファレベル読出器6により監
視されているバッファ3内のデ−タ量が、上記時刻t2
のように前記加算値Baを下回ると「エラ−発生」と判
断して、その旨の警告をバッファ読出器4に送ること
で、バッファ3からのデ−タの読み出しを中断した場合
を示す。ここで、表示用には、直前の画像デ−タを繰り
返して用いさせることで対応することとする。このよう
に処理することで、バッファ3内のデ−タ量を回復させ
ることができる。図6では、待機(バッファ3へのデ−
タの蓄積)が2フレ−ム分の時間であるが、例えばバッ
ファ3内のデ−タ量が「B0+Ba」を越えるまで待機
させてもよい。なお、従来もバッファ3内のデ−タ量が
「0」になった時点で「エラ−発生」を検出できるが、
その場合には、その時点で復号化が中断されてしまうと
いう問題がある。
FIG. 6 shows that the amount of data in the buffer 3 monitored by the buffer level reader 6 is the time t2.
As described above, when the addition value Ba falls below the above-mentioned addition value Ba, it is judged that "error has occurred", and a warning to that effect is sent to the buffer reader 4 to interrupt the reading of data from the buffer 3. Here, for display, it is assumed that the immediately previous image data is repeatedly used. By processing in this way, the amount of data in the buffer 3 can be recovered. In FIG. 6, waiting (data to the buffer 3 is
The accumulation of data is for two frames, but it may be waited until the amount of data in the buffer 3 exceeds "B0 + Ba". It should be noted that the "error occurrence" can be detected when the amount of data in the buffer 3 becomes "0" in the past, too.
In that case, there is a problem that the decoding is interrupted at that point.

【0029】したがって、バッファ3内のデ−タ量が
「0」になる前に「エラ−発生」を検出して、上記の如
く対応(バッファ3からのデ−タの読み出しを中断し
て、表示用には、直前の画像デ−タを繰り返して用いさ
せる)したいのであれば、下記の如く装置を構成すれば
よい。
Therefore, the "error occurrence" is detected before the amount of data in the buffer 3 becomes "0", and the above-described action is taken (the reading of the data from the buffer 3 is interrupted, If it is desired to repeatedly use the immediately preceding image data for display), the device may be configured as follows.

【0030】即ち、記録媒体に記録されている動画像情
報を再生して符号化デ−タのビットストリ−ムを出力す
る再生手段(ディスク読出装置2.又は、ディジタルビ
デオテ−プ等の他の記録媒体の読出装置)と、該ビット
ストリ−ムを格納するバッファ3と、該バッファ3のデ
−タ量を監視して該デ−タ量が或る閾値B0に達すると
復号化手段(VLD8,逆量子化器9,逆DCT器1
0,加算器11,予測器12)に上記符号化デ−タを送
って復号化を開始させる復号化開始制御手段(バッファ
レベル読出器6,比較器7,バッファ読出器4)とを備
えた動画像再生装置に於いて;前記符号化デ−タを解析
して前記閾値B0を与えるデ−タを算出するデ−タ解析
手段(ヘッダ解析器5)と、該デ−タ解析手段により算
出されたデ−タに或る所定値Baを加算して加算後の値
を前記閾値として前記復号化開始制御手段に与える閾値
制御手段(加算器8,所定値Baを発生したり又は入力
される所定値Baを与える手段)とを具備せしめ、さら
に、前記復号化開始制御手段に、バッファレベル読出器
6で監視されるバッファ3のデ−タ量が上記値Baを下
回ると、バッファ読出器4によるバッファ3からのデ−
タの読み出しを中断させるとともに、外部機器に対して
表示用の画像デ−タとして直前の画像デ−タを繰り返し
て用いるべき旨の信号を送る機能を具備せしめた構成と
する。
That is, reproducing means for reproducing the moving picture information recorded on the recording medium and outputting the bit stream of the encoded data (the disc reading device 2. or other means such as a digital video tape). (Recording medium reading device), the buffer 3 for storing the bit stream, the amount of data in the buffer 3, and when the amount of data reaches a certain threshold value B0, the decoding means (VLD8) , Inverse quantizer 9, inverse DCT device 1
0, adder 11, predictor 12) and decoding start control means (buffer level reader 6, comparator 7, buffer reader 4) for sending the above encoded data to start decoding. In a moving image reproducing apparatus; data analyzing means (header analyzer 5) for analyzing the encoded data to calculate data giving the threshold value B0, and calculating by the data analyzing means Threshold control means (adder 8, generating or inputting a predetermined value Ba) which adds a predetermined value Ba to the obtained data and gives the value after the addition as the threshold to the decoding start control means. (Means for giving a predetermined value Ba), and further, when the data amount of the buffer 3 monitored by the buffer level reader 6 falls below the above value Ba in the decoding start control means, the buffer reader 4 From buffer 3 by
The reading of the data is interrupted, and a function of sending a signal to the external device to repeatedly use the immediately preceding image data as the image data for display is provided.

【0031】[0031]

【発明の効果】以上、本発明では、記録媒体から読み出
される符号化デ−タに基づいて算出される復号化開始の
ための閾値に或る所定値が加算され、加算後の値が前記
閾値として用いられる。このため、加算値分だけ、読出
開始時(復号化のための読出開始時)のバッファのデ−
タ量が従来よりも多くなる。したがって、例えば、ディ
スク読出装置での読出エラ−等によりバッファへのデ−
タの入力が中断した場合でも、バッファ内のデ−タが無
くなるまでの余裕が大きくなり、画像を連続的に復号化
できる可能性が大きくなる。
As described above, according to the present invention, a certain predetermined value is added to the threshold value for starting decoding, which is calculated based on the encoded data read from the recording medium, and the value after the addition is the threshold value. Used as. Therefore, the buffer data at the start of reading (at the start of reading for decoding) is added by the additional value.
The amount of data becomes larger than before. Therefore, for example, the data in the buffer is read by the read error in the disk reading device.
Even if the input of data is interrupted, the margin until the data in the buffer is lost becomes large, and the possibility that the image can be continuously decoded increases.

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

【図1】実施例装置の構成を示すブロック図。FIG. 1 is a block diagram showing a configuration of an apparatus according to an embodiment.

【図2】MPEGのデ−タ構造を層別に示すデ−タ構成
図。
FIG. 2 is a data configuration diagram showing an MPEG data structure layer by layer.

【図3】バッファ内のデ−タ量の変化を従来装置につい
て示す説明図。
FIG. 3 is an explanatory diagram showing changes in the amount of data in the buffer for a conventional device.

【図4】バッファ内のデ−タ量の変化を実施例装置につ
いて示す説明図。
FIG. 4 is an explanatory diagram showing changes in the amount of data in the buffer for the embodiment apparatus.

【図5】バッファ内のデ−タ量の変化を実施例装置につ
いて示す説明図であり、バッファへのデ−タの入力が中
断した場合を示す。
FIG. 5 is an explanatory diagram showing changes in the amount of data in the buffer for the apparatus of the embodiment, and shows a case where the input of data to the buffer is interrupted.

【図6】バッファ内のデ−タ量の変化を実施例装置につ
いて示す説明図であり、バッファへのデ−タの入力が中
断した時に同一画像を読み出した場合を示す。
FIG. 6 is an explanatory diagram showing changes in the amount of data in the buffer for the apparatus of the embodiment, and shows a case where the same image is read when the input of data to the buffer is interrupted.

【図7】従来装置の構成を示すブロック図。FIG. 7 is a block diagram showing a configuration of a conventional device.

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

1 CD−ROM 1 CD-ROM

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 記録媒体に記録されている動画像情報を
再生して符号化デ−タのビットストリ−ムを出力する再
生手段と、該ビットストリ−ムを格納するバッファと、
該バッファのデ−タ量を監視して該デ−タ量が或る閾値
に達すると復号化手段に対して上記符号化デ−タを送っ
て復号化を開始させる復号化開始制御手段とを備えた動
画像再生装置に於いて、 前記符号化デ−タを解析して前記閾値を与えるデ−タを
算出するデ−タ解析手段と、 前記デ−タ解析手段により算出されたデ−タに或る所定
値を加算して加算後の値を前記閾値として前記復号化開
始制御手段に与える閾値制御手段と、 を備えた動画像再生装置。
1. A reproducing means for reproducing moving picture information recorded on a recording medium to output a bit stream of encoded data, and a buffer for storing the bit stream.
Decoding start control means for monitoring the amount of data in the buffer, and sending the encoded data to the decoding means to start decoding when the amount of data reaches a certain threshold value. In a moving image reproducing apparatus provided with the data analysis means, which analyzes the encoded data to calculate data for giving the threshold value, and data calculated by the data analysis means. To the decoding start control means, and a predetermined value is added as a threshold value to the decoding start control means.
JP2600794A 1994-01-28 1994-01-28 Dynamic image reproduction device Pending JPH07222100A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2600794A JPH07222100A (en) 1994-01-28 1994-01-28 Dynamic image reproduction device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2600794A JPH07222100A (en) 1994-01-28 1994-01-28 Dynamic image reproduction device

Publications (1)

Publication Number Publication Date
JPH07222100A true JPH07222100A (en) 1995-08-18

Family

ID=12181648

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2600794A Pending JPH07222100A (en) 1994-01-28 1994-01-28 Dynamic image reproduction device

Country Status (1)

Country Link
JP (1) JPH07222100A (en)

Similar Documents

Publication Publication Date Title
US6301428B1 (en) Compressed video editor with transition buffer matcher
JP4676450B2 (en) Variable precision inter-picture timing designation method and apparatus in digital video encoding processing
US5699474A (en) Method and apparatus for decoding MPEG-type data reproduced from a recording medium during a high-speed reproduction operation
JP2000278692A (en) Compressed data processing method, processor and recording and reproducing system
JP3147792B2 (en) Video data decoding method and apparatus for high-speed playback
JPH0818979A (en) Image processor
JP3852366B2 (en) Encoding apparatus and method, decoding apparatus and method, and program
US5793894A (en) Image data editing apparatus and decoding apparatus
JP3487205B2 (en) Image data editing device
JP3227674B2 (en) Video encoding apparatus and method
JP3200199B2 (en) Video compression encoding method
JP3061125B2 (en) MPEG image reproducing apparatus and MPEG image reproducing method
JPH0795536A (en) Device and method for reversely reproducing moving image
JPH08149408A (en) Digital animation editing method and device therefor
JPH07222100A (en) Dynamic image reproduction device
JPH06339111A (en) Compressed moving picture reproduction device
JP3240737B2 (en) Image signal encoding method and apparatus, decoding method and apparatus
EP0927954B1 (en) Image signal compression coding method and apparatus
US20060056627A1 (en) Tunneling information in compressed audio and/or video bit streams
JPH0898142A (en) Picture reproduction device
JP3449370B2 (en) Image data decoding method and apparatus
JP3934772B2 (en) Variable transfer rate encoding method and apparatus
JPH05122687A (en) Method and device for picture display
JPH0686255A (en) Picture encoder
JP2000156868A (en) Method and device for decoding image