JP3444869B2 - Moving image data recording method and reproducing method thereof - Google Patents
Moving image data recording method and reproducing method thereofInfo
- Publication number
- JP3444869B2 JP3444869B2 JP2001206253A JP2001206253A JP3444869B2 JP 3444869 B2 JP3444869 B2 JP 3444869B2 JP 2001206253 A JP2001206253 A JP 2001206253A JP 2001206253 A JP2001206253 A JP 2001206253A JP 3444869 B2 JP3444869 B2 JP 3444869B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- recorded
- recording
- image data
- moving image
- 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
Links
Landscapes
- Television Signal Processing For Recording (AREA)
- Signal Processing For Digital Recording And Reproducing (AREA)
- Rotational Drive Of Disk (AREA)
Description
【0001】[0001]
【産業上の利用分野】この発明は、動画の画像データを
ビット圧縮して、例えばCD−ROM等の記録媒体に記
録する方法及びこの方法により記録された画像データの
再生方法に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method of bit-compressing image data of a moving image and recording it on a recording medium such as a CD-ROM and a method of reproducing image data recorded by this method.
【0002】[0002]
【従来の技術】例えば動画や静止画のデジタル画像デー
タを、例えば光ディスク等の記録媒体に記録する場合、
制限のある記録容量を最大限に生かして、できるだけ大
容量のデータを記録できることが望ましい。このため
に、画像データはデータ圧縮されて記録媒体に記録され
る。2. Description of the Related Art For example, when recording digital image data of a moving image or a still image on a recording medium such as an optical disk,
It is desirable to record as much data as possible by making maximum use of the limited recording capacity. For this reason, the image data is compressed and recorded on the recording medium.
【0003】この画像データの圧縮のために、従来、D
VI(Digital Video Interactive)や、MPEC(Mov
eing Picture Expert Group)のDCT(Discrete Cosi
neTransform )などの圧縮符号化方式が提案されてい
る。In order to compress this image data, D
VI (Digital Video Interactive) and MPEC (Mov
DCT (Discrete Cosi) of eing Picture Expert Group
A compression encoding method such as neTransform) has been proposed.
【0004】また、大容量の記録媒体としてCD−RO
Mが提案されており、マイクロコンピュータを使用した
ゲーム機やパーソナルコンピュータなどにおいて、外部
記憶媒体として使用されている。ゲーム機用として利用
する場合には、CD−ROMに動画の画像データを記録
し、この動画像データを読み出してホストコンピュータ
に取り込み、CRTディスプレイに動画(アニメーショ
ン)を表示する。A CD-RO is used as a large-capacity recording medium.
M has been proposed and is used as an external storage medium in game machines and personal computers using microcomputers. When used for a game machine, moving image data is recorded in a CD-ROM, the moving image data is read out and loaded into a host computer, and a moving image (animation) is displayed on a CRT display.
【0005】この場合に、従来のゲーム機において、C
D−ROMからの動画像データの読み出し方としては、
CD−ROMから動画像データを連続して読み出して動
画をディスプレイに表示するのではなく、CD−ROM
を適宜シークして、CD−ROMの所定の記録領域に記
録されている複数駒からなる動画の画像データを読み出
してホストコンピュータ側に用意されている大容量のR
AMに転送し、このRAMに記憶された複数駒分の画像
データからアニメーションを作成して表示するようにし
ている。In this case, in the conventional game machine, C
As a method of reading the moving image data from the D-ROM,
Instead of continuously reading moving image data from the CD-ROM and displaying moving images on the display, the CD-ROM
Is read appropriately to read out image data of a moving image composed of a plurality of frames recorded in a predetermined recording area of the CD-ROM, and a large-capacity R prepared in the host computer side is read out.
An animation is created from the image data for a plurality of frames stored in the RAM, and an animation is displayed.
【0006】[0006]
【発明が解決しようとする課題】上述の従来のゲーム機
におけるアニメーションの方法による場合には、動画の
1秒当たりの駒数が少なく、動きのスムースなアニメー
ションを得ることができない欠点があった。The above-mentioned conventional animation method for a game machine has a drawback in that the number of frames per second of a moving picture is small and a smooth animation cannot be obtained.
【0007】また、ゲーム機においては、対話性(イン
ターラクティブ性)を持たせることが重要である。例え
ば、画面に表示されている敵機に対して、プレーヤが攻
撃したとき、その結果に応じて、異なる画面を用意しな
ければならない。すなわち、敵機に弾が命中したとき
は、画面には敵機の爆発パターンの映像を表示しなけれ
ばならない。これに対して、攻撃が失敗したときには、
画面には、敵機に対して弾が外れた画像をディスプレイ
に表示しなければならない。Further, it is important for a game machine to have an interactive property. For example, when the player attacks the enemy aircraft displayed on the screen, different screens must be prepared according to the result. That is, when a bullet hits an enemy aircraft, an image of the explosion pattern of the enemy aircraft must be displayed on the screen. On the other hand, when the attack fails,
On the screen, the image with the missed bullets against the enemy aircraft must be displayed on the display.
【0008】以上のような対話性を上述のようなCD−
ROMからのアニーメーションにおても実現しようとす
る場合には、爆発パターンの画面と攻撃失敗画面とを常
に合わせ持たなければならない。このとき、例えば一方
の画面、例えば爆発パターンを別個特別の記録領域に記
録しておき、プレーヤの対応に応じて適宜その記録領域
をシークして爆発パターンの画面を映出することも考え
られるが、この方法は、シークのために時間がかかり、
エンターテインメント性を損ねてしまう。The above-mentioned interactivity is provided by the above-mentioned CD-
When trying to realize even the animation from the ROM, the screen of the explosion pattern and the screen of the attack failure must always be held together. At this time, for example, one screen, for example, the explosion pattern may be recorded in a separate special recording area, and the recording area may be appropriately seeked to display the explosion pattern screen according to the correspondence of the player. , This method is time consuming for seeking,
It impairs entertainment.
【0009】そこで、例えば前述したような画像圧縮方
法を採用することにより、画像データをさらに高能率に
圧縮して1枚の画面分として常に2個の画面の画像デー
タを記録しておくことが考えられる。Therefore, for example, by adopting the image compression method as described above, it is possible to compress the image data more efficiently and always record the image data of two screens as one screen. Conceivable.
【0010】しかしながら、上記のような従来の圧縮符
号化方式は、符号化のアルゴリズムが複雑である。例え
ばDCTなどでは積和演算(浮動少数点の掛け算)が必
要であって、ハードウエアの構成が大規模になってしま
う。また、デコードのために大容量のメモリが必要であ
って、専用の特殊なチップを必要とし、汎用のDSP
(Digital Signal Processor;デジタル信号処理プロセ
ッサ)を使用することができず、デコーダが高価格にな
ってしまう。However, the conventional compression coding method as described above has a complicated coding algorithm. For example, a DCT or the like requires a product-sum operation (multiplication of floating-point numbers), resulting in a large-scale hardware configuration. In addition, a large-capacity memory is required for decoding, a special special chip is required, and a general-purpose DSP is used.
(Digital Signal Processor) cannot be used, and the decoder becomes expensive.
【0011】また、画像信号のフレーム相関を用いてデ
ータ圧縮しているため、デコード時にエラーが発生する
と、そのエラーの影響が他のフレームまで伝播してしま
う欠点がある。さらには、圧縮率が大きい場合には、画
質が低下してしまう問題がある。Further, since the data is compressed using the frame correlation of the image signal, if an error occurs at the time of decoding, there is a drawback that the influence of the error propagates to other frames. Further, when the compression rate is large, there is a problem that the image quality is deteriorated.
【0012】この発明の目的は、画像データを常に最適
な圧縮率で記録することができると共に、デコード処理
が簡単な記録方法を提供することである。この発明の他
の目的は、例えばゲームのようにユーザの対応に応じて
複数の画面を瞬時に切り換えることを可能にする画像デ
ータの記録方法を提供することである。さらに、この発
明は、その記録方法により記録された記録媒体の再生方
法を提供する。An object of the present invention is to provide a recording method capable of always recording image data at an optimum compression rate and having a simple decoding process. Another object of the present invention is to provide a method of recording image data that enables a plurality of screens to be switched instantaneously in response to a user's response, such as a game. Furthermore, the present invention provides a reproducing method of a recording medium recorded by the recording method.
【0013】[0013]
【課題を解決するための手段】上記課題を解決するた
め、この発明による画像データの記録方法は、画像を構
成する画素の性質に応じてデータ圧縮処理を行なって、
1画素当たりのビット数を圧縮し、この圧縮した画像デ
ータを、記録位置を所定の速度で移動する記録媒体に記
録するに当たって、圧縮して記録する画像の記録情報量
に応じて前記記録媒体の移動速度を変化させて記録する
と共に、前記移動速度が変更された記録位置及び移動速
度を識別するための情報を前記記録媒体に記録するよう
にしたことを特徴とする。In order to solve the above-mentioned problems, the image data recording method according to the present invention performs a data compression process in accordance with the properties of pixels forming an image,
When the number of bits per pixel is compressed and the compressed image data is recorded on a recording medium which moves a recording position at a predetermined speed, the compressed image data of the recording medium is compressed according to the amount of recording information of the image to be recorded. The moving speed is changed and recorded, and information for identifying the recording position and the moving speed where the moving speed is changed is recorded on the recording medium.
【0014】また、複数個の画像を、並列的に記録する
場合に、前記記録する画像の数に応じて前記記録媒体の
移動速度を変化させて記録することを特徴とする。Further, when a plurality of images are recorded in parallel, the moving speed of the recording medium is changed according to the number of the images to be recorded.
【0015】[0015]
【作用】記録媒体の移動速度を記録画像情報量あるいは
記録する画像の数に応じて変更して記録するから、デー
タ圧縮効率を常に最適にすることができる。Since the moving speed of the recording medium is changed and recorded according to the amount of recorded image information or the number of images to be recorded, the data compression efficiency can always be optimized.
【0016】そして、記録媒体にはその記録時の移動速
度を識別する情報が記録されているので、再生時には、
この情報に基づいて記録媒体の再生時の移動速度を決定
することができる。Since information for identifying the moving speed at the time of recording is recorded on the recording medium, at the time of reproduction,
Based on this information, the moving speed of the recording medium during reproduction can be determined.
【0017】[0017]
【実施例】以下、この発明による画像データの記録方法
及びこの記録方法により記録した記録媒体の再生方法の
一実施例を、図を参照して説明する。この例は、記録媒
体がCD−ROMの場合であり、また、画像再生装置が
ゲーム機の場合である。また、CD−ROMディスクの
回転速度として通常の速度(1倍速度)と、その2倍速
度とが選択できる場合の例である。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of a method of recording image data according to the present invention and a method of reproducing a recording medium recorded by this recording method will be described below with reference to the drawings. In this example, the recording medium is a CD-ROM, and the image reproducing device is a game machine. Further, this is an example in which the normal speed (1 × speed) and the 2 × speed can be selected as the rotation speed of the CD-ROM disc.
【0018】この例の画像再生装置では、後述するよう
に、CD−ROMから画像データを連続して読み出しな
がら動画を再生して、駒数が多く、スムースな動きのア
ニメーションを実現すると共に、動画を背景と前景とに
分け、前景の画像を瞬時に切り換えることができるよう
にして、インターラクティブ性を持たせた画像の再生が
できるようにしている。In the image reproducing apparatus of this example, as will be described later, the moving image is reproduced while continuously reading the image data from the CD-ROM to realize an animation with a large number of frames and a smooth motion, and the moving image is also reproduced. Is divided into a background and a foreground, and images in the foreground can be switched instantaneously so that an image having an interactive property can be reproduced.
【0019】[画像データの記録方法を実行するエンコ
ーダ装置]図1及び図2は、この例の画像データの記録
方法を実行する装置の一例のブロック図である。この例
においては、圧縮した画像データはCD−ROMに記録
する。このCD−ROMは、後述するようにゲーム機用
のソフトとして用いられ、動画を再生できるように、画
像データが高能率圧縮されている。[Encoder Device for Executing Image Data Recording Method] FIGS. 1 and 2 are block diagrams of an example of an apparatus for executing the image data recording method of this example. In this example, the compressed image data is recorded on the CD-ROM. This CD-ROM is used as software for a game machine as described later, and image data is highly efficiently compressed so that a moving image can be reproduced.
【0020】この例においては、1フレーム(1画面)
は、図3Aに示すように、例えば、横×縦=256画素
×144画素で構成され、また、1画素は三原色R,
G,Bがそれぞれ8ビットで表されている。そして、こ
の原画像データが1フレーム単位で以下のようにデータ
圧縮処理される。なお、フレーム単位のデータには、デ
ィザ等の前処理を施して、予めフレーム内の色数を制限
し、後述するベクトル量子化が容易になるようにしてお
くものである。In this example, one frame (one screen)
3A includes, for example, horizontal × vertical = 256 pixels × 144 pixels, and one pixel has three primary colors R,
G and B are each represented by 8 bits. Then, the original image data is subjected to data compression processing in the unit of one frame as follows. It should be noted that data in units of frames is subjected to preprocessing such as dither to limit the number of colors in a frame in advance so that vector quantization to be described later can be facilitated.
【0021】すなわち、入力端21を通じてフレーム単
位の動画像データVAが差分演算手段23に供給される
と共に、この動画の背景画の画像データBGが、入力端
22を通じて、この差分演算手段23に供給される。こ
の差分演算手段23では、動画フレームと背景画フレー
ムとの差分が求められ、動画フレームから背景の部分
(1フレームの動画像の中で、動きのない部分)が検出
される。そして、検出された背景に当たる部分は透明色
(画素値は、例えば(R,G,B)=(0,0,0)で
ある)とされる。この差分演算手段23の出力データ
は、キャラクタ分割手段24に供給される。That is, the moving image data VA in frame units is supplied to the difference calculating means 23 through the input end 21, and the image data BG of the background image of this moving image is supplied to the difference calculating means 23 through the input end 22. To be done. The difference calculating means 23 obtains the difference between the moving image frame and the background image frame, and detects the background portion (the portion having no motion in one frame of moving image) from the moving image frame. Then, the portion corresponding to the detected background is made a transparent color (the pixel value is (R, G, B) = (0, 0, 0), for example). The output data of the difference calculating means 23 is supplied to the character dividing means 24.
【0022】なお、入力端21からの動画像データの入
力がなく、入力端22からの背景画データBGのみの場
合には、この差分演算手段23はバイパスされて、背景
画データBGがキャラクタ分割手段24に供給される。When there is no moving image data input from the input end 21 and only the background image data BG from the input end 22, the difference calculating means 23 is bypassed and the background image data BG is divided into characters. Is supplied to the means 24.
【0023】キャラクタ分割手段24では、図3Bに示
すように、1フレームの画像がそれぞれ横×縦=8画素
×8画素からなる小領域ブロック(以下このブロックを
キャラクタと称する)に分割される。したがって、図3
Bにも示したように、1フレームの画像のデータは、3
2×18=576個のキャラクタの画像データC(0)〜
C(575) に分割される。これらのキャラクタデータ中に
は、64個の画素がすべて前記透明色であるものが含ま
れている。この透明色の画素のみからなるキャラクタを
ヌルキャラクタと呼ぶことにする。In the character dividing means 24, as shown in FIG. 3B, one frame image is divided into small area blocks (horizontal × vertical = 8 pixels × 8 pixels) (hereinafter, this block is referred to as a character). Therefore, FIG.
As shown in B, the data of one frame image is 3
2 × 18 = 576 character image data C (0)-
It is divided into C (575). These character data include data in which 64 pixels are all the transparent color. A character consisting only of transparent pixels will be called a null character.
【0024】このキャラクタ分割手段24からの1フレ
ーム分のキャラクタの画像データC(0) 〜C(575) は、
ヌルキャラクタ削除手段25に供給され、ヌルキャラク
タが削除されて、1フレーム当たりのキャラクタ数が削
減される。このヌルキャラクタ削除手段25からの削減
されたキャラクタデータC(0) 〜C( N) (N<57
6)は、パレット分割手段26に供給される。また、削
除されたヌルキャラクタの画面位置に関する情報が、後
述の図2のスクリーンテーブル作成手段32に供給され
る。The image data C (0) to C (575) of the character for one frame from the character dividing means 24 is
The null characters are supplied to the null character deleting means 25 to delete the null characters, and the number of characters per frame is reduced. The reduced character data C (0) to C (N) from the null character deleting means 25 (N <57
6) is supplied to the pallet dividing means 26. Further, information regarding the screen position of the deleted null character is supplied to the screen table creating means 32 of FIG. 2 described later.
【0025】パレット分割手段26では、キャラクタを
そのキャラクタ内の色の分布によって、似た色を持つキ
ャラクタ同志をまとめることにより、この例では8つの
グループ(各グループをパレットと称する)に分類す
る。例えば、図3Cに示すように、画像の内容に応じて
色調の似たキャラクタのグループが、A,B,C,D,
E…のように生じたとした場合、このグループA,B,
C,D,E…毎にパレットが構成される。The palette dividing means 26 classifies characters into eight groups (each group is referred to as a palette) in this example by collecting characters having similar colors according to the color distribution within the character. For example, as shown in FIG. 3C, groups of characters having similar color tones depending on the contents of the image are A, B, C, D, and
If it occurs like E ..., this group A, B,
A palette is constructed for each of C, D, E ....
【0026】この例の場合、8つのパレットの割当方法
は、
(1)各キャラクタの代表色(例えばキャラクタ内の色
の平均値)を計算し、各キャラクタはその代表色からな
るものと仮定する。
(2)ベクトル量子化を行い、1フレーム内の全てのキ
ャラクタの代表色を8色に量子化する。すなわち、キャ
ラクタ数はN個であるので、キャラクタの代表色は最大
N色となるが、これを量子化して全てのキャラクタを8
色の代表色で表現する。このベクトル量子化の手法とし
ては種々提案されているものが使用できるが、この例で
は、赤、青、緑の三原色の色成分を互いに直交する方向
にとって3次元色空間を考えたとき、各キャラクタの代
表色間のその色空間上の距離を求め、互いの距離の短い
代表色のキャラクタ同志をまとめる、すなわち近似する
代表色のキャラクタ同志をまとめる処理を行う。
(3)同じラベル(代表色)を持つキャラクタ同志をま
とめて一つのパレットとする。の3ステップにより行わ
れる。In the case of this example, the method of allocating eight palettes is as follows: (1) The representative color of each character (for example, the average value of the colors in the character) is calculated, and it is assumed that each character consists of the representative color. . (2) Vector quantization is performed, and the representative colors of all characters in one frame are quantized into eight colors. That is, since the number of characters is N, the maximum number of representative colors of the character is N.
Expressed as a representative color. Although various proposed methods can be used as the vector quantization method, in this example, when the three-dimensional color space is considered with the color components of the three primary colors of red, blue, and green being orthogonal to each other, each character The distance between the representative colors in the color space is calculated, and the characters of the representative colors having a short distance from each other are put together, that is, the characters of the similar representative colors are put together. (3) Characters having the same label (representative color) are put together into one palette. It is performed in three steps.
【0027】なお、各パレットを構成するキャラクタの
グループは、連続したキャラクタの領域のものである必
要はなく、飛び飛びのキャラクタ同志が、1つのパレッ
トのグループを構成してもよい。The group of characters forming each palette does not have to be a continuous character area, and scattered characters may form one palette group.
【0028】8個のパレットのデータP(0) 〜P(7)
(各データP(i) は、1ないし複数個のキャラクタデー
タからなり、各キャラクタデータは24ビットの色デー
タである)は、レジスタに一時蓄えられ、それぞれベク
トル量子化手段27に供給される。また、各パレットと
それに含まれるキャラクタの画面上の位置に関する情報
が、後述する図2のスクリーンテーブル作成手段32に
供給される。Data P (0) to P (7) of eight pallets
(Each data P (i) is composed of one or a plurality of character data, and each character data is 24-bit color data) is temporarily stored in a register and supplied to the vector quantizing means 27. Further, information on the positions of the respective palettes and the characters contained therein on the screen is supplied to the screen table creating means 32 of FIG. 2 described later.
【0029】ベクトル量子化手段27では、前述したパ
レット分割の場合と同様にして、各パレット内の複数個
のキャラクタの画素について近似する色の画素同志をま
とめて1つの代表色とする処理を行って15色の画素の
代表色が決定される。そして、まとめられた近似する色
の画素は、その代表色で置き換えられる。このとき、1
つのパレット内の画素の色数が15色より多ければ、さ
らにベクトル量子化が行われてパレット内の画素の色が
15色以下になるように丸められる。そして、その結果
の15色以下の色が、そのパレットの画素の代表色とさ
れる。In the vector quantizing means 27, similarly to the case of the palette division described above, the pixels of a plurality of characters in each palette are collectively treated as one representative color for pixels of similar colors. The representative color of the 15-color pixel is determined. Then, the summarized pixels of similar colors are replaced with the representative color. At this time, 1
If the number of colors of pixels in one palette is more than 15 colors, vector quantization is further performed to round the pixels in the palette to 15 colors or less. Then, the resulting 15 or less colors are set as the representative colors of the pixels of the palette.
【0030】こうして、ベクトル量子化手段27から
は、各パレット内のキャラクタの画素データのそれぞれ
が、そのパレットの15色以下の代表色に置き換えられ
たデータP′ (0) 〜P′ (7) が得られる。このベクト
ル量子化処理により、データP′ (0) 〜P′ (7) に含
まれる各キャラクタ内の画素の色は、15色以下にな
り、すべての画素が同一の1色からなる単色キャラクタ
も生じる。In this way, from the vector quantizing means 27, the data P '(0) to P' (7) in which the respective pixel data of the characters in each palette are replaced by the representative colors of 15 colors or less of that palette. Is obtained. By this vector quantization processing, the color of the pixel in each character included in the data P '(0) to P' (7) becomes 15 colors or less, and a single-color character in which all the pixels are the same is also included. Occurs.
【0031】このベクトル量子化手段27からの、それ
ぞれ15色以下に丸められた8個のパレットのキャラク
タ単位の画像データP′(0) 〜P′(7) は、それぞれラ
ベリング手段28に供給される。このラベリング手段2
8では、各パレットについてそれぞれ画素の代表色とし
て選定された15色又は15以下の色データの色変換テ
ーブルCOL(0) 〜COL(7) が作成され、レジスタに
一時蓄えられる(図4参照)。The image data P '(0) to P' (7) in character units of 8 palettes, each of which is rounded to 15 colors or less, from the vector quantizing means 27 are supplied to the labeling means 28. It This labeling means 2
In FIG. 8, color conversion tables COL (0) to COL (7) of 15 colors or less than 15 color data selected as representative colors of pixels for each palette are created and temporarily stored in the register (see FIG. 4). .
【0032】この場合、各色変換テーブルCOL(j)
は、色番号0〜15の16色分からなるが、各色変換テ
ーブルCOL(j) の色番号0には、色は割り当てられず
に、この色番号0で表される画素は、再生画面上、透明
として表示されるように定められている。In this case, each color conversion table COL (j)
Consists of 16 colors of color numbers 0 to 15. No color is assigned to color number 0 of each color conversion table COL (j), and the pixel represented by this color number 0 is It is specified to be displayed as transparent.
【0033】また、色番号1〜15の色データは、図4
に示すように、赤R,青B,緑Gの、それぞれが5ビッ
トで表される。なお実際には1ビットのダミーが加わっ
て16ビット(2バイト)とされている。Color data of color numbers 1 to 15 are shown in FIG.
As shown in, each of red R, blue B, and green G is represented by 5 bits. Actually, a 1-bit dummy is added to make 16 bits (2 bytes).
【0034】この色変換テーブルCOL(0) 〜COL
(7) のデータは、図2に示すように、データ量計算手段
30に供給されると共に、記録データとしてCD−RO
Mエンコーダ31に供給される。This color conversion table COL (0) to COL
The data of (7) is supplied to the data amount calculating means 30 as shown in FIG.
It is supplied to the M encoder 31.
【0035】また、ラベリング手段28では、各パレッ
トのキャラクタの画素について色変換テーブルCOL
(0) 〜COL(7) が参照されて、各画素データが、その
画素が含まれるパレットの色変換テーブル上で、その画
素の色が対応する色番号で表現されるラベル画像データ
に変換される。この場合、色番号は1〜15であるの
で、ラベル画像データは、4ビットで表現されている。Further, the labeling means 28 uses the color conversion table COL for the pixels of the character of each palette.
(0) to COL (7) are referred to, and each pixel data is converted into label image data in which the color of the pixel is represented by the corresponding color number on the color conversion table of the palette including the pixel. It In this case, since the color numbers are 1 to 15, the label image data is represented by 4 bits.
【0036】こうして、パレットP(0) のキャラクタ
データについて、それぞれ4ビットからなるラベル画像
データLAB(0,a) (a=0,1,2,…)が、パレットP(1)
のキャラクタデータについて、ラベル画像データLA
B(1,b) (b=0,1,2,…)が、……パレットP(7) のキ
ャラクタデータについて、ラベル画像データLAB(7,
g) (g=0,1,2,…)が、それぞれ得られる。そして、こ
のラベル画像データLAB(0,a) 〜LAB(7,g) が、単
色キャラクタ削除手段29に供給される。Thus, for the character data of the palette P (0), the label image data LAB (0, a) (a = 0,1,2, ...) Each consisting of 4 bits is converted into the palette P (1).
Label image data LA
B (1, b) (b = 0,1,2, ...) is the label image data LAB (7, for character data of palette P (7).
g) (g = 0,1,2, ...) are obtained respectively. Then, the label image data LAB (0, a) to LAB (7, g) are supplied to the monochromatic character deleting means 29.
【0037】この単色キャラクタ削除手段29では、画
像データ中から単色キャラクタが削除される。そして、
単色キャラクタが削除された1フレームのキャラクタデ
ータが、順次先詰めされたデータLAB(0) 〜LAB
(M) (M<N<576)が、この単色キャラクタ削除手
段29からデータ量計算手段30に供給されると共に、
CD−ROMエンコーダ31に供給される。The monochromatic character deleting means 29 deletes monochromatic characters from the image data. And
Data LAB (0) to LAB in which character data of one frame in which a monochrome character is deleted are sequentially packed in advance.
(M) (M <N <576) is supplied from the monochrome character deletion means 29 to the data amount calculation means 30, and
It is supplied to the CD-ROM encoder 31.
【0038】また、単色キャラクタ削除手段29から
は、削除した単色キャラクタの画面上の位置に関する情
報が得られ、これがスクリーンテーブル作成手段32に
供給される。Further, from the monochromatic character deleting means 29, information on the position of the deleted monochromatic character on the screen is obtained and supplied to the screen table creating means 32.
【0039】スクリーンテーブル作成手段32では、1
フレームのキャラクタについて画面上の元の位置への並
べ換えのための情報SCR0 〜SCR575からなるスク
リーンテーブルscrが形成される。このスクリーンテ
ーブルscrの各情報SCRk (k=0,1,2 …,575)は、
図5に示すように、1フレームの画面をキャラクタと同
じ大きさの小領域に分割し、各小領域に表示されるキャ
ラクタのキャラクタ番号(10ビット) (キャラクタ
番号は先詰めして記録される圧縮データのキャラクタの
順番)と、パレット番号(3ビット)が定められて構成
されたものである。この例の場合、各情報SCRk は、
図5に示すように、例えば2バイトのデータで構成され
る。In the screen table creating means 32, 1
A screen table scr is formed of information SCR0 to SCR575 for rearranging the characters of the frame to the original positions on the screen. Each information SCRk (k = 0,1,2 ..., 575) of this screen table scr is
As shown in FIG. 5, the screen of one frame is divided into small areas of the same size as the character, and the character number (10 bits) of the character displayed in each small area (the character number is recorded in advance). It is configured by defining a character order of compressed data) and a palette number (3 bits). In the case of this example, each information SCRk is
As shown in FIG. 5, it is composed of, for example, 2-byte data.
【0040】キャラクタ番号は、その小領域の位置に表
示されるべきキャラクタの、記録される1フレームのデ
ータ中でのキャラクタ順位である。また、パレット番号
は、その小領域に表示されるキャラクタが、8個のパレ
ットのうちのどのパレットに含まれているかを示す。す
なわち、どの色変換テーブルをデコード時に使用するか
を示すことになる。The character number is the character rank in the recorded data of one frame of the character to be displayed at the position of the small area. Further, the palette number indicates which of the eight palettes the character displayed in the small area is included in. That is, it indicates which color conversion table is used for decoding.
【0041】また、この例の場合、キャラクタ番号のう
ちの0は、ヌルキャラクタに対して割り当てられる。デ
コード側では、このスクリーンテーブルscr上で、キ
ャラクタ番号が0である小領域は背景色と同じと判別
し、透明として表示すれば良い。したがって、ヌルキャ
ラクタの画素データは、スクリーンテーブルscrにそ
の制御データを記録しておくことにより、圧縮画像デー
タとしては記録しない。In the case of this example, 0 of the character numbers is assigned to the null character. On the decoding side, on the screen table scr, the small area having the character number 0 may be determined to be the same as the background color and displayed as transparent. Therefore, the null character pixel data is not recorded as compressed image data by recording the control data in the screen table scr.
【0042】また、キャラクタ番号の1〜15までは、
単色キャラクタに対してのみ割り当てられる。すなわ
ち、スクリーンテーブルscrにおいて、ある小領域の
位置に表示されるキャラクタが単色キャラクタであると
きには、その小領域に対しては、パレット番号は他の記
録するキャラクタに対するものと同様に割り当てられる
が、キャラクタ番号の代わりに、その単色キャラクタが
含まれるパレットの色変換テーブルの1〜15のうちの
1つの色番号が割り当てられる。これにより、その小領
域の色(単色)が決まる。したがって、単色キャラクタ
も、このスクリーンテーブルscrに、そのキャラクタ
の色のデータを前記のように登録して記録することによ
り、後述する各キャラクタについての圧縮画像データと
しては記録しない。Character numbers 1 to 15 are
Only assigned to monochromatic characters. That is, when the character displayed at the position of a certain small area in the screen table scr is a monochromatic character, the palette number is assigned to that small area in the same manner as for other recorded characters. Instead of the number, one of the color numbers 1 to 15 in the color conversion table of the palette including the single color character is assigned. As a result, the color (single color) of the small area is determined. Therefore, even a single-color character is not recorded as compressed image data for each character to be described later by registering and recording the color data of the character in the screen table scr as described above.
【0043】以上のことから、ヌルキャラクタ及び単色
キャラクタのため、先詰めされて記録される圧縮画像デ
ータの1フレームのキャラクタに対するキャラクタ番号
は、16番から始まるように認識され、スクリーンテー
ブルのデータSCRk 中に記録される。すなわち、1フ
レームの先頭のキャラクタが配されるべき小領域のスク
リーンテーブルのデータSCRk には、キャラクタ番号
として16番が、2番目のキャラクタが配されるべき小
領域のスクリーンテーブルのデータSCRkには、キャ
ラクタ番号として17番が、というように記録される。
もともと、キャラクタ番号には、10ビットが割り当て
られているので、このような番号のシフトには十分に余
裕がある。From the above, since the character is a null character and a monochromatic character, the character number for the character of one frame of the compressed image data recorded in advance is recognized to start from number 16, and the data SCRk of the screen table is recognized. Recorded inside. That is, the screen table data SCRk of the small area in which the head character of one frame is to be arranged is 16 as the character number, and the screen table data SCRk of the small area in which the second character is to be arranged is , 17 is recorded as the character number.
Originally, 10 bits are allocated to the character number, so there is a sufficient margin for shifting such a number.
【0044】このスクリーンテーブル作成手段32から
のスクリーンテーブルscrのデータは、データ量計算
手段30に供給されると共に、記録データとしてCD−
ROMエンコーダ31に供給される。The data of the screen table scr from the screen table creating means 32 is supplied to the data amount calculating means 30 and at the same time recorded as CD-data as recording data.
It is supplied to the ROM encoder 31.
【0045】CD−ROMエンコーダ31では、1フレ
ーム分の画像データを1つの塊として処理するが、記録
データはCD−ROMフォーマットにしたがったセクタ
単位で管理する。The CD-ROM encoder 31 processes one frame of image data as one block, but the recorded data is managed in sector units according to the CD-ROM format.
【0046】例えば、CD−ROMの記録モードがモー
ド1のときのセクタは、図6のようになっている。すな
わち、セクタの先頭にはシンク(同期)パターンが配さ
れ、それに続いて、セクタ番号やトラック番号などを含
むヘッダが配される。そして、このヘッダの後が2Kバ
イトのユーザデータとされ、最後がユーザデータのエラ
ー検出用及びエラー訂正用符号などからなる補助データ
とされる。For example, the sector when the recording mode of the CD-ROM is the mode 1 is as shown in FIG. That is, a sync (synchronization) pattern is arranged at the head of the sector, and subsequently, a header including a sector number, a track number, etc. is arranged. The header is followed by 2 Kbytes of user data, and the end of the header is auxiliary data including error detection and error correction codes of the user data.
【0047】この例の場合、セクタのユーザデータの領
域に、前述した動画の画像データや背景画の画像データ
その他のデータが記録される。そして、この2Kバイト
のユーザデータの始めの32バイトは、識別用情報ID
とされる。この識別用情報IDは、各セクタのユーザデ
ータの領域にどのような内容のデータが記録されている
かを示すと共に、1フレーム分のデータが何セクタ続く
かを示す情報を含む。また、CD−ROMディスクの記
録時の回転速度の情報も含む。この識別用情報IDに、
その他の情報を含むようにすることができることはもち
ろんである。In the case of this example, the moving image data, the background image data and other data are recorded in the user data area of the sector. The 32 bytes at the beginning of the 2 Kbytes of user data are identification information IDs.
It is said that The identification information ID indicates what kind of data is recorded in the user data area of each sector, and includes information indicating how many sectors of one frame of data continue. It also includes information on the rotational speed during recording on the CD-ROM disc. In this identification information ID,
Of course, other information can be included.
【0048】この識別用情報IDが示すデータの内容と
しては、この例の場合、後述もするように、そのセクタ
のユーザデータが、1枚の動画の画像データ、色変
換テーブル及びスクリーンテーブルscrの情報、背
景の画像データ、プログラムデータその他の制御デー
タ、などが用意される。In the case of this example, as the content of the data indicated by the identification information ID, the user data of the sector is the image data of one moving image, the color conversion table and the screen table scr, as will be described later. Information, background image data, program data and other control data are prepared.
【0049】この例の場合、動きのスムースなアニメー
ションを実現するため、例えば15駒(フレーム)/秒
とするようにしている。CD−ROMのフォーマット上
では、回転速度が1倍速度のときには、75セクタ/秒
であるので、5セクタ/フレームとして記録データを構
成すれば、15駒/秒の動画が可能である。また、CD
−ROMディスクの回転速度を2倍にすれば、150セ
クタ/秒となるので、10セクタ/フレームで記録デー
タを構成すれば、15駒/秒の動画を実現できる。In the case of this example, in order to realize a smooth motion animation, for example, 15 frames (frames) / second are set. In the format of the CD-ROM, when the rotation speed is 1 × speed, it is 75 sectors / sec. Therefore, if the recording data is configured as 5 sectors / frame, a moving image of 15 frames / sec is possible. Also, CD
-If the rotation speed of the ROM disk is doubled, it will be 150 sectors / second, so if the recorded data is composed of 10 sectors / frame, a moving image of 15 frames / second can be realized.
【0050】データ量計算手段では、その入力データか
ら1フレーム分の画像データとして伝送すべきデータ量
の計算を行い、前述の駒数のアニメーションを実現する
ために、記録及び再生時のディスクの回転速度として、
1倍速度か2倍速度のどちらを選択すべきかを決定す
る。そして、決定した回転速度の選択情報がCD−RO
Mエンコーダ31に供給され、前述した識別用情報ID
の一部としてディスクに記録される。また、決定した回
転速度の選択情報は、CD−ROMディスクの駆動系に
供給され、モータを制御して決定された回転速度でディ
スクのドライブを行うようにされる。The data amount calculation means calculates the amount of data to be transmitted as image data for one frame from the input data, and rotates the disc during recording and reproduction in order to realize the animation of the number of frames. As speed
Decide whether to select 1x or 2x speed. Then, the selected rotation speed selection information is CD-RO.
The information ID for identification, which is supplied to the M encoder 31 and described above.
Recorded on the disc as part of the. Further, the selection information of the determined rotation speed is supplied to the drive system of the CD-ROM disc, and the motor is controlled to drive the disc at the determined rotation speed.
【0051】この例の場合、以上のようにして圧縮され
た動画に関するデータ量は、例えば1フレーム当たり、
次のようにして計算することができる。In the case of this example, the data amount relating to the moving image compressed as described above is
It can be calculated as follows.
【0052】1フレーム当たり8パレットであるので、
色変換テーブルとしては、合計で、16(色)×8(パ
レット)×2(バイト)=256(バイト)となる。ま
た、スクリーンテーブルscrは、1キャラクタ当たり
2バイトであるから、
576×2(バイト)=1152(バイト)
となる。Since there are 8 pallets per frame,
The total color conversion table is 16 (color) × 8 (palette) × 2 (byte) = 256 (byte). Further, since the screen table scr has 2 bytes per character, 576 × 2 (bytes) = 1152 (bytes).
【0053】したがって、色変換テーブルとスクリーン
テーブルscrの合計のデータ量は、2Kバイト以下で
あり、1セクタ内に収まる。Therefore, the total data amount of the color conversion table and the screen table scr is 2 Kbytes or less, which is within one sector.
【0054】また、動画の画像データは、ヌルキャラク
タ及び単色キャラクタと、圧縮データとして記録するキ
ャラクタの比率により、変化する。1キャラクタは、6
4画素からなり、各画素は4ビットのデータとして圧縮
記録するので、1キャラクタ当たりのデータ量は、32
バイトである。したがって、記録キャラクタ:ヌルキャ
ラクタ:単色キャラクタ=2:2:1である場合には、
32×576×2/5=7372.8バイト
となって、4セクタ内に収まる。Further, the image data of the moving image changes depending on the ratio of the null character and the single color character to the character recorded as the compressed data. 1 character is 6
It consists of 4 pixels, and each pixel is compressed and recorded as 4-bit data, so the amount of data per character is 32.
It is a byte. Therefore, when the recording character: null character: single color character = 2: 2: 1, 32 × 576 × 2/5 = 7372.8 bytes, which fits within four sectors.
【0055】この場合には、CD−ROMには、図7に
示すように、動画に関するデータは、1フレーム分毎に
5セクタとして記録することができる。このため、CD
−ROMディスクの回転速度は1倍速度と決定される。
そして、CD−ROMエンコーダ31では、5セクタの
内の始めの4セクタのユーザデータとして単色キャラク
タ削除手段29からのキャラクタデータに割り当てる。
そして、図7で斜線を付して示す5番目のセクタには、
スクリーンテーブルscr及び色変換テーブルのデータ
を割り当てる。In this case, as shown in FIG. 7, the data relating to the moving image can be recorded in the CD-ROM as 5 sectors for each frame. Therefore, the CD
The rotation speed of the ROM disc is determined to be 1 × speed.
Then, the CD-ROM encoder 31 allocates the user data of the first 4 sectors of the 5 sectors to the character data from the monochrome character deleting means 29.
Then, in the fifth sector shown by hatching in FIG.
Data of the screen table scr and the color conversion table are assigned.
【0056】この場合、各セクタのユーザデータの領域
の32バイトの識別用情報IDとして、始めの4セクタ
のものには、動画の画像データであることを示す情報
と、それが続くセクタ数(1番目のセクタの場合には4
である)と、ディスク回転速度の情報等が記録される。
また、最後の5番目のセクタのものには、スクリーンテ
ーブルscr及び色変換テーブルのデータであることを
示す情報と、それが続くセクタ数の情報(この場合、1
である)と、ディスク回転速度の情報等が記録される。In this case, as the identification information ID of 32 bytes in the user data area of each sector, in the first 4 sectors, information indicating that the image data is a moving image and the number of sectors following it ( 4 for the first sector
Is recorded), information about the disk rotation speed and the like are recorded.
In the last fifth sector, information indicating that it is data of the screen table scr and the color conversion table and information of the number of sectors following it (in this case, 1
Is recorded), information about the disk rotation speed and the like are recorded.
【0057】また、1フレーム分の記録データ量が4セ
クタ分を越えるような場合には、データ量計算手段30
では、2倍速度と決定される。そして、必要なセクタ数
が1フレーム分として割り当てられる。この例の場合、
回転速度は、1フレーム単位で変更することが可能であ
る。Further, when the recording data amount for one frame exceeds four sectors, the data amount calculating means 30
Then, it is determined to be double speed. Then, the required number of sectors is assigned as one frame. In this example,
The rotation speed can be changed in units of one frame.
【0058】そして、CD−ROMエンコーダ31から
の記録データは、記録回路33を介して端子34に導出
され、上記のようにして決定された回転側でCD−RO
Mに記録される。Then, the recording data from the CD-ROM encoder 31 is led to the terminal 34 via the recording circuit 33, and the CD-RO on the rotation side determined as described above.
Recorded in M.
【0059】なお、以上の例では、ディスク回転速度を
1倍速度と、2倍速度に変更することができる場合とし
て説明したが、必要に応じてディスク速度を1.5倍速
度、2.5倍速度、3倍速度のように設定することもで
きる。In the above example, the case where the disk rotation speed can be changed to the 1 × speed and the 2 × speed has been described, but the disk speed is 1.5 × and 2.5 × as required. The speed can be set to double speed or triple speed.
【0060】ところで、背景画のデータBGは動画のデ
ータと同様にして圧縮されてCD−ROMに記録される
が、背景画の静止画の画像データは、ヌルキャラクタが
発生しないため、圧縮率は低くなる。しかし、静止画で
あるため、1秒当たりの駒数を多くする必要はなく、適
当なセクタ数として記録することができる。しかも、デ
コード時に、背景画用のメモリ領域を別個に用意してお
き、背景画が変わる別のシーンになるまで、そのメモリ
から常時背景画データを読み出すようにすることによ
り、背景画の再生画像を得ることができる。そこで、こ
の例では、シーンが変わる時にのみ、背景画のデータB
Gを必要なフレーム数分例えば奇数フレームと偶数フレ
ームの2フレーム分だけ、フレーム単位の動画データ間
においてディスクに記録するようにしておくものであ
る。By the way, the background image data BG is compressed in the same manner as the moving image data and recorded in the CD-ROM. However, the image data of the still image of the background image has a compression rate because a null character does not occur. Get lower. However, since it is a still image, it is not necessary to increase the number of frames per second, and it is possible to record as an appropriate number of sectors. In addition, when decoding, a separate memory area for the background image is prepared, and the background image data is always read from that memory until the background image changes to another scene. Can be obtained. Therefore, in this example, only when the scene changes, the background image data B
G is recorded on the disc in the required number of frames, for example, two frames, an odd frame and an even frame, between moving image data in frame units.
【0061】なお、CD−ROMには、以上のような圧
縮画像情報のほかに、この圧縮画像情報をデコードする
ためのプログラムと、ゲーム用のプログラムが記録され
る。さらには、オーディオ情報も適宜記録される。In addition to the compressed image information as described above, a program for decoding the compressed image information and a game program are recorded on the CD-ROM. Furthermore, audio information is also recorded as appropriate.
【0062】これらのプログラムデータは、上述したよ
うなデータとは、別個に記録され、デコード時、動画な
どの再生に先立ち、一括して読み出すことができるよう
にされている。なお、これらのプログラムデータも、上
記の例の動画の画像データ以外のデータとして、後述す
る静止画の記録方法と同様にして、5セクタ単位の動画
データの途中に記録するようにすることもできる。These program data are recorded separately from the above-mentioned data so that they can be collectively read out at the time of decoding, prior to the reproduction of a moving image or the like. Note that these program data can also be recorded in the middle of the moving image data in units of 5 sectors as data other than the image data of the moving image in the above example, in the same manner as the still image recording method described later. .
【0063】以上説明したデータ圧縮方法によれば、1
フレーム単位で、画像を階層的に小領域に分割し、各階
層の画像データに対してベクトル量子化を行うようにし
たので、画像データの圧縮率を上げることができる。そ
して、ディスク速度をデータ量に応じて変更することが
できるので、最適な圧縮率でデータを記録することがで
きる。According to the data compression method described above, 1
The image is hierarchically divided into small areas in frame units, and the vector quantization is performed on the image data of each layer, so that the compression rate of the image data can be increased. Since the disk speed can be changed according to the amount of data, the data can be recorded at the optimum compression rate.
【0064】この例の場合には、似た色を持つキャラク
タごとにまとめられて1つのグループ(パレット)が形
成され、それが1画面分について複数個形成されて、画
像データがパレット(グループ)分割されている。そし
て、この似た色の画像部分からなるパレット内でベクト
ル量子化処理が行われるので、量子化誤差が少なくな
る。In the case of this example, one group (palette) is formed by grouping characters having similar colors, and a plurality of such groups are formed for one screen, and the image data is palette (group). It is divided. Then, since the vector quantization processing is performed within the palette composed of image portions of similar colors, the quantization error is reduced.
【0065】また、このように画像データをエンコード
した場合には、デコード時に、テーブルを参照するだけ
でデコード処理を行うことができるので、デコーダの構
成が簡単になる。さらに、大容量のバッファメモリを必
要としないので、内蔵RAMの容量が限定されている汎
用のDSPをデコーダとして使用することができ、デコ
ーダをローコスト化することができる。Further, when the image data is encoded in this way, the decoding process can be performed only by referring to the table at the time of decoding, so that the structure of the decoder is simplified. Further, since a large capacity buffer memory is not required, a general-purpose DSP having a limited capacity of the built-in RAM can be used as a decoder, and the cost of the decoder can be reduced.
【0066】しかも、フレーム相関を利用しないで圧縮
処理を行っているので、デコード時にエラーを生じて
も、そのエラーは1フレーム内で完結し、以後のフレー
ムに影響することがない。Moreover, since the compression processing is performed without utilizing the frame correlation, even if an error occurs during decoding, the error is completed within one frame and does not affect subsequent frames.
【0067】さらに、デコーダ回路をローコストに提供
できるとともに、記録媒体としてCD−ROMを使用で
きるので、コンピュータゲーム機のソフトに適用して効
果的である。Further, since the decoder circuit can be provided at a low cost and a CD-ROM can be used as a recording medium, it is effective when applied to software of a computer game machine.
【0068】また、以上の例では、動画を記録するとき
背景画と同一(静止部分)や色が1色となるキャラクタ
のデータについては、スクリーンテーブルscrに登録
して色データのみを伝送し、画素単位のデータは伝送し
ないので、データ伝送路上のトラフィックを減少させる
ことができる。In the above example, when recording a moving image, data of a character that is the same as the background image (still portion) or has one color is registered in the screen table scr and only color data is transmitted. Since data in pixel units is not transmitted, traffic on the data transmission path can be reduced.
【0069】[画像再生装置の一実施例としてのデコー
ド装置の説明]次に、以上のようにして圧縮されてCD
−ROMに記録された画像データをデコードする装置の
一例を、ゲーム機の場合について説明する。[Description of Decoding Device as One Embodiment of Image Reproducing Device] Next, the CD compressed as described above will be described.
An example of a device for decoding the image data recorded in the ROM will be described in the case of a game machine.
【0070】すなわち、図8は、マイクロコンピュータ
を使用したゲーム機の場合の一例を示し、1はそのゲー
ム機本体、4は副処理部、5はCD−ROM、6はプロ
グラムカートリッジ、7は音声データの主処理部であ
る。That is, FIG. 8 shows an example of a game machine using a microcomputer, 1 is the main body of the game machine, 4 is a sub-processing unit, 5 is a CD-ROM, 6 is a program cartridge, and 7 is a voice. It is the main processing unit of data.
【0071】ゲーム機本体1は、マイクロコンピュータ
により構成されているもので、11はそのCPU、12
はDMAC (DMAコントローラ)、13はワークエ
リア用のRAM、14はPPU (ピクチャ・プロセシ
ング・ユニット)、15はビデオRAMである。The game machine body 1 is composed of a microcomputer, 11 is its CPU, 12
Is a DMAC (DMA controller), 13 is a work area RAM, 14 is a PPU (picture processing unit), and 15 is a video RAM.
【0072】そして、ゲーム機本体1は、第1及び第2
のシステムバス18及び19を備える2バス構成となっ
ている。この2個のシステムバスは、データバスは共通
であるが、アドレスバスが、第1のシステムバスと第2
のシステムバスで別個となっている。そして、DMAC
12により、これら第1及び第2のシステムバス18及
び19間でのみDMA転送が可能である。Then, the game machine main body 1 has the first and second
It has a two-bus configuration including the system buses 18 and 19 of FIG. The two system buses have a common data bus, but the address buses are the first system bus and the second system bus.
The system bus is separate. And DMAC
12, the DMA transfer is possible only between the first and second system buses 18 and 19.
【0073】この場合、CPU11と第2のシステムバ
ス19との間はポート16を介して接続され、CPU1
1と第2のシステムバス19に接続されているデバイス
間は、ポート16を介してアクセスすることができる。In this case, the CPU 11 and the second system bus 19 are connected to each other via the port 16.
The devices connected to the first and second system buses 19 can be accessed via the port 16.
【0074】第1のシステムバス18には、CPU1
1、DMAC12及びRAM13が接続される。また、
第2のシステムバス19には、DMAC12及びPPU
14が接続されるとともに、PPU14にビデオRAM
15及びCRTディスプレイ6が接続される。また、第
2のシステムバス19には、副処理部4と、音声データ
の主処理部7が接続されている。The first system bus 18 has a CPU 1
1, the DMAC 12 and the RAM 13 are connected. Also,
The second system bus 19 has a DMAC 12 and a PPU.
14 is connected and video RAM is connected to the PPU 14.
15 and the CRT display 6 are connected. Further, the sub-processing unit 4 and the main processing unit 7 for audio data are connected to the second system bus 19.
【0075】また、ビデオRAM15は、この例の場
合、例えば図9に示すように、複数例えば4個のメモリ
エリアM1〜M4に分割されている。この例の場合、M
1,M2及びM3は、それぞれ1枚の画像の再生のため
のメモリエリア(メモリプレーン)とされる。これらの
メモリ領域M1〜M3は、それぞれ2フレーム分(2画
面分)の画面エリアを有し、その一方の画面エリアの画
像データが、PPU14によりCRTディスプレイ8の
垂直及び水平走査に同期して読み出され、ディスプレイ
8により画像として表示されるとともに、この表示が行
われている間に、他方の画面エリアに次に表示される画
像の画像データが書き込まれる。In the case of this example, the video RAM 15 is divided into a plurality of memory areas M1 to M4, for example, as shown in FIG. In this example, M
1, M2 and M3 are each a memory area (memory plane) for reproducing one image. Each of these memory areas M1 to M3 has a screen area of two frames (two screens), and the image data of one screen area is read by the PPU 14 in synchronization with vertical and horizontal scanning of the CRT display 8. While being displayed, it is displayed as an image on the display 8. While this display is being performed, the image data of the image to be displayed next is written in the other screen area.
【0076】この例の場合、後述するように、メモリエ
リアM1は、背景の画像用のメモリエリアとして使用さ
れる。また、メモリエリアM2は、前景の画像用のメモ
リエリアとして使用される。In the case of this example, as will be described later, the memory area M1 is used as a memory area for a background image. The memory area M2 is used as a memory area for the foreground image.
【0077】また、メモリ領域M4は、PPU14のワ
ークエリアであり、スクリーンテーブルscrや色変換
テーブル、その他のデータのエリアとして使用される。The memory area M4 is a work area of the PPU 14 and is used as an area for the screen table scr, the color conversion table, and other data.
【0078】さらに、ゲーム機本体1の音声データの主
処理部7において、71はそのAPU (オーディオ・
プロセシング・ユニット)、72はD/Aコンバータ、
73は音声出力端子で、APU71が、バス19に接続
されるとともに、D/Aコンバータ72に接続される。
そして、APU71に音声データ及びそのデコード用の
プログラムがロードされると、その音声データがデジタ
ル音声信号にデコードされ、このデジタル音声信号がコ
ンバータ72によりアナログ音声信号にD/A変換され
てから出力端子73に出力される。Further, in the main processing unit 7 of the audio data of the game machine body 1, 71 is the APU (audio
Processing unit), 72 is a D / A converter,
Reference numeral 73 denotes an audio output terminal, which connects the APU 71 to the bus 19 and the D / A converter 72.
When the audio data and the program for decoding the audio data are loaded into the APU 71, the audio data is decoded into a digital audio signal, and the digital audio signal is D / A converted into an analog audio signal by the converter 72, and then the output terminal. It is output to 73.
【0079】また、副処理部4は、CDプレーヤを有し
てCD−ROM5の使用を可能にするためのもので、4
1はそのCDプレーヤ、42はDSP、43はCD−R
OMデコーダ、44はそのワークエリア用のRAM、4
5はコントローラである。そして、CD−ROM5に
は、音声データ及び画像データが記録されているが、こ
れら音声データ及び画像データ、特に画像データは上述
した方法で画像データとしてデータ圧縮されて記録され
ている。The sub-processing unit 4 has a CD player to enable the use of the CD-ROM 5, and
1 is the CD player, 42 is DSP, 43 is CD-R
OM decoder, 44 is RAM for the work area, 4
Reference numeral 5 is a controller. Audio data and image data are recorded in the CD-ROM 5, and these audio data and image data, especially image data, are compressed as image data by the above-described method and recorded.
【0080】DSP42は、プレーヤ41の再生信号に
対するエラー訂正を行うとともに、再生信号から画像デ
ータなどのユーザ用データと、トラック番号などの制御
データとを分離するためのものであり、コントローラ4
5は、そのDSP42からの制御データと、CPU11
からの指示データとに基づいてプレーヤ41を制御し、
目的とするデータを再生するためのものである。また、
デコーダ43は、プレーヤ41の再生信号がCD−RO
M5の再生信号のとき、そのCD−ROM用のエラー訂
正などの処理を行うためのものである。The DSP 42 is for performing error correction on the reproduction signal of the player 41 and separating user data such as image data and control data such as track number from the reproduction signal.
5 is the control data from the DSP 42 and the CPU 11
Control the player 41 based on the instruction data from
It is for reproducing target data. Also,
The decoder 43 outputs the reproduction signal of the player 41 to the CD-RO.
This is for performing processing such as error correction for the CD-ROM when the reproduced signal is M5.
【0081】さらに、この例においては、処理部4に汎
用のDSP50が設けられ、必要なときには、このDS
P50によりCPU11の処理の一部を負担できるよう
にされている。なお、この処理部4は、この例において
はゲーム機本体1と一体化されているが、ゲーム機本体
1に対してアダプタ形式とされていてもよい。Further, in this example, a general-purpose DSP 50 is provided in the processing unit 4, and when necessary, this DS 50 is used.
P50 allows a part of the processing of the CPU 11 to be borne. Although the processing unit 4 is integrated with the game machine main body 1 in this example, it may be in the form of an adapter for the game machine main body 1.
【0082】また、プログラムカートリッジ6は、この
ゲーム機の使用時、ゲーム機本体1のスロット2に差し
込まれて使用されるものである。このプログラムカート
リッジ6は、CD−ROM5を使用しないときは、一般
的なゲームソフト用のものが差し込まれ、CD−ROM
5を使用するときは、専用のものが差し込まれる。The program cartridge 6 is used by inserting it into the slot 2 of the game machine main body 1 when using this game machine. When the CD-ROM 5 is not used, this program cartridge 6 is a general-purpose game software, and is inserted in the CD-ROM.
When using 5, a dedicated one is inserted.
【0083】そして、カートリッジ6は、ROM61
と、RAM62とを有し、CD−ROM5用のカートリ
ッジの場合には、そのROM61には、CD−ROM5
の記録データをゲーム機本体1が取り込んでゲームを実
行するためのいわゆる初期化処理のためのプログラムな
どが書き込まれている。また、RAM62は、例えばゲ
ームを途中で一時中断するとき、そのときの状態に関す
る各種のデータをゲームの再開まで保持するためなどに
使用されるものであり、電池63によりバックアップさ
れている。The cartridge 6 has a ROM 61
And a RAM 62, and in the case of a cartridge for the CD-ROM 5, the ROM 61 includes the CD-ROM 5
A program for a so-called initialization process for the game machine main body 1 to capture the recorded data of 1 to execute the game is written. Further, the RAM 62 is used for holding various data regarding the state at that time, for example, when the game is temporarily interrupted midway, and is backed up by the battery 63.
【0084】そして、このカートリッジ6を、ゲーム機
本体1のスロット2に差し込むと、コネクタ(図示せ
ず)を通じてROM61及びRAM62はバス18に接
続される。Then, when the cartridge 6 is inserted into the slot 2 of the game machine body 1, the ROM 61 and the RAM 62 are connected to the bus 18 through a connector (not shown).
【0085】そして、カートリッジ6のROM61のプ
ログラムがCPU11により実行され、CD−ROM5
からのデータは、ゲーム機本体1のRAM13に取り込
まれ、各セクタのユーザデータ中の識別用情報IDがデ
コードされる。そして、この識別用情報IDから、これ
からデコードしようとするフレームのデータの記録時の
CD−ROMディスクの回転速度が判別されと共に、そ
のフレームの画像データの内容、例えば動画データか、
背景画データであるか判別され、これに基づいて各ユー
ザデータのデコード処理がなされる。すなわち、再生時
の回転速度が記録時の回転速度に一致するようにされ、
アニメーション画像の再生及び表示がなされる。Then, the program of the ROM 61 of the cartridge 6 is executed by the CPU 11, and the CD-ROM 5
Data is taken into the RAM 13 of the game machine body 1 and the identification information ID in the user data of each sector is decoded. Then, from the identification information ID, the rotation speed of the CD-ROM disc at the time of recording the data of the frame to be decoded is determined, and the content of the image data of the frame, for example, moving image data,
It is determined whether the image data is background image data, and the decoding process of each user data is performed based on this. That is, the rotation speed during playback is made to match the rotation speed during recording,
The animation image is reproduced and displayed.
【0086】すなわち、CDプレーヤ41によりCD−
ROM5からデータが再生されると、この再生データ
は、プレーヤ41からDSP42及びデコーダ43に順
に供給されてエラー訂正などの処理が行われ、そのエラ
ー訂正の行われたデータが、DMAC12によりデコー
ダ43からRAM13の第1のバッファエリアにDMA
転送される。That is, a CD-
When the data is reproduced from the ROM 5, the reproduced data is sequentially supplied from the player 41 to the DSP 42 and the decoder 43 and subjected to processing such as error correction, and the error-corrected data is output from the decoder 43 by the DMAC 12. DMA in the first buffer area of RAM 13
Transferred.
【0087】次に、このRAM13に取り込まれたデー
タの、各セクタの識別用情報IDがCPU11において
チェックされる。このチェック結果により、CPU11
は、各IDで示されるディスク回転速度及び画像内容に
応じたデコード処理の手順を実行する。Next, the CPU 11 checks the identification information ID of each sector of the data taken into the RAM 13. Based on this check result, the CPU 11
Performs a decoding process procedure according to the disc rotation speed and image content indicated by each ID.
【0088】なお、CD−ROM5からは、画像データ
などの再生に先立ち、前述したデコード処理のプログラ
ムやゲームのプログラムがRAM13取り込まれるもの
である。Incidentally, from the CD-ROM 5, the RAM 13 is loaded with the above-mentioned decoding processing program and game program prior to the reproduction of image data and the like.
【0089】[動画の画像データのデコード処理]CP
U11での識別用情報IDのチェックの結果、セクタの
ユーザデータの内容が動画の画像データであると判別さ
れたときは、次のようにして、動画のデコード及び表示
処理がなされる。[Decoding process of moving image data] CP
As a result of checking the identification information ID in U11, when it is determined that the content of the user data in the sector is image data of a moving image, the decoding and display processing of the moving image is performed as follows.
【0090】すなわち、
(1) CDプレーヤ41によりCD−ROM4から画像
データの1フレーム分が再生され、この画像データが、
プレーヤ41からDSP42及びデコーダ43に順に供
給されてエラー訂正などの処理が行われ、そのエラー訂
正の行われた画像データが、DMAC12によりデコー
ダ43からRAM13のバッファエリアにDMA転送さ
れる。That is, (1) One frame of image data is reproduced from the CD-ROM 4 by the CD player 41, and this image data is
The player 41 sequentially supplies them to the DSP 42 and the decoder 43 to perform processing such as error correction, and the error-corrected image data is DMA-transferred from the decoder 43 to the buffer area of the RAM 13 by the DMAC 12.
【0091】(2) RAM13のバッファエリアにDM
A転送された画像データのうちのラベル画像データ(色
番号データ)が、CRTディスプレイ6の垂直ブランキ
ング期間に、DMAC12によりPPU14を通じてビ
デオRAM15にDMA転送される。(2) DM in the buffer area of RAM 13
The label image data (color number data) of the A transferred image data is DMA-transferred to the video RAM 15 through the PPU 14 by the DMAC 12 during the vertical blanking period of the CRT display 6.
【0092】(3) (2)の処理を終了すると、CRTディ
スプレイ6の垂直ブランキング期間に、RAM13のバ
ッファエリアにDMA転送された画像データのうちのス
クリーンテーブルscrが、DMAC12によりPPU
14を通じてビデオRAM15にDMA転送される。(3) When the processing of (2) is completed, the screen table scr of the image data DMA-transferred to the buffer area of the RAM 13 is transferred to the PPU by the DMAC 12 during the vertical blanking period of the CRT display 6.
DMA transfer is performed to the video RAM 15 through 14.
【0093】(4) CRTディスプレイ6の水平ブラン
キング期間に、RAM13のバッファエリアにDMA転
送された画像データのうちの色変換テーブルCOL(j)
が、DMAC12によりPPU14を通じてビデオRA
M15にDMA転送される。(4) The color conversion table COL (j) of the image data DMA-transferred to the buffer area of the RAM 13 during the horizontal blanking period of the CRT display 6.
But the video RA through the PPU 14 by the DMAC 12
DMA transfer is performed to M15.
【0094】(5) 以上の処理が行われると、PPU1
4は、リアルタイムで色変換テーブルCOL(j) を参照す
ることにより、(2) により転送された色番号データを、
実際の色の画素データに変換するとともに、この画素デ
ータを、スクリーンテーブルscrを参照することによ
り、ビデオRAM15のうち、元のキャラクタ位置に対
応したアドレスに書き込む。(5) When the above processing is performed, PPU1
4 refers to the color conversion table COL (j) in real time, and the color number data transferred by (2)
The pixel data is converted into actual color pixel data, and this pixel data is written in the address corresponding to the original character position in the video RAM 15 by referring to the screen table scr.
【0095】(6) 以上により1フレーム分の画素デー
タがビデオRAM15に書き込まれると、ビデオRAM
15の表示エリアが切り換えられ、その画素データの書
き込まれたエリアがアクティブとされ、このアクティブ
とされたエリアの画像がディスプレイ6に表示される。
このとき、スクリーンテーブルscrのデータSCRk
のキャラクタ番号が1〜15のいずれかである小領域の
すべて画素データは、そのパレット番号の色変換テーブ
ルの1色の画素データとされる。また、スクリーンテー
ブルscrのデータSCRk のキャラクタ番号が0の小
領域(ヌルキャラクタ)のすべての画素は、透明とされ
る。(6) When pixel data for one frame is written in the video RAM 15 as described above, the video RAM 15
The display area 15 is switched, the area in which the pixel data is written is activated, and the image of the activated area is displayed on the display 6.
At this time, the data SCRk of the screen table scr
All the pixel data of the small area having the character number of 1 to 15 is the pixel data of one color in the color conversion table of the palette number. Further, all the pixels in the small area (null character) having the character number 0 of the data SCRk of the screen table scr are made transparent.
【0096】(7) 処理は(1) に戻り、以後、1フレー
ム単位で(1) 〜(6) の処理が繰り返される。(7) The process returns to (1), and thereafter, the processes of (1) to (6) are repeated for each frame.
【0097】こうして、CD−ROM4から再生された
画像データは、RAM13からPPU14を通じてビデ
オRAM15まで次々と送られるとともに、PPU14
により再生処理される。したがって、ディスプレイ6に
は、CD−ROM4の画像データによる画像が動画とし
て表示される。ヌルキャラクタの部分は、透明であるの
で、背景画が表示されることになる。The image data reproduced from the CD-ROM 4 is sequentially sent from the RAM 13 to the video RAM 15 through the PPU 14 and also the PPU 14
Is reproduced. Therefore, an image based on the image data of the CD-ROM 4 is displayed as a moving image on the display 6. Since the null character portion is transparent, the background image is displayed.
【0098】[静止画データの処理]CD−ROM5か
らの再生データが、図10に示すようなもので、図中斜
線を付して示すように、動画の画像データの1フレーム
分(5セクタ)の間に、静止画データのセクタが挿入さ
れる場合には、この挿入された静止画データの始めの時
点で、その静止画データの処理のスタートポインタPS
が立ち、そのデータ処理が開始されると共に、前述した
動画のデコード処理は中止され、動画は、その前の画面
のままとなる。[Processing of Still Image Data] The reproduction data from the CD-ROM 5 is as shown in FIG. 10, and as shown by hatching in the figure, one frame (5 sectors) of the moving image data is shown. If a sector of still image data is inserted between the two), the start pointer PS of the processing of the still image data is started at the beginning of the inserted still image data.
When the data processing is started, the decoding processing of the moving picture described above is stopped, and the moving picture remains the previous screen.
【0099】そして、静止画データについて、そのセク
タの識別用情報IDがCPU11によりチェックされ、
その識別用情報IDから、回転速度及び連続するセクタ
数が検知される。静止画データのセクタが終了すると、
エンドポインタPEが立ち、そのデータ処理が終了す
る。その後のセクタが動画のセクタであれば、動画の画
像データのデコード処理プロセスが再開される。したが
って、動画が前回の画面から続くことになる。この場
合、例えば5セクタ=1/15秒であり、その他データ
の挿入区間は、僅かの期間であるので、視覚的には動画
はほとんど連続して見える。Then, with respect to the still image data, the identification information ID of the sector is checked by the CPU 11,
The rotation speed and the number of consecutive sectors are detected from the identification information ID. When the sector of the still image data ends,
The end pointer PE rises, and the data processing ends. If the subsequent sector is a moving image sector, the process of decoding the moving image data is restarted. Therefore, the video continues from the previous screen. In this case, for example, 5 sectors = 1/15 seconds, and the insertion period of other data is a short period, so that the moving image visually appears almost continuous.
【0100】静止画データは次のように処理されて、ビ
デオRAM15のメモリ領域M2に書き込まれる。The still image data is processed as follows and written in the memory area M2 of the video RAM 15.
【0101】(1) 先ず、CPU11がセクタのユーザ
データの識別用情報IDをチェックして、そのセクタが
静止画のものであると判別すると共に、その静止画が続
くセクタが例えば図10に示すように、5セクタである
と判別したときは、この5セクタの間がスタートポイン
タPS及びエンドポインタPEにより示され、前述した
動画のデコード処理プロセスから、一時、静止画の処理
プロセスに移行する。そして、その指示がCPU11か
らPPU14に与えられる。(1) First, the CPU 11 checks the identification information ID of the user data of the sector to determine that the sector is a still image, and the sector following the still image is shown in FIG. 10, for example. As described above, when it is determined that the number of sectors is 5, the start pointer PS and the end pointer PE indicate these 5 sectors, and the above-described moving image decoding process temporarily shifts to a still image processing process. Then, the instruction is given from the CPU 11 to the PPU 14.
【0102】(2) そして、RAM13にDMA転送さ
れていた静止画の画像データを、PPU14を介してビ
デオRAM15のメモリ領域M2にDMA転送する。(2) Then, the image data of the still image that has been DMA-transferred to the RAM 13 is DMA-transferred to the memory area M2 of the video RAM 15 via the PPU 14.
【0103】(3) PPU14は、前述の動画の場合と
同様にして、この静止画の画像データを4ビットから1
6ビットのデータに戻すデコード処理を行ない、デコー
ドした静止画のデータをメモリ領域M2に書き直す。(3) The PPU 14 converts the image data of this still image from 4 bits to 1 in the same manner as in the case of the moving image described above.
Decoding processing for returning to 6-bit data is performed, and the decoded still image data is rewritten in the memory area M2.
【0104】(4) 以上により1フレーム分の画素デー
タがビデオRAM15のメモリ領域M1に書き込まれる
と、ビデオRAM15の表示エリアが切り換えられ、そ
の画素データの書き込まれたエリアがアクティブとさ
れ、このアクティブとされたエリアの背景画の画像がデ
ィスプレイ6に表示される。(4) As described above, when one frame of pixel data is written in the memory area M1 of the video RAM 15, the display area of the video RAM 15 is switched and the area in which the pixel data is written is made active. The image of the background image of the determined area is displayed on the display 6.
【0105】以上のようにしてデコードされた静止画
は、動画と合成され、動画の背景とされるものである。The still picture decoded as described above is combined with the moving picture to be the background of the moving picture.
【0106】こうして、CD−ROMには各セクタ毎に
データの内容及び同じ内容のデータが続くセクタ数を示
す識別用情報IDを記録するようにしたので、デコード
装置では、識別用情報IDを監視することにより、セク
タ毎のデコード処理を行なうことができる。したがっ
て、1フレームが複数個のセクタからなる動画の画像デ
ータの間に、静止画その他のデータのセクタを挿入して
記録することができ、動画以外のデータを大量に動画デ
ータ中に挿入することが可能になる。Thus, the CD-ROM records the identification information ID for each sector, which indicates the content of data and the number of sectors in which data of the same content continues. Therefore, the decoding device monitors the identification information ID. By doing so, the decoding process for each sector can be performed. Therefore, a sector of a still image or other data can be inserted and recorded between image data of a moving image in which one frame includes a plurality of sectors, and a large amount of data other than the moving image can be inserted in the moving image data. Will be possible.
【0107】そして、動画としては、その他データの期
間は、その前の画面を保持すれば、その他データの期間
の後には動画が続くので、動画は視覚上止まることなく
再生することができる。As for the moving image, if the previous screen is held during the period of the other data, the moving image follows the period of the other data, so that the moving image can be reproduced without visually stopping.
【0108】また、図の例によれば、すべてのデータの
流れをCPU11が管理することにより、CD−ROM
5の画像データの読み出しと、CPU11の処理との非
同期をCPU11が吸収しているので、CD−ROM5
からその画像データを連続して読み出すことができる。
しかも、そのための構成は図8からも明らかなように簡
単である。Further, according to the example shown in the figure, the CPU 11 manages the flow of all data so that the CD-ROM
Since the CPU 11 absorbs the asynchronousness between the reading of the image data of No. 5 and the processing of the CPU 11, the CD-ROM 5
The image data can be read continuously.
Moreover, the structure therefor is simple as is apparent from FIG.
【0109】以上は、1フレーム分として記録する画像
データ量に応じてディスクの回転速度を変更して記録再
生する場合であるが、複数の動画を並列的に記録すると
き、その並列記録する動画の数に応じてディスクの回転
速度を変更するようにしても良い。The above is the case where the rotational speed of the disc is changed according to the amount of image data to be recorded as one frame for recording / reproduction. When recording a plurality of moving images in parallel, the moving images to be recorded in parallel are recorded. The rotation speed of the disc may be changed according to the number of the.
【0110】図11は、その場合の記録データと、回転
速度とを説明するための図で、シーンAの場合には、背
景画BG1の後に、第1の動画U(n) (n=0,
1,2,…)と、第2の動画V(m) (m=0,1,
2,…)とが、1フレーム毎に交互に記録されている。
この場合、ヌルキャラクタ及びベクトル量子化により生
じる単色キャラクタの数が多く、それぞれの動画のデー
タの1フレームは、1セクタ〜2セクタで記録可能であ
る。そこで、このシーンAのデータは、ディスクの回転
速度が1倍速度の状態で記録されている。FIG. 11 is a diagram for explaining the recording data and the rotation speed in that case. In the case of scene A, the first moving image U (n) (n = 0) is displayed after the background image BG1. ,
1, 2, ...) and the second moving image V (m) (m = 0,1,
2, ...) are recorded alternately for each frame.
In this case, the number of null characters and monochromatic characters generated by vector quantization is large, and one frame of data of each moving image can be recorded in one sector to two sectors. Therefore, the data of this scene A is recorded in a state where the rotation speed of the disk is 1 × speed.
【0111】シーンBの場合には、背景画BG2の後
に、第1の動画U(n)(n=0,1,2,…)と、第
2の動画V(m) (m=0,1,2,…)と、第3の
動画X(k) (k=0,1,2,…)と、第4の動画
Y(l) (l=0,1,2,…)との4種の動画の画
像データが、それぞれの1フレームづつの4フレーム単
位で順次記録されている。この場合、このシーンBのデ
ータは、ディスクの回転速度が2倍速度の状態で記録さ
れている。In the case of scene B, after the background image BG2, the first moving image U (n) (n = 0, 1, 2, ...) And the second moving image V (m) (m = 0, 1, 2, ...), a third moving image X (k) (k = 0,1,2, ...), and a fourth moving image Y (l) (l = 0,1,2, ...). Image data of four types of moving images are sequentially recorded in units of four frames, one frame for each. In this case, the data of this scene B is recorded in a state where the rotation speed of the disk is double speed.
【0112】デコード時には、例えばシーンAの場合に
は、CD−ROMディスク5は1倍速度で回転駆動され
ると共に、第1の動画U(n)と第2の動画V(m)と
のいずれか一方が、ゲームのプレーヤの入力操作条件に
したがって、選択されてRAM13から読み出され、背
景画BG1と合成されてディスプレイ8に表示される。
すなわち、例えばプレーヤの攻撃により敵機が撃墜され
た時には、例えば第1の動画の爆発パターンによるアニ
メーションが選択されてディスプレイ8に表示され、ま
た、プレーヤによる攻撃が失敗した時には、第2の動画
の、それに応じた敵機の飛行パターンによるアニメーシ
ョンが選択されてディスプレイ8に表示される。At the time of decoding, for example, in the case of scene A, the CD-ROM disc 5 is rotationally driven at 1 × speed, and either the first moving image U (n) or the second moving image V (m) is displayed. One of them is selected and read from the RAM 13 according to the input operation condition of the game player, and is displayed on the display 8 after being combined with the background image BG1.
That is, for example, when the enemy aircraft is shot down by the player's attack, for example, the animation based on the explosion pattern of the first moving image is selected and displayed on the display 8, and when the attack by the player fails, the second moving image of the second moving image is displayed. , An animation according to the flight pattern of the enemy aircraft is selected and displayed on the display 8.
【0113】また、シーンBの場合には、CD−ROM
ディスク5は2倍速度で回転駆動されると共に、第1の
動画U(n)〜第4の動画Y(l)のうちの1つがプレ
ーヤの入力などの与えられる条件に応じて選択されて、
背景画BG2と合成されてディスプレイにアニメーショ
ンとして表示される。In the case of scene B, a CD-ROM
The disk 5 is rotationally driven at a double speed, and one of the first moving image U (n) to the fourth moving image Y (l) is selected according to a given condition such as input by the player,
It is combined with the background image BG2 and displayed as an animation on the display.
【0114】以上のようにして、ディスプレイ8には、
背景と、いわば前景としての動画が合成された合成画像
が表示される。そして、この例によれば、ディスク回転
速度を可変にして、必要な複数個の動画を並列的にいわ
ゆるインターリーブの状態で記録することができるの
で、CD−ROMを所定の回転速度で常に回転して再生
を行いながら、この複数個の動画の内から選択的に動画
を抽出してディスプレイに表示することができる。As described above, on the display 8,
A combined image in which the background and the moving image as the foreground are combined is displayed. According to this example, since the disc rotation speed can be varied and a plurality of necessary moving images can be recorded in parallel in a so-called interleaved state, the CD-ROM is always rotated at a predetermined rotation speed. It is possible to selectively extract a moving image from the plurality of moving images and display it on the display while playing back the image.
【0115】そして、この場合、例えば前景の動画の画
像として、例えばユーザの対応に応じて切り換えられる
べき複数の画面例えば前述した敵機の飛行パターンとそ
の爆発パターンとを用意しておくことにより、デコード
側でどちらを前景として表示するかを選択するだけで、
即座に切り替わる。したがって、対話性とエンターテイ
ンメント性の両方を兼ね備えたゲーム機を実現すること
ができる。In this case, as a foreground moving image, for example, a plurality of screens to be switched according to the user's response, such as the flight pattern of the enemy aircraft and its explosion pattern, are prepared. Just select which one to display as the foreground on the decoding side,
Switch instantly. Therefore, it is possible to realize a game machine that has both interactivity and entertainment.
【0116】なお、以上の例では背景画は静止画として
説明したが、静止画も動画とすることができる。その場
合には、背景画は、前景に比べて人間の注意が向けられ
ることが少ないことを考慮したとき、駒落としのアニメ
ーションであっても良い。Although the background image has been described as a still image in the above example, the still image can also be a moving image. In that case, the background image may be a frame dropping animation in consideration that human attention is less likely to be paid compared to the foreground.
【0117】また、以上の例では、CD−ROMの記録
時の回転速度の情報をセクタ毎に記録して、速度が変更
された位置も識別できるようにしたが、ディスクの最内
周のTOCデータとして、回転速度と、それが切り換え
られるディスク位置を記録しておくようにするようにし
ても良い。In the above example, the rotational speed information at the time of recording on the CD-ROM is recorded for each sector so that the position where the speed is changed can be identified. As the data, the rotation speed and the disk position at which the rotation speed is switched may be recorded.
【0118】また、記録媒体は、CD−ROMだけでは
なく、テープなどを使用することもできる。The recording medium is not limited to the CD-ROM, but a tape or the like can be used.
【0119】[0119]
【発明の効果】以上説明したように、この発明によれ
ば、記録媒体への記録時の速度を、記録する画像データ
量、記録する画像の数に応じて変更して、記録を行うよ
うにしたので、データ圧縮量を大きくせずに、記録媒体
への記録を行うことができる。したがって、常に、最適
なデータ圧縮効率で、画像データを記録することができ
る。As described above, according to the present invention, the speed at the time of recording on the recording medium is changed according to the amount of image data to be recorded and the number of images to be recorded, and recording is performed. Therefore, it is possible to perform recording on the recording medium without increasing the data compression amount. Therefore, image data can always be recorded with optimum data compression efficiency.
【0120】そして、記録媒体には、記録時の媒体速度
及び速度変更位置に関する情報を記録するようにしたの
で、再生時には、その情報に基づいて記録媒体の再生時
の速度を切り換えることができ、良好な再生を行うこと
ができる。Since the information about the medium speed and the speed change position at the time of recording is recorded on the recording medium, the speed at the time of reproducing the recording medium can be switched at the time of reproducing, Good reproduction can be performed.
【図1】この発明による記録方法に用いるエンコード装
置の一実施例のブロック図の一部である。FIG. 1 is a part of a block diagram of an embodiment of an encoding device used in a recording method according to the present invention.
【図2】この発明による記録方法に用いるエンコード装
置の一実施例のブロック図の残部である。FIG. 2 is the rest of the block diagram of one embodiment of the encoding device used in the recording method according to the present invention.
【図3】この発明の一例に用いるデータ圧縮方法の一実
施例による画像分割方法を説明するための図である。FIG. 3 is a diagram for explaining an image division method according to an embodiment of a data compression method used in an example of the present invention.
【図4】図1及び図2の例に使用する画像圧縮方法の一
実施例に使用するテーブルを説明するための図である。FIG. 4 is a diagram for explaining a table used in an embodiment of an image compression method used in the examples of FIGS. 1 and 2;
【図5】図1及び図2の例に使用する画像圧縮方法の一
実施例に使用するテーブルを説明するための図である。FIG. 5 is a diagram illustrating a table used in an embodiment of an image compression method used in the examples of FIGS. 1 and 2;
【図6】CD−ROMのセクタフォーマット及びこの発
明による記録方法の一例によりセクタ毎に記録する識別
用情報IDを説明するための図である。FIG. 6 is a view for explaining a sector format of a CD-ROM and an identification information ID recorded for each sector by an example of a recording method according to the present invention.
【図7】この発明により記録した記録媒体からの再生デ
ータの一例を示す図である。FIG. 7 is a diagram showing an example of reproduction data from a recording medium recorded according to the present invention.
【図8】この発明による再生方法に使用するデコード装
置の一実施例のブロック図である。FIG. 8 is a block diagram of an embodiment of a decoding device used in the reproducing method according to the present invention.
【図9】図8の例に使用するメモリを説明するための図
である。FIG. 9 is a diagram for explaining a memory used in the example of FIG.
【図10】再生データの一例を示す図である。FIG. 10 is a diagram showing an example of reproduction data.
【図11】この発明による記録方法の他の実施例を説明
するための図である。FIG. 11 is a diagram for explaining another embodiment of the recording method according to the present invention.
Claims (4)
タ圧縮処理を行なって、1画素当たりのビット数を圧縮
し、この圧縮した動画像データを、記録位置を所定の速
度で移動する記録媒体に記録する方法であって、複数の動画像をインターリーブ記録する場合、インター
リーブ記録する動画像数または情報量が増加すると 前記
記録媒体の移動速度を速くして記録すると共に、 前記記録位置及び前記移動速度を識別するための情報を
前記記録媒体に記録するようにした動画像データの記録
方法。1. A performs a data compression process in accordance with the nature of the pixels constituting the moving image, compressing the number of bits per pixel, the dynamic image data compression, to move a recording position at a predetermined speed When recording a plurality of moving images in an interleaved manner by recording on a recording medium,
Together with the moving picture number or amount of information to leave the recording is recorded in the moving speed of the recording medium to increase, the information for identifying the pre-crisis record position and the moving speed to be recorded on the recording medium method of recording moving image data.
速度はその回転速度であって、前記動画像は、その複数
個のセクタにより1フレームが構成される請求項1記載
の動画像データの記録方法。Wherein said recording medium is in CD-ROM, the moving speed is a rotation speed, the moving image, according to claim 1, wherein one frame is constituted by the plurality of sectors
Recording method of the dynamic image data.
より記録された記録媒体からの前記記録位置及び前記移
動速度に関する情報により、前記記録位置を識別すると
共に、前記移動速度を識別し、 識別した移動速度で前記記録媒体を回転させて再生を行
いながら、前記複数の動画像のうちの一つを選択的に表
示させるようにした動画像データの再生方法。By 3. Information about the previous crisis book position and the transfer <br/> moving speed from a recording medium recorded by the recording method according to claim 1 or claim 2, wherein, identifying the pre-crisis record position together with the identifying the moving speed, while reproduction by rotating the recording medium at the identified movement speed, selectively display the one of the plurality of moving image
The method of reproducing moving image data so as to shown.
タ圧縮処理がなされ、1画素当たりのビット数が圧縮さ
れた動画像データを、記録位置を所定の速度で移動する
記録媒体に記録して、前記圧縮された動画像データが記
録された記録媒体を製造する方法であって、 複数の動画像をインターリーブ記録する場合、インター
リーブ記録する動画像数または情報量が増加すると前記
記録媒体の移動速度を速くして記録すると共に、 前記記録位置及び前記移動速度を識別するための情報を
前記記録媒体に記録す るようにした動画像データが記録
された記録媒体の製造方法。 4. A data is recorded according to the nature of the pixels forming the moving image.
Data is compressed and the number of bits per pixel is compressed.
Move the recorded moving image data at the recording position at a predetermined speed.
The compressed moving image data is recorded on a recording medium.
A method of manufacturing a recorded recording medium, wherein when interleave recording a plurality of moving images,
If the number of moving images or the amount of information to be recorded increases,
Information is recorded to increase the moving speed of the recording medium and to identify the recording position and the moving speed.
It said recording medium moving image data in so that to record the recording
Method of manufacturing a recorded medium.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2001206253A JP3444869B2 (en) | 2001-07-06 | 2001-07-06 | Moving image data recording method and reproducing method thereof |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2001206253A JP3444869B2 (en) | 2001-07-06 | 2001-07-06 | Moving image data recording method and reproducing method thereof |
Related Parent Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP33248191A Division JP3276651B2 (en) | 1991-11-21 | 1991-11-21 | Image data recording method and reproduction method thereof |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2002101388A JP2002101388A (en) | 2002-04-05 |
| JP3444869B2 true JP3444869B2 (en) | 2003-09-08 |
Family
ID=19042417
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2001206253A Expired - Lifetime JP3444869B2 (en) | 2001-07-06 | 2001-07-06 | Moving image data recording method and reproducing method thereof |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3444869B2 (en) |
-
2001
- 2001-07-06 JP JP2001206253A patent/JP3444869B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JP2002101388A (en) | 2002-04-05 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP0867807B1 (en) | Information processing, computer readable media, and authoring systems | |
| US6295086B1 (en) | Apparatus and method for generating digital still image files from digital moving images | |
| JPH05144185A (en) | Recording method for audio data | |
| JP2950346B2 (en) | Image data decoding method and its decoder circuit | |
| US5708637A (en) | Method and apparatus for enhanced writing and reading data | |
| US6111592A (en) | DMA data transfer apparatus, motion picture decoding apparatus using the same, and DMA data transfer method | |
| JPH10161630A (en) | Video data output device and its environment setting method | |
| JP3276651B2 (en) | Image data recording method and reproduction method thereof | |
| JP3444869B2 (en) | Moving image data recording method and reproducing method thereof | |
| JP3286329B2 (en) | Image data transmission method, image reproducing apparatus, and image reproducing method | |
| JP3084093B2 (en) | Image data decoding method and image reproducing apparatus thereof | |
| JP3363162B2 (en) | CD-ROM, CD-ROM playback method and playback apparatus | |
| JP3358067B2 (en) | Method of manufacturing recording medium recording image data, image reproducing method and image reproducing apparatus | |
| JP3735097B2 (en) | Movie playback apparatus and movie playback method | |
| JP2937212B2 (en) | Data processing device | |
| JP3786716B2 (en) | Manufacturing method of recording medium on which image data is recorded | |
| JP3442085B2 (en) | Video playback device, video playback method, and game device | |
| JP3202283B2 (en) | Image data reproducing method and reproducing circuit thereof | |
| JPH04286289A (en) | Decoding method for data and decoder circuit for the same | |
| JP3205357B2 (en) | Image data transmission method and recording medium | |
| JP3451273B2 (en) | Recording medium on which audio data is recorded, audio data reproducing method and computer game system | |
| JPH0520797A (en) | CD-ROM and recording method thereof | |
| JPH01314473A (en) | Method for compressing picture data and method for restoring the same data | |
| JP2000209549A (en) | Image processing apparatus and method, and image recording medium | |
| JPH04295972A (en) | Recording medium image data and its recording method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080627 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090627 Year of fee payment: 6 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100627 Year of fee payment: 7 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100627 Year of fee payment: 7 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110627 Year of fee payment: 8 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110627 Year of fee payment: 8 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120627 Year of fee payment: 9 |
|
| EXPY | Cancellation because of completion of term | ||
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120627 Year of fee payment: 9 |