JP2827945B2 - Reverse playback device for video decoding - Google Patents

Reverse playback device for video decoding

Info

Publication number
JP2827945B2
JP2827945B2 JP2144995A JP2144995A JP2827945B2 JP 2827945 B2 JP2827945 B2 JP 2827945B2 JP 2144995 A JP2144995 A JP 2144995A JP 2144995 A JP2144995 A JP 2144995A JP 2827945 B2 JP2827945 B2 JP 2827945B2
Authority
JP
Japan
Prior art keywords
picture
bit stream
storage device
pictures
decoding
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.)
Expired - Lifetime
Application number
JP2144995A
Other languages
Japanese (ja)
Other versions
JPH08223529A (en
Inventor
英夫 田中
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
Nippon Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
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)

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 playback apparatus for decoding moving pictures, and more particularly to an MPEG (moving picture).
e Coding Experts Group) IS
The present invention relates to a video decoding reverse reproduction apparatus that reproduces an O / IEC 111722-2 standard moving image 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 reproduction apparatus for decoding MPEG moving images has an additional function of displaying moving images. FIG. 9 shows an example of a picture decoding order in the conventional moving picture decoding. In MPEG, which is a standard of the encoding system for storing a color moving image, one sequence of a moving image is divided into a plurality of groups of pictures (GOPs) each composed of a plurality of frames (called a picture) and encoded. One GOP
Is, for example, an I picture which is an intra-frame coded 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 an input order of the MPEG standard moving picture which has been encoded as described above to a decoder.
In FIG. 9A, the numbers indicate the order of input to the decoder, the alphabet is the picture coding type, that is, “I” is an I picture, “P” is a 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 captures 1I as it is and the next 2P is a P picture, it decodes with reference to the I picture 1I one frame before. Therefore, the next 2 frames of the next 2 frames input during the decoding are decoded. The B pictures 3B and 4B are fetched, and the next P picture 5P is decoded with reference to the preceding 2P. Thus, the picture display order taken into 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を参照し
て復号化される。
[0005] The decoded picture P is composed of a past core picture (that is, a past picture in the picture display order of FIG. 9B).
It is decoded with reference to a referenced picture (I picture or P picture). Also, the decoded picture 3B
And 4B are pictures that are decoded with reference to the core pictures of the two frames before and after them, and in the picture display order of FIG. 9B, refer to the past core picture 1I and the future core picture 2P, The decoded pictures 6B and 7B are decoded with reference to the preceding and succeeding core pictures 2P and 5P.

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

【0007】[0007]

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

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

【0009】[0009]

【課題を解決するための手段】本発明は上記の目的を達
成するため、動画の1シーケンスを複数のピクチャから
なるグループ・オブ・ピクチャ単位で分割して符号化さ
れた動画像の復号化対象ビットストリームを、逆再生要
求を受けて該グループ・オブ・ピクチャ単位で1シーケ
ンス中で時間逆方向に転送する第1の転送手段と、転送
された復号化対象ビットストリームを記憶する2バンク
構成のビットストリーム記憶装置と、ビットストリーム
記憶装置に記憶された復号化対象ビットストリームを、
ピクチャ単位で指示された順で読み出して転送する第2
の転送手段と、他のピクチャの復号化時に参照されるコ
アピクチャを記憶するピクチャ記憶装置と、第2の転送
手段により転送された復号化対象ビットストリームを受
け、グループ・オブ・ピクチャ内のコアピクチャのみを
順方向に復号化してピクチャ記憶装置に記憶した後、グ
ループ・オブ・ピクチャ内のコアピクチャ以外の残りの
ピクチャについては最終のピクチャから逆方向の順でピ
クチャ記憶装置からのコアピクチャを参照して復号化す
る復号化器と、復号化器で復号化されたピクチャを表示
する表示装置とを有し、第2の転送手段は、ビットスト
リーム記憶装置から読み出した復号化対象ビットストリ
ームに含まれるピクチャスタートコードを検索してアド
レスマップを作成する手段と、作成されたアドレスマッ
プを記憶するアドレス記憶装置と、アドレス記憶装置に
記憶されたアドレスマップに従って復号化対象ビットス
トリームをピクチャ単位でビットストリーム記憶装置か
ら読み出し出力する出力手段とからなる構成としたもの
である。
SUMMARY OF THE INVENTION In order to achieve the above object, the present invention provides a method for decoding a moving image encoded by dividing one sequence of a moving image into groups of pictures consisting of a plurality of pictures. First transfer means for transferring a bit stream in a time-reverse direction in one sequence in units of the group of pictures in response to a reverse reproduction request, and two banks for storing the transferred bit stream to be decoded
A bit stream storage device having a configuration, and a decoding target bit stream stored in the bit stream storage device,
Second to read and transfer in the order specified in picture units
Transfer means, a picture storage device for storing a core picture referred to when decoding another picture, and a decoding target bit stream transferred by the second transfer means, and a core in the group of pictures After decoding only the pictures in the forward direction and storing them in the picture storage device, the remaining pictures other than the core pictures in the group of pictures are replaced with the core pictures from the picture storage device in the reverse order from the last picture. possess a decoder for decoding with reference, and a display device for displaying the decoded picture in the decoder, the second transfer means, Bittosuto
Bit stream to be decoded read from the stream storage device
Search for the picture start code included in the
Address map and the created address map.
Address storage device for storing the
Bits to be decoded according to the stored address map
Whether the stream is a bitstream storage in picture units
And output means for reading out and outputting the data .

【0010】[0010]

【作用】本発明では、逆方向再生要求受け付け時は、復
号化器に時間逆方向の順で復号化対象ビットストリーム
が転送され、グループ・オブ・ピクチャ内のコアピクチ
ャのみを順方向に復号化してピクチャ記憶装置に記憶し
た後、グループ・オブ・ピクチャ内のコアピクチャ以外
の残りのピクチャについては最終のピクチャから逆方向
の順でピクチャ記憶装置からのコアピクチャを参照して
復号化するようにしたため、コアピクチャのみならずコ
アピクチャ以外のピクチャ、すなわちBピクチャについ
ても時間逆方向順で再生することができる。
According to the present invention, when a backward reproduction request is accepted, the bit stream to be decoded is transferred to the decoder in the time reverse order, and only the core picture in the group of pictures is decoded in the forward direction. After storing 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 picture from the picture storage device in the reverse order from the last picture. Therefore, not only the core picture but also a picture other than the core picture, that is, a B picture can be reproduced in the temporal reverse 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 one 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 bit stream to be decoded under program control, Bit stream storage devices 2a and 2 for storing streams, for example comprising FIFO
b, a data processing device 3 for searching for a picture start code, creating an address map and searching for an address,
It comprises 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 images. 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 bit stream to be decoded transferred from the host CPU block 1 in units of groups of pictures (GOP) is stored in the bit stream storage device 2a or 2b.
Is forwarded to The data processing device 3 converts the bit stream for one GOP stored in the bit stream storage device 2a or 2b into the bit stream storage device 2a or 2b.
A picture start code is searched from the first address a or 2b, and the search result address is transferred to the address storage device 4 as a picture start address. In addition, the data processing device 3
Transfers the number of bytes of one picture to the address storage device 4 based on the result of the difference operation with the next picture start address.

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

【0015】図2は復号化対象ビットストリームの転送
動作説明図である。図3はビットストリーム記憶装置2
a及び2bの内部動作説明図である。
FIG. 2 is an explanatory diagram of the transfer operation of the bit stream to be decoded. FIG. 3 shows a 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 setting the variable n to an initial value e (step 10 in FIG. 2), the host CPU block 1 receives a reverse reproduction request (step 11 in FIG. 2), and then starts from one video sequence of the bit stream to be decoded. A GOP header code is searched (step 12 in the same), and a GOP address map file is created (step 13 in the same).

【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 a GOP (e) corresponding to the last address of the GOP address map file as an initial setting from the decoding countermeasure bit stream (step 14), and stores the GOP (e) in the bit stream. 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
The value is decremented (step 17 in the same manner), and the GOP (e-
1) is transferred to the bit stream storage device 2b (FIG. 2).
Step 18 and FIG. 3 (B)). After the transfer is completed, the data processing device 3 searches for a picture start code of GOP (e) (FIG. 3C), and creates an address map in the address storage device 4. After finishing the above initial setting, 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 start of decoding, the data processing device 3 sets the GOP (e) stored in the bit stream storage device 2a.
Is transferred to the image decoder 6 according to the address map of the address storage device 4 (FIG. 3).
(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, when the data processing device 3 receives the bit stream transfer request (step 19), the data processing device 3 decrements the variable n by 1 (step 2).
0), the transfer bank is switched (step 21), and the bit stream to be decoded of GOP (e-1) in 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 bit stream GOP (e-2) to the bit stream 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. Subsequently, the data transfer device 3 determines whether the transferred bit stream is GOP (1) (Step 23 in FIG. 2), and GOP (1).
Until the transfer is completed, the processing of steps 19 to 23 is repeated.

【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 order by the moving picture decoder 6 will be described with reference to FIG. Now, it is assumed that a group of pictures (bit stream) in the order shown in FIG. Here, in FIG. 3A, the numbers represent the order of frames to be displayed during forward reproduction, and the alphabets represent picture coding types. In addition, FIG.
In (B) to (I), the numbers “n” of nBx, nIx, and nPx are the order of frames to be displayed during forward playback, B, I, and P are picture coding types,
A B picture, an I picture and a P picture are shown, respectively, and the number “x” shows a GOP group.

【0022】一般的にGOPは1GOP中のフレーム
(ピクチャ)数Nが「15」前後、コアピクチャのフレ
ーム周期Mが「3」(すなわち、コアピクチャとコアピ
クチャとの間のBピクチャの数が「2」)の構成である
から、1GOP中のコアピクチャ数は5枚前後となる。
また、コアピクチャのビット量は990kビット一定で
ある。従って、本実施例では、ピクチャ記憶装置5の記
憶容量を8Mビットとし、1バンクを1Mビットとする
ことにより、最大コアピクチャ8枚まで記憶可能とす
る。
In general, the number 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 core pictures is one). Since the configuration is “2”), the number of core pictures in one GOP is about five.
The bit amount of the core picture is constant at 990 k bits. Therefore, in the present embodiment, the storage capacity of the picture storage device 5 is set to 8M bits, and one bank is set to 1M bits, so that up to eight core pictures can be stored.

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

【0024】動画像復号化器6は、ピクチャ処理順序と
しては始めにGOP中のコアピクチャのみを順方向に復
号化し、その後に同一のGOP中の最終Bピクチャから
逆方向に復号化する。
As a 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 reverse 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 configured as shown in FIG.
As shown in (B), the core pictures 2I1, 5P1, 8P1, and
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
As shown in FIG. 4 (B), B is read out from the bit stream storage device 2a in a temporally reverse direction and input.
The pictures 13B1 and 12B1 are stored in the picture storage device 5 and 11P1 of the preceding and succeeding frames (FIG. 4 (H)).
4P1 (see FIG. 4 (I)) and 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, first, the image of the picture 13B1 is 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, but the decoding process has already been completed and
It is stored in the picture storage device 5 as shown in (H). Accordingly, as shown in FIG. 4B, decoding of one picture from the bit stream storage device 2a is stopped.

【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 and displays it in this period (FIG. 4).
At the same time as (D)), the core picture 2I2 of the next GOP that does not affect the display is read from the bit stream storage device 2b and decoded (FIG. 4C), and the decoding result is converted to 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 2a (FIG. 4B), and stores the pictures 10B1 and 9B1 before and after the pictures 10B1 and 9B1 are stored in the picture storage 5 in the same manner as described above. 8P1 of the frame (FIG. 4
(G)) and 11P1 (FIG. 4 (H)) and decode them, and supply them to the image display device 7 to display them as shown in FIG. 4 (D).

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

【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 and displays it in this period (FIG. 4 (D)).
And the core picture 5 of the next GOP that does not affect the display
P2 is read from the bit stream storage device 2b and decoded (FIG. 4C), and the decoding result is overwritten on the fourth bank of the picture storage device 5 storing the picture 11P1 that has finished serving as a core picture. (FIG. 4
(H)). Hereinafter, the same operation as described above is repeated.

【0031】ここで、図4(D)に示したように逆再生
表示順序においてピクチャ14P1、ピクチャ1B1、
ピクチャ1B0及びピクチャ14P2が非表示となる
が、ピクチャ14P1及び14P2は、順方向復号化の
場合、次のコアピクチャ復号化時に再生される。逆方向
再生時では、ピクチャ14P2が先頭で表示不可能とな
る。
Here, as shown in FIG. 4D, picture 14P1, picture 1B1,.
Although the picture 1B0 and the picture 14P2 are not displayed, in the case of the forward decoding, the pictures 14P1 and 14P2 are reproduced at the time of decoding the next core picture. At the time of reverse 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, in the pictures 1B1 and 0B1, the current GOP structure is a closed GOP (closed GOP).
Instead of P), accurate decoding cannot be performed during reverse playback.
Therefore, as shown in FIG. 4 (D), a still picture state occurs for three picture periods during the reproduction of the picture of one GOP from the next GOP (the picture of picture 2I1 is displayed continuously for four frames). Note that the GOP configuration is a closed GOP
In the case of, 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, an address search method will be described with reference to FIG. FIG. 5 is a flowchart for explaining an address search operation of the data processing device 3. Each picture start address is stored in the bit stream storage device 2a or 2
The head of b is set to address 0, and is indicated by a byte address. Bit stream transfer is performed in GOP units, and G is always
The first byte of the OP start code is located, and accordingly, the picture start code (hexadecimal “0000010”) is set.
The search for 0 ") is performed at the address 5 or later.

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

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

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

【0037】次に、ビットストリーム記憶装置2a又は
2bから1バイトのビットストリームデータを読み出し
(ステップ32)、アドレスカウンタを1インクリメン
トする。この動作を5バイト分行い、GOPヘッダ情報
を削除する(ステップ33、32)。次に、アドレスカ
ウンタが5番地に達したことが検出されると(ステップ
33)、ピクチャスタートコード検索を開始する。
Next, one byte of bit stream data is read from the bit stream storage device 2a or 2b (step 32), and the address counter is incremented by one. 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 address 5 (step 33), a 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 bit of 2 bytes which is the head of the header is searched (step 34).
~ 37). Next, the third byte of the header is “0” in hexadecimal.
"1" (steps 38, 3
9). If found, the header flag is set to "1" (step 40). If the third byte of the header is not "01" in hexadecimal, the process proceeds from step 38 to step 46, where the picture address, the zero counter, and the 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
It is determined whether the value is a decimal number "00". If it is not "00", the flow advances to step 46 to reset the picture address, the zero counter, and the header flag. On the other hand, if it is "00", it is determined that the picture start code has been searched, and the search for the header code ends.

【0040】ピクチャスタートコードが検索された場合
は、ピクチャ開始アドレスとしてスタートコード(32
ビット)の先頭アドレスをピクチャアドレスレジスタに
設定する(ステップ42)。次に、最初のGOP検索中
であるかどうか判定され(ステップ43)、最初のGO
P検索中であれば、スタートコードに続くテンポラルリ
ファレンスコード、ピクチャコーディグタイプ及び現在
のピクチャのバイト長、更に次のピクチャ開始アドレス
を、アドレス記憶装置4に転送する(ステップ44)。
When the picture start code is searched, the start code (32) is set as the picture start address.
) Is set in the picture address register (step 42). Next, it is determined whether or not the first GOP search is being performed (step 43).
If the P search is being performed, 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 transfer 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 has been completed (step 47).
If the search has not been completed, the subsequent picture start code search is repeated by the processing in steps 31 to 46 until all 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.
FIG. 6 is a configuration operation diagram of the address map creation register of the data processing device 3, and FIG. 7 is an internal configuration diagram of the address storage device 4. The address storage device 4 stores a picture coding type, a picture start address, a next picture start address, and a picture byte length for each picture. Data transferred to the address storage device 4,
The current byte length and the next picture start address are calculated when creating the address map.

【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 immediately after the picture start code is determined and the 3-bit picture coding type. 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
The five bits 52 of the bit picture coding type 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, , The fourth register 59. In addition, the lower 3 bits of the 5 bits stored in the second register 55, that is, the picture coding type and the picture start address of 17 bits stored in the third register 56, 20
Bit 58 is input to the upper 20 bits of a 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 determined 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 shown by 67 with respect to the address 66 shown in FIG. When the picture coding type I is determined, 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 as an I picture, a P picture, a B picture,... With a temporal reference code of 0. Therefore, the picture to be decoded next is a P picture set to 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 in the address storage device 4 becomes the next picture start address. The bit stream order input to the moving picture decoder 6 is shown in FIG.
Assuming that it is as shown in (A), decoding of picture 5P, which is three pictures future after picture 2I, is performed.

【0047】一方、ピクチャコーディングタイプPを判
別した場合は、GOPの最終ピクチャであれば次のピク
チャ開始アドレスとして−1をアドレス記憶装置4に設
定する。これは、GOPの最終構成をBピクチャ、Bピ
クチャ、、Pピクチャと予測し、従って、次に復号化を
行うピクチャはアドレス記憶装置4内で直前の番地に設
定したBピクチャとなる。
On the other hand, when the picture coding type P is determined, if the picture 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 configuration of the GOP as a B picture, a B picture, and a P picture. Therefore, the next picture to be decoded is the B picture set at the address immediately before 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となる。
In a picture other than the last picture of the GOP, in the case of the last P picture of the P picture existing in the GOP (corresponding to the bit stream order picture 14P in FIG. 7A), the next picture start address is The content of the sixth register 62 is subtracted from the content of the fourth register 59, and a value obtained by subtracting "1" from the content is set.
The picture 14P of the bit stream order shown in FIG.
Then, the picture 11P is set in the sixth register 62, and therefore, the next picture start address is set to “−”.
4 ”is set. At this time, the next decoded picture is picture 7B.

【0049】更に、Pピクチャで前記の2つの場合のい
ずれにも該当しない場合は、第4のレジスタ59の内容
から第6のレジスタ62の内容を差し引いた結果を次の
ピクチャ開始アドレスに設定する。
If the P picture does not correspond to any of the above two cases, the result of subtracting the contents of the sixth register 62 from the contents of the fourth register 59 is set as 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 determined, 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 a GOP configuration and indicates the last decoded picture (corresponding to picture 0B in the bit stream order in FIG. 7A). On the other hand, in the case of a B picture immediately after the core picture, the next picture start address is set to “−2” (corresponding to the bit stream order pictures 3B, 6B, 9B, and 12B in FIG. 7A). If the B picture does not correspond to any 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, a method of setting the byte length of the current picture will be described. In the case where the set value is set to the number of bytes for one picture and the bit stream to be decoded is transferred to the moving picture decoder 6, use. This data is shown in FIG.
From the picture address difference 61 between the fifth register 60 and the seventh register 63. The register 60 stores the picture information of the currently searched picture, 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まで処理を繰り返す。
The bit stream to be decoded is actually stored in the bit stream storage device 2a or 2
b, the picture start address 2I is first read from the address 0 of the address storage device 4, and data corresponding to the byte length is transferred from the address of the corresponding bit stream storage device 2a or 2b. . Next, the data stream to be transferred is transferred from the picture start address 5P at address 3 in accordance with the byte length. Hereinafter, 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 is a view for explaining a decoding operation in response to an instruction request. FIG. 3A shows the order of GOPs during forward reproduction. FIG. 7B shows the order in the reverse reproduction according to the present embodiment. In the basic process of executing the reverse reproduction command, decoding is performed in GOP units. When decoding is started by reverse reproduction, reverse reproduction is performed sequentially from the last GOP.

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

【0055】[0055]

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

【図面の簡単な説明】[Brief description of the 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 bit stream to be decoded.

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

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

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

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

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

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

【図9】従来のピクチャ復号化順序の一例を示す図であ
る。
FIG. 9 is a diagram illustrating 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 レジスタ DESCRIPTION OF SYMBOLS 1 Host CPU block 2a, 2b Bit stream storage device 3 Data processing device 4 Address storage device 5 Picture storage device 6 Video decoder 7 Image display device 54-56, 59, 60, 62, 63 Register

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 動画の1シーケンスを複数のピクチャか
らなるグループ・オブ・ピクチャ単位で分割して符号化
された動画像の復号化対象ビットストリームを、逆再生
要求を受けて該グループ・オブ・ピクチャ単位で1シー
ケンス中で時間逆方向に転送する第1の転送手段と、 該転送された復号化対象ビットストリームを記憶する
バンク構成のビットストリーム記憶装置と、 該ビットストリーム記憶装置に記憶された復号化対象ビ
ットストリームを、前記ピクチャ単位で指示された順で
読み出して転送する第2の転送手段と、 他のピクチャの復号化時に参照されるコアピクチャを記
憶するピクチャ記憶装置と、 前記第2の転送手段により転送された前記復号化対象ビ
ットストリームを受け、前記グループ・オブ・ピクチャ
内の前記コアピクチャのみを順方向に復号化して該ピク
チャ記憶装置に記憶した後、該グループ・オブ・ピクチ
ャ内のコアピクチャ以外の残りのピクチャについては最
終のピクチャから逆方向の順で該ピクチャ記憶装置から
のコアピクチャを参照して復号化する復号化器と、 該復号化器で復号化されたピクチャを表示する表示装置
とを有し、前記第2の転送手段は、前記ビットストリー
ム記憶装置から読み出した復号化対象ビットストリーム
に含まれるピクチャスタートコードを検索してアドレス
マップを作成する手段と、作成された該アドレスマップ
を記憶するアドレス記憶装置と、該アドレス記憶装置に
記憶された該アドレスマップに従って前記復号化対象ビ
ットストリームをピクチャ単位で前記ビットストリーム
記憶装置から読み出し出力する出力手段とからなること
を特徴とする動画像復号化の逆再生装置。
1. A decoding target bit stream of a moving image, which is obtained by dividing one sequence of a moving image into groups of pictures each including a plurality of pictures, upon receiving a reverse reproduction request, 2 which stores the first transfer means for transferring the time in the opposite direction in one sequence in a picture-by-picture basis, the decoded bit stream the transfer
A bit stream storage device having a bank configuration, second transfer means for reading and transferring the decoding target bit stream stored in the bit stream storage device in the order specified by the picture unit, and decoding other pictures A picture storage device for storing a core picture to be referred to at the time of decoding, and receiving the decoding target bit stream transferred by the second transfer means, and forwardly moving only the core picture in the group of pictures. After decoding 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 picture from the picture storage device in the reverse order from the last picture. a decoder for decoding, and a display device for displaying the decoded picture in the decoding equalizer possess, the first 2 means for transferring the bit stream
Target bit stream read from the system storage device
Search for the picture start code contained in the
Means for creating a map, and the created address map
And an address storage device for storing
The decoding target video is stored in accordance with the stored address map.
The bit stream in units of pictures.
A reverse playback apparatus for decoding moving pictures, comprising: output means for reading and outputting from a storage device .
【請求項2】 前記第2の転送手段は、逆方向再生を行
う最初のグループ・オブ・ピクチャの各ピクチャの情報
に基づき前記復号化器の復号化順序を決定し、2番目以
降のグループ・オブ・ピクチャの各ピクチャはピクチャ
スタートコードのみを検索することを特徴とする請求項
1記載の動画像復号化の逆再生装置。
2. The apparatus according to claim 1, wherein said second transfer means performs reverse reproduction.
Information of each picture of the first group of pictures
The decoding order of the decoder is determined based on
Each picture in the descending group of pictures is a picture
2. The reverse playback apparatus according to claim 1, wherein only the start code is searched .
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 JPH08223529A (en) 1996-08-30
JP2827945B2 true 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)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5589654B2 (en) * 2010-08-04 2014-09-17 三菱電機株式会社 Video / audio playback device and video / audio playback method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3034173B2 (en) * 1994-10-31 2000-04-17 株式会社グラフィックス・コミュニケーション・ラボラトリーズ Image signal processing device

Also Published As

Publication number Publication date
JPH08223529A (en) 1996-08-30

Similar Documents

Publication Publication Date Title
JP3330797B2 (en) Moving image data storage method and moving image data decoding method
EP0790739B1 (en) Digital video signal
JP3351757B2 (en) Digital recording and playback device
US6332003B1 (en) Moving image composing system
US8437404B2 (en) Implementation of a DV video decoder with a VLIW processor and a variable length decoding unit
US6389171B1 (en) Method and apparatus for a digital video cassette (DVC) decode system
CN1280741A (en) Method and apparatus for video-on-demand with fast play capability
CN106303379A (en) A kind of video file backward player method and system
GB2321154A (en) Reverse playback of MPEG video
JPH0918870A (en) Timing detection circuit and method
JPH0530454A (en) Recording medium and its search method
JP2001204032A (en) Mpeg decoder
JP2827945B2 (en) Reverse playback device for video decoding
JP3061125B2 (en) MPEG image reproducing apparatus and MPEG image reproducing method
KR100268485B1 (en) Method for decoding mpeg video data
US8948263B2 (en) Read/write separation in video request manager
JP2002026737A (en) Data decoder and its method
CN113542890A (en) Video editing method and related device
JP3276651B2 (en) Image data recording method and reproduction method thereof
JP2004096474A (en) Reproducing method and system of moving picture data
KR20020057528A (en) Apparatus and method for decoding of digital camcorder format image
JPH11136681A (en) Device and method for dynamic picture decoding
US7502379B2 (en) Disk playback apparatus
JP2002171523A (en) Image decoder, image decoding method, and program storage medium
JP3098485B2 (en) Image decoding device