JPH08223529A - Reverse reproducing device for moving image decoding - Google Patents

Reverse reproducing device for moving image decoding

Info

Publication number
JPH08223529A
JPH08223529A JP2144995A JP2144995A JPH08223529A JP H08223529 A JPH08223529 A JP H08223529A JP 2144995 A JP2144995 A JP 2144995A JP 2144995 A JP2144995 A JP 2144995A JP H08223529 A JPH08223529 A JP H08223529A
Authority
JP
Japan
Prior art keywords
picture
decoding
storage device
address
pictures
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
JP2144995A
Other languages
Japanese (ja)
Other versions
JP2827945B2 (en
Inventor
Hideo Tanaka
英夫 田中
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 JP2144995A priority Critical patent/JP2827945B2/en
Publication of JPH08223529A publication Critical patent/JPH08223529A/en
Application granted granted Critical
Publication of JP2827945B2 publication Critical patent/JP2827945B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T9/00Image coding
    • G06T9/004Predictors, e.g. intraframe, interframe coding

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Television Signal Processing For Recording (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

PURPOSE: To improve the real time performance of the reverse reproduction system and to attain reverse reproduction at all times or at any time. CONSTITUTION: A host CPU block 1 retrieves a GOP start address map in one sequence and transfers a bit stream in the unit of GOP to bit stream storage devices 2a, 2b. A data processor 3 retrieves a picture start address and decoding sequence in the GOP and stores them in an address storage device 4. The bit stream is transferred to a moving image decoder 6 according to the result of retrieval. Each picture start address is indicated by a byte address from a head of the bit stream storage devices 2a, 2b. A 1st GOP decides the decoding sequence and only a start address is retrieved after 2nd and succeeding GOP. Only a core picture in the GOP is decoded in a forward direction as the decoding sequence and then a final B picture is decoded reversely.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は動画像復号化の逆再生装
置に係り、特にMPEG(Moving Pictur
e Coding Experts Group)IS
O/IEC11172−2標準動画像を通常の順方向と
は逆方向に再生する動画像復号化の逆再生装置に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a reverse reproducing apparatus for moving picture decoding, and more particularly to an MPEG (Moving Picture).
e Coding Experts Group) IS
The present invention relates to a reverse playback device for moving picture decoding that plays back an O / IEC 11172-2 standard moving picture in a direction opposite to a normal forward direction.

【0002】[0002]

【従来の技術】従来、MPEG動画像復号化の逆再生装
置は、動画像表示の付加機能である。図9は従来の動画
像復号化におけるピクチャ復号化順序の一例を示す。カ
ラー動画像蓄積用符号化方式の標準であるMPEGで
は、動画の1シーケンスをそれぞれ複数のフレーム(ピ
クチャと呼ぶ)からなる複数のグループ・オブ・ピクチ
ャ(GOP)に分割して符号化を行う。1つのGOP
は、例えばフレーム内符号化画像であるIピクチャと、
過去のフレームから予測するフレーム間符号化画像であ
るPピクチャと、過去と未来の2フレームから予測する
フレーム間符号化画像であるBピクチャとから構成され
る。
2. Description of the Related Art Conventionally, a reverse reproducing apparatus for MPEG moving picture decoding has an additional function of displaying moving pictures. FIG. 9 shows an example of a picture decoding order in conventional moving picture decoding. In MPEG, which is a standard of a coding method for storing a color moving image, one sequence of a moving image is divided into a plurality of groups of pictures (GOP) each composed of a plurality of frames (referred to as a picture) for coding. 1 GOP
Is, for example, an I picture that is an intra-frame encoded image,
It is composed of a P picture which is an inter-frame coded image predicted from a past frame, and a B picture which is an inter-frame coded image predicted from two past and future frames.

【0003】図9(A)は復号化器への上記の符号化を
行われたMPEG標準動画像の入力順序の一例を示す。
同図(A)中、数字は復号化器に入力される順序を示
し、アルファベットはピクチャコーディングタイプ、す
なわち「I」はIピクチャ、「P」はPピクチャ、
「B」はBピクチャであることを示す。
FIG. 9A shows an example of the order of input of the MPEG standard moving picture which has been encoded as described above to a decoder.
In the figure (A), numbers indicate the order of input to the decoder, alphabets are picture coding types, that is, "I" is I picture, "P" is P picture,
“B” indicates a B picture.

【0004】復号化器は、1Iはそのまま取り込み、次
の2PはPピクチャであるから1フレーム前のIピクチ
ャ1Iを参照して復号するため、その復号化中に入力さ
れる次の2レームのBピクチャ3B及び4Bを取り込
み、次のPピクチャ5Pはその前の2Pを参照して復号
する。これにより、復号化器に取り込まれたピクチャ表
示順序は図9(B)に示すようになる。
Since the decoder fetches 1I as it is and the next 2P is a P picture, it decodes by referring to the I picture 1I one frame before, so that the next 2 frames of the next 2P input during decoding are decoded. The B pictures 3B and 4B are fetched, and the next P picture 5P is decoded by referring to the previous 2P. As a result, the picture display order fetched by the decoder is as shown in FIG. 9 (B).

【0005】復号化ピクチャPは、図9(B)のピクチ
ャ表示順序において、過去のコアピクチャ(すなわち、
参照されるピクチャで、Iピクチャ又はPピクチャ)を
参照しながら復号化される。また、復号化ピクチャ3B
及び4Bはその前後の2フレームのコアピクチャを参照
して復号化されるピクチャであるから、図9(B)のピ
クチャ表示順序において、過去のコアピクチャ1Iと未
来のコアピクチャ2Pを参照し、復号化ピクチャ6B及
び7Bはその前後のコアピクチャ2P及び5Pを参照し
て復号化される。
Decoded picture P is a past core picture (that is, in the picture display order of FIG. 9B).
The referred picture is decoded with reference to an I picture or a P picture. Also, the decoded picture 3B
And 4B are pictures that are decoded by referring to the core pictures of the two frames before and after that, refer to the past core picture 1I and the future core picture 2P in the picture display order of FIG. 9B. The decoded pictures 6B and 7B are decoded by referring to the core pictures 2P and 5P before and after them.

【0006】上記の再生順序は順方向の再生順序である
が、逆方向に再生する逆方向再生時には、従来は参照ピ
クチャを必要としない復号化ピクチャIを未来から過去
に向かって検索再生している。
The above-mentioned reproduction order is the forward reproduction order, but in the backward reproduction in which the reproduction is performed in the reverse direction, the decoded picture I which does not conventionally require the reference picture is searched and reproduced from the future to the past. There is.

【0007】[0007]

【発明が解決しようとする課題】従って、従来の逆再生
装置では、復号化ピクチャIの入力フレーム間隔がビッ
トストリームにより異なり、動画像表示時のリアルタイ
ム性に欠けるという問題がある。また、動画像の符号化
時に入力画像を逆再生して従来のビットストリームとし
て生成する方式では、ビットストリームが逆再生専用と
なる。
Therefore, in the conventional reverse reproducing apparatus, there is a problem that the input frame interval of the decoded picture I differs depending on the bit stream and the real time property at the time of displaying a moving image is lacking. Further, in the conventional method in which an input image is reversely reproduced at the time of encoding a moving image to generate a bitstream, the bitstream is exclusively for reverse reproduction.

【0008】本発明は上記の点に鑑みてなされたもの
で、リアルタイム性の向上と動画像表示の付加機能とし
て常時若しくは随時逆再生を行い得る動画像復号化にお
ける逆再生装置を提供することを目的とする。
The present invention has been made in view of the above points, and it is an object of the present invention to provide a reverse reproducing apparatus for decoding a moving image capable of performing reverse reproduction at all times or at any time as an additional function of improving the real-time property and displaying a moving image. To aim.

【0009】[0009]

【課題を解決するための手段】本発明は上記の目的を達
成するため、動画の1シーケンスを複数のピクチャから
なるグループ・オブ・ピクチャ単位で分割して符号化さ
れた動画像の復号化対象ビットストリームを、逆再生要
求を受けて該グループ・オブ・ピクチャ単位で1シーケ
ンス中で時間逆方向に転送する第1の転送手段と、転送
された復号化対象ビットストリームを記憶するビットス
トリーム記憶装置と、ビットストリーム記憶装置に記憶
された復号化対象ビットストリームを、ピクチャ単位で
指示された順で読み出して転送する第2の転送手段と、
他のピクチャの復号化時に参照されるコアピクチャを記
憶するピクチャ記憶装置と、第2の転送手段により転送
された復号化対象ビットストリームを受け、グループ・
オブ・ピクチャ内のコアピクチャのみを順方向に復号化
してピクチャ記憶装置に記憶した後、グループ・オブ・
ピクチャ内のコアピクチャ以外の残りのピクチャについ
ては最終のピクチャから逆方向の順でピクチャ記憶装置
からのコアピクチャを参照して復号化する復号化器と、
復号化器で復号化されたピクチャを表示する表示装置と
を有する構成としたものである。
In order to achieve the above object, the present invention is a decoding target of a moving image encoded by dividing one sequence of a moving image in units of groups of pictures composed of a plurality of pictures. A first transfer unit that receives a reverse reproduction request and transfers the bit stream in a time reverse direction in one sequence in units of the group of pictures, and a bit stream storage device that stores the transferred decoding target bit stream. And second transfer means for reading and transferring the decoding target bitstream stored in the bitstream storage device in the order instructed in picture units,
A picture storage device that stores a core picture that is referred to when another picture is decoded, and a decoding target bit stream transferred by the second transfer unit
Only the core pictures in the of picture are decoded in the forward direction and stored in the picture storage device, and then the group of
A decoder for decoding the remaining pictures other than the core picture in the picture by referring to the core pictures from the picture storage device in the reverse order from the final picture,
The display device displays a picture decoded by the decoder.

【0010】[0010]

【作用】本発明では、逆方向再生要求受け付け時は、復
号化器に時間逆方向の順で復号化対象ビットストリーム
が転送され、グループ・オブ・ピクチャ内のコアピクチ
ャのみを順方向に復号化してピクチャ記憶装置に記憶し
た後、グループ・オブ・ピクチャ内のコアピクチャ以外
の残りのピクチャについては最終のピクチャから逆方向
の順でピクチャ記憶装置からのコアピクチャを参照して
復号化するようにしたため、コアピクチャのみならずコ
アピクチャ以外のピクチャ、すなわちBピクチャについ
ても時間逆方向順で再生することができる。
According to the present invention, when the backward reproduction request is accepted, the decoding target bit stream is transferred to the decoder in the time backward direction, and only the core picture in the group of pictures is forward decoded. After storing in the picture storage device in the picture storage device, the remaining pictures other than the core picture in the group of pictures are decoded by referring to the core pictures from the picture storage device in the reverse order from the last picture. Therefore, not only the core picture but also the pictures other than the core picture, that is, the B picture can be reproduced in the reverse temporal order.

【0011】[0011]

【実施例】次に、本発明の実施例について説明する。図
1は本発明の一実施例のブロック図を示す。本実施例
は、図1に示すように、復号化器に実行命令の発行、及
びプログラム制御により復号化対象ビットストリームの
転送を実行するホスト中央処理装置(CPU)ブロック
1と、復号化対象ビットストリームを記憶する、例えば
FIFOからなるビットストリーム記憶装置2a及び2
bと、ピクチャスタートコードを検索し、アドレスマッ
プの作成及びアドレス検索をするデータ処理装置3と、
アドレスマップを記憶するアドレス記憶装置4と、復号
化器で復号化されたコアピクチャを記憶するピクチャ記
憶装置5と、動画像復号化器6と、画像表示を行う画像
表示装置7とから構成されている。
Next, an embodiment of the present invention will be described. FIG. 1 shows a block diagram of an embodiment of the present invention. In this embodiment, as shown in FIG. 1, a host central processing unit (CPU) block 1 that issues an execution instruction to a decoder and transfers a decoding target bitstream under program control, and a decoding target bit Bitstream storage devices 2a and 2 for storing a stream, for example, a FIFO
b, a data processing device 3 that searches for a picture start code, creates an address map, and searches for an address,
It is composed of an address storage device 4 for storing an address map, a picture storage device 5 for storing a core picture decoded by a decoder, a moving image decoder 6, and an image display device 7 for displaying an image. ing.

【0012】次に、本実施例の概略動作について説明す
る。ホストCPUブロック1からグループ・オブ・ピク
チャ(GOP)単位に転送された復号化対象ビットスト
リームは、ビットストリーム記憶装置2a若しくは2b
に転送される。データ処理装置3は、ビットストリーム
記憶装置2a又は2bに記憶されている1GOP分のビ
ットストリームについて、ビットストリーム記憶装置2
a又は2bの先頭0番地からピクチャスタートコードを
検索し、検索結果番地をピクチャ開始アドレスとしてア
ドレス記憶装置4に転送する。また、データ処理装置3
は、1ピクチャのバイト数を次のピクチャ開始アドレス
との差分演算結果よりアドレス記憶装置4に転送する。
Next, the general operation of this embodiment will be described. The decoding target bitstream transferred from the host CPU block 1 in group of picture (GOP) units is the bitstream storage device 2a or 2b.
Transferred to. The data processing device 3 uses the bitstream storage device 2 for the bitstream of 1 GOP stored in the bitstream storage device 2a or 2b.
The picture start code is searched from the first address 0 of a or 2b, and the search result address is transferred to the address storage device 4 as the picture start address. In addition, the data processing device 3
Transfers the number of bytes of one picture to the address storage device 4 according to the difference calculation result from the next picture start address.

【0013】動画像復号化器6は、データ処理装置3に
復号化対象ビットストリーム転送要求を出力し、これを
受けたデータ処理装置3はアドレス記憶装置4に記憶さ
れた情報を基に、ビットストリーム記憶装置2a若しく
は2bから復号化対象ビットストリームを転送する。動
画像復号化器6は、転送ビットストリームの復号化を実
行し、コアピクチャの場合は、ピクチャ記憶装置5に転
送する。また、動画像復号化器6は、ピクチャコーディ
ングタイプを判別し、画像表示装置7に画像を転送す
る。画像表示装置7は、転送された画像を順に表示す
る。
The moving picture decoder 6 outputs a decoding target bit stream transfer request to the data processing device 3, and the data processing device 3 which received the request outputs the bit stream based on the information stored in the address storage device 4. The decoding target bit stream is transferred from the stream storage device 2a or 2b. The moving picture decoder 6 decodes the transfer bitstream, and in the case of a core picture, transfers it to the picture storage device 5. The moving picture decoder 6 also determines the picture coding type and transfers the image to the image display device 7. The image display device 7 sequentially displays the transferred images.

【0014】次に、図1、図2及び図3を参照して、ホ
ストCPUブロック1からビットストリーム記憶装置2
a若しくは2bに転送する復号化対象ビットストリーム
の転送順序と、ピクチャスタートコード検索順序につい
て説明する。
Next, referring to FIGS. 1, 2 and 3, from the host CPU block 1 to the bitstream storage device 2.
The transfer order of the decoding target bit stream transferred to a or 2b and the picture start code search order will be described.

【0015】図2は復号化対象ビットストリームの転送
動作説明図である。図3はビットストリーム記憶装置2
a及び2bの内部動作説明図である。
FIG. 2 is a diagram for explaining the transfer operation of the decoding target bit stream. FIG. 3 shows the bit stream storage device 2.
It is an internal operation explanatory view of a and 2b.

【0016】ホストCPUブロック1は変数nを初期値
eに設定した後(図2のステップ10)、逆再生要求を
受け付けると(同、ステップ11)、復号化対象ビット
ストリームの1ビデオシーケンス中よりGOPヘッダコ
ードを検索し(同、ステップ12)、GOPアドレスマ
ップファイルを作成する(同、ステップ13)。
After the host CPU block 1 sets the variable n to the initial value e (step 10 in FIG. 2) and then receives the reverse reproduction request (step 11 in the same figure), the host CPU block 1 selects from one video sequence of the bit stream to be decoded. The GOP header code is searched (at the same step 12) and a GOP address map file is created (at the same step 13).

【0017】ホストCPUブロック1は、復号化対策ビ
ットストリームから初期設定としてGOPアドレスマッ
プファイルの最終アドレスに該当するGOP(e)を検
出し(同、ステップ14)、GOP(e)をビットスト
リーム記憶装置2aに転送する(同、ステップ15及び
図3(A))。次に、ホストCPUブロック1は、転送
バンクを切り換え(図2のステップ16)、変数nを1
デクリメントし(同、ステップ17)、GOP(e−
1)をビットストリーム記憶装置2bに転送する(図2
のステップ18及び図3(B))。転送終了後、データ
処理装置3はGOP(e)のピクチャスタートコード検
索(図3(C))を行い、アドレスマップをアドレス記
憶装置4に作成する。以上の初期設定を終了後、逆再生
用復号化を開始する。
The host CPU block 1 detects the GOP (e) corresponding to the final address of the GOP address map file as an initial setting from the decoding countermeasure bitstream (step 14), and stores the GOP (e) in the bitstream. The data is transferred to the device 2a (step 15 and FIG. 3A). Next, the host CPU block 1 switches the transfer bank (step 16 in FIG. 2) and sets the variable n to 1.
Decrement (step 17), GOP (e-
1) is transferred to the bitstream storage device 2b (FIG. 2).
18 and FIG. 3 (B)). After the transfer is completed, the data processing device 3 performs a GOP (e) picture start code search (FIG. 3C) and creates an address map in the address storage device 4. After the above initial settings are completed, decoding for reverse reproduction is started.

【0018】復号化開始後、データ処理装置3はビット
ストリーム記憶装置2aに格納されているGOP(e)
のビットストリームを、アドレス記憶装置4のアドレス
マップに従い、画像復号化器6に転送する(図3
(E))。この間、データ処理装置3はビットストリー
ム記憶装置2bに格納されているGOP(e−1)につ
いてピクチャスタートコード検索(図3(D))を行
い、アドレスマップをアドレス記憶装置4に作成する。
After the decoding is started, the data processing device 3 stores the GOP (e) stored in the bit stream storage device 2a.
Of the bit stream of FIG. 3 is transferred to the image decoder 6 according to the address map of the address storage device 4 (see FIG.
(E)). During this time, the data processing device 3 performs a picture start code search (FIG. 3D) for the GOP (e-1) stored in the bit stream storage device 2b, and creates an address map in the address storage device 4.

【0019】GOP(e)の復号化終了後、データ処理
装置3はビットストリーム転送要求を受けると(ステッ
プ19)、変数nを1デクリメントし(ステップ2
0)、転送バンク切り替えを行い(ステップ21)、ビ
ットストリーム記憶装置2bのGOP(e−1)の復号
化対象ビットストリームを、アドレスマップに従い画像
復号化器6に転送する(図3(F))。この間、ホスト
CPUブロック1はビットストリーム記憶装置2aに対
し、復号化対象ビットストリームGOP(e−2)を転
送する(図2のステップ22、図3(A))。
After the decoding of GOP (e) is completed, the data processing device 3 receives the bitstream transfer request (step 19) and decrements the variable n by 1 (step 2).
0), transfer bank switching is performed (step 21), and the decoding target bit stream of GOP (e-1) of the bit stream storage device 2b is transferred to the image decoder 6 according to the address map (FIG. 3 (F)). ). During this time, the host CPU block 1 transfers the decoding target bitstream GOP (e-2) to the bitstream storage device 2a (step 22 in FIG. 2, FIG. 3A).

【0020】転送されたビットストリームGOP(e−
2)は、データ処理装置3において直ちにピクチャスタ
ートコード検索を行い(図3(C))アドレスマップを
アドレス記憶装置4に作成する。続いて、データ転送装
置3は転送されたビットストリームがGOP(1)であ
るか否か判定し(図2のステップ23)、GOP(1)
の転送が終了するまで上記のステップ19〜23の処理
が繰り返される。
The transferred bit stream GOP (e-
In 2), a picture start code search is immediately performed in the data processing device 3 (FIG. 3C), and an address map is created in the address storage device 4. Then, the data transfer device 3 determines whether the transferred bit stream is GOP (1) (step 23 in FIG. 2), and GOP (1).
The processing of steps 19 to 23 described above is repeated until the transfer of is completed.

【0021】次に、図4を参照して動画像復号化器6に
よるピクチャ処理順序について説明する。いま、動画像
復号化器6に図4(A)に示す順序のピクチャ群(ビッ
トストリーム)が入力されるものとする。ここで、同図
(A)中、数字は順方向再生時の表示されるべきフレー
ムの順序を表しており、また、アルファベットはピクチ
ャコーディングタイプを表している。また、後述の図4
(B)〜(I)中、nBx、nIx及びnPxの数字
「n」は、順方向再生時の表示されるべきフレームの順
序、B、I及びPはピクチャーコーディングタイプで、
それぞれBピクチャ、Iピクチャ及びPピクチャである
ことを示し、また、数字「x」はGOPグループを示
す。
Next, the picture processing sequence by the moving picture decoder 6 will be described with reference to FIG. Now, it is assumed that a picture group (bit stream) in the order shown in FIG. 4A is input to the moving picture decoder 6. Here, in FIG. 9A, numbers represent the order of frames to be displayed during forward reproduction, and alphabets represent picture coding types. Also, FIG.
In (B) to (I), the numbers “n” of nBx, nIx, and nPx are the order of frames to be displayed during forward playback, and B, I, and P are picture coding types.
They are B picture, I picture and P picture, respectively, and the number “x” indicates a GOP group.

【0022】一般的にGOPは1GOP中のフレーム
(ピクチャ)数Nが「15」前後、コアピクチャのフレ
ーム周期Mが「3」(すなわち、コアピクチャとコアピ
クチャとの間のBピクチャの数が「2」)の構成である
から、1GOP中のコアピクチャ数は5枚前後となる。
また、コアピクチャのビット量は990kビット一定で
ある。従って、本実施例では、ピクチャ記憶装置5の記
憶容量を8Mビットとし、1バンクを1Mビットとする
ことにより、最大コアピクチャ8枚まで記憶可能とす
る。
Generally, in a GOP, the number N of frames (pictures) in one GOP is around "15" and the frame period M of the core picture is "3" (that is, the number of B pictures between the core picture and the core picture is Since the configuration is “2”), the number of core pictures in one GOP is around five.
Further, the bit amount of the core picture is constant at 990 kbits. Therefore, in this embodiment, by setting the storage capacity of the picture storage device 5 to 8 Mbits and setting one bank to 1 Mbits, a maximum of 8 core pictures can be stored.

【0023】通常、ピクチャ記憶装置5は2バンク構成
で復号化の動作が可能であるが、逆再生では1GOP中
のコアピクチャ分のバンク数が必要となる。これは、M
PEG標準のピクチャ構造上避けられない問題である。
従って、本実施例では、逆再生にピクチャ記憶装置5の
5バンクを使用し、それぞれのバンクの記憶ピクチャを
図4(E)〜(I)にそれぞれ示す。
Normally, the picture storage device 5 is capable of decoding operation with a two-bank configuration, but reverse reproduction requires a number of banks corresponding to the core pictures in one GOP. This is M
This is an unavoidable problem due to the picture structure of the PEG standard.
Therefore, in this embodiment, 5 banks of the picture storage device 5 are used for reverse reproduction, and the stored pictures in each bank are shown in FIGS. 4 (E) to 4 (I).

【0024】動画像復号化器6は、ピクチャ処理順序と
しては始めにGOP中のコアピクチャのみを順方向に復
号化し、その後に同一のGOP中の最終Bピクチャから
逆方向に復号化する。
In the picture processing order, the moving picture decoder 6 first decodes only the core picture in the GOP in the forward direction, and then decodes the last B picture in the same GOP in the backward direction.

【0025】すなわち、動画像復号化器6は、図4
(B)に示すように、ビットストリーム記憶装置2aか
ら読み出されたコアピクチャ2I1、5P1、8P1、
11P1及び14P1を順次に復号すると共に、同図
(E)〜(I)に示すようにピクチャ記憶装置5の5つ
のバンクに順次に格納する。次に、動画像復号化器6
は、図4(B)に示すように、ビットストリーム記憶装
置2aから時間的に逆方向に読み出されて入力されるB
ピクチャ13B1と12B1を、ピクチャ記憶装置5に
記憶したその前後のフレームの11P1(図4(H))
と14P1(図4(I))を参照して復号化してこれら
を画像表示装置7へ供給して図4(D)に示すように表
示させる。
That is, the moving picture decoder 6 is shown in FIG.
As shown in (B), the core pictures 2I1, 5P1, 8P1, read from the bitstream storage device 2a,
11P1 and 14P1 are sequentially decoded, and are sequentially stored in five banks of the picture storage device 5 as shown in FIGS. Next, the moving picture decoder 6
B is read out from the bit stream storage device 2a in the temporally reverse direction and inputted as shown in FIG. 4 (B).
Pictures 13B1 and 12B1 are stored in the picture storage device 5 before and after the preceding frame 11P1 (FIG. 4 (H))
And 14P1 (FIG. 4 (I)) to decode them and supply them to the image display device 7 to display them as shown in FIG. 4 (D).

【0026】従って、まずピクチャ13B1の画像が表
示され、続いてピクチャ12B1の画像が表示される。
従って、逆再生表示順序における次の復号化対象はピク
チャ11P1であるが、既に復号化処理が終了して図4
(H)に示したようにピクチャ記憶装置5に記憶されて
いる。従って、この間図4(B)に示すように、ビット
ストリーム記憶装置2aからのピクチャに対しては1ピ
クチャ分復号化停止状態となる。
Therefore, the image of the picture 13B1 is first displayed, and then the image of the picture 12B1 is displayed.
Therefore, the next decoding target in the reverse reproduction display order is the picture 11P1.
It is stored in the picture storage device 5 as shown in (H). Therefore, during this period, as shown in FIG. 4B, the decoding from the picture from the bit stream storage device 2a is stopped for one picture.

【0027】そこで、動画像復号化器6はこの期間では
ピクチャ記憶装置5からのピクチャ11P1の復号デー
タを画像表示装置7へ出力して表示させる(図4
(D))と共に、表示に影響しない次のGOPのコアピ
クチャ2I2をビットストリーム記憶装置2bから読み
出して復号化し(図4(C))、その復号結果をコアピ
クチャの役目を終えたピクチャ14P1を格納している
ピクチャ記憶装置5の5番目のバンクに上書きする(図
4(I))。
Therefore, the moving picture decoder 6 outputs the decoded data of the picture 11P1 from the picture storage device 5 to the image display device 7 for display during this period (FIG. 4).
Along with (D)), the core picture 2I2 of the next GOP that does not affect the display is read from the bitstream storage device 2b and decoded (FIG. 4C), and the decoding result is converted into the picture 14P1 that has finished the role of the core picture. The fifth bank of the stored picture storage device 5 is overwritten (FIG. 4 (I)).

【0028】次に、動画像復号化器6はビットストリー
ム記憶装置2aからピクチャ10B1及び9B1を順次
に読み出して(図4(B))、上記と同様にピクチャ記
憶装置5に記憶したその前後のフレームの8P1(図4
(G))と11P1(図4(H))を参照して復号化し
てこれらを画像表示装置7へ供給して図4(D)に示す
ように表示させる。
Next, the moving picture decoder 6 sequentially reads out the pictures 10B1 and 9B1 from the bit stream storage device 2a (FIG. 4 (B)), and stores them in the picture storage device 5 in the same manner as before and after that. 8P1 of the frame (Fig. 4
(G)) and 11P1 (FIG. 4 (H)) are decoded and these are supplied to the image display device 7 to be displayed as shown in FIG. 4 (D).

【0029】逆再生表示順序における次の復号化対象は
ピクチャ8P1であるが、既に復号化処理が終了して図
4(G)に示したようにピクチャ記憶装置5に記憶され
ている。従って、この間図4(B)に示すように、ビッ
トストリーム記憶装置2aからのピクチャに対しては1
ピクチャ分復号化停止状態となる。
The next object to be decoded in the reverse reproduction display order is the picture 8P1, which has already been decoded and is stored in the picture storage device 5 as shown in FIG. Therefore, during this period, as shown in FIG. 4B, 1 is set for the picture from the bit stream storage device 2a.
The decoding for the picture is stopped.

【0030】そこで、動画像復号化器6はこの期間では
ピクチャ記憶装置5からのピクチャ8P1の復号データ
を画像表示装置7へ出力して表示させる(図4(D))
と共に、表示に影響しない次のGOPのコアピクチャ5
P2をビットストリーム記憶装置2bから読み出して復
号化し(図4(C))、その復号結果をコアピクチャの
役目を終えたピクチャ11P1を格納しているピクチャ
記憶装置5の4番目のバンクに上書きする(図4
(H))。以下、上記と同様の動作が繰り返される。
Therefore, the moving picture decoder 6 outputs the decoded data of the picture 8P1 from the picture storage device 5 to the image display device 7 for display during this period (FIG. 4 (D)).
Together with the core picture 5 of the next GOP that does not affect the display
P2 is read from the bitstream storage device 2b and decoded (FIG. 4 (C)), and the decoding result is overwritten on the fourth bank of the picture storage device 5 storing the picture 11P1 that has finished the role of the core picture. (Fig. 4
(H)). Thereafter, the same operation as above is repeated.

【0031】ここで、図4(D)に示したように逆再生
表示順序においてピクチャ14P1、ピクチャ1B1、
ピクチャ1B0及びピクチャ14P2が非表示となる
が、ピクチャ14P1及び14P2は、順方向復号化の
場合、次のコアピクチャ復号化時に再生される。逆方向
再生時では、ピクチャ14P2が先頭で表示不可能とな
る。
Here, as shown in FIG. 4D, the picture 14P1, picture 1B1,
The picture 1B0 and the picture 14P2 are hidden, but the pictures 14P1 and 14P2 are reproduced at the next core picture decoding in the case of forward decoding. During backward reproduction, the picture 14P2 cannot be displayed at the beginning.

【0032】一方、ピクチャ1B1及び0B1は、現在
のGOP構成がクローズドGOP(closed GO
P)ではなく、逆再生時には正確に復号化ができない。
従って、図4(D)に示すように、あるGOPから次の
GOPのピクチャの再生の間3ピクチャ期間、静止画状
態が生じる(ピクチャ2I1の画像が4フレーム連続し
て表示される)。なお、GOP構成がクローズドGOP
の場合は、各GOPの間1ピクチャ期間静止画状態が生
じる。
On the other hand, for pictures 1B1 and 0B1, the current GOP structure is closed GOP (closed GO).
P), but cannot be correctly decoded during reverse reproduction.
Therefore, as shown in FIG. 4D, a still picture state occurs during the reproduction of the picture of one GOP to the next GOP for three picture periods (the picture of the picture 2I1 is continuously displayed for four frames). The GOP structure is a closed GOP.
, A still picture state occurs for one picture period during each GOP.

【0033】次に、図5を参照してアドレス検索方法に
ついて説明する。図5は、データ処理装置3のアドレス
検索動作説明用フローチャートを示す。各ピクチャ開始
アドレスは、ビットストリーム記憶装置2a若しくは2
bの先頭を0番地とし、バイトアドレスで示す。ビット
ストリーム転送がGOP単位により、0番地には必ずG
OPスタートコードの先頭バイトが位置し、従って、ピ
クチャスタートコード(16進数の”0000010
0”)の検索は5番地以降で行う。
Next, the address search method will be described with reference to FIG. FIG. 5 shows a flowchart for explaining the address search operation of the data processing device 3. Each picture start address is the bitstream storage device 2a or 2
The beginning of b is address 0, and is indicated by a byte address. Bitstream transfer is GOP unit, so there is always G at address 0.
The first byte of the OP start code is located, and accordingly, the picture start code (hexadecimal "0000010") is located.
The search for "0") is performed from the 5th address onward.

【0034】一方、GOPのピクチャ出現順序は、1ビ
デオシーケンス中で一定であると予測する。第1GOP
で復号化順序を決定し、第2GOP以降はピクチャスタ
ートコードのみを検索する。その結果各GOPの検索時
間は短縮される。
On the other hand, the GOP picture appearance order is predicted to be constant in one video sequence. First GOP
The decoding order is determined by, and only the picture start code is searched after the second GOP. As a result, the search time for each GOP is shortened.

【0035】MPEG標準ビットストリームがバイトア
ライン構成により、バイト単位の検索が可能である。各
レイアヘッダコードは、32ビット固定長で、20ビッ
トの0ビットが存在する。ピクチャスタートコードの場
合、バイトアラインを保つ方法として、スタッフィング
ビット(stuffing bit)である0ビットが
20ビット以上挿入されている場合がある。そこで、ピ
クチャスタートコードの検索は、ビットストリーム中で
20ビット以上の連続した0ビットを検索することで実
現可能である。
Since the MPEG standard bit stream has a byte-aligned structure, it is possible to search in byte units. Each layer header code has a fixed length of 32 bits and 20 bits of 0 bits exist. In the case of a picture start code, 20 or more stuffing bits (0 bits) may be inserted as a method of maintaining byte alignment. Therefore, the search for the picture start code can be realized by searching for consecutive 0 bits of 20 bits or more in the bitstream.

【0036】検索開始後、データ処理装置3は内部の各
レジスタ、カウンタ及びフラグの初期設定を行う(ステ
ップ31)。このレジスタやカウンタとしては、ビット
ストリーム記憶装置アドレスカウンタ、ピクチャスター
トコードアドレス指定レジスタ、バイトデータカウンタ
などがあり、またフラグにはヘッダ検索フラグがある。
また、上記の初期設定により、逆再生時の次のピクチャ
の開始アドレスが0にセットされ、1ピクチャのバイト
長が0にセットされる。
After the search is started, the data processor 3 initializes the internal registers, counters and flags (step 31). The registers and counters include a bitstream storage device address counter, a picture start code addressing register, and a byte data counter, and the flags include a header search flag.
Further, according to the above initial setting, the start address of the next picture at the time of reverse reproduction is set to 0, and the byte length of 1 picture is set to 0.

【0037】次に、ビットストリーム記憶装置2a又は
2bから1バイトのビットストリームデータを読み出し
(ステップ32)、アドレスカウンタを1インクリメン
トする。この動作を5バイト分行い、GOPヘッダ情報
を削除する(ステップ33、32)。次に、アドレスカ
ウンタが5番地に達したことが検出されると(ステップ
33)、ピクチャスタートコード検索を開始する。
Next, 1-byte bit stream data is read from the bit stream storage device 2a or 2b (step 32), and the address counter is incremented by 1. This operation is performed for 5 bytes and the GOP header information is deleted (steps 33 and 32). Next, when it is detected that the address counter has reached the address 5 (step 33), the picture start code search is started.

【0038】検索手順としては、まず、ヘッダの先頭部
分である2バイトの0ビットを検索する(ステップ34
〜37)。次に、ヘッダの3バイト目が16進数の「0
1」であるかどうかを検索する(ステップ38、3
9)。検索された場合には、ヘッダフラグを「1」に設
定する(ステップ40)。ヘッダの3バイト目が16進
数の「01」でない時には、ステップ38からステップ
46に進み、ピクチャアドレス、ゼロカウンタ及びヘッ
ダフラグをそれぞれリセットする。
As a search procedure, first, 0 bits of 2 bytes which is the head part of the header are searched (step 34).
~ 37). Next, the 3rd byte of the header is hexadecimal "0".
1 ”is searched (steps 38, 3)
9). If found, the header flag is set to "1" (step 40). When the third byte of the header is not "01" in hexadecimal, the process proceeds from step 38 to step 46, and the picture address, zero counter and header flag are reset.

【0039】ステップ40でヘッダフラグを「1」に設
定されたときには、次にステップ32、33、34を経
由してステップ41に進み、次の1バイトデータが16
進数の「00」であるかいなか判定される。「00」で
ないときにはステップ46に進み上記のピクチャアドレ
ス、ゼロカウンタ及びヘッダフラグをそれぞれリセット
する。一方、「00」であるときには、ピクチャスター
トコードが検索されたと判断し、ヘッダコード検索終了
となる。
When the header flag is set to "1" in step 40, the process proceeds to step 41 via steps 32, 33 and 34, and the next 1-byte data is 16
It is determined whether or not it is a decimal number "00". If it is not "00", the process proceeds to step 46, and the picture address, the zero counter and the header flag are reset. On the other hand, when the value is "00", it is determined that the picture start code has been searched, and the header code search ends.

【0040】ピクチャスタートコードが検索された場合
は、ピクチャ開始アドレスとしてスタートコード(32
ビット)の先頭アドレスをピクチャアドレスレジスタに
設定する(ステップ42)。次に、最初のGOP検索中
であるかどうか判定され(ステップ43)、最初のGO
P検索中であれば、スタートコードに続くテンポラルリ
ファレンスコード、ピクチャコーディグタイプ及び現在
のピクチャのバイト長、更に次のピクチャ開始アドレス
を、アドレス記憶装置4に転送する(ステップ44)。
When the picture start code is retrieved, the start code (32
The start address of (bit) is set in the picture address register (step 42). Next, it is judged whether the first GOP is being searched (step 43), and the first GO is searched.
If P is being searched, the temporal reference code following the start code, the picture coding type, the byte length of the current picture, and the next picture start address are transferred to the address storage device 4 (step 44).

【0041】最初のGOPでないときには、ピクチャ開
始アドレス及びバイト長データのみをアドレス記憶装置
4に転送する(ステップ45)。ステップ44又は45
のアドレス記憶装置4へのデータ転送後、ピクチャアド
レス、ゼロカウンタ及びヘッダフラグをそれぞれリセッ
トし(ステップ46)、GOP中の全ピクチャスタート
コード検索終了か否かの判別を行う(ステップ47)。
検索未終了のときはGOP中の全ピクチャスタートコー
ドが検索されるまで、上記のステップ31〜46の処理
によりこれ以降のピクチャスタートコード検索が繰り返
される。
If it is not the first GOP, only the picture start address and byte length data are transferred to the address storage device 4 (step 45). Step 44 or 45
After the data is transferred to the address storage device 4, the picture address, the zero counter and the header flag are reset (step 46), and it is determined whether or not the search of all picture start codes in the GOP is completed (step 47).
When the search is not completed, the subsequent picture start code searches are repeated by the processing of steps 31 to 46 until all the picture start codes in the GOP are searched.

【0042】次に、データ処理装置3によるアドレスマ
ップ作成方法について、図6及び図7と共に説明する。
図6は、データ処理装置3のアドレスマップ作成レジス
タの構成動作図、図7は、アドレス記憶装置4の内部構
成図を示す。アドレス記憶装置4は、ピクチャコーディ
ングタイプ、ピクチャ開始アドレス及び次のピクチャ開
始アドレス、更にピクチャのバイト長を各ピクチャ毎に
記憶する。アドレス記憶装置4に転送されるデータで、
現在のバイト長と次のピクチャ開始アドレスは、アドレ
スマップ作成時に算出される。
Next, a method of creating an address map by the data processing device 3 will be described with reference to FIGS. 6 and 7.
FIG. 6 shows a configuration operation diagram of the address map creation register of the data processing device 3, and FIG. 7 shows an internal configuration diagram of the address storage device 4. The address storage device 4 stores the picture coding type, the picture start address, the next picture start address, and the byte length of the picture for each picture. Data transferred to the address storage device 4,
The current byte length and the next picture start address are calculated when the address map is created.

【0043】ピクチャコーディングタイプの取得及び次
のピクチャ開始アドレスの演算は、ピクチャスタートコ
ード確定直後の10ビットのテンポラルリファレンスコ
ード及び3ビットのピクチャコーディングタイプから算
出される。図6において、テンポラルリファレンスコー
ドの上位8ビット51は第1のレジスタ54に入力さ
れ、テンポラルリファレンスコードの下位2ビットと3
ビットのピクチャコーディングタイプからなる5ビット
52は第2のレジスタ55に入力され、ピクチャ開始ア
ドレス53は第3のレジスタ56に入力される。
The acquisition of the picture coding type and the calculation of the next picture start address are calculated from the 10-bit temporal reference code and the 3-bit picture coding type immediately after the decision of the picture start code. In FIG. 6, the upper 8 bits 51 of the temporal reference code are input to the first register 54, and the lower 2 bits and 3 of the temporal reference code are input.
The 5 bits 52 of the picture coding type of bits are input to the second register 55, and the picture start address 53 is input to the third register 56.

【0044】第1のレジスタ54に記憶された8ビット
のうちの下位3ビットと、第2のレジスタ55に記憶さ
れた5ビットのうちの上位2ビット、すなわちテンポラ
ルリファレンスコードの下位5ビット57は、第4のレ
ジスタ59に入力される。また、第2のレジスタ55に
記憶された5ビットのうちの下位3ビット、すなわちピ
クチャコーディングタイプと第3のレジスタ56に記憶
された17ビットのピクチャ開始アドレスからなる20
ビット58は、40ビットの第5のレジスタ60の上位
20ビットに入力される。
The lower 3 bits of the 8 bits stored in the first register 54 and the upper 2 bits of the 5 bits stored in the second register 55, that is, the lower 5 bits 57 of the temporal reference code are , And is input to the fourth register 59. Further, the lower 3 bits of the 5 bits stored in the second register 55, that is, the picture coding type and the 17-bit picture start address stored in the third register 56
Bit 58 is input to the upper 20 bits of the 40-bit fifth register 60.

【0045】ここで、ピクチャコーディングタイプから
コアピクチャを判別した場合、第4のレジスタ62のテ
ンポラルリファレンスコードの下位5ビットが第6のレ
ジスタ62へ転送される。次のピクチャ開始アドレスの
設定データは、現在のアドレス記憶装置4上での図7に
示すアドレス66に対し、67で示すように相対アドレ
スで設定する。設定方法は、ピクチャコーディングタイ
プIを判別したときには第4のレジスタ59の内容がオ
ール「0」であるときには次のピクチャ開始アドレスと
してアドレス記憶装置4に+1を設定する。これは、テ
ンポラルリファレンスコードが0より現在のGOP構成
をIピクチャ、Pピクチャ、Bピクチャ、、、、と予測
する。従って、次に復号化を行うピクチャは、アドレス
記憶装置4内で次の番地に設定されるPピクチャである
ことを意味する。
Here, when the core picture is discriminated from the picture coding type, the lower 5 bits of the temporal reference code of the fourth register 62 are transferred to the sixth register 62. The setting data of the next picture start address is set as a relative address as indicated by 67 with respect to the address 66 shown in FIG. 7 on the current address storage device 4. As for the setting method, when the picture coding type I is discriminated, when the contents of the fourth register 59 are all "0", +1 is set in the address storage device 4 as the next picture start address. This predicts the current GOP structure from the temporal reference code of 0 as an I picture, P picture, B picture, .... Therefore, the picture to be decoded next is a P picture set at the next address in the address storage device 4.

【0046】テンポラルリファレンスコードが0以外の
ときにはアドレス記憶装置4の設定データ+1のピクチ
ャアドレスが次のピクチャ開始アドレスとなる。動画像
復号化器6に入力されるビットストリームオーダを図7
(A)に示すものとすると、ピクチャ2Iの次は3ピク
チャ未来のピクチャ5Pの復号化を行う。
When the temporal reference code is other than 0, the picture address of the setting data + 1 of the address storage device 4 becomes the next picture start address. FIG. 7 shows the bitstream order input to the moving picture decoder 6.
In the case shown in (A), the picture 5I, which follows the picture 2I, is decoded by the picture 5P that is three pictures in the future.

【0047】一方、ピクチャコーディングタイプPを判
別した場合は、GOPの最終ピクチャであれば次のピク
チャ開始アドレスとして−1をアドレス記憶装置4に設
定する。これは、GOPの最終構成をBピクチャ、Bピ
クチャ、、Pピクチャと予測し、従って、次に復号化を
行うピクチャはアドレス記憶装置4内で直前の番地に設
定したBピクチャとなる。
On the other hand, when the picture coding type P is determined, if it is the last picture of the GOP, -1 is set in the address storage device 4 as the next picture start address. This predicts the final structure of the GOP as a B picture, a B picture, and a P picture. Therefore, the picture to be decoded next is the B picture set at the immediately preceding address in the address storage device 4.

【0048】GOPの最終ピクチャ以外のピクチャで
は、GOP中に存在するPピクチャの最終Pピクチャの
場合(図7(A)のビットストリームオーダのピクチャ
14Pに相当)、次のピクチャ開始アドレスは、第4の
レジスタ59の内容から第6のレジスタ62の内容を差
し引き更にこれより「1」を差し引いた値に設定する。
図7(A)のビットストリームオーダのピクチャ14P
では、第6のレジスタ62には、ピクチャ11Pが設定
されており、従って次のピクチャ開始アドレスに「−
4」を設定する。このとき、次の復号化ピクチャはピク
チャ7Bとなる。
For the pictures other than the last picture of the GOP, in the case of the last P picture of the P pictures existing in the GOP (corresponding to the picture 14P of the bit stream order in FIG. 7A), the next picture start address is the first picture. The contents of the sixth register 62 are subtracted from the contents of the register 59 of No. 4, and "1" is subtracted from this.
Picture 14P in the bitstream order of FIG.
Then, the picture 11P is set in the sixth register 62, so that the next picture start address is "-".
4 ”is set. At this time, the next decoded picture is the picture 7B.

【0049】更に、Pピクチャで前記の2つの場合のい
ずれにも該当しない場合は、第4のレジスタ59の内容
から第6のレジスタ62の内容を差し引いた結果を次の
ピクチャ開始アドレスに設定する。
Further, when the P picture does not correspond to either of the above two cases, the result of subtracting the content of the sixth register 62 from the content of the fourth register 59 is set to the next picture start address. .

【0050】次に、ピクチャコーディングタイプBピク
チャを判別した場合は、GOPの最初のピクチャであれ
ば、次のピクチャ開始アドレスは「0」を設定する。こ
れは、復号化順序がGOP構成で、最後の復号化ピクチ
ャを示す(図7(A)のビットストリームオーダのピク
チャ0Bに相当)。一方、コアピクチャの直後のBピク
チャの場合は、次のピクチャ開始アドレスは「−2」を
設定する(図7(A)のビットストリームオーダのピク
チャ3B、6B、9B、12Bに相当)。更にBピクチ
ャで上記の2つの場合のいずれにも該当しない場合は、
次のピクチャ開始アドレスは「−1」を設定する。
Next, when the picture coding type B picture is discriminated, if it is the first picture of the GOP, the next picture start address is set to "0". This indicates that the decoding order is the GOP structure and indicates the last decoded picture (corresponding to picture 0B in the bitstream order in FIG. 7A). On the other hand, in the case of the B picture immediately after the core picture, the next picture start address is set to "-2" (corresponding to the pictures 3B, 6B, 9B and 12B in the bit stream order in FIG. 7A). Furthermore, if the B picture does not correspond to either of the above two cases,
The next picture start address is set to "-1".

【0051】次に、現在のピクチャのバイト長設定の方
法について説明するに、設定値は1ピクチャ分のバイト
数を設定し、動画像復号化器6へ復号化対象ビットスト
リームを転送する場合に使用する。このデータは、図6
の第5のレジスタ60及び第7のレジスタ63のピクチ
ャアドレスの差61から求める。レジスタ60は、現在
検索を行ったピクチャ情報が格納され、レジスタ63に
は直前のデータが格納される。
Next, the method for setting the byte length of the current picture will be described. When the number of bytes for one picture is set as the set value and the bit stream to be decoded is transferred to the moving picture decoder 6, use. This data is shown in Figure 6.
It is calculated from the difference 61 between the picture addresses of the fifth register 60 and the seventh register 63. The register 60 stores the picture information currently searched, and the register 63 stores the immediately preceding data.

【0052】実際に、復号化対象ビットストリームをピ
クチャ単位でビットストリーム記憶装置2a若しくは2
bから動画像復号化器6へ転送する場合、最初にアドレ
ス記憶装置4のアドレス0番地からピクチャ開始アドレ
ス2Iを読み出し、対応するビットストリーム記憶装置
2a若しくは2bのアドレスからバイト長分データを転
送する。次に、転送する復号化対象ビットストリーム
は、アドレス3番地のピクチャ開始アドレス5Pよりバ
イト長に従いデータ転送を行う。以下、アドレス6、ア
ドレス9、アドレス12、アドレス14、アドレス1
3、アドレス11、...、アドレス4、アドレス2、
アドレス1まで処理を繰り返す。
Actually, the bit stream to be decoded is stored in the bit stream storage device 2a or 2 in picture units.
When transferring from b to the video decoder 6, the picture start address 2I is first read from the address 0 of the address storage device 4, and the byte length data is transferred from the corresponding address of the bit stream storage device 2a or 2b. . Next, the decoding target bit stream to be transferred is transferred from the picture start address 5P at the address 3 according to the byte length. Below, address 6, address 9, address 12, address 14, address 1
3, address 11 ,. . . , Address 4, address 2,
The process is repeated up to address 1.

【0053】次に、図8を参照して復号化命令の実行方
法を説明する。図8は命令要求に対する復号化動作説明
図を示す。同図(A)は順方向再生時のGOPの順番を
示す。また、同図(B)は本実施例による逆方向再生時
の順番を示す。逆再生命令実行の基本処理は、GOP単
位に復号化を行う。復号化を逆再生で開始した場合、最
終GOPから順に逆再生を行う。
Next, a method of executing a decoding instruction will be described with reference to FIG. FIG. 8 shows a decryption operation explanatory diagram for a command request. FIG. 9A shows the order of GOPs during forward reproduction. Further, FIG. 3B shows the order of reverse reproduction according to this embodiment. The basic process for executing the reverse reproduction command is to perform decoding for each GOP. When decoding is started by reverse reproduction, reverse reproduction is sequentially performed from the last GOP.

【0054】一方、順方向再生の途中の図8(A)に7
1で示すタイミングで逆再生コマンドが発行された場合
は、本実施例は同図(B)に示すように、逆再生要求受
け付け時の再生ピクチャが含まれる第4GOPよりも順
方向再生において時間的に一つ手前の第3GOPのコア
ピクチャからの復号化を実行することとなり、第3GO
Pより逆再生が行われることになる。順方向再生に戻る
場合は、図8(B)に示す如く例えば第1GOP逆再生
中のタイミング72で再生コマンドが発行されると、1
つ後の第2GOPから順方向の再生が行われることとな
る。
On the other hand, in the middle of the forward reproduction, as shown in FIG.
When the reverse reproduction command is issued at the timing indicated by 1, the present embodiment temporally reproduces the forward reproduction from the fourth GOP including the reproduction picture when the reverse reproduction request is received, as shown in FIG. The decoding from the core picture of the immediately preceding third GOP is executed, and the third GO
Reverse playback will be performed from P. In the case of returning to the forward reproduction, if a reproduction command is issued at the timing 72 during the first GOP reverse reproduction, as shown in FIG.
The reproduction in the forward direction is performed from the second GOP after that.

【0055】[0055]

【発明の効果】以上説明したように、本発明によれば、
コアピクチャのみならずコアピクチャ以外のピクチャ、
すなわちBピクチャについても時間逆方向順で再生する
ことができるため、Iピクチャのみを時間逆方向順で再
生していた従来装置に比べて予測効率が向上するので逆
方向再生画像のリアルタイム性を大幅に向上することが
できる。また、本発明では、逆方向再生要求を受け付け
ることにより、逆方向再生動作を行うようにしたため、
常時若しくは随時に逆再生ができる。
As described above, according to the present invention,
Not only core pictures but pictures other than core pictures,
That is, since B pictures can also be reproduced in the reverse temporal order, the prediction efficiency is improved as compared with a conventional apparatus that reproduces only I pictures in the reverse temporal direction, and the real-time property of the reverse reproduced image is greatly improved. Can be improved. Further, in the present invention, since the reverse reproduction operation is performed by receiving the reverse reproduction request,
Reverse playback is possible at all times or at any time.

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

【図1】本発明の一実施例のブロック図である。FIG. 1 is a block diagram of one embodiment of the present invention.

【図2】復号化対象ビットストリームの転送動作説明用
フローチャートである。
FIG. 2 is a flowchart for explaining a transfer operation of a decoding target bitstream.

【図3】ビットストリーム記憶装置の動作説明図であ
る。
FIG. 3 is an operation explanatory diagram of a bitstream storage device.

【図4】1GOP中のピクチャ処理順序説明図である。FIG. 4 is an explanatory diagram of a picture processing order in 1 GOP.

【図5】図1中のデータ処理装置のアドレス検索動作説
明用フローチャートである。
5 is a flowchart for explaining an address search operation of the data processing device in FIG.

【図6】図1の要部のアドレスマップ作成レジスタの動
作説明図である。
FIG. 6 is an operation explanatory diagram of an address map creation register which is a main part of FIG. 1;

【図7】図1のアドレス記憶装置の内部構成図である。7 is an internal block diagram of the address storage device of FIG. 1. FIG.

【図8】復号化命令の実行方法の説明図である。FIG. 8 is an explanatory diagram of a method of executing a decryption instruction.

【図9】従来のピクチャ復号化順序の一例を示す図であ
る。
FIG. 9 is a diagram showing an example of a conventional picture decoding order.

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

1 ホストCPUブロック 2a、2b ビットストリーム記憶装置 3 データ処理装置 4 アドレス記憶装置 5 ピクチャ記憶装置 6 動画像復号化器 7 画像表示装置 54〜56、59、60、62、63 レジスタ 1 host CPU block 2a, 2b bit stream storage device 3 data processing device 4 address storage device 5 picture storage device 6 moving image decoder 7 image display device 54 to 56, 59, 60, 62, 63 registers

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 動画の1シーケンスを複数のピクチャか
らなるグループ・オブ・ピクチャ単位で分割して符号化
された動画像の復号化対象ビットストリームを、逆再生
要求を受けて該グループ・オブ・ピクチャ単位で1シー
ケンス中で時間逆方向に転送する第1の転送手段と、 該転送された復号化対象ビットストリームを記憶するビ
ットストリーム記憶装置と、 該ビットストリーム記憶装置に記憶された復号化対象ビ
ットストリームを、前記ピクチャ単位で指示された順で
読み出して転送する第2の転送手段と、 他のピクチャの復号化時に参照されるコアピクチャを記
憶するピクチャ記憶装置と、 前記第2の転送手段により転送された前記復号化対象ビ
ットストリームを受け、前記グループ・オブ・ピクチャ
内の前記コアピクチャのみを順方向に復号化して該ピク
チャ記憶装置に記憶した後、該グループ・オブ・ピクチ
ャ内のコアピクチャ以外の残りのピクチャについては最
終のピクチャから逆方向の順で該ピクチャ記憶装置から
のコアピクチャを参照して復号化する復号化器と、 該復号化器で復号化されたピクチャを表示する表示装置
とを有することを特徴とする動画像復号化の逆再生装
置。
1. A decoding target bitstream of a moving image encoded by dividing one sequence of a moving image in units of groups of pictures composed of a plurality of pictures, and receiving the reverse reproduction request, the groups of First transfer means for transferring in a backward direction in time in one sequence on a picture-by-picture basis, a bitstream storage device for storing the transferred decoding target bitstream, and a decoding target stored in the bitstream storage device Second transfer means for reading out and transferring a bitstream in the order instructed in the picture unit; a picture storage device for storing a core picture referred to when decoding another picture; and the second transfer means. Receives the decoding target bitstream transferred by the above, and orders only the core picture in the group of pictures. After decoding in the forward direction and storing in the picture storage device, for the remaining pictures other than the core picture in the group of pictures, refer to the core pictures from the picture storage device in reverse order from the last picture. And a decoding device for decoding and performing decoding, and a display device for displaying a picture decoded by the decoding device.
【請求項2】 前記ビットストリーム記憶装置は2バン
ク構成であり、前記第2の転送手段は、該ビットストリ
ーム記憶装置から読み出した復号化対象ビットストリー
ムに含まれるピクチャスタートコードを検索してアドレ
スマップを作成する手段と、作成された該アドレスマッ
プを記憶するアドレス記憶装置と、該アドレス記憶装置
に記憶された該アドレスマップに従って前記復号化対象
ビットストリームをピクチャ単位で前記ビットストリー
ム記憶装置から読み出し出力する出力手段とからなるこ
とを特徴とする請求項1記載の動画像復号化の逆再生装
置。
2. The bitstream storage device has a two-bank configuration, and the second transfer means searches for a picture start code included in a decoding target bitstream read from the bitstream storage device and searches for an address map. Means for creating the address map, an address storage device for storing the created address map, and the decoding target bit stream is read out from the bit stream storage device in picture units according to the address map stored in the address storage device and output. 2. The reverse reproducing apparatus for moving picture decoding according to claim 1, further comprising:
【請求項3】 前記ピクチャ記憶装置は5バンクに分割
され、前記グループ・オブ・ピクチャ単位で前記コアピ
クチャを記憶することを特徴とする請求項1記載の動画
像復号化の逆再生装置。
3. The reverse decoding device for moving picture decoding according to claim 1, wherein the picture storage device is divided into 5 banks, and the core pictures are stored in units of the group of pictures.
【請求項4】 前記復号化器は、順方向再生の途中で前
記第1の転送手段が逆再生要求を受け付けたときは、逆
再生要求受け付け時の再生ピクチャが含まれるグループ
・オブ・ピクチャよりも順方向再生において時間的に一
つ手前のグループ・オブ・ピクチャのコアピクチャから
の復号化を実行することを特徴とする請求項1記載の動
画像復号化の逆再生装置。
4. The decoder, when the first transfer means receives a reverse reproduction request during forward reproduction, selects a group of pictures including a reproduction picture at the time of receiving the reverse reproduction request. 2. The reverse reproduction apparatus for moving picture decoding according to claim 1, wherein decoding is performed from the core picture of the immediately preceding group of picture in forward reproduction.
【請求項5】 前記第2の転送手段は、逆方向再生を行
う最初のグループ・オブ・ピクチャの各ピクチャの情報
に基づき前記復号化器の復号化順序を決定し、2番目以
降のグループ・オブ・ピクチャの各ピクチャはピクチャ
スタートコードのみを検索することを特徴とする請求項
1又は2記載の動画像復号化の逆再生装置。
5. The second transfer means determines the decoding order of the decoder based on the information of each picture of the first group of pictures to be reproduced in the reverse direction, and determines the decoding order of the second and subsequent groups. 3. The reverse reproducing apparatus for moving picture decoding according to claim 1, wherein each picture of the of picture retrieves only a picture start code.
JP2144995A 1995-02-09 1995-02-09 Reverse playback device for video decoding Expired - Lifetime JP2827945B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2144995A JP2827945B2 (en) 1995-02-09 1995-02-09 Reverse playback device for video decoding

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2144995A JP2827945B2 (en) 1995-02-09 1995-02-09 Reverse playback device for video decoding

Publications (2)

Publication Number Publication Date
JPH08223529A true JPH08223529A (en) 1996-08-30
JP2827945B2 JP2827945B2 (en) 1998-11-25

Family

ID=12055282

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2144995A Expired - Lifetime JP2827945B2 (en) 1995-02-09 1995-02-09 Reverse playback device for video decoding

Country Status (1)

Country Link
JP (1) JP2827945B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012039247A (en) * 2010-08-04 2012-02-23 Mitsubishi Electric Corp Image and sound reproduction device and image and sound reproduction method

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08130707A (en) * 1994-10-31 1996-05-21 Graphics Commun Lab:Kk Picture signal processor

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08130707A (en) * 1994-10-31 1996-05-21 Graphics Commun Lab:Kk Picture signal processor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012039247A (en) * 2010-08-04 2012-02-23 Mitsubishi Electric Corp Image and sound reproduction device and image and sound reproduction method

Also Published As

Publication number Publication date
JP2827945B2 (en) 1998-11-25

Similar Documents

Publication Publication Date Title
JP3351757B2 (en) Digital recording and playback device
EP0790739B1 (en) Digital video signal
JP3662129B2 (en) Multimedia information editing device
JP3330797B2 (en) Moving image data storage method and moving image data decoding method
CN100508585C (en) Apparatus and method for controlling reverse-play for digital video bit stream
US8437404B2 (en) Implementation of a DV video decoder with a VLIW processor and a variable length decoding unit
GB2321154A (en) Reverse playback of MPEG video
JP2000032388A (en) Method and device for recording and reproducing of video and/or audio signal
JP2001204032A (en) Mpeg decoder
JP3156597B2 (en) Image information decoding and reproducing apparatus and image information decoding and reproducing method
JP2006157873A (en) Data processing system, reproduction apparatus and method, computer, program, and storage medium
CN107231578A (en) The system and method that video file is quickly played
JP2827945B2 (en) Reverse playback device for video decoding
KR100268485B1 (en) Method for decoding mpeg video data
JP2001285877A (en) Device and method for decoding compression encoding data
EP1058265A1 (en) Method and apparatus for reverse playback of a digital data stream
US7502379B2 (en) Disk playback apparatus
JP2004096474A (en) Reproducing method and system of moving picture data
JP2000050208A (en) Image reproduction method
JP2001103427A (en) Compressed image reproducing device and program recording medium
JP3607312B2 (en) Image reproducing apparatus and method
JP4288534B2 (en) Encoded data decoding apparatus and encoded data decoding method
JP3880597B2 (en) Multimedia information editing device
JP3880596B2 (en) Multimedia information editing device
JPH09219838A (en) Mpeg video reproducing device and its method