JPH0514859A - Decoding method for image data and image reproducing device for it - Google Patents

Decoding method for image data and image reproducing device for it

Info

Publication number
JPH0514859A
JPH0514859A JP3193477A JP19347791A JPH0514859A JP H0514859 A JPH0514859 A JP H0514859A JP 3193477 A JP3193477 A JP 3193477A JP 19347791 A JP19347791 A JP 19347791A JP H0514859 A JPH0514859 A JP H0514859A
Authority
JP
Japan
Prior art keywords
data
image data
image
character
frame
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
JP3193477A
Other languages
Japanese (ja)
Other versions
JP3084093B2 (en
Inventor
Teiji Yutaka
禎治 豊
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.)
Sony Corp
Original Assignee
Sony 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 Sony Corp filed Critical Sony Corp
Priority to JP03193477A priority Critical patent/JP3084093B2/en
Publication of JPH0514859A publication Critical patent/JPH0514859A/en
Application granted granted Critical
Publication of JP3084093B2 publication Critical patent/JP3084093B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)
  • Optical Recording Or Reproduction (AREA)
  • Image Processing (AREA)
  • Bus Control (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

PURPOSE:To obtain an image of more stereoscopic effect by recording one frame of two moving images in a recording area for a one frame of a recording medium in separably state, transferring data for the one frame to another memory area of a memory quantity for one frame at the time of decoding, obtaining the two moving images and synthesizing them. CONSTITUTION:The recording medium 5 where the one frame of first and second image data which is compressed are recorded in a state where the first and second image data can be separated with an adding information is prepared. The compressed image data is read from the recording medium 5 and DMA- transferred to a first memory 13. The first and second image data is DMA- transferred to the memory area the screen of the second memory 15 having the memory area for two screens. The first and second screen data of the second memory 15 is decoding-processed and data of one frame before the first and second screen data is compressed. The screen of one frame is obtained by superposing the first and second screen data and set it to be a display screen.

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、例えば動画などの画
像データが記録された例えばCD−ROMなどの記録媒
体からのデータのデコード方法及びその画像データから
の画像再生装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method of decoding data from a recording medium, such as a CD-ROM, on which image data such as a moving image is recorded, and an image reproducing apparatus for reproducing the image data.

【0002】[0002]

【従来の技術】CD−ROMは、記録容量が大きく、マ
イクロコンピュータを使用したゲーム機やパーソナルコ
ンピュータなどにおいて、外部記憶媒体として使用され
ているが、このCD−ROMに動画(アニメーション)
の画像データを記録しておき、この画像データを読み出
してホストコンピュータに供給し、CRTディスプレイ
に動画(アニメーション)を表示することが考えられて
いる。
2. Description of the Related Art A CD-ROM has a large recording capacity and is used as an external storage medium in a game machine or a personal computer using a microcomputer.
It is considered that the image data of (1) is recorded, the image data is read out and supplied to the host computer to display a moving image (animation) on the CRT display.

【0003】この場合、従来のゲーム機においては、ゲ
ーム機本体のホストコンピュータとしてのCPUに接続
された単一のシステムバスに対してCD−ROMのデコ
ーダが接続される。そして、CD−ROMからの画像デ
ータの読み出し方としては、CD−ROMから画像デー
タを連続して読み出して動画をディスプレイに表示する
のではなく、CD−ROMの所定の記録領域に記録され
ている複数駒からなる動画の画像データを読み出してホ
ストコンピュータ側に用意されている大容量のRAMに
転送し、このRAMに記憶された複数駒分の画像データ
からアニメーションを作成して表示するようにしてい
る。
In this case, in a conventional game machine, a CD-ROM decoder is connected to a single system bus connected to a CPU as a host computer of the game machine body. As a method of reading the image data from the CD-ROM, instead of continuously reading the image data from the CD-ROM and displaying a moving image on the display, it is recorded in a predetermined recording area of the CD-ROM. Image data of a moving image composed of a plurality of frames is read out and transferred to a large-capacity RAM prepared on the host computer side, and an animation is created from the image data of a plurality of frames stored in this RAM and displayed. There is.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、この方
法による場合には、動画の1秒当たりの駒数が少なく、
動きのスムースなアニメーションを得ることができな
い。
However, in the case of this method, the number of frames per second of the moving image is small,
You can't get a smooth animation of the movement.

【0005】そこで、この発明の発明者らは、例えば特
願平3−74555号として、CD−ROMから画像デ
ータを連続して読み出しながら動画を再生して、駒数が
多く、スムースな動きのアニメーションを実現できる方
法を提案している。
Therefore, the inventors of the present invention, for example, as Japanese Patent Application No. 3-74555, reproduce a moving image while continuously reading image data from a CD-ROM, and have a large number of frames and a smooth movement. We are proposing a method that can realize animation.

【0006】ところで、従来のゲーム機などの画像再生
装置においては、動画を表示するためのビデオRAMの
メモリ領域としては、一般に1画面分が用意され、この
1画面分のメモリ領域(メモリプレーンと称する)の画
像内容がCD−ROMから読み出された1フレーム分の
画像データにより1フレーム毎に順次書き換えられるこ
とにより1画面分のアニメーションが実現されていた。
By the way, in an image reproducing apparatus such as a conventional game machine, one screen is generally prepared as a memory area of a video RAM for displaying a moving image. The animation contents for one screen are realized by sequentially rewriting the image contents (referred to) as the image data for one frame read from the CD-ROM for each frame.

【0007】ところで、ゲーム機の場合、立体感のある
画像を得ることができれば、さらに臨場感のあるゲーム
を楽しむことができる可能性が拡がる。しかしながら、
1枚のプレーンのみによる画像では、この立体感のある
画像を得ることが困難であった。
By the way, in the case of a game machine, if an image having a stereoscopic effect can be obtained, the possibility of enjoying a game with a more realistic feeling is expanded. However,
It is difficult to obtain an image having a stereoscopic effect with an image formed by only one plane.

【0008】この発明は、以上の点にかんがみ、立体感
のある画像を得ることができるようにした画像データの
デコード方法及びその画像再生装置を提供することを目
的とする。
In view of the above points, an object of the present invention is to provide a method of decoding image data and an image reproducing apparatus therefor capable of obtaining an image having a stereoscopic effect.

【0009】[0009]

【課題を解決するための手段】上記課題を解決するた
め、この発明においては、後述の実施例の符号を参照す
ると、1フレーム分として記録される画像データとし
て、異なる第1及び第2の画像データのそれぞれの1フ
レームが圧縮されたものが、付加的情報により前記第1
及び第2の画像データが分離可能な状態で記録された記
録媒体5を用意し、この記録媒体5から前記圧縮された
画像データを読み出して第1のメモリ13にDMA転送
し、この第1のメモリ13からの前記第1の画像データ
と第2の画像データとを、2画面分のメモリ領域を有す
る第2のメモリ15のそれぞれ異なる画面用のメモリ領
域にDMA転送し、この第2のメモリ15の第1及び第
2の画像データを、それぞれデコード処理を行なって、
それぞれ第1及び第2の画像データの圧縮前の1フレー
ムのデータを得る。この第1及び第2の画像データを重
ね合わせて1フレームの画像を得て表示用画像とする。
In order to solve the above-mentioned problems, in the present invention, referring to the reference numerals of the embodiments described later, different first and second images are provided as image data recorded as one frame. Each compressed one frame of data is added to the first information by the additional information.
Also, a recording medium 5 in which the second image data and the second image data are recorded in a separable state is prepared, the compressed image data is read from the recording medium 5 and DMA-transferred to the first memory 13, and the first The first image data and the second image data from the memory 13 are DMA-transferred to the different screen memory areas of the second memory 15 having a memory area for two screens. Each of the first and second image data of 15 is decoded,
Data of one frame before compression of the first and second image data are obtained, respectively. The first and second image data are superposed to obtain an image of one frame, which is used as a display image.

【0010】[0010]

【作用】記録媒体には、1フレーム分として2画面分の
画像データが記録されている。そして、デコード時に
は、記録媒体からの画像データが一旦第1のメモリに書
き込まれ、この第1のメモリから画像データデコード用
の第2のメモリに転送される。この場合に、画像データ
と共に記録された付加的情報により、第2のメモリの第
1及び第2のメモリプレーンに第1及び第2の画像デー
タがそれぞれ書き込まれる。そして、この第2のメモリ
の第1及び第2の画像データがそれぞれデコード処理さ
れて、それぞれ1フレーム分の画像データがデコードさ
れる。
The image data for two screens is recorded as one frame on the recording medium. Then, at the time of decoding, the image data from the recording medium is once written in the first memory and transferred from the first memory to the second memory for image data decoding. In this case, the additional information recorded together with the image data causes the first and second image data to be written in the first and second memory planes of the second memory, respectively. Then, the first and second image data in the second memory are decoded respectively, and the image data for one frame is decoded respectively.

【0011】これら第1及び第2のメモリプレーンの画
像データが合成されてディスプレイに表示される。第2
のメモリの第1及び第2のメモリプレーンの画像は、記
録媒体からの第1及び第2の画像データにより書き換え
られので、表示画面には2枚の動画が重なった映像が表
示される。したがって、立体感のあるアニメーションが
得られるものである。
The image data of the first and second memory planes are combined and displayed on the display. Second
The images in the first and second memory planes of the memory are rewritten by the first and second image data from the recording medium, so that the display screen displays an image in which two moving images are overlapped. Therefore, a three-dimensional animation can be obtained.

【0012】[0012]

【実施例】以下、この発明による画像データのデコード
方法及びその画像再生装置の一実施例を、CD−ROM
に記録された動画の画像データを再生してアニメーショ
ンをリアルタイムで表示できるようにする場合を例にと
って説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the image data decoding method and the image reproducing apparatus according to the present invention will be described below with reference to a CD-ROM.
An example will be described in which the image data of the moving image recorded in [3] is reproduced so that the animation can be displayed in real time.

【0013】先ず、動画の画像データのデータ圧縮方法
と、圧縮した動画データ及び動画以外のその他のデータ
とを記録媒体に記録する方法について説明する。
First, a data compression method of moving image data and a method of recording the compressed moving image data and other data other than the moving image on a recording medium will be described.

【0014】[動画の画像データのデータ圧縮方法]図
4及び図5は、この例の画像データ圧縮方法を実行する
エンコード装置の一例のブロック図である。この例にお
いては、圧縮した画像データはCD−ROMに記録す
る。このCD−ROMは、後述するようにゲーム機用の
ソフトとして用いられ、動画を再生できるように、画像
データが高能率圧縮されている。
[Data compression method of moving image data] FIGS. 4 and 5 are block diagrams of an example of an encoding apparatus for executing the image data compression 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.

【0015】この例においては、1フレーム(1画面)
は、図6Aに示すように、横×縦=256画素×192
画素で構成され、また、1画素は三原色がそれぞれ5ビ
ットで表されている。なお、実際は、処理の都合でダミ
ーの1ビットが最上位に追加され、1画素は、1ビット
(ダミー)+5ビット×3色、すなわち16ビットとさ
れる。そして、この原画像データが1フレーム単位で以
下のようにデータ圧縮処理される。
In this example, one frame (one screen)
As shown in FIG. 6A, horizontal × vertical = 256 pixels × 192
Each of the three primary colors is represented by 5 bits. Actually, a dummy 1 bit is added to the highest order for the convenience of processing, and 1 pixel is 1 bit (dummy) +5 bits × 3 colors, that is, 16 bits. Then, the original image data is subjected to data compression processing in the unit of one frame as follows.

【0016】すなわち、原画像の1フレームのデータ
は、入力端21を通じてキャラクタ分割手段22に供給
され、図6Bに示すように、1フレームの画像がそれぞ
れ横×縦=8画素×8画素からなる小領域ブロック(以
下このブロックをキャラクタと称する)に分割される。
したがって、図6Bにも示したように、1フレームの画
像は、32×24=768個のキャラクタに分割され
る。そして、各キャラクタの画像データC(0) 〜C(76
7) は、レジスタ23に一時蓄えられる。
That is, the data of one frame of the original image is supplied to the character dividing means 22 through the input terminal 21, and as shown in FIG. 6B, the image of one frame consists of horizontal × vertical = 8 pixels × 8 pixels. It is divided into small area blocks (hereinafter this block is referred to as a character).
Therefore, as shown in FIG. 6B, one frame image is divided into 32 × 24 = 768 characters. Then, the image data C (0) to C (76
7) is temporarily stored in the register 23.

【0017】このレジスタ23からの各キャラクタの画
像データC(0) 〜C(767) は、第1のベクトル量子化手
段24に供給される。この例においても、このベクトル
量子化手段24においては、各キャラクタの画像データ
C(0) 〜C(767) が並列処理される。このように並列処
理せずに、画像データC(0) 〜C(767) を順次にベクト
ル量子化処理するようにしても勿論よい。後述する各処
理においても同様である。
The image data C (0) to C (767) of each character from the register 23 are supplied to the first vector quantizing means 24. Also in this example, the vector quantization means 24 processes the image data C (0) to C (767) of each character in parallel. As a matter of course, the image data C (0) to C (767) may be sequentially vector-quantized without performing the parallel processing. The same applies to each processing described later.

【0018】このベクトル量子化手段24では、各キャ
ラクタ画像データC(k) (k=0〜767)毎に、そのキ
ャラクタ内の画素として表われる色が4色以内となるよ
うにベクトル量子化がなされる。このベクトル量子化の
手法としては種々提案されているものが使用できるが、
この例では、赤、青、緑の三原色の色成分を互いに直交
する方向にとって3次元色空間を考えたとき、各画素間
のその色空間上の距離を求め、互いの距離の短い画素同
志をまとめることにより、すなわち近似する色の画素同
志をまとめて1つの代表色とする処理を行うことによ
り、キャラクタ内の画素の色が4色以下の代表色に収ま
るように画素データを丸める。
In the vector quantizing means 24, for each character image data C (k) (k = 0 to 767), vector quantization is performed so that the number of colors represented by pixels in the character is within 4 colors. Done. Although various proposed methods can be used as this 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, the distance between each pixel in that color space is calculated, and pixels with short distances are identified. By grouping together, that is, processing for grouping pixels of similar colors into one representative color, the pixel data is rounded so that the colors of the pixels in the character fall within four representative colors.

【0019】そして、1フレーム内の全キャラクタにつ
いて、そのキャラクタ内の画素の色が4色に収まるよう
にベクトル量子化した後、その1フレーム内の全キャラ
クタ内における量子化誤差(代表色の位置を中心とし
て、その代表色と各画素との前記色空間上の距離に相
当)の最大値Emax を求める。このとき、予め、1フレ
ーム内の量子化誤差の最大値として許容されるスレッシ
ョールド値Ethを設定しておく。そして、前記量子化誤
差の最大値Emax とスレッショールド値Ethとを比較す
る。そして、量子化誤差の最大値Emax がスレッショー
ルド値Ethより大きいときは、さらに、各キャラクタ内
の画像データについて、量子化誤差が前記最大値Emax
を越える直前までベクトル量子化を行い、キャラクタ内
の色数を減らしていく。これは、1フレーム内の全キャ
ラクタ内の画像データのS/Nを均一にするためであ
る。これを、量子化誤差の最大値Emax がスレッショー
ルド値Ethを越える直前まで行う。このようにすれば、
全てのフレームでのS/N比は一定に保たれる。
Then, for all the characters in one frame, vector quantization is performed so that the color of the pixels in the character fits into four colors, and then the quantization error (representative color position) in all the characters in the one frame. (Corresponding to the distance in the color space between the representative color and each pixel) is determined as the center, and the maximum value Emax is obtained. At this time, the threshold value Eth that is allowed as the maximum value of the quantization error in one frame is set in advance. Then, the maximum value Emax of the quantization error is compared with the threshold value Eth. Then, when the maximum value Emax of the quantization error is larger than the threshold value Eth, the quantization error of the image data in each character is further increased to the maximum value Emax.
Vector quantization is performed until just before, and the number of colors in the character is reduced. This is to make the S / N of the image data in all characters within one frame uniform. This is performed until just before the maximum value Emax of the quantization error exceeds the threshold value Eth. If you do this,
The S / N ratio in all frames is kept constant.

【0020】このように量子化すると、色の変化の平坦
なキャラクタでは、画素の色数が減る。これは、色の変
化の平坦なキャラクタでは、色数が減少しても量子化誤
差はさほど増大しないからである。この過程で、キャラ
クタ内の色数が2色に、さらには1色のみになるキャラ
クタも生じる。そして、各キャラクタ内で選択された色
が代表色とされる。
Quantizing in this way reduces the number of pixel colors in a character with a flat color change. This is because in a character with a flat color change, the quantization error does not increase so much even if the number of colors decreases. In this process, there are some characters in which the number of colors in the character is two, and even only one. Then, the color selected in each character is set as the representative color.

【0021】こうして、ベクトル量子化手段24から
は、各キャラクタ内では4色以下に圧縮された画像デー
タが得られる。このベクトル量子化手段24からのキャ
ラクタ単位の画像データは、パレット分割手段25に供
給される。
In this way, from the vector quantizing means 24, image data compressed into 4 colors or less in each character is obtained. The image data in character units from the vector quantizing means 24 is supplied to the palette dividing means 25.

【0022】このパレット分割手段25では、キャラク
タをそのキャラクタ内の色の分布によって、似た色を持
つキャラクタ同志をまとめることにより、8つのグルー
プ(各グループをパレットと称する)に分類する。例え
ば、図6Cに示すように、画像の内容に応じて色調の似
たキャラクタのグループが、A,B,C,D,E…のよ
うに生じたとした場合、このグループA,B,C,D,
E…毎にパレットが構成される。
The palette dividing means 25 classifies a character into eight groups (each group is referred to as a palette) by grouping together characters having similar colors according to the color distribution within the character. For example, as shown in FIG. 6C, when a group of characters having similar color tones depending on the contents of the image occurs as A, B, C, D, E ..., the groups A, B, C, D,
A palette is constructed for each E.

【0023】この例の場合、8つのパレットの割当方法
は、 (1)各キャラクタの代表色(キャラクタ内の色の平均
値)を計算し、各キャラクタはその代表色からなるもの
と仮定する。 (2)ベクトル量子化を行い、1フレーム内の全てのキ
ャラクタを8色に量子化する。すなわち、キャラクタ数
は768であるので、キャラクタの代表色は最大768
色となるが、これを8色のキャラクタに量子化する。 (3)同じラベル(代表色)を持つキャラクタ同志をま
とめて一つのパレットとする。 の3ステップにより行われる。
In the case of this example, the method of allocating eight palettes is as follows: (1) The representative color of each character (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 to quantize all characters in one frame into eight colors. That is, since the number of characters is 768, the representative color of the character is 768 at maximum.
Although it becomes a color, it is quantized into an 8-color character. (3) Characters having the same label (representative color) are put together into one palette. It is performed in three steps.

【0024】なお、このパレットを構成するキャラクタ
のグループは、連続したキャラクタの領域のものである
必要はなく、飛び飛びのキャラクタ同志が、1つのパレ
ットのグループを構成してもよい。
The group of characters forming this palette does not have to be a continuous character area, and scattered characters may form one palette group.

【0025】8個のパレットのデータP(0) 〜P(7)
は、レジスタ26に一時蓄えられ、それぞれ第2のベク
トル量子化手段27に供給され、並列処理される。
Data P (0) to P (7) of eight pallets
Are temporarily stored in the register 26, supplied to the second vector quantizing means 27, and processed in parallel.

【0026】第2のベクトル量子化手段27では、各パ
レット毎に16色の画素の代表色が決定される。このと
き、1つのパレット内の画素の色数が16色より多けれ
ば、キャラクタ内の場合と同様にして、ベクトル量子化
が行われてパレット内の色が16色になるように丸めら
れる。そして、その結果の16色が画素の代表色とされ
る。
The second vector quantizing means 27 determines the representative colors of the 16-color pixels for each palette. At this time, if the number of colors of pixels in one palette is more than 16 colors, vector quantization is performed in the same manner as in the character, and the colors in the palette are rounded to 16 colors. Then, the resulting 16 colors are set as the representative color of the pixel.

【0027】こうして、それぞれ16色に丸められた8
個のパレットのキャラクタ単位の画像データP(0) 〜P
(7) は、それぞれラベリング手段28に供給され、並列
処理される。各ラベリング手段28では、各パレットに
ついてそれぞれ画素の代表色として選定された16色又
は16以下の色データの色変換テーブルCOL(0) 〜C
OL(7) が作成され、レジスタ29に一時蓄えられる
(図7参照)。このレジスタ29からの色変換テーブル
COL(0) 〜COL(7) のデータは、記録データとして
記録処理手段38に供給される。
In this way, 8 rounded into 16 colors
Image data P (0) to P for each palette in character units
(7) is supplied to the labeling means 28 and processed in parallel. In each labeling means 28, color conversion tables COL (0) to COL (0) to C of 16 colors or 16 or less color data selected as representative colors of pixels for each palette
OL (7) is created and temporarily stored in the register 29 (see FIG. 7). The data of the color conversion tables COL (0) to COL (7) from the register 29 are supplied to the recording processing means 38 as recording data.

【0028】また、各ラベリング手段28では、各色変
換テーブルCOL(0) 〜COL(7)が参照されて、各パ
レットに含まれる各キャラクタについて、それぞれ16
色に丸められた画素データが、そのパレットの色変換テ
ーブル上で、その画素の色が対応する色番号で表現され
るラベル画像データLAB(0) 〜LAB(7) に変換され
る(図8参照)。そして、このラベル画像データLAB
(0) 〜LAB(7) が、レジスタ30に一時蓄えられる。
Further, in each labeling means 28, each color conversion table COL (0) to COL (7) is referred to, and for each character included in each palette, 16 are respectively provided.
The pixel data rounded to color is converted into label image data LAB (0) to LAB (7) in which the color of the pixel is represented by the corresponding color number on the color conversion table of the palette (FIG. 8). reference). Then, the label image data LAB
(0) to LAB (7) are temporarily stored in the register 30.

【0029】この場合、前述もしたように、キャラクタ
は、4又は3色からなるもの(図8A)、2色からなる
もの(図8B)、1色のみからなるもの(図8C)があ
る。キャラクタが4又は3色の場合には、その4又は3
色の色番号を示すテーブルが存在すれば、各画素データ
は、その色番号テーブルのどれであるか示す2ビットの
データで表すことができる。したがって、4又は3色か
らなるキャラクタの各画素データは、2ビットで表現す
ることができる。同様に、キャラクタが2色であれば、
そのキャラクタの2色の色番号テーブルと、それぞれ1
ビットの画素データで表すことができる。さらに、1色
のみであれば、後述するように、その色データのみとす
ることができる。
In this case, as described above, the character may be composed of 4 or 3 colors (FIG. 8A), composed of 2 colors (FIG. 8B), or composed of only one color (FIG. 8C). If the character has 4 or 3 colors, then 4 or 3
If there is a table showing the color number of each color, each pixel data can be represented by 2-bit data indicating which one of the color number table. Therefore, each pixel data of a character consisting of 4 or 3 colors can be represented by 2 bits. Similarly, if the character has two colors,
The color number table for the character's two colors and 1 for each
It can be represented by bit pixel data. Furthermore, if there is only one color, it is possible to use only that color data, as described later.

【0030】2ビットで表現できるキャラクタを2ビッ
トモードキャラクタ、1ビットで表現できるキャラクタ
を1ビットモードキャラクタ、1色のみのキャラクタを
単色キャラクタと、以下称する。
A character that can be represented by 2 bits is referred to as a 2-bit mode character, a character that can be represented by 1 bit is referred to as a 1-bit mode character, and a character having only one color is referred to as a monochrome character.

【0031】デコード処理を考慮した場合、2ビットモ
ードキャラクタ、1ビットモードキャラクタ、単色キャ
ラクタは、それぞれまとめて取り扱ったほうが高速処理
ができる。しかし、1フレーム中の768個のキャラク
タにおいては、一般に、図9Aに示すように、各モード
キャラクタは、分散して混在する。図9で、は1ビッ
トモードキャラクタ、は2ビットモードキャラクタ、
○は単色キャラクタを示している。
In consideration of the decoding process, the 2-bit mode character, the 1-bit mode character, and the monochromatic character can be processed together at a high speed. However, in 768 characters in one frame, generally, the mode characters are dispersed and mixed as shown in FIG. 9A. In FIG. 9, is a 1-bit mode character, is a 2-bit mode character,
○ indicates a single color character.

【0032】そこで、レジスタ30からの各パレットの
ラベル画像データLAB(0) 〜LAB(7) は、ソート手
段31に供給され、図9Bに示すように、2ビットモー
ドキャラクタ、1ビットモードキャラクタ、単色キャラ
クタの順に1フレームのキャラクタデータが並べ換えら
れる。
Therefore, the label image data LAB (0) to LAB (7) of each pallet from the register 30 is supplied to the sorting means 31, and as shown in FIG. 9B, the 2-bit mode character, the 1-bit mode character, Character data of one frame is rearranged in the order of monochromatic characters.

【0033】そして、このソート手段31では、1フレ
ームのキャラクタについて元の順序への並べ換えのため
のテーブル(以下これをスクリーンテーブルという)s
crが形成される。このスクリーンテーブルscrは、
図10に示すように、1フレームの画像をキャラクタと
同じ大きさの小領域に分割したとき、各小領域について
キャラクタ番号CNo. と、パレット番号PNo. が定めら
れて構成される。キャラクタ番号CNo. は、その小領域
の位置に表示されるべきキャラクタのソート後の1フレ
ーム中でのキャラクタ順位である。また、パレット番号
PNo. は、その小領域に表示されるキャラクタが、8個
のパレットのうちのどのパレットに含まれているかを示
す。すなわち、どの色変換テーブルをデコード時に使用
するかを示すことになる。この場合、1つの小領域のキ
ャラクタ番号CNo. とパレット番号PNo. とは、例えば
2バイトのデータで構成される。
In the sorting means 31, a table for rearranging the characters of one frame to the original order (hereinafter referred to as a screen table) s
cr is formed. This screen table scr
As shown in FIG. 10, when an image of one frame is divided into small areas of the same size as the character, a character number CNo. And a palette number PNo. Are defined for each small area. The character number CNo. Is the character rank in one frame after the character to be displayed at the position of the small area is sorted. The pallet number PNo. Indicates which of the eight pallets the character displayed in the small area is included in. That is, it indicates which color conversion table is used for decoding. In this case, the character number CNo. And pallet number PNo. Of one small area are composed of, for example, 2-byte data.

【0034】また、この例の場合、キャラクタ番号CN
o. のうちの0〜15までは、単色キャラクタに対して
のみ割り当てられる。すなわち、テーブルscrにおい
て、ある小領域の位置に表示されるキャラクタが単色キ
ャラクタであるときには、その小領域に対しては、パレ
ット番号PNo. は2ビットモード又は1ビットモードキ
ャラクタと同様に割り当てられるが、キャラクタ番号C
No. の代わりに、そのパレットの色変換テーブルの0〜
15の色番号のうちのそのキャラクタの色の色番号が割
り当てられる。これにより、その小領域の色(単色)が
決まる。したがって、単色キャラクタについては、この
スクリーンテーブルscrに、そのキャラクタの色のデ
ータを前記のように登録して記録することにより、後述
する各キャラクタについての圧縮画像データとしては記
録しない。
In the case of this example, the character number CN
0 to 15 of o. are assigned only to a monochrome character. That is, when the character displayed at the position of a certain small area in the table scr is a monochromatic character, the pallet number PNo. Is assigned to that small area in the same manner as the 2-bit mode or 1-bit mode character. , Character number C
Instead of No., 0 to 0 in the palette color conversion table
The color number of the color of the character out of the 15 color numbers is assigned. As a result, the color (single color) of the small area is determined. Therefore, for a single-color character, the color data of the character is registered and recorded in the screen table scr as described above, and is not recorded as compressed image data for each character described later.

【0035】以上のような単色キャラクタのため、2ビ
ットモード及び1ビットモードのキャラクタに対するキ
ャラクタ番号は、16番から始まる。もともと、キャラ
クタ番号には、10ビットが割り当てられているので、
このような番号のシフトには十分に余裕がある。
Because of the above-described monochrome characters, the character numbers for the 2-bit mode and 1-bit mode characters start from 16. Originally, 10 bits are assigned to the character number, so
There is plenty of room to shift such numbers.

【0036】スクリーンテーブルscrのデータは、記
録データとして記録処理手段38に供給される。
The data of the screen table scr is supplied to the recording processing means 38 as recording data.

【0037】そして、以上のようにしてソート手段31
においてソートされて並べ換えられたキャラクタ単位の
画像データのうち、N個(Nは768以下の整数)の各
2ビットモードのキャラクタのデータC2(0)〜C2(N-1)
は、レジスタ32を介してラベリング手段33に供給さ
れる。このラベリング手段33においては、各2ビット
モードのキャラクタのデータC2(0)〜C2(N-1)につい
て、図11Aに示すように、そのキャラクタの4色又は
3色の色番号テーブルと、その色番号テーブル上の各色
番号位置を示す2ビットのインデックス番号のデータと
からなる圧縮画像データdat2(0)〜dat2(N-1)が形
成される。そして、これらの圧縮画像データdat2(0)
〜dat2(N-1)がレジスタ34に一時蓄積される。
Then, the sorting means 31 is operated as described above.
Of the image data in character units sorted and rearranged in (2), the character data C2 (0) to C2 (N-1) of N pieces (N is an integer of 768 or less) in each 2-bit mode.
Are supplied to the labeling means 33 via the register 32. In the labeling means 33, as to the data C2 (0) to C2 (N-1) of each character in the 2-bit mode, as shown in FIG. 11A, a color number table of 4 colors or 3 colors of the character and its color number table are shown. Compressed image data dat2 (0) to dat2 (N-1) consisting of 2-bit index number data indicating each color number position on the color number table are formed. Then, these compressed image data dat2 (0)
~ Dat2 (N-1) is temporarily stored in the register 34.

【0038】同様に、ソート手段31からM個(Mは7
68以下の整数)の各1ビットモードのキャラクタのデ
ータC1(0)〜C1(M-1)が、レジスタ35を介してラベリ
ング手段36に供給される。このラベリング手段36に
おいては、各1ビットモードのキャラクタのデータC1
(0)〜C1(M-1)について、図11Bに示すように、その
キャラクタの2色の色番号テーブルと、その色番号テー
ブル上の各色番号位置を示す1ビットのインデックス番
号のデータとからなる圧縮画像データdat1(0)〜da
t1(M-1)が形成される。そして、これらの圧縮画像デー
タdat1(0)〜dat1(M-1)がレジスタ37に一時蓄積
される。
Similarly, M sorts from the sorting means 31 (M is 7)
Character data C1 (0) to C1 (M-1) of each 1-bit mode of an integer of 68 or less) is supplied to the labeling means 36 via the register 35. In the labeling means 36, character data C1 of each 1-bit mode
For (0) to C1 (M-1), as shown in FIG. 11B, from the color number table of the two colors of the character and the 1-bit index number data indicating each color number position on the color number table, Compressed image data dat1 (0) to da
t1 (M-1) is formed. Then, these compressed image data dat1 (0) to dat1 (M-1) are temporarily stored in the register 37.

【0039】そして、レジスタ34からの全ての2ビッ
トモードの圧縮画像データと、レジスタ37からの全て
の1ビットモードの圧縮画像データとは、それぞれ記録
データとして記録処理手段38に供給される。
All the 2-bit mode compressed image data from the register 34 and the 1-bit mode compressed image data from the register 37 are supplied to the recording processing means 38 as recording data.

【0040】また、端子39を通じて例えば常駐キャラ
クタや、ゲームの条件変更などのデータが、この記録処
理手段38に供給される。
Further, data such as resident characters and game condition changes are supplied to the recording processing means 38 through the terminal 39.

【0041】[記録データの生成]記録処理手段38で
は、CD−ROMに記録するデータを作成する。この記
録データは、この例では1フレームを1つの塊として処
理するが、CD−ROMへのデータ記録態様は、CD−
ROMのデータフォーマットに従ったものであることは
勿論である。
[Generation of Recording Data] The recording processing means 38 creates data to be recorded in the CD-ROM. In this example, the recorded data is processed as one block in one frame. However, the data recording mode on the CD-ROM is CD-ROM.
It goes without saying that it follows the ROM data format.

【0042】例えば、CD−ROMの記録モードがモー
ド1のときのセクタは、図13のようになっている。す
なわち、セクタの先頭にはシンク(同期)パターンが配
され、それに続いて、セクタ番号やトラック番号などを
含むヘッダが配される。そして、このヘッダの後が2K
バイトのユーザデータとされ、最後がユーザデータのエ
ラー検出用及びエラー訂正用符号などからなる補助デー
タとされる。
For example, when the recording mode of the CD-ROM is the mode 1, the sectors are 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. And 2K after this header
The user data is composed of bytes, and the last is auxiliary data composed of error detection and error correction codes of the user data.

【0043】この例の場合、セクタのユーザデータの領
域に、前述した動画の画像データやその他のデータが記
録される。そして、この2Kバイトのユーザデータの始
めの32バイトは、識別用情報IDとされる。この識別
用情報IDは、ユーザデータの領域にどのような内容の
データが記録されているかを示すと共に、同じ内容のデ
ータが何セクタ続くかを示す情報を含む。この識別用情
報IDに、その他の情報を含むようにすることができる
ことはもちろんである。
In the case of this example, the above-mentioned moving image data and other data are recorded in the user data area of the sector. Then, the first 32 bytes of this 2 Kbyte user data is used as the identification information ID. The identification information ID includes information indicating what kind of data is recorded in the user data area and how many sectors the data having the same content continues. Of course, the identification information ID may include other information.

【0044】この識別用情報IDが示すデータの内容と
しては、後述もするように、そのセクタのユーザデータ
が、1枚の動画の画像データ、2枚の動画の画像デ
ータ、色変換テーブル及びスクリーンテーブルscr
の情報、動画の画像データ及びスクリーンテーブルs
crの情報、いわゆる常駐キャラクタのデータやゲー
ムの条件変更のデータなどのその他データ、などが用意
される。
As will be described later, as the contents of the data indicated by the identification information ID, the user data of the sector is the image data of one moving image, the image data of two moving images, the color conversion table and the screen. Table scr
Information, video image data and screen table s
Information about cr, other data such as so-called resident character data and game condition change data is prepared.

【0045】[1.1枚の動画の画像データの記録の場
合]上述した1フレーム分の画像に関するデータは、2
ビットモードと1ビットモードの各キャラクタの画素に
関する圧縮画像データと、画像データ以外のデータであ
るところのその1フレームの8個のパレットに対する図
7に示した色変換テーブルCOL(0)〜COL(7) と、
図10に示したスクリーンテーブルscrとで構成され
る。
[1.1 Recording of Image Data of Moving Image] The above-mentioned data for one frame of image is 2
The color conversion tables COL (0) to COL (shown in FIG. 7 for the compressed image data relating to the pixels of each character in the bit mode and the 1-bit mode and the 8 palettes of the 1 frame which is data other than the image data. 7) and
It is composed of the screen table scr shown in FIG.

【0046】そして、この例の場合、記録する1フレー
ム分の圧縮画像データは、図12に示すように、その先
頭に、2ビットモードのキャラクタ数Nと1ビットモー
ドのキャラクタ数Mを示すモード数情報と、N個の2ビ
ットモードのキャラクタの圧縮画像データdat2(n)(n
=0,1,2…N-1)と、M個の1ビットモードのキャラクタの
圧縮画像データdat1(m)(m=0,1,2…M-1)とで構成され
る。単色キャラクタは、前述したように、スクリーンテ
ーブルscrにその色情報を登録しておくことにより、
画素のデータとしては記録しない。
In this example, the compressed image data for one frame to be recorded is, as shown in FIG. 12, a mode in which the number of characters N in the 2-bit mode and the number of characters M in the 1-bit mode are shown at the head thereof. Numerical information and compressed image data dat2 (n) (n) of N 2-bit mode characters
= 0,1,2 ... N-1) and compressed image data dat1 (m) (m = 0,1,2 ... M-1) of M 1-bit mode characters. By registering the color information of the single color character in the screen table scr as described above,
It is not recorded as pixel data.

【0047】そして、1キャラクタ分の情報は、図12
の下側に示すように、色番号テーブルの情報と、64画
素分のインデックス番号データからなる。図11に示し
たように、各画素に対応するインデックス番号データ
は、2ビットモードでは2ビット、1ビットモードでは
1ビットとなる。この場合、2ビットモードのキャラク
タ数Nと、1ビットモードのキャラクタ数Mとは画素の
内容に応じて変化するので、1フレーム分のキャラクタ
画素に関するデータのデータ長は可変である。
The information for one character is shown in FIG.
As shown on the lower side, the color number table information and the index number data for 64 pixels are used. As shown in FIG. 11, the index number data corresponding to each pixel is 2 bits in the 2-bit mode and 1 bit in the 1-bit mode. In this case, since the number of characters N in the 2-bit mode and the number of characters M in the 1-bit mode change according to the content of the pixel, the data length of the data regarding the character pixel for one frame is variable.

【0048】この例では、各モードのキャラクタ数をモ
ード数情報として記録するようにしたが、このモード数
情報に代わって、2ビットモードの最後のキャラクタ
と、1ビットモードの最初のキャラクタとの間に、キャ
ラクタデータとしては生じないようなビットパターンの
モード区切り情報を記録するようにしてもよい。
In this example, the number of characters in each mode is recorded as the mode number information. However, instead of this mode number information, the last character of the 2-bit mode and the first character of the 1-bit mode are recorded. In the meantime, mode delimiter information of a bit pattern that does not occur as character data may be recorded.

【0049】この例の場合、以上のようにして圧縮され
た動画に関するデータ量は、1フレーム当たり、次のよ
うになる。
In the case of this example, the data amount relating to the moving image compressed as described above is as follows per frame.

【0050】1フレーム当たり8パレットであるので、
色変換テーブルとしては、合計で、 16(色)×8(パレット)×2(バイト)=256(バイト) となる。また、スクリーンテーブルscrは、1キャラ
クタ当たり2バイトであるから、 768×2(バイト)=1536(バイト) となる。
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, 768 × 2 (bytes) = 1536 (bytes).

【0051】したがって、色変換テーブルとスクリーン
テーブル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.

【0052】また、動画の画像データは、2ビットモー
ドのキャラクタにおいては、4ビットで表現される色番
号は4種類であるので、色番号テーブルは、 4(ビット)×4=16(ビット)=2(バイト) となる。また、インデックス番号データは2ビットであ
るので、 2(ビット)×64=128(ビット)=16(バイト) となる。したがって、2ビットモードのキャラクタの1
キャラクタ当たりのデータ量は、18バイトとなる。
Further, in the image data of the moving image, in the character in the 2-bit mode, since there are four kinds of color numbers represented by 4 bits, the color number table is 4 (bits) × 4 = 16 (bits). = 2 (bytes). Since the index number data has 2 bits, 2 (bits) * 64 = 128 (bits) = 16 (bytes). Therefore, the 1 of 2 bit mode character
The amount of data per character is 18 bytes.

【0053】また、1ビットモードのキャラクタは、色
番号は2色分でよいので、色番号テーブルは、 4(ビット)×2=8(ビット)=1(バイト) となる。また、インデックス番号データは1ビットであ
るので、 1(ビット)×64=64(ビット)=8(バイト) となる。したがって、1ビットモードのキャラクタの1
キャラクタ当たりのデータ量は、9バイトとなる。
Further, since the color number of the character in the 1-bit mode may be two colors, the color number table is 4 (bits) × 2 = 8 (bits) = 1 (bytes). Since the index number data is 1 bit, 1 (bit) × 64 = 64 (bit) = 8 (byte). Therefore, 1 for 1-bit mode characters
The data amount per character is 9 bytes.

【0054】単色キャラクタについてはキャラクタの各
画素データは伝送しないので、1フレームの画像データ
の圧縮率は、1フレーム内の2ビットモード及び1ビッ
トモードのキャラクタの個数と、単色キャラクタの個数
の割合で定まる。例えば、 2ビットモード:1ビットモード:単色=3:3:2 =288:288:192 の場合、 となり、8Kバイト以下であるので、4セクタ内に収ま
る。
Since each pixel data of a character is not transmitted for a monochromatic character, the compression rate of the image data of one frame is the ratio of the number of characters in two-bit mode and one-bit mode in one frame to the number of monochromatic characters. Determined by. For example, in the case of 2-bit mode: 1-bit mode: monochrome = 3: 3: 2 = 288: 288: 192, Since it is 8 Kbytes or less, it fits within 4 sectors.

【0055】以上のことから、この例の場合、図14A
に示すように、動画に関するデータは、1フレーム分毎
に5セクタとして記録することができる。すなわち、5
セクタの内の始めの4セクタのユーザデータとして2ビ
ットモード及び1ビットモードのキャラクタデータ(モ
ード数情報は最初のセクタに含まれる)を記録する。そ
して、図14Aで斜線を付して示す5番目のセクタに
は、スクリーンテーブルscr及び色変換テーブルのデ
ータを記録する。
From the above, in the case of this example, FIG.
As shown in, the data regarding the moving image can be recorded as 5 sectors for each frame. That is, 5
Character data of 2-bit mode and 1-bit mode (mode number information is included in the first sector) is recorded as user data of the first 4 sectors of the sector. Then, the data of the screen table scr and the color conversion table are recorded in the fifth sector shown by hatching in FIG. 14A.

【0056】そして、各セクタのユーザデータの領域の
32バイトの識別用情報IDとして、始めの4セクタの
ものには、動画の画像データであることを示す情報と、
それが続くセクタ数(1番目のセクタの場合には4であ
る)の情報が記録される。また、最後の5番目のセクタ
のものには、スクリーンテーブルscr及び色変換テー
ブルのデータであることを示す情報と、それが続くセク
タ数の情報(この場合、1である)が記録される。
As the 32-byte identification information ID in the user data area of each sector, the first four sectors have information indicating that the data is moving image data.
Information is recorded on the number of sectors that follow (4 in the case of the first sector). Further, 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 (1 in this case) are recorded.

【0057】こうして、1フレーム分の動画に関するデ
ータが5セクタ毎に繰り返し記録されるものである。こ
の例の場合、CD−ROMの伝送レートが150Kバイ
ト(75セクタ)/秒であることを考え合わせると、1
5フレーム(駒)/秒の動画を記録ないし再生できるこ
とになる。
In this way, the data relating to the moving image for one frame is repeatedly recorded every 5 sectors. In the case of this example, considering that the transmission rate of the CD-ROM is 150 Kbytes (75 sectors) / second, 1
It is possible to record or reproduce a moving image of 5 frames (frames) / second.

【0058】また、この例の場合、CD−ROMには、
端子39から入力された常駐キャラクタやその他のデー
タも、このセクタのユーザデータの領域に記録する。さ
らには、この例のゲーム機では、動画の背景画を静止画
として別に作成することができ、CRTディスプレイに
は、両者の合成画を表示することができるようにされて
いる。このため、静止画の画像データもCD−ROM中
に記録するようにされている。この場合、静止画のデー
タは、例えば1画素16ビットのデータが4ビットに圧
縮されて記録される。また、常駐キャラクタも同様にし
て4ビットに圧縮されて記録される。
In the case of this example, the CD-ROM contains:
The resident character and other data input from the terminal 39 are also recorded in the user data area of this sector. Furthermore, in the game machine of this example, a background image of a moving image can be separately created as a still image, and a composite image of both can be displayed on the CRT display. Therefore, the image data of the still image is also recorded in the CD-ROM. In this case, as the still image data, for example, 16-bit data for each pixel is compressed into 4 bits and recorded. Similarly, the resident character is also compressed and recorded in 4 bits.

【0059】これらのデータは、上述した動画に関する
1フレーム分のデータ同志の間に挿入記録される。そし
て、各セクタのユーザデータの領域の最初の識別用情報
IDとして、そのデータ内容及びそれが続くセクタ数が
記録される。
These data are inserted and recorded between the data of one frame related to the above-mentioned moving picture. Then, as the first identification information ID in the user data area of each sector, the data content and the number of sectors following it are recorded.

【0060】なお、CD−ROMには、以上のような圧
縮画像情報のほかに、この圧縮画像情報をデコードする
ためのプログラムと、ゲーム用のプログラムが記録され
る。さらには、オーディオ情報も適宜記録される。デコ
ードのためのプログラムとしては、2ビットモード用の
デコードプログラムと、1ビットモード用のデコードプ
ログラムとが、それぞれ記録されている。また、キャラ
クタの並べ換えのプログラムも記録されている。これら
のプログラムデータは、上述したようなデータとは、別
個に記録され、デコーダ時、動画などの再生に先立ち、
一括して読み出すことができるようにされている。な
お、これらのプログラムデータも、上記の例の動画の画
像データ以外のデータとして、動画データの途中に記録
するようにすることもできる。
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. As the decoding program, a 2-bit mode decoding program and a 1-bit mode decoding program are recorded. Also, a character rearrangement program is recorded. These program data are recorded separately from the above-mentioned data, and at the time of decoding, before playing a moving image or the like,
It is designed so that they can be read in a batch. Note that these program data can also be recorded in the middle of the moving image data as data other than the image data of the moving image in the above example.

【0061】[2.2枚の動画の画像データの記録の場
合]また、この例では、記録処理回路38では、CD−
ROMには、上述した1フレーム分/5セクタに、2枚
の動画のそれぞれ1フレーム分を記録するようにするこ
とも行なっている。
[2.2 Recording of Image Data of Moving Image] In this example, the recording processing circuit 38 uses the CD-
In the ROM, one frame of each of two moving images is recorded in the above-mentioned one frame / 5 sectors.

【0062】この場合には、1フレームの画像データの
記録領域に第1及び第2の画像の1フレームづつを含
み、合計で2フレームの画像データを記録することにな
るため、画像データは、さらにデータ圧縮する必要があ
る。その方法としては、.1フレーム当たりの画素数
を少なくする方法、例えば1画面を256(水平)×1
28(垂直)からなる画素で構成する方法、.ベクト
ル量子化によるデータ圧縮の圧縮率を上げる方法、.
方法と方法とを併用する方法、などが採用される。
In this case, since one frame of the first and second images is included in the recording area of the image data of one frame and the image data of two frames in total is recorded, the image data is Further data compression is required. The method is as follows. A method of reducing the number of pixels per frame, for example, one screen is 256 (horizontal) x 1
28 (vertical). A method for increasing the compression rate of data compression by vector quantization ,.
The method and the method of using the method in combination are adopted.

【0063】そして、この場合、記録するデータとして
は、第1の画像のデータの1フレーム分についての2ビ
ットモードのキャラクタデータ、1ビットモードのキャ
ラクタデータ、そのスクリーンテーブルscr1及びそ
の色変換テーブル、第2の画像のデータの1フレーム分
についての2ビットモードキャラクタデータ、1ビット
モードキャラクタデータ、そのスクリーンテーブルsc
r2及びその色変換テーブルとが必要となる。
In this case, as the data to be recorded, 2-bit mode character data for one frame of the first image data, 1-bit mode character data, its screen table scr1 and its color conversion table, 2-bit mode character data for 1 frame of data of the second image, 1-bit mode character data, and its screen table sc
r2 and its color conversion table are required.

【0064】なお、色変換テーブルは、使用する色数を
8(パレット)×16(色)=128とすれば、共通に
使用できる。すなわち、色番号テーブルのデータとして
その共通の色変換テーブルに対する色番号を登録するよ
うにすれば、スクリーンテーブルscr1及びscr2
においてその共通の色変換テーブルを指定することがで
きるからである。
The color conversion table can be commonly used if the number of colors used is 8 (palette) × 16 (color) = 128. That is, if the color numbers for the common color conversion table are registered as the data of the color number table, the screen tables scr1 and scr2 are registered.
This is because the common color conversion table can be designated in.

【0065】そして、この例の場合、CD−ROMの1
フレーム=5セクタに、これら第1及び第2の画像のそ
れぞれ1フレームの画像データを記録するに当たって、
図14Bに示すように記録する。
In the case of this example, 1 of the CD-ROM is used.
When recording image data of one frame each of the first and second images in frame = 5 sectors,
Record as shown in FIG. 14B.

【0066】すなわち、先ず、第1の画像の1フレーム
分として記録する2ビットモードのキャラクタデータ数
N1及び1ビットモードのキャラクタデータ数M1が記
録され、続いて第1の画像の1フレーム分の2ビットモ
ード及び1ビットモードのキャラクタデータが記録され
る。次に、続いて第2の画像の1フレーム分として記録
する2ビットモードのキャラクタデータ数N2及び1ビ
ットモードのキャラクタデータ数M2が記録され、続い
て第1の画像の1フレーム分の2ビットモード及び1ビ
ットモードのキャラクタデータが記録される。そして、
その後に、第1の画像についてのスクリーンテーブルs
cr1、第2のスクリーンテーブルscr2、さらに第
1及び第2の画像に共通の色変換テーブルCOL(j)
が記録される。
That is, first, the number N1 of 2-bit mode character data and the number M1 of 1-bit mode character data to be recorded as one frame of the first image are recorded, and subsequently, one frame of the first image is recorded. Character data in the 2-bit mode and the 1-bit mode is recorded. Next, the number N2 of character data in the 2-bit mode and the number M2 of character data in the 1-bit mode, which are subsequently recorded as one frame of the second image, are recorded, and subsequently two bits of one frame of the first image are recorded. Character data of mode and 1-bit mode is recorded. And
After that, the screen table s for the first image
cr1, the second screen table scr2, and the color conversion table COL (j) common to the first and second images.
Is recorded.

【0067】図の例の場合、5セクタのうちの始めの2
セクタの途中までに、第1の画像の1フレーム分の画像
データが記録され、続いて4セクタの途中までに、第2
の画像の1フレーム分の画像データが記録され、その後
にスクリーンテーブルscr1及びscr2、さらに色
変換テーブルCOL(j)が記録される。したがって、
図14Bにおいて、5セクタのうちの始めの3セクタの
ユーザデータの領域の32バイトの識別用情報IDに
は、2枚の動画の画像データであることを示す情報が含
まれる。そして、4番目のセクタの識別用情報IDに
は、2枚の動画の画像データについての画像のデータ及
びスクリーンテーブルscrの情報であることを示す情
報が含まれる。最後の5番目のセクタの識別用情報ID
には、2枚の動画の画像データについてのスクリーンテ
ーブルscr及び色変換テーブルの情報であることを示
す情報が含まれる。
In the case of the example shown in the figure, the first 2 of the 5 sectors are
Image data for one frame of the first image is recorded halfway through the sector, and then the second data is recorded halfway through four sectors.
The image data for one frame of the image is recorded, and then the screen tables scr1 and scr2 and the color conversion table COL (j) are recorded. Therefore,
In FIG. 14B, the 32-byte identification information ID in the user data area of the first three sectors of the five sectors includes information indicating that the image data is two moving images. Then, the identification information ID of the fourth sector includes the image data of the image data of the two moving images and the information indicating that it is the information of the screen table scr. Identification information ID of the last 5th sector
Includes information indicating that the information is the screen table scr and the color conversion table for the image data of the two moving images.

【0068】なお、キャラクタ数N1,M1,N2,M
2を記録する代わりに、第1及び第2の画像の境目に、
それを示すフラグを記録すると共に、第2の画像とスク
リーンテーブルscr及び色変換テーブルとの境目に、
それを示すフラグを記録するようにしてもよい。
The number of characters N1, M1, N2, M
Instead of recording 2, at the border between the first and second images,
A flag indicating that is recorded, and at the boundary between the second image and the screen table scr and the color conversion table,
You may make it record the flag which shows that.

【0069】以上のようにして、第1及び第2の動画の
画像データのそれぞれの1フレーム分が、1枚の動画の
画像データが記録される5セクタ毎に繰り返し記録され
るものである。したがって、これをデコードすれば、第
1及び第2の動画が、それぞれ15駒/秒で表示できる
ものである。
As described above, one frame of each of the image data of the first and second moving images is repeatedly recorded every 5 sectors in which the image data of one moving image is recorded. Therefore, if this is decoded, the first and second moving images can be displayed at 15 frames / sec.

【0070】以上説明したデータ圧縮方法によれば、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.

【0071】この場合に、似た色を持つキャラクタごと
にまとめられて1つのグループ(パレット)が形成さ
れ、それが1画面分について複数個形成されて、画像デ
ータがパレット(グループ)分割されている。そして、
この似た色の画像部分からなるパレット内でベクトル量
子化処理が行われるので、量子化誤差が少なくなる。
In this case, 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 divided into palettes (groups). There is. And
Since the vector quantization process is performed in the palette composed of image parts of similar colors, the quantization error is reduced.

【0072】また、デコード時、テーブルを参照するだ
けでデコード処理を行うことができるので、デコーダの
構成が簡単になる。さらに、大容量のバッファメモリを
必要としないので、内蔵RAMの容量が限定されている
汎用のDSPをデコーダとして使用することができ、デ
コーダをローコスト化することができる。
Further, at the time of decoding, the decoding process can be carried out only by referring to the table, 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.

【0073】しかも、フレーム相関を利用しないで圧縮
処理を行っているので、デコード時にエラーを生じて
も、そのエラーは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 the subsequent frames.

【0074】さらに、デコーダ回路をローコストに提供
できるとともに、記録媒体としてCD−ROMを使用で
きるので、コンピュータゲーム機のソフトに適用して効
果的である。
Further, since the decoder circuit can be provided at low cost and the CD-ROM can be used as the recording medium, it is effective when applied to software of a computer game machine.

【0075】また、以上の例では、色が1色となるキャ
ラクタのデータについては、スクリーンテーブルscr
に登録して色データのみを伝送し、画素単位のデータは
伝送しないので、データ伝送路上のトラフィックを減少
させることができる。
Further, in the above example, for the data of the character having one color, the screen table scr
Since only the color data is transmitted and the pixel-based data is not transmitted by registering in, the traffic on the data transmission path can be reduced.

【0076】なお、パレット分割する際の処理単位は1
フレームでなく、複数フレームとして、3次元的にパレ
ット分割するようにしてもよい。
The processing unit when dividing the palette is 1
Instead of a frame, a plurality of frames may be used for three-dimensional palette division.

【0077】[この発明の一実施例としてのデコード装
置の説明]次に、以上のようにして圧縮されてCD−R
OMに記録された画像データをデコードする装置に、こ
の発明を適用した場合の一例としてのゲーム機の場合に
ついて説明する。
[Description of Decoding Device as One Embodiment of the Present Invention] Next, the CD-R compressed as described above will be described.
A case of a game machine as an example in which the present invention is applied to a device for decoding image data recorded in an OM will be described.

【0078】すなわち、図1は、この発明をマイクロコ
ンピュータを使用したゲーム機に適用した場合の一例を
示し、1はそのゲーム機本体、4は副処理部、5はCD
−ROM、6はプログラムカートリッジ、7は音声デー
タの主処理部である。
That is, FIG. 1 shows an example in which the present invention is applied to a game machine using a microcomputer, 1 is the main body of the game machine, 4 is a sub-processing unit, and 5 is a CD.
-ROM, 6 is a program cartridge, and 7 is a main processing unit for audio data.

【0079】ゲーム機本体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.

【0080】そして、ゲーム機本体1は、第1及び第2
のシステムバス18及び19を備える2バス構成となっ
ている。この2個のシステムバスは、データバスは共通
であるが、アドレスバスが、第1のシステムバスと第2
のシステムバスで別個となっている。そして、DMAC
12により、これら第1及び第2のシステムバス18及
び19間でのみDMA転送が可能である。
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.

【0081】この場合、CPU11と第2のシステムバ
ス19との間はポート16を介して接続され、CPU1
1と第2のシステムバス19に接続されているデバイス
間は、ポート16を介してアクセスすることができる。
In this case, the CPU 11 and the second system bus 19 are connected via the port 16.
The devices connected to the first and second system buses 19 can be accessed via the port 16.

【0082】第1のシステムバス18には、CPU1
1、DMAC12及びRAM13が接続される。また、
第2のシステムバス19には、DMAC12及びPPU
14が接続されるとともに、PPU14にビデオRAM
15及びCRTディスプレイ6が接続される。また、第
2のシステムバス19には、副処理部4と、音声データ
の主処理部7が接続されている。
The CPU 1 is connected to the first system bus 18.
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.

【0083】また、ビデオRAM15は、この例の場
合、例えば図2に示すように、複数例えば4個のメモリ
領域M1〜M4に分割されている。この例の場合、メモ
リ領域M1及びM2は、それぞれ1枚の画像の再生のた
めのエリア(メモリプレーン)、メモリ領域M3は例え
ば常駐キャラクタなどのためのエリア(メモリプレー
ン)とされる。これらのメモリ領域M1〜M3は、それ
ぞれ2フレーム分(2画面分)の画面エリアを有し、そ
の一方の画面エリアの画像データが、PPU14により
CRTディスプレイ8の垂直及び水平走査に同期して読
み出され、ディスプレイ8により画像として表示される
とともに、この表示が行われている間に、他方の画面エ
リアに次に表示される画像の画像データが書き込まれ
る。
In the case of this example, the video RAM 15 is divided into a plurality of, for example, four memory areas M1 to M4 as shown in FIG. In the case of this example, each of the memory areas M1 and M2 is an area (memory plane) for reproducing one image, and the memory area M3 is an area (memory plane) for a resident character, for example. 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.

【0084】また、メモリ領域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.

【0085】さらに、ゲーム機本体1の音声データの主
処理部7において、71はそのAPU(オーディオ・プ
ロセシング・ユニット)、72はD/Aコンバータ、7
3は音声出力端子で、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, and 7
Reference numeral 3 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.

【0086】また、副処理部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.

【0087】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, and the controller 4
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.

【0088】さらに、副処理部4において、50はDS
Pで、これは汎用のDSPであるが、画像データの処理
を行うものである。なお、この副処理部4は、この例に
おいてはゲーム機本体1と一体化されているが、ゲーム
機本体1に対してアダプタ形式とされていてもよい。な
お、DSP50は、図示しないが、プログラムRAMと
バッファRAM(1つのRAMで構成できる)を備えて
いる。
Further, in the sub processing unit 4, 50 is DS
P, which is a general-purpose DSP, is for processing image data. Although the sub-processing unit 4 is integrated with the game machine body 1 in this example, it may be in the form of an adapter for the game machine body 1. Although not shown, the DSP 50 includes a program RAM and a buffer RAM (which can be configured by one RAM).

【0089】また、プログラムカートリッジ6は、この
ゲーム機の使用時、ゲーム機本体1のスロット2に差し
込まれて使用されるものである。このログラムカートリ
ッジ6は、CD−ROM5を使用しないときは、一般的
なゲームソフト用のものが差し込まれ、CD−ROM5
を使用するときは、専用のものが差し込まれる。
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, a program cartridge for general game software is inserted into the program cartridge 6 and the CD-ROM 5
When using, a special one is inserted.

【0090】そして、カートリッジ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.

【0091】そして、このカートリッジ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).

【0092】そして、カートリッジ6のROM61のプ
ログラムがCPU11により実行され、CD−ROM5
からのデータは、ゲーム機本体1のRAM13に取り込
まれ、各セクタのユーザデータ中の識別用情報IDに基
づいて各ユーザデータのデコード処理がなされる。これ
により、動画が表示される。
Then, the program of the ROM 61 of the cartridge 6 is executed by the CPU 11, and the CD-ROM 5
Data is fetched into the RAM 13 of the game machine main body 1 and the user data is decoded based on the identification information ID in the user data of each sector. Thereby, the moving image is displayed.

【0093】すなわち、CDプレーヤ41によりCD−
ROM5からデータが再生されると、この再生データ
は、プレーヤ41からDSP42及びデコーダ43に順
に供給されてエラー訂正などの処理が行われ、そのエラ
ー訂正の行われたデータが、DMAC12によりデコー
ダ43からRAM13の第1のバッファエリアにDMA
転送される。
In other words, the CD player 41 makes 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.

【0094】次に、この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 the procedure of the decoding process according to the reproduction data having the content indicated by each ID.

【0095】なお、CD−ROM5からは、画像データ
などの再生に先立ち、前述したデコード処理のプログラ
ムやゲームのプログラムがRAM13取り込まれるもの
である。
Incidentally, from the CD-ROM 5, the decoding program and the game program described above are loaded into the RAM 13 prior to the reproduction of image data and the like.

【0096】[動画の画像データのデコード処理] [1.1枚の動画の場合のデコード処理]CPU11で
の識別用情報IDのチェックの結果、セクタのユーザデ
ータの内容が1枚の動画の画像データであると判別され
たときは、次のようにして、動画のデコード及び表示処
理がなされる。
[Decoding process for moving image data] [1.1 Decoding process for moving image] As a result of checking the identification information ID in the CPU 11, the content of the user data in the sector is one moving image. When it is determined that the data is data, the moving image is decoded and displayed in the following manner.

【0097】すなわち、1フレーム分の圧縮画像データ
が含まれる5セクタのデータに対して、次のようにして
デコード処理が行なわれる。この動画の画像データのデ
コード処理の手順は、基本的には次の3ステップからな
っている。
That is, the decoding process is performed on the data of 5 sectors including the compressed image data for one frame as follows. The procedure for decoding the image data of this moving image basically consists of the following three steps.

【0098】A.各キャラクタについて、色番号テーブ
ルを参照して、2ビットあるいは1ビットのインデック
ス番号データを色変換テーブルCOL(j)の4ビット
の色番号のデータに変換する第1次のテーブル参照のス
テップ B.各パレットのキャラクタの各画素について、そのパ
レットの色変換テーブルを参照して、A項でデコードし
た色番号のデータを実際の色データに変換する第2次の
テーブル参照のステップ C.ソートされているキャラクタの並び換えのステッ
プ、すなわち、スクリーンテーブルscrを参照してB
項でデコードした画素データを、元のキャラクタ位置に
並べ変えるステップ そして、このA項〜C項のステップうち、A項のステッ
プをDSP50が行い、B項及びC項のステップをPP
U14が行う。
A. For each character, referring to the color number table, the 2-bit or 1-bit index number data is converted into 4-bit color number data of the color conversion table COL (j). For each pixel of each pallet character, refer to the pallet color conversion table, and convert the data of the color number decoded in section A into the actual color data. The step of rearranging the sorted characters, that is, referring to the screen table scr, B
The step of rearranging the pixel data decoded by the item to the original character position, and the DSP 50 performs the step of the A term among the steps of the A term to the C term, and the step of the B term and the C term.
U14 does.

【0099】[1−1 A項のステップ]先ず、1フレ
ーム分の圧縮画像データが含まれる4セクタのユーザデ
ータに対して、DSP50において、次のようにして色
番号のデータへのデコード処理を行ない、それをビデオ
RAM15のメモリ領域M1に書き込むまでの手順につ
いて説明する。すなわち、 (1) 2ビットモードのキャラクタをデコードするため
のプログラムが、RAM13からDSP50にロードさ
れる。
[1-1 Step A] First, the DSP 50 decodes the user data of 4 sectors including the compressed image data for one frame into the data of the color number as follows. The procedure for performing the operation and writing it in the memory area M1 of the video RAM 15 will be described. That is, (1) A program for decoding a 2-bit mode character is loaded from the RAM 13 into the DSP 50.

【0100】(2) RAM13の第1のバッファエリア
にDMA転送された画像データの2ビットモードのキャ
ラクタのデータのうち、その先頭から8キャラクタ分の
データが、DMAC12によりDSP50にDMA転送
される。
(2) Of the 2-bit mode character data of the image data DMA-transferred to the first buffer area of the RAM 13, the 8-character data from the beginning is DMA-transferred to the DSP 50 by the DMAC 12.

【0101】(3) DSP50において、(1) のプログ
ラムによりA項のステップが実行され、DMA転送され
てきたインデックス番号データは、色番号テーブルによ
り色番号のデータ(図11A)に変換される。この変換
により、8キャラクタ分のインデックス番号データ(=
18バイト×8個)は、4ビット×8画素×8画素(=25
6 バイト)の色番号のデータにデコードされる。
(3) In the DSP 50, the step (A) is executed by the program of (1), and the index number data DMA-transferred is converted into color number data (FIG. 11A) by the color number table. By this conversion, the index number data for 8 characters (=
18 bytes x 8) is 4 bits x 8 pixels x 8 pixels (= 25
It is decoded into color number data of 6 bytes.

【0102】(4) このデコードされた色番号が、DM
AC12によりRAM13の第2のバッファエリアにD
MA転送される。
(4) This decoded color number is DM
D in the second buffer area of RAM13 by AC12
MA is transferred.

【0103】(5) 以後、(2) 〜(4) の処理が繰り返さ
れ、2ビットモードのキャラクタのインデックス番号デ
ータのすべてが色番号にデコードされてRAM13の第
2のバッファエリアにDMA転送される。
After (5), the processes of (2) to (4) are repeated, and all the index number data of the character in the 2-bit mode is decoded into the color number and DMA-transferred to the second buffer area of the RAM 13. It

【0104】(6) RAM13の第2のバッファエリア
にDMA転送された2ビットモードのすべての色番号の
データが、CRTディスプレイ8の垂直ブランキング期
間に、DMAC12によりPPU14を通じてビデオR
AM15にDMA転送され、そのメモリ領域M1に書き
込まれる。
(6) The data of all color numbers in the 2-bit mode DMA-transferred to the second buffer area of the RAM 13 are transferred to the video R through the PPU 14 by the DMAC 12 during the vertical blanking period of the CRT display 8.
The data is DMA-transferred to the AM 15 and written in the memory area M1.

【0105】(7) (6) までの処理を終了すると、1ビ
ットモードのキャラクタをデコードするためのプログラ
ムが、RAM13からDSP50にロードされる。
(7) When the processes up to (6) are completed, the program for decoding the 1-bit mode character is loaded from the RAM 13 to the DSP 50.

【0106】(8) RAM13の第1のバッファエリア
にDMA転送された画像データの1ビットモードのキャ
ラクタのデータのうち、その先頭から8キャラクタ分の
データが、DMAC12によりDSP50にDMA転送
される。
(8) Of the character data in the 1-bit mode of the image data DMA-transferred to the first buffer area of the RAM 13, the data for 8 characters from the beginning is DMA-transferred to the DSP 50 by the DMAC 12.

【0107】(9) DSP50において、(7) のプログ
ラムによりA項のステップが実行され、DMA転送され
てきたインデックス番号データは、色番号テーブルによ
り色番号のデータ(図11B)に変換される。この変換
により、8キャラクタ分のインデックス番号データ(=
9バイト×8個)は、4ビット×8画素×8画素(=25
6 バイト)の色番号のデータにデコードされる。
(9) In the DSP 50, the step (A) is executed by the program of (7), and the index number data DMA-transferred is converted into color number data (FIG. 11B) by the color number table. By this conversion, the index number data for 8 characters (=
9 bytes x 8) is 4 bits x 8 pixels x 8 pixels (= 25
It is decoded into color number data of 6 bytes.

【0108】(10) このデコードされた色番号が、DM
AC12によりRAM13の第2のバッファエリアにD
MA転送される。
(10) This decoded color number is DM
D in the second buffer area of RAM13 by AC12
MA is transferred.

【0109】(11) 以後、(8) 〜(10)の処理が繰り返さ
れ、1ビットモードのキャラクタのインデックス番号デ
ータのすべてが色番号のデータにデコードされてRAM
13の第2のバッファエリアにDMA転送される。
After (11), the processes of (8) to (10) are repeated, and all the index number data of the character in the 1-bit mode is decoded into the data of the color number and the RAM is stored.
DMA transfer is performed to the second buffer area 13 in FIG.

【0110】(12) RAM13の第2のバッファエリア
にDMA転送された1ビットモードのすべての色番号の
データが、CRTディスプレイ8の垂直ブランキング期
間に、DMAC12によりPPU14を通じてビデオR
AM15にDMA転送され、そのメモリ領域M1に書き
込まれる。
(12) The data of all color numbers in the 1-bit mode DMA-transferred to the second buffer area of the RAM 13 are transferred to the video R through the PPU 14 by the DMAC 12 during the vertical blanking period of the CRT display 8.
The data is DMA-transferred to the AM 15 and written in the memory area M1.

【0111】なお、(6) における2ビットモードの色番
号のDMA転送は、この(12)の直前((12)と(11)との
間)に行うこともできる。
The DMA transfer of the color number in the 2-bit mode in (6) can also be performed immediately before this (12) (between (12) and (11)).

【0112】[1−2.B項及びC項のステップ](13)
前記(12)までの処理を終了すると、1フレームの画像
データの5番目のセクタの処理にかかる。すなわち、C
PU11は、識別情報IDによりこの5番目のセクタ
は、スクリーンテーブルscr及び色変換テーブルのデ
ータのセクタであると検知する。そこで、CPU11
は、RAM13の第1のバッファエリアにDMA転送さ
れていたスクリーンテーブルscr及び色変換テーブル
のデータを、DSP50を通じることなく、DMAC1
2によりPPU14を通じてビデオRAM15にDMA
転送する。この場合、これらスクリーンテーブルscr
及び色変換テーブルのデータは、ビデオRAM15のメ
モリ領域M4に書き込まれる。
[1-2. Steps in terms B and C] (13)
When the processes up to (12) are finished, the process for the fifth sector of the image data of one frame is started. That is, C
The PU 11 detects that the fifth sector is a sector of the data of the screen table scr and the color conversion table based on the identification information ID. Therefore, the CPU 11
Sends the data of the screen table scr and the color conversion table DMA-transferred to the first buffer area of the RAM 13 to the DMAC 1 without passing through the DSP 50.
2 to PRAM 14 and DMA to video RAM 15
Forward. In this case, these screen table scr
The data of the color conversion table is written in the memory area M4 of the video RAM 15.

【0113】(14) 以上の転送処理が行われと、PPU
14は、リアルタイムで前述したB項、C項のステップ
を実行する。すなわち、色変換テーブルCOL(j) を参
照することにより、(2) 〜(5) 、(8) 〜(11)により処理
されたメモリ領域M1の色番号のデータが、実際の色の
画素データにデコードされるとともに、スクリーンテー
ブルscrを参照することにより、各キャラクタの画素
データが、元のキャラクタ位置に対応したアドレスに書
き込まれる。
(14) When the above transfer processing is performed, the PPU
14 executes the steps of the B term and the C term described above in real time. That is, by referring to the color conversion table COL (j), the data of the color number of the memory area M1 processed by (2) to (5) and (8) to (11) is converted into the pixel data of the actual color. Pixel data of each character is written to the address corresponding to the original character position by being decoded into the screen table scr.

【0114】(15) 以上により1フレーム分の画素デー
タがビデオRAM15のメモリ領域M1の一方の画面エ
リアに書き込まれると、ビデオRAM15の表示エリア
がその画面エリアに切り換えられ、その画素データの書
き込まれたエリアがアクティブとされ、その画面がディ
スプレイ8に表示される。
(15) When pixel data for one frame is written in one screen area of the memory area M1 of the video RAM 15 as described above, the display area of the video RAM 15 is switched to that screen area and the pixel data is written. Area is activated and its screen is displayed on the display 8.

【0115】(16) 処理は(1) に戻り、以後、1フレー
ム単位で(1) 〜(16)の処理が繰り返される。
(16) The process returns to (1), and thereafter, the processes of (1) to (16) are repeated for each frame.

【0116】こうして、CD−ROM5から再生された
画像データは、上述のようにRAM13と、DSP50
と、PPU14との間を、パイプライン処理的に処理さ
れながらビデオRAM15まで次々と送られる。したが
って、ディスプレイ8には、CD−ROM5の画像デー
タによる画像が動画として表示される。なお、この動画
表示は、上述のように15フレーム/秒の割り合いで行う
ことができる。
The image data reproduced from the CD-ROM 5 as described above is stored in the RAM 13 and the DSP 50 as described above.
And PPU 14 are sequentially sent to the video RAM 15 while being processed in a pipeline process. Therefore, the image based on the image data of the CD-ROM 5 is displayed as a moving image on the display 8. Note that this moving image display can be performed at a rate of 15 frames / second as described above.

【0117】[2.2枚の動画の場合のデコード処理]
5セクタに2枚の動画の1フレームづつの画像データが
記録されている場合のデコード処理も、上述した1枚の
動画のデコード処理の場合と、基本的には同じである。
[2.2 Decoding process for two moving images]
The decoding process when the image data of one frame of two moving images is recorded in five sectors is basically the same as the above-described decoding process of one moving image.

【0118】先ず、この場合には、図3に示すように、
第1の画像についての2ビットモード及び1ビットモー
ドのキャラクタデータの数N1,M1の情報から第1及
び第2の画像のキャラクタデータの境目P1を知ること
ができる。
First, in this case, as shown in FIG.
The boundary P1 between the character data of the first and second images can be known from the information on the numbers N1 and M1 of the character data in the 2-bit mode and the 1-bit mode for the first image.

【0119】また、上記数N1,M1の情報と、第2の
画像についての2ビットモード及び1ビットモードのキ
ャラクタデータの数N2,M2の情報とから、第2の動
画の画像データと、スクリーンテーブルscr1及びs
cr2及び色変換テーブルCOL(j)との境目P2を
知ることができる。そして、これらの境目P1,P2か
ら、A項のステップについて、第1の画像のデコード処
理から第2の画像のデコード処理に切り換え、また、ス
クリーンテーブルscr1,scr2及び色変換テーブ
ルを取り込み、B項及びC項のステップを第1及び第2
の画像について行なう。
Further, from the information of the numbers N1 and M1 and the information of the numbers N2 and M2 of the character data in the 2-bit mode and the 1-bit mode for the second image, the image data of the second moving image and the screen are displayed. Tables scr1 and s
The boundary P2 between the cr2 and the color conversion table COL (j) can be known. Then, from these boundaries P1 and P2, the step of the item A is switched from the decoding process of the first image to the decoding process of the second image, and the screen tables scr1 and scr2 and the color conversion table are fetched, and the item B is read. And the steps of C term are first and second
Image.

【0120】[2−1.A項のステップ](1) 2ビッ
トモードのキャラクタをデコードするためのプログラム
が、RAM13からDSP50にロードされる。
[2-1. Step of Item A] (1) A program for decoding a character in the 2-bit mode is loaded from the RAM 13 to the DSP 50.

【0121】(2) RAM13の第1のバッファエリア
にDMA転送された画像データのうちの第1の画像デー
タの2ビットモードのキャラクタのデータが、DMAC
12によりDSP50にDMA転送され、色番号のデー
タにデコードされる。
(2) The 2-bit mode character data of the first image data among the image data DMA-transferred to the first buffer area of the RAM 13 is DMAC.
The data is DMA-transferred to the DSP 50 by 12 and decoded into color number data.

【0122】(3) このデコードされた色番号が、DM
AC12によりRAM13の第2のバッファエリアにD
MA転送される。
(3) This decoded color number is DM
D in the second buffer area of RAM13 by AC12
MA is transferred.

【0123】(4) このRAM13の第2のバッファエ
リアにDMA転送された第1の画像の2ビットモードの
すべての色番号のデータが、CRTディスプレイ8の垂
直ブランキング期間に、DMAC12によりPPU14
を通じてビデオRAM15にDMA転送され、そのメモ
リ領域M1に書き込まれる。
(4) The data of all color numbers in the 2-bit mode of the first image DMA-transferred to the second buffer area of the RAM 13 are transferred to the PPU 14 by the DMAC 12 during the vertical blanking period of the CRT display 8.
Is transferred to the video RAM 15 via DMA and written in the memory area M1.

【0124】(5) (4) までの処理を終了すると、1ビ
ットモードのキャラクタをデコードするためのプログラ
ムが、RAM13からDSP50にロードされる。
(5) When the processes up to (4) are completed, the program for decoding the 1-bit mode character is loaded from the RAM 13 to the DSP 50.

【0125】(6) RAM13の第1のバッファエリア
にDMA転送された第1の画像の画像データの1ビット
モードのキャラクタのデータが、DMAC12によりD
SP50にDMA転送され、色番号のデータにデコード
される。
(6) The 1-bit mode character data of the image data of the first image DMA-transferred to the first buffer area of the RAM 13 is transferred by the DMAC 12 to D
The data is DMA-transferred to SP50 and decoded into color number data.

【0126】(7) このデコードされた色番号が、DM
AC12によりRAM13の第2のバッファエリアにD
MA転送される。
(7) This decoded color number is DM
D in the second buffer area of RAM13 by AC12
MA is transferred.

【0127】(8) このRAM13の第2のバッファエ
リアにDMA転送された第1の画像の1ビットモードの
すべての色番号のデータが、CRTディスプレイ8の垂
直ブランキング期間に、DMAC12によりPPU14
を通じてビデオRAM15にDMA転送され、そのメモ
リ領域M1に書き込まれる。
(8) The data of all color numbers in the 1-bit mode of the first image DMA-transferred to the second buffer area of the RAM 13 are transferred to the PPU 14 by the DMAC 12 during the vertical blanking period of the CRT display 8.
Is transferred to the video RAM 15 via DMA and written in the memory area M1.

【0128】(9) 次に、第2の画像について、(1) 〜
(8)の処理を行ない、この第2の画像の2ビットモード
のキャラクタ及び1ビットモードのキャラクタの全ての
データが、ビデオRAM15のメモリ領域M2に書き込
まれる。
(9) Next, regarding the second image, (1) to
By performing the processing of (8), all the data of the 2-bit mode character and the 1-bit mode character of the second image are written in the memory area M2 of the video RAM 15.

【0129】[2−2.B項及びC項のステップ](10)
前記(9)までの処理を終了すると、CPU11は、R
AM13の第1のバッファエリアのスクリーンテーブル
scr1,scr2及び色変換テーブルCOL(j)の
データを、DSP50を通じることなく、DMAC12
によりPPU14を通じてビデオRAM15にDMA転
送する。この場合、これらスクリーンテーブルscr及
び色変換テーブルのデータは、ビデオRAM15のメモ
リ領域M4に書き込まれる。
[2-2. Steps in terms B and C] (10)
When the processing up to (9) above is completed, the CPU 11 causes the R
The data of the screen tables scr1 and scr2 and the color conversion table COL (j) in the first buffer area of the AM13 are sent to the DMAC12 without passing through the DSP50.
Then, DMA transfer is performed to the video RAM 15 through the PPU 14. In this case, the data of the screen table scr and the color conversion table are written in the memory area M4 of the video RAM 15.

【0130】(11) 以上の転送処理が行われると、PP
U14は、第1及び第2の動画の画像データについて前
述したB項、C項のステップを実行する。すなわち、ス
クリーンテーブルscr1及び色変換テーブルCOL
(j) を参照することにより、第1の動画のメモリ領域M
1の色番号のデータが、実際の色の画素データにデコー
ドされるとともに、各キャラクタの画素データが、元の
キャラクタ位置に対応したアドレスに書き込まれる。
(11) When the above transfer processing is performed, PP
U14 executes the steps of the B and C items described above for the image data of the first and second moving images. That is, the screen table scr1 and the color conversion table COL
By referring to (j), the memory area M of the first moving image
The data of the color number 1 is decoded into the pixel data of the actual color, and the pixel data of each character is written in the address corresponding to the original character position.

【0131】また、スクリーンテーブルscr2及び色
変換テーブルCOL(j) を参照することにより、第1の
動画のメモリ領域M2の色番号のデータが、実際の色の
画素データにデコードされるとともに、各キャラクタの
画素データが、元のキャラクタ位置に対応したアドレス
に書き込まれる。
Also, by referring to the screen table scr2 and the color conversion table COL (j), the data of the color number of the memory area M2 of the first moving image is decoded into the pixel data of the actual color, and The character pixel data is written to the address corresponding to the original character position.

【0132】(12) 以上により、第1及び第2の動画の
それぞれ1フレーム分の画素データがビデオRAM15
のメモリ領域M1及びM2のそれぞれ一方の画面エリア
に書き込まれると、これらの画素データの書き込まれた
エリアがアクティブとされ、第1及び第2の画像の合成
された映像が、画面がディスプレイ8に表示される。
(12) As described above, the pixel data for one frame of each of the first and second moving images is stored in the video RAM 15
When the memory areas M1 and M2 are written in one of the screen areas, the area in which these pixel data are written is activated, and the screen is displayed on the display 8 as a composite image of the first and second images. Is displayed.

【0133】(13) 処理は(1) に戻り、以後、1フレー
ム分の5セクタ単位で(1) 〜(13)の処理が繰り返され
る。
(13) The process returns to (1), and thereafter, the processes of (1) to (13) are repeated in units of 5 sectors for one frame.

【0134】以上のようにして、ディスプレイ8には、
第1及び第2の動画の合成画像が表示され、奥行き感が
出て、立体感のある動画を得ることができる。しかも、
この例の場合、第1及び第2の動画は、それぞれ15フ
レーム/秒の割合で行われ、1枚の動画と等しい駒数が
確保できるものである。
As described above, on the display 8,
A composite image of the first and second moving images is displayed, giving a sense of depth, and a moving image with a stereoscopic effect can be obtained. Moreover,
In the case of this example, each of the first and second moving images is performed at a rate of 15 frames / second, and the number of frames equal to one moving image can be secured.

【0135】なお、静止画や常駐キャラクタのデータ、
その他のデータのセクタも、その識別用情報IDに基づ
いて動画とは異なるプロセスでビデオRAM13、その
他のメモリに書き込まれる。
Data of still images and resident characters,
Sectors of other data are also written in the video RAM 13 and other memories by a process different from that of the moving image based on the identification information ID.

【0136】すなわち、その他データについては、その
セクタの識別用情報IDがCPU11によりチェックさ
れ、その識別用情報IDから、その他データの内容及び
連続するセクタ数が検知され、そのセクタの始めの位置
でスタートポインタが立ち、その他データは適切なメモ
リ領域あるいは別のメモリに書き込まれて、その他デー
タの内容に応じた処理がなされる。そして、その他デー
タのセクタが終了すると、エンドポインタPEが立ち、
その他データの処理が終了する。その後のセクタが動画
のセクタであれば、動画の画像データのデコード処理プ
ロセスが再開される。したがって、動画が前回の画面か
ら続くことになる。この場合、5セクタ=1/15秒で
あり、その他データの挿入区間は、僅かの期間であるの
で、視覚的には動画はほとんど連続して見える。
That is, for other data, the identification information ID of the sector is checked by the CPU 11, the content of the other data and the number of consecutive sectors are detected from the identification information ID, and at the beginning position of the sector. The start pointer is set, the other data is written in an appropriate memory area or another memory, and processing is performed according to the content of the other data. Then, when the sector of the other data ends, the end pointer PE stands,
Processing of other data 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, 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.

【0137】以上説明したように、図の例によれば、す
べてのデータの流れをCPU11が管理することによ
り、CD−ROM5の画像データの読み出しと、CPU
11の処理との非同期をCPU11が吸収しているの
で、CD−ROM5からその画像データを連続して読み
出すことができる。しかも、そのための構成は図1から
も明らかなように簡単である。
As described above, according to the example shown in the figure, the CPU 11 manages the flow of all data to read the image data from the CD-ROM 5 and
Since the CPU 11 absorbs the asynchronous processing with the processing of 11, the image data can be continuously read from the CD-ROM 5. Moreover, the structure therefor is simple as is apparent from FIG.

【0138】また、データ圧縮されている動画の画像デ
ータに対しては、DSP50が第1次のデコードを行う
とともに、PPU14が第2次のデコードを行うように
しているので、DSP50として汎用のものを使用する
ことができ、コストを抑えることができる。
Further, since the DSP 50 performs the first-order decoding and the PPU 14 performs the second-order decoding for the image data of the moving picture which is data-compressed, it is a general-purpose DSP 50. Can be used, and the cost can be suppressed.

【0139】さらに、データ圧縮されている画像データ
のデコードを、DSP50及びPPU14により手分け
して行っているので、十分な速度で画像データをデコー
ドすることができ、十分に動きのある動画を表示するこ
とができる。
Further, since the compressed image data is decoded by the DSP 50 and the PPU 14 separately, it is possible to decode the image data at a sufficient speed and display a moving image with sufficient movement. be able to.

【0140】また、RAM13と、DSP50と、PP
U14との間のデータ転送は、DMAC12が行うの
で、CPU11の負荷にならない。さらに、DSP50
がデコードを行っている間は、CPU11は空いている
ので、前述したようにその他データの処理の指示を行う
ことができる。その他データとしては、音声データを挿
入することもでき、その場合には、その音声データのセ
クタのユーザデータは、APU71のRAMに転送され
るものである。
RAM 13, DSP 50, PP
Since the DMAC 12 performs the data transfer with the U 14, it does not place a load on the CPU 11. Furthermore, DSP50
Since the CPU 11 is idle while the decoding is being performed, it is possible to instruct processing of other data as described above. As the other data, voice data can be inserted, and in that case, the user data of the sector of the voice data is transferred to the RAM of the APU 71.

【0141】なお、記録媒体としては、CD−ROMだ
けでなく、テープなどを使用することもできる。
As the recording medium, not only a CD-ROM but also a tape or the like can be used.

【0142】[0142]

【発明の効果】以上説明したように、この発明によれ
ば、記録媒体の1フレーム分の記録エリアに、2枚の動
画のそれぞれ1フレームを分離可能な状態で記録してお
き、デコード時、この2枚の動画の画像データの1フレ
ーム分をそれぞれ1画面分のメモリ容量の別個のメモリ
エリアに転送することができる。したがって、これらの
メモリエリアから2枚の動画を同時に得ることができ、
この2枚の動画を合成することにより、より立体感のあ
る画像を得ることができる。
As described above, according to the present invention, one frame of each of two moving images is recorded in a recording area for one frame of the recording medium in a separable state, and at the time of decoding, One frame of image data of these two moving images can be transferred to separate memory areas each having a memory capacity of one screen. Therefore, you can get two videos from these memory areas at the same time,
By combining these two moving images, an image with a more stereoscopic effect can be obtained.

【0143】しかも、この発明の場合、1枚の動画を記
録する領域に2枚の動画を記録するようにするので、動
画の駒数は減らず、スムースな動きで、かつ、立体感の
あるアニメーションを表示することができるものであ
る。
Moreover, in the case of the present invention, since two moving images are recorded in the area for recording one moving image, the number of frames in the moving image does not decrease, and the motion is smooth and gives a three-dimensional effect. Animations can be displayed.

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

【図1】この発明によるデコード装置の一実施例のブロ
ック図である。
FIG. 1 is a block diagram of an embodiment of a decoding device according to the present invention.

【図2】メモリの分割記憶エリアを説明するための図で
ある。
FIG. 2 is a diagram for explaining a divided storage area of a memory.

【図3】2枚の動画を記録したCO−ROMからデータ
をピックアップしてデコードするときの説明のための図
である。
FIG. 3 is a diagram for explaining a case of picking up and decoding data from a CO-ROM that records two moving images.

【図4】この発明による記録媒体に記録する画像データ
の圧縮方法の一実施例を実施するエンコード装置の一例
の一部のブロック図である。
FIG. 4 is a block diagram of a part of an example of an encoding apparatus for implementing an embodiment of a method of compressing image data to be recorded on a recording medium according to the present invention.

【図5】この発明による記録媒体に記録する画像データ
の圧縮方法の一実施例を実施するエンコード装置の一例
の残部のブロック図である。
FIG. 5 is a block diagram of the remaining part of an example of an encoding device for carrying out an embodiment of a method of compressing image data to be recorded on a recording medium according to the present invention.

【図6】図4及び図5の例の画像データ圧縮方法の一実
施例の画像データの分割方法の一例を説明するための図
である。
FIG. 6 is a diagram for explaining an example of an image data dividing method according to an embodiment of the image data compression method of FIGS. 4 and 5;

【図7】図4及び図5の例の画像データ圧縮方法の一実
施例に用いるテーブルを説明するための図である。
FIG. 7 is a diagram for explaining a table used in an embodiment of the image data compression method of the examples of FIGS. 4 and 5;

【図8】図4及び図5の例の画像データ圧縮方法の一実
施例による圧縮データの一例を説明するための図であ
る。
FIG. 8 is a diagram for explaining an example of compressed data according to an embodiment of the image data compression method of the examples of FIGS. 4 and 5;

【図9】図4及び図5の例の画像データ圧縮方法の一実
施例の説明のための図である。
FIG. 9 is a diagram for explaining an embodiment of the image data compression method of the examples of FIGS. 4 and 5;

【図10】図4及び図5の例の画像データ圧縮方法の一
実施例に用いるテーブルの一例を説明するための図であ
る。
FIG. 10 is a diagram for explaining an example of a table used in an embodiment of the image data compression method of the examples of FIGS. 4 and 5.

【図11】この発明による記録媒体への記録圧縮画像デ
ータの一例を説明するための図である。
FIG. 11 is a diagram for explaining an example of recording compressed image data on a recording medium according to the present invention.

【図12】この発明による記録媒体に記録するデータの
フォーマットの一例を示す図である。
FIG. 12 is a diagram showing an example of a format of data recorded on a recording medium according to the present invention.

【図13】CDのセクタフォーマット及びこの発明によ
る記録媒体に記録するセクタ毎の識別用情報IDを説明
するための図である。
FIG. 13 is a diagram for explaining a sector format of a CD and identification information ID for each sector recorded on a recording medium according to the present invention.

【図14】この発明による記録媒体の一例からの再生デ
ータの一例の説明のための図である。
FIG. 14 is a diagram for explaining an example of reproduction data from an example of a recording medium according to the present invention.

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

1 ゲーム機本体 5 CD−ROM 6 プログラムカートリッジ 8 CRTディスプレイ 11 CPU 12 DMAコントローラ 13 RAM 14 PPU(ピクチャー・プロセシング・ユニット) 15 ビデオRAM 22 キャラクタ分割手段 24 第1段階のベクトル量子化手段 25 パレット分割手段 27 第2段階のベクトル量子化手段 38 記録処理手段 39 その他のデータの入力端子 41 CD−ROMプレーヤ 50 汎用のDSP 1 Game console body 5 CD-ROM 6 program cartridges 8 CRT display 11 CPU 12 DMA controller 13 RAM 14 PPU (Picture Processing Unit) 15 Video RAM 22 Character dividing means 24 First-stage vector quantization means 25 Pallet dividing means 27 Second Stage Vector Quantization Means 38 recording processing means 39 Other data input terminals 41 CD-ROM player 50 general purpose DSP

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 1フレーム分として記録される画像デー
タとして、異なる第1及び第2の画像データのそれぞれ
の1フレームが圧縮されたものが、付加的情報により前
記第1及び第2の画像データが分離可能な状態で記録さ
れた記録媒体を用意し、 この記録媒体から前記圧縮された画像データを読み出し
て第1のメモリにDMA転送し、 この第1のメモリからの前記第1の画像データと第2の
画像データとを、前記付加的情報を用いて、2画面分の
メモリ領域を有する第2のメモリのそれぞれ異なる画面
用のメモリ領域にDMA転送し、 この第2のメモリの第1及び第2の画像データを、それ
ぞれデコード処理を行なって、それぞれ第1及び第2の
画像データの圧縮前の1フレームのデータを得るように
した画像データのデコード方法。
1. The image data recorded as one frame is obtained by compressing each one frame of different first and second image data, and the first and second image data is added by additional information. A recording medium in which is separated is prepared, the compressed image data is read from the recording medium, and DMA-transferred to a first memory, and the first image data from the first memory is read. And the second image data are DMA-transferred to the memory areas for different screens of the second memory having the memory areas for two screens by using the above-mentioned additional information, And the second image data are subjected to a decoding process to obtain the data of one frame before compression of the first and second image data, respectively.
【請求項2】 1フレーム分として記録される画像デー
タとして、異なる第1及び第2の画像データのそれぞれ
の1フレームが圧縮されたものが、付加的情報により前
記第1及び第2の画像データが分離可能な状態で記録さ
れた記録媒体から前記データがDMA転送される第1の
メモリと、 この第1のメモリからの前記第1の画像データと第2の
画像データとが、前記付加的情報が用いられて、それぞ
れ異なる画面用のメモリ領域にDMA転送される2画面
分のメモリ領域を有する第2のメモリと、 この第2のメモリの第1及び第2の画像データを、それ
ぞれデコード処理を行なって、それぞれ第1及び第2の
画像データの圧縮前の1フレームのデータを得る回路
と、 前記DMA転送を行なうためのDMAコントローラと、 表示用ディスプレイとを備え、 前記デコードの結果として得られた第1及び第2の画像
を合成して前記ディスプレイに表示するようにした画像
再生装置。
2. The image data recorded as one frame is obtained by compressing each one frame of different first and second image data, and the first and second image data is added by additional information. A first memory to which the data is DMA transferred from a recording medium recorded in a separable state, and the first image data and the second image data from the first memory are the additional memory. Information is used to decode a second memory having two screen memory areas that are DMA-transferred to different screen memory areas, and the first and second image data in the second memory, respectively. A circuit for performing processing to obtain data of one frame before compression of the first and second image data, a DMA controller for performing the DMA transfer, and a display display. And a b, an image reproducing device by combining the first and second image obtained as a result of the decoding to be displayed on the display.
【請求項3】 前記記録媒体はCD−ROMであって、
第1及び第2の画像データとして、異なる内容の動画の
画像データが記録されており、 前記ディスプレイには、異なる動画を重ね合わせた状態
の画像を表示するようにした請求項2記載の画像再生装
置。
3. The recording medium is a CD-ROM,
The image reproduction according to claim 2, wherein image data of moving images having different contents are recorded as the first and second image data, and the images in which the different moving images are superimposed are displayed on the display. apparatus.
JP03193477A 1991-07-08 1991-07-08 Image data decoding method and image reproducing apparatus thereof Expired - Lifetime JP3084093B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP03193477A JP3084093B2 (en) 1991-07-08 1991-07-08 Image data decoding method and image reproducing apparatus thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP03193477A JP3084093B2 (en) 1991-07-08 1991-07-08 Image data decoding method and image reproducing apparatus thereof

Publications (2)

Publication Number Publication Date
JPH0514859A true JPH0514859A (en) 1993-01-22
JP3084093B2 JP3084093B2 (en) 2000-09-04

Family

ID=16308675

Family Applications (1)

Application Number Title Priority Date Filing Date
JP03193477A Expired - Lifetime JP3084093B2 (en) 1991-07-08 1991-07-08 Image data decoding method and image reproducing apparatus thereof

Country Status (1)

Country Link
JP (1) JP3084093B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09327043A (en) * 1996-06-04 1997-12-16 Sanyo Electric Co Ltd High-density optical disk record, and recorder tehrefor
US5845021A (en) * 1994-12-28 1998-12-01 Kabushiki Kaisha Toshiba Image information encoding/decoding system
US6009202A (en) * 1994-12-28 1999-12-28 Kabushiki Kaisha Toshiba Image information encoding/decoding system

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5845021A (en) * 1994-12-28 1998-12-01 Kabushiki Kaisha Toshiba Image information encoding/decoding system
US5995667A (en) * 1994-12-28 1999-11-30 Kabushiki Kaisha Toshiba Image information encoding/decoding system
US6009202A (en) * 1994-12-28 1999-12-28 Kabushiki Kaisha Toshiba Image information encoding/decoding system
US6011867A (en) * 1994-12-28 2000-01-04 Kabushiki Kaisha Toshiba Image information encoding/decoding system
US6016363A (en) * 1994-12-28 2000-01-18 Kabushiki Kaisha Toshiba Image information encoding/decoding system
US6016364A (en) * 1994-12-28 2000-01-18 Kabushiki Kaisha Toshiba Image information encoding/decoding system
US6018594A (en) * 1994-12-28 2000-01-25 Kabushiki Kaisha Toshiba Image information encoding/decoding system
US6021226A (en) * 1994-12-28 2000-02-01 Kabushiki Kaisha Toshiba Image information encoding/decoding system
US6044175A (en) * 1994-12-28 2000-03-28 Kabushiki Kaisha Toshiba Image information encoding/decoding system
US6047086A (en) * 1994-12-28 2000-04-04 Kabushiki Kaisha Toshiba Image information encoding/decoding system
US6081208A (en) * 1994-12-28 2000-06-27 Kabushiki Kaisha Toshiba Image information encoding/decoding system
JPH09327043A (en) * 1996-06-04 1997-12-16 Sanyo Electric Co Ltd High-density optical disk record, and recorder tehrefor

Also Published As

Publication number Publication date
JP3084093B2 (en) 2000-09-04

Similar Documents

Publication Publication Date Title
US5539716A (en) Optical recording disc with compressed audio PCM data interleaved with video data
TW298698B (en)
JP2950346B2 (en) Image data decoding method and its decoder circuit
JP3286329B2 (en) Image data transmission method, image reproducing apparatus, and image reproducing method
JP3084093B2 (en) Image data decoding method and image reproducing apparatus thereof
JP3358067B2 (en) Method of manufacturing recording medium recording image data, image reproducing method and image reproducing apparatus
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
JP3045254B2 (en) Data decoding method and decoder circuit thereof
JP3735097B2 (en) Movie playback apparatus and movie playback method
JP3276651B2 (en) Image data recording method and reproduction method thereof
JP3205357B2 (en) Image data transmission method and recording medium
JP3202283B2 (en) Image data reproducing method and reproducing circuit thereof
JP3444869B2 (en) Moving image data recording method and reproducing method thereof
JPH0528652A (en) Cd-rom and reproduction method and reproduction device of cd-rom
JP3344730B2 (en) Image display method and display control device
JPH04276983A (en) Recording medium and picture data compression method
JPH04294470A (en) Recording medium for image data, forming method for the recording medium, decoding method for the image data, and decoder circuit
JPH0520797A (en) Cd-rom and its recording method
JPH0528501A (en) Reproducing device for cd-rom and cd-i
JPH04369686A (en) Reproduction device for image data
JPH04273788A (en) Recording media and image data compressing
CN100515066C (en) Data processing system, reproduction apparatus, computer, reproduction method,
JPH04366468A (en) Image data recording medium and recording method therefor

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

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: 20080630

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090630

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100630

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100630

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110630

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110630

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120630

Year of fee payment: 12

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120630

Year of fee payment: 12