JP2000078523A - Compressed stream decoding method and compensation stream decoder - Google Patents

Compressed stream decoding method and compensation stream decoder

Info

Publication number
JP2000078523A
JP2000078523A JP24281698A JP24281698A JP2000078523A JP 2000078523 A JP2000078523 A JP 2000078523A JP 24281698 A JP24281698 A JP 24281698A JP 24281698 A JP24281698 A JP 24281698A JP 2000078523 A JP2000078523 A JP 2000078523A
Authority
JP
Japan
Prior art keywords
decoding
frame
stream
picture
read
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
JP24281698A
Other languages
Japanese (ja)
Other versions
JP3132479B2 (en
Inventor
Takeshi Nakazawa
武 中澤
Tatsuya Sanpei
達也 三瓶
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.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP24281698A priority Critical patent/JP3132479B2/en
Publication of JP2000078523A publication Critical patent/JP2000078523A/en
Application granted granted Critical
Publication of JP3132479B2 publication Critical patent/JP3132479B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To avoid the occurrence of a decoding error in the case of special reproduction by decreasing a size of a retrieval table for decoding a B picture. SOLUTION: A stream structure analysis circuit 8 generates a stream structural table 7 in the case of usual reproduction. The stream structural table 7 includes decoding sequence as counts of a decoding sequence counter, and the stream structure analysis circuit 8 generates automatically the decoding sequence based on frame addresses in a bit stream storage memory 3 arranged in the decoding sequence. Furthermore, the storage sequence of picture information such as the decoding sequence in the stream structural table 7 is selected to be image display sequence. The display sequence is realized by allowing the stream structure analysis circuit 8 to write directly picture information in the case of a B picture and to write picture information while holding it up to a succeeding core picture address in the case of a core picture into the stream structural table 7. In the case of reproduction in a reverse direction, a read control circuit 4 references the stream structural table 7 in reverse sequence, allows a decoder 5 to read a require frame stream from the bit stream storage memory 3 and to decode it.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、MPEG方式等の
フレーム間予測符号化方式により符号化された圧縮スト
リームを復号する圧縮ストリーム復号化方法および圧縮
ストリーム復号化装置に関し、特に、圧縮ストリームの
逆再生等特殊再生における復号化技術に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a compressed stream decoding method and a compressed stream decoding apparatus for decoding a compressed stream encoded by an inter-frame predictive encoding method such as the MPEG method, and more particularly, to a method for decoding a compressed stream. The present invention relates to a decoding technique in trick play such as playback.

【0002】[0002]

【従来の技術】従来のこの種の技術として、例えば、特
開平10−13791号公報に記載の「映像信号復号化
方法,及び映像信号復号化装置」が知られている。図7
は、同公報の図1を写し取ったものであり(但し、参照
番号は変更)、映像信号復号化装置の実施の形態1のブ
ロック図である。
2. Description of the Related Art As a conventional technique of this kind, for example, a "video signal decoding method and a video signal decoding apparatus" described in Japanese Patent Application Laid-Open No. 10-13793 is known. FIG.
FIG. 1 is a block diagram of Embodiment 1 of the video signal decoding device, which is a copy of FIG. 1 of the same publication (however, reference numbers are changed).

【0003】本映像信号復号化装置において、光ディス
ク101は映像、及び音声信号をMPEG方式により圧
縮符号化して得られたビット列を記録し、光ディスク読
み出し回路102は光ディスク1を読み出し、デインタ
ーリーブおよび誤り訂正後ビット列121を出力する。
103はビット列記憶用メモリであり、光ディスク読み
出し回路102から出力されたビット列121を記憶
し、読み出し制御回路104の与えるアドレス信号14
1に従ってビット列121を出力する。105は検索表
であり、ビット列記憶用メモリ103に記憶された各B
ピクチャの番地を記憶する。106は検索表作成回路で
あり、アドレス信号141とBピクチャ検出信号172
に基づいて検索表105を作成する。107はピクチャ
ヘッダ検出回路であり、入力されたフレームのビット列
のピクチャタイプを判定し、復号化回路108に対し符
号化制御信号171を、検索表作成手段106に対しB
ピクチャ検出信号172をそれぞれ出力する。108は
復号化回路であり、入力されるビット列121を復号化
して再生画像とし、再生信号181を出力する。191
〜193はフレームメモリであり、参照画像となるIピ
クチャ、及びPピクチャの再生画像を記録するものであ
る。
In the present video signal decoding apparatus, an optical disk 101 records a bit string obtained by compressing and encoding a video and audio signal according to the MPEG system, and an optical disk reading circuit 102 reads the optical disk 1, performs deinterleaving and error correction. The subsequent bit string 121 is output.
Reference numeral 103 denotes a bit string storage memory which stores a bit string 121 output from the optical disk reading circuit 102 and which receives an address signal 14
The bit string 121 is output according to 1. Reference numeral 105 denotes a search table, each of which is stored in the bit string storage memory 103.
The address of the picture is stored. Reference numeral 106 denotes a search table creation circuit, which includes an address signal 141 and a B picture detection signal 172.
The search table 105 is created on the basis of. A picture header detection circuit 107 determines the picture type of the bit string of the input frame, and sends an encoding control signal 171 to the decoding circuit 108 and B
The picture detection signal 172 is output. Reference numeral 108 denotes a decoding circuit which decodes the input bit string 121 to obtain a reproduced image and outputs a reproduced signal 181. 191
Reference numerals 193 indicate frame memories for recording reproduced pictures of I pictures and P pictures as reference pictures.

【0004】上記のように構成された映像信号復号化装
置の光ディスク101には、ISOのMPEGビデオ規
格(以下、MPEG方式)により圧縮符号化された映像
信号が記録されている。MPEG方式は、フレーム間予
測符号化を基本とした高能率の圧縮符号化方式であり、
複数のフレームのそれぞれに対する予測方法を切替える
ことによって、高い圧縮効率とシーケンス途中からの再
生を実現可能としている。
[0004] The optical disk 101 of the video signal decoding apparatus configured as described above records a video signal that has been compression-encoded according to the ISO MPEG video standard (hereinafter referred to as the MPEG system). The MPEG method is a highly efficient compression coding method based on inter-frame prediction coding.
By switching the prediction method for each of a plurality of frames, high compression efficiency and reproduction from the middle of the sequence can be realized.

【0005】図8は、時間的に連続した複数の画像フレ
ームを示す図であり、MPEG方式の予測方法をこの図
を用いて説明する。図において、各フレームの下に付与
した数字は各フレームの連番を表しており、連番が増え
る方向に時間が進んでいることを示している。例えば、
連番11のフレームは連番10のフレームの次のフレー
ムである。
FIG. 8 is a diagram showing a plurality of temporally continuous image frames. A prediction method of the MPEG system will be described with reference to FIG. In the figure, the numbers given below each frame indicate the serial number of each frame, and indicate that time advances in the direction of increasing the serial number. For example,
The frame with the serial number 11 is the next frame after the frame with the serial number 10.

【0006】また、各フレームの下に付与したアルファ
ベットは、各フレームの予測方法を示しており、Iと付
したフレームはIピクチャと呼び、フレーム内の情報だ
けで符号化が可能なフレーム内符号化画像である。Pと
付したフレームはPピクチャと呼び、3フレーム前のI
ピクチャ,またはPピクチャを参照画像として符号化が
行われる片方向予測符号化画像である。例えば、連番1
3のPピクチャは連番10のPピクチャを参照画像とし
て、片方向から予測符号化される。Bと付したフレーム
はMPEG方式の特徴であるBピクチャであって、前後
のフレームを参照画像として符号化が行われる両方向予
測符号化画像である。例えば、連番12のBピクチャは
連番10と連番13のPピクチャを参照画像として、両
方向から予測符号化される。
The alphabets given below each frame indicate the prediction method of each frame. The frame denoted by I is called an I picture, and the intra-frame code which can be encoded only by the information in the frame. Image. The frame denoted by P is called a P picture,
This is a unidirectional predictive encoded image in which encoding is performed using a picture or a P picture as a reference image. For example, serial number 1
The P picture No. 3 is predictively coded from one direction using the P picture of the serial number 10 as a reference picture. The frame denoted by B is a B-picture, which is a feature of the MPEG system, and is a bidirectionally predicted coded image in which encoding is performed using the preceding and succeeding frames as reference images. For example, a B picture with a serial number 12 is predictively coded from both directions using P pictures with a serial number 10 and a serial number 13 as reference images.

【0007】MPEG方式では、Iピクチャを1フレー
ム含む複数のフレームの集合体をGOP(グループ・オ
ブ・ピクチャ)と呼ぶ。例えば、図8においては、連番
2のBピクチャから連番16のPピクチャまでの15枚
のフレームが1つのGOP単位となり、GOP(n)と
付した両矢印の線で示した範囲が1つのGOPに相当す
る。なお、このnは説明のために付与したGOPの連番
である。MEPG方式では、Pピクチャ,およびBピク
チャのフレームは、その片方向,および両方向のフレー
ムのデータに基づいて予測符号化しているので、1フレ
ームだけでは完結した情報にならない。このため、例え
ば目的の画像を途中から復号化再生するには、複数枚の
フレームのデータが集合したGOP単位へランダム・ア
クセスすることによって可能となる。このとき、GOP
はフレーム内だけの情報により符号化を行っているIピ
クチャを1フレーム含んでいるので、復号化再生はその
Iピクチャから開始することになる。
In the MPEG system, an aggregate of a plurality of frames including one I picture is called a GOP (group of pictures). For example, in FIG. 8, 15 frames from the B picture with the serial number 2 to the P picture with the serial number 16 are one GOP unit, and the range indicated by the double-headed line labeled GOP (n) is 1 GOPs. Here, n is a serial number of the GOP given for the explanation. In the MPEG system, the P-picture and B-picture frames are predictively coded based on the data of the unidirectional and bidirectional frames, so that complete information is not obtained with only one frame. Therefore, for example, decoding and reproduction of a target image from the middle can be performed by randomly accessing a GOP unit in which data of a plurality of frames are collected. At this time, GOP
Contains one frame of an I-picture which is being coded using information only in the frame, so that decoding and reproduction starts from the I-picture.

【0008】図9は、図8の各フレームを符号化して得
られたビット列である。このように、各フレームの順序
は符号化処理,および復号化処理に都合の良い順序とな
っているため、図8に示す時間的に連続した各フレーム
の順序とは異なっている。例えば、4Iは連番4のフレ
ームのIピクチャ,2Bは連番2のフレームのBピクチ
ャ,7Pは連番7のフレームのPピクチャを示してい
る。
FIG. 9 shows a bit string obtained by encoding each frame of FIG. As described above, the order of each frame is an order convenient for the encoding process and the decoding process, and thus differs from the order of the temporally continuous frames shown in FIG. For example, 4I indicates an I picture of a serial number 4 frame, 2B indicates a B picture of a serial number 2 frame, and 7P indicates a P picture of a serial number 7 frame.

【0009】図10は、光ディスク読み出し回路2によ
り、光ディスク101から読み出されたGOP(n+
1)のビット列の構文を示す図である。例えば、フレー
ム22Pは210a,211a,212aのビット列か
ら、フレーム22Pに後続するフレーム20Bは210
b,211b,212bのビット列からなっている。こ
こで、210a,210bはピクチャの先頭のみで使わ
れるピクチャ・スタート・コードであり、32bitで
表す。211a,211bはテンポラル・リファレンス
であり、GOP内における各ピクチャの表示順を10b
itで表す。212a,212bはピクチャ・コーディ
ング・タイプであり、ピクチャのタイプを3bitで表
す。211aはPピクチャであることを示し、212b
はBピクチャであることを示すものである。
FIG. 10 shows a GOP (n +) read from the optical disk 101 by the optical disk reading circuit 2.
It is a figure which shows the syntax of the bit string of 1). For example, from the bit string of 210a, 211a, and 212a, the frame 22P becomes
b, 211b and 212b. Here, 210a and 210b are picture start codes used only at the head of the picture, and are represented by 32 bits. 211a and 211b are temporal references, and the display order of each picture in the GOP is 10b.
It is represented by it. 212a and 212b are picture coding types, and the type of picture is represented by 3 bits. 211a indicates a P picture, and 212b
Indicates a B picture.

【0010】図7に戻り、順方向再生時における、映像
信号復号化装置の動作について説明する。光ディスク読
み出し回路102は、光ディスク101から信号を読み
取りGOPの連番の順にビット列121を出力する。こ
の出力されたビット列121はビット列記憶用メモリ1
03に書き込まれ、この後、ビット列121は書き込ま
れた順に読み出されて復号化回路108に入力される。
復号化回路108は入力されたビット列を順次復号化し
て再生出力181を得る。
Returning to FIG. 7, the operation of the video signal decoding apparatus during forward reproduction will be described. The optical disk reading circuit 102 reads a signal from the optical disk 101 and outputs a bit string 121 in the order of GOP serial numbers. The output bit string 121 is stored in the bit string storage memory 1.
03, the bit string 121 is read out in the order of writing and input to the decoding circuit 108.
The decoding circuit 108 sequentially decodes the input bit sequence to obtain a reproduced output 181.

【0011】次に、逆方向再生時における、映像信号復
号化装置の動作を、例えば、GOP(n+1)のフレー
ムから逆方向に再生する場合について説明する。光ディ
スク読み出し回路102は、ビット列が記憶されている
光ディスク101からGOP(n+1)のビット列を読
み出す。このようなビット列のヘッダ部には、ピクチャ
・スタート・コード,GOP内における各ピクチャの表
示順を示すテンポラル・リファレンスおよびピクチャ・
タイプから成る。
Next, the operation of the video signal decoding apparatus during reverse reproduction will be described, for example, in the case of reproducing in the reverse direction from a frame of GOP (n + 1). The optical disk reading circuit 102 reads the bit sequence of GOP (n + 1) from the optical disk 101 in which the bit sequence is stored. The header of such a bit string includes a picture start code, a temporal reference indicating the display order of each picture in the GOP, and a picture reference.
Consist of type.

【0012】光ディスク101から読み出されたGOP
(n+1)のビット列は、ビット列記憶用メモリ103
に記憶され、この後読み出されてピクチャヘッダ検出回
路107と復号化回路108に入力される。この入力の
順序は、ビット列記憶用メモリ103に記憶された順序
と同じである。ピクチャヘッダ検出回路107は、入力
された各ピクチャのビット列のピクチャ・ヘッダを検出
するとともに、ピクチャ・タイプにより各ピクチャの符
号化のタイプを判定する。ピクチャのタイプがIピクチ
ャ,またはPピクチャであれば、復号化制御信号171
により、復号化回路108は復号化動作を行うように指
示され、復号化回路108は入力順に復号化を行う。ピ
クチャのタイプがBピクチャであれば、復号化制御信号
171により、復号化回路108は復号化動作を行わな
いように指示され、復号化回路108はBピクチャの復
号化動作は行わない。
GOP read from optical disk 101
The bit string of (n + 1) is stored in the bit string storage memory 103.
And then read out and input to the picture header detection circuit 107 and the decoding circuit 108. The order of this input is the same as the order stored in the bit string storage memory 103. The picture header detection circuit 107 detects the picture header of the bit string of each input picture and determines the type of coding of each picture based on the picture type. If the picture type is an I picture or a P picture, the decoding control signal 171
Thus, the decoding circuit 108 is instructed to perform a decoding operation, and the decoding circuit 108 performs decoding in the order of input. If the picture type is a B picture, the decoding control signal 171 instructs the decoding circuit 108 not to perform the decoding operation, and the decoding circuit 108 does not perform the B picture decoding operation.

【0013】復号化されたIピクチャ,Pピクチャは、
次々にフレームメモリ191〜193に記録されるの
で、GOP(n+1)のビット列が全てビット列記憶用
メモリ103から読み出された時点では、フレームメモ
リ191〜193には、GOP(n+1)内の最新の3
つのコアピクチャ(IピクチャまたはPピクチャ)の再
生画像が残り、最終のコアピクチャが復号化装置108
からの出力信号181となる。
The decoded I picture and P picture are
Since all of the bit strings of GOP (n + 1) are read out from the bit string storage memory 103, the frame memories 191 to 193 store the latest GOP (n + 1) in the GOP (n + 1). 3
A reproduced image of one core picture (I picture or P picture) remains, and the final core picture is
Output signal 181.

【0014】上記のようなIピクチャとPピクチャの復
号化動作と同時に、ピクチャヘッダ検出回路107は、
ビット列記憶用メモリ103に記憶されたGOP(n+
1)のビット列から、GOP(n+1)のBピクチャの
検出を行い、Bピクチャ検出信号172として検索表作
成回路106に出力する。検索表作成回路106は、現
在出力しているアドレス信号141と入力されたBピク
チャ検出信号172から、ビット列記憶用メモリ103
におけるBピクチャの記憶番地がわかるので、このBピ
クチャ番地の情報を検索表105に出力する。
At the same time as the decoding operation of the I picture and the P picture as described above, the picture header detection circuit 107
The GOP (n +) stored in the bit string storage memory 103
From the bit string of 1), a B picture of GOP (n + 1) is detected and output to the lookup table creation circuit 106 as a B picture detection signal 172. The search table creation circuit 106 determines the bit string storage memory 103 from the currently output address signal 141 and the input B picture detection signal 172.
Since the storage address of the B-picture in (1) is known, the information of the B-picture address is output to the search table 105.

【0015】検索表105には、Bピクチャの開始番地
とBピクチャのビット列のワード数を記入することにな
るが、本公報には、この代わりに、パケット番号とテン
ポラル・リファレンスを記入することにより、検索表1
05のサイズを小さくした他の実施の形態も記載されて
いる。
In the search table 105, the starting address of the B picture and the number of words in the bit string of the B picture are entered. In this publication, instead of this, the packet number and the temporal reference are entered. , Search Table 1
Another embodiment in which the size of the image 05 is reduced is also described.

【0016】一方、Bピクチャの復号化動作には、前後
のコアピクチャが参照画像として必要であるが、これは
既にフレームメモリ192,193に存在するので、当
該Bピクチャのビット列をビット列記憶用メモリ103
から読み出し、復号化回路108により復号化すること
でBピクチャの再生画像が得られる。このとき、Bピク
チャのビット列がビット列記憶用メモリ103に記録さ
れている箇所は検索表105に記されているので、読み
出し制御回路104は検索表105を参照して、Bピク
チャのビット列を読み出すためのアドレス信号141を
ビット列記憶用メモリ103に出力する。このアドレス
信号141に従ってビット列記憶用メモリ103はBピ
クチャのビット列を読み出し、読み出されたBピクチャ
のビット列は復号化回路108により復号化されて再生
画像が得られる。Bピクチャの再生画像はフレームメモ
リ191に一度記録された後、復号化装置の再生出力1
81として出力される。
On the other hand, the decoding operation of a B picture requires the preceding and succeeding core pictures as reference images. Since these are already present in the frame memories 192 and 193, the bit sequence of the B picture is stored in a bit sequence storage memory. 103
, And decoded by the decoding circuit 108 to obtain a reproduced picture of a B picture. At this time, since the location where the bit sequence of the B picture is recorded in the bit sequence storage memory 103 is described in the search table 105, the read control circuit 104 refers to the search table 105 to read the bit sequence of the B picture. Is output to the bit string storage memory 103. According to the address signal 141, the bit string storage memory 103 reads the bit string of the B picture, and the read bit string of the B picture is decoded by the decoding circuit 108 to obtain a reproduced image. The reproduced image of the B picture is recorded once in the frame memory 191 and then reproduced by the decoding device.
It is output as 81.

【0017】次に、図11を用いて、逆方向再生時の動
作について説明する。逆方向再生時において、フレーム
31Pの次に再生画像となるのはフレーム30Bであ
る。逆方向再生によりフレーム30Bの再生画像を得る
際の、上記映像信号復号化装置の動作について説明す
る。フレーム30BはBピクチャであるから、復号化に
は参照画像としてフレーム28Pとフレーム31Pの再
生画像が必要になる。これらは既にフレームメモリ19
2,193に存在するので、フレーム30Bのビット列
をビット列記憶用メモリ103から読み出し、復号化回
路108により復号化することでフレーム30Bの再生
画像が得られる。このとき、フレーム30Bのビット列
がビット列記憶用メモリ103に記録されている箇所は
検索表105に記されているので、読み出し制御回路1
04は検索表105を参照して、フレーム30Bのビッ
ト列を読み出すためのアドレス信号141をビット列記
憶用メモリ103に出力する。このアドレス信号141
に従ってビット列記憶用メモリ103はフレーム30B
のビット列を読み出し、読み出されたフレーム30Bの
ビット列は復号化回路108により復号化されて再生画
像が得られる。フレーム30Bの再生画像はフレームメ
モリ191に一度記録された後、復号化装置の再生出力
181として出力される。この様子を図11の(3)に
示す。
Next, the operation at the time of reverse reproduction will be described with reference to FIG. During reverse playback, the frame 30B is the next playback image after the frame 31P. The operation of the video signal decoding apparatus when a reproduced image of the frame 30B is obtained by reverse reproduction will be described. Since the frame 30B is a B picture, a decoded image of the frame 28P and the frame 31P is required as a reference image for decoding. These are already in the frame memory 19
2, 193, the bit string of the frame 30B is read from the bit string storage memory 103 and decoded by the decoding circuit 108 to obtain a reproduced image of the frame 30B. At this time, since the location where the bit string of the frame 30B is recorded in the bit string storage memory 103 is described in the search table 105, the read control circuit 1
04 outputs an address signal 141 for reading a bit string of the frame 30B to the bit string storage memory 103 with reference to the search table 105. This address signal 141
, The bit string storage memory 103 stores the frame 30B
, And the read bit string of the frame 30B is decoded by the decoding circuit 108 to obtain a reproduced image. The reproduced image of the frame 30B is recorded once in the frame memory 191 and then output as the reproduced output 181 of the decoding device. This situation is shown in (3) of FIG.

【0018】逆方向再生時において、フレーム30Bの
次に再生画像となるのはフレーム29Bである。フレー
ム29BはBピクチャであるから、フレーム30Bの復
号化動作と同様に、既にフレームメモリ92,93に存
在しているフレーム28Pとフレーム31Pの再生画像
を参照画像として、フレーム29Bの復号化を行って再
生画像を得る。この様子を図11の(4)に示す。
At the time of reverse reproduction, the frame 29B is the reproduction image next to the frame 30B. Since the frame 29B is a B picture, similarly to the decoding operation of the frame 30B, the frame 29B is decoded using the reproduced images of the frames 28P and 31P already existing in the frame memories 92 and 93 as reference images. To obtain a playback image. This situation is shown in (4) of FIG.

【0019】逆方向再生時において、フレーム29Bの
次に再生画像となるのはフレーム28Pである。フレー
ム28PはPピクチャであり、既にフレームメモリ92
に存在するのでこれを出力する。このとき、特に復号化
処理の必要はないが、次の再生画像となる後述のフレー
ム27B,フレーム26BはBピクチャであり、参照画
像としてフレーム28P,フレーム25Pの再生画像が
必要となる。しかしながら、フレーム25Pの再生画像
はフレームメモリ内に存在していないので、フレーム2
5Pの復号化を同時に行う。
At the time of reverse reproduction, a frame 28P becomes a reproduction image next to the frame 29B. The frame 28P is a P picture, and has already been stored in the frame memory 92P.
Is output. At this time, although there is no particular need for decoding processing, frames 27B and 26B, which will be described later, which are the next reproduced images are B pictures, and reproduced images of frames 28P and 25P are required as reference images. However, since the reproduced image of the frame 25P does not exist in the frame memory,
5P decoding is performed simultaneously.

【0020】フレーム25Pの再生画像を得るために
は、GOP(n+1)の先頭から再び復号化動作を行う
必要があるが、フレーム28Pの再生画像がフレームメ
モリ92に既に存在しており、また、フレーム28Pの
後のPピクチャであるフレーム31Pの再生画像は既に
出力されているので、フレーム19I,フレーム22
P,フレーム25Pのビット列のみをビット列記憶用メ
モリ103から読み出せばよい。読み出されたフレーム
19I,フレーム22P,フレーム25Pのビット列は
復号化回路108により復号化され、フレームメモリに
記録される。このとき、フレームメモリ191,193
に記録されているフレーム29B,フレーム31Pの再
生画像は既に出力済みで不必要であるため、フレーム2
9B,フレーム31Pの再生画像を上書きして、最新の
再生画像であるフレーム22P,フレーム25Pの再生
画像がフレームメモリ191,193に記録される。こ
の様子を図11の(4)と図11の(5)に示す。
In order to obtain a reproduced image of the frame 25P, it is necessary to perform the decoding operation again from the beginning of GOP (n + 1). However, the reproduced image of the frame 28P already exists in the frame memory 92, and Since the reproduced image of the frame 31P, which is the P picture after the frame 28P, has already been output, the frames 19I, 22
Only the bit strings of P and frame 25P need to be read from the bit string storage memory 103. The read bit strings of the frame 19I, the frame 22P, and the frame 25P are decoded by the decoding circuit 108 and recorded in the frame memory. At this time, the frame memories 191, 193
Since the reproduced images of the frames 29B and 31P which have been already output and are unnecessary,
9B and the reproduction image of the frame 31P are overwritten, and the reproduction images of the latest reproduction images of the frames 22P and 25P are recorded in the frame memories 191 and 193. This situation is shown in FIG. 11 (4) and FIG. 11 (5).

【0021】逆方向再生時において、フレーム28Pの
次に再生画像となるのはフレーム27B,フレーム26
Bである。フレーム27B,フレーム26BはBピクチ
ャであるから、上記に示すフレーム30B,フレーム2
9Bの復号化動作と同様に、既にフレームメモリ19
2,193に存在している28Pとフレーム25Pの再
生画像を参照画像として、フレーム27B,フレーム2
6Bの再生画像を得る。この様子を図11の(6),お
よび図11の(7)に示す。
At the time of reverse reproduction, the reproduction image following the frame 28P is the frames 27B and 26.
B. Since the frames 27B and 26B are B pictures, the above-described frames 30B and 2
9B, the frame memory 19 has already been decoded.
The frame 27B and the frame 2 are used as reference images with the reproduced images of the 28P and the frame 25P existing at 2,2193.
6B is obtained. This situation is shown in (6) of FIG. 11 and (7) of FIG.

【0022】以降、フレーム19Iの再生画像の再生出
力181を得るまで、逆方向再生時における、本実施の
形態1による映像信号復号化装置の主要部の動作は以上
のようにして行われる。
Thereafter, until the reproduction output 181 of the reproduced image of the frame 19I is obtained, the operation of the main part of the video signal decoding apparatus according to the first embodiment at the time of reverse reproduction is performed as described above.

【0023】以上のような、コアピクチャ,Bピクチャ
に対する復号化をGOP(n+1)の最後尾のコアピク
チャから先頭のピクチャに至るまで逆順に繰り返すこと
により、GOP(n+1)の逆再生が完成する。この手
順を、GOPn,GOP(n−1)…と続ければ所望の
逆再生を行うことができる。
The decoding of the core picture and the B picture as described above is repeated in reverse order from the last core picture of the GOP (n + 1) to the first picture, thereby completing the reverse reproduction of the GOP (n + 1). . If this procedure is continued with GOPn, GOP (n-1)..., Desired reverse reproduction can be performed.

【0024】[0024]

【発明が解決しようとする課題】しかしながら、上述し
た従来の映像信号復号化技術では、Bピクチャの復号の
ための検索表を使用しているが、この検索表に、Bピク
チャの開始番地とBピクチャのビット列のワード数を記
入するとした実施の形態1によると、検索表のサイズが
大きくなるという問題がある。
However, in the above-described conventional video signal decoding technique, a search table for decoding a B picture is used. According to the first embodiment in which the number of words in the bit string of the picture is entered, there is a problem that the size of the search table increases.

【0025】また、この問題点を解消するために、検索
表にはBピクチャのパケット番号とテンポラル・リファ
レンスを記入するとした実施の形態2によると、光ディ
スクにストリームを記録するときに、または光ディスク
を読み出すときに、テンポラル・リファレンスが欠落し
たり、誤読されると、逆再生の順番が狂ってしまうとい
う問題点がある。これは、光ディスクの製造工程でテン
ポラル・リファレンスに誤った表示順を記録したり、光
ディスクの表面に傷がついてテンポラル・リファレンス
を正常に再生できなかった場合などに発生する。
In order to solve this problem, according to the second embodiment in which the B-picture packet number and the temporal reference are entered in the search table, when a stream is recorded on the optical disc or when the optical disc is At the time of reading, if the temporal reference is missing or misread, there is a problem that the order of reverse reproduction is out of order. This occurs when an incorrect display order is recorded on the temporal reference during the manufacturing process of the optical disk, or when the surface of the optical disk is damaged and the temporal reference cannot be normally reproduced.

【0026】したがって、本発明の目的は、検索表(本
発明ではストリーム構造表という)のサイズは小さいに
もかかわらず、誤りのない逆再生等の特殊再生を行うこ
とができる圧縮ストリーム復号化方法および圧縮ストリ
ーム復号化装置を提供することにある。
Therefore, an object of the present invention is to provide a compressed stream decoding method capable of performing error-free special reproduction such as reverse reproduction even though the size of a retrieval table (referred to as a stream structure table in the present invention) is small. And a compressed stream decoding device.

【0027】また、本発明の他の目的は、逆再生等の特
殊再生を迅速に行うことができる圧縮ストリーム復号化
方法および圧縮ストリーム復号化装置を提供することに
ある。
Another object of the present invention is to provide a compressed stream decoding method and a compressed stream decoding apparatus capable of quickly performing trick play such as reverse play.

【0028】[0028]

【課題を解決するための手段】そこで、本発明の第1の
圧縮ストリーム復号化方法は、フレーム間予測符号化方
式により符号化された圧縮ストリームを復号する圧縮ス
トリーム復号化方法において、圧縮ストリームの通常再
生時に、該圧縮ストリームを構成する1群のフレームに
ついて、復号順番と符号化タイプとを含む情報を該復号
順番と符号化タイプとで定まる表示順で記憶しておき、
特殊再生時には、前記表示順または、これと逆順に、前
記復号順番を参照し、かつ前記符号化タイプにより適時
にスキップしながら、復号していくことを特徴とする。
Accordingly, a first compressed stream decoding method according to the present invention is a compressed stream decoding method for decoding a compressed stream encoded by an inter-frame predictive encoding method. At the time of normal reproduction, for a group of frames constituting the compressed stream, information including a decoding order and an encoding type is stored in a display order determined by the decoding order and the encoding type,
At the time of trick play, decoding is performed by referring to the decoding order in the display order or in the reverse order, and skipping timely according to the encoding type.

【0029】また、本発明の第2の圧縮ストリーム復号
化方法は、フレーム間予測符号化方式により符号化され
た圧縮ストリームを復号する圧縮ストリーム復号化方法
において、圧縮ストリームを記録している媒体から1群
のフレームを読み出す手順と、該読み出された1群のフ
レームをビット列記憶メモリに記憶する手順と、該ビッ
ト列記憶メモリからフレームを読み出す手順と、該読み
出されたフレームのうち第1の符号化タイプのフレーム
のみを復号する手順と、該復号されたフレームのうち所
定のフレームをフレームメモリに記憶する手順と、前記
ビット列記憶メモリから読み出されたフレームのうち第
2の符号化タイプのフレームのみを前記フレームメモリ
を参照して復号する手順と、通常再生時に、前記ビット
列記憶メモリから読み出されたフレームについて、復号
順番と符号化タイプとを含む情報を該復号順番と符号化
タイプとで定まる表示順でストリーム構造表に記憶する
手順とを有し、また、特殊再生時には、さらに、前記ス
トリーム構造表の表示順または、これと逆順に前記復号
順番を参照して前記フレームの読み出しを制御する手順
と、前記符号化タイプにより適時に復号をスキップする
手順とを有することを特徴とする。
A second compressed stream decoding method according to the present invention is a compressed stream decoding method for decoding a compressed stream encoded by an inter-frame predictive encoding method, wherein a compressed stream is recorded from a medium on which the compressed stream is recorded. Reading a group of frames, storing the read group of frames in a bit string storage memory, reading a frame from the bit string storage memory, and selecting a first one of the read frames. A procedure of decoding only the frame of the encoding type, a procedure of storing a predetermined frame among the decoded frames in the frame memory, and a procedure of decoding the frame of the second encoding type among the frames read from the bit string storage memory. Decoding a frame only with reference to the frame memory, and, during normal reproduction, from the bit string storage memory For the extracted frame, a procedure for storing information including a decoding order and an encoding type in a stream structure table in a display order determined by the decoding order and the encoding type, and at the time of trick play, A step of controlling the reading of the frame by referring to the decoding order in the display order of the stream structure table or in the reverse order, and a step of skipping decoding in a timely manner according to the encoding type, I do.

【0030】また、本発明の第3の圧縮ストリーム復号
化方法は、MPEG方式により符号化された圧縮ストリ
ームを復号する圧縮ストリーム復号化方法において、圧
縮ストリームを記録している記録媒体から連続したGO
P構成のVOBU単位でフレームを読み出す手順と、該
読み出されたVOBU単位のフレームをビット列記憶メ
モリに記憶する手順と、該ビット列記憶メモリからフレ
ームを読み出す手順と、該読み出されたフレームのうち
コアピクチャのフレームのみを復号する手順と、該復号
されたフレームのうち最新の3フレームをフレームメモ
リに記憶する手順と、前記ビット列記憶メモリから読み
出されたフレームのうちBピクチャのフレームのみを前
記フレームメモリを参照して復号する手順と、通常再生
時に、前記ビット列記憶メモリから読み出されたフレー
ムについて、復号順番とピクチャタイプとGOP番号と
を含む情報を該復号順番とピクチャタイプとで定まる表
示順でストリーム構造表に記憶する手順とを有し、ま
た、特殊再生時には、さらに、前記ストリーム構造表の
表示順または、これと逆順に復号順番を参照して前記フ
レームの読み出しを制御する手順と、前記符号化タイプ
により適時に復号をスキップする手順とを有することを
特徴とする。
A third compressed stream decoding method according to the present invention is a compressed stream decoding method for decoding a compressed stream encoded by the MPEG system, wherein a continuous GO stream is recorded from a recording medium on which the compressed stream is recorded.
A procedure of reading a frame in VOBU units having a P configuration, a procedure of storing the read frame in VOBU units in a bit string storage memory, a procedure of reading a frame from the bit string storage memory, A step of decoding only the frame of the core picture, a step of storing the latest three frames among the decoded frames in the frame memory, and a step of storing only the frame of the B picture among the frames read from the bit string storage memory. A procedure of decoding with reference to a frame memory, and displaying information including a decoding order, a picture type, and a GOP number for a frame read from the bit string storage memory during normal reproduction, the information being determined by the decoding order and the picture type. Stored in the stream structure table in order. Further, the display sequence of the stream structure table, or, in reverse order to control the reading of the frame by referring to the decoding order, and the step of skipping the decoding timely according to the encoding type, I do.

【0031】さらに、本発明の圧縮ストリーム復号化方
法の好ましい実施の形態は、前記表示順は、前記ビット
列記憶メモリから出力されたフレームがコアピクチャで
あれば次のコアピクチャのフレーム出力まで留保して前
記ストリーム構造表にその情報を書き込み、また前記ビ
ット列記憶メモリから出力されたフレームがBピクチャ
であれば直ちに前記ストリーム構成表にその情報を書き
込むことにより形成されることを特徴とする。
Further, in a preferred embodiment of the compressed stream decoding method according to the present invention, if the frame output from the bit string storage memory is a core picture, the display order is reserved until a frame output of the next core picture. Then, the information is written in the stream structure table, and if the frame output from the bit string storage memory is a B picture, the information is immediately written in the stream structure table.

【0032】さらに、本発明の圧縮ストリーム復号化方
法の好ましい実施の形態は、前記ストリーム構成表に記
憶する情報に、当該GOPに含まれるBピクチャの復号
化の際に、他のGOPのフレームを参照するか否かの別
を示すオープン/クローズ・フラグを含むことを特徴と
する。
Further, in a preferred embodiment of the compressed stream decoding method according to the present invention, the information stored in the stream configuration table includes a frame of another GOP when decoding a B picture included in the GOP. It is characterized by including an open / close flag indicating whether to refer or not.

【0033】さらに、本発明の圧縮ストリーム復号化方
法の好ましい実施の形態は、前記VOBU単位の代わり
に、GOP単位でフレームを読み出すことを特徴とす
る。
Further, a preferred embodiment of the compressed stream decoding method according to the present invention is characterized in that a frame is read in GOP units instead of VOBU units.

【0034】さらに、本発明の圧縮ストリーム復号化方
法の好ましい実施の形態は、前記特殊再生が逆方向再生
であるときは、前記ストリーム構造表を記憶順と逆順に
読み出すことを特徴とする。
Further, in a preferred embodiment of the compressed stream decoding method according to the present invention, when the trick play is reverse playback, the stream structure table is read in the reverse order of storage order.

【0035】さらに、本発明の圧縮ストリーム復号化方
法の好ましい実施の形態は、前記特殊再生がスキップ再
生であるときは、前記ストリーム構造表をスキップごと
に1回だけ順次に読み出すことを特徴とする。
Further, in a preferred embodiment of the compressed stream decoding method of the present invention, when the trick play is skip playback, the stream structure table is sequentially read only once for each skip. .

【0036】また、本発明の第1の圧縮ストリーム復号
化装置は、フレーム間予測符号化方式により符号化され
た圧縮ストリームを復号する圧縮ストリーム復号化装置
において、圧縮ストリームを記録している記録媒体と、
該記録媒体から1群のフレームを読み出す読み出し手段
と、該読み出された1群のフレームを記憶するビット列
記憶手段と、前記読み出し手段およびビット列記憶手段
を制御する読み出し制御手段と、前記ビット列記憶手段
から読み出されたフレームを復号する復号手段と、該復
号されたフレームのうち第1の符号化タイプの所定のフ
レームを記憶し、第2の符号化タイプの前記復号時に参
照されるフレームメモリ手段と、通常再生時に、前記ビ
ット列記憶手段から読み出されたフレームについて、復
号順番と符号化タイプとを含む情報を該復号順番と符号
化タイプとで定まる表示順で記憶するためのストリーム
構造表と、該記憶の制御を行うストリーム構造解析手段
とを有し、特殊再生時には、前記読み出し制御手段は、
前記ストリーム構造表を表示順または、これと逆順に復
号順番を参照して前記読み出しの制御を行い、また、前
記復号手段は、前記ストリーム構造中の符号化タイプに
より適時に復号をスキップすることを特徴とする。
A first compressed stream decoding apparatus according to the present invention is a compressed stream decoding apparatus for decoding a compressed stream encoded by an inter-frame predictive coding method, wherein the recording medium recording the compressed stream is When,
Reading means for reading a group of frames from the recording medium, bit string storage means for storing the read group of frames, read control means for controlling the reading means and bit string storage means, and the bit string storage means Decoding means for decoding a frame read from a memory, and frame memory means for storing a predetermined frame of a first encoding type among the decoded frames and referred to during the decoding of a second encoding type And a stream structure table for storing information including a decoding order and an encoding type in a display order determined by the decoding order and the encoding type for a frame read from the bit string storage unit during normal reproduction. , A stream structure analyzing means for controlling the storage, and at the time of trick play, the read control means,
The stream structure table is displayed in the display order, or the reading control is performed with reference to the decoding order in the reverse order, and the decoding unit skips decoding in a timely manner according to the encoding type in the stream structure. Features.

【0037】また、本発明の第2の圧縮ストリーム復号
化装置は、MPEG方式により符号化された圧縮ストリ
ームを復号する圧縮ストリーム復号化装置において、圧
縮ストリームを記録している記録媒体と、該記録媒体か
ら、連続したGOP構成のVOBU単位でフレームを読
み出すデータ読み出し回路と、該読み出されたVOBU
単位のフレームを記憶するビット列記憶メモリと、前記
データ読み出し回路およびビット列記憶メモリを制御す
る読み出し制御回路と、前記ビット列記憶メモリから読
み出されたフレームを復号する復号器と、該復号された
フレームのうちコアピクチャの最新の3フレームを記憶
し、Bタイプのフレームの前記復号時に参照されるフレ
ームメモリと、通常再生時に、前記ビット列記憶メモリ
から読み出されたフレームについて、復号順番とピクチ
ャタイプとGOP番号とを含む情報を該復号順番とピク
チャタイプとで定まる表示順で記憶するためのストリー
ム構造表と、該記憶の制御を行うストリーム構造解析回
路とを有し、特殊再生時には、前記読み出し制御回路
は、前記ストリーム構造表を表示順または、これと逆順
に復号順番を参照して前記読み出しの制御を行い、ま
た、前記復号器は、前記ストリーム構造表中の符号化タ
イプにより適時に復号をスキップすることを特徴とす
る。
A second compressed stream decoding apparatus according to the present invention is a compressed stream decoding apparatus for decoding a compressed stream encoded by the MPEG system, wherein a recording medium for recording the compressed stream, A data reading circuit for reading a frame from a medium in units of VOBUs having a continuous GOP structure, and a read VOBU;
A bit string storage memory that stores a unit frame; a read control circuit that controls the data read circuit and the bit string storage memory; a decoder that decodes a frame read from the bit string storage memory; The decoding order, picture type and GOP of the frame memory storing the latest three frames of the core picture and referred to during decoding of the B type frame and the frame read from the bit string storage memory during normal reproduction are stored. A stream structure table for storing information including a number in a display order determined by the decoding order and the picture type; and a stream structure analysis circuit for controlling the storage. Refers to the decoding order in the display order of the stream structure table or in the reverse order. And controls the read, also, the decoder is characterized in that to skip decoding in time by the coding type in the stream structure table.

【0038】さらに、本発明の圧縮ストリーム復号化装
置の好ましい実施の形態は、前記表示順は、前記ビット
列記憶メモリから出力されたフレームがコアピクチャで
あれば次のコアピクチャのフレーム出力まで留保して前
記ストリーム構造表にその情報を書き込み、また前記ビ
ット列記憶メモリから出力されたフレームがBピクチャ
であれば直ちに前記ストリーム構造表にその情報を書き
込むことにより形成されることを特徴とする。
Further, in a preferred embodiment of the compressed stream decoding apparatus according to the present invention, in the display order, if a frame output from the bit string storage memory is a core picture, the display order is reserved until a frame output of the next core picture. Then, the information is written in the stream structure table, and if the frame output from the bit string storage memory is a B picture, the information is immediately written in the stream structure table.

【0039】本発明では、符号化タイプが表示され、復
号順に記録媒体から読み出されてくるフレームの通常再
生時に、復号順番を自動的に生成し、かつ、この復号順
番と符号化タイプとからフレームの表示順が定まる点に
着目して、復号順番と符号化タイプとを表示順にストリ
ーム構造表に記憶しておき、逆再生等の特殊再生時に
は、このストリーム構造表を表示順または逆順に、復号
順番号を参照してフレームを読み出し制御し、また符号
化タイプにより適時に復号をスキップするようにしたた
め、ストリーム構造表のサイズを小さく保ちながら、正
確かつ迅速な特殊再生を行うことができるようになっ
た。
According to the present invention, the encoding type is displayed, the decoding order is automatically generated at the time of normal reproduction of the frame read from the recording medium in the decoding order, and the decoding order and the encoding type are calculated based on the decoding order. Paying attention to the point that the display order of the frames is determined, the decoding order and the encoding type are stored in the stream structure table in the display order, and at the time of special playback such as reverse playback, this stream structure table is displayed in the display order or reverse order, Reading and controlling the frame with reference to the decoding order number and skipping the decoding in a timely manner according to the encoding type enable accurate and quick trick play while keeping the size of the stream structure table small. Became.

【0040】[0040]

【発明の実施の形態】次に、本発明の実施の形態につい
て説明する。
Next, an embodiment of the present invention will be described.

【0041】本発明の圧縮ストリーム復号化装置は、図
1に示すように、フレーム間予測符号化方式により符号
化された圧縮ストリームを記録している光ディスク媒体
1と、光ディスク媒体1から、連続したGOP構成のV
OBU単位でフレームを読み出すデータ読み出し回路2
と、読み出されたVOBU単位のフレームを記憶するビ
ット列記憶メモリ3と、データ読み出し回路2およびビ
ット列記憶メモリ3を制御する読み出し制御回路4と、
ビット列記憶メモリ3から読み出されたフレームを復号
する復号器5と、復号されたフレームのうちコアピクチ
ャの最新の3フレームを記憶し、Bタイプのフレームの
復号時に参照される3つのフレームメモリ61,62,
63と、通常再生時に、ビット列記憶メモリ3から読み
出されたフレームについて、復号順番とピクチャタイプ
とを含む情報を復号順番とピクチャタイプとで定まる表
示順で記憶するためのストリーム構造表7と、記憶の制
御を行うストリーム構造解析回路8とを有し、特殊再生
時には、読み出し制御回路2は、ストリーム構造表7を
表示順または、これと逆順に復号順番を参照して読み出
しの制御を行い、また復号器5は、ストリーム構造表7
中のピクチャタイプにより適時に復号をスキップするこ
とを特徴とする。ここで、復号順番とは、あるGOP内
に記録されたピクチャがそのGOPの先頭から数えて何
番目のピクチャであるかを示す数字である。
As shown in FIG. 1, the compressed stream decoding apparatus according to the present invention comprises an optical disk medium 1 on which a compressed stream encoded by an inter-frame predictive encoding system is recorded, and a continuous stream from the optical disk medium 1. V in GOP configuration
Data reading circuit 2 for reading a frame in OBU units
A bit string storage memory 3 for storing the read VOBU-based frames, a read control circuit 4 for controlling the data read circuit 2 and the bit string storage memory 3,
A decoder 5 for decoding a frame read from the bit string storage memory 3; and three frame memories 61 for storing the latest three frames of the core picture among the decoded frames and referred to when decoding a B-type frame. , 62,
63, and a stream structure table 7 for storing information including the decoding order and the picture type in the display order determined by the decoding order and the picture type for the frame read from the bit string storage memory 3 during normal playback, A stream structure analysis circuit 8 for controlling storage, and at the time of trick play, the read control circuit 2 controls reading by referring to the decoding order in the display order of the stream structure table 7 or in the reverse order. Also, the decoder 5 has a stream structure table 7
It is characterized in that decoding is skipped in a timely manner according to the middle picture type. Here, the decoding order is a number indicating the number of a picture recorded in a certain GOP from the top of the GOP.

【0042】本実施の形態の動作の概要は以下のとおり
である。まず、順方向再生時の動作を説明する。利用者
が光ディスク媒体1を駆動すると、データ読み出し回路
2は光ディスク媒体1からGOP(Group Of
Picture)の連番の順にフレームを読み出し、V
OBU単位でビット列記憶メモリ3に書き込む。ここ
で、VOBU単位とは、Video Object U
nitの略であり、DVD規格で定められている。ここ
では、2つのGOPを1VOBU単位とする。このフレ
ームは、書き込まれた順に読み出されて復号器5に入力
される。そして、IピクチャまたはPピクチャ(コアピ
クチャという)のフレームは復号器5で復号され、Bピ
クチャはフレームメモリ61〜63に記憶されている直
前の2枚のコアピクチャを参照して、復号器5で復号さ
れる。
The outline of the operation of the present embodiment is as follows. First, the operation during forward reproduction will be described. When the user drives the optical disk medium 1, the data readout circuit 2 reads a GOP (Group Of) from the optical disk medium 1.
Picture), the frames are read out in the order of the serial number, and V
The data is written to the bit string storage memory 3 in OBU units. Here, the VOBU unit is a Video Object U
It is an abbreviation of nit and is defined by the DVD standard. Here, two GOPs are defined as one VOBU unit. The frames are read out in the order in which they were written and input to the decoder 5. The I picture or P picture (referred to as core picture) frame is decoded by the decoder 5, and the B picture is referred to the two immediately preceding core pictures stored in the frame memories 61 to 63. Is decrypted.

【0043】このとき、ストリーム構造解析回路8は、
復号順に読み出されてくるフレームについて、復号順番
を生成し、復号順番とピクチャタイプとを含む情報をフ
レームの表示順にストリーム構造表7に書き込む。この
表示順は、ストリームの特性上、復号順番とピクチャタ
イプとで定まる。
At this time, the stream structure analysis circuit 8
The decoding order is generated for the frames read in the decoding order, and information including the decoding order and the picture type is written to the stream structure table 7 in the display order of the frames. This display order is determined by the decoding order and the picture type due to the characteristics of the stream.

【0044】次に、逆方向再生時の動作を説明する。利
用者が逆再生の指定をすると、データ読み出し回路2
は、光ディスク媒体1からGOPの連番の順にフレーム
を読み出し、VOBU単位でビット列記憶メモリ3に書
き込む。読み出し制御回路4は、ストリーム構造表7
を、GOP番号は逆順に、かつ、GOP内ではフレーム
の表示順と逆順に参照して、先頭のフレームから、当該
フレームまでの各フレームをビット列記憶メモリ3から
復号器5に読み出す。このとき、ストリーム構造表7に
は、復号順番、すなわち、ビット列記憶メモリ3におけ
る各GOP内の先頭フレームからの順番が書き込まれて
いるため、ビット列記憶メモリ3における当該フレーム
の読み出し位置は直ちに判明する。
Next, the operation at the time of reverse reproduction will be described. When the user specifies reverse reproduction, the data read circuit 2
Reads frames from the optical disk medium 1 in the order of GOP serial numbers and writes the frames to the bit string storage memory 3 in VOBU units. The read control circuit 4 reads the stream structure table 7
Are read out from the bit string storage memory 3 to the decoder 5 by referring to the GOP numbers in reverse order and in the GOP in the reverse order of the display order of the frames. At this time, since the decoding order, that is, the order from the first frame in each GOP in the bit string storage memory 3 is written in the stream structure table 7, the read position of the frame in the bit string storage memory 3 is immediately determined. .

【0045】復号器5においては、コアピクチャであれ
ば復号してフレームメモリ61〜63に記憶して、当該
フレームを出力する。このとき、Pピクチャの復号にB
ピクチャは不要であるため、当該Pピクチャから3ピク
チャ前のコアピクチャとの間のBピクチャはスキップさ
れる。また、当該フレームがBピクチャであれば、フレ
ームメモリ61〜63を参照して復号される。
In the decoder 5, if it is a core picture, it is decoded, stored in the frame memories 61 to 63, and the frame is output. At this time, B is used to decode the P picture.
Since a picture is unnecessary, a B picture between the P picture and the core picture three pictures before is skipped. If the frame is a B picture, it is decoded with reference to the frame memories 61 to 63.

【0046】では、次に、図2〜図6を参照して、本発
明の実施例について詳細に説明する。
Next, an embodiment of the present invention will be described in detail with reference to FIGS.

【0047】図2は、ストリーム構造表7の作成に係る
ビット列記憶メモリ3およびストリーム構造解析回路8
の詳細を示すブロック図である。ビット列記憶メモリ3
に書き込まれた各GOPは、GOPヘッダと複数のフレ
ームから成り、各フレームはヘッダと画像データとから
成る。フレームは、GOP内で復号順に配列されてお
り、各フレームのヘッダは、GOP番号,ピクチャタイ
プ,表示順番およびオープン・クローズの別が記録され
ている。MPEG規格では、オープン/クローズの別を
Closed−GOPフラグと呼ぶ。GOP番号とはV
OBU内における当該GOPの番号、ピクチャタイプと
は、Iピクチャ,Pピクチャ,Bピクチャの別、表示順
番とは当該GOPにおける当該フレームの表示の順番、
オープン・クローズの別とは、GOP境界のBピクチャ
復号時に1つ前のGOPを参照する(オープン)か、参
照しない(クローズ)かの別をいう。
FIG. 2 shows a bit string storage memory 3 and a stream structure analysis circuit 8 for creating the stream structure table 7.
FIG. 4 is a block diagram showing the details of. Bit string storage memory 3
Is composed of a GOP header and a plurality of frames, and each frame is composed of a header and image data. The frames are arranged in the decoding order within the GOP, and the header of each frame records the GOP number, picture type, display order, and open / close. In the MPEG standard, open / close is called a Closed-GOP flag. GOP number is V
The number and picture type of the GOP in the OBU are I pictures, P pictures, and B pictures, and the display order is the display order of the frame in the GOP.
The difference between open and closed refers to whether the immediately preceding GOP is referenced (open) or not referenced (closed) when decoding a B-picture at a GOP boundary.

【0048】通常再生時において、ストリーム構造表7
への書き込みが行われるが、上述のオープン・クローズ
別およびGOP番号は、ビット列記憶メモリ3から直接
そのまま書き込まれる。しかし、復号順番とピクチャタ
イプは、ストリーム構造解析回路8を経ることになる。
At the time of normal reproduction, the stream structure table 7
However, the above-mentioned open / closed and GOP numbers are directly written from the bit string storage memory 3 as they are. However, the decoding order and the picture type go through the stream structure analysis circuit 8.

【0049】ストリーム構造解析回路8は、図2に示す
ように、ビット列記憶メモリ3に記憶したフレームのヘ
ッダを読み取ることにより、当該フレームがBタイプか
否かを判別するピクチャタイプ判別器81と、GOP内
における先頭フレームから当該フレームまでのフレーム
数をカウントする復号順カウンタ82と、ピクチャタイ
プ判別器81においてBタイプと判定されるとビット列
記憶メモリ3内のピクチャタイプをそのままストリーム
構造表7に書き込み、そうでないときはコアピクチャ用
テンポラルメモリ86に書き込むセレクタ83と、ピク
チャタイプ判別器81においてBタイプと判定されると
復号順カウンタ82の値をそのままストリーム構造表7
に書き込み、そうでないときはコアピクチャ用テンポラ
ルメモリ86に書き込むセレクタ84と、ピクチャタイ
プ判別器81においてBタイプと判定されるとオープン
状態となり、そうでないときはクローズしてコアピクチ
ャ用テンポラルメモリ86の内容をストリーム構造表7
に出力するスイッチ85と、上述のように復号順番およ
びピクチャタイプを記憶するコアピクチャ用テンポラル
メモリ86とを有する。
As shown in FIG. 2, the stream structure analysis circuit 8 reads a header of a frame stored in the bit string storage memory 3 to determine whether or not the frame is the B type. The decoding order counter 82 that counts the number of frames from the first frame to the frame in the GOP, and if the picture type discriminator 81 determines that the type is B, the picture type in the bit string storage memory 3 is written as is to the stream structure table 7 Otherwise, the selector 83 for writing to the core picture temporal memory 86, and the value of the decoding order counter 82 when the picture type discriminator 81 determines that the type is B, the stream structure table 7
And the selector 84 for writing to the core picture temporal memory 86 if not, and the picture type discriminator 81 is opened when it is determined to be B type. Otherwise, it is closed and the core picture temporal memory 86 is closed. Contents as stream structure table 7
And a core picture temporal memory 86 for storing the decoding order and picture type as described above.

【0050】図3は、ストリーム構造解析回路8による
ストリーム構造表7への書き込み動作を示すフローチャ
ートである。まず、光ディスク媒体1からGOPの連番
順にフレームを読み出し、VOBU単位でビット列記憶
メモリ3に書き込むとともに、復号順カウンタ82を初
期値「1」にリセットする。そして、ビット列記憶メモ
リ3からGOPヘッダ部のGOP番号およびオープン・
クローズ別の情報およびフレームのヘッダ部のピクチャ
タイプを取り込み(図3のステップS1)、ピクチャタ
イプ判別器81は、ピクチャタイプがBピクチャか否か
を判別する(S2)。Bピクチャなら、復号順カウンタ
82は、カウント値をプラス1して復号順番をインクリ
メントして(S3)、ストリーム構造解析回路8は、復
号順番,ピクチャタイプ,オープン・クローズ別および
GOP番号をストリーム構造表7に書き込む(S4)。
また、S2において、Bタイプでないと判定されると、
復号順カウンタ82はカウント値をプラス1して、復号
順番をインクリメントする(S5)。直前のコアピクチ
ャ用テンポラルメモリ86の内容である復号順番とピク
チャタイプとをストリーム構造表7に書き込み(S
6)、現復号データ、すなわち、このときの復号順番と
ピクチャタイプとをコアピクチャ用テンポラルメモリ8
6に格納する(S7)。
FIG. 3 is a flowchart showing an operation of writing to the stream structure table 7 by the stream structure analysis circuit 8. First, frames are read from the optical disk medium 1 in the order of GOP serial numbers, written into the bit string storage memory 3 in VOBU units, and the decoding order counter 82 is reset to an initial value “1”. Then, the GOP number of the GOP header part and the open
The information for each close and the picture type of the header part of the frame are fetched (step S1 in FIG. 3), and the picture type discriminator 81 determines whether the picture type is a B picture (S2). If it is a B picture, the decoding order counter 82 increments the decoding order by adding 1 to the count value (S3), and the stream structure analysis circuit 8 determines the decoding order, picture type, open / closed, and GOP number in the stream structure. Write to Table 7 (S4).
If it is determined in S2 that the type is not the B type,
The decoding order counter 82 increments the decoding order by incrementing the count value by one (S5). The decoding order and the picture type, which are the contents of the immediately preceding core picture temporal memory 86, are written into the stream structure table 7 (S
6) The current decoded data, that is, the decoding order and the picture type at this time are stored in the core picture temporal memory 8.
6 (S7).

【0051】図4は、入力ストリームがI201
534867 、すなわち、この順にビット列
記憶メモリ3に書き込まれているGOP1に対するコア
ピクチャ用テンポラルメモリ86とストリーム構造表7
の記憶内容を示す。なお、オープン・クローズ別は、オ
ープン「0」としている。
FIG. 4 shows that the input stream is I 2 B 0 B 1 P
5 B 3 B 4 P 8 B 6 B 7 , that is, the core picture temporal memory 86 and stream structure table 7 for GOP 1 written in the bit string storage memory 3 in this order.
Is shown. The open / close status is set to open “0”.

【0052】復号順番1のI2 に対しては、直前のコア
ピクチャ用テンポラルメモリ86の内容をストリーム構
造表7に書き込むが、いま、不知として空白にしてい
る。コアピクチャ用テンポラルメモリ86には、このと
きの復号番号「1」とピクチャタイプ「I」とが書き込
まれる。
[0052] with respect to I 2 in decoding order 1 is written the contents of the previous core picture for temporal memory 86 to the stream structure Table 7, now being empty as unknown. The decoding number “1” and the picture type “I” at this time are written in the core picture temporal memory 86.

【0053】次の復号順番2のB0 と復号順番3のB1
に対しては、そのときの復号順番「2」,「3」とピク
チャタイプ「B」とがストリーム構造表7の1行目と2
行目に書き込まれ、コアピクチャ用テンポラルメモリ8
6は不変である。
[0053] B 1 of the next decoding order 2 of B 0 and the decoding order 3
, The decoding order “2”, “3” and the picture type “B” at that time are the first row and the second row of the stream structure table 7.
Written in the line, the core picture temporal memory 8
6 is unchanged.

【0054】復号順番4のP5 になると、直前、すなわ
ち、復号順番3のB1 におけるコアピクチャ用テンポラ
ルメモリ86の内容である、復号順番「1」とピクチャ
タイプ「I」とがストリーム構造表7の3行目に書き込
まれる。そして、コアピクチャ用テンポラルメモリ86
には、このときの復号順番「4」とピクチャタイプ
「P」とが書き込まれる。
[0054] At P 5 of the decoding order 4, just before, i.e., decoding order is the content of the core picture for temporal memory 86 in 3 of B 1, picture type "I" and the stream structure table and decoding order "1" 7 is written to the third line. Then, the core picture temporal memory 86
, The decoding order “4” and the picture type “P” at this time are written.

【0055】他のBピクチャB3 ,B4 ,B6 ,B7
PピクチャP8 についても、同様にして、ストリーム構
造表7とコアピクチャ用テンポラルメモリ86への書き
込みが行われる。ここで、留意すべきは、ストリーム構
造表7における書き込み順は、表示順、すなわち、入力
ストリームの添字で示した数字の順になっていることで
ある。これは、入力ストリームにおいて、コアピクチャ
ならばコアピクチャ用テンポラルメモリ86に復号順番
とピクチャタイプとを一時留保した後、次のコアピクチ
ャ出現時にストリーム構造表7に書き込むようにしたこ
とにより実現したものである。
For the other B pictures B 3 , B 4 , B 6 , B 7 and P picture P 8 , the stream structure table 7 and the core picture temporal memory 86 are similarly written. Here, it should be noted that the writing order in the stream structure table 7 is the display order, that is, the order of the numbers indicated by the subscripts of the input stream. This is realized by temporarily storing the decoding order and the picture type in the core picture temporal memory 86 if the input stream is a core picture, and then writing the stream in the stream structure table 7 when the next core picture appears. It is.

【0056】次に、以上のようにして作成されたストリ
ーム構造表7を使用した本発明の逆方向再生時における
動作について具体例により説明する。
Next, the operation at the time of reverse reproduction of the present invention using the stream structure table 7 created as described above will be described with a specific example.

【0057】図5は、図4に示した入力ストリームをB
6 まで通常再生、すなわち、順方向再生したタイム#1
の後に、逆方向再生をした場合の復号動作を時系列的に
説明するための図である。B6 は7フレーム目のピクチ
ャであり、復号順カウンタ82の値が「8」であること
は図4からも明らかであり、読み出し制御回路4は、ス
トリーム構造表7の7行目から逆順に参照しながらビッ
ト列記憶メモリ3を読み出していく。
FIG. 5 shows a case where the input stream shown in FIG.
Time # 1 for normal playback up to 6 , ie, forward playback
FIG. 24 is a diagram for explaining a decoding operation in the case of performing reverse reproduction after time, in a time-series manner. B 6 is the picture of the seventh frame, and it is clear from FIG. 4 that the value of the decoding order counter 82 is “8”. The read control circuit 4 performs the reverse order from the seventh row of the stream structure table 7. The bit string storage memory 3 is read out while referring to.

【0058】B6 の次に表示すべきは6フレーム目のP
5 であるが、これは図4のストリーム構造表7の6行目
において復号順番が「4」として、復号順番「8」の左
隣りに記憶されている。したがって、タイム#2におい
て、ビット列記憶メモリ3の先頭のI2 から4つのフレ
ームI2015 を復号器5に読み出す。I2 を復
号してフレームメモリ61に書き込み、B0 ,B1 は復
号をスキップし、P5はフレームメモリ61のI2 を参
照して復号し出力する。また、P5 はフレームメモリ6
2に書き込まれる。
Next to B 6 is to display P of the sixth frame.
5 , which is stored on the sixth row of the stream structure table 7 in FIG. 4 as the decoding order “4”, which is adjacent to the left of the decoding order “8”. Thus, in the time # 2 is read from the head of I 2 bit string storage memory 3 into four frames I 2 B 0 B 1 P 5 decoder 5. I 2 is decoded and written into the frame memory 61, B 0 and B 1 skip decoding, and P 5 is decoded and output with reference to I 2 of the frame memory 61. P 5 is the frame memory 6
2 is written.

【0059】P5 の次に表示すべきは5フレーム目のB
4 であるが、これは図4のストリーム構造表7において
復号順番が「6」として、復号順番「4」の左隣りに記
憶されている。したがって、タイム#3において、ビッ
ト列記憶メモリ3の先頭から6つのフレームI20
1534 を復号器5に読み出す。I2 〜B3 まで
の復号はスキップし、B4 はフレームメモリ61のI2
とフレームメモリ62のP5 を参照して復号し出力す
る。
[0059] It should be displayed next to the P 5 5 th frame of the B
4 , which is stored on the left side of the decoding order “4” as the decoding order is “6” in the stream structure table 7 in FIG. Therefore, at time # 3, the six frames I 2 B 0 B from the beginning of bit string storage memory 3
1 P 5 B 3 B 4 is read out to the decoder 5. The decoding of I 2 to B 3 is skipped, and B 4 is the I 2 of the frame memory 61.
And with reference to the P 5 in the frame memory 62 and decodes and outputs.

【0060】B4 の次に表示すべきはB3 であり、タイ
ム#4に示すように、B4 の場合と同様にして復号され
出力される。B3 の次はI2 であるが、これは既に復号
され、フレームメモリ61に記憶しているので、これを
出力すればよい。以上のように、ストリーム構造表7を
逆順に参照していければ、ビット列記憶メモリ3の読み
出し位置が迅速にわかり、迅速に復号できる。
[0060] It should be displayed next to the B 4 is B 3, as shown in the time # 4 and is decoded in the same manner as the B 4 is outputted. While following B 3 is I 2, which has already been decoded, since the stored in the frame memory 61 may be output. As described above, if the stream structure table 7 is referred to in the reverse order, the read position of the bit string storage memory 3 can be quickly determined, and decoding can be performed quickly.

【0061】I2 の次に表示すべきはB1 であるが、B
1 の復号はI2 と、1つ前のGOP0の最終のコアピク
チャとが必要である。この場合、ストリーム構造表7に
おいてオープン・クローズ別がオープン(1)とされて
いれば、B1 およびB0 の復号はできず、この時点で当
該GOPの復号は終了となる。
After I 2 , B 1 should be displayed.
Decoding of 1 requires I 2 and the last core picture of the previous GOP0. In this case, if the stream structure table 7 by an open-close is only to be open (1), it can not decode the B 1 and B 0, the decoding of the GOP at this time is ended.

【0062】図6は、オープン・クローズ別がオープン
(O)とされている場合に、GOP#(n+1)のI2
の表示(タイム#1)まで進んで、次に、GOP#(n
+1)のB1 ,B0 に続いて、GOP#nのP8 ,B7
と復号していく場合の様子を時系列的に示す。
FIG. 6 shows that the I 2 of GOP # (n + 1) is open (O) when the open / close state is set to open (O).
(Time # 1), and then GOP # (n
Following B 1, B 0 of +1), P 8 of GOP # n, B 7
The state of decoding is shown in time series.

【0063】GOP#(n+1)のI2 の次に表示すべ
きGOP#(n+1)のB1 の復号のためには、GOP
#(n+1)のI2 の他に、GOP#nのP8 が必要で
ある。この場合には、タイム#2に示すように、ストリ
ーム構造表7によるGOP#(n+1)の先頭から3つ
のフレームI201 の他に、GOP#nの全フレー
ムI201534867 の読み出しが
される。これにより、GOP#(n+1)のB1 は、G
OP#(n+1)のI2 とGOP#nのP8 とを参照フ
レームとして復号され出力される。GOP#(n+1)
のB0 も同様である(タイム#3)。
[0063] For the decoding of B 1 of GOP # (n + 1) GOP # to be displayed next I 2 of (n + 1) is, GOP
# Other I 2 of (n + 1), it is necessary to P 8 in the GOP # n. In this case, as shown at time # 2, in addition to the three frames I 2 B 0 B 1 from the head of GOP # (n + 1) according to stream structure table 7, all frames I 2 B 0 B of GOP #n reading of 1 P 5 B 3 B 4 P 8 B 6 B 7 is. Accordingly, B 1 of GOP # (n + 1) becomes G
OP # (n + 1) is decoded as a reference frame and a P 8 of I 2 and GOP # n of the output. GOP # (n + 1)
B 0 is the same (time # 3).

【0064】GOP#(n+1)のB0 の次に表示すべ
きはGOP#nのP8 であるが、あらかじめ2GOP
(VOBU単位)分のストリーム構造表を用意してお
き、これに対する復号順番,ピクチャタイプ等は、図4
に相当する表に、直前のコアピクチャ用テンポラルメモ
リ86の内容である「7」,「P」がGOP番号#nと
ともに書き込まれている。したがって、タイム#4に示
すように、GOP#nのI 2015348
が読み出され、GOP#nのP5 を参照フレームとして
8 が復号され出力される。
B of GOP # (n + 1)0 Should be displayed after
Kiha GOP # n P8 But 2GOP in advance
Prepare a stream structure table for (VOBU units)
The decoding order, picture type, etc. for this are shown in FIG.
In the table corresponding to the previous temporal memo for the core picture.
“7” and “P”, which are the contents of the file 86, are GOP numbers #n.
Both are written. Therefore, at time # 4
So, I of GOP # n Two B0 B1 PFive BThree BFour P8 
Is read out, and P of GOP # n is read.Five As a reference frame
P8 Is decoded and output.

【0065】P8 の次に表示すべきはB7 であり、スト
リーム構造表7から、GOP#nの最右端のピクチャ情
報により、GOP#nのI2015348
67 が読み出される。P8 は既に復号されフレーム
メモリ63に格納されているので、GOP#nのP5
参照することにより、B7 が復号され出力される。
[0065] It should be displayed next to the P 8 is B 7, the stream structure table 7, the rightmost picture information GOP # n, I 2 B of GOP # n 0 B 1 P 5 B 3 B 4 P 8
B 6 B 7 is read. Since P 8 is already stored in the frame memory 63 is decoded by referring to the P 5 of GOP # n, B 7 is decoded and output.

【0066】以上は、特殊再生の代表例として逆方向再
生について説明したが、順方向再生であれ逆方向再生で
あれ、スキップ再生をするときは、ストリーム構造表7
を所定アドレス分スキップした位置を読み出すようにす
ればよい。また、スキップ再生を利用して、GOP内の
特定の位置から再生することも容易になる。
In the above description, the reverse reproduction is described as a typical example of the special reproduction. However, when performing the skip reproduction regardless of the forward reproduction or the reverse reproduction, the stream structure table 7 is used.
May be read out at a position skipped by a predetermined address. Also, it is easy to reproduce from a specific position in the GOP by using skip reproduction.

【0067】[0067]

【発明の効果】本発明は、復号順の入力ストリームから
通常再生時に復号順番を自動生成し、これを記憶してお
く構成としたため、テンポラルリファレンスの読み取り
誤りがなくなり、高品質の再生画像を得ることができる
という第1の効果を有する。
According to the present invention, the decoding order is automatically generated at the time of normal reproduction from the input stream in the decoding order, and this is stored, so that a reading error of the temporal reference is eliminated and a high quality reproduced image is obtained. The first effect is that it can be performed.

【0068】また、復号順番やピクチャタイプ等を画像
の表示順に記憶しておく構成としたため、逆方向再生等
の特殊再生時にも復号と復号スキップのフレームの判断
が瞬時に行え、迅速な特殊再生が可能になるという第2
の効果を有する。
Since the decoding order and the picture type are stored in the order in which the images are displayed, decoding and decoding skipping frames can be instantaneously determined even during special reproduction such as reverse reproduction, and rapid special reproduction is performed. The second that is possible
Has the effect of

【0069】また、ストリーム構造表は、従来の検索表
に比べ、少ない記憶容量で構成できるという効果も有す
る。
The stream structure table also has an effect that it can be configured with a smaller storage capacity than a conventional search table.

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

【図1】本発明の圧縮ストリーム復号化装置のブロック
FIG. 1 is a block diagram of a compressed stream decoding apparatus according to the present invention.

【図2】図1に示したストリーム構造解析回路の要部を
示すブロック図
FIG. 2 is a block diagram showing a main part of the stream structure analysis circuit shown in FIG. 1;

【図3】ストリーム構造解析回路によるストリーム構造
表作成のフローチャート
FIG. 3 is a flowchart of creating a stream structure table by a stream structure analysis circuit;

【図4】ストリーム構造表とコアピクチャ用テンポラル
メモリの記憶内容の具体例を示す図
FIG. 4 is a diagram showing a specific example of a stream structure table and storage contents of a core picture temporal memory.

【図5】本発明の同一GOP内における逆方向再生動作
を説明するための図
FIG. 5 is a diagram for explaining a reverse reproduction operation in the same GOP according to the present invention;

【図6】本発明のGOP間にわたる逆方向再生動作を説
明するための図
FIG. 6 is a diagram for explaining a reverse reproduction operation between GOPs according to the present invention;

【図7】従来のストリーム圧縮復号化装置例のブロック
FIG. 7 is a block diagram of an example of a conventional stream compression / decoding apparatus.

【図8】MEPG方式における時間的に連続した複数の
画像フレームを示す図
FIG. 8 is a diagram showing a plurality of temporally continuous image frames in the MEPG method.

【図9】MPEG方式によるGOPを符号化して得られ
たビット列を示す図
FIG. 9 is a diagram showing a bit string obtained by encoding a GOP according to the MPEG method.

【図10】図7に示した従来例におけるGOP(n+
1)のビット列構文を説明するための図
FIG. 10 shows a conventional GOP (n +
Diagram for explaining bit string syntax of 1)

【図11】図7に示した従来例における逆方向再生時の
動作を説明するための図
FIG. 11 is a diagram for explaining an operation at the time of reverse reproduction in the conventional example shown in FIG. 7;

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

1 光ディスク媒体 2 データ読み出し回路 3 ビット列記憶メモリ 4 読み出し制御回路 5 復号器 7 ストリーム構造表 8 ストリーム構造解析回路 61,62,63 フレームメモリ 81 ピクチャタイプ判別器 82 復号順カウンタ 83,84 セレクタ 85 スイッチ 86 コアピクチャ用テンポラルメモリ Reference Signs List 1 optical disk medium 2 data read circuit 3 bit string storage memory 4 read control circuit 5 decoder 7 stream structure table 8 stream structure analysis circuit 61, 62, 63 frame memory 81 picture type discriminator 82 decoding order counter 83, 84 selector 85 switch 86 Temporal memory for core pictures

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 5C053 FA24 GB04 GB06 GB08 GB11 GB18 GB21 GB30 GB37 GB40 HA21 HA25 HA33 JA21 JA22 JA24 JA30 KA03 KA04 KA05 KA19 KA20 5C059 KK08 KK11 MA00 MA04 MA05 PP05 PP06 PP07 RB01 RB09 RB15 RC14 RC26 RC31 SS13 SS16 SS18 UA05 UA33 UA36 ──────────────────────────────────────────────────続 き Continued on the front page F-term (reference) SS13 SS16 SS18 UA05 UA33 UA36

Claims (11)

【特許請求の範囲】[Claims] 【請求項1】フレーム間予測符号化方式により符号化さ
れた圧縮ストリームを復号する圧縮ストリーム復号化方
法において、圧縮ストリームの通常再生時に、該圧縮ス
トリームを構成する1群のフレームについて、復号順番
と符号化タイプとを含む情報を該復号順番と符号化タイ
プとで定まる表示順で記憶しておき、特殊再生時には、
前記表示順または、これと逆順に、前記復号順番を参照
し、かつ前記符号化タイプにより適時にスキップしなが
ら、復号していくことを特徴とする圧縮ストリーム復号
化方法。
1. A compressed stream decoding method for decoding a compressed stream coded by an inter-frame predictive coding method, comprising the steps of: Information including the encoding type is stored in a display order determined by the decoding order and the encoding type, and during special playback,
A compressed stream decoding method, characterized in that decoding is performed while referring to the decoding order in the display order or the reverse order, and skipping timely according to the encoding type.
【請求項2】フレーム間予測符号化方式により符号化さ
れた圧縮ストリームを復号する圧縮ストリーム復号化方
法において、 圧縮ストリームを記録している媒体から1群のフレーム
を読み出す手順と、該読み出された1群のフレームをビ
ット列記憶メモリに記憶する手順と、該ビット列記憶メ
モリからフレームを読み出す手順と、該読み出されたフ
レームのうち第1の符号化タイプのフレームのみを復号
する手順と、該復号されたフレームのうち所定のフレー
ムをフレームメモリに記憶する手順と、前記ビット列記
憶メモリから読み出されたフレームのうち第2の符号化
タイプのフレームのみを前記フレームメモリを参照して
復号する手順と、通常再生時に、前記ビット列記憶メモ
リから読み出されたフレームについて、復号順番と符号
化タイプとを含む情報を該復号順番と符号化タイプとで
定まる表示順でストリーム構造表に記憶する手順とを有
し、 また、特殊再生時には、さらに、前記ストリーム構造表
の表示順または、これと逆順に前記復号順番を参照して
前記フレームの読み出しを制御する手順と、前記符号化
タイプにより適時に復号をスキップする手順とを有する
ことを特徴とする圧縮ストリーム復号化方法。
2. A compressed stream decoding method for decoding a compressed stream encoded by an inter-frame predictive encoding method, comprising the steps of: reading a group of frames from a medium recording the compressed stream; Storing the group of frames in the bit string storage memory, reading the frames from the bit string storage memory, decoding only the frames of the first encoding type out of the read frames, A procedure of storing a predetermined frame among the decoded frames in a frame memory, and a procedure of decoding only a frame of a second encoding type among the frames read from the bit string storage memory with reference to the frame memory During normal reproduction, the decoding order and the encoding time of the frame read from the bit string storage memory are determined. And information stored in the stream structure table in a display order determined by the decoding order and the encoding type, and at the time of trick play, the display order of the stream structure table or A method of decoding a compressed stream, comprising: a step of controlling reading of the frame by referring to the decoding order in reverse order; and a step of skipping decoding in a timely manner according to the coding type.
【請求項3】MPEG方式により符号化された圧縮スト
リームを復号する圧縮ストリーム復号化方法において、 圧縮ストリームを記録している記録媒体から連続したG
OP構成のVOBU単位でフレームを読み出す手順と、
該読み出されたVOBU単位のフレームをビット列記憶
メモリに記憶する手順と、該ビット列記憶メモリからフ
レームを読み出す手順と、該読み出されたフレームのう
ちコアピクチャのフレームのみを復号する手順と、該復
号されたフレームのうち最新の3フレームをフレームメ
モリに記憶する手順と、前記ビット列記憶メモリから読
み出されたフレームのうちBピクチャのフレームのみを
前記フレームメモリを参照して復号する手順と、通常再
生時に、前記ビット列記憶メモリから読み出されたフレ
ームについて、復号順番とピクチャタイプとGOP番号
とを含む情報を該復号順番とピクチャタイプとで定まる
表示順でストリーム構造表に記憶する手順とを有し、 また、特殊再生時には、さらに、前記ストリーム構造表
の表示順または、これと逆順に復号順番を参照して前記
フレームの読み出しを制御する手順と、前記符号化タイ
プにより適時に復号をスキップする手順とを有すること
を特徴とする圧縮ストリーム復号化方法。
3. A compressed stream decoding method for decoding a compressed stream encoded according to the MPEG system, comprising the steps of:
A procedure for reading a frame in VOBU units of the OP configuration,
Storing the read VOBU-based frame in the bit string storage memory, reading the frame from the bit string storage memory, decoding only the core picture frame among the read frames, A procedure of storing the latest three frames among the decoded frames in a frame memory, a procedure of decoding only a B picture frame among the frames read from the bit string storage memory with reference to the frame memory, At the time of reproduction, for a frame read from the bit string storage memory, information including a decoding order, a picture type, and a GOP number is stored in a stream structure table in a display order determined by the decoding order and the picture type. During special playback, the display order of the stream structure table or A method for decoding a compressed stream, comprising: a step of controlling reading of the frame by referring to a decoding order in reverse order to the decoding order; and a step of skipping decoding in a timely manner according to the coding type.
【請求項4】前記表示順は、前記ビット列記憶メモリか
ら出力されたフレームがコアピクチャであれば次のコア
ピクチャのフレーム出力まで留保して前記ストリーム構
造表にその情報を書き込み、また前記ビット列記憶メモ
リから出力されたフレームがBピクチャであれば直ちに
前記ストリーム構成表にその情報を書き込むことにより
形成されることを特徴とする請求項3記載の圧縮ストリ
ーム復号化方法。
4. The display order is as follows. If the frame output from the bit string storage memory is a core picture, the information is reserved until the next core picture frame output, and the information is written into the stream structure table. 4. The compressed stream decoding method according to claim 3, wherein if the frame output from the memory is a B picture, the information is formed by immediately writing the information into the stream configuration table.
【請求項5】前記ストリーム構成表に記憶する情報に、
当該GOPに含まれるBピクチャの復号化の際に、他の
GOPのフレームを参照するか否かの別を示すオープン
/クローズ・フラグを含むことを特徴とする請求項3ま
たは請求項4に記載の圧縮ストリーム復号化方法。
5. The information stored in the stream configuration table includes:
5. The decoding method according to claim 3, wherein when decoding a B picture included in the GOP, an open / close flag indicating whether to refer to a frame of another GOP is included. Compressed stream decoding method.
【請求項6】前記VOBU単位の代わりに、GOP単位
でフレームを読み出すことを特徴とする請求項3ないし
請求項5のいずれかに記載の圧縮ストリーム復号化方
法。
6. The compressed stream decoding method according to claim 3, wherein a frame is read in GOP units instead of in VOBU units.
【請求項7】前記特殊再生が逆方向再生であるときは、
前記ストリーム構造表を記憶順と逆順に読み出すことを
特徴とする請求項3ないし請求項6のいずれかに記載の
圧縮ストリーム復号化方法。
7. When the trick play is a reverse play,
7. The compressed stream decoding method according to claim 3, wherein the stream structure table is read in the reverse order of storage order.
【請求項8】前記特殊再生がスキップ再生であるとき
は、前記ストリーム構造表を所定数だけスキップして読
み出すことを特徴とする請求項3ないし請求項7のいず
れかに記載の圧縮ストリーム復号化方法。
8. The compressed stream decoding apparatus according to claim 3, wherein when the trick play is skip playback, the stream structure table is skipped by a predetermined number and read. Method.
【請求項9】フレーム間予測符号化方式により符号化さ
れた圧縮ストリームを復号する圧縮ストリーム復号化装
置において、 圧縮ストリームを記録している記録媒体と、該記録媒体
から1群のフレームを読み出す読み出し手段と、該読み
出された1群のフレームを記憶するビット列記憶手段
と、前記読み出し手段およびビット列記憶手段を制御す
る読み出し制御手段と、前記ビット列記憶手段から読み
出されたフレームを復号する復号手段と、該復号された
フレームのうち第1の符号化タイプの所定のフレームを
記憶し、第2の符号化タイプの前記復号時に参照される
フレームメモリ手段と、通常再生時に、前記ビット列記
憶手段から読み出されたフレームについて、復号順番と
符号化タイプとを含む情報を該復号順番と符号化タイプ
とで定まる表示順で記憶するためのストリーム構造表
と、該記憶の制御を行うストリーム構造解析手段とを有
し、 特殊再生時には、前記読み出し制御手段は、前記ストリ
ーム構造表を表示順または、これと逆順に復号順番を参
照して前記読み出しの制御を行い、また、前記復号手段
は、前記ストリーム構造中の符号化タイプにより適時に
復号をスキップすることを特徴とする圧縮ストリーム復
号化装置。
9. A compressed stream decoding apparatus for decoding a compressed stream encoded by an inter-frame predictive encoding method, comprising: a recording medium on which the compressed stream is recorded; and a group of frames read out from the recording medium. Means, bit string storage means for storing the read group of frames, read control means for controlling the read means and bit string storage means, and decoding means for decoding the frames read from the bit string storage means And a frame memory means for storing a predetermined frame of a first encoding type among the decoded frames, which is referred to at the time of decoding of the second encoding type, and For the read frame, information including the decoding order and the encoding type is defined by the decoding order and the encoding type. A stream structure table for storing the entire data in display order; and a stream structure analysis means for controlling the storage. At the time of trick play, the read control means displays the stream structure table in display order or reverse order. Wherein the decoding control is performed by referring to the decoding order, and the decoding means skips decoding in a timely manner according to an encoding type in the stream structure.
【請求項10】MPEG方式により符号化された圧縮ス
トリームを復号する圧縮ストリーム復号化装置におい
て、 圧縮ストリームを記録している記録媒体と、該記録媒体
から、連続したGOP構成のVOBU単位でフレームを
読み出すデータ読み出し回路と、該読み出されたVOB
U単位のフレームを記憶するビット列記憶メモリと、前
記データ読み出し回路およびビット列記憶メモリを制御
する読み出し制御回路と、前記ビット列記憶メモリから
読み出されたフレームを復号する復号器と、該復号され
たフレームのうちコアピクチャの最新の3フレームを記
憶し、Bタイプのフレームの前記復号時に参照されるフ
レームメモリと、通常再生時に、前記ビット列記憶メモ
リから読み出されたフレームについて、復号順番とピク
チャタイプとGOP番号とを含む情報を該復号順番とピ
クチャタイプとで定まる表示順で記憶するためのストリ
ーム構造表と、該記憶の制御を行うストリーム構造解析
回路とを有し、 特殊再生時には、前記読み出し制御回路は、前記ストリ
ーム構造表を表示順または、これと逆順に復号順番を参
照して前記読み出しの制御を行い、また、前記復号器
は、前記ストリーム構造表中の符号化タイプにより適時
に復号をスキップすることを特徴とする圧縮ストリーム
復号化装置。
10. A compressed stream decoding apparatus for decoding a compressed stream encoded by the MPEG system, comprising: a recording medium on which the compressed stream is recorded; and a frame from the recording medium in units of VOBUs having a continuous GOP structure. A data read circuit to be read, and the read VOB
A bit string storage memory for storing a frame in U units, a read control circuit for controlling the data readout circuit and the bit string storage memory, a decoder for decoding a frame read from the bit string storage memory, and the decoded frame Among the three frames of the core picture stored therein, a frame memory referred to at the time of decoding the B-type frame and a frame read from the bit string storage memory during normal reproduction, the decoding order and the picture type are set. A stream structure table for storing information including a GOP number in a display order determined by the decoding order and the picture type; and a stream structure analysis circuit for controlling the storage. The circuit refers to the decoding order in the display order of the stream structure table or in the reverse order. The compressed stream decoding apparatus according to claim 1, wherein the decoding is controlled by the decoder according to an encoding type in the stream structure table.
【請求項11】前記表示順は、前記ビット列記憶メモリ
から出力されたフレームがコアピクチャであれば次のコ
アピクチャのフレーム出力まで留保して前記ストリーム
構造表にその情報を書き込み、また前記ビット列記憶メ
モリから出力されたフレームがBピクチャであれば直ち
に前記ストリーム構造表にその情報を書き込むことによ
り形成されることを特徴とする請求項10記載の圧縮ス
トリーム復号化装置。
11. The display order is as follows: if the frame output from the bit string storage memory is a core picture, the information is written to the stream structure table while retaining the frame output of the next core picture, and the bit string storage is performed. 11. The compressed stream decoding device according to claim 10, wherein if the frame output from the memory is a B picture, the information is formed by immediately writing the information to the stream structure table.
JP24281698A 1998-08-28 1998-08-28 Compressed stream decoding method and compressed stream decoding device Expired - Fee Related JP3132479B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP24281698A JP3132479B2 (en) 1998-08-28 1998-08-28 Compressed stream decoding method and compressed stream decoding device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP24281698A JP3132479B2 (en) 1998-08-28 1998-08-28 Compressed stream decoding method and compressed stream decoding device

Publications (2)

Publication Number Publication Date
JP2000078523A true JP2000078523A (en) 2000-03-14
JP3132479B2 JP3132479B2 (en) 2001-02-05

Family

ID=17094725

Family Applications (1)

Application Number Title Priority Date Filing Date
JP24281698A Expired - Fee Related JP3132479B2 (en) 1998-08-28 1998-08-28 Compressed stream decoding method and compressed stream decoding device

Country Status (1)

Country Link
JP (1) JP3132479B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002027409A (en) * 2000-05-19 2002-01-25 Thomson Multimedia Sa Method and equipment for decoding video stream with trick mode
JP2005303773A (en) * 2004-04-14 2005-10-27 Nippon Telegr & Teleph Corp <Ntt> Video coding method, video coder, and video coding program and computer-readable recording medium with the program recorded, and video decoding method, video decoder, and video decoding program and computer-readable recording medium with the program recorded
JP2011155577A (en) * 2010-01-28 2011-08-11 Victor Co Of Japan Ltd Moving image reproducing device, moving image reproduction method, and program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002027409A (en) * 2000-05-19 2002-01-25 Thomson Multimedia Sa Method and equipment for decoding video stream with trick mode
JP2005303773A (en) * 2004-04-14 2005-10-27 Nippon Telegr & Teleph Corp <Ntt> Video coding method, video coder, and video coding program and computer-readable recording medium with the program recorded, and video decoding method, video decoder, and video decoding program and computer-readable recording medium with the program recorded
JP2011155577A (en) * 2010-01-28 2011-08-11 Victor Co Of Japan Ltd Moving image reproducing device, moving image reproduction method, and program

Also Published As

Publication number Publication date
JP3132479B2 (en) 2001-02-05

Similar Documents

Publication Publication Date Title
US5768466A (en) Method of and apparatus for reverse playback of a time-division -multiplexed signal
JPH1013791A (en) Video signal decoding method and video signal decoder
US20060104614A1 (en) Method and apparatus for writing information on picture data sections in a data stream and for using the information
KR100614507B1 (en) Encoded video signal formatting
JP2004208319A (en) Method and apparatus of decoding mpeg picture and displaying it in rewind mode, and video driver circuit incorporating such apparatus and decoder box
JP3156597B2 (en) Image information decoding and reproducing apparatus and image information decoding and reproducing method
US6879770B1 (en) Method of reverse playback of a MPEG video stream
JP3798538B2 (en) Data processing apparatus and data recording / reproducing method applied to the same
JP2001126398A (en) Data reproducing device and its method
JP3132479B2 (en) Compressed stream decoding method and compressed stream decoding device
JP3253530B2 (en) Video recording device
JP3093724B2 (en) Moving image data reproducing apparatus and reverse reproducing method of moving image data
JPH11261964A (en) Moving image recording method, reproduction method and device
JPH1169363A (en) Method and device for reproducing source data of digitally coded video film
JP4784466B2 (en) Video information playback method
JP3510782B2 (en) Moving image recording method, reproducing method, editing method and apparatus
JP4072044B2 (en) Moving image recording method
US9330716B2 (en) Apparatus and a record carrier for, and a method of recording a sequence of video data signals
JP3507990B2 (en) Moving image reproducing apparatus and moving image recording / reproducing apparatus
US7502379B2 (en) Disk playback apparatus
JP2004064210A (en) Recording apparatus
JP2004127381A (en) Information reproducing device, information reproducing method, information reproduction program, and information recording medium
JP2000100137A (en) Method and apparatus for data processing
JPH08265750A (en) Picture reproducing device by mpeg system
JP2006253966A (en) Coded data recording apparatus

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees