JPH10210484A - Frame buffer management system - Google Patents

Frame buffer management system

Info

Publication number
JPH10210484A
JPH10210484A JP2593997A JP2593997A JPH10210484A JP H10210484 A JPH10210484 A JP H10210484A JP 2593997 A JP2593997 A JP 2593997A JP 2593997 A JP2593997 A JP 2593997A JP H10210484 A JPH10210484 A JP H10210484A
Authority
JP
Japan
Prior art keywords
frame buffer
picture
frame
management area
allocation
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
JP2593997A
Other languages
Japanese (ja)
Other versions
JP2973964B2 (en
Inventor
Kouhei Nadehara
恒平 撫原
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 JP2593997A priority Critical patent/JP2973964B2/en
Publication of JPH10210484A publication Critical patent/JPH10210484A/en
Application granted granted Critical
Publication of JP2973964B2 publication Critical patent/JP2973964B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Storing Facsimile Image Data (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a system that realizes a high-speed MPEG video decoder software in a microcomputer system, in which a conventional memory such as a dynamic RAM and a high speed memory such as a static RAM are used in parallel. SOLUTION: A frame buffer secured on a high speed memory 12 is registered to a head entry of a frame buffer management area 10 managing assignment of the frame buffer, and a frame buffer secured on a conventional memory 13 is registered to an entry of the back. The frame buffer storing an I picture (in-frame coded picture) or a P picture (inter-frame forward prediction coded picture) is retrieved in an ascending order from the head entry and the frame buffer which stores a B picture (bi-directional prediction coded picture) is retrieved in a descending order from the end entry.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、画像伸長装置に関
し、特に画像伸長装置の高速化実現技術に関する。
[0001] 1. Field of the Invention [0002] The present invention relates to an image decompression device, and more particularly to a technique for realizing a high-speed image decompression device.

【0002】[0002]

【従来の技術】近時、従来からある文字情報だけではな
く、音声、オーディオ、静止画像、動画像といった多様
なデータを扱う、いわゆるマルチメディア・アプリケー
ションが一般化しつつある。これらのマルチメディア・
データは膨大なため、いったんデータが持つ特性を利用
してデータ量を数十分の一から数百分の一に圧縮した
後、ハードディスクなどの外部記憶装置に格納したり、
ネットワークを通じて転送する。
2. Description of the Related Art In recent years, so-called multimedia applications that handle not only conventional character information but also various data such as voice, audio, still image, and moving image have been becoming popular. These multimedia
Because the data is huge, once the data amount is compressed to a few tenths to a few hundredths using the characteristics of the data, it is stored in an external storage device such as a hard disk,
Transfer over the network.

【0003】圧縮方式としては、例えば動画像を対象に
する場合MPEG−1(ISO/IEC 11172,
“Information Technology−C
oding of Moving Pictures
and Associated Audio for
Digital Storage Media upt
o 1.5Mbits/s,“Internation
al Standards Organization
/International Electrotec
hnical Commission,Geneva,
1991)、および、このMPEG−1より高品質なM
PEG−2(ISO/IEC 13818,“Gene
ric Coding of Moving Pict
ures and Associated Audi
o,“International Standard
s Organization/Internatio
nal Electrotechnical Comm
ission,Geneva,1995)がよく知られ
ている。
As a compression method, for example, when a moving image is to be processed, MPEG-1 (ISO / IEC 11172,
“Information Technology-C
odding of Moving Pictures
and Associated Audio for
Digital Storage Media upt
o 1.5 Mbits / s, “International
al Standards Organization
/ International Electrotec
hnical Commission, Geneva,
1991) and a higher quality M than MPEG-1
PEG-2 (ISO / IEC 13818, "Gene
ric Coding of Moving Pict
ures and Associated Audio
o, “International Standard
s Organization / International
nal Electrotechnical Comm
issue, Geneva, 1995).

【0004】これらのMPEG規格に従って圧縮された
動画像データを、以下では、「MPEGビットストリー
ム」もしくは単に「ビットストリーム」と呼ぶ。MPE
Gビットストリームは、格納もしくは転送された後、必
要に応じて伸長(デコード)され、デコード結果の画像
が表示される。
[0004] Moving image data compressed in accordance with these MPEG standards is hereinafter referred to as "MPEG bit stream" or simply "bit stream". MPE
After the G bit stream is stored or transferred, it is expanded (decoded) as necessary, and the decoded image is displayed.

【0005】従来、MPEGビットストリームのデコー
ド処理は、専用LSIを用いて処理していたが、汎用マ
イクロプロセッサの高性能化に伴い、パーソナル・コン
ピュータや家庭用テレビ・ゲーム機などのマイクロコン
ピュータ製品上で、ソフトウェアを使ってMPEG規格
に従って圧縮された動画像を伸長(デコード)すること
が可能となるに至っている。
Conventionally, decoding of an MPEG bit stream has been performed using a dedicated LSI. However, with the advancement of the performance of general-purpose microprocessors, the processing of microcomputer products such as personal computers and home-use televisions and game machines has become increasingly difficult. Thus, it is possible to decompress (decode) a moving image compressed according to the MPEG standard using software.

【0006】図13に、MPEGビットストリームのデ
コードを行うマイクロコンピュータ製品の内部構成の一
例の概略をブロック図にて示す。図13を参照して、デ
コード処理を行うマイクロプロセッサ41と、デコード
用ソフトウェアおよびデータを格納するメイン・メモリ
42と、ビットストリーム46の入力およびデコード画
像47の出力を行う入出力装置40とが、内部バス45
で接続されている。
FIG. 13 is a block diagram schematically showing an example of an internal configuration of a microcomputer product for decoding an MPEG bit stream. Referring to FIG. 13, a microprocessor 41 for performing a decoding process, a main memory 42 for storing decoding software and data, and an input / output device 40 for inputting a bit stream 46 and outputting a decoded image 47 include: Internal bus 45
Connected by

【0007】MPEGビットストリームのデコード処理
の構成を、図14に示す。MPEGビットストリームは
階層構造をとる。ひとつながりの動画像は「シーケン
ス」と呼ばれる。シーケンスは「GOP(Group
of Pictures)」の集まりである。GOP
は、複数枚(例えば15枚)の「ピクチャ」と呼ばれる
静止画の集まりである。一枚のピクチャは、複数の「ス
ライス」から構成され、一スライスは、16画素×16
画素の「マクロブロック」から構成される。マクロブロ
ックは、8画素×8画素の「ブロック」4個で構成され
る。デコード処理は、この階層に従って行われる。
FIG. 14 shows the configuration of the decoding process of an MPEG bit stream. The MPEG bit stream has a hierarchical structure. A series of moving images is called a “sequence”. The sequence is “GOP (Group
of Pictures). GOP
Is a group of a plurality of (for example, 15) still images called “pictures”. One picture is composed of a plurality of “slices”, and one slice is 16 pixels × 16
It consists of a "macroblock" of pixels. A macro block is composed of four “blocks” of 8 × 8 pixels. The decoding process is performed according to this hierarchy.

【0008】図14を参照すると、初期化120の後、
シーケンス層のデコード処理121が開始され、シーケ
ンス層のデコード処理121は内部的にGOP層のデコ
ード処理122を呼び、GOP層のデコード処理122
は内部的にピクチャ層のデコード処理123を呼び、ピ
クチャ層のデコード処理123は内部的にスライス層の
デコード処理124を呼び、スライス層のデコード処理
124は内部的にマクロブロック層のデコード処理12
5を呼び、マクロブロック層のデコード処理125は内
部的にブロック層のデコード処理126を呼ぶ。
Referring to FIG. 14, after initialization 120,
The decoding process 121 of the sequence layer is started, and the decoding process 121 of the sequence layer internally calls the decoding process 122 of the GOP layer, and the decoding process 122 of the GOP layer.
Internally calls the picture layer decoding process 123, the picture layer decoding process 123 internally calls the slice layer decoding process 124, and the slice layer decoding process 124 internally calls the macroblock layer decoding process 12.
5, and the decoding process 125 of the macroblock layer internally calls the decoding process 126 of the block layer.

【0009】MPEGビットストリームのデコード処理
には、デコード画像を収めるための作業領域が必要にな
る。この作業領域を、以下では「フレーム・バッファ・
プール」と呼ぶ。
[0009] The decoding process of the MPEG bit stream requires a work area for storing the decoded image. This work area is referred to below as the “frame buffer
Pool ".

【0010】フレーム・バッファ・プールは、MPEG
デコード・ソフトウェアの初期化120の一環として確
保される。
[0010] The frame buffer pool is MPEG
Reserved as part of the initialization 120 of the decoding software.

【0011】ピクチャ層のデコード処理123が開始さ
れると、まずピクチャ・ヘッダ部をデコードし、次にフ
レーム・バッファ・プールから未使用のフレーム・バッ
ファを1枚確保し、ピクチャ層以下のデコードに使用す
る。デコードしたピクチャを表示または動き補償に使用
した後不要となると、そのピクチャを収めるフレーム・
バッファは解放される。
When the decoding process 123 of the picture layer is started, the picture header portion is first decoded, then one unused frame buffer is secured from the frame buffer pool, and the decoding of the picture layer and lower is performed. use. When the decoded picture is no longer needed after being used for display or motion compensation, the frame containing the picture
The buffer is released.

【0012】フレーム・バッファ・プールの構成の一例
を図15に示す。フレーム・バッファ・プールは、複数
枚(N枚)のフレーム・バッファ(フレーム・バッファ
1、フレーム・バッファ2、…、フレーム・バッファ
N、Nは例えば8)132、133、134と、フレー
ム・バッファ管理領域130と、からなる。複数枚のフ
レーム・バッファ132、133、134は、メイン・
メモリ131上に置かれる。フレーム・バッファ管理領
域130もメイン・メモリ131上に置かれることが多
い。
FIG. 15 shows an example of the configuration of the frame buffer pool. The frame buffer pool includes a plurality of (N) frame buffers (frame buffer 1, frame buffer 2,..., Frame buffer N, N is, for example, 8) 132, 133, and 134; And a management area 130. The plurality of frame buffers 132, 133, and 134 are
It is placed on the memory 131. The frame buffer management area 130 is also often located on the main memory 131.

【0013】1枚のフレーム・バッファは1枚のピクチ
ャを保持する。フレーム・バッファ管理領域130は各
フレーム・バッファに対応したN個のエントリを持つ。
各エントリは、対応するフレーム・バッファが「未使
用」であるか「使用中」であるかを示すフラグ135
と、対応するフレーム・バッファの開始アドレス136
と、を保持する。
One frame buffer holds one picture. The frame buffer management area 130 has N entries corresponding to each frame buffer.
Each entry is a flag 135 indicating whether the corresponding frame buffer is "unused" or "busy".
And the start address 136 of the corresponding frame buffer
And hold.

【0014】フレーム・バッファ・プールの初期化は、
MPEGデコード・ソフトウェアの初期化(図14の1
20)時には完了しているものとする。すなわち、MP
EGビットストリームのデコード開始時には、N枚のフ
レーム・バッファ132、133、134がメイン・メ
モリ131上に確保され、フレーム・バッファ管理領域
130の全てのエントリのフラグ135は「未使用」に
設定されており、全てのエントリの開始アドレス136
は有効なフレーム・バッファの開始アドレスを保持して
いるとする。
The initialization of the frame buffer pool is as follows:
Initialization of MPEG decoding software (1 in FIG. 14)
20) It is assumed that it has been completed at times. That is, MP
At the start of decoding the EG bit stream, N frame buffers 132, 133, and 134 are secured in the main memory 131, and the flags 135 of all entries in the frame buffer management area 130 are set to "unused". And the start address 136 of all entries
Holds a valid frame buffer start address.

【0015】図15にその構成例を示したフレーム・バ
ッファ・プールの管理の処理フローを、図16に流れ図
として示す。
FIG. 15 shows a processing flow of frame buffer pool management whose configuration example is shown in FIG. 16 as a flowchart.

【0016】ピクチャ層のデコード処理123(図14
参照)において、フレーム・バッファを確保するときに
は、フレーム・バッファ管理領域130のエントリ番号
1からNまでを昇順に検索し、最初に発見した未使用フ
レーム・バッファを確保する。すなわち、検索対象のエ
ントリ番号をiとすると、まずi=1と設定する(図1
6のステップ141)。
The picture layer decoding process 123 (FIG. 14)
(See Reference), when allocating a frame buffer, the entry numbers 1 to N of the frame buffer management area 130 are searched in ascending order, and the first unused frame buffer found is allocated. That is, assuming that the entry number to be searched is i, first, i = 1 is set (FIG. 1
6 step 141).

【0017】そして、フレーム・バッファ管理領域13
0のエントリiのフラグ135を調べ(ステップ14
2)、「使用中」でない場合には、フレーム・バッファ
iを使用することにし(ステップ146)、フラグ13
5を「使用中」に更新し、「使用中」である場合には、
変数iに1を加算して更新し(ステップ143)、次の
エントリを検索する。
The frame buffer management area 13
The flag 135 of the entry i of 0 is checked (step 14).
2) If not "in use", frame buffer i is used (step 146), and flag 13 is used.
5 is updated to "in use", and if it is "in use",
The variable i is updated by adding 1 (step 143), and the next entry is searched.

【0018】そして、変数iを更新した後に、その値が
Nを超えたか否かを調べ(ステップ144)、iの値が
Nを超えていれば、使用可能なフレーム・バッファはな
いので、エラー終了とする(ステップ145)。
After updating the variable i, it is checked whether or not its value has exceeded N (step 144). If the value of i has exceeded N, there is no usable frame buffer, and an error occurs. The process ends (step 145).

【0019】図15に示した構成例では、フレーム・バ
ッファ管理領域130のエントリの検索順序は、先頭エ
ントリから昇順とされているが、末尾エントリから降順
に検索してもよい。
In the configuration example shown in FIG. 15, the search order of the entries in the frame buffer management area 130 is ascending from the first entry, but may be searched in descending order from the last entry.

【0020】[0020]

【発明が解決しようとする課題】図13に一例を示し
た、マイクロコンピュータ・システムの内部構成のう
ち、メイン・メモリ42については、別の構成をとるこ
とにより、処理を高速化することができる。参考のた
め、図4に、高速化のための構成の一例を示す。
FIG. 13 shows an example of the internal structure of the microcomputer system. The main memory 42 has a different structure, so that the processing speed can be increased. . For reference, FIG. 4 shows an example of a configuration for speeding up.

【0021】図4を参照して、メイン・メモリ42の構
成要素として、高速だが小容量なスタティックRAM
(図中、高速メモリ43で示す)と、大容量だが低速な
ダイナミックRAM(図中、通常メモリ44で示す)が
考えられる。
Referring to FIG. 4, high-speed but small-capacity static RAM is used as a component of main memory 42.
(Shown by a high-speed memory 43 in the figure) and a large-capacity but low-speed dynamic RAM (shown by a normal memory 44 in the figure).

【0022】ここで、性能面のみに着目すると、全て高
速メモリ43を用いてメイン・メモリ42を構築した方
がよいが、高コストになる。一方、コスト面にのみ着目
すると、全て容量あたりのコストが低い通常メモリ44
を用いてメイン・メモリ42を構築した方がよいが、低
速になる。
Here, focusing only on the performance aspect, it is better to construct the main memory 42 using the high-speed memory 43, but the cost is high. On the other hand, focusing only on the cost aspect, the normal memory 44 having a low cost per capacity is all
Although it is better to construct the main memory 42 by using, the speed becomes slow.

【0023】図4に示す例では、高速メモリ43と通常
メモリ44とを組み合わせ、比較的低コストに比較的高
速なメイン・メモリ42を実現している。
In the example shown in FIG. 4, a high speed memory 43 and a normal memory 44 are combined to realize a relatively high speed main memory 42 at a relatively low cost.

【0024】そして、図4に示すシステム構成において
は、頻繁に実行されるプログラムや頻繁にアクセスされ
るデータを高速メモリ43に、それ以外のプログラムや
データを通常メモリ44に置くことにより、比較的低コ
ストなメイン・メモリ42システム上で比較的高速な処
理を行える。
In the system configuration shown in FIG. 4, frequently executed programs and frequently accessed data are stored in the high-speed memory 43, and other programs and data are stored in the normal memory 44. Relatively high-speed processing can be performed on the low-cost main memory 42 system.

【0025】しかし、図16に示した、フレーム・バッ
ファ・プールの管理方法の処理フローでは、このような
異質なメモリを組み合わせたメイン・メモリに対する配
慮がなされていず、図4に示したマイクロコンピュータ
・システムの性能を最大限に発揮させることができな
い、という問題を有している。
However, in the processing flow of the frame buffer pool management method shown in FIG. 16, no consideration is given to the main memory combining such different types of memories, and the microcomputer shown in FIG. -There is a problem that the performance of the system cannot be maximized.

【0026】したがって、本発明は、上記問題点に鑑み
てなされたものであって、その目的は、ダイナミックR
AMのような通常メモリとスタティックRAMのような
高速メモリを併用したマイクロコンピュータ・システム
上で、高速なMPEGビデオ・デコーダ・ソフトウェア
を実現する装置を提供することにある。
Accordingly, the present invention has been made in view of the above problems, and has as its object
An object of the present invention is to provide an apparatus for realizing high-speed MPEG video decoder software on a microcomputer system using both a normal memory such as an AM and a high-speed memory such as a static RAM.

【0027】[0027]

【課題を解決するための手段】前記目的を達成するた
め、本発明は、MPEG規格によって圧縮されたビット
ストリームを伸長する装置において、高速型メモリと通
常型メモリが混在するメモリ・システムを備え、MPE
Gで規定されるIピクチャおよびPピクチャを格納する
フレーム・バッファを前記高速型メモリ上に優先して確
保する、ことを特徴とする。
According to the present invention, there is provided an apparatus for expanding a bit stream compressed according to the MPEG standard, comprising a memory system in which a high-speed memory and a normal memory are mixed, MPE
A frame buffer for storing an I picture and a P picture defined by G is preferentially secured in the high-speed memory.

【0028】[発明の概要]通常型メモリ上のフレーム
・バッファに加え、高速型メモリ上に1枚以上、(でき
れば2枚以上)のフレーム・バッファを確保し、Iピク
チャまたはPピクチャの格納に優先的に割り当てる。
[Summary of the Invention] In addition to the frame buffer on the normal type memory, one or more (preferably two or more) frame buffers are secured on the high-speed type memory to store I-pictures or P-pictures. Assign priority.

【0029】本発明によれば、動き補償処理時に参照さ
れるためアクセス回数が多いIおよびPピクチャが、高
速メモリ上に配置される確率を増やすことで、フレーム
・バッファ・アクセスの平均時間が短縮したものであ
り、これによりMPEGデコーダ・ソフトウェアの平均
実行性能を向上させる。
According to the present invention, the average time of frame buffer access is reduced by increasing the probability that I and P pictures, which are referred to at the time of motion compensation processing and are accessed many times, are arranged on a high-speed memory. This improves the average execution performance of the MPEG decoder software.

【0030】[0030]

【発明の実施の形態】本発明の好ましい実施の形態につ
いて以下に説明する。本発明は、その好ましい実施の形
態において、フレーム・バッファの割り当てを単一のフ
レーム・バッファ管理領域(図1の10)により管理
し、フレーム・バッファ管理領域のエントリのうち、先
頭部分に、高速メモリ(図1の12)上のフレーム・バ
ッファ(図1の14、15)を登録し、これらより後の
エントリに、高速メモリよりも低速型の通常メモリ(図
1の13)上のフレーム・バッファ(図1の16、1
7)を登録し、(a)IピクチャおよびPピクチャを格
納するフレーム・バッファを確保するときには、フレー
ム・バッファ管理領域の先頭のエントリから昇順にサー
チし、(b)Bピクチャを格納するフレーム・バッファ
を確保するときは、前記フレーム・バッファ管理領域最
後のエントリから降順に検索する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Preferred embodiments of the present invention will be described below. In the preferred embodiment of the present invention, the allocation of the frame buffer is managed by a single frame buffer management area (10 in FIG. 1), and the high-speed entry is added to the head of the entry of the frame buffer management area. The frame buffers (14 and 15 in FIG. 1) on the memory (12 in FIG. 1) are registered, and the entries after them are stored in the frame buffer on the normal memory (13 in FIG. 1) which is slower than the high-speed memory. Buffers (16, 1 in FIG. 1)
7) is registered, and (a) when allocating a frame buffer for storing an I picture and a P picture, a search is performed in ascending order from the first entry in the frame buffer management area, and (b) a frame for storing a B picture is stored. When allocating a buffer, the search is performed in descending order from the last entry of the frame buffer management area.

【0031】これにより、アクセスが多いIおよびPピ
クチャが、高速メモリ上に確保したフレーム・バッファ
に優先して割り当てられるため、MPEGビデオ・デコ
ーダ・ソフトウェアの性能を向上する。
As a result, the I and P pictures that are frequently accessed are preferentially allocated to the frame buffer secured on the high-speed memory, so that the performance of the MPEG video decoder software is improved.

【0032】また、本発明は、その好ましい実施の形態
において、フレーム・バッファの割り当てを、高速メモ
リ上のフレーム・バッファの割り当てを管理するフレー
ム・バッファ管理領域(図5の50)と、通常メモリ上
のフレーム・バッファの割り当てを管理するフレーム・
バッファ管理領域(図5の51)により管理し、(a)
IおよびPピクチャを格納するフレーム・バッファを確
保するには、高速メモリ上のフレーム・バッファの割り
当てを管理するフレーム・バッファ管理領域(図5の5
0)を先に、通常メモリ上のフレーム・バッファの割り
当てを管理するフレーム・バッファ管理領域(図5の5
1)を後に検索し、(b)Bピクチャを格納するフレー
ム・バッファを確保するには、通常メモリ上のフレーム
・バッファの割り当てを管理するフレーム・バッファ管
理領域(図5の51)を先に、高速メモリ上のフレーム
・バッファの割り当てを管理するフレーム・バッファ管
理領域(図5の50)を後に検索する。
In a preferred embodiment of the present invention, the frame buffer is allocated to a frame buffer management area (50 in FIG. 5) for managing the allocation of the frame buffer on the high-speed memory, and to the normal memory. The frame that manages the allocation of the upper frame buffer
It is managed by the buffer management area (51 in FIG. 5), and (a)
To secure a frame buffer for storing I and P pictures, a frame buffer management area (5 in FIG. 5) for managing the allocation of the frame buffer on the high-speed memory is used.
0) first, a frame buffer management area (5 in FIG. 5) for managing the allocation of the frame buffer on the normal memory.
In order to search for 1) later and (b) secure a frame buffer for storing B pictures, the frame buffer management area (51 in FIG. 5) for managing the allocation of the frame buffer in the normal memory must first be set. Then, the frame buffer management area (50 in FIG. 5) for managing the allocation of the frame buffer on the high-speed memory is searched later.

【0033】また、本発明は、その好ましい実施の形態
において、フレーム・バッファの割割り当てを、Iまた
はPピクチャに割り当てるフレーム・バッファの割り当
てを管理するフレーム・バッファ管理領域(図9の9
0)と、Bピクチャに割り当てるフレーム・バッファの
割り当てを管理するフレーム・バッファ管理領域(図9
の91)により管理し、双方のフレーム・バッファ管理
領域のエントリの先頭に、最低1枚ずつ高速メモリ上に
確保したフレーム・バッファを登録し、(a)Iピクチ
ャまたはPピクチャを格納するフレーム・バッファを確
保するときは、IピクチャまたはPピクチャに割り当て
るフレーム・バッファの割り当てを管理するフレーム・
バッファ管理領域をエントリ先頭から昇順に検索し、
(b)Bピクチャを格納するフレーム・バッファはBピ
クチャに割り当てるフレーム・バッファの割り当てを管
理するフレーム・バッファ管理領域をエントリ先頭から
昇順に検索する。
In a preferred embodiment of the present invention, in the preferred embodiment, the allocation of the frame buffer is allocated to a frame buffer management area (9 in FIG. 9) for managing the allocation of the frame buffer allocated to the I or P picture.
0) and a frame buffer management area (FIG. 9) for managing the allocation of the frame buffer to be allocated to the B picture.
91), and at least one frame buffer secured on the high-speed memory is registered at the head of the entry of both frame buffer management areas, and (a) a frame buffer for storing an I picture or a P picture When allocating a buffer, a frame for managing the allocation of a frame buffer to be allocated to an I picture or a P picture
Search the buffer management area in ascending order from the entry head,
(B) The frame buffer storing the B picture searches the frame buffer management area for managing the allocation of the frame buffer assigned to the B picture in ascending order from the entry head.

【0034】[0034]

【実施例】上記した実施の形態について更に詳細に説明
すべく、本発明の実施例について図面を参照して以下に
説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS In order to explain the above-mentioned embodiment in more detail, an embodiment of the present invention will be described below with reference to the drawings.

【0035】以下では、まず、前提として、MPEGで
定義されているピクチャの種類と相互の依存関係を説明
する。次に、高速小容量メモリと大容量低速メモリを混
在させたメモリ・システム上でのフレーム・バッファ・
プールの構成とその管理フローチャートについて3種類
述べる。
In the following, first, the types of pictures defined by MPEG and the interdependency will be described. Next, the frame buffer on a memory system that mixes high-speed small-capacity memory and large-capacity low-speed memory
Three types of pool configuration and its management flowchart will be described.

【0036】まず、MPEGで定義されているピクチャ
の種類と相互の依存関係を説明する。MPEGで定義さ
れるピクチャには、動き補償の種類によってI、P、B
という3種類がある。
First, the types of pictures defined by the MPEG and the interdependencies will be described. Pictures defined by MPEG include I, P, B depending on the type of motion compensation.
There are three types.

【0037】Iピクチャ(Intra符号化画像;フレーム
内符号化画像)のデコードには動き補償を使わないた
め、Iピクチャのデコード時に他のフレーム・バッファ
を参照することはない。
Since no motion compensation is used for decoding an I-picture (Intra-coded picture; intra-coded picture), there is no need to refer to another frame buffer when decoding an I-picture.

【0038】Pピクチャ(Predictive符号化画像;フ
レーム間順方向予測符号化画像)のデコードには動き補
償のうち前方予測を使うことがある。したがって、Pピ
クチャのデコード時には、以前デコードしたIピクチャ
またはPピクチャ1フレームを参照することがある。
In decoding a P picture (Predictive coded image; inter-frame forward prediction coded image), forward prediction is sometimes used in motion compensation. Therefore, when decoding a P picture, one frame of the previously decoded I picture or P picture may be referred to.

【0039】Bピクチャ(Bidirectionally predicti
ve符号化画像;双方予測符号化画像)のデコードには動
き補償のうち双方向予測を使うことがある。したがっ
て、Bピクチャのデコード時には、以前デコードしたI
ピクチャまたはPピクチャ2フレームを参照することが
ある。
B picture (Bidirectionally predicti
Decoding of a ve coded image (bi-predicted coded image) may use bidirectional prediction among motion compensation. Therefore, when decoding a B picture, the previously decoded I
It may refer to two frames of a picture or a P picture.

【0040】図3に、ピクチャ種類別の依存関係の一例
を示す。フレーム1(Iピクチャ、30)、フレーム2
(Bピクチャ、31)、フレーム3(Bピクチャ、3
2)、フレーム4(Pピクチャ、33)をこの順序で表
示するとすると、ビットストリーム上のフレーム順序は
フレーム1(30)、フレーム4(33)、フレーム2
(31)、フレーム3(32)であり、デコードもこの
順序で行う。
FIG. 3 shows an example of the dependency for each picture type. Frame 1 (I picture, 30), Frame 2
(B picture, 31), frame 3 (B picture, 3
2), if frame 4 (P picture, 33) is displayed in this order, the frame order on the bit stream is frame 1 (30), frame 4 (33), frame 2
(31), frame 3 (32), and decoding is performed in this order.

【0041】まずフレーム1(30)をデコードする。
フレーム1(30)は、Iピクチャであるため、フレー
ム1(30)自身で完結しており、動き補償のために他
のフレームを参照することはない。
First, frame 1 (30) is decoded.
Since the frame 1 (30) is an I picture, the frame 1 (30) is completed by itself and does not refer to another frame for motion compensation.

【0042】次にフレーム4(33)をデコードする。
フレーム4(33)はPピクチャであり、デコード処理
時にフレーム・バッファに収められたフレーム1(3
0)を参照しながら前方向動き予測による動き補償36
が行われる。
Next, frame 4 (33) is decoded.
Frame 4 (33) is a P picture, and frame 1 (3) stored in the frame buffer during decoding processing.
Motion compensation 36 by forward motion prediction while referring to 0)
Is performed.

【0043】3番目にフレーム2(31)をデコードす
る。フレーム2(31)はBピクチャであり、デコード
処理時にフレーム・バッファに収められたフレーム1
(30)とフレーム4(33)を参照しながら双方向動
き予測による動き補償34が行われる。
Third, frame 2 (31) is decoded. Frame 2 (31) is a B picture, and frame 1 stored in a frame buffer during decoding processing
The motion compensation 34 based on bidirectional motion prediction is performed with reference to (30) and frame 4 (33).

【0044】最後にフレーム3(32)をデコードす
る。フレーム3(32)はBピクチャであり、デコード
処理時にフレーム・バッファに収められたフレーム1
(30)とフレーム4(33)を参照しながら双方向動
き予測による動き補償35が行われる。
Finally, the frame 3 (32) is decoded. Frame 3 (32) is a B picture, and frame 1 stored in a frame buffer during decoding processing
The motion compensation 35 based on bidirectional motion prediction is performed with reference to (30) and frame 4 (33).

【0045】次に、異種メモリを混在させたメイン・メ
モリ上でのフレーム・バッファ・プールの構成について
説明する。
Next, the configuration of the frame buffer pool on the main memory in which different types of memories are mixed will be described.

【0046】メイン・メモリとして、高速だが小容量な
メモリ(以下「高速メモリ」という、例えばスタティッ
クRAM43)大容量だが低速なメモリ(以下「通常メ
モリ」という、例えばダイナミックRAM44)を組み
合わせた構成の一例を示す図4を参照して以下に説明す
る。
An example of a configuration in which a high-speed but small-capacity memory (hereinafter referred to as “static RAM 43”, for example, a static RAM 43) and a large-capacity but low-speed memory (hereinafter “normal memory”, eg, a dynamic RAM 44) are combined as the main memory. This will be described below with reference to FIG.

【0047】各メモリの容量としては、高速メモリ43
が数百キロバイト(例、256〜512キロバイト)、
通常メモリ44が数メガバイトかそれ以上(例、8メガ
〜64メガバイト)が標準的と考えられる。MPEG−
1における標準的なピクチャ形式である解像度横354
画素、縦240画素、1画素ごとに輝度信号8ビット、
4画素ごとに色差信号8ビット2プレーンというフォー
マットでは、1ピクチャあたり約127キロバイトの容
量が必要である。従って、例えば8枚のフレーム・バッ
ファを確保する場合、高速メモリ43の容量の制限か
ら、8枚全てを高速メモリ43上に確保することはでき
ない。したがって、せいぜい1ないし2枚のフレーム・
バッファを高速メモリ43上に確保し、残りの7ないし
6枚は、低速だが安価な通常メモリ44上に確保するこ
とになる。
As the capacity of each memory, the high-speed memory 43
Has hundreds of kilobytes (e.g., 256-512 kilobytes)
Normally, a few megabytes of memory 44 or more (eg, 8 megabytes to 64 megabytes) is considered standard. MPEG-
Resolution 354, which is the standard picture format in
Pixel, 240 pixels vertically, 8 bits of luminance signal per pixel,
In the format of 8 bits and 2 planes of color difference signal for every 4 pixels, a capacity of about 127 kilobytes per picture is required. Therefore, when securing eight frame buffers, for example, it is not possible to secure all eight frames on the high-speed memory 43 due to the limitation of the capacity of the high-speed memory 43. Therefore, at most one or two frames
Buffers are secured on the high-speed memory 43, and the remaining seven or six buffers are secured on the low-speed but inexpensive normal memory 44.

【0048】このように、高速メモリ43上に確保した
フレーム・バッファと低速メモリ44上に確保したフレ
ーム・バッファが両方存在するとき、以下に第1から第
3の実施例として説明するフレーム・バッファ・プール
の管理制御方法よって、この2種類のフレーム・バッフ
ァを使い分け、MPEGデコード・ソフトウェアの実行
性能を向上することができる。すなわち、MPEGビッ
トストリームに含まれる3種類のピクチャのうち、後続
フレームのデコード時にアクセスされるI、Pフレーム
を、後続フレームのデコードに使われることのないBフ
レームよりも優先して高速メモリ43上に確保したフレ
ーム・バッファに割り当てるよう制御することで、アク
セス回数の多いピクチャを高速なフレーム・バッファに
優先的に割り当てることができ、デコード・ソフトウェ
アの実行速度が高速化される。
As described above, when both the frame buffer secured on the high-speed memory 43 and the frame buffer secured on the low-speed memory 44 exist, the frame buffer described below as the first to third embodiments will be described. Depending on the pool management control method, these two types of frame buffers can be used properly, and the execution performance of the MPEG decoding software can be improved. That is, of the three types of pictures included in the MPEG bit stream, the I and P frames accessed at the time of decoding the subsequent frame are prioritized over the B frame that is not used for decoding the subsequent frame. By controlling the allocation to the frame buffer secured in the above, the picture with a large number of accesses can be preferentially allocated to the high-speed frame buffer, and the execution speed of the decoding software is increased.

【0049】本発明の第1の実施例に係るフレーム・バ
ッファ・プールの管理方法について、図1および図2を
参照して以下に詳細に説明する。
A method for managing a frame buffer pool according to the first embodiment of the present invention will be described below in detail with reference to FIGS.

【0050】まず、フレーム・バッファ・プールを、図
15に示した従来方式から、図1に示す構成に変更して
いる。すなわち、図1を参照すると、フレーム・バッフ
ァ管理領域10のエントリ番号の1から昇順に高速メモ
リ12上に確保したフレーム・バッファ(14、15)
を全て登録し、これらより後ろのエントリ(図1に示す
例では、エントリ3以降)に通常メモリ13上に確保し
たフレーム・バッファ(16、17)を登録する。
First, the frame buffer pool is changed from the conventional system shown in FIG. 15 to the configuration shown in FIG. That is, referring to FIG. 1, the frame buffers (14, 15) secured on the high-speed memory 12 in ascending order from the entry number 1 of the frame buffer management area 10
Are registered, and the frame buffers (16, 17) secured on the normal memory 13 are registered in the entries after them (in the example shown in FIG. 1, the entry 3 and thereafter).

【0051】フレーム・バッファ管理領域10は、総フ
レーム・バッファ数N(高速メモリ上に確保したフレー
ム・バッファの枚数と通常メモリ上に確保したフレーム
・バッファの枚数の合計)に等しい個数のエントリを持
つ。各エントリは、対応するフレーム・バッファが未使
用か、使用中であるかを示すフラグ18と、フレーム・
バッファの開始アドレス19を保持する。
The frame buffer management area 10 stores entries of a number equal to the total number of frame buffers N (the sum of the number of frame buffers secured on the high-speed memory and the number of frame buffers secured on the normal memory). Have. Each entry includes a flag 18 indicating whether the corresponding frame buffer is unused or in use, and a frame buffer.
Holds the start address 19 of the buffer.

【0052】図1に示したフレーム・バッファ・プール
の初期化は、デコード・ソフトウェアの初期化120
(図14参照)時に完了しているものとする。すなわ
ち、MPEGビットストリームのデコード開始時には、
高速メモリ12上および通常メモリ13上に計N枚のフ
レーム・バッファが確保され、フレーム・バッファ管理
領域10の全てのエントリのフラグ18は「未使用」に
設定されており、フレーム・バッファ管理領域10の全
てのエントリの開始アドレス19は有効なフレーム・バ
ッファの開始アドレスを保持しているものとする。
The initialization of the frame buffer pool shown in FIG.
(See FIG. 14). That is, at the start of decoding the MPEG bit stream,
A total of N frame buffers are secured on the high-speed memory 12 and the normal memory 13, and the flags 18 of all entries in the frame buffer management area 10 are set to "unused". It is assumed that the start addresses 19 of all ten entries hold the start addresses of valid frame buffers.

【0053】図1に示したフレーム・バッファ・プール
は、以下に示す方法で管理することで、高速化を達成で
きる。
The speed of the frame buffer pool shown in FIG. 1 can be increased by managing it in the following manner.

【0054】すなわち、ピクチャ層のデコード処理12
3(図14参照)時に、フレーム・バッファを確保する
とき、ピクチャ・タイプによってフレーム・バッファ・
プール管理領域10のエントリの検索順序を変える。
That is, the picture layer decoding process 12
3 (see FIG. 14), when reserving a frame buffer, the frame buffer
The search order of the entries in the pool management area 10 is changed.

【0055】IまたはPピクチャを格納するためのフレ
ーム・バッファを確保するときには、エントリ番号1か
らNまでを昇順に検索し、Bピクチャを格納するための
フレーム・バッファを確保するときには、エントリ番号
Nから1までを降順に検索する。ピクチャ・タイプは、
ピクチャ層のデコード処理123(図14参照)の最初
にピクチャ・ヘッダをデコードすると知ることができ
る。
To secure a frame buffer for storing I or P pictures, search from entry numbers 1 to N in ascending order. To secure a frame buffer for storing B pictures, use entry number N. From 1 to 1 in descending order. The picture type is
It can be known that the picture header is decoded at the beginning of the picture layer decoding process 123 (see FIG. 14).

【0056】次に図2の流れ図を参照して、図1に示し
たフレーム・バッファ・プールの管理方法について詳し
く説明する。以下、検索対象のエントリ番号をiとす
る。
Next, the method of managing the frame buffer pool shown in FIG. 1 will be described in detail with reference to the flowchart of FIG. Hereinafter, the entry number to be searched is defined as i.

【0057】フレーム・バッファに格納するピクチャ・
タイプを判定し(ステップ21)、IピクチャまたはP
ピクチャであったときの手順は次の通りである。まず、
iの初期値として「1」と設定する(ステップ22)。
Picture to be stored in the frame buffer
The type is determined (step 21), and the I picture or P
The procedure for a picture is as follows. First,
"1" is set as the initial value of i (step 22).

【0058】フレーム・バッファ・プール管理領域10
のエントリiのフラグを調べ(ステップ23)、「使用
中」でないならばフレーム・バッファiを使用すること
にしてそのフラグを「使用中」に更新し(ステップ2
7)、「使用中」ならiに「1」を加算して更新し(ス
テップ24)、次のエントリを検索する。そして、iの
更新後に、その値がNを超えたか否かを調べ(ステップ
25)、iがNを超えていれば使用可能なフレーム・バ
ッファはないので、エラー終了とする(ステップ2
6)。
Frame buffer pool management area 10
The flag of the entry i is checked (step 23). If the flag is not "in use", the frame buffer i is used and the flag is updated to "in use" (step 2).
7) If "in use", update by adding "1" to i (step 24), and search for the next entry. Then, after updating i, it is checked whether or not the value has exceeded N (step 25). If i exceeds N, there is no usable frame buffer, so that error termination is performed (step 2).
6).

【0059】フレーム・バッファに格納するピクチャ・
タイプを判定し(ステップ21)、Bピクチャであった
ときの手順は次の通りである。
Picture to be stored in the frame buffer
The type is determined (step 21), and the procedure when the picture is a B picture is as follows.

【0060】まず、iの初期値として「N」を設定する
(ステップ29)。フレーム・バッファ・プール管理領
域のエントリiのフラグを調べ(ステップ30)、「使
用中」でないならば、フレーム・バッファiを使用する
ことにしてフラグを「使用中」に更新し(ステップ2
7)、「使用中」ならば、iから「1」を減算して更新
し(ステップ31)、次のエントリを検索する。iの更
新後にその値を調べ(ステップ32)、iが「1」より
も小さくなった場合には、使用可能なフレーム・バッフ
ァはないので、エラー終了とする(ステップ33)。
First, "N" is set as an initial value of i (step 29). The flag of the entry i of the frame buffer pool management area is checked (step 30). If the flag is not "in use", the frame buffer i is used and the flag is updated to "in use" (step 2).
7) If "in use", update "1" by subtracting "1" from i (step 31), and search for the next entry. After updating i, the value is checked (step 32). If i is smaller than "1", there is no usable frame buffer, and the process ends with an error (step 33).

【0061】以上説明したように、図2に示した処理手
順によれば、アクセス回数が多いI、Pピクチャを収め
るためのフレーム・バッファを確保するときには、高速
メモリ上に確保されたフレーム・バッファを最初に検索
し、アクセス回数が少ないBピクチャを収めるためのフ
レーム・バッファを確保するときには、低速メモリ上に
確保されたフレーム・バッファを先に、高速メモリ上に
確保されたフレーム・バッファを後に検索する。このた
め、本実施例によれば、ピクチャ・タイプにかかわらず
フレーム・バッファを確保する従来の方法に比べ、デコ
ーダ・ソフトウェアの実行速度を高速化できる。
As described above, according to the processing procedure shown in FIG. 2, when securing a frame buffer for accommodating I and P pictures with a large number of accesses, the frame buffer secured on the high-speed memory is used. Is searched first, and when allocating a frame buffer for accommodating a B picture with a small number of accesses, the frame buffer allocated on the low-speed memory is first placed, and then the frame buffer allocated on the high-speed memory is placed later. Search for. Therefore, according to the present embodiment, the execution speed of the decoder software can be increased as compared with the conventional method of securing a frame buffer regardless of the picture type.

【0062】以上説明した第1のフレーム・バッファ・
プール管理方法では、高速メモリ上のフレーム・バッフ
ァは先頭エントリに登録し、I、Pピクチャ用フレーム
・バッファは先頭エントリから昇順に、Bピクチャ用フ
レーム・バッファは末尾エントリから降順に検索した
が、高速メモリ上のフレーム・バッファは末尾エントリ
に登録しI、Pピクチャ用フレーム・バッファは末尾エ
ントリから降順に、Bピクチャ用フレーム・バッファは
先頭エントリから降順に検索しても同じ効果が得られ
る。
The first frame buffer described above
In the pool management method, the frame buffer on the high-speed memory is registered in the first entry, the I and P picture frame buffers are searched in ascending order from the first entry, and the B picture frame buffers are searched in descending order from the last entry. The same effect can be obtained by registering the frame buffer on the high-speed memory in the last entry and searching the I and P picture frame buffers in descending order from the last entry, and searching the B picture frame buffer in descending order from the first entry.

【0063】また、図1に示した例では、高速メモリ1
2上に確保したフレーム・バッファの枚数は2枚とした
が、1枚以上の任意の枚数について、上記と同じ議論が
適用できる。
Further, in the example shown in FIG.
Although the number of frame buffers secured above 2 is two, the same discussion as above can be applied to any number of one or more.

【0064】次に本発明の第2の実施例について説明す
る。図5は、本発明の第2の実施例の構成を示す図であ
り、優先的にI、Pピクチャに高速なフレーム・バッフ
ァを割り付けるフレーム・バッファ・プールの構成を示
したものである。また図6から図8は、図5に示したフ
レーム・バッファ・プールを管理する方法を説明するた
めの流れ図である。
Next, a second embodiment of the present invention will be described. FIG. 5 is a diagram showing the configuration of the second embodiment of the present invention, and shows the configuration of a frame buffer pool that preferentially allocates a high-speed frame buffer to I and P pictures. 6 to 8 are flowcharts for explaining a method of managing the frame buffer pool shown in FIG.

【0065】図5を参照すると、本実施例においては、
高速メモリ53上に確保したフレーム・バッファ(5
5、56)と、通常メモリ54上に確保したフレーム・
バッファ(57、58)と、をそれぞれ別のフレーム・
バッファ管理領域(50、51)で管理している。
Referring to FIG. 5, in this embodiment,
Frame buffer (5
5, 56) and the frame secured on the normal memory 54
Buffers (57, 58) and separate frames
It is managed in the buffer management area (50, 51).

【0066】高速メモリ53上にN1枚のフレーム・バ
ッファを確保し、通常メモリ54上にN2枚のフレーム
・バッファを確保しているものとする。フレーム・バッ
ファ管理領域は、高速メモリ53上のフレーム・バッフ
ァを管理するN1個のエントリを持つフレーム・バッフ
ァ管理領域1(50)と、通常メモリ54上のフレーム
・バッファを管理するN2個のエントリを持つフレーム
・バッファ管理領域2(51)に分割されている。二つ
のフレーム・バッファ管理領域の各エントリは対応する
フレーム・バッファが未使用か使用中かを示すフラグ
(501、511)と、フレーム・バッファの開始アド
レス(502、512)を保持する。
It is assumed that N1 frame buffers are secured in the high-speed memory 53 and N2 frame buffers are secured in the normal memory 54. The frame buffer management area includes a frame buffer management area 1 (50) having N1 entries for managing the frame buffer on the high-speed memory 53, and N2 entries for managing the frame buffer on the normal memory 54. Are divided into a frame buffer management area 2 (51) having Each entry of the two frame buffer management areas holds a flag (501, 511) indicating whether the corresponding frame buffer is unused or in use and a start address (502, 512) of the frame buffer.

【0067】図5に示したフレーム・バッファの初期化
は、デコード・ソフトウェアの初期化120(図14参
照)時に完了しているものとする。すなわち、MPEG
ビットストリームのデコード開始時には、高速メモリ5
3上にN1枚、通常メモリ54上にN2枚のフレーム・
バッファが確保され、フレーム・バッファ管理領域1
(50)、フレーム・バッファ管理領域2(51)の全
てのエントリのフラグ(501、511)は未使用に設
定されており、全てのエントリの開始アドレス(50
2、512)は有効なフレーム・バッファの開始アドレ
スを保持しているとする。
It is assumed that the initialization of the frame buffer shown in FIG. 5 has been completed at the time of initialization 120 of the decoding software (see FIG. 14). That is, MPEG
At the start of decoding the bit stream, the high-speed memory 5
3 frames and N2 frames on the normal memory 54.
Buffer is secured and frame buffer management area 1
(50), the flags (501, 511) of all entries in the frame buffer management area 2 (51) are set to unused, and the start addresses (50) of all entries are set.
2, 512) hold a valid frame buffer start address.

【0068】図6は、図5に示したフレーム・バッファ
・プール構成を管理する方法を示す流れ図である。図6
を参照して、フレーム・バッファに格納するピクチャ・
タイプを判定し(ステップ61)、I、Pピクチャのた
めのフレーム・バッファを確保する場合、まず高速メモ
リ53上にフレーム・バッファの確保を試みる(ステッ
プ62)。
FIG. 6 is a flowchart showing a method for managing the frame buffer pool configuration shown in FIG. FIG.
Refer to the picture to be stored in the frame buffer.
If the type is determined (step 61) and a frame buffer for I and P pictures is to be reserved, first, an attempt is made to reserve a frame buffer on the high-speed memory 53 (step 62).

【0069】ステップ62で、高速メモリ53上にフレ
ーム・バッファの確保を試失敗した場合、通常メモリ5
4上にフレーム・バッファの確保を試みる(ステップ6
3)。いずれかに成功した場合には正常終了であり(ス
テップ65)、いずれも失敗した場合はエラー終了であ
る(ステップ64)。
At step 62, if the attempt to secure the frame buffer on the high-speed memory 53 fails, the normal memory 5
4. Attempt to secure a frame buffer on
3). If any of them succeeds, the process ends normally (step 65). If any of them fails, the process ends in an error (step 64).

【0070】Bピクチャのためのフレーム・バッファを
確保する場合、まず通常メモリ54上にフレーム・バッ
ファの確保を試みる(ステップ66)。それに失敗した
場合、高速メモリ53上にフレーム・バッファの確保を
試みる(ステップ67)。いずれかに成功した場合は正
常終了であり(ステップ65)、いずれも失敗した場合
は、エラー終了である(ステップ68)。
When securing a frame buffer for a B picture, an attempt is first made to secure a frame buffer on the normal memory 54 (step 66). If that fails, an attempt is made to secure a frame buffer on the high-speed memory 53 (step 67). If any of them succeeds, the process ends normally (step 65). If any of them fails, the process ends in an error (step 68).

【0071】図7は、高速メモリ53上にフレーム・バ
ッファを確保を試みる手順を説明するための流れ図であ
る。図7を参照すると、まず、検索対象のエントリ番号
iを「1」に初期化する(ステップ71)。次に、フレ
ーム・バッファ管理領域1(図5の50)のエントリi
のフラグを調べ(ステップ72)、「使用中」でなけれ
ばフレーム・バッファiを確保することにし、そのフラ
グを「使用中」に更新し(ステップ76)、「使用中」
であればiに「1」を加算して更新し(ステップ7
3)、次のエントリを検索する。iを更新後その値を調
べ(ステップ74)、iがN1を超えた場合、使用可能
な高速メモリ上のフレーム・バッファはないため「確保
失敗」とする(ステップ75)。
FIG. 7 is a flowchart for explaining a procedure for trying to secure a frame buffer on the high-speed memory 53. Referring to FIG. 7, first, the entry number i to be searched is initialized to "1" (step 71). Next, entry i of frame buffer management area 1 (50 in FIG. 5)
Is checked (step 72). If the flag is not "in use", the frame buffer i is secured, and the flag is updated to "in use" (step 76).
If so, "1" is added to i and updated (step 7).
3) Retrieve the next entry. After updating i, its value is checked (step 74). If i exceeds N1, there is no frame buffer on the high-speed memory that can be used.

【0072】図8は、通常メモリ54上にフレーム・バ
ッファを確保を試みる手順を説明するための流れ図であ
る。図8を参照すると、まず、検索対象のエントリ番号
iを「1」に初期化する(ステップ81)。次に、フレ
ーム・バッファ管理領域2(図5の51)のエントリi
のフラグを調べ(ステップ82)、「使用中」でなけれ
ばフレーム・バッファiを確保することにし、そのフラ
グを「使用中」に更新し(86)、「使用中」であれば
iに「1」を加算して更新し(ステップ83)、次のエ
ントリを検索する。iを更新後、その値を調べ(ステッ
プ84)、iがN2を超えた場合、使用可能な通常メモ
リ上のフレーム・バッファはないため「確保失敗」とす
る(ステップ85)。
FIG. 8 is a flowchart for explaining a procedure for attempting to secure a frame buffer on the normal memory 54. Referring to FIG. 8, first, the entry number i to be searched is initialized to "1" (step 81). Next, entry i of frame buffer management area 2 (51 in FIG. 5)
(Step 82), the frame buffer i is secured if it is not "in use", and the flag is updated to "in use" (86). "1" is added and updated (step 83), and the next entry is searched. After updating i, its value is checked (step 84). If i exceeds N2, there is no available frame buffer on the normal memory, so "secure failed" (step 85).

【0073】以上説明した第2の実施例においても、頻
繁にアクセスされるIピクチャのためのフレーム・バッ
ファ確保時には、優先的に高速メモリ53上のフレーム
・バッファ(55、56)の利用可能性を検索し、Bピ
クチャのためのフレーム・バッファ確保時には、高速メ
モリ53上に確保されたフレーム・バッファ(55、5
6)を後に検索するため、ピクチャ・タイプにかかわら
ずフレーム・バッファを確保するという、従来の手法に
比べ、デコーダ・ソフトウェアの実行速度を高速化でき
る。
Also in the second embodiment described above, the availability of the frame buffers (55, 56) on the high-speed memory 53 is preferentially secured when securing the frame buffer for frequently accessed I-pictures. At the time of securing the frame buffer for the B picture, the frame buffer (55, 5
Since the search in 6) is performed later, the execution speed of the decoder software can be increased as compared with the conventional method of securing a frame buffer regardless of the picture type.

【0074】この第2の実施例においては、図7、及び
図8に流れ図で示した通り、フレーム・バッファ管理領
域1(50)、フレーム・バッファ管理領域2(51)
とも先頭エントリから昇順に検索したが、いずれか一方
のフレーム・バッファ管理領域、もしくは両方のフレー
ム・バッファ管理領域を末尾エントリから降順に検索し
ても同様の効果が得られる。
In the second embodiment, as shown in the flowcharts of FIGS. 7 and 8, the frame buffer management area 1 (50) and the frame buffer management area 2 (51)
In both cases, the search is performed in ascending order from the first entry. However, the same effect can be obtained by searching either one of the frame buffer management areas or both frame buffer management areas in descending order from the last entry.

【0075】次に本発明の第3の実施例を説明する。図
9は、本発明の第3の実施例の構成を示す図であり、優
先的にI、Pピクチャに高速なフレーム・バッファを割
り付けるフレーム・バッファ・プールの構成を示す。ま
た図10及び図11は、図9に示したフレーム・バッフ
ァ・プールを管理する方法を説明するための流れ図であ
る。なお、図10及び図11は、単に図面作成の都合で
分図されたものである。
Next, a third embodiment of the present invention will be described. FIG. 9 is a diagram showing the configuration of the third embodiment of the present invention, and shows the configuration of a frame buffer pool in which a high-speed frame buffer is preferentially allocated to I and P pictures. FIGS. 10 and 11 are flowcharts for explaining a method of managing the frame buffer pool shown in FIG. It should be noted that FIGS. 10 and 11 are merely separated for convenience of drawing.

【0076】図10及び図11を参照すると、I、Pピ
クチャ用フレーム・バッファとBピクチャ用フレーム・
バッファを、別のフレーム・バッファ・プール管理領域
で管理している。
Referring to FIGS. 10 and 11, a frame buffer for I and P pictures and a frame buffer for B pictures
The buffer is managed in another frame buffer pool management area.

【0077】図9に示した構成では、I、Pピクチャ用
にN3枚の、Bピクチャ用にN4枚のフレーム・バッフ
ァを確保しているとする。ただし、I、Pピクチャ用フ
レーム・バッファのうち1枚以上(好ましくは2枚以
上)は高速メモリ上に、残りは通常メモリ上に確保され
ているとする。同様にBピクチャ用フレーム・バッファ
のうち1枚以上は高速メモリ上に、残りは通常メモリ上
に確保されているとする。
In the configuration shown in FIG. 9, it is assumed that N3 frame buffers are reserved for I and P pictures and N4 frame buffers are reserved for B pictures. However, it is assumed that one or more (preferably two or more) of the I and P picture frame buffers are secured in a high-speed memory, and the rest are secured in a normal memory. Similarly, it is assumed that one or more of the B picture frame buffers are secured in a high-speed memory, and the rest are secured in a normal memory.

【0078】フレーム・バッファ管理領域は、I、Pピ
クチャ用フレーム・バッファを管理するN3個のエント
リを持つフレーム・バッファ管理領域3(90)と、B
ピクチャ用フレーム・バッファを管理するN4個のエン
トリを持つフレーム・バッファ管理領域4(91)から
成る。両管理領域の各エントリは対応するフレーム・バ
ッファが未使用か使用中かを示すフラグ(901、91
1)と、フレーム・バッファの開始のアドレス(90
2、912)を保持する。
The frame buffer management area includes a frame buffer management area 3 (90) having N3 entries for managing I and P picture frame buffers, and B
It comprises a frame buffer management area 4 (91) having N4 entries for managing the picture frame buffer. Each entry in both management areas has a flag (901, 91) indicating whether the corresponding frame buffer is unused or in use.
1) and the start address of the frame buffer (90
2, 912).

【0079】図9に示したフレーム・バッファ・プール
の初期化は、デコード・ソフトウェアの初期化120
(図14参照)時に完了しているものとする。すなわ
ち、MPEGビットストリームのデコード開始時には、
高速メモリ93上および通常メモリ94上に必要なフレ
ーム・バッファが確保され、フレーム・バッファ管理領
域(90、91)の全てのエントリのフラグ(901、
911)は未使用に設定されており、全てのエントリの
開始アドレス(902、912)は有効なフレーム・バ
ッファの開始アドレスを保持しているとする。また、
I、Pピクチャ用に高速メモリ93上に確保されたフレ
ーム・バッファ(95、96)のアドレスは、すべてフ
レーム・バッファ管理領域3(90)に、エントリ1か
ら昇順に登録されている。同様にBピクチャ用の高速メ
モリ93上に確保されたフレーム・バッファ(97)の
アドレスは、すべてフレーム・バッファ管理領域4(9
1)に、エントリ1から昇順に登録されている。
The initialization of the frame buffer pool shown in FIG.
(See FIG. 14). That is, at the start of decoding the MPEG bit stream,
Necessary frame buffers are secured on the high-speed memory 93 and the normal memory 94, and the flags (901, 901) of all entries in the frame buffer management area (90, 91) are reserved.
911) is set to be unused, and the start addresses (902, 912) of all entries hold valid frame buffer start addresses. Also,
The addresses of the frame buffers (95, 96) secured on the high-speed memory 93 for the I and P pictures are all registered in the frame buffer management area 3 (90) in ascending order from entry 1. Similarly, the addresses of the frame buffer (97) secured on the high-speed memory 93 for B pictures are all assigned to the frame buffer management area 4 (9).
1) are registered in ascending order from entry 1.

【0080】図10及び図11は、図9に示すフレーム
・バッファ・プールを管理する手順を示す流れ図であ
る。図10を参照すると、フレーム・バッファに格納す
るピクチャ・タイプを判定し(ステップ111)、Iま
たはPピクチャを格納するためのフレーム・バッファを
確保するときには、フレーム・バッファ管理領域3(9
0)のエントリ番号1からN3までを昇順に検索する。
FIGS. 10 and 11 are flowcharts showing a procedure for managing the frame buffer pool shown in FIG. Referring to FIG. 10, the picture type to be stored in the frame buffer is determined (step 111). When a frame buffer for storing an I or P picture is to be reserved, the frame buffer management area 3 (9
0) are searched in ascending order from entry numbers 1 to N3.

【0081】まず、検索対象のエントリ番号iを「1」
に初期化する(ステップ112)。次にエントリiのフ
ラグを調べ(ステップ113)、「使用中」でなければ
フレーム・バッファiを使用することにしてそのフラグ
を「使用中」に更新し(ステップ117)、「使用中」
ならiに「1」を加算して更新し(ステップ114)、
次のエントリを検索する。iを更新した後、その値を調
べ(ステップ115)、iが「N3」を超えた場合、使
用可能なフレーム・バッファはないので、エラー終了と
する(ステップ116)。
First, the entry number i to be searched is set to “1”.
(Step 112). Next, the flag of the entry i is checked (step 113). If the flag is not "in use", the frame buffer i is used and the flag is updated to "in use" (step 117).
Then, add “1” to i and update (step 114),
Search for the next entry. After updating i, the value is checked (step 115). If i exceeds "N3", there is no usable frame buffer, so that an error is terminated (step 116).

【0082】図11を参照して、Bピクチャを格納する
ためのフレーム・バッファを確保するときは、フレーム
・バッファ管理領域4(91)のエントリ番号1からN
4までを昇順に検索する。まず、検索対象のエントリ番
号iを「1」に初期化する(ステップ119)。次にエ
ントリiのフラグを調べ(ステップ120)、「使用
中」でなければフレーム・バッファiを使用することに
してそのフラグを「使用中」に更新し(ステップ12
4)、「使用中」ならiに「1」を加算して更新し(ス
テップ121)、次のエントリを検索する。iを更新後
その値を調べ(ステップ122)、iが「N4」を超え
た場合、使用可能なフレーム・バッファはないので、エ
ラー終了とする(ステップ123)。
Referring to FIG. 11, when securing a frame buffer for storing B pictures, entry numbers 1 to N in frame buffer management area 4 (91) are used.
Search up to 4 in ascending order. First, the entry number i to be searched is initialized to "1" (step 119). Next, the flag of the entry i is checked (step 120). If the flag is not "in use", the frame buffer i is used and the flag is updated to "in use" (step 12).
4) If "in use", i is updated by adding "1" to i (step 121), and the next entry is searched. After updating i, the value is checked (step 122). If i exceeds "N4", there is no usable frame buffer, so that an error is terminated (step 123).

【0083】図10及び図11に示した方法によれば、
高速メモリ上93に確保したフレーム・バッファを、I
またはPピクチャ用のフレーム・バッファ・プールに
1、できれば2枚、あるいはそれ以上登録し、通常メモ
リ94上のフレーム・バッファより優先して検索するこ
とで、アクセス回数が多いI、Pピクチャに高速メモリ
93上のフレーム・バッファが割り当てられる確率を増
やし、デコーダ・ソフトウェアの実行速度を高速化す
る。同時に、Bピクチャ用のフレーム・バッファ・プー
ルに最低1枚の高速メモリ93上に確保したフレーム・
バッファを登録し、通常メモリ94上のフレーム・バッ
ファより優先して検索することで、Bピクチャのデコー
ド処理が高速化される確率を増やす。
According to the method shown in FIGS. 10 and 11,
The frame buffer secured in high-speed memory 93 is
Alternatively, one, preferably two or more, are registered in the frame buffer pool for P pictures, and the search is performed prior to the frame buffer in the normal memory 94, so that I and P pictures with a large number of accesses can be processed at high speed. The probability that the frame buffer on the memory 93 is allocated is increased, and the execution speed of the decoder software is increased. At the same time, at least one frame secured in the high-speed memory 93 is stored in the frame buffer pool for B pictures.
By registering a buffer and performing a search prior to the frame buffer in the normal memory 94, the probability of speeding up the decoding process of the B picture is increased.

【0084】以上説明した、フレーム・バッファ・プー
ルの第3の実施例の構成は、比較的多数(例、3枚以
上)のフレーム・バッファが高速メモリ93上に確保で
き、通常の処理は高速メモリ93上で行えるが、ビット
レートの変動やMPEGソフトウェア・デコーダ以外の
タスクの負荷変動を想定し、最悪ケースに備え通常メモ
リ94上に多めにフレーム・バッファを確保しておくよ
うなシステムに適する。
In the structure of the third embodiment of the frame buffer pool described above, a relatively large number (for example, three or more) of frame buffers can be secured in the high-speed memory 93, and normal processing is performed at high speed. Although it can be performed on the memory 93, it is suitable for a system in which a large amount of a frame buffer is normally reserved on the memory 94 in the worst case in consideration of fluctuations in bit rate and load fluctuations of tasks other than the MPEG software decoder. .

【0085】図9に示した本発明の第3の実施例の構成
では、高速メモリ93上に確保したフレーム・バッファ
の枚数は3枚で、うち2枚をフレーム・バッファ管理領
域3(90)に、1枚をフレーム・バッファ管理領域4
(91)に登録したが、高速メモリ93上に2枚以上の
フレーム・バッファを確保し、フレーム・バッファ管理
領域3(90)に1枚以上、フレーム・バッファ管理領
域4(91)に1枚以上登録していれば同じ議論が適用
できる。
In the configuration of the third embodiment of the present invention shown in FIG. 9, the number of frame buffers secured in the high-speed memory 93 is three, two of which are in the frame buffer management area 3 (90). , One frame / buffer management area 4
Although registered in (91), two or more frame buffers are secured in the high-speed memory 93, and one or more are stored in the frame buffer management area 3 (90) and one is stored in the frame buffer management area 4 (91). The same discussion applies if you have registered above.

【0086】ただし、Bピクチャを生成する動き補償で
は、2枚の過去に生成されたピクチャを参照して双方向
予測を行うため、性能上高速メモリ93上に3枚以上の
フレーム・バッファを確保し、フレーム・バッファ管理
領域3(90)には2枚以上登録することが好ましい。
However, in the motion compensation for generating a B picture, three or more frame buffers are secured in the high-speed memory 93 in terms of performance because bidirectional prediction is performed with reference to two previously generated pictures. Preferably, two or more frames are registered in the frame buffer management area 3 (90).

【0087】上記第1から第3の実施例で説明したフレ
ーム・バッファ・プールの構成は、図4に示すように、
高速メモリ43と通常メモリ44が並列に内部バス45
に接続され、マイクロプロセッサ41のアドレス空間に
対等に割り付けられてアクセスされるシステムを想定し
ている。
The structure of the frame buffer pool described in the first to third embodiments is, as shown in FIG.
A high-speed memory 43 and a normal memory 44 are connected in parallel to an internal bus 45.
Is assumed to be connected to the address space of the microprocessor 41 and accessed equally.

【0088】ところが、上記第1から第3の実施例で説
明したフレーム・バッファ・プールの構成は、図12に
示した構成のマイクロコンピュータ・システムにも適用
可能な場合がある。
However, the configuration of the frame buffer pool described in the first to third embodiments may be applicable to the microcomputer system having the configuration shown in FIG.

【0089】図12に示す構成では、スタティックRA
Mがマイクロプロセッサと通常メモリの間に位置し、キ
ャッシュ・メモリ48として動作している。すなわち、
スタティックRAMは通常メモリの内容のうち、最近使
われたごく一部の内容のコピーを保持する。
In the configuration shown in FIG.
M is located between the microprocessor and the normal memory, and operates as the cache memory 48. That is,
A static RAM usually holds a copy of a small portion of the contents of memory that has recently been used.

【0090】しかし、マイクロプロセッサがキャッシュ
・ブロックのロック機構を備えていれば、キャッシュ・
メモリ48の一部のリプレースを禁止し、図4に示した
高速メモリ43のように使うことができる。すなわち、
上記した第1から第3のフレーム・バッファ・プールの
構成は、図12に示すマイクロコンピュータ・システム
にも適用可能である。
However, if the microprocessor has a cache block locking mechanism, the cache
Replacement of a part of the memory 48 is prohibited, and the memory 48 can be used like the high-speed memory 43 shown in FIG. That is,
The configurations of the first to third frame buffer pools described above are also applicable to the microcomputer system shown in FIG.

【0091】なお、上記実施例で流れ図を参照して説明
した処理はマイクロコンピュータのプログラム命令の実
行によって制御される。
The processing described with reference to the flowchart in the above embodiment is controlled by execution of a program instruction of the microcomputer.

【0092】[0092]

【発明の効果】以上説明したように、本発明によれば、
小容量の高速メモリと、大容量の通常メモリを組み合わ
せたシステムを用い、比較的低コストに比較的高速なM
PEGデコーダ・ソフトウェアを提供できるという効果
を奏する。
As described above, according to the present invention,
Using a system that combines a small-capacity high-speed memory and a large-capacity normal memory, a relatively low cost and relatively high-speed M
This has the effect of providing PEG decoder software.

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

【図1】本発明の第1の実施例の構成を説明するための
図である。
FIG. 1 is a diagram illustrating a configuration of a first exemplary embodiment of the present invention.

【図2】本発明の第1の実施例を説明するフロー・チャ
ートである。
FIG. 2 is a flowchart illustrating a first embodiment of the present invention.

【図3】ピクチャの依存関係の例を表す図である。FIG. 3 is a diagram illustrating an example of a picture dependency relationship.

【図4】高速メモリを持つマイクロコンピュータ・シス
テムの構成例を示す図である。
FIG. 4 is a diagram illustrating a configuration example of a microcomputer system having a high-speed memory.

【図5】本発明の第2の実施例の構成を説明するための
図である。
FIG. 5 is a diagram illustrating a configuration of a second exemplary embodiment of the present invention.

【図6】本発明の第2の実施例の動作を説明するフロー
・チャートである。
FIG. 6 is a flowchart illustrating the operation of the second exemplary embodiment of the present invention.

【図7】本発明の第2の実施例において、高速メモリ上
のフレーム・バッファを検索する手順を示すフロー・チ
ャートである。
FIG. 7 is a flowchart showing a procedure for searching a frame buffer on a high-speed memory in the second embodiment of the present invention.

【図8】本発明の第2の実施例において、通常メモリ上
のフレーム・バッファを検索する手順を示すフロー・チ
ャートである。
FIG. 8 is a flowchart showing a procedure for searching for a frame buffer in a normal memory in the second embodiment of the present invention.

【図9】本発明の第3の実施例の構成を説明するための
図である。
FIG. 9 is a diagram for explaining a configuration of a third exemplary embodiment of the present invention.

【図10】本発明の第3の実施例の動作を説明するフロ
ー・チャートである。
FIG. 10 is a flowchart illustrating the operation of the third embodiment of the present invention.

【図11】本発明の第3の実施例の動作を説明するフロ
ー・チャートである。
FIG. 11 is a flowchart illustrating the operation of the third embodiment of the present invention.

【図12】本発明の第4の実施例として高速メモリの代
わりにキャッシュを使う方式を説明するための図であ
る。
FIG. 12 is a diagram for explaining a method of using a cache instead of a high-speed memory as a fourth embodiment of the present invention.

【図13】マイクロコンピュータ・システムの構成例を
示す図である。
FIG. 13 is a diagram illustrating a configuration example of a microcomputer system.

【図14】MPEGビットストリームのデコード手順を
示すフロー・チャートである。
FIG. 14 is a flowchart showing a procedure for decoding an MPEG bit stream.

【図15】従来のフレーム・バッファ・プール構成の一
例を示す図である。
FIG. 15 is a diagram showing an example of a conventional frame buffer pool configuration.

【図16】従来のフレーム・バッファ・プール管理方法
を説明するためのフロー・チャートである。
FIG. 16 is a flow chart for explaining a conventional frame buffer pool management method.

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

10 フレーム・バッファ管理領域 11 メイン・メモリ 12 高速メモリ 13 通常メモリ 14 高速メモリ上に確保したフレーム・バッファ 15 高速メモリ上に確保したフレーム・バッファ 16 通常メモリ上に確保したフレーム・バッファ 17 通常メモリ上に確保したフレーム・バッファ 40 入出力装置 41 マイクロプロセッサ 42 メイン・メモリ 43 高速メモリ 44 通常メモリ 45 内部バス 46 ビットストリーム 47 デコード画像 48 キャッシュ・メモリ 50 フレーム・バッファ管理領域1 51 フレーム・バッファ管理領域2 52 メイン・メモリ 53 高速メモリ 54 通常メモリ 55 高速メモリ上に確保したフレーム・バッファ 56 高速メモリ上に確保したフレーム・バッファ 57 通常メモリ上に確保したフレーム・バッファ 58 通常メモリ上に確保したフレーム・バッファ 90 フレーム・バッファ管理領域3 91 フレーム・バッファ管理領域4 92 メイン・メモリ 93 高速メモリ 94 通常メモリ 95 高速メモリ上に確保したフレーム・バッファ 96 高速メモリ上に確保したフレーム・バッファ 97 通常メモリ上に確保したフレーム・バッファ 98 通常メモリ上に確保したフレーム・バッファ 99 通常メモリ上に確保したフレーム・バッファ 100 通常メモリ上に確保したフレーム・バッファ 101 通常メモリ上に確保したフレーム・バッファ 130 フレーム・バッファ管理領域 131 メイン・メモリ 132 メイン・メモリ上に確保したフレーム・バッフ
ァ 133 メイン・メモリ上に確保したフレーム・バッフ
ァ 134 メイン・メモリ上に確保したフレーム・バッフ
ァ 135 フラグ 136 開始アドレス 501 フラグ 502 開始アドレス 511 フラグ 512 開始アドレス 901 フラグ 902 開始アドレス 911 フラグ 912 開始アドレス
10 Frame buffer management area 11 Main memory 12 High-speed memory 13 Normal memory 14 Frame buffer allocated on high-speed memory 15 Frame buffer allocated on high-speed memory 16 Frame buffer allocated on normal memory 17 Normal memory 40 I / O device 41 Microprocessor 42 Main memory 43 High speed memory 44 Normal memory 45 Internal bus 46 Bit stream 47 Decoded image 48 Cache memory 50 Frame buffer management area 1 51 Frame buffer management area 2 52 Main memory 53 High-speed memory 54 Normal memory 55 Frame buffer allocated on high-speed memory 56 Frame buffer allocated on high-speed memory 57 Frame allocated on normal memory Frame buffer 58 Frame buffer secured on normal memory 90 Frame buffer management area 3 91 Frame buffer management area 4 92 Main memory 93 High speed memory 94 Normal memory 95 Frame buffer secured on high speed memory 96 High speed memory Frame buffer secured above 97 Frame buffer reserved above normal memory 98 Frame buffer reserved above normal memory 99 Frame buffer reserved above normal memory 100 Frame buffer reserved above normal memory 101 Normal memory Frame buffer secured above 130 Frame buffer management area 131 Main memory 132 Frame buffer secured on main memory 133 Frame buffer secured on main memory 134 Main Frame buffer secured on the memory 135 flag 136 start address 501 flags 502 the start address 511 flags 512 the start address 901 flags 902 the start address 911 flags 912 the start address

Claims (11)

【特許請求の範囲】[Claims] 【請求項1】MPEG規格によって圧縮されたビットス
トリームを伸長する装置において、高速型メモリと通常
型メモリが混在するメモリ・システムを備え、 MPEGで規定されるIピクチャおよびPピクチャを格
納するフレーム・バッファを前記高速型メモリ上に優先
して確保する、ことを特徴とする装置。
An apparatus for expanding a bit stream compressed according to the MPEG standard, comprising a memory system in which a high-speed type memory and a normal type memory are mixed, and a frame system for storing I-pictures and P-pictures specified by MPEG. An apparatus, wherein a buffer is preferentially allocated on the high-speed memory.
【請求項2】請求項1の装置において、 フレーム・バッファの割り当てを単一のフレーム・バッ
ファ管理領域により管理し、 前記フレーム・バッファ管理領域のエントリのうち、先
頭部分に、前記高速型メモリ上のフレーム・バッファを
登録し、それらより後のエントリに、前記通常型メモリ
上のフレーム・バッファを登録し、 IピクチャおよびPピクチャを格納するフレーム・バッ
ファを確保するときには、前記フレーム・バッファ管理
領域の先頭のエントリから昇順に検索し、 Bピクチャを格納するフレーム・バッファを確保すると
きは、前記フレーム・バッファ管理領域最後のエントリ
から降順に検索する、ことを特徴とする装置。
2. The apparatus according to claim 1, wherein frame buffer allocation is managed by a single frame buffer management area, and a head portion of said frame buffer management area entry is stored in said high-speed memory. When a frame buffer on the normal type memory is registered in an entry subsequent thereto, a frame buffer for storing I-pictures and P-pictures is secured. An apparatus which searches in ascending order from the head entry of the first area, and searches in descending order from the last entry in the frame buffer management area when allocating a frame buffer for storing a B picture.
【請求項3】請求項1の装置において、 フレーム・バッファの割り当てを、前記高速型メモリ上
のフレーム・バッファの割り当てを管理するフレーム・
バッファ管理領域と、前記通常型メモリ上のフレーム・
バッファの割り当てを管理するフレーム・バッファ管理
領域により管理し、 IピクチャおよびPピクチャを格納するフレーム・バッ
ファを確保するには、前記高速型メモリ上のフレーム・
バッファの割り当てを管理するフレーム・バッファ管理
領域を先に、前記通常型メモリ上のフレーム・バッファ
の割り当てを管理するフレーム・バッファ管理領域を後
に検索し、 Bピクチャを格納するフレーム・バッファを確保するに
は、前記通常型メモリ上のフレーム・バッファの割り当
てを管理するフレーム・バッファ管理領域を先に、前記
高速型メモリ上のフレーム・バッファの割り当てを管理
するフレーム・バッファ管理領域を後に検索する、こと
を特徴とする装置。
3. The apparatus according to claim 1, wherein the allocation of the frame buffer is performed by a frame buffer for managing the allocation of the frame buffer on the high-speed memory.
A buffer management area, and a frame
In order to manage the buffer allocation by a frame buffer management area and secure a frame buffer for storing I-pictures and P-pictures, a frame buffer on the high-speed memory is required.
The frame buffer management area for managing the allocation of the frame buffer on the normal type memory is searched first after the frame buffer management area for managing the allocation of the buffer, and the frame buffer for storing the B picture is secured. Searching for a frame buffer management area that manages the allocation of frame buffers on the high-speed memory first and a frame buffer management area that manages the allocation of frame buffers on the high-speed memory; An apparatus characterized in that:
【請求項4】請求項1記載の装置において、 フレーム・バッファの割り当てを、IピクチャまたはP
ピクチャに割り当てるフレーム・バッファの割り当てを
管理するフレーム・バッファ管理領域と、Bピクチャに
割り当てるフレーム・バッファの割り当てを管理するフ
レーム・バッファ管理領域により管理し、 双方のフレーム・バッファ管理領域のエントリの先頭
に、最低1枚ずつ高速型メモリ上に確保したフレーム・
バッファを登録し、 IピクチャまたはPピクチャを格納するフレーム・バッ
ファを確保するときは、IピクチャまたはPピクチャに
割り当てるフレーム・バッファの割り当てを管理するフ
レーム・バッファ管理領域をエントリ先頭から昇順に検
索し、 Bピクチャを格納するフレーム・バッファはBピクチャ
に割り当てるフレーム・バッファの割り当てを管理する
フレーム・バッファ管理領域をエントリ先頭から昇順に
検索する、ことを特徴とする装置。
4. The apparatus according to claim 1, wherein the allocation of the frame buffer is performed using an I picture or a P picture.
A frame buffer management area for managing the allocation of frame buffers to be allocated to pictures and a frame buffer management area for managing the allocation of frame buffers to be allocated to B-pictures. In addition, at least one frame is allocated on the high-speed memory
When registering a buffer and reserving a frame buffer for storing an I picture or a P picture, a frame buffer management area for managing the allocation of the frame buffer to be allocated to the I picture or the P picture is searched in ascending order from the head of the entry. A frame buffer for storing a B picture, wherein a frame buffer management area for managing the allocation of the frame buffer to be allocated to the B picture is searched in ascending order from the entry head.
【請求項5】請求項2、3、4のいずれか一に記載の装
置において、 キャッシュ・メモリの一部をロックし、リプレースされ
ないようにして、前記高速型メモリの代わりに使用す
る、ことを特徴とする装置。
5. The apparatus according to claim 2, wherein a part of the cache memory is locked so as not to be replaced, and is used instead of the high-speed memory. Characteristic device.
【請求項6】相対的に小容量の高速型メモリと大容量の
通常型メモリが混在するメモリ・システムを備え、MP
EG規格によって圧縮されたビットストリームを伸長す
る装置におけるフレーム・バッファの管理方法であっ
て、 フレーム・バッファの割り当てを単一のフレーム・バッ
ファ管理領域により管理し、前記フレーム・バッファ管
理領域のエントリのうち、先頭部分に、前記高速型メモ
リ上のフレーム・バッファを登録し、それらより後のエ
ントリに、前記通常型メモリ上のフレーム・バッファを
登録し、 IピクチャおよびPピクチャを格納するフレーム・バッ
ファを確保するときには、前記フレーム・バッファ管理
領域の先頭のエントリから昇順に検索し、 Bピクチャを格納するフレーム・バッファを確保すると
きは、前記フレーム・バッファ管理領域最後のエントリ
から降順に検索する、ことを特徴とするフレーム・バッ
ファ管理方法。
6. A memory system in which a relatively small-capacity high-speed memory and a large-capacity normal memory are mixed.
What is claimed is: 1. A method for managing a frame buffer in an apparatus for expanding a bit stream compressed according to the EG standard, comprising: managing frame buffer allocation by a single frame buffer management area; A frame buffer for registering a frame buffer on the high-speed memory at a head portion, registering a frame buffer on the normal memory for an entry subsequent to the frame buffer, and storing an I picture and a P picture. When securing a frame buffer for storing B pictures, search in ascending order from the last entry of the frame buffer management area. A method for managing a frame buffer.
【請求項7】相対的に小容量の高速型メモリと大容量の
通常型メモリが混在するメモリ・システムを備え、MP
EG規格によって圧縮されたビットストリームを伸長す
る装置におけるフレーム・バッファの管理方法であっ
て、 フレーム・バッファの割り当てを、前記高速型メモリ上
のフレーム・バッファの割り当てを管理するフレーム・
バッファ管理領域と、前記通常型メモリ上のフレーム・
バッファの割り当てを管理するフレーム・バッファ管理
領域により管理し、 IピクチャおよびPピクチャを格納するフレーム・バッ
ファを確保するには、前記高速型メモリ上のフレーム・
バッファの割り当てを管理するフレーム・バッファ管理
領域を先に、前記通常型メモリ上のフレーム・バッファ
の割り当てを管理するフレーム・バッファ管理領域を後
に検索し、 Bピクチャを格納するフレーム・バッファを確保するに
は、前記通常型メモリ上のフレーム・バッファの割り当
てを管理するフレーム・バッファ管理領域を先に、前記
高速型メモリ上のフレーム・バッファの割り当てを管理
するフレーム・バッファ管理領域を後に検索する、こと
を特徴とするフレーム・バッファ管理方法。
7. A memory system in which a high-speed memory having a relatively small capacity and a normal memory having a large capacity are mixed.
What is claimed is: 1. A method for managing a frame buffer in an apparatus for expanding a bit stream compressed according to the EG standard, comprising: a frame buffer that manages the allocation of a frame buffer on the high-speed memory.
A buffer management area, and a frame
In order to manage the buffer allocation by a frame buffer management area and secure a frame buffer for storing I-pictures and P-pictures, a frame buffer on the high-speed memory is required.
The frame buffer management area for managing the allocation of the frame buffer on the normal type memory is searched first after the frame buffer management area for managing the allocation of the buffer, and the frame buffer for storing the B picture is secured. Searching for a frame buffer management area that manages the allocation of frame buffers on the high-speed memory first and a frame buffer management area that manages the allocation of frame buffers on the high-speed memory; A method for managing a frame buffer.
【請求項8】相対的に小容量の高速型メモリと大容量の
通常型メモリが混在するメモリ・システムを備え、MP
EG規格によって圧縮されたビットストリームを伸長す
る装置におけるフレーム・バッファの管理方法であっ
て、 フレーム・バッファの割り当てを、IピクチャまたはP
ピクチャに割り当てるフレーム・バッファの割り当てを
管理するフレーム・バッファ管理領域と、Bピクチャに
割り当てるフレーム・バッファの割り当てを管理するフ
レーム・バッファ管理領域により管理し、 双方のフレーム・バッファ管理領域のエントリの先頭
に、最低1枚ずつ高速型メモリ上に確保したフレーム・
バッファを登録し、 IピクチャまたはPピクチャを格納するフレーム・バッ
ファを確保するときは、IピクチャまたはPピクチャに
割り当てるフレーム・バッファの割り当てを管理するフ
レーム・バッファ管理領域をエントリ先頭から昇順に検
索し、 Bピクチャを格納するフレーム・バッファはBピクチャ
に割り当てるフレーム・バッファの割り当てを管理する
フレーム・バッファ管理領域をエントリ先頭から昇順に
検索する、ことを特徴とするフレーム・バッファ管理方
法。
8. A memory system in which a high-speed memory having a relatively small capacity and a normal memory having a large capacity are mixed.
A method of managing a frame buffer in a device for expanding a bit stream compressed according to the EG standard, wherein the allocation of the frame buffer is performed using an I picture or a P picture
A frame buffer management area for managing the allocation of frame buffers to be allocated to pictures and a frame buffer management area for managing the allocation of frame buffers to be allocated to B-pictures. In addition, at least one frame is allocated on the high-speed memory
When registering a buffer and reserving a frame buffer for storing an I picture or a P picture, a frame buffer management area for managing the allocation of the frame buffer to be allocated to the I picture or the P picture is searched in ascending order from the head of the entry. A frame buffer storing a B picture, wherein a frame buffer management area for managing the allocation of the frame buffer allocated to the B picture is searched in ascending order from the entry head.
【請求項9】相対的に小容量の高速型メモリと大容量の
通常型メモリが混在するメモリ・システムを備え、MP
EG規格によって圧縮されたビットストリームを伸長す
る処理装置上で実行されてフレーム・バッファの管理を
行うプログラムであって、 フレーム・バッファの割り当てを単一のフレーム・バッ
ファ管理領域により管理し、前記フレーム・バッファ管
理領域のエントリのうち、先頭部分に、前記高速型メモ
リ上のフレーム・バッファを登録し、それらより後のエ
ントリに、前記通常型メモリ上のフレーム・バッファを
登録し、 IピクチャおよびPピクチャを格納するフレーム・バッ
ファを確保するときには、前記フレーム・バッファ管理
領域の先頭のエントリから昇順に検索し、 Bピクチャを格納するフレーム・バッファを確保すると
きは、前記フレーム・バッファ管理領域最後のエントリ
から降順に検索する、 前記各処理を前記処理装置に実行させるプログラムを記
録した記録媒体。
9. A memory system in which a high-speed memory having a relatively small capacity and a normal memory having a large capacity are mixed.
A program executed on a processing device for decompressing a bit stream compressed according to the EG standard to manage a frame buffer, wherein the frame buffer allocation is managed by a single frame buffer management area, and Registering a frame buffer on the high-speed memory at the head of the entries in the buffer management area, and registering a frame buffer on the normal memory at entries subsequent to the I-picture and P-picture When reserving a frame buffer for storing a picture, the search is performed in ascending order from the first entry in the frame buffer management area. When reserving a frame buffer for storing a B picture, the search is performed at the last entry in the frame buffer management area. Searching for each entry in descending order; Recording medium on which a program to be executed is recorded.
【請求項10】相対的に小容量の高速型メモリと大容量
の通常型メモリが混在するメモリ・システムを備え、M
PEG規格によって圧縮されたビットストリームを伸長
する処理装置上で実行されてフレーム・バッファの管理
を行うプログラムであって、 フレーム・バッファの割り当てを、前記高速型メモリ上
のフレーム・バッファの割り当てを管理するフレーム・
バッファ管理領域と、前記通常型メモリ上のフレーム・
バッファの割り当てを管理するフレーム・バッファ管理
領域により管理し、 IピクチャおよびPピクチャを格納するフレーム・バッ
ファを確保するには、前記高速型メモリ上のフレーム・
バッファの割り当てを管理するフレーム・バッファ管理
領域を先に、前記通常型メモリ上のフレーム・バッファ
の割り当てを管理するフレーム・バッファ管理領域を後
に検索し、 Bピクチャを格納するフレーム・バッファを確保するに
は、前記通常型メモリ上のフレーム・バッファの割り当
てを管理するフレーム・バッファ管理領域を先に、前記
高速型メモリ上のフレーム・バッファの割り当てを管理
するフレーム・バッファ管理領域を後に検索する、 前記各処理を前記処理装置で実行させるプログラムを格
納した記録媒体。
10. A memory system in which a high-speed memory having a relatively small capacity and a normal memory having a large capacity are mixed.
A program executed on a processor for expanding a bit stream compressed according to the PEG standard to manage a frame buffer. Frame
A buffer management area, and a frame
In order to manage the buffer allocation by the frame buffer management area and secure the frame buffer for storing the I picture and the P picture,
The frame buffer management area for managing the allocation of the frame buffer on the normal type memory is searched first before the frame buffer management area for managing the allocation of the buffer, and the frame buffer for storing the B picture is secured. Searching for a frame buffer management area for managing the allocation of frame buffers on the high-speed memory first and a frame buffer management area for managing the allocation of frame buffers on the high-speed memory later; A recording medium storing a program for causing the processing device to execute each of the processes.
【請求項11】相対的に小容量の高速型メモリと大容量
の通常型メモリが混在するメモリ・システムを備え、M
PEG規格によって圧縮されたビットストリームを伸長
する処理装置上で実行されてフレーム・バッファの管理
を行うプログラムであって、 フレーム・バッファの割り当てを、IピクチャまたはP
ピクチャに割り当てるフレーム・バッファの割り当てを
管理するフレーム・バッファ管理領域と、Bピクチャに
割り当てるフレーム・バッファの割り当てを管理するフ
レーム・バッファ管理領域により管理し、 双方のフレーム・バッファ管理領域のエントリの先頭
に、最低1枚ずつ高速型メモリ上に確保したフレーム・
バッファを登録し、 IピクチャまたはPピクチャを格納するフレーム・バッ
ファを確保するときは、IピクチャまたはPピクチャに
割り当てるフレーム・バッファの割り当てを管理するフ
レーム・バッファ管理領域をエントリ先頭から昇順に検
索し、 Bピクチャを格納するフレーム・バッファはBピクチャ
に割り当てるフレーム・バッファの割り当てを管理する
フレーム・バッファ管理領域をエントリ先頭から昇順に
検索する、 前記各処理を前記処理装置で実行させるプログラムを格
納した記録媒体。
11. A memory system in which a high-speed memory having a relatively small capacity and a normal memory having a large capacity are mixed.
A program which is executed on a processing device for expanding a bit stream compressed according to the PEG standard and manages a frame buffer.
A frame buffer management area for managing the allocation of frame buffers to be allocated to pictures and a frame buffer management area for managing the allocation of frame buffers to be allocated to B-pictures. In addition, at least one frame is allocated on the high-speed memory
When registering a buffer and reserving a frame buffer for storing an I picture or a P picture, a frame buffer management area for managing the allocation of the frame buffer to be allocated to the I picture or the P picture is searched in ascending order from the head of the entry. The frame buffer for storing the B picture searches for a frame buffer management area for managing the allocation of the frame buffer to be allocated to the B picture in ascending order from the entry head, and stores a program for causing the processing device to execute the above-described processes. recoding media.
JP2593997A 1997-01-24 1997-01-24 Frame buffer management method Expired - Lifetime JP2973964B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2593997A JP2973964B2 (en) 1997-01-24 1997-01-24 Frame buffer management method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2593997A JP2973964B2 (en) 1997-01-24 1997-01-24 Frame buffer management method

Publications (2)

Publication Number Publication Date
JPH10210484A true JPH10210484A (en) 1998-08-07
JP2973964B2 JP2973964B2 (en) 1999-11-08

Family

ID=12179735

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2593997A Expired - Lifetime JP2973964B2 (en) 1997-01-24 1997-01-24 Frame buffer management method

Country Status (1)

Country Link
JP (1) JP2973964B2 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000054509A1 (en) * 1999-03-08 2000-09-14 Sony Corporation Digital signal processing device and method, and providing medium
WO2004008776A1 (en) * 2002-07-15 2004-01-22 Matsushita Electric Industrial Co., Ltd. Moving picture encoding device and moving picture decoding device
JP2008278423A (en) * 2007-05-07 2008-11-13 Matsushita Electric Ind Co Ltd Moving image decoding integrated circuit, moving image decoding method, moving image decoding apparatus and moving image decoding program
WO2011118199A1 (en) * 2010-03-24 2011-09-29 パナソニック株式会社 Display switching device
JP2012512566A (en) * 2008-12-12 2012-05-31 クゥアルコム・インコーポレイテッド Intelligent buffering of decoded pictures
JP2013126083A (en) * 2011-12-14 2013-06-24 Fujitsu Ltd Image processing device

Cited By (32)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4770023B2 (en) * 1999-03-08 2011-09-07 ソニー株式会社 Digital signal processing apparatus and method, and digital signal processing program
WO2000054509A1 (en) * 1999-03-08 2000-09-14 Sony Corporation Digital signal processing device and method, and providing medium
US7103100B1 (en) 1999-03-08 2006-09-05 Sony Corporation Digital signal processing apparatus and method and providing medium
JP2014143726A (en) * 2002-07-15 2014-08-07 Panasonic Intellectual Property Corp Of America Moving picture encoding/decoding device
US7742523B2 (en) 2002-07-15 2010-06-22 Panasonic Corporation Moving picture coding apparatus and moving picture decoding apparatus
JP2014143725A (en) * 2002-07-15 2014-08-07 Panasonic Intellectual Property Corp Of America Moving picture encoding apparatus and method thereof
JP2009296605A (en) * 2002-07-15 2009-12-17 Panasonic Corp Memory management device and its method
US10230971B2 (en) 2002-07-15 2019-03-12 Godo Kaisha Ip Bridge 1 Moving picture coding apparatus and moving picture decoding apparatus
US7760803B2 (en) 2002-07-15 2010-07-20 Panasonic Corporation Moving picture encoding device and moving picture decoding device
CN1307839C (en) * 2002-07-15 2007-03-28 松下电器产业株式会社 Moving picture encoding device and moving picture decoding device
US9942561B2 (en) 2002-07-15 2018-04-10 Godo Kaisha Ip Bridge 1 Moving picture coding apparatus and moving picture decoding apparatus
US8139637B2 (en) 2002-07-15 2012-03-20 Panasonic Corporation Moving picture coding apparatus and moving picture decoding apparatus
US9936210B2 (en) 2002-07-15 2018-04-03 Godo Kaisha Ip Bridge 1 Moving picture coding apparatus and moving picture decoding apparatus
JP2013110770A (en) * 2002-07-15 2013-06-06 Panasonic Corp Moving picture decoder and method thereof
US9906806B2 (en) 2002-07-15 2018-02-27 Godo Kaisha Ip Bridge 1 Moving picture coding apparatus and moving picture decoding apparatus
JP2014143727A (en) * 2002-07-15 2014-08-07 Panasonic Intellectual Property Corp Of America Moving picture decoder and method thereof
WO2004008776A1 (en) * 2002-07-15 2004-01-22 Matsushita Electric Industrial Co., Ltd. Moving picture encoding device and moving picture decoding device
US9479790B2 (en) 2002-07-15 2016-10-25 Godo Kaisha Ip Bridge 1 Moving picture coding apparatus and moving picture decoding apparatus
AU2003281135B2 (en) * 2002-07-15 2007-09-20 Godo Kaisha Ip Bridge 1 Moving picture coding apparatus and moving picture decoding apparatus
US9473781B2 (en) 2002-07-15 2016-10-18 Godo Kaisha Ip Bridge 1 Moving picture coding apparatus and moving picture decoding apparatus
US8989264B2 (en) 2002-07-15 2015-03-24 Panasonic Intellectual Property Corporation Of America Moving picture coding apparatus and moving picture decoding apparatus
US9001891B2 (en) 2002-07-15 2015-04-07 Panasonic Intellectual Property Corporation Of America Moving picture coding apparatus and moving picture decoding apparatus
US9420301B2 (en) 2002-07-15 2016-08-16 Godo Kaisha Ip Bridge 1 Moving picture coding apparatus and moving picture decoding apparatus
US9398305B2 (en) 2002-07-15 2016-07-19 Godo Kaisha Ip Bridge 1 Moving picture coding apparatus and moving picture decoding apparatus
US9402081B2 (en) 2002-07-15 2016-07-26 Godo Kaisha Ip Bridge 1 Moving picture coding apparatus and moving picture decoding apparatus
JP2008278423A (en) * 2007-05-07 2008-11-13 Matsushita Electric Ind Co Ltd Moving image decoding integrated circuit, moving image decoding method, moving image decoding apparatus and moving image decoding program
US9253496B2 (en) 2008-12-12 2016-02-02 Qualcomm Incorporated Intelligent decoded picture buffering
JP2012512566A (en) * 2008-12-12 2012-05-31 クゥアルコム・インコーポレイテッド Intelligent buffering of decoded pictures
JP5662418B2 (en) * 2010-03-24 2015-01-28 パナソニック インテレクチュアル プロパティ コーポレーション オブアメリカPanasonic Intellectual Property Corporation of America Display processing apparatus, display processing method, and integrated circuit
WO2011118199A1 (en) * 2010-03-24 2011-09-29 パナソニック株式会社 Display switching device
US8810588B2 (en) 2010-03-24 2014-08-19 Panasonic Intellectual Property Corporation Of America Display switching apparatus
JP2013126083A (en) * 2011-12-14 2013-06-24 Fujitsu Ltd Image processing device

Also Published As

Publication number Publication date
JP2973964B2 (en) 1999-11-08

Similar Documents

Publication Publication Date Title
US6384846B1 (en) Methods and apparatus for rendering multiple images using a limited rendering resource
US7016418B2 (en) Tiled memory configuration for mapping video data and method thereof
US7190883B2 (en) Systems and methods for fast random access and backward playback of video frames using decoded frame cache
US7342967B2 (en) System and method for enhancing performance of personal video recording (PVR) functions on hits digital video streams
US8194730B2 (en) Efficient use of storage in encoding and decoding video data streams
JP3120773B2 (en) Image processing device
KR19990006296A (en) Method and device for MPEG image decompression
JP2002027409A (en) Method and equipment for decoding video stream with trick mode
US20170220283A1 (en) Reducing memory usage by a decoder during a format change
JP4755624B2 (en) Motion compensation device
EP1245119B1 (en) Method and apparatus for video decoding on a multiprocessor system
US20030030644A1 (en) System for testing multiple devices on a single system and method thereof
US6836273B1 (en) Memory management method, image coding method, image decoding method, image display method, memory management apparatus, and memory management program storage medium
JP2973964B2 (en) Frame buffer management method
US8300701B2 (en) Offspeed playback in a video editing system of video data compressed using long groups of pictures
JP3961654B2 (en) Image data decoding apparatus and image data decoding method
US6072543A (en) Priority order processing circuit and method for an MPEG system
JPH08149416A (en) Animation image decoding method and device therefor
US7974523B2 (en) Optimal buffering and scheduling strategy for smooth reverse in a DVD player or the like
US20020071060A1 (en) Video processor using shared memory space
US8948263B2 (en) Read/write separation in video request manager
US20110305442A1 (en) Method for utilizing at least one storage space sharing scheme to manage storage spaces utilized by video playback operation and related video playback apparatus thereof
US6567131B1 (en) Decoding apparatus and decoding method
US7103100B1 (en) Digital signal processing apparatus and method and providing medium
JP3307822B2 (en) Image processing device

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19990803