[go: up one dir, main page]

JP2003348592A - Image data storage device, encoding device, decoding device, and compression and expansion system - Google Patents

Image data storage device, encoding device, decoding device, and compression and expansion system

Info

Publication number
JP2003348592A
JP2003348592A JP2002149154A JP2002149154A JP2003348592A JP 2003348592 A JP2003348592 A JP 2003348592A JP 2002149154 A JP2002149154 A JP 2002149154A JP 2002149154 A JP2002149154 A JP 2002149154A JP 2003348592 A JP2003348592 A JP 2003348592A
Authority
JP
Japan
Prior art keywords
image data
frame
compression
storage device
stored
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
JP2002149154A
Other languages
Japanese (ja)
Other versions
JP4209631B2 (en
Inventor
Masashi Hoshino
将史 星野
Yoichi Nishida
要一 西田
Shinno Hamada
真納 濱田
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2002149154A priority Critical patent/JP4209631B2/en
Publication of JP2003348592A publication Critical patent/JP2003348592A/en
Application granted granted Critical
Publication of JP4209631B2 publication Critical patent/JP4209631B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

(57)【要約】 【課題】 処理量の増加の抑制を図りながらも、記憶容
量の削減を図ることができる画像データ記憶装置を提供
する。 【解決手段】 フレームメモリM1には圧縮されない形
態で復号化対象フレーム及び参照フレームが記憶され、
フレームメモリM2には圧縮回路A1で可逆圧縮された
参照フレームが記憶され、フレームメモリM3、M4に
は圧縮回路A2、A3で非可逆圧縮された参照フレーム
が記憶される。圧縮回路A3の圧縮率は圧縮回路A2の
圧縮率より大きい。使用頻度が高い参照フレームは圧縮
せずに記憶し、使用頻度が低くなるに従って、より大き
な圧縮率で圧縮して記憶する。参照フレームの使用頻度
を考慮した適切な記憶形態で記憶するため、処理量の増
加の抑制を図りながらも、記憶容量の削減を図ることが
できる。
(57) [Problem] To provide an image data storage device capable of reducing a storage capacity while suppressing an increase in a processing amount. SOLUTION: A frame to be decoded and a reference frame are stored in an uncompressed form in a frame memory M1,
The reference frame compressed losslessly by the compression circuit A1 is stored in the frame memory M2, and the reference frame compressed lossy by the compression circuits A2 and A3 is stored in the frame memories M3 and M4. The compression ratio of the compression circuit A3 is higher than the compression ratio of the compression circuit A2. A reference frame that is frequently used is stored without being compressed, and is compressed and stored at a higher compression ratio as the frequency of use is reduced. Since the reference frame is stored in an appropriate storage mode in consideration of the frequency of use, it is possible to reduce the storage capacity while suppressing an increase in the processing amount.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、画像データを圧縮
して、フレーム単位で記憶する画像データ記憶装置及び
その関連技術に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image data storage device for compressing image data and storing the compressed image data in frame units, and a related technique.

【0002】[0002]

【従来の技術】国際標準であるMPEG−4あるいは
H.263などの動画像圧縮符号化方式で、動画像デー
タを符号化する際には、フレーム内の空間的相関を利用
した圧縮の他に、フレーム間の時間的相関を利用した圧
縮を行う。
2. Description of the Related Art International standards such as MPEG-4 and H.264. When encoding moving image data using a moving image compression encoding method such as H.263, compression using temporal correlation between frames is performed in addition to compression using spatial correlation within a frame.

【0003】フレーム間の時間的相関を利用する場合、
符号化対象フレームの直前に符号化したフレームを参照
して動き補償を行い、動き補償により得た予測フレーム
と符号化対象フレームとの差分データを圧縮して符号化
する。
When utilizing the temporal correlation between frames,
The motion compensation is performed with reference to the frame coded immediately before the frame to be coded, and the difference data between the predicted frame obtained by the motion compensation and the frame to be coded is compressed and coded.

【0004】従って、上記した動画像圧縮符号化方式で
動画像データの圧縮を行う動画像符号化装置、及び、上
記した動画像圧縮符号化方式で圧縮された動画像データ
の復号を行う動画像復号化装置、においては、参照する
フレームを記憶するためのフレームメモリが必要とな
る。
Therefore, a moving picture encoding apparatus for compressing moving picture data by the above-mentioned moving picture compression coding method, and a moving picture for decoding moving picture data compressed by the above moving picture compression coding method. In the decoding device, a frame memory for storing a frame to be referred to is required.

【0005】また、このような、動画像符号化装置、及
び、動画像復号化装置、において、Bピクチャ(Bid
irectionally predictive−c
oded picture)と呼ばれる、前方フレーム
と後方フレームとの双方向から予測して動き補償を行う
フレームを用いる場合には、入力される画像データと出
力する画像データとでフレームの順番が異なる。このた
め、さらに並べ替えのためのフレームメモリが必要とな
る。
In such a moving picture coding apparatus and a moving picture decoding apparatus, a B picture (Bid
directionally predictive-c
In the case of using a frame referred to as “coded picture” that performs motion compensation by predicting from both directions of a front frame and a rear frame, the order of frames differs between input image data and output image data. Therefore, a frame memory for rearrangement is required.

【0006】一般に、画像のデータ量は大きく、このた
め、フレームメモリの容量も大きい。従って、フレーム
メモリの容量を削減できる様々な技術が提案されてい
る。
In general, the amount of image data is large, and therefore the capacity of the frame memory is also large. Therefore, various technologies that can reduce the capacity of the frame memory have been proposed.

【0007】フレームメモリの容量を削減できる従来の
復号化装置としては、例えば、特開平9−247673
号公報に開示された動画像復号化装置、又は、特開平9
−261635号公報に開示された動画像復号化装置、
などがある。
A conventional decoding device capable of reducing the capacity of a frame memory is disclosed, for example, in Japanese Patent Application Laid-Open No. 9-247673.
Moving image decoding apparatus disclosed in
-261635, a moving picture decoding apparatus disclosed in
and so on.

【0008】まず、特開平9−247673号公報に開
示された動画像復号化装置について、図面を用いて説明
する。
First, a moving picture decoding apparatus disclosed in Japanese Patent Application Laid-Open No. 9-247773 will be described with reference to the drawings.

【0009】図16は、従来の動画像復号化装置のブロ
ック図である。図16に示すように、この従来の動画像
復号化装置は、可変長復号化回路900、逆量子化回路
910、逆直交変換回路920、加算器930、画像デ
ータ記憶部940、及び、動き補償回路950、を具備
する。
FIG. 16 is a block diagram of a conventional moving picture decoding apparatus. As shown in FIG. 16, the conventional video decoding apparatus includes a variable length decoding circuit 900, an inverse quantization circuit 910, an inverse orthogonal transform circuit 920, an adder 930, an image data storage unit 940, and a motion compensation. A circuit 950.

【0010】画像データ記憶部940は、圧縮回路94
1、フレームメモリ942、及び、伸長回路943、を
含む。
The image data storage section 940 includes a compression circuit 94
1, a frame memory 942, and a decompression circuit 943.

【0011】さて、次に、図16の従来の動画像復号化
装置における処理の流れを説明する。可変長復号化回路
900は、入力される動画像符号化データに対して可変
長復号化処理を施して、逆量子化回路910に出力す
る。
Next, the flow of processing in the conventional moving picture decoding apparatus shown in FIG. 16 will be described. The variable length decoding circuit 900 performs a variable length decoding process on the input encoded video data and outputs the result to the inverse quantization circuit 910.

【0012】逆量子化回路910は、入力された画像デ
ータに対して逆量子化処理を施して、逆直交変換回路9
20に出力する。
The inverse quantization circuit 910 performs an inverse quantization process on the input image data, and
20.

【0013】逆直交変換回路920は、入力された画像
データがフレーム間圧縮された画像データである場合
は、逆直交変換処理を施した画像データを、加算器93
0に出力する。
When the input image data is image data compressed between frames, the inverse orthogonal transform circuit 920 adds the image data subjected to the inverse orthogonal transform process to the adder 93.
Output to 0.

【0014】一方、入力された画像データがフレーム間
圧縮された画像データでない場合は、逆直交変換回路9
20は、逆直交変換処理を施した画像データを、復号し
た動画像データとして、外部及び画像データ記憶部94
0に出力する。
On the other hand, if the input image data is not image data compressed between frames, the inverse orthogonal transform circuit 9
Reference numeral 20 denotes an external and image data storage unit 94 which converts the image data subjected to the inverse orthogonal transform processing into decoded moving image data.
Output to 0.

【0015】さて、加算器930は、動き補償回路95
0から入力される動き補償済みの画像データと、逆直交
変換回路920から入力される画像データである差分デ
ータと、を加算して、その加算結果を、復号化した動画
像データとして、外部及び画像データ記憶部940に出
力する。
The adder 930 includes a motion compensating circuit 95
0 and motion-compensated image data input from 0 and difference data that is image data input from the inverse orthogonal transform circuit 920, and the addition result is output as decoded moving image data to the external and Output to the image data storage unit 940.

【0016】画像データ記憶部940は、逆直交変換回
路920から入力された画像データ、及び、加算器93
0から入力された画像データ、を次のフレームの復号化
処理における参照フレームの画像データとして記憶す
る。この点は、後で詳しく説明する。
The image data storage section 940 stores the image data input from the inverse orthogonal transform circuit 920 and the adder 93.
Image data input from 0 is stored as image data of a reference frame in the decoding process of the next frame. This will be described in detail later.

【0017】動き補償回路950は、可変長復号化回路
900から復号して入力される動きベクトルと、画像デ
ータ記憶部940から入力される参照フレームの画像デ
ータと、を受け取り、動き補償を行い、加算器930に
出力する。
The motion compensation circuit 950 receives the motion vector decoded and input from the variable length decoding circuit 900 and the image data of the reference frame input from the image data storage unit 940 and performs motion compensation. Output to the adder 930.

【0018】さて、次に、画像データ記憶部940の詳
細を説明する。画像データ記憶部940では、圧縮回路
941は、フレームメモリ942の記憶容量を削減する
ために、加算器930から入力される参照フレームの画
像データ、及び、逆直交変換回路920から入力さる参
照フレームの画像データ、を圧縮する。
Next, the details of the image data storage unit 940 will be described. In the image data storage unit 940, the compression circuit 941 converts the reference frame image data input from the adder 930 and the reference frame input from the inverse orthogonal transform circuit 920 to reduce the storage capacity of the frame memory 942. Compress image data.

【0019】フレームメモリ942は、圧縮された参照
フレームの画像データを記憶する。伸長回路943は、
圧縮手段941により圧縮されて、フレームメモリ94
2に記憶された参照フレームの画像データを伸長して、
動き補償回路950へ出力する。
The frame memory 942 stores the compressed image data of the reference frame. The expansion circuit 943 is
The frame memory 94 is compressed by the compression means 941.
2, the image data of the reference frame stored in
Output to the motion compensation circuit 950.

【0020】さて、次に、特開平9−261635号公
報に開示された従来の動画像復号化装置について、簡単
に説明する。
Next, a conventional moving picture decoding apparatus disclosed in Japanese Patent Application Laid-Open No. 9-261635 will be briefly described.

【0021】この従来の動画像復号化装置は、復号した
画像を圧縮して、フレームメモリに蓄積するデータ圧縮
回路と、データ圧縮回路による圧縮データを伸長するデ
ータ伸長回路と、を具備する。
This conventional moving picture decoding apparatus includes a data compression circuit for compressing a decoded image and storing the compressed image in a frame memory, and a data decompression circuit for decompressing the data compressed by the data compression circuit.

【0022】このようにして、参照画像の記憶と復号画
像の並べ替えのために必要なフレームメモリの容量を削
減できるようにしている。
In this way, the capacity of the frame memory required for storing the reference image and rearranging the decoded image can be reduced.

【0023】[0023]

【発明が解決しようとする課題】さて、現在、低ビット
レート環境下においても高画質の動画像通信を可能とす
ることを目的としたH.26Lと呼ばれる動画像圧縮符
号化方式の国際標準規格の策定が行われている。
Now, the H.264 standard which aims to enable high-quality moving image communication even in a low bit rate environment at present. An international standard for a moving image compression encoding system called 26L is being formulated.

【0024】このH.26Lでは、前方向予測に用いる
参照フレームとして、直前のフレームだけでなく、複数
のフレームの中から1枚のフレームを選択して使用可能
とすることが検討されている。
This H. In the case of H.26L, it has been studied that not only the immediately preceding frame but also one frame can be selected from a plurality of frames and used as a reference frame used for forward prediction.

【0025】このように、参照フレームとして複数のフ
レームを使用する動画像符号化装置又は動画像復号化装
置においては、画像データ記憶部940のフレームメモ
リ942が記憶する参照フレームのデータ量がさらに大
きくなる。
As described above, in the moving picture coding apparatus or the moving picture decoding apparatus using a plurality of frames as reference frames, the data amount of the reference frame stored in the frame memory 942 of the image data storage unit 940 is further increased. Become.

【0026】このため、参照フレームとして1つのフレ
ームを使用する場合よりも、画像データ記憶部940の
フレームメモリ942の記憶容量の削減の必要性がより
大きくなる。
For this reason, the necessity of reducing the storage capacity of the frame memory 942 of the image data storage unit 940 becomes greater than when one frame is used as a reference frame.

【0027】つまり、画像データ記憶部のフレームメモ
リの記憶容量を削減することを目的とした従来の動画像
復号化装置よりも、より画像データ記憶部940のフレ
ームメモリ942の記憶容量を削減できる技術が求めら
れる。
That is, a technique capable of further reducing the storage capacity of the frame memory 942 of the image data storage unit 940 as compared with the conventional moving picture decoding apparatus aimed at reducing the storage capacity of the frame memory of the image data storage unit. Is required.

【0028】また、参照フレームとして複数のフレーム
を使用できる場合において、従来の動画像復号化装置の
画像データ記憶部940を適用して、複数の参照フレー
ムを一様に圧縮したのでは、圧縮及び伸長のための処理
量が増加する。
Further, when a plurality of frames can be used as reference frames, if the plurality of reference frames are uniformly compressed by applying the image data storage unit 940 of the conventional moving picture decoding apparatus, the compression and the The processing amount for decompression increases.

【0029】そこで、本発明は、処理量の増加の抑制を
図りながらも、記憶容量の削減を図ることができる画像
データ記憶装置及びその関連技術を提供することを目的
とする。
SUMMARY OF THE INVENTION It is an object of the present invention to provide an image data storage device capable of reducing the storage capacity while suppressing an increase in the processing amount, and its related art.

【0030】また、本発明は、ユーザの利便性の向上を
図りながらも、記憶容量の削減を図ることができる画像
データ記憶装置を提供することを目的とする。
Another object of the present invention is to provide an image data storage device capable of reducing storage capacity while improving user convenience.

【0031】[0031]

【課題を解決するための手段】本発明に係る画像データ
記憶装置では、画像データを圧縮する圧縮手段と、複数
のフレームの圧縮されていない画像データをフレーム単
位で記憶する第1の記憶手段と、圧縮手段に対応して設
けられ、対応する圧縮手段により圧縮された画像データ
をフレーム単位で記憶する第2の記憶手段と、圧縮手段
により圧縮されて、第2の記憶手段に記憶された画像デ
ータを伸長する画像データ伸長手段と、を備える。
In an image data storage device according to the present invention, a compression means for compressing image data and a first storage means for storing uncompressed image data of a plurality of frames in frame units. A second storage unit provided corresponding to the compression unit and storing the image data compressed by the corresponding compression unit in frame units, and an image compressed by the compression unit and stored in the second storage unit Image data expanding means for expanding data.

【0032】この構成によれば、画像処理の際に使用頻
度が高いフレームの画像データは、圧縮せずに第1の記
憶手段に記憶させ、使用頻度が低いフレームの画像デー
タは、圧縮して第2の記憶手段に記憶させることができ
る。
According to this structure, the image data of the frame frequently used in the image processing is stored in the first storage means without compression, and the image data of the frame used infrequently is compressed. It can be stored in the second storage means.

【0033】このため、記憶している画像データを伸長
するための処理量の増加を抑制でき、また、記憶する画
像データを圧縮するための処理量の増加を抑制できる。
Therefore, an increase in the amount of processing for expanding the stored image data can be suppressed, and an increase in the amount of processing for compressing the stored image data can be suppressed.

【0034】また、使用頻度が低いフレームの画像デー
タは、圧縮して第2の記憶手段に記憶させることで、記
憶容量の削減を図ることができる。
Further, by compressing the image data of the frame which is not frequently used and storing the compressed image data in the second storage means, the storage capacity can be reduced.

【0035】以上のように、複数のフレームの画像デー
タを記憶する画像データ記憶装置において、各フレーム
に対して、使用頻度を考慮した適切な記憶形態を選択で
きる。その他、画像データの使用目的に応じて、画像デ
ータの画質、記憶枚数、等を考慮した適切な記憶形態を
選択できる。
As described above, in the image data storage device that stores the image data of a plurality of frames, it is possible to select an appropriate storage mode in consideration of the frequency of use for each frame. In addition, an appropriate storage mode can be selected in consideration of the image quality of the image data, the number of stored images, and the like, according to the purpose of use of the image data.

【0036】その結果、処理量の増加の抑制を図りなが
らも、記憶容量の削減を図ることができる。
As a result, it is possible to reduce the storage capacity while suppressing an increase in the processing amount.

【0037】本発明に係る画像データ記憶装置では、画
像データを圧縮する複数の圧縮手段と、単数又は複数の
フレームの圧縮されていない画像データをフレーム単位
で記憶する第1の記憶手段と、複数の圧縮手段に対応し
て設けられ、各々が、対応する圧縮手段により圧縮され
た画像データをフレーム単位で記憶する複数の第2の記
憶手段と、圧縮手段により圧縮されて、第2の記憶手段
に記憶された画像データを伸長する画像データ伸長手段
と、を備え、圧縮手段の各々の圧縮率は、互いに異な
る。
In the image data storage device according to the present invention, a plurality of compression means for compressing image data, a first storage means for storing uncompressed image data of one or a plurality of frames in frame units, A plurality of second storage units, each of which stores image data compressed by the corresponding compression unit on a frame basis, and a second storage unit which is compressed by the compression unit. And image data decompression means for decompressing the image data stored in the storage means. The compression rates of the compression means are different from each other.

【0038】この構成によれば、画像処理の際に使用頻
度が高いフレームの画像データは、圧縮せずに第1の記
憶手段に記憶させ、使用頻度が低いフレームの画像デー
タは、圧縮して第2の記憶手段に記憶させることができ
る。
According to this configuration, the image data of the frame frequently used in the image processing is stored in the first storage means without compression, and the image data of the frame used less frequently is compressed. It can be stored in the second storage means.

【0039】このため、記憶している画像データを伸長
するための処理量の増加を抑制でき、また、記憶する画
像データを圧縮するための処理量の増加を抑制できる。
Therefore, an increase in the amount of processing for expanding the stored image data can be suppressed, and an increase in the amount of processing for compressing the stored image data can be suppressed.

【0040】また、画像処理の際の使用頻度が低くなる
に従って、より大きい圧縮率の圧縮手段で画像データを
圧縮して、対応する第2の記憶手段に記憶させること
で、記憶容量の削減を一層効果的に図ることができる。
Further, as the frequency of use in image processing decreases, the image data is compressed by the compression means having a higher compression ratio and stored in the corresponding second storage means, thereby reducing the storage capacity. It can be achieved more effectively.

【0041】以上のように、複数のフレームの画像デー
タを記憶する画像データ記憶装置において、各フレーム
に対して、使用頻度を考慮した一層適切な記憶形態を選
択できる。その他、画像データの使用目的に応じて、画
像データの画質、記憶枚数、等を考慮した一層適切な記
憶形態を選択できる。
As described above, in the image data storage device that stores the image data of a plurality of frames, a more appropriate storage mode can be selected for each frame in consideration of the frequency of use. In addition, a more appropriate storage mode can be selected in consideration of the image quality of the image data, the number of stored images, and the like, according to the purpose of use of the image data.

【0042】その結果、処理量の増加の抑制を図りなが
らも、記憶容量の削減を一層効果的に図ることができ
る。
As a result, the storage capacity can be more effectively reduced while suppressing an increase in the processing amount.

【0043】本発明に係る画像データ記憶装置では、画
像データを圧縮する複数の圧縮手段と、単数又は複数の
フレームの圧縮されていない画像データをフレーム単位
で記憶する第1の記憶手段と、複数の圧縮手段に対応し
て設けられ、各々が、対応する圧縮手段により圧縮され
た画像データをフレーム単位で記憶する複数の第2の記
憶手段と、圧縮手段により圧縮されて、第2の記憶手段
に記憶された画像データを伸長する画像データ伸長手段
と、を備え、圧縮手段の各々の圧縮方式は、互いに異な
る。
In the image data storage device according to the present invention, a plurality of compression means for compressing image data, a first storage means for storing uncompressed image data of one or more frames in frame units, A plurality of second storage units, each of which stores image data compressed by the corresponding compression unit on a frame basis, and a second storage unit which is compressed by the compression unit. And image data decompression means for decompressing the image data stored in the storage means, and the compression methods of the compression means are different from each other.

【0044】この構成によれば、ユーザは、画像データ
を、圧縮せずに記憶するのか、あるいは、圧縮して記憶
するのか、さらに、圧縮して記憶する場合は、どの圧縮
方式で圧縮して記憶するのか、をフレーム単位で任意に
選択できる。
According to this configuration, the user can select whether to store the image data without compression or to store the image data after compressing the image data. Whether to memorize can be arbitrarily selected in frame units.

【0045】その結果、ユーザの利便性の向上を図りな
がらも、記憶容量の削減を図ることができる。
As a result, the storage capacity can be reduced while improving the convenience for the user.

【0046】[0046]

【発明の実施の形態】請求項1記載の画像データ記憶装
置では、画像データを圧縮する圧縮手段と、複数のフレ
ームの圧縮されていない画像データをフレーム単位で記
憶する第1の記憶手段と、圧縮手段に対応して設けら
れ、対応する圧縮手段により圧縮された画像データをフ
レーム単位で記憶する第2の記憶手段と、圧縮手段によ
り圧縮されて、第2の記憶手段に記憶された画像データ
を伸長する画像データ伸長手段と、を備える。
According to the first aspect of the present invention, there is provided an image data storage device comprising: a compression unit for compressing image data; a first storage unit for storing uncompressed image data of a plurality of frames in frame units; A second storage unit provided corresponding to the compression unit and storing the image data compressed by the corresponding compression unit in a frame unit; and image data compressed by the compression unit and stored in the second storage unit Image data expanding means for expanding the image data.

【0047】この構成によれば、画像処理の際に使用頻
度が高いフレームの画像データは、圧縮せずに第1の記
憶手段に記憶させ、使用頻度が低いフレームの画像デー
タは、圧縮して第2の記憶手段に記憶させることができ
る。
According to this configuration, the image data of the frame frequently used in the image processing is stored in the first storage means without compression, and the image data of the frame used less frequently is compressed. It can be stored in the second storage means.

【0048】このため、記憶している画像データを伸長
するための処理量の増加を抑制でき、また、記憶する画
像データを圧縮するための処理量の増加を抑制できる。
Therefore, an increase in the amount of processing for expanding the stored image data can be suppressed, and an increase in the amount of processing for compressing the stored image data can be suppressed.

【0049】また、使用頻度が低いフレームの画像デー
タは、圧縮して第2の記憶手段に記憶させることで、記
憶容量の削減を図ることができる。
Also, the image data of a frame that is used less frequently is compressed and stored in the second storage means, so that the storage capacity can be reduced.

【0050】以上のように、複数のフレームの画像デー
タを記憶する画像データ記憶装置において、各フレーム
に対して、使用頻度を考慮した適切な記憶形態を選択で
きる。その他、画像データの使用目的に応じて、画像デ
ータの画質、記憶枚数、等を考慮した適切な記憶形態を
選択できる。
As described above, in the image data storage device that stores the image data of a plurality of frames, it is possible to select an appropriate storage mode in consideration of the frequency of use for each frame. In addition, an appropriate storage mode can be selected in consideration of the image quality of the image data, the number of stored images, and the like, according to the purpose of use of the image data.

【0051】その結果、処理量の増加の抑制を図りなが
らも、記憶容量の削減を図ることができる。
As a result, it is possible to reduce the storage capacity while suppressing an increase in the processing amount.

【0052】請求項2記載の画像データ記憶装置では、
画像データを圧縮する複数の圧縮手段と、単数又は複数
のフレームの圧縮されていない画像データをフレーム単
位で記憶する第1の記憶手段と、複数の圧縮手段に対応
して設けられ、各々が、対応する圧縮手段により圧縮さ
れた画像データをフレーム単位で記憶する複数の第2の
記憶手段と、圧縮手段により圧縮されて、第2の記憶手
段に記憶された画像データを伸長する画像データ伸長手
段と、を備え、圧縮手段の各々の圧縮率は、互いに異な
る。
In the image data storage device according to the second aspect,
A plurality of compression means for compressing image data; a first storage means for storing uncompressed image data of one or more frames in frame units; and a plurality of compression means provided corresponding to the plurality of compression means. A plurality of second storage means for storing the image data compressed by the corresponding compression means in frame units; and image data decompression means for decompressing the image data stored in the second storage means by being compressed by the compression means And the compression ratio of each of the compression means is different from each other.

【0053】この構成によれば、画像処理の際に使用頻
度が高いフレームの画像データは、圧縮せずに第1の記
憶手段に記憶させ、使用頻度が低いフレームの画像デー
タは、圧縮して第2の記憶手段に記憶させることができ
る。
According to this configuration, the image data of the frame frequently used in the image processing is stored in the first storage means without compression, and the image data of the frame used less frequently is compressed. It can be stored in the second storage means.

【0054】このため、記憶している画像データを伸長
するための処理量の増加を抑制でき、また、記憶する画
像データを圧縮するための処理量の増加を抑制できる。
Therefore, an increase in the amount of processing for expanding the stored image data can be suppressed, and an increase in the amount of processing for compressing the stored image data can be suppressed.

【0055】また、画像処理の際の使用頻度が低くなる
に従って、より大きい圧縮率の圧縮手段で画像データを
圧縮して、対応する第2の記憶手段に記憶させること
で、記憶容量の削減を一層効果的に図ることができる。
Further, as the frequency of use in the image processing decreases, the image data is compressed by the compression means having a higher compression ratio and stored in the corresponding second storage means, thereby reducing the storage capacity. It can be achieved more effectively.

【0056】以上のように、複数のフレームの画像デー
タを記憶する画像データ記憶装置において、各フレーム
に対して、使用頻度を考慮した一層適切な記憶形態を選
択できる。その他、画像データの使用目的に応じて、画
像データの画質、記憶枚数、等を考慮した一層適切な記
憶形態を選択できる。
As described above, in the image data storage device that stores the image data of a plurality of frames, a more appropriate storage mode can be selected for each frame in consideration of the frequency of use. In addition, a more appropriate storage mode can be selected in consideration of the image quality of the image data, the number of stored images, and the like, according to the purpose of use of the image data.

【0057】その結果、処理量の増加の抑制を図りなが
らも、記憶容量の削減を一層効果的に図ることができ
る。
As a result, it is possible to more effectively reduce the storage capacity while suppressing an increase in the processing amount.

【0058】請求項3記載の画像データ記憶装置では、
予め定められた単数又は複数の圧縮手段は、可逆圧縮を
実行し、他の圧縮手段は、非可逆圧縮を実行する。
In the image data storage device according to the third aspect,
The predetermined compression means or means performs lossless compression, and the other compression means performs lossy compression.

【0059】この構成によれば、使用頻度が高い画像デ
ータは、圧縮せずに第1の記憶手段に記憶させ、使用頻
度が低い画像データは、可逆圧縮して第2の画像データ
記憶手段に記憶させ、さらに使用頻度が低い画像データ
は、非可逆圧縮して第2の記憶手段に記憶させることが
できる。
According to this configuration, image data with a high frequency of use is stored in the first storage means without compression, and image data with a low frequency of use is reversibly compressed and stored in the second image data storage means. The image data that is stored and that is used less frequently can be lossy-compressed and stored in the second storage unit.

【0060】あるいは、画像データの使用目的に応じ
て、画像データの画質、記憶枚数、等を考慮して決定し
た優先順位に従って、優先順位が高い画像データは、圧
縮せずに第1の記憶手段に記憶させ、優先順位が低い画
像データは、可逆圧縮して第2の画像データ記憶手段に
記憶させ、さらに優先順位が低い画像データは、非可逆
圧縮して第2の記憶手段に記憶させることができる。
Alternatively, according to the priority determined in consideration of the image quality of the image data, the number of storages, etc., according to the purpose of use of the image data, the image data having the higher priority is not compressed and stored in the first storage means. The image data having a low priority is losslessly compressed and stored in a second image data storage means, and the image data having a low priority is lossy compressed and stored in a second storage means. Can be.

【0061】このように、複数のフレームの画像データ
を記憶する画像データ記憶装置において、より一層適切
な記憶形態を選択することができるため、処理量の増加
の抑制を考慮した記憶容量の削減をより一層効果的に図
ることができる。
As described above, in the image data storage device that stores the image data of a plurality of frames, a more appropriate storage mode can be selected, so that the storage capacity can be reduced in consideration of suppressing the increase in the processing amount. This can be achieved even more effectively.

【0062】請求項4記載の画像データ記憶装置では、
画像データ伸長手段は、複数の圧縮手段に対応して設け
られる複数の伸長手段を含み、伸長手段は、対応する圧
縮手段により圧縮されて、対応する第2の記憶手段に記
憶された画像データを伸長する。
In the image data storage device according to the fourth aspect,
The image data decompression means includes a plurality of decompression means provided corresponding to the plurality of compression means, and the decompression means compresses the image data compressed by the corresponding compression means and stored in the corresponding second storage means. Elongate.

【0063】この構成によれば、処理量の増加の抑制を
図りながらも、記憶容量の削減を図ることができる。
According to this configuration, the storage capacity can be reduced while suppressing an increase in the processing amount.

【0064】請求項5記載の画像データ記憶装置では、
圧縮手段は、画素データを間引くことによって、画像デ
ータを圧縮し、画像データ伸長手段は、画素データを補
間することによって、圧縮手段により圧縮された画像デ
ータを伸長する。
In the image data storage device according to the fifth aspect,
The compression unit compresses the image data by thinning out the pixel data, and the image data expansion unit expands the image data compressed by the compression unit by interpolating the pixel data.

【0065】この構成によれば、画像データの圧縮処理
及び伸長処理を高速に行うことができる。なぜなら、間
引き処理及び補間処理は、比較的簡単な処理だからであ
る。
According to this configuration, the compression processing and the decompression processing of the image data can be performed at high speed. This is because the thinning process and the interpolation process are relatively simple processes.

【0066】また、圧縮手段が複数設けられ、これに対
応して、第2の記憶手段が複数設けられている場合にお
いて、ある第2の記憶手段に記憶された画像データを、
記憶形態を変更して、他の第2の記憶手段に記憶させる
ときに、伸長処理を行うことなく、圧縮処理を行うこと
ができる。なぜなら、第2の記憶手段には、間引きによ
り圧縮した画像データが記憶されているからである。
In a case where a plurality of compression means are provided and a plurality of second storage means are correspondingly provided, the image data stored in a certain second storage means is
When the storage mode is changed and stored in another second storage unit, the compression process can be performed without performing the decompression process. This is because image data compressed by thinning is stored in the second storage means.

【0067】従って、ある第2の記憶手段に記憶された
画像データを、記憶形態を変更して、他の第2の記憶手
段に記憶させる際の処理を高速に行うことができる。
Therefore, the processing for storing the image data stored in a certain second storage means in another storage means can be performed at a high speed by changing the storage mode.

【0068】また、圧縮手段が複数設けられ、これに対
応して、第2の記憶手段が複数設けられている場合にお
いて、画像データ伸長手段を、複数の第2の記憶手段で
共有できる。なぜなら、圧縮処理は間引きにより行わ
れ、これに応じて、伸長処理は補間により行われるから
である。従って、回路規模の削減を図ることができる。
When a plurality of compression means are provided and a plurality of second storage means are provided correspondingly, the image data decompression means can be shared by the plurality of second storage means. This is because the compression processing is performed by thinning, and the expansion processing is performed by interpolation accordingly. Therefore, the circuit scale can be reduced.

【0069】請求項6記載の画像データ記憶装置では、
圧縮手段は、画像データに対してウェーブレット変換を
施すことによって得られた周波数領域成分からなる複数
のブロックから、予め定められたブロックを削減するこ
とによって、画像データを圧縮し、画像データ伸長手段
は、圧縮手段により圧縮された画像データに対して、圧
縮により削除された予め定められたブロックを予め定め
られたデータで補間し、逆ウェーブレット変換を施すこ
とによって、圧縮手段により圧縮された画像データを伸
長する。
In the image data storage device according to the sixth aspect,
The compression means compresses the image data by reducing a predetermined block from a plurality of blocks composed of frequency domain components obtained by performing a wavelet transform on the image data, and the image data decompression means The image data compressed by the compression unit is interpolated with the predetermined data deleted by the compression with the predetermined data and subjected to an inverse wavelet transform with respect to the image data compressed by the compression unit. Elongate.

【0070】この構成によれば、圧縮手段が複数設けら
れ、これに対応して、第2の記憶手段が複数設けられて
いる場合において、ある第2の記憶手段に記憶された画
像データを、記憶形態を変更して、他の第2の記憶手段
に記憶させるときに、伸長処理を行うことなく、圧縮処
理を行うことができる。なぜなら、第2の記憶手段に
は、ウェーブレット変換により得られた周波数領域成分
からなるブロックが記憶されるからである。
According to this configuration, when a plurality of compression units are provided and a plurality of second storage units are provided correspondingly, the image data stored in a certain second storage unit is When the storage mode is changed and stored in another second storage unit, the compression process can be performed without performing the decompression process. This is because the second storage unit stores a block including frequency domain components obtained by the wavelet transform.

【0071】従って、ある第2の記憶手段に記憶された
画像データを、記憶形態を変更して、他の第2の記憶手
段に記憶させる際の処理を高速に行うことができる。
Accordingly, it is possible to change the storage form of the image data stored in a certain second storage means and to store the image data in another second storage means at a high speed.

【0072】また、圧縮手段が複数設けられ、これに対
応して、第2の記憶手段が複数設けられている場合にお
いて、画像データ伸長手段を、複数の第2の記憶手段で
共有できる。なぜなら、圧縮処理は、ウェーブレット変
換、及び、周波数領域成分からなるブロックの削除、に
より行われ、これに応じて、伸長処理は、周波数領域成
分からなるブロックの補間、及び、逆ウェーブレット変
換、により行われるからである。従って、回路規模の削
減を図ることができる。
When a plurality of compression means are provided and a plurality of second storage means are provided correspondingly, the image data decompression means can be shared by the plurality of second storage means. This is because the compression processing is performed by wavelet transform and deletion of blocks composed of frequency domain components, and accordingly, the expansion processing is performed by interpolation of blocks composed of frequency domain components and inverse wavelet transform. Because it is Therefore, the circuit scale can be reduced.

【0073】また、人間の視覚にとっては、画像データ
の高周波領域成分よりも低周波領域成分が重要となるた
め、圧縮手段による圧縮の際に、高周波領域成分から削
除することにすれば、人間の視覚に重要な低周波領域成
分が残って、伸長後の画像データを使用した画像処理後
の画像の画質の劣化を軽減できる。
Further, since low-frequency components are more important to human vision than high-frequency components of image data, if they are deleted from high-frequency components at the time of compression by the compression means, they can be removed by humans. Low-frequency area components that are important for vision remain, and deterioration of the image quality of the image after image processing using the decompressed image data can be reduced.

【0074】請求項7記載の画像データ記憶装置では、
第1の記憶手段、第2の記憶手段、圧縮手段、及び、画
像データ伸長手段、に対して、第1の記憶手段及び第2
の記憶手段が記憶している画像データの記憶形態を変更
する指示を与える制御手段をさらに備える。
In the image data storage device according to the seventh aspect,
The first storage means, the second storage means, the compression means, and the image data decompression means correspond to the first storage means and the second storage means.
And control means for giving an instruction to change the storage mode of the image data stored in the storage means.

【0075】この構成によれば、第1の記憶手段及び第
2の記憶手段が記憶している画像データの更新が可能と
なる。
According to this configuration, the image data stored in the first storage means and the second storage means can be updated.

【0076】請求項8記載の画像データ記憶装置では、
第1の記憶手段、第2の記憶手段、及び、圧縮手段、に
対して、第1の記憶手段及び第2の記憶手段が記憶して
いる画像データの記憶形態を変更する指示を与える制御
手段をさらに備える。
In the image data storage device according to the eighth aspect,
Control means for giving an instruction to the first storage means, the second storage means, and the compression means to change the storage mode of the image data stored in the first storage means and the second storage means Is further provided.

【0077】この構成によれば、第1の記憶手段及び第
2の記憶手段が記憶している画像データの更新が可能と
なる。
According to this configuration, the image data stored in the first storage means and the second storage means can be updated.

【0078】また、更新処理で画像データ伸長手段を使
用しないため、更新処理の高速化が可能となる。
Further, since the image data decompression means is not used in the updating process, the speed of the updating process can be increased.

【0079】請求項9記載の画像データ記憶装置では、
圧縮手段は、m×n(m、nは自然数)画素のブロック
単位で圧縮を行い、画像データ伸長手段は、m×n
(m、nは自然数)画素のブロック単位で伸長を行う。
In the image data storage device according to the ninth aspect,
The compression means performs compression in block units of m × n (m and n are natural numbers) pixels, and the image data decompression means performs m × n
(M and n are natural numbers) Decompression is performed in units of pixel blocks.

【0080】この構成によれば、フレーム単位の画像デ
ータを記憶する第1の記憶手段又は第2の記憶手段か
ら、画像データを、m×n画素のブロック単位で読み出
すことができる。
According to this configuration, the image data can be read out from the first storage means or the second storage means for storing the image data in frame units in block units of m × n pixels.

【0081】請求項10記載の画像データ記憶装置で
は、画像データを圧縮する複数の圧縮手段と、単数又は
複数のフレームの圧縮されていない画像データをフレー
ム単位で記憶する第1の記憶手段と、複数の圧縮手段に
対応して設けられ、各々が、対応する圧縮手段により圧
縮された画像データをフレーム単位で記憶する複数の第
2の記憶手段と、圧縮手段により圧縮されて、第2の記
憶手段に記憶された画像データを伸長する画像データ伸
長手段と、を備え、圧縮手段の各々の圧縮方式は、互い
に異なる。
According to a tenth aspect of the present invention, there is provided an image data storage device comprising: a plurality of compression means for compressing image data; a first storage means for storing uncompressed image data of one or more frames in frame units; A plurality of second storage units provided corresponding to the plurality of compression units, each of which stores the image data compressed by the corresponding compression unit in a frame unit; And image data decompression means for decompressing the image data stored in the means. The compression methods of the compression means are different from each other.

【0082】この構成によれば、ユーザは、画像データ
を、圧縮せずに記憶するのか、あるいは、圧縮して記憶
するのか、さらに、圧縮して記憶する場合は、どの圧縮
方式で圧縮して記憶するのか、をフレーム単位で任意に
選択できる。
According to this configuration, the user can select whether to store the image data without compression or to store the image data after compression. Whether to memorize can be arbitrarily selected in frame units.

【0083】その結果、ユーザの利便性の向上を図りな
がらも、記憶容量の削減を図ることができる。
As a result, the storage capacity can be reduced while improving the convenience for the user.

【0084】請求項11記載の符号化装置では、請求項
1記載の画像データ記憶装置を備え、画像データ記憶装
置が記憶するフレームの画像データを参照フレームの画
像データとして、画面間予測を用いた符号化を施す。
According to an eleventh aspect of the present invention, there is provided an encoding apparatus comprising the image data storage device according to the first aspect, wherein inter-picture prediction is performed using image data of a frame stored in the image data storage device as image data of a reference frame. Apply encoding.

【0085】この構成によれば、複数のフレームを符号
化の際の参照フレームとするこができる場合において、
各参照フレームに対して、使用頻度を考慮した適切な記
憶形態を選択できる。
According to this configuration, when a plurality of frames can be used as reference frames for encoding,
For each reference frame, an appropriate storage mode can be selected in consideration of the frequency of use.

【0086】その結果、処理量の増加の抑制を図りなが
らも、記憶容量の削減を図ることができる。
As a result, it is possible to reduce the storage capacity while suppressing an increase in the processing amount.

【0087】請求項12記載の符号化装置では、現在の
符号化対象であるフレームを基準として、時間的に連続
した予め定められた数の過去のフレーム、及び、現在の
符号化対象であるフレーム、からなるフレーム群におい
て、現在から過去にわたって時間的に連続するように、
各々が予め定められた数のフレームからなる複数のグル
ープを構成し、過去のフレームは、画面間予測を実行す
る際の参照フレームであり、現在の符号化対象であるフ
レームを含むグループは、少なくとも1枚の参照フレー
ムを含み、画像データ記憶装置の圧縮手段は、参照フレ
ームのみからなるグループに対応して設けられ、対応す
るグループに属する参照フレームの画像データを圧縮
し、画像データ記憶装置の第1の記憶手段は、現在の符
号化対象であるフレームを含むグループに対応して設け
られ、対応するグループに属するフレームの圧縮されて
いない画像データを記憶し、画像データ記憶装置の第2
の記憶手段は、参照フレームのみからなるグループに対
応して設けられ、対応する圧縮手段により圧縮された、
対応するグループに属する参照フレームの画像データを
記憶する。
According to the twelfth aspect of the present invention, a predetermined number of past frames that are temporally continuous with respect to the current frame to be encoded and the current frame to be encoded are set. , In a frame group consisting of
Each group comprises a plurality of groups of a predetermined number of frames, the past frames are reference frames when performing inter prediction, and the group including the current encoding target frame is at least The image data storage device includes one reference frame, and the compression unit of the image data storage device is provided corresponding to a group including only the reference frame, and compresses the image data of the reference frame belonging to the corresponding group. The first storage means is provided corresponding to the group including the current frame to be encoded, stores uncompressed image data of frames belonging to the corresponding group, and stores the second image data of the second frame of the image data storage device.
Storage means are provided corresponding to a group consisting of only reference frames, and are compressed by the corresponding compression means.
The image data of the reference frame belonging to the corresponding group is stored.

【0088】この構成によれば、現在の符号化対象であ
るフレームに時間的に近い参照フレームは圧縮せずに記
憶され、現在の符号化対象であるフレームに時間的に遠
い参照フレームは圧縮して記憶される。
According to this configuration, the reference frame temporally close to the current encoding target frame is stored without compression, and the reference frame temporally far from the current encoding target frame is compressed. Is memorized.

【0089】つまり、使用頻度が高い参照フレームの画
像データは圧縮せずに記憶され、使用頻度が低い参照フ
レームの画像データは圧縮されて記憶される。
That is, the image data of the reference frame that is frequently used is stored without compression, and the image data of the reference frame that is not frequently used is compressed and stored.

【0090】従って、使用頻度が低い参照フレームに
は、少ない記憶領域を割り当てることができる。
Accordingly, a small storage area can be allocated to a reference frame which is not frequently used.

【0091】このように、複数のフレームを符号化の際
の参照フレームとするこができる場合において、各参照
フレームは、それぞれの使用頻度を考慮した適切な記憶
形態で記憶される。
As described above, when a plurality of frames can be used as reference frames for encoding, each reference frame is stored in an appropriate storage form in consideration of the frequency of use.

【0092】その結果、処理量の増加の抑制を図りなが
らも、記憶容量の削減を図ることができる。
As a result, it is possible to reduce the storage capacity while suppressing an increase in the processing amount.

【0093】請求項13記載の符号化装置では、請求項
2記載の画像データ記憶装置を備え、画像データ記憶装
置が記憶するフレームの画像データを参照フレームの画
像データとして、画面間予測を用いた符号化を施す。
According to a thirteenth aspect of the present invention, there is provided an encoding device comprising the image data storage device according to the second aspect, wherein inter-picture prediction is performed using image data of a frame stored in the image data storage device as image data of a reference frame. Apply encoding.

【0094】この構成によれば、複数のフレームを符号
化の際の参照フレームとするこができる場合において、
各フレームに対して、使用頻度を考慮した一層適切な記
憶形態を選択できる。
According to this configuration, when a plurality of frames can be used as reference frames for encoding,
For each frame, a more appropriate storage mode can be selected in consideration of the frequency of use.

【0095】その結果、処理量の増加の抑制を図りなが
らも、記憶容量の削減を一層効果的に図ることができ
る。
As a result, the storage capacity can be more effectively reduced while suppressing an increase in the processing amount.

【0096】請求項14記載の符号化装置では、現在の
符号化対象であるフレームを基準として、時間的に連続
した予め定められた数の過去のフレーム、及び、現在の
符号化対象であるフレーム、からなるフレーム群におい
て、現在から過去にわたって時間的に連続するように、
各々が予め定められた数のフレームからなる複数のグル
ープを構成し、過去のフレームは、画面間予測を実行す
る際の参照フレームであり、現在の符号化対象であるフ
レームを含むグループは、現在の符号化対象であるフレ
ームのみからなり、又は、現在の符号化対象であるフレ
ーム及び参照フレームからなり、画像データ記憶装置の
複数の圧縮手段は、参照フレームのみからなる複数のグ
ループに対応して設けられ、圧縮手段は、対応するグル
ープに属する参照フレームの画像データを圧縮し、画像
データ記憶装置の第1の記憶手段は、現在の符号化対象
であるフレームを含むグループに対応して設けられ、対
応するグループに属するフレームの圧縮されていない画
像データを記憶し、画像データ記憶装置の複数の第2の
記憶手段は、参照フレームのみからなる複数のグループ
に対応して設けられ、第2の記憶手段の各々は、対応す
る圧縮手段により圧縮された、対応するグループに属す
る参照フレームの画像データを記憶し、圧縮手段の圧縮
率は、その圧縮手段に対応するグループに属する参照フ
レームより、現在の符号化対象であるフレームに時間的
に近い参照フレームを含むグループに対応する圧縮手段
の圧縮率より大きい。
[0096] In the encoding apparatus according to the fourteenth aspect, a predetermined number of past frames that are temporally continuous with respect to the current frame to be encoded, and the current frame to be encoded. , In a frame group consisting of
Each group comprises a plurality of groups of a predetermined number of frames, the past frames are reference frames when performing inter-screen prediction, and the group including the current encoding target frame is the current frame. Consists of only the encoding target frame, or consists of the current encoding target frame and a reference frame, and a plurality of compression means of the image data storage device correspond to a plurality of groups consisting only of the reference frame. A compression unit configured to compress image data of a reference frame belonging to a corresponding group, and a first storage unit of the image data storage device is provided corresponding to a group including a frame to be currently encoded. And stores the uncompressed image data of the frames belonging to the corresponding group, and the plurality of second storage units of the image data storage device Each of the second storage means is provided corresponding to a plurality of groups consisting only of frames, and stores the image data of the reference frame belonging to the corresponding group, which is compressed by the corresponding compression means. The rate is greater than the compression rate of the compression unit corresponding to the group including the reference frame temporally closer to the current encoding target frame than the reference frame belonging to the group corresponding to the compression unit.

【0097】この構成によれば、参照フレームについて
は、現在の符号化対象であるフレームに時間的に遠くな
るに従って、高い圧縮率で圧縮されて記憶される。
According to this configuration, the reference frame is compressed and stored at a high compression rate as the time becomes farther from the current frame to be encoded.

【0098】つまり、参照フレームについては、使用頻
度が低くなるに従って、高い圧縮率で圧縮されて記憶さ
れる。
That is, the reference frame is compressed and stored at a high compression rate as the frequency of use decreases.

【0099】従って、使用頻度が低くなるに従って、1
枚の参照フレームに割り当てる記憶領域を、グループ単
位で段階的に少なくすることができる。
Therefore, as the frequency of use decreases, 1
The storage area allocated to one reference frame can be reduced step by step in groups.

【0100】このように、複数のフレームを符号化の際
の参照フレームとするこができる場合において、各参照
フレームは、それぞれの使用頻度を考慮した一層適切な
記憶形態で記憶される。
As described above, when a plurality of frames can be used as reference frames for encoding, each reference frame is stored in a more appropriate storage form in consideration of the frequency of use.

【0101】その結果、処理量の増加の抑制を図りなが
らも、記憶容量の削減を一層効果的に図ることができ
る。
As a result, the storage capacity can be more effectively reduced while suppressing an increase in the processing amount.

【0102】請求項15記載の復号化装置では、請求項
1記載の画像データ記憶装置を備え、画像データ記憶装
置が記憶するフレームの画像データを参照フレームの画
像データとして、画面間予測を用いた復号化を実行す
る。
A decoding device according to a fifteenth aspect includes the image data storage device according to the first aspect, wherein inter-picture prediction is performed using image data of a frame stored in the image data storage device as image data of a reference frame. Perform decryption.

【0103】この構成によれば、複数のフレームを復号
化の際の参照フレームとするこができる場合において、
各参照フレームに対して、使用頻度を考慮した適切な記
憶形態を選択できる。
According to this configuration, when a plurality of frames can be used as reference frames for decoding,
For each reference frame, an appropriate storage mode can be selected in consideration of the frequency of use.

【0104】その結果、処理量の増加の抑制を図りなが
らも、記憶容量の削減を図ることができる。
As a result, it is possible to reduce the storage capacity while suppressing an increase in the processing amount.

【0105】請求項16記載の復号化装置では、現在の
復号化対象であるフレームを基準として、時間的に連続
した予め定められた数の過去のフレーム、及び、現在の
復号化対象であるフレーム、からなるフレーム群におい
て、現在から過去にわたって時間的に連続するように、
各々が予め定められた数のフレームからなる複数のグル
ープを構成し、過去のフレームは、画面間予測を実行す
る際の参照フレームであり、現在の復号化対象であるフ
レームを含むグループは、少なくとも1枚の参照フレー
ムを含み、画像データ記憶装置の圧縮手段は、参照フレ
ームのみからなるグループに対応して設けられ、対応す
るグループに属する参照フレームの画像データを圧縮
し、画像データ記憶装置の第1の記憶手段は、現在の復
号化対象であるフレームを含むグループに対応して設け
られ、対応するグループに属するフレームの圧縮されて
いない画像データを記憶し、画像データ記憶装置の第2
の記憶手段は、参照フレームのみからなるグループに対
応して設けられ、対応する圧縮手段により圧縮された、
対応するグループに属する参照フレームの画像データを
記憶する。
In the decoding device according to the sixteenth aspect, a predetermined number of past frames that are temporally continuous with respect to the current frame to be decoded and the current frame to be decoded are set. , In a frame group consisting of
Each group comprises a plurality of groups of a predetermined number of frames, the past frames are reference frames when performing inter-picture prediction, and the group including the current decoding target frame is at least The image data storage device includes one reference frame, and the compression unit of the image data storage device is provided corresponding to a group including only the reference frame, and compresses the image data of the reference frame belonging to the corresponding group. The first storage means is provided corresponding to the group including the current frame to be decoded, stores the uncompressed image data of the frames belonging to the corresponding group, and stores the second image data of the second frame of the image data storage device.
Storage means are provided corresponding to a group consisting of only reference frames, and are compressed by the corresponding compression means.
The image data of the reference frame belonging to the corresponding group is stored.

【0106】この構成によれば、現在の復号化対象であ
るフレームに時間的に近い参照フレームは圧縮せずに記
憶され、現在の復号化対象であるフレームに時間的に遠
い参照フレームは圧縮して記憶される。
According to this configuration, the reference frame temporally close to the current frame to be decoded is stored without compression, and the reference frame temporally far from the current frame to be decoded is compressed. Is memorized.

【0107】つまり、使用頻度が高い参照フレームの画
像データは圧縮せずに記憶され、使用頻度が低い参照フ
レームの画像データは圧縮されて記憶される。
That is, the image data of the reference frame that is frequently used is stored without compression, and the image data of the reference frame that is not frequently used is compressed and stored.

【0108】従って、使用頻度が低い参照フレームに
は、少ない記憶領域を割り当てることができる。
Therefore, a small storage area can be allocated to a reference frame that is not frequently used.

【0109】このように、複数のフレームを復号化の際
の参照フレームとするこができる場合において、各参照
フレームは、それぞれの使用頻度を考慮した適切な記憶
形態で記憶される。
As described above, when a plurality of frames can be used as reference frames for decoding, each reference frame is stored in an appropriate storage form in consideration of the frequency of use.

【0110】その結果、処理量の増加の抑制を図りなが
らも、記憶容量の削減を図ることができる。
As a result, it is possible to reduce the storage capacity while suppressing an increase in the processing amount.

【0111】請求項17記載の復号化装置では、請求項
2記載の画像データ記憶装置を備え、画像データ記憶装
置が記憶するフレームの画像データを参照フレームの画
像データとして、画面間予測を用いた復号化を実行す
る。
[0111] A decoding device according to claim 17 is provided with the image data storage device according to claim 2, and uses inter-picture prediction by using image data of a frame stored in the image data storage device as image data of a reference frame. Perform decryption.

【0112】この構成によれば、複数のフレームを復号
化の際の参照フレームとするこができる場合において、
各フレームに対して、使用頻度を考慮した一層適切な記
憶形態を選択できる。
According to this configuration, when a plurality of frames can be used as reference frames for decoding,
For each frame, a more appropriate storage mode can be selected in consideration of the frequency of use.

【0113】その結果、処理量の増加の抑制を図りなが
らも、記憶容量の削減を一層効果的に図ることができ
る。
As a result, it is possible to more effectively reduce the storage capacity while suppressing an increase in the processing amount.

【0114】請求項18記載の復号化装置では、現在の
復号化対象であるフレームを基準として、時間的に連続
した予め定められた数の過去のフレーム、及び、現在の
復号化対象であるフレーム、からなるフレーム群におい
て、現在から過去にわたって時間的に連続するように、
各々が予め定められた数のフレームからなる複数のグル
ープを構成し、過去のフレームは、画面間予測を実行す
る際の参照フレームであり、現在の復号化対象であるフ
レームを含むグループは、現在の復号化対象であるフレ
ームのみからなり、又は、現在の復号化対象であるフレ
ーム及び参照フレームからなり、画像データ記憶装置の
複数の圧縮手段は、参照フレームのみからなる複数のグ
ループに対応して設けられ、圧縮手段は、対応するグル
ープに属する参照フレームの画像データを圧縮し、画像
データ記憶装置の第1の記憶手段は、現在の復号化対象
であるフレームを含むグループに対応して設けられ、対
応するグループに属するフレームの圧縮されていない画
像データを記憶し、画像データ記憶装置の複数の第2の
記憶手段は、参照フレームのみからなる複数のグループ
に対応して設けられ、第2の記憶手段の各々は、対応す
る圧縮手段により圧縮された、対応するグループに属す
る参照フレームの画像データを記憶し、圧縮手段の圧縮
率は、その圧縮手段に対応するグループに属する参照フ
レームより、現在の復号化対象であるフレームに時間的
に近い参照フレームを含むグループに対応する圧縮手段
の圧縮率より大きい。
In the decoding apparatus according to the eighteenth aspect, a predetermined number of past frames that are temporally continuous with respect to the current frame to be decoded and the current frame to be decoded are set. , In a frame group consisting of
Each group comprises a plurality of groups of a predetermined number of frames, the past frames are reference frames when performing inter-picture prediction, and the group including the current frame to be decoded is the current frame. Consists of only the frame to be decoded, or consists of the current frame to be decoded and a reference frame, and a plurality of compression means of the image data storage device correspond to a plurality of groups consisting only of the reference frame. The compression means is provided for compressing image data of a reference frame belonging to a corresponding group, and the first storage means of the image data storage device is provided corresponding to the group including the current frame to be decoded. And stores the uncompressed image data of the frame belonging to the corresponding group, and the plurality of second storage units of the image data storage device Each of the second storage means is provided corresponding to a plurality of groups consisting only of frames, and stores the image data of the reference frames belonging to the corresponding group, which are compressed by the corresponding compression means. The compression ratio is larger than the compression ratio of the compression unit corresponding to the group including the reference frame temporally closer to the current frame to be decoded than the reference frame belonging to the group corresponding to the compression unit.

【0115】この構成によれば、参照フレームについて
は、現在の復号化の対象であるフレームに時間的に遠く
なるに従って、高い圧縮率で圧縮されて記憶される。
According to this configuration, the reference frame is compressed and stored at a high compression rate as it becomes temporally farther from the current frame to be decoded.

【0116】つまり、参照フレームについては、使用頻
度が低くなるに従って、高い圧縮率で圧縮されて記憶さ
れる。
That is, the reference frame is compressed and stored at a high compression rate as the frequency of use decreases.

【0117】従って、使用頻度が低くなるに従って、1
枚の参照フレームに割り当てる記憶領域を、グループ単
位で段階的に少なくすることができる。
Therefore, as the frequency of use decreases, 1
The storage area allocated to one reference frame can be reduced step by step in groups.

【0118】このように、複数のフレームを復号化の際
の参照フレームとするこができる場合において、各参照
フレームは、それぞれの使用頻度を考慮した一層適切な
記憶形態で記憶される。
As described above, when a plurality of frames can be used as reference frames for decoding, each reference frame is stored in a more appropriate storage form in consideration of the frequency of use.

【0119】その結果、処理量の増加の抑制を図りなが
らも、記憶容量の削減を一層効果的に図ることができ
る。
As a result, it is possible to more effectively reduce the storage capacity while suppressing an increase in the processing amount.

【0120】請求項19記載の圧縮伸長システムでは、
請求項11記載の符号化装置と、請求項15記載の復号
化装置と、を備え、符号化装置は、画像データ記憶装置
による画像データの圧縮に関する情報と、符号化が施さ
れた画像データと、を多重化し、多重化データを生成す
る多重化手段をさらに備え、復号化装置は、受け取った
多重化データを、圧縮に関する情報と、符号化された画
像データと、に分離する分離手段をさらに備える。
In the compression / decompression system according to claim 19,
An encoding device according to claim 11 and a decoding device according to claim 15, wherein the encoding device is configured to store information relating to compression of image data by an image data storage device, And multiplexing means for generating multiplexed data, and the decoding apparatus further includes a separating means for separating the received multiplexed data into information on compression and encoded image data. Prepare.

【0121】この構成によれば、復号化装置の画像デー
タ記憶装置は、符号化装置の画像データ記憶装置で用い
た圧縮に関する情報を用いて、圧縮及び伸長ができる。
According to this configuration, the image data storage device of the decoding device can perform compression and decompression using the information on compression used in the image data storage device of the encoding device.

【0122】このため、復号化装置の画像データ記憶装
置において、参照フレームを非可逆圧縮して記憶し伸長
する場合でも、符号化装置と復号化装置とで参照フレー
ムは同一となる。
Therefore, even when the reference frame is irreversibly compressed and stored and decompressed in the image data storage device of the decoding device, the reference frame is the same in the encoding device and the decoding device.

【0123】その結果、符号化装置と復号化装置との間
での参照フレームの画像データの不一致に起因する画質
の劣化を防止しながらも、符号化装置及び復号化装置の
画像データ記憶装置の記憶容量の削減を行うことができ
る。
As a result, it is possible to prevent the image quality from being degraded due to the inconsistency of the image data of the reference frame between the encoding device and the decoding device, and also to prevent the image data storage device of the encoding device and the decoding device from using the same. The storage capacity can be reduced.

【0124】請求項20記載の圧縮伸長システムでは、
請求項13記載の符号化装置と、請求項17記載の復号
化装置と、を備え、符号化装置は、画像データ記憶装置
による画像データの圧縮に関する情報と、符号化が施さ
れた画像データと、を多重化し、多重化データを生成す
る多重化手段をさらに備え、復号化装置は、受け取った
多重化データを、圧縮に関する情報と、符号化された画
像データと、に分離する分離手段をさらに備える。
In the compression / decompression system according to the twentieth aspect,
An encoding device according to claim 13 and a decoding device according to claim 17, wherein the encoding device is configured to store information relating to compression of image data by an image data storage device, And multiplexing means for generating multiplexed data, and the decoding apparatus further includes a separating means for separating the received multiplexed data into information on compression and encoded image data. Prepare.

【0125】この構成によれば、復号化装置の画像デー
タ記憶装置は、符号化装置の画像データ記憶装置で用い
た圧縮に関する情報を用いて、圧縮及び伸長ができる。
According to this configuration, the image data storage device of the decoding device can perform compression and decompression using the information on compression used in the image data storage device of the encoding device.

【0126】このため、復号化装置の画像データ記憶装
置において、参照フレームを非可逆圧縮して記憶し伸長
する場合でも、符号化装置と復号化装置とで参照フレー
ムは同一となる。
Therefore, even when the reference frame is irreversibly compressed, stored and decompressed in the image data storage device of the decoding device, the reference frame is the same in the encoding device and the decoding device.

【0127】その結果、符号化装置と復号化装置との間
での参照フレームの画像データの不一致に起因する画質
の劣化を防止しながらも、符号化装置及び復号化装置の
画像データ記憶装置の記憶容量の削減を行うことができ
る。
As a result, while preventing the image quality from being deteriorated due to the inconsistency of the image data of the reference frame between the encoding device and the decoding device, the image data storage devices of the encoding device and the decoding device can be prevented. The storage capacity can be reduced.

【0128】以下、図面を参照して本発明の実施の形態
を説明する。 (実施の形態1)
Hereinafter, embodiments of the present invention will be described with reference to the drawings. (Embodiment 1)

【0129】図1は、本発明の実施の形態1における画
像データ記憶装置のブロック図である。
FIG. 1 is a block diagram of an image data storage device according to the first embodiment of the present invention.

【0130】図1に示すように、この画像データ記憶装
置は、画像データ圧縮手段1、画像データ記憶手段2、
画像データ伸長手段3、及び、制御手段4、を具備す
る。
As shown in FIG. 1, this image data storage device comprises an image data compression means 1, an image data storage means 2,
An image data decompression unit 3 and a control unit 4 are provided.

【0131】画像データ圧縮手段1は、I個(「I」は
1以上の整数)の圧縮回路A1、A2、…、AIを含
む。
The image data compression means 1 includes I ("I" is an integer of 1 or more) compression circuits A1, A2,..., AI.

【0132】ここで、圧縮回路A1、A2、…、AIを
包括的に表現するときは、圧縮回路Aiとする。
Here, when the compression circuits A1, A2,..., AI are comprehensively represented, they are referred to as compression circuits Ai.

【0133】画像データ記憶手段2は、J個(「J」は
1以上の整数)のフレームメモリM1、M2、…、MJ
を含む。
The image data storage means 2 has J ("J" is an integer of 1 or more) frame memories M1, M2,.
including.

【0134】ここで、フレームメモリM1、M2、…、
MJを包括的に表現するときは、フレームメモリMjと
する。
Here, the frame memories M1, M2,...
When MJ is comprehensively expressed, it is referred to as a frame memory Mj.

【0135】画像データ伸長手段3は、I個(「I」は
1以上の整数)の伸長回路B1、B2、…、BIを含
む。この伸長回路B1、B2、…、BIは、圧縮回路A
1、A2、…、AIに対応して設けられる。
The image data decompression means 3 includes I ("I" is an integer of 1 or more) decompression circuits B1, B2,..., BI. The decompression circuits B1, B2,...
1, A2,..., AI.

【0136】ここで、伸長回路B1、B2、…、BIを
包括的に表現するときは、伸長回路Biとする。
Here, when the expansion circuits B1, B2,..., BI are comprehensively expressed, they are referred to as expansion circuits Bi.

【0137】制御手段4は、メモリ制御手段41、及
び、制御回路42、を含む。
The control means 4 includes a memory control means 41 and a control circuit 42.

【0138】さて、まず、図1に示した画像データ記憶
装置の動作を簡単に説明する。データバス5は、画像デ
ータ記憶装置の外部またはデータバス8から入力される
画像データを入力とする。
First, the operation of the image data storage device shown in FIG. 1 will be briefly described. The data bus 5 receives image data input from outside the image data storage device or from the data bus 8.

【0139】そして、データバス5は、入力した画像デ
ータを、画像データ圧縮手段1の圧縮回路Aiまたはデ
ータバス6へ出力する。
Then, the data bus 5 outputs the input image data to the compression circuit Ai of the image data compression means 1 or the data bus 6.

【0140】画像データ圧縮手段1の圧縮回路Aiは、
入力される画像データを圧縮する。データバス6は、デ
ータバス5または画像データ圧縮手段1の圧縮回路Ai
が出力する画像データを入力とする。
The compression circuit Ai of the image data compression means 1
Compress input image data. The data bus 6 is connected to the data bus 5 or the compression circuit Ai of the image data compression means 1.
Input the image data output by.

【0141】そして、データバス6は、入力された画像
データを、画像データ記憶手段2のフレームメモリMj
へ出力する。
The data bus 6 stores the input image data in the frame memory Mj of the image data storage means 2.
Output to

【0142】画像データ記憶手段3のフレームメモリM
jは、データバス6から入力される画像データをフレー
ム単位で記憶する。
The frame memory M of the image data storage means 3
j stores image data input from the data bus 6 in frame units.

【0143】データバス7は、画像データ記憶手段2の
フレームメモリMjが出力する画像データを入力とす
る。
The data bus 7 receives the image data output from the frame memory Mj of the image data storage means 2 as an input.

【0144】そして、データバス7は、入力された画像
データを、データバス8または画像データ伸長手段3の
伸長回路Biへ出力する。
Then, the data bus 7 outputs the input image data to the data bus 8 or the expansion circuit Bi of the image data expansion means 3.

【0145】画像データ伸長手段3の伸長回路Biは、
入力される画像データを伸長する。データバス8は、画
像データ伸長手段3の伸長回路Biまたはデータバス7
が出力する画像データを入力とする。
The decompression circuit Bi of the image data decompression means 3
Decompress input image data. The data bus 8 is connected to the decompression circuit Bi of the image data decompression means 3 or the data bus 7.
Input the image data output by.

【0146】そして、データバス8は、入力された画像
データを、画像データ記憶装置の外部またはデータバス
5へ出力する。
Then, the data bus 8 outputs the input image data to the outside of the image data storage device or to the data bus 5.

【0147】制御手段4は、画像データ記憶装置の外部
から入力される制御信号Sに基づき、画像データ圧縮手
段1、画像データ記憶手段2、及び、画像データ伸長手
段3、を制御する。
The control means 4 controls the image data compression means 1, the image data storage means 2, and the image data decompression means 3 based on a control signal S inputted from outside the image data storage device.

【0148】次に、図1の画像データ記憶装置の動作を
詳細に説明する。画像データが、16×16画素のマク
ロブロック単位で、画像データ記憶装置の外部からデー
タバス5に入力される。
Next, the operation of the image data storage device of FIG. 1 will be described in detail. Image data is input to the data bus 5 from outside the image data storage device in units of macroblocks of 16 × 16 pixels.

【0149】一方、画像データ記憶手段2に画像データ
を記憶する際の記憶形態が、制御手段4に対して、外部
から入力される制御信号Sによって指定される。
On the other hand, the storage mode for storing the image data in the image data storage means 2 is specified to the control means 4 by a control signal S input from the outside.

【0150】この記憶形態には、画像データを圧縮せず
に記憶する形態、及び、画像データを圧縮して記憶する
形態、がある。
This storage mode includes a mode in which image data is stored without compression, and a mode in which image data is compressed and stored.

【0151】さらに、画像データを圧縮して記憶する形
態には、圧縮回路A1で圧縮して記憶する形態、圧縮回
路A2で圧縮して記憶する形態、…、圧縮回路AIで圧
縮して記憶する形態、というI個の形態がある。
Further, the image data can be compressed and stored in the form of compression and storage in the compression circuit A1, the compression and storage in the compression circuit A2,..., And compressed and stored in the compression circuit AI. There are I forms called forms.

【0152】なお、制御信号Sによる記憶形態の指定
は、フレーム単位で行われる。
The designation of the storage mode by the control signal S is performed on a frame basis.

【0153】さて、記憶形態が画像データを圧縮せずに
記憶する形態である旨の制御信号Sを受けた制御手段4
では、制御回路42が、データバス5を制御して、デー
タバス5に入力された画像データを、データバス6へ与
える。
The control means 4 receiving the control signal S indicating that the storage mode is a mode for storing image data without compression.
Then, the control circuit 42 controls the data bus 5 to supply the image data input to the data bus 5 to the data bus 6.

【0154】一方、圧縮回路Aiを指定して、記憶形態
が画像データを圧縮して記憶する形態である旨の制御信
号Sを受けた制御手段4では、制御回路42が、データ
バス5を制御して、データバス5に入力された画像デー
タを、制御信号Sにより指定された圧縮回路Aiへ与え
る。
On the other hand, the control circuit 42 controls the data bus 5 by specifying the compression circuit Ai and receiving the control signal S indicating that the storage mode is a mode for compressing and storing image data. Then, the image data input to the data bus 5 is supplied to the compression circuit Ai specified by the control signal S.

【0155】そして、その圧縮回路Aiは、制御回路4
2の指示に従って、データバス5から入力された画像デ
ータを圧縮し、データバス6へ出力する。
The compression circuit Ai is controlled by the control circuit 4
According to the instruction of 2, the image data input from the data bus 5 is compressed and output to the data bus 6.

【0156】圧縮に際しては、圧縮回路Aiと制御回路
42との間で、圧縮時におけるパラメータ(以下、「圧
縮パラメータ」と呼ぶ。)、圧縮開始・終了等の制御信
号、及び、符号ビット数等の圧縮情報、が取り交わされ
る。
At the time of compression, between the compression circuit Ai and the control circuit 42, parameters at the time of compression (hereinafter, referred to as "compression parameters"), control signals such as start / end of compression, the number of code bits, etc. Are exchanged.

【0157】圧縮回路A1〜AIの各々は、圧縮した画
像データの1フレーム当たりのデータ量が、圧縮回路A
iの相互間で異なるような、圧縮方式及び圧縮率を備え
ている。
Each of the compression circuits A1 to AI reduces the amount of compressed image data per frame by the compression circuit A.
i has different compression schemes and compression ratios.

【0158】つまり、圧縮回路A1〜AIの各々の圧縮
率は、互いに異なっている。なお、圧縮回路A1〜AI
の各々の圧縮率が、互いに異なっていればよく、圧縮方
式は、同じでも、異なっていてもよい。
That is, the compression ratios of the compression circuits A1 to AI are different from each other. The compression circuits A1 to AI
The compression ratios may be different from each other, and the compression schemes may be the same or different.

【0159】圧縮回路Aiが備える圧縮方式としては、
例えば、画面内の空間的相関を利用して隣接画素の差分
データをエントロピー符号化する方式、DCT(dis
crete cosine transform)等の
直交変換を施して周波数変換し量子化後のデータをエン
トロピー符号化する方式、ウェーブレット変換等のサブ
バンド符号化方式、又は、一定の間隔でダウンサンプリ
ングすることで間引きを行う方式、などがある。
The compression method provided in the compression circuit Ai includes:
For example, a method of entropy coding differential data of adjacent pixels using spatial correlation in a screen, DCT (dis
A method of performing orthogonal transformation such as create cosine transform) to perform frequency transformation and entropy encoding of quantized data, a sub-band encoding method such as wavelet transformation, or down-sampling by down-sampling at regular intervals. Method, and so on.

【0160】さて、データバス5から直接データバス6
へ入力された圧縮されていない画像データ、及び、圧縮
回路Aiからデータバス6に入力された圧縮された画像
データ、はフレームメモリM1〜MJのうちのいずれか
に書き込まれる。
Now, the data bus 5 is directly connected to the data bus 6
The non-compressed image data input to the data bus 6 and the compressed image data input to the data bus 6 from the compression circuit Ai are written to any of the frame memories M1 to MJ.

【0161】フレームメモリMjへの画像データの書き
込みの際には、メモリ制御手段41は、画像データの書
き込みを行うフレームメモリMjと、書き込みを行うフ
レームメモリMjにおけるアドレスと、を指定する。
When writing image data to the frame memory Mj, the memory control means 41 designates a frame memory Mj for writing image data and an address in the frame memory Mj for writing.

【0162】また、メモリ制御手段41は、画像データ
記憶手段2に記憶されている画像データを、マクロブロ
ック単位で任意に外部へ出力できるように、フレームメ
モリMjへの画像データの記憶に関する情報(以下、
「記憶関連情報」と呼ぶ。)を保持する。
Further, the memory control means 41 stores information (referred to as image data storage in the frame memory Mj) so that the image data stored in the image data storage means 2 can be arbitrarily output to the outside in macroblock units. Less than,
It is called “storage-related information”. ) Hold.

【0163】図2は、メモリ制御手段41が保持する第
1の記憶関連情報の説明図である。図2に示すように、
第1の記憶関連情報は、フレームメモリM1〜MJの各
々に対して、記憶しているフレームの番号、記憶形態、
及び、伸長時に必要な圧縮パラメータ、を関連づけたも
のである。
FIG. 2 is an explanatory diagram of the first storage-related information held by the memory control means 41. As shown in FIG.
The first storage-related information includes, for each of the frame memories M1 to MJ, a stored frame number, a storage mode,
And a compression parameter necessary at the time of decompression.

【0164】図2のフレームメモリの欄の「M1〜M
J」は、図1のフレームメモリM1〜MJに付した符号
M1〜MJと対応している。
"M1 to M" in the column of the frame memory in FIG.
“J” corresponds to the symbols M1 to MJ assigned to the frame memories M1 to MJ in FIG.

【0165】フレーム番号の欄には、各フレームメモリ
M1〜MJが記憶ているフレームの識別番号を記載して
いる。
The column of frame number describes the identification number of the frame stored in each of the frame memories M1 to MJ.

【0166】記憶形態の欄に示している「A0」は、記
憶形態が圧縮せずに記憶する形態であることを示してい
る。
“A0” shown in the column of the storage format indicates that the storage format is a format for storing without compression.

【0167】記憶形態の欄に示している「A1〜AI」
は、図1の圧縮回路A1〜AIに付した符号A1〜AI
と対応しており、例えば、記憶形態の欄の「A1」は、
記憶形態が圧縮回路A1により圧縮して記憶する形態で
あることを示している。
"A1 to AI" shown in the column of storage mode
Are the symbols A1 to AI assigned to the compression circuits A1 to AI in FIG.
For example, “A1” in the column of the storage mode is
This indicates that the storage mode is a mode in which the data is compressed and stored by the compression circuit A1.

【0168】圧縮パラメータの欄には、各圧縮回路A1
〜AIにおける圧縮パラメータ(圧縮時に用いたパラメ
ータ)を記載している。
In the column of compression parameters, each compression circuit A1
~ Compression parameters (parameters used during compression) are described.

【0169】図3は、メモリ制御手段41が保持する第
2の記憶関連情報の説明図である。メモリ制御手段41
は、図3に示すような第2の記憶関連情報を、フレーム
メモリM1〜MJごとに保持する。
FIG. 3 is an explanatory diagram of the second storage related information held by the memory control means 41. Memory control means 41
Holds the second storage related information as shown in FIG. 3 for each of the frame memories M1 to MJ.

【0170】図3に示すように、第2の記憶関連情報
は、記憶しているフレームのマクロブロックの番号に対
して、そのマクロブロックの番号の画像データが記憶さ
れている記憶領域の先頭アドレスを関連づけたものであ
る。
As shown in FIG. 3, the second storage-related information includes, for a macroblock number of a stored frame, a head address of a storage area in which image data of the macroblock number is stored. Is related.

【0171】なお、図3のマクロブロックの番号の欄の
「K」は、1フレームに含まれるマクロブロックの数を
表す。
Note that “K” in the macroblock number column in FIG. 3 represents the number of macroblocks included in one frame.

【0172】ここまでは、画像データをフレームメモリ
Mjに書き込む際の説明である。フレームメモリMjか
ら画像データを読み出すときには、読み出すべきマクロ
ブロックが属するフレームの番号を表す情報及び読み出
すべきマクロブロックの番号を表す情報、が外部から制
御手段4に制御信号Sとして与えられる。
The description so far is for writing image data in the frame memory Mj. When reading image data from the frame memory Mj, information indicating the number of the frame to which the macroblock to be read belongs and information indicating the number of the macroblock to be read are externally given to the control means 4 as a control signal S.

【0173】そして、メモリ制御手段41は、第1の記
憶関連情報(図2)を参照して、読み出すべきマクロブ
ロックが属するフレームの番号から、読み出すべきマク
ロブロックの属するフレームが記憶されているフレーム
メモリMjを特定する。
The memory control means 41 refers to the first storage-related information (FIG. 2) and determines, from the number of the frame to which the macroblock to be read belongs, the frame in which the frame to which the macroblock to be read belongs is stored. Specify the memory Mj.

【0174】さらに、メモリ制御手段41は、第2の記
憶関連情報(図3)を参照して、読み出すべきマクロブ
ロックの番号から、読み出すべきマクロブロックの画像
データが記憶されている記憶領域の先頭アドレスを特定
する。
Further, referring to the second storage related information (FIG. 3), the memory control means 41 determines the number of the macro block to be read and the head of the storage area in which the image data of the macro block to be read is stored. Identify the address.

【0175】そして、メモリ制御手段41は、該当する
フレームメモリMjに対して、該当する記憶領域から、
読み出すべきマクロブロックの画像データをデータバス
7に出力するように指示する。
Then, the memory control means 41, for the corresponding frame memory Mj,
An instruction is issued to output image data of a macro block to be read to the data bus 7.

【0176】この指示を受けたフレームメモリMjは、
該当する記憶領域から、読み出すべきマクロブロックの
画像データをデータバス7に出力する。
The frame memory Mj receiving this instruction stores
The image data of the macro block to be read is output to the data bus 7 from the corresponding storage area.

【0177】データバス7に入力された読み出すべきマ
クロブロックの画像データが圧縮されていない場合は、
その画像データは、データバス8に直接出力される。
When the image data of the macro block to be read, which is input to the data bus 7, is not compressed,
The image data is directly output to the data bus 8.

【0178】一方、データバス7に入力された読み出す
べきマクロブロックの画像データが圧縮されている場合
は、メモリ制御手段41は、第1の記憶関連情報(図
2)を参照して、読み出すべきマクロブロックが属する
フレームの番号から、その画像データの記憶形態を特定
する。
On the other hand, when the image data of the macro block to be read which is input to the data bus 7 is compressed, the memory control means 41 should read with reference to the first storage related information (FIG. 2). The storage mode of the image data is specified from the number of the frame to which the macro block belongs.

【0179】さらに、メモリ制御手段41は、特定した
記憶形態から、その画像データを圧縮した圧縮回路Ai
を特定する。
Further, the memory control means 41 uses the compression circuit Ai for compressing the image data from the specified storage mode.
To identify.

【0180】そして、制御回路42は、データバス7を
制御して、メモリ制御手段41が特定した圧縮回路Ai
に対応する伸長回路Biに対して、データバス7に入力
された読み出すべきマクロブロックの画像データを出力
する。
The control circuit 42 controls the data bus 7 to control the compression circuit Ai specified by the memory control means 41.
The image data of the macro block to be read, which is input to the data bus 7, is output to the decompression circuit Bi corresponding to

【0181】メモリ制御手段41が特定した圧縮回路A
iに対応する伸長回路Biは、メモリ制御手段41か
ら、第1の記憶関連情報の圧縮パラメータを受け取り、
この圧縮パラメータに基づいて、データバス7から入力
した読み出すべきマクロブロックの画像データを伸長す
る。伸長されたその画像データは、データバス8へ出力
される。
The compression circuit A specified by the memory control means 41
The decompression circuit Bi corresponding to i receives the compression parameter of the first storage related information from the memory control means 41,
Based on the compression parameter, the image data of the macro block to be read, which is input from the data bus 7, is expanded. The decompressed image data is output to the data bus 8.

【0182】さて、データバス8に入力された読み出す
べきマクロブロックの画像データは、順次外部へ出力さ
れる。
The image data of the macro block to be read, which has been input to the data bus 8, is sequentially output to the outside.

【0183】なお、I個の伸長回路B1〜BIとI個の
圧縮回路A1〜AIと、は1対1に対応しており、伸長
回路Biは対応する圧縮回路Aiが圧縮した画像データ
を伸長する。
The I decompression circuits B1 to BI and the I compression circuits A1 to AI have a one-to-one correspondence, and the decompression circuit Bi decompresses the image data compressed by the corresponding compression circuit Ai. I do.

【0184】つまり、伸長回路Biは、対応する圧縮回
路Aiに対応する伸長方式を備える。
That is, the decompression circuit Bi has a decompression method corresponding to the corresponding compression circuit Ai.

【0185】さて、外部からの制御信号Sによって、制
御手段4に対して、画像データ記憶手段2に記憶してい
る画像データの記憶形態を変更する指示があった場合に
は、次のような処理が行われる。
When an external control signal S instructs the control means 4 to change the storage mode of the image data stored in the image data storage means 2, the following is performed. Processing is performed.

【0186】この場合、新たな記憶形態を表す情報、記
憶形態を変更すべきマクロブロックが属するフレームの
番号を表す情報及び記憶形態を変更すべきマクロブロッ
クの番号を表す情報、が外部から制御手段4に制御信号
Sとして与えられる。
In this case, the information indicating the new storage mode, the information indicating the number of the frame to which the macroblock whose storage mode should be changed belongs, and the information indicating the number of the macroblock whose storage mode should be changed are externally supplied to the control means. 4 as a control signal S.

【0187】そして、メモリ制御手段41は、第1の記
憶関連情報(図2)を参照して、記憶形態を変更すべき
マクロブロックが属するフレームの番号から、記憶形態
を変更すべきマクロブロックの属するフレームが記憶さ
れているフレームメモリMjを特定する。
The memory control means 41 refers to the first storage-related information (FIG. 2) and determines the number of the frame to which the storage mode to be changed belongs from the number of the frame to which the storage mode is to be changed. The frame memory Mj storing the frame to which the frame belongs is specified.

【0188】さらに、メモリ制御手段41は、第2の記
憶関連情報(図3)を参照して、記憶形態を変更すべき
マクロブロックの番号から、記憶形態を変更すべきマク
ロブロックの画像データが記憶されている記憶領域の先
頭アドレスを特定する。
Further, the memory control means 41 refers to the second storage-related information (FIG. 3) and determines the image data of the macro block whose storage mode is to be changed from the number of the macro block whose storage mode is to be changed. Identify the start address of the stored storage area.

【0189】そして、メモリ制御手段41は、該当する
フレームメモリMjに対して、該当する記憶領域から、
記憶形態を変更すべきマクロブロックの画像データをデ
ータバス7に出力するように指示する。
Then, the memory control means 41 sends the relevant frame memory Mj from the relevant storage area
An instruction is issued to output image data of a macroblock whose storage mode is to be changed to the data bus 7.

【0190】この指示を受けたフレームメモリMjは、
該当する記憶領域から、記憶形態を変更すべきマクロブ
ロックの画像データをデータバス7に出力する。
Upon receiving this instruction, the frame memory Mj
The image data of the macro block whose storage mode is to be changed is output to the data bus 7 from the corresponding storage area.

【0191】データバス7に入力された記憶形態を変更
すべきマクロブロックの画像データが圧縮されていない
場合は、その画像データは、データバス8に直接出力さ
れる。
If the image data of the macroblock whose storage mode is to be changed and which is input to the data bus 7 is not compressed, the image data is directly output to the data bus 8.

【0192】一方、データバス7に入力された記憶形態
を変更すべきマクロブロックの画像データが圧縮されて
いる場合は、メモリ制御手段41は、第1の記憶関連情
報(図2)を参照して、記憶形態を変更すべきマクロブ
ロックが属するフレームの番号から、その画像データの
記憶形態を特定する。
On the other hand, when the image data of the macro block whose storage mode is to be changed, which is input to the data bus 7, is compressed, the memory control means 41 refers to the first storage related information (FIG. 2). Then, the storage mode of the image data is specified from the number of the frame to which the macroblock whose storage mode should be changed belongs.

【0193】さらに、メモリ制御手段41は、特定した
記憶形態から、その画像データを圧縮した圧縮回路Ai
を特定する。
Further, the memory control means 41 uses a compression circuit Ai for compressing the image data from the specified storage mode.
To identify.

【0194】そして、制御回路42は、データバス7を
制御して、メモリ制御手段41が特定した圧縮回路Ai
に対応する伸長回路Biに対して、データバス7に入力
された記憶形態を変更すべきマクロブロックの画像デー
タを出力する。
Then, the control circuit 42 controls the data bus 7 so that the compression circuit Ai
The image data of the macro block whose storage mode is to be changed, which is input to the data bus 7, is output to the decompression circuit Bi corresponding to.

【0195】メモリ制御手段41が特定した圧縮回路A
iに対応する伸長回路Biは、メモリ制御手段41か
ら、第1の記憶関連情報の圧縮パラメータを受け取り、
この圧縮パラメータに基づいて、データバス7から入力
した記憶形態を変更すべきマクロブロックの画像データ
を伸長する。伸長されたその画像データは、データバス
8へ出力される。
The compression circuit A specified by the memory control means 41
The decompression circuit Bi corresponding to i receives the compression parameter of the first storage related information from the memory control means 41,
Based on the compression parameter, the image data of the macroblock whose storage mode is to be changed, which is input from the data bus 7, is expanded. The decompressed image data is output to the data bus 8.

【0196】さて、制御回路42は、データバス8へ入
力された記憶形態を変更すべきマクロブロックの画像デ
ータをデータバス5へ出力する。
The control circuit 42 outputs to the data bus 5 the image data of the macroblock whose storage mode is to be changed, which is input to the data bus 8.

【0197】さらに、制御回路42は、データバス5を
制御して、データバス5に入力された記憶形態を変更す
べきマクロブロックの画像データを、新たな記憶形態に
対応する圧縮回路Aiへ与える。
Further, the control circuit 42 controls the data bus 5 to supply the image data of the macro block whose storage mode is to be changed, which is input to the data bus 5, to the compression circuit Ai corresponding to the new storage mode. .

【0198】そして、その圧縮回路Aiは、制御回路4
2の指示に従って、データバス5から入力された記憶形
態を変更すべきマクロブロックの画像データを圧縮し、
データバス6へ出力する。
The compression circuit Ai is controlled by the control circuit 4
2, the image data of the macroblock whose storage mode is to be changed, which is input from the data bus 5, is compressed,
Output to the data bus 6.

【0199】制御回路42は、第1の記憶関連情報(図
2)を参照して、新たな記憶形態に関する情報から、記
憶形態を変更すべきマクロブロックの画像データを記憶
するフレームメモリMjを特定する。
The control circuit 42 refers to the first storage-related information (FIG. 2) and specifies the frame memory Mj for storing the image data of the macroblock whose storage mode is to be changed from the information on the new storage mode. I do.

【0200】そして、制御回路42は、データバス6を
制御して、データバス6へ入力された記憶形態を変更す
べきマクロブロックの画像データを、特定したフレーム
メモリMjに与える。
Then, the control circuit 42 controls the data bus 6 to supply the specified frame memory Mj with the image data of the macro block whose storage mode is to be changed, input to the data bus 6.

【0201】そして、そのフレームメモリMjは、デー
タバス6から入力された記憶形態を変更すべきマクロブ
ロックの画像データを記憶する。以上のようにして、記
憶形態の変更が実行される。
[0201] The frame memory Mj stores the image data of the macroblock whose storage mode is to be changed, which is input from the data bus 6. As described above, the storage mode is changed.

【0202】さて、本実施の形態において、I(圧縮回
路Ai及び伸長回路Biの数)=1、J(フレームメモ
リMjの数)=2、として、圧縮しない画像データを記
憶するフレームメモリM1が、複数枚のフレームの画像
データを記憶するとする。
In the present embodiment, assuming that I (the number of compression circuits Ai and decompression circuits Bi) = 1 and J (the number of frame memories Mj) = 2, the frame memory M1 for storing uncompressed image data is provided. Assume that image data of a plurality of frames is stored.

【0203】この場合は、画像処理の際に使用頻度が高
いフレームの画像データは、圧縮せずにフレームメモリ
M1に記憶させ、使用頻度が低いフレームの画像データ
は、圧縮してフレームメモリM2に記憶させることがで
きる。
In this case, the image data of the frame frequently used in the image processing is stored in the frame memory M1 without being compressed, and the image data of the frame used infrequently is compressed and stored in the frame memory M2. Can be memorized.

【0204】このため、記憶している画像データを伸長
するための処理量の増加を抑制でき、また、記憶する画
像データを圧縮するための処理量の増加を抑制できる。
Therefore, an increase in the amount of processing for expanding the stored image data can be suppressed, and an increase in the amount of processing for compressing the stored image data can be suppressed.

【0205】また、使用頻度が低いフレームの画像デー
タは、圧縮してフレームメモリM2に記憶させること
で、記憶容量の削減を図ることができる。
Further, by compressing the image data of the frame which is not frequently used and storing it in the frame memory M2, the storage capacity can be reduced.

【0206】以上のように、複数のフレームの画像デー
タを記憶する画像データ記憶装置において、各フレーム
に対して、使用頻度を考慮した適切な記憶形態を選択で
きる。
As described above, in the image data storage device that stores the image data of a plurality of frames, it is possible to select an appropriate storage mode in consideration of the frequency of use for each frame.

【0207】その結果、処理量の増加の抑制を図りなが
らも、記憶容量の削減を図ることができる。
As a result, it is possible to reduce the storage capacity while suppressing an increase in the processing amount.

【0208】さて、本実施の形態において、「I(圧縮
回路Ai及び伸長回路Biの数)」を2以上、「J(フ
レームメモリMjの数)」を3以上、として、圧縮しな
い画像データを記憶するフレームメモリM1が、1枚又
は複数枚のフレームの画像データを記憶するとする。
In the present embodiment, “I (the number of compression circuits Ai and decompression circuits Bi)” is 2 or more, and “J (the number of frame memories Mj)” is 3 or more. It is assumed that the storing frame memory M1 stores image data of one or a plurality of frames.

【0209】この場合は、画像処理の際に使用頻度が高
いフレームの画像データは、圧縮せずにフレームメモリ
M1に記憶させ、使用頻度が低いフレームの画像データ
は、圧縮してフレームメモリM2〜MJに記憶させるこ
とができる。
In this case, the image data of the frame frequently used in the image processing is stored in the frame memory M1 without being compressed, and the image data of the frame used infrequently is compressed and stored in the frame memory M2. It can be stored in the MJ.

【0210】このため、記憶している画像データを伸長
するための処理量の増加を抑制でき、また、記憶する画
像データを圧縮するための処理量の増加を抑制できる。
Therefore, it is possible to suppress an increase in the amount of processing for expanding the stored image data, and to suppress an increase in the amount of processing for compressing the stored image data.

【0211】また、画像処理の際の使用頻度が低くなる
に従って、より大きい圧縮率の圧縮回路Aiで画像デー
タを圧縮して、対応するフレームメモリMjに記憶させ
ることで、記憶容量の削減を一層効果的に図ることがで
きる。
Further, as the frequency of use in image processing decreases, image data is compressed by a compression circuit Ai having a higher compression ratio and stored in the corresponding frame memory Mj, thereby further reducing the storage capacity. It can be achieved effectively.

【0212】以上のように、複数のフレームの画像デー
タを記憶する画像データ記憶装置において、各フレーム
に対して、使用頻度を考慮した一層適切な記憶形態を選
択できる。
As described above, in the image data storage device that stores the image data of a plurality of frames, a more appropriate storage mode can be selected for each frame in consideration of the frequency of use.

【0213】その結果、処理量の増加の抑制を図りなが
らも、記憶容量の削減を一層効果的に図ることができ
る。
As a result, the storage capacity can be more effectively reduced while suppressing an increase in the processing amount.

【0214】なお、本実施の形態では、フレームメモリ
Mjへの蓄積処理、及び、フレームメモリMjからの出
力処理、のデータ処理単位は、16×16画素のマクロ
ブロック単位として説明した。
In the present embodiment, the data processing unit of the accumulation processing in the frame memory Mj and the output processing from the frame memory Mj has been described as a macroblock unit of 16 × 16 pixels.

【0215】ただし、データ処理単位は、マクロブロッ
ク単位に限定するものではない。例えば、8×8画素、
8×16画素等、データ処理単位となるブロックサイズ
は、任意に決定できる。
However, the data processing unit is not limited to the macro block unit. For example, 8 × 8 pixels,
The block size serving as a data processing unit, such as 8 × 16 pixels, can be arbitrarily determined.

【0216】さて、上記した図1の画像データ記憶装置
は、例えば、動画像を記憶するために用いることができ
る。
The image data storage device shown in FIG. 1 can be used, for example, for storing moving images.

【0217】また、上記した図1の画像データ記憶装置
は、例えば、静止画像を記憶するために用いることがで
きる。そして、画像データの使用目的に応じて、画像デ
ータの画質、記憶枚数、等を考慮した適切な記憶形態を
選択できる。このため、この場合も、処理量の増加の抑
制を図りながらも、記憶容量の削減を図ることができ
る。
The image data storage device shown in FIG. 1 can be used for storing a still image, for example. Then, an appropriate storage mode can be selected in consideration of the image quality of the image data, the number of stored images, and the like according to the purpose of use of the image data. Therefore, also in this case, the storage capacity can be reduced while suppressing an increase in the processing amount.

【0218】例えば、非常に気に入った静止画像は圧縮
せずに記憶し、単に気に入った静止画像は可逆圧縮によ
り小さな圧縮率で圧縮して記憶し、とりあえず残してお
く静止画像は非可逆圧縮により大きな圧縮率で圧縮して
記憶することができる。
For example, a very favorite still image is stored without compression, a favorite still image is simply compressed and stored at a low compression ratio by lossless compression, and a still image to be temporarily stored is large by irreversible compression. It can be compressed and stored at the compression ratio.

【0219】また、上記した図1の画像データ記憶装置
では、圧縮回路A1〜AIの各々の圧縮率は、互いに異
なっていた。
In the image data storage device shown in FIG. 1, the compression ratios of the compression circuits A1 to AI are different from each other.

【0220】しかし、これに限定されるものではなく、
例えば、圧縮回路A1〜AIの各々の圧縮方式を、互い
に異なるようにすることもできる。この場合、圧縮回路
A1〜AIの各々の圧縮率は、互いに同じにすることも
できるし、異なるようにすることもできる。
However, the present invention is not limited to this.
For example, the compression schemes of the compression circuits A1 to AI may be different from each other. In this case, the compression ratios of the compression circuits A1 to AI may be the same as each other or may be different.

【0221】これにより、ユーザは、画像データを、圧
縮せずに記憶するのか、あるいは、圧縮して記憶するの
か、さらに、圧縮して記憶する場合は、どの圧縮方式で
圧縮して記憶するのか、をフレーム単位で任意に選択で
きる。
Thus, the user can select whether to store the image data without compression, or to store the image data after compression, and if compression is to be performed, which compression method should be used to store the image data. , Can be arbitrarily selected in frame units.

【0222】その結果、ユーザの利便性の向上を図りな
がらも、記憶容量の削減を図ることができる。
As a result, it is possible to reduce the storage capacity while improving the convenience for the user.

【0223】(実施の形態2)本発明の実施の形態2に
おける動画像圧縮伸長システムは、動画像符号化装置及
び動画像復号化装置、を備える。まず、この動画像符号
化装置について説明する。
(Embodiment 2) A moving picture compression / decompression system according to Embodiment 2 of the present invention includes a moving picture coding apparatus and a moving picture decoding apparatus. First, the moving picture coding apparatus will be described.

【0224】図4は、本発明の実施の形態2における動
画像符号化装置のブロック図である。
FIG. 4 is a block diagram of a moving picture coding apparatus according to Embodiment 2 of the present invention.

【0225】図4に示すように、この動画像符号化装置
は、減算器10、直交変換回路20、量子化回路30、
可変長符号化回路40、逆量子化回路50、逆直交変換
回路60、加算器70、画像データ記憶装置80、動き
補償回路90、及び、動き検出回路100、を具備す
る、
As shown in FIG. 4, the moving picture coding apparatus comprises a subtracter 10, an orthogonal transform circuit 20, a quantizing circuit 30,
A variable length encoding circuit 40, an inverse quantization circuit 50, an inverse orthogonal transform circuit 60, an adder 70, an image data storage device 80, a motion compensation circuit 90, and a motion detection circuit 100.

【0226】この動画像符号化装置は、H.263ある
いはMPEG−4等の動画像符号化方式で用いられてい
る動き補償と直交変換との組み合わせによるハイブリッ
ド形式による符号化を実現する。
This moving picture coding apparatus is based on H.264. The present invention realizes encoding in a hybrid format by a combination of motion compensation and orthogonal transform used in a moving image encoding method such as H.263 or MPEG-4.

【0227】また、画像データ記憶装置80は、図1に
示した実施の形態1における画像データ記憶装置と同様
のものである。
The image data storage device 80 is the same as the image data storage device according to the first embodiment shown in FIG.

【0228】この動画像符号化装置による符号化方式で
は、動き補償において参照できる画像(以下、「参照フ
レーム」と呼ぶ。)は、符号化対象フレームより以前に
符号化を行った複数枚のフレームとする。
In the coding method of this moving picture coding apparatus, an image that can be referred to in motion compensation (hereinafter referred to as a “reference frame”) is composed of a plurality of frames that have been coded before the current frame. And

【0229】なお、参照フレームは、符号化対象フレー
ムより過去のフレームということになる。
Note that the reference frame is a frame earlier than the encoding target frame.

【0230】さて、次に、図4の動画像符号化装置にお
ける処理の流れを説明する。動画像符号化装置に動画像
データが入力されると、まず、動き検出回路100にお
いて動きベクトルの検出が行われる。
Next, the flow of processing in the moving picture coding apparatus shown in FIG. 4 will be described. When moving image data is input to the moving image encoding device, first, the motion detection circuit 100 detects a motion vector.

【0231】動き検出回路100は、動画像符号化装置
の外部から入力された符号化対象となる動画像データ
と、画像データ記憶装置80から入力された参照フレー
ムの画像データと、を用いて、動きベクトルを検出し、
動き補償回路90に出力する。
The motion detection circuit 100 uses the video data to be encoded input from outside the video encoding device and the image data of the reference frame input from the image data storage device 80, Detect motion vector,
Output to the motion compensation circuit 90.

【0232】動き補償回路90は、動き検出回路100
から入力された動きベクトルと、画像データ記憶装置8
0から入力された参照フレームの画像データと、を用い
て、動き補償を行う。
The motion compensation circuit 90 includes a motion detection circuit 100
The motion vector input from the
Motion compensation is performed using the reference frame image data input from 0.

【0233】減算器10は、動き検出に用いた符号化対
象となる動画像データから、動き補償回路90から入力
される動き補償済みの画像データを減算し、差分データ
を求めて、直交変換回路20に出力する。
The subtracter 10 subtracts the motion-compensated image data input from the motion compensation circuit 90 from the video data to be encoded used for motion detection, obtains difference data, and obtains the difference data. 20.

【0234】なお、これまでの処理は、動き補償を行う
場合についての処理であり、フレーム間で差分を取らず
動き補償を行わない場合には、外部から入力される動画
像データは、減算器10による処理を行わず、そのまま
直交変換回路20に入力される。
The processing up to this point is for the case where motion compensation is performed. In the case where no difference is taken between frames and motion compensation is not performed, the moving image data input from the outside is subtracted by a subtractor. The signal is directly input to the orthogonal transformation circuit 20 without performing the processing by 10.

【0235】直交変換回路20は、入力された画像デー
タに対して直交変換処理を施し、量子化回路30に出力
する。
The orthogonal transformation circuit 20 performs an orthogonal transformation process on the input image data, and outputs the result to the quantization circuit 30.

【0236】量子化回路30は、入力された画像データ
に対して量子化処理を施し、可変長符号化回路40に出
力する。
The quantization circuit 30 performs a quantization process on the input image data and outputs the result to the variable length coding circuit 40.

【0237】可変長符号化回路40は、入力された画像
データに対して可変長符号化処理を施し、動画像符号化
データとして外部に出力する。
The variable-length coding circuit 40 performs variable-length coding on the input image data, and outputs it as moving image coded data to the outside.

【0238】一方、局所的復号化と呼ばれる処理が行わ
れる。量子化回路30は、量子化した画像データを、可
変長符号化回路40に出力すると同時に、逆量子化回路
50に出力する。
On the other hand, a process called local decoding is performed. The quantization circuit 30 outputs the quantized image data to the variable-length encoding circuit 40 and to the inverse quantization circuit 50 at the same time.

【0239】逆量子化回路50は、入力された画像デー
タに対して、量子化回路30による量子化時と同じ量子
化テーブルによる逆量子化処理を施し、逆直交変換回路
60に出力する。
The inverse quantization circuit 50 performs an inverse quantization process on the input image data using the same quantization table as that used when the quantization circuit 30 performs quantization, and outputs the result to the inverse orthogonal transform circuit 60.

【0240】逆直交変換回路60は、入力された画像デ
ータに対して、逆直交変換処理を施し、加算器70又は
画像データ記憶装置80に出力する。
The inverse orthogonal transform circuit 60 performs an inverse orthogonal transform process on the input image data, and outputs the result to the adder 70 or the image data storage device 80.

【0241】この場合、逆直交変換回路60に入力され
た画像データが、動き補償を行ったものであるときは、
逆直交変換処理が施された画像データは、加算器70に
出力される。
In this case, when the image data input to the inverse orthogonal transform circuit 60 has been subjected to motion compensation,
The image data subjected to the inverse orthogonal transform processing is output to the adder 70.

【0242】一方、逆直交変換回路60に入力された画
像データが、動き補償を行ったものでないときは、逆直
交変換処理が施された画像データは、復号された画像デ
ータとして、画像データ記憶装置80に出力される。
On the other hand, when the image data input to the inverse orthogonal transform circuit 60 has not been subjected to motion compensation, the image data subjected to the inverse orthogonal transform processing is stored as decoded image data in the image data storage. Output to the device 80.

【0243】さて、加算器70は、動き補償回路90か
ら入力される動き補償済みの画像データと、逆直交変換
回路60から入力される画像データである差分データ
と、を加算することにより、直交変換及び量子化された
画像データを復号して、画像データ記憶装置80に出力
する。
The adder 70 adds the motion-compensated image data input from the motion compensation circuit 90 and the difference data, which is the image data input from the inverse orthogonal transform circuit 60, to form an orthogonal signal. The transformed and quantized image data is decoded and output to the image data storage device 80.

【0244】画像データ記憶装置80は、逆直交変換回
路60から入力された画像データ、及び、加算器70か
ら入力された画像データ、を次のフレームの符号化処理
における参照フレームの画像データとして記憶する。
The image data storage device 80 stores the image data input from the inverse orthogonal transform circuit 60 and the image data input from the adder 70 as the image data of the reference frame in the encoding processing of the next frame. I do.

【0245】次に、実施の形態2における動画像復号化
装置について説明する。図5は、本発明の実施の形態2
における動画像復号化装置のブロック図である。なお、
図5において、図4と同様の部分については、同一の符
号を付して説明を適宜省略する。
Next, a moving picture decoding apparatus according to Embodiment 2 will be described. FIG. 5 shows Embodiment 2 of the present invention.
3 is a block diagram of a video decoding device in FIG. In addition,
5, the same components as those in FIG. 4 are denoted by the same reference numerals, and the description will be appropriately omitted.

【0246】図5に示すように、この動画像復号化装置
は、可変長復号化回路110、逆量子化回路50、逆直
交変換回路60、加算器70、画像データ記憶装置8
0、及び、動き補償回路90、を具備する。
As shown in FIG. 5, this moving picture decoding apparatus comprises a variable length decoding circuit 110, an inverse quantization circuit 50, an inverse orthogonal transform circuit 60, an adder 70, and an image data storage device 8.
0 and a motion compensation circuit 90.

【0247】この動画像復号化装置による復号化方式に
おいても、上記した動画像符号化装置と同様、動き補償
において参照できる画像(参照フレーム)は、復号化対
象フレームより以前に復号化を行った複数枚のフレーム
とする。
In this decoding method using the moving picture decoding apparatus, an image (reference frame) that can be referred to in motion compensation is decoded before the decoding target frame, as in the above moving picture coding apparatus. Multiple frames.

【0248】なお、参照フレームは、復号化対象フレー
ムより過去のフレームということになる。
Note that the reference frame is a frame that is earlier than the frame to be decoded.

【0249】さて、次に、図5の動画像復号化装置にお
ける処理の流れを説明する。可変長復号化回路110
は、入力される動画像符号化データに対して可変長復号
化処理を施して、逆量子化回路50に出力する。
Next, the flow of processing in the moving picture decoding apparatus shown in FIG. 5 will be described. Variable length decoding circuit 110
Performs variable-length decoding on the input encoded video data and outputs the result to the inverse quantization circuit 50.

【0250】逆量子化回路50は、入力された画像デー
タに対して逆量子化処理を施して、逆直交変換回路60
に出力する。
The inverse quantization circuit 50 performs an inverse quantization process on the input image data, and
Output to

【0251】逆直交変換回路60は、入力された画像デ
ータがフレーム間圧縮された画像データである場合は、
逆直交変換処理を施した画像データを、加算器70に出
力する。
If the input image data is image data compressed between frames, the inverse orthogonal transform circuit 60
The image data subjected to the inverse orthogonal transform processing is output to the adder 70.

【0252】一方、逆直交変換回路50は、入力された
画像データがフレーム間圧縮された画像データでない場
合は、逆直交変換処理を施した画像データを、復号した
動画像データとして、外部及び画像データ記憶装置80
に出力する。
On the other hand, when the input image data is not image data compressed between frames, the inverse orthogonal transform circuit 50 converts the image data subjected to the inverse orthogonal transform process into decoded moving image data to the external and the image data. Data storage device 80
Output to

【0253】さて、加算器70は、動き補償回路90か
ら入力される動き補償済みの画像データと、逆直交変換
回路60から入力される画像データである差分データ
と、を加算して、その加算結果を、復号化した動画像デ
ータとして、外部及び画像データ記憶装置80に出力す
る。
The adder 70 adds the motion-compensated image data input from the motion compensation circuit 90 and the difference data that is the image data input from the inverse orthogonal transform circuit 60, and adds the added data. The result is output to the external and image data storage device 80 as decoded moving image data.

【0254】画像データ記憶装置80は、逆直交変換回
路60から入力された画像データ、及び、加算器70か
ら入力された画像データ、を次のフレームの復号化処理
における参照フレームの画像データとして記憶する。
The image data storage device 80 stores the image data input from the inverse orthogonal transform circuit 60 and the image data input from the adder 70 as the image data of the reference frame in the decoding processing of the next frame. I do.

【0255】動き補償回路90は、可変長復号化回路1
10から復号して入力される動きベクトルと、画像デー
タ記憶装置80から入力される参照フレームの画像デー
タと、を受け取り、動き補償を行う。
The motion compensating circuit 90 includes the variable length decoding circuit 1
10 and receives the motion vector decoded and input from the image data 10 and the image data of the reference frame input from the image data storage device 80, and performs motion compensation.

【0256】さて、次に、図5の動画像復号化装置にお
ける画像データ記憶装置80の詳細を説明する。
Next, the details of the image data storage device 80 in the video decoding device of FIG. 5 will be described.

【0257】図6は、図5の動画像復号化装置における
画像データ記憶装置80のブロック図である。なお、図
6において、図1と同様の部分については、同一の符号
を付して説明を適宜省略する。
FIG. 6 is a block diagram of the image data storage device 80 in the moving picture decoding device of FIG. In FIG. 6, the same components as those in FIG.

【0258】図6に示すように、図5の画像データ記憶
装置80は、画像データ圧縮手段1、画像データ記憶手
段2、画像データ伸長手段3、及び、制御手段4、を含
む。
As shown in FIG. 6, the image data storage device 80 of FIG. 5 includes an image data compression unit 1, an image data storage unit 2, an image data decompression unit 3, and a control unit 4.

【0259】画像データ圧縮手段1は、圧縮回路A1、
A2、A3を含む。
The image data compression means 1 comprises a compression circuit A1,
A2 and A3 are included.

【0260】画像データ記憶手段2は、フレームメモリ
M1、M2、M3、M4を含む。フレームメモリM1
は、フレーム領域M1a、M1bを含む。フレームメモ
リM2は、フレーム領域M2a、M2bを含む。フレー
ムメモリM3は、フレーム領域M3a、M3bを含む。
フレームメモリM4は、フレーム領域M4a、M4b、
M4c、M4dを含む。
The image data storage means 2 includes frame memories M1, M2, M3, M4. Frame memory M1
Includes frame regions M1a and M1b. The frame memory M2 includes frame areas M2a and M2b. The frame memory M3 includes frame areas M3a and M3b.
The frame memory M4 includes frame areas M4a, M4b,
M4c and M4d.

【0261】なお、フレームメモリM2〜M4は、それ
ぞれ、圧縮回路A1〜A3に対応して設けられる。
The frame memories M2 to M4 are provided corresponding to the compression circuits A1 to A3, respectively.

【0262】画像データ伸長手段3は、伸長回路B1、
B2、B3を含む。なお、伸長回路B1〜B3は、それ
ぞれ、圧縮回路A1〜A3に対応して設けられる。
The image data decompression means 3 comprises a decompression circuit B1,
B2 and B3. The decompression circuits B1 to B3 are provided corresponding to the compression circuits A1 to A3, respectively.

【0263】制御手段4は、メモリ制御手段41及び制
御回路42を含む。メモリ制御手段41は、メモリ制御
回路MC1、MC2、MC3、MC4を含む。
The control means 4 includes a memory control means 41 and a control circuit 42. The memory control means 41 includes memory control circuits MC1, MC2, MC3, MC4.

【0264】なお、メモリ制御回路MC1〜MC4は、
それぞれ、フレームメモリM1〜M4に対応して設けら
れる。
Note that the memory control circuits MC1 to MC4
They are provided corresponding to the frame memories M1 to M4, respectively.

【0265】さて、次に、図6の各構成の機能・動作を
説明する。まず、画像データ記憶手段2について説明す
る。
Next, the function and operation of each component shown in FIG. 6 will be described. First, the image data storage unit 2 will be described.

【0266】フレームメモリM1は、復号化対象フレー
ムと、復号化において参照できるフレーム(参照フレー
ム)と、を記憶する。具体的には、次の通りである。
The frame memory M1 stores a frame to be decoded and a frame (reference frame) that can be referred to in decoding. Specifically, it is as follows.

【0267】フレーム領域M1a、M1bは、フレーム
メモリM1のアドレス領域を2つに分けたものである。
The frame areas M1a and M1b are obtained by dividing the address area of the frame memory M1 into two.

【0268】そして、フレーム領域M1a、M1bは、
それぞれ、1フレーム分の画像データを記憶する。
The frame areas M1a and M1b are
Each stores one frame of image data.

【0269】2つのフレーム領域M1a、M1bの一方
は、復号化対象フレームを記憶し、他方は、参照フレー
ムを記憶する。
One of the two frame areas M1a and M1b stores a frame to be decoded, and the other stores a reference frame.

【0270】フレームメモリM2、M3は、それぞれ、
2枚の参照フレームを記憶する。具体的には、次の通り
である。
The frame memories M2 and M3 are respectively
Two reference frames are stored. Specifically, it is as follows.

【0271】フレーム領域M2a、M2bは、フレーム
メモリM2のアドレス領域を2つに分けたものであり、
フレーム領域M3a、M3bは、フレームメモリM3の
アドレス領域を2つに分けたものである。
The frame areas M2a and M2b are obtained by dividing the address area of the frame memory M2 into two.
The frame areas M3a and M3b are obtained by dividing the address area of the frame memory M3 into two.

【0272】そして、フレーム領域M2a、M2b、M
3a、M3bは、それぞれ、1フレーム分の画像データ
(参照フレームの画像データ)を記憶する。
The frame areas M2a, M2b, M
Each of 3a and M3b stores image data of one frame (image data of a reference frame).

【0273】フレームメモリM4は、4枚の参照フレー
ムを記憶する。具体的には、次の通りである。
The frame memory M4 stores four reference frames. Specifically, it is as follows.

【0274】フレーム領域M4a、M4b、M4c、M
4dは、フレームメモリM4のアドレス領域を4つに分
けたものである。
Frame areas M4a, M4b, M4c, M
4d divides the address area of the frame memory M4 into four.

【0275】そして、フレーム領域M4a、M4b、M
4c、M4dは、それぞれ、1フレーム分の画像データ
(参照フレームの画像データ)を記憶する。
The frame areas M4a, M4b, M
4c and M4d each store image data for one frame (image data of a reference frame).

【0276】以上のことから分かるように、本実施の形
態では、参照フレームの数は、9枚である。
As can be seen from the above, in the present embodiment, the number of reference frames is nine.

【0277】次に、画像データ圧縮手段1及び画像デー
タ伸長手段3について説明する。圧縮回路A1は、フレ
ームメモリM1のフレーム領域M1a又はフレーム領域
M1bに記憶された画像データを可逆圧縮符号化し、デ
ータ量を圧縮して、フレームメモリM2へ出力する。
Next, the image data compression means 1 and the image data decompression means 3 will be described. The compression circuit A1 losslessly compresses and encodes the image data stored in the frame area M1a or M1b of the frame memory M1, compresses the data amount, and outputs the compressed data to the frame memory M2.

【0278】伸長回路B1は、圧縮回路Aで可逆圧縮符
号化されて、フレームメモリM2のフレーム領域M2a
又はフレーム領域M2bに記憶された画像データを復号
し、元の画像データに伸長する。
The decompression circuit B1 is losslessly compression-encoded by the compression circuit A, and is stored in the frame area M2a of the frame memory M2.
Alternatively, the image data stored in the frame area M2b is decoded and decompressed to the original image data.

【0279】圧縮回路A2は、伸長回路B1で伸長され
た画像データを非可逆圧縮符号化し、データ量を圧縮し
て、フレームメモリM3へ出力する。
The compression circuit A2 performs irreversible compression encoding on the image data expanded by the expansion circuit B1, compresses the data amount, and outputs the compressed data to the frame memory M3.

【0280】伸長回路B2は、圧縮回路A2で圧縮符号
化されて、フレームメモリM3のフレーム領域M3a又
はフレーム領域M3bに記憶された画像データを復号
し、元の画像データに伸長する。
The expansion circuit B2 decodes the image data compressed and encoded by the compression circuit A2 and stored in the frame area M3a or M3b of the frame memory M3, and expands the original image data.

【0281】圧縮回路A3は、伸長回路B2で伸長され
た画像データを非可逆圧縮符号化し、データ量を圧縮し
て、フレームメモリM4へ出力する。
The compression circuit A3 performs lossy compression encoding on the image data expanded by the expansion circuit B2, compresses the data amount, and outputs the compressed data to the frame memory M4.

【0282】伸長回路B3は、圧縮回路A3で圧縮符号
化されて、フレームメモリM4のフレーム領域M4a、
フレーム領域M4b、フレーム領域M4c、又は、フレ
ーム領域M4dに記憶された画像データを復号し、元の
画像データに伸長する。
The decompression circuit B3 is compression-encoded by the compression circuit A3, and is decompressed by the frame area M4a of the frame memory M4.
The image data stored in the frame area M4b, M4c, or M4d is decoded and expanded to the original image data.

【0283】ここで、圧縮回路A1の圧縮率>圧縮回路
A2の圧縮率>圧縮回路A3の圧縮率、である。
Here, the compression ratio of the compression circuit A1> the compression ratio of the compression circuit A2> the compression ratio of the compression circuit A3.

【0284】なお、圧縮回路A1の圧縮符号化方式が、
可逆圧縮符号化方式であり、圧縮回路A2、A3の圧縮
符号化方式が、非可逆圧縮符号化方式であれば、圧縮回
路A1〜A3における圧縮符号化方式は、実施の形態1
における圧縮回路Aiと同様に、特定の圧縮符号化方式
に限定されるものではない。
[0284] The compression encoding method of the compression circuit A1 is as follows.
If the compression circuits A2 and A3 are irreversible compression coding systems, the compression coding systems in the compression circuits A1 to A3 are the first embodiment.
Similarly to the compression circuit Ai in the above, the present invention is not limited to a specific compression encoding method.

【0285】次に、制御手段4について説明する。メモ
リ制御回路MC1は、フレームメモリM1への画像デー
タの書き込み時、及び、フレームメモリM1からの画像
データの読み出し時、のアドレス生成及び管理を行う。
Next, the control means 4 will be described. The memory control circuit MC1 generates and manages addresses when writing image data to the frame memory M1 and when reading image data from the frame memory M1.

【0286】同様に、メモリ制御回路MC2〜MC4
は、対応するフレームメモリM2〜M4への画像データ
の書き込み時、及び、対応するフレームメモリM2〜M
4からの画像データの読み出し時、のアドレス生成及び
管理を行う。
Similarly, memory control circuits MC2 to MC4
Are used when image data is written into the corresponding frame memories M2 to M4, and when the corresponding frame memories M2 to M4 are written.
When the image data is read out from the memory 4, the address generation and management are performed.

【0287】制御回路42は、メモリ制御回路MC1〜
MC4、画像データ圧縮手段1、及び、画像データ伸長
手段3、を制御する。
Control circuit 42 includes memory control circuits MC1-MC1.
The MC 4 controls the image data compression means 1 and the image data decompression means 3.

【0288】さて、次に、画像データ記憶手段2への画
像データの書き込みについて説明する。
Next, writing of image data in the image data storage means 2 will be described.

【0289】図6の画像データ記憶装置には、フレーム
が順次入力されるが、入力されたあるフレームを基準に
して、先に入力されたフレームを、前のフレーム、と呼
ぶ。
Frames are sequentially input to the image data storage device in FIG. 6, and a previously input frame is referred to as a previous frame based on a certain input frame.

【0290】なお、前のフレームを、基準となるフレー
ムより過去のフレームと呼ぶこともある。
Note that the previous frame may be referred to as a frame earlier than the reference frame.

【0291】フレームメモリM1のフレーム領域M1a
及びフレーム領域M1bは、復号対象フレームの画像デ
ータ、及び、復号対象フレームを基準に1フレーム前の
参照フレームの画像データを記憶する。
A frame area M1a of the frame memory M1
The frame area M1b stores the image data of the decoding target frame and the image data of the reference frame one frame before the decoding target frame.

【0292】フレームメモリM2のフレーム領域M2a
及びフレーム領域M2bは、復号対象フレームを基準に
2フレーム前及び3フレーム前の参照フレームの画像デ
ータを記憶する。
A frame area M2a of the frame memory M2
And the frame area M2b stores image data of a reference frame two frames before and three frames before the decoding target frame.

【0293】フレームメモリM3のフレーム領域M3a
及びフレーム領域M3bは、復号対象フレームを基準に
4フレーム前及び5フレーム前の参照フレームの画像デ
ータを記憶する。
The frame area M3a of the frame memory M3
And the frame area M3b stores image data of a reference frame four frames before and five frames before the decoding target frame.

【0294】フレームメモリM4のフレーム領域M4
a、フレーム領域M4b、フレーム領域M4c、及び、
フレーム領域M4dは、復号対象フレームを基準に6フ
レーム前、7フレーム前、8フレーム前、及び、9フレ
ーム前の参照フレームの画像データを記憶する。
A frame area M4 of the frame memory M4
a, a frame area M4b, a frame area M4c, and
The frame area M4d stores image data of reference frames 6 frames before, 7 frames before, 8 frames before, and 9 frames before the decoding target frame.

【0295】ここで、フレームメモリM1での画像デー
タの記憶形態は、画像データ記憶装置の外部から入力さ
れた画像データを圧縮せずに記憶する形態である。
Here, the image data is stored in the frame memory M1 in a form in which image data input from outside the image data storage device is stored without compression.

【0296】フレームメモリM2での画像データの記憶
形態は、画像データを圧縮回路A1で可逆圧縮符号化し
て記憶する形態である。
The storage form of the image data in the frame memory M2 is a form in which the image data is reversibly compression-coded by the compression circuit A1 and stored.

【0297】フレームメモリM3での画像データの記憶
形態は、画像データを圧縮回路A2で非可逆圧縮符号化
して記憶する形態である。
The storage form of the image data in the frame memory M3 is a form in which the image data is irreversibly compressed and encoded by the compression circuit A2 and stored.

【0298】フレームメモリM4での画像データの記憶
形態は、画像データを圧縮回路A3で非可逆圧縮符号化
して記憶する形態である。
The form of storage of image data in the frame memory M4 is a form in which image data is irreversibly compressed and encoded by the compression circuit A3 and stored.

【0299】ただし、圧縮回路A3は、圧縮回路A2よ
りも大きい圧縮率で非可逆圧縮符号化を行う。
However, the compression circuit A3 performs irreversible compression encoding at a higher compression ratio than the compression circuit A2.

【0300】以上のように、フレームメモリM2〜M4
の各々は、画像データを圧縮して記憶する。
As described above, the frame memories M2 to M4
Each stores the compressed image data.

【0301】このため、フレームメモリM2〜M4の各
々では、画像データを圧縮せずに記憶するフレームメモ
リM1と比較して、1フレーム当たりの記憶容量を削減
できる。
Therefore, in each of the frame memories M2 to M4, the storage capacity per frame can be reduced as compared with the frame memory M1 which stores image data without compression.

【0302】また、フレームメモリM3、M4の各々
は、画像データを非可逆圧縮符号化して記憶する。
[0302] Each of the frame memories M3 and M4 stores lossy compression-coded image data.

【0303】このため、フレームメモリM3、M4の各
々では、画像データを可逆圧縮符号化して記憶するフレ
ームメモリM2と比較して、1フレーム当たりの記憶容
量を削減できる。
[0303] Therefore, in each of the frame memories M3 and M4, the storage capacity per frame can be reduced as compared with the frame memory M2 which stores image data by lossless compression encoding.

【0304】また、フレームメモリM4は、画像データ
を、圧縮回路A2より圧縮率が大きい圧縮回路A3で圧
縮して記憶する。
[0304] The frame memory M4 compresses and stores the image data by the compression circuit A3 having a higher compression ratio than the compression circuit A2.

【0305】このため、フレームメモリM4では、画像
データを圧縮回路A2で圧縮して記憶するフレームメモ
リM3と比較して、1フレーム当たりの記憶容量を削減
できる。
Therefore, in the frame memory M4, the storage capacity per frame can be reduced as compared with the frame memory M3 in which image data is compressed by the compression circuit A2 and stored.

【0306】以上のように、画像データ記憶手段2で
は、複数のフレームメモリM1〜M4を設けて、段階的
に1フレーム当たりの記憶領域を少なくしている。
As described above, in the image data storage means 2, a plurality of frame memories M1 to M4 are provided, and the storage area per frame is reduced stepwise.

【0307】さて、次に、画像データ記憶手段2からの
画像データの読み出しについて説明する。
Next, the reading of image data from the image data storage means 2 will be described.

【0308】画像データ記憶手段2から画像データを読
み出す際には、制御信号Sによって、読み出すべきマク
ロブロックが制御回路42に指定される。
At the time of reading image data from the image data storage means 2, a macro block to be read is specified to the control circuit 42 by the control signal S.

【0309】そして、制御回路42は、指定されたマク
ロブロックを記憶しているフレームメモリM1〜M4の
制御を行っているメモリ制御回路MC1〜MC4に対し
て、指定されたマクロブロックを読み出すように指示す
る。
Then, the control circuit 42 reads out the specified macro block from the memory control circuits MC 1 to MC 4 which control the frame memories M 1 to M 4 storing the specified macro block. To instruct.

【0310】読み出すべきマクロブロックが、フレーム
メモリM1に記憶されている場合には、読み出すべきマ
クロブロックの画像データは圧縮符号化されていないの
で、画像データ記憶装置の外部へ直接出力される。
If the macro block to be read is stored in the frame memory M1, the image data of the macro block to be read is not compressed and coded, so that it is directly output to the outside of the image data storage device.

【0311】読み出すべきマクロブロックが、フレーム
メモリM2〜M4に記憶されている場合には、対応する
伸長回路B1〜B3により復号されて、画像データ記憶
装置の外部へ出力される。
When a macro block to be read is stored in the frame memories M2 to M4, it is decoded by the corresponding decompression circuits B1 to B3 and output to the outside of the image data storage device.

【0312】なお、メモリ制御手段41は、実施の形態
1におけるメモリ制御手段41と同様に、画像データ記
憶手段2に記憶されたフレームの画像データをマクロブ
ロック単位で任意に外部へ出力できるように、第1の記
憶関連情報(図2参照)及び第2の記憶関連情報(図3
参照)を保持する。
The memory control means 41 can arbitrarily output the image data of the frame stored in the image data storage means 2 to the outside in macroblock units, similarly to the memory control means 41 in the first embodiment. , First storage-related information (see FIG. 2) and second storage-related information (FIG. 3).
See).

【0313】このように、画像データ記憶装置から外部
へ画像データを読み出す処理(画像データ伸長手段3に
よる伸長復号化処理及び外部への出力)は、マクロブロ
ック単位で行われる。
As described above, the process of reading image data from the image data storage device to the outside (decompression decoding process by the image data decompression means 3 and output to the outside) is performed on a macroblock basis.

【0314】同様に、画像データ記憶装置の外部から入
力された画像データを書き込む処理(外部からの入力、
及び、画像データ圧縮手段1による圧縮符号化処理)
も、マクロブロック単位で行われる。
Similarly, processing for writing image data input from outside the image data storage device (input from outside,
And compression encoding processing by the image data compression means 1)
Is also performed on a macroblock basis.

【0315】マクロブロック単位での処理を行う際の各
フレームメモリM1〜M4におけるアドレス制御は、対
応するメモリ制御回路MC1〜MC4が行う。
Address control in each of the frame memories M1 to M4 when performing processing in units of macroblocks is performed by the corresponding memory control circuits MC1 to MC4.

【0316】さて、次に、フレームメモリM1〜M4に
記憶された画像データの更新時の動作を説明する。
Next, the operation of updating the image data stored in the frame memories M1 to M4 will be described.

【0317】図7は、フレームメモリM1〜M4に記憶
された画像データの更新時の動作の説明図である。
FIG. 7 is an explanatory diagram of the operation at the time of updating the image data stored in the frame memories M1 to M4.

【0318】図7では、状態1、状態2−1、状態2−
2、状態2−3、及び、状態3において、フレームメモ
リM1〜M4のフレーム領域M1a、M1b、M2a、
M2b、M3a、M3b、M4a〜M4dに、何番目の
フレームが記憶されているかを示している。また、番号
が小さくなるほど、前のフレーム(過去のフレーム)で
あるとする。
In FIG. 7, state 1, state 2-1, state 2
2, state 2-3, and state 3, the frame areas M1a, M1b, M2a,
M2b, M3a, M3b, and M4a to M4d indicate what number frame is stored. It is also assumed that the smaller the number is, the earlier the frame (past frame).

【0319】さて、状態1は、s番目のフレームの復号
が完了した時点でのフレームメモリM1〜M4の状態を
表している。「s」は、10以上の整数である。
The state 1 indicates the states of the frame memories M1 to M4 at the time when the decoding of the s-th frame is completed. “S” is an integer of 10 or more.

【0320】つまり、状態1では、フレームメモリM1
のフレーム領域M1aには、s番目のフレームが記憶さ
れ、フレーム領域M1bには、s−1番目のフレームが
記憶され、フレームメモリM2のフレーム領域M2aに
は、s−2番目のフレームが記憶され、フレーム領域M
2bには、s−3番目のフレームが記憶され、フレーム
メモリM3のフレーム領域M3aには、s−4番目のフ
レームが記憶され、フレーム領域M3bには、s−5番
目のフレームが記憶され、フレームメモリM4のフレー
ム領域M4aには、s−6番目のフレームが記憶され、
フレーム領域M4bには、s−7番目のフレームが記憶
され、フレーム領域M4cには、s−8番目のフレーム
が記憶され、フレーム領域M4dには、s−9番目のフ
レームが記憶される。
That is, in the state 1, the frame memory M1
The s-th frame is stored in the frame area M1a, the s-1-th frame is stored in the frame area M1b, and the s-2-th frame is stored in the frame area M2a of the frame memory M2. , Frame area M
2b stores the s-3rd frame, the s-4th frame is stored in the frame area M3a of the frame memory M3, and the s-5th frame is stored in the frame area M3b. The s-6th frame is stored in the frame area M4a of the frame memory M4,
The s-7th frame is stored in the frame area M4b, the s-8th frame is stored in the frame area M4c, and the s-9th frame is stored in the frame area M4d.

【0321】なお、状態1では、s番目のフレームが、
復号対象フレームである。s−1番目のフレームが、復
号対象フレームより1フレーム前の参照フレームであ
り、s−2番目のフレームが、復号対象フレームより2
フレーム前の参照フレームであり、s−3番目のフレー
ムが、復号対象フレームより3フレーム前の参照フレー
ムであり、s−4番目のフレームが、復号対象フレーム
より4フレーム前の参照フレームであり、s−5番目の
フレームが、復号対象フレームより5フレーム前の参照
フレームであり、s−6番目のフレームが、復号対象フ
レームより6フレーム前の参照フレームであり、s−7
番目のフレームが、復号対象フレームより7フレーム前
の参照フレームであり、s−8番目のフレームが、復号
対象フレームより8フレーム前の参照フレームであり、
s−9番目のフレームが、復号対象フレームより9フレ
ーム前の参照フレームである。
[0321] In state 1, the s-th frame is
This is the frame to be decoded. The (s-1) th frame is a reference frame one frame before the current frame to be decoded, and the (s-2) th frame is 2 frames before the current frame to be decoded.
The reference frame before the frame, the s−3 th frame is a reference frame three frames before the decoding target frame, the s−4 th frame is a reference frame four frames before the decoding target frame, The s−5th frame is a reference frame 5 frames before the decoding target frame, the s−6th frame is a reference frame 6 frames before the decoding target frame, and s−7.
The 番 目 th frame is a reference frame 7 frames before the decoding target frame, the s−8th frame is a reference frame 8 frames before the decoding target frame,
The s-ninth frame is a reference frame nine frames before the frame to be decoded.

【0322】さて、次のフレームであるs+1番目のフ
レームの復号処理に移る前に、参照フレームの更新を行
わなければならない。
The reference frame must be updated before proceeding to the decoding process of the s + 1-th frame which is the next frame.

【0323】参照フレームの更新の際は、各フレームメ
モリM1〜M4において、時間的に最も古い参照フレー
ムを記憶しているフレーム領域に、新たに記憶する参照
フレームの画像データが上書きされる。この点を詳しく
説明する。
When the reference frame is updated, the image data of the newly stored reference frame is overwritten in the frame area where the temporally oldest reference frame is stored in each of the frame memories M1 to M4. This point will be described in detail.

【0324】状態2−1は、6〜9フレーム前の参照フ
レームを記憶するフレームメモリM4(状態1)に記憶
された参照フレームを更新する際のフレームメモリM1
〜M4の状態を表している。
[0324] The state 2-1 is a frame memory M1 for updating the reference frame stored in the frame memory M4 (state 1) for storing the reference frame 6 to 9 frames before.
To M4.

【0325】フレームメモリM4に記憶された参照フレ
ームを更新する際の動作を、状態2−1を参照しながら
説明する。
The operation for updating the reference frame stored in the frame memory M4 will be described with reference to state 2-1.

【0326】s−6、s−7、及び、s−8番目の参照
フレームを記憶するフレーム領域M4a〜M4cは、s
+1番目のフレームの復号時における7〜9フレーム前
の参照フレームとして、記憶している参照フレームをそ
のまま保持する。
The frame areas M4a to M4c storing the s-6, s-7, and s-8th reference frames are represented by s
The stored reference frame is held as it is as the reference frame 7 to 9 frames before when decoding the + 1st frame.

【0327】一方、状態1では5フレーム前の参照フレ
ームであったs−5番目の参照フレームの画像データ
が、フレーム領域M3bから読み出されて、伸長回路B
2で伸長され、圧縮回路A3で再圧縮される。
On the other hand, the image data of the s−5th reference frame, which is the reference frame 5 frames before in the state 1, is read from the frame area M3b, and the decompression circuit B
2, and are recompressed by the compression circuit A3.

【0328】そして、s+1番目のフレームの復号時に
は参照フレームとして必要のないs−9番目の参照フレ
ームを記憶しているフレーム領域M4dに、再圧縮され
たs−5番目の参照フレームの画像データが書き込まれ
る。
Then, in the frame area M4d storing the s-9th reference frame which is not necessary as the reference frame when decoding the s + 1th frame, the recompressed image data of the s-5th reference frame is stored. Written.

【0329】フレーム領域M4dに書き込まれたs−5
番目の参照フレームの画像データが、s+1番目のフレ
ームの復号時における6フレーム前の参照フレームとな
る。状態2−2は、4、5フレーム前の参照フレームを
記憶するフレームメモリM3(状態1)に記憶された参
照フレームを更新する際のフレームメモリM1〜M4の
状態を表している。
S-5 written in frame area M4d
The image data of the reference frame becomes the reference frame six frames before when the s + 1-th frame is decoded. State 2-2 indicates the state of the frame memories M1 to M4 when the reference frame stored in the frame memory M3 (state 1) storing the reference frame four or five frames before is updated.

【0330】フレームメモリM3に記憶された参照フレ
ームを更新する際の動作を、状態2−2を参照しながら
説明する。
The operation for updating the reference frame stored in the frame memory M3 will be described with reference to state 2-2.

【0331】s−4番目の参照フレームを記憶するフレ
ーム領域M3aは、s+1番目のフレームの復号時にお
ける5フレーム前の参照フレームとして、記憶している
参照フレームをそのまま保持する。
[0331] The frame area M3a for storing the s-4th reference frame holds the stored reference frame as it is as the reference frame 5 frames before when the s + 1th frame is decoded.

【0332】一方、状態1では3フレーム前の参照フレ
ームであったs−3番目の参照フレームの画像データ
が、フレーム領域M2bから読み出されて、伸長回路B
1で伸長され、圧縮回路A2で再圧縮される。
On the other hand, the image data of the s-third reference frame, which is the reference frame three frames before in state 1, is read from the frame area M2b,
1 and is recompressed by the compression circuit A2.

【0333】そして、状態1ではs−5番目の参照フレ
ームを記憶していたフレーム領域M3bに、再圧縮され
たs−3番目の参照フレームの画像データが書き込まれ
る。
Then, in the state 1, the recompressed image data of the s-3rd reference frame is written in the frame area M3b storing the s-5th reference frame.

【0334】フレーム領域M3bに書き込まれたs−3
番目の参照フレームの画像データが、s+1番目のフレ
ームの復号時における4フレーム前の参照フレームとな
る。
S-3 written in frame area M3b
The image data of the reference frame becomes the reference frame four frames before when the s + 1-th frame is decoded.

【0335】状態2−3は、2、3フレーム前の参照フ
レームを記憶するフレームメモリM2(状態1)に記憶
された参照フレームを更新する際のフレームメモリM1
〜M4の状態を表している。
The state 2-3 is a frame memory M1 for updating the reference frame stored in the frame memory M2 (state 1) for storing the reference frame a few frames before.
To M4.

【0336】フレームメモリM2に記憶された参照フレ
ームを更新する際の動作を、状態2−3を参照しながら
説明する。
The operation of updating the reference frame stored in the frame memory M2 will be described with reference to state 2-3.

【0337】s−2番目の参照フレームを記憶するフレ
ーム領域M2aは、s+1番目のフレームの復号時にお
ける3フレーム前の参照フレームとして、記憶している
参照フレームをそのまま保持する。
The frame area M2a for storing the s−2th reference frame holds the stored reference frame as it is as the reference frame three frames before when decoding the s + 1th frame.

【0338】一方、状態1では1フレーム前の参照フレ
ームであったs−1番目の参照フレームの画像データ
が、フレーム領域M1bから読み出されて、圧縮回路A
1で圧縮される。
On the other hand, the image data of the (s−1) th reference frame, which is the reference frame one frame before in the state 1, is read from the frame area M1b, and the compression circuit A
Compressed by one.

【0339】そして、状態1ではs−3番目の参照フレ
ームを記憶していたフレーム領域M2bに、圧縮された
s−1番目の参照フレームの画像データが書き込まれ
る。
Then, in the state 1, the compressed image data of the (s−1) th reference frame is written into the frame area M2b in which the (s−3) th reference frame is stored.

【0340】フレーム領域M2bに書き込まれたs−1
番目の参照フレームの画像データが、s+1番目のフレ
ームの復号時における2フレーム前の参照フレームとな
る。
S-1 written in frame area M2b
The image data of the reference frame becomes the reference frame two frames before when the s + 1-th frame is decoded.

【0341】状態3は、s+1番目のフレームの復号開
始時のフレームメモリM1〜M4の状態を表している。
State 3 represents the state of the frame memories M1 to M4 at the start of decoding the s + 1-th frame.

【0342】フレームメモリM1に記憶された参照フレ
ームを更新する際の動作を、状態3を参照しながら説明
する。
The operation for updating the reference frame stored in the frame memory M1 will be described with reference to state 3.

【0343】s番目のフレームを記憶するフレーム領域
M1aは、s+1番目のフレームの復号時における1フ
レーム前の参照フレームとして、記憶しているフレーム
をそのまま保持する。
The frame area M1a for storing the s-th frame holds the stored frame as it is as the reference frame one frame before when decoding the s + 1-th frame.

【0344】以上のようにして、フレームメモリM1〜
M4に記憶された参照フレームが更新される。
As described above, the frame memories M1 to M1
The reference frame stored in M4 is updated.

【0345】なお、マクロブロック単位でのデータの入
出力が可能であるため、各フレームメモリM1〜M4に
おける参照フレームの更新は、並列して行うことができ
る(並列処理可能)。よって、処理時間の短縮が図れ
る。
Since data can be input and output in units of macroblocks, the reference frames in each of the frame memories M1 to M4 can be updated in parallel (parallel processing is possible). Therefore, the processing time can be reduced.

【0346】さて、以上のように、本実施の形態では、
フレームメモリM2〜M4には、圧縮符号化を行った画
像データが記憶される。
As described above, in the present embodiment,
The frame memories M2 to M4 store image data that has been compression-encoded.

【0347】このため、フレームメモリM2〜M4の各
々では、圧縮せずに画像データを記憶するフレームメモ
リM1と比較して、1フレーム当たりの記憶容量を削減
できる。
Therefore, each of the frame memories M2 to M4 can reduce the storage capacity per frame as compared with the frame memory M1 which stores image data without compression.

【0348】また、フレームメモリM3、M4には、非
可逆圧縮符号化を行った画像データが記憶される。
The frame memories M3 and M4 store image data that has been subjected to lossy compression encoding.

【0349】このため、フレームメモリM3、M4の各
々では、可逆圧縮符号化を行った画像データを記憶する
フレームメモリM2と比較して、記憶容量を削減でき
る。
Therefore, in each of the frame memories M3 and M4, the storage capacity can be reduced as compared with the frame memory M2 for storing image data subjected to lossless compression encoding.

【0350】また、フレームメモリM4は、画像データ
を、圧縮回路A2より圧縮率が大きい圧縮回路A3で圧
縮して記憶する。
Further, the frame memory M4 compresses the image data by a compression circuit A3 having a higher compression ratio than the compression circuit A2 and stores the image data.

【0351】このため、フレームメモリM4では、画像
データを圧縮回路A2で圧縮して記憶するフレームメモ
リM3と比較して、1フレーム当たりの記憶容量を削減
できる。
Therefore, in the frame memory M4, the storage capacity per frame can be reduced as compared with the frame memory M3 in which image data is compressed by the compression circuit A2 and stored.

【0352】以上のように、本実施の形態では、復号対
象フレームを基準にして、時間的に過去になるにしたが
って、1フレームに割り当てる記憶領域が小さくなるた
め、画像データ記憶手段2の記憶容量の大幅な削減が可
能となる。
As described above, in the present embodiment, the storage area allocated to one frame becomes smaller as the time becomes past with reference to the decoding target frame, so that the storage capacity of the image data storage means 2 is reduced. Can be greatly reduced.

【0353】なお、非可逆圧縮符号化を行った場合に
は、復号の際に画像データの劣化が生じる。
When irreversible compression encoding is performed, image data deteriorates during decoding.

【0354】このため、非可逆圧縮された画像データを
参照フレームとして用いた場合、復号した画像の画質が
劣化し、以降イントラフレームが再生されるまで、誤差
が蓄積される。
[0354] Therefore, when irreversibly compressed image data is used as a reference frame, the image quality of the decoded image is degraded, and errors are accumulated until an intra frame is reproduced thereafter.

【0355】しかし、動画像におけるフレーム間の相関
を考えた場合、時間的に近い程相関が高く、遠い程相関
が低い傾向が強く、参照フレームとして使用される頻度
も時間的に近いものが使用される割合が高い。
However, when considering the correlation between frames in a moving picture, the correlation tends to be higher as the time is closer, and the correlation is lower as the distance is longer. The percentage that is high.

【0356】つまり、復号対象フレームを基準にして、
1フレーム前の参照フレームを使用することが最も多
く、次に、2、3フレーム前、次に、4、5フレーム
前、次に、6〜9フレーム前の参照フレームという順に
なる。
That is, based on the frame to be decoded,
Most often, the reference frame one frame before is used, then the reference frame a few frames before, the next four, five frames before, and then the reference frame six to nine frames before.

【0357】このように、非可逆圧縮符号化が行われる
4〜9フレーム前の参照フレームを使用する頻度は低
い。
As described above, the frequency of using the reference frame 4 to 9 frames before the lossy compression encoding is performed is low.

【0358】従って、非可逆圧縮符号化が施された参照
フレームを使用することによる復号後の画像の画質の劣
化は極力回避される。
Accordingly, deterioration of the image quality of the decoded image due to the use of the reference frame subjected to the lossy compression encoding is avoided as much as possible.

【0359】さて、圧縮された画像データを参照フレー
ムとして使用する場合には、伸長回路B1〜B3で伸長
しなければならい。
When the compressed image data is used as a reference frame, it must be expanded by expansion circuits B1 to B3.

【0360】このため、動画像復号化装置による復号処
理時には、伸長回路B1〜B3による伸長処理のための
時間を余計に要してしまう。
Therefore, at the time of decoding processing by the moving picture decoding apparatus, extra time is required for the expansion processing by the expansion circuits B1 to B3.

【0361】しかし、使用頻度が最も高い1フレーム前
の参照フレームの画像データは、圧縮せずに記憶してい
るため、伸長処理のための時間は必要がない。
However, since the image data of the reference frame immediately before the most frequently used frame is stored without compression, no time is required for the decompression process.

【0362】従って、本実施の形態では、動画像復号化
装置による復号化処理において、伸長処理のための時間
を大幅に削減できる。
Therefore, in the present embodiment, the time required for the decompression processing in the decoding processing by the video decoding apparatus can be greatly reduced.

【0363】さて、これまで説明してきたように、本実
施の形態では、参照フレームの時間的位置によって使用
される頻度が異なる傾向に着目している。
As described above, this embodiment focuses on the tendency that the frequency of use differs depending on the temporal position of the reference frame.

【0364】そして、画像データ記憶手段2のフレーム
メモリM1〜M4では、復号対象フレームに時間的に近
く、使用頻度が高い参照フレームに、記憶領域を多く割
り当て、時間的に遠く使用頻度が低い参照フレームに
は、記憶領域の割り当てを段階的に少なくしている。こ
の場合、使用頻度が最も高い参照フレームは、圧縮せず
に記憶する。
[0364] In the frame memories M1 to M4 of the image data storage means 2, a large number of storage areas are allocated to reference frames which are temporally close to the frame to be decoded and which are frequently used, and reference frames which are temporally distant and infrequently used. The allocation of storage areas to frames is reduced gradually. In this case, the most frequently used reference frame is stored without compression.

【0365】こうすることで、圧縮処理及び伸長処理の
増加による復号化処理時間の増加を抑制しながらも、画
像データ記憶手段2の記憶容量の削減を可能としてい
る。
By doing so, it is possible to reduce the storage capacity of the image data storage means 2 while suppressing an increase in decoding processing time due to an increase in compression processing and decompression processing.

【0366】さて、上記では、図5の動画像復号化装置
における画像データ記憶装置80について説明したが、
図4の動画像符号化装置における画像データ記憶装置8
0も、図6に示した画像データ記憶装置と同様の構成を
有し、同様の動作及び効果を有する。
[0366] In the above description, the image data storage device 80 in the moving picture decoding device shown in Fig. 5 has been described.
Image data storage device 8 in the moving image encoding device of FIG.
0 has the same configuration as the image data storage device shown in FIG. 6, and has the same operation and effect.

【0367】なお、本実施の形態では、参照フレームの
数を9枚とした。ただし、参照フレームの数は、これに
限定されるものではなく、任意の数とすることができ
る。
In the present embodiment, the number of reference frames is nine. However, the number of reference frames is not limited to this, and may be any number.

【0368】また、本実施の形態では、フレームメモリ
M1〜M3の各々では、フレーム領域を2つとし、フレ
ームメモリM4では、フレーム領域を4つとした。
In this embodiment, each of the frame memories M1 to M3 has two frame areas, and the frame memory M4 has four frame areas.

【0369】ただし、1つのフレームメモリ当たりのフ
レーム領域の数は、これに限定されるものではなく、任
意の数のフレーム領域を設けることができる。
However, the number of frame areas per one frame memory is not limited to this, and an arbitrary number of frame areas can be provided.

【0370】また、本実施の形態では、画像データ記憶
手段2における記憶形態は、4種類とし、4つのフレー
ムメモリM1〜M4を設けた。
In the present embodiment, there are four types of storage modes in the image data storage means 2, and four frame memories M1 to M4 are provided.

【0371】ただし、画像データ記憶手段2における記
憶形態の種類は、これに限定されるこのではなく、任意
の種類の記憶形態を採用し、任意の数のフレームメモリ
を設けることができる。
However, the type of storage mode in the image data storage means 2 is not limited to this, and any type of storage mode can be adopted and an arbitrary number of frame memories can be provided.

【0372】つまり、記憶形態の種類に応じて、圧縮回
路及び伸長回路を適宜挿入または削除して、フレームメ
モリの数を変えることもできる。
That is, the number of frame memories can be changed by appropriately inserting or deleting compression circuits and decompression circuits according to the type of storage mode.

【0373】また、本実施の形態では、符号化対象フレ
ームの1フレーム前の参照フレームは、圧縮せずに記憶
したが、圧縮して記憶することもできる。
Also, in the present embodiment, the reference frame immediately before the frame to be encoded is stored without compression, but may be stored after compression.

【0374】ただし、使用頻度を考慮すると、圧縮せず
に記憶することが好ましい。
However, in consideration of the frequency of use, it is preferable to store the data without compression.

【0375】また、本実施の形態では、画像データ圧縮
手段1による圧縮方式として、可逆圧縮及び非可逆圧縮
を採用したが、各圧縮回路による圧縮率を異ならせ、可
逆圧縮だけ、あるいは、非可逆圧縮だけ、を採用するこ
ともできる。
In this embodiment, lossless compression and irreversible compression are adopted as the compression method by the image data compression means 1. However, the compression ratios of the respective compression circuits are different, and only lossless compression or irreversible compression is employed. Compression alone can also be employed.

【0376】また、本実施の形態では、画像データ圧縮
手段1において、可逆圧縮を行う圧縮回路を1つ、非可
逆圧縮を行う圧縮回路を2つとした。
In this embodiment, the image data compression means 1 has one compression circuit for performing lossless compression and two compression circuits for performing irreversible compression.

【0377】ただし、可逆圧縮を行う圧縮回路及び非可
逆圧縮を行う圧縮回路の数は、これに限定されるもので
はない。
However, the number of compression circuits for performing lossless compression and the number of compression circuits for performing irreversible compression are not limited to these.

【0378】また、本実施の形態では、フレームメモリ
Mjへの蓄積処理、及び、フレームメモリMjからの出
力処理、のデータ処理単位は、16×16画素のマクロ
ブロック単位として説明した。
In the present embodiment, the data processing unit for the accumulation processing in the frame memory Mj and the output processing from the frame memory Mj has been described as a macroblock unit of 16 × 16 pixels.

【0379】ただし、データ処理単位は、マクロブロッ
ク単位に限定するものではない。例えば、8×8画素、
8×16画素等、データ処理単位となるブロックサイズ
は、任意に決定できる。
However, the data processing unit is not limited to the macro block unit. For example, 8 × 8 pixels,
The block size serving as a data processing unit, such as 8 × 16 pixels, can be arbitrarily determined.

【0380】また、図4の動画像符号化装置及び図5の
動画像復号化装置の画像データ記憶装置80として、図
6の画像データ記憶装置のみならず、図1の画像データ
記憶装置を使用できる。
Also, not only the image data storage device of FIG. 6 but also the image data storage device of FIG. 1 is used as the image data storage device 80 of the moving image encoding device of FIG. 4 and the moving image decoding device of FIG. it can.

【0381】また、上記では、図4の動画像符号化装置
と、図5の動画像復号化装置と、を組み合わせた動画像
圧縮伸長システムを説明したが、必ずしも両者を組み合
わせて使用する必要はなく、図4の動画像符号化装置
と、一般的な動画像復号化装置と、を組み合わせて使用
したり、また、一般的な動画像符号化装置と、図5の動
画像復号化装置と、を組み合わせて使用することもでき
る。
In the above description, the moving picture compression / decompression system in which the moving picture coding apparatus shown in FIG. 4 and the moving picture decoding apparatus shown in FIG. 5 are combined has been described. However, it is not always necessary to use both in combination. 4 and a general moving image decoding apparatus, and a general moving image encoding apparatus and a moving image decoding apparatus of FIG. , Can also be used in combination.

【0382】また、実施の形態1と同様に、上記した図
6の画像データ記憶装置は、それ単体で使用することも
できる。
As in the first embodiment, the image data storage device shown in FIG. 6 can be used alone.

【0383】この場合、例えば、静止画像を記憶するた
めに用いることができる。そして、画像データの使用目
的に応じて、画像データの画質、記憶枚数、等を考慮し
た適切な記憶形態を選択できる。このため、この場合
も、処理量の増加の抑制を図りながらも、記憶容量の削
減を図ることができる。
In this case, for example, it can be used to store a still image. Then, an appropriate storage mode can be selected in consideration of the image quality of the image data, the number of stored images, and the like according to the purpose of use of the image data. Therefore, also in this case, the storage capacity can be reduced while suppressing an increase in the processing amount.

【0384】また、上記した図6の画像データ記憶装置
では、圧縮回路A1〜A3の各々の圧縮率は、互いに異
なっていた。
In the image data storage device shown in FIG. 6, the compression ratios of the compression circuits A1 to A3 are different from each other.

【0385】しかし、これに限定されるものではなく、
例えば、圧縮回路A1〜A3の各々の圧縮方式を、互い
に異なるようにすることもできる。この場合、圧縮回路
A1〜A3の各々の圧縮率は、互いに同じにすることも
できるし、異なるようにすることもできる。
However, the present invention is not limited to this.
For example, the compression schemes of the compression circuits A1 to A3 may be different from each other. In this case, the compression ratios of the compression circuits A1 to A3 may be the same as each other or may be different.

【0386】これにより、ユーザは、画像データを、圧
縮せずに記憶するのか、あるいは、圧縮して記憶するの
か、さらに、圧縮して記憶する場合は、どの圧縮方式で
圧縮して記憶するのか、をフレーム単位で任意に選択で
きる。
[0386] This allows the user to store the image data without compression, or to store the image data after compression, and when compressing and storing the image data, which compression method should be used to store the image data. , Can be arbitrarily selected in frame units.

【0387】その結果、ユーザの利便性の向上を図りな
がらも、記憶容量の削減を図ることができる。
As a result, the storage capacity can be reduced while improving the convenience for the user.

【0388】(実施の形態3)本発明の実施の形態3に
おける動画像圧縮伸長システムは、動画像符号化装置及
び動画像復号化装置、を備える。
(Embodiment 3) The video compression / decompression system according to Embodiment 3 of the present invention includes a video encoding device and a video decoding device.

【0389】この動画像符号化装置の全体構成は、図4
の動画像符号化装置の全体構成と同様である。
[0389] The overall configuration of this video coding apparatus is shown in FIG.
Is the same as the overall configuration of the moving picture coding apparatus.

【0390】従って、実施の形態3では、図4の動画像
符号化装置を、実施の形態3における動画像符号化装置
として説明する。
Accordingly, in the third embodiment, the moving picture coding apparatus of FIG. 4 will be described as the moving picture coding apparatus of the third embodiment.

【0391】この動画像復号化装置の全体構成は、図5
の動画像復号化装置の全体構成と同様である。
[0391] The overall configuration of this video decoding apparatus is shown in FIG.
This is the same as the overall configuration of the video decoding device.

【0392】従って、実施の形態3では、図5の動画像
復号化装置を、実施の形態3における動画像復号化装置
として説明する。
Therefore, in the third embodiment, the moving picture decoding apparatus of FIG. 5 will be described as the moving picture decoding apparatus of the third embodiment.

【0393】実施の形態3における図5の動画像復号化
装置の画像データ記憶装置80について説明する。
A description will be given of an image data storage device 80 of the moving image decoding device in FIG.

【0394】実施の形態3における図5の動画像復号化
装置の画像データ記憶装置80では、図6の画像データ
圧縮手段1による圧縮方式を、間引きによる圧縮方式に
し、図6の画像データ伸長手段3による伸長方式を、線
形補間による伸長方式にしたものである。以下、具体的
に説明する。
In the image data storage device 80 of the moving picture decoding apparatus of FIG. 5 according to the third embodiment, the compression method by the image data compression means 1 of FIG. 6 is changed to a compression method by thinning, and the image data decompression means of FIG. 3 is an expansion method based on linear interpolation. Hereinafter, a specific description will be given.

【0395】図8は、実施の形態3における図5の画像
データ記憶装置80のブロック図である。
FIG. 8 is a block diagram of the image data storage device 80 of FIG. 5 according to the third embodiment.

【0396】なお、図8において、図6と同様の部分に
ついては、同一の符号を付して、説明を適宜省略する。
In FIG. 8, the same parts as those in FIG. 6 are denoted by the same reference numerals, and description thereof will be omitted as appropriate.

【0397】図8に示すように、この画像データ記憶装
置は、画像データ圧縮手段1、画像データ記憶手段2、
画像データ伸長手段3、及び、制御手段4、を具備す
る。
As shown in FIG. 8, this image data storage device comprises an image data compression means 1, an image data storage means 2,
An image data decompression unit 3 and a control unit 4 are provided.

【0398】画像データ圧縮手段1は、間引き回路C
1、C2、C3を含む。なお、間引き回路C1、C2、
C3は、それぞれ、図6の圧縮手段A1、A2、A3に
相当する。
The image data compression means 1 includes a thinning circuit C
1, C2 and C3. Note that the thinning circuits C1, C2,
C3 corresponds to the compression means A1, A2, A3 in FIG. 6, respectively.

【0399】画像データ伸長手段3は、補間回路31を
含む。なお、補間回路31は、図6の伸長回路B1〜B
3に相当する。
The image data decompression means 3 includes an interpolation circuit 31. Note that the interpolation circuit 31 includes the decompression circuits B1 to B
Equivalent to 3.

【0400】画像データ記憶手段2及び制御手段4の構
成は、それぞれ、図6の画像データ記憶手段2及び制御
手段4と同様である。
The configurations of the image data storage unit 2 and the control unit 4 are the same as those of the image data storage unit 2 and the control unit 4 in FIG. 6, respectively.

【0401】さて、次に、図8の画像データ記憶装置の
動作を説明する。図8の画像データ記憶装置の動作は、
圧縮及び伸長処理を除けば、図6の画像データ記憶装置
の動作と同様である。従って、以下では、実施の形態2
と異なる点を中心に説明する。
Next, the operation of the image data storage device of FIG. 8 will be described. The operation of the image data storage device of FIG.
Except for the compression and decompression processing, the operation is the same as that of the image data storage device in FIG. Therefore, the second embodiment will be described below.
The following description focuses on the differences.

【0402】間引き回路C1〜C3による間引き処理、
及び、補間回路31による補間処理、について説明す
る。まず、間引き処理について説明する。
A thinning process by the thinning circuits C1 to C3,
The interpolation processing by the interpolation circuit 31 will be described. First, the thinning process will be described.

【0403】図9は、縦方向に行う間引き処理の説明図
である。図9(a)は、間引き前の画像データの例示
図、図9(b)は、間引き後の画像データの例示図であ
る。
FIG. 9 is an explanatory diagram of the thinning process performed in the vertical direction. FIG. 9A is a view showing an example of image data before thinning, and FIG. 9B is a view showing an example of image data after thinning.

【0404】図9において、白い円及び黒い円の各々
は、1つの画素データを表している。
In FIG. 9, each of the white circle and the black circle represents one pixel data.

【0405】図9(a)に示すように、画像データが、
8×8画素の画素ブロック200であり、この画素ブロ
ックに対して、縦方向に間引き処理を行う場合を説明す
る。
As shown in FIG. 9A, the image data is
An 8 × 8 pixel block 200 will be described in which a vertical thinning process is performed on this pixel block.

【0406】この場合、黒い円で表される画素データを
取り除くことにより、縦方向の間引き処理が実行され
る。
[0406] In this case, the pixel data represented by the black circle is removed to execute the thinning process in the vertical direction.

【0407】その結果、図9(b)に示すように、画素
ブロック200と比較して、縦方向に1/2にデータ量
が圧縮された画素ブロック210を得ることができる。
As a result, as shown in FIG. 9B, it is possible to obtain a pixel block 210 in which the data amount is reduced by half in the vertical direction as compared with the pixel block 200.

【0408】図10は、横方向に行う間引き処理の説明
図である。図10(a)は、間引き前の画像データの例
示図、図10(b)は、間引き後の画像データの例示図
である。
FIG. 10 is an explanatory diagram of the thinning process performed in the horizontal direction. FIG. 10A is a view showing an example of image data before thinning, and FIG. 10B is a view showing an example of image data after thinning.

【0409】図10において、白い円及び黒い円の各々
は、1つの画素データを表している。
In FIG. 10, each of the white circle and the black circle represents one pixel data.

【0410】図10(a)に示すように、画像データ
が、8×8画素の画素ブロック300であり、この画素
ブロックに対して、横方向に間引き処理を行う場合を説
明する。
As shown in FIG. 10A, a case where the image data is a pixel block 300 of 8 × 8 pixels, and a thinning process is performed on this pixel block in the horizontal direction will be described.

【0411】この場合、黒い円で表される画素データを
取り除くことにより、横方向の間引き処理が実行され
る。
[0411] In this case, by removing the pixel data represented by the black circle, the thinning process in the horizontal direction is executed.

【0412】その結果、図10(b)に示すように、画
素ブロック300と比較して、横方向に1/2にデータ
量が圧縮された画素ブロック310を得ることができ
る。
As a result, as shown in FIG. 10B, it is possible to obtain a pixel block 310 in which the data amount is reduced by half in the horizontal direction as compared with the pixel block 300.

【0413】次に、補間処理について説明する。補間処
理は、間引き処理の逆の処理を行うものである。
Next, the interpolation processing will be described. The interpolation process is a process that is the reverse of the thinning process.

【0414】つまり、図9(b)の画素ブロック210
における上下に隣接する画素データを利用した線形補間
により、画素ブロック200における黒い円の画素デー
タに相当する画素データを求め、求めた画素データを該
当する位置に挿入することにより、縦方向の補間処理が
実行される。
That is, the pixel block 210 shown in FIG.
The pixel data corresponding to the pixel data of the black circle in the pixel block 200 is obtained by linear interpolation using the pixel data vertically adjacent to the pixel block 200, and the obtained pixel data is inserted into the corresponding position to perform the vertical interpolation processing. Is executed.

【0415】また、図10(b)の画素ブロック310
における左右に隣接する画素データを利用した線形補間
により、画素ブロック300における黒い円の画素デー
タに相当する画素データを求め、求めた画素データを該
当する位置に挿入することにより、横方向の補間処理が
実行される。
Also, the pixel block 310 shown in FIG.
The horizontal interpolation process is performed by obtaining pixel data corresponding to black circle pixel data in the pixel block 300 by linear interpolation using pixel data adjacent to the right and left in the pixel block 300 and inserting the obtained pixel data into a corresponding position. Is executed.

【0416】さて、次に、図8の間引き回路C1〜C3
及び補間回路31の動作を、フレームメモリM1〜M4
との関連で具体的に説明する。
Next, the thinning circuits C1 to C3 in FIG.
And the operation of the interpolation circuit 31 are stored in the frame memories M1 to M4.
This will be specifically described in relation to the above.

【0417】図11は、フレームメモリM1〜M4に記
憶される画像データの概念図である。図11(a)は、
フレームメモリM1に記憶される画像データの概念図、
図11(b)は、フレームメモリM2に記憶される画像
データの概念図、図11(c)は、フレームメモリM3
に記憶される画像データの概念図、図11(d)は、フ
レームメモリM4に記憶される画像データの概念図、で
ある。
FIG. 11 is a conceptual diagram of image data stored in the frame memories M1 to M4. FIG. 11 (a)
A conceptual diagram of image data stored in the frame memory M1,
FIG. 11B is a conceptual diagram of image data stored in the frame memory M2, and FIG.
11D is a conceptual diagram of image data stored in the frame memory M4. FIG. 11D is a conceptual diagram of image data stored in the frame memory M4.

【0418】フレームメモリM1の記憶形態は、画像デ
ータを圧縮せずに記憶する形態であるため、図11
(a)に示すように、フレームメモリM1のフレーム領
域M1a、M1bの各々には、間引き処理が施されない
S×T画素の画素ブロック400が記憶される。
The storage format of the frame memory M1 is a format in which image data is stored without being compressed.
As shown in (a), each of the frame regions M1a and M1b of the frame memory M1 stores a pixel block 400 of S × T pixels on which no thinning process is performed.

【0419】従って、フレームメモリM1には、画像デ
ータが、画像データ記憶装置の外部から直接入力され、
そして、記憶される。なお、ここでは、1フレームは、
S×T画素からなるとする。
Therefore, image data is directly input to the frame memory M1 from outside the image data storage device.
Then, it is stored. Here, one frame is
It is assumed that it is composed of S × T pixels.

【0420】間引き回路C1、C3は、縦方向に間引き
処理を行う回路であり、間引き回路C2は、横方向の間
引き処理を行う回路である。
The thinning circuits C1 and C3 are circuits for performing thinning processing in the vertical direction, and the thinning circuit C2 is a circuit for performing thinning processing in the horizontal direction.

【0421】従って、図11(b)に示すように、フレ
ームメモリM2のフレーム領域M2a、M2bの各々に
は、間引き回路C1により縦方向に間引きされて、画素
ブロック400と比較して、データ量が縦方向に1/2
に圧縮された画素ブロック410が記憶される。
Therefore, as shown in FIG. 11 (b), each of the frame areas M2a and M2b of the frame memory M2 is thinned in the vertical direction by the thinning circuit C1 and has a smaller data amount than the pixel block 400. Is 1/2 in the vertical direction
Is stored.

【0422】また、図11(c)に示すように、フレー
ムメモリM3のフレーム領域M3a、M3bの各々に
は、間引き回路C2により横方向に間引きされて、画素
ブロック410と比較して、データ量が横方向に1/2
に圧縮された画素ブロック420が記憶される。
As shown in FIG. 11 (c), each of the frame areas M3a and M3b of the frame memory M3 is thinned in the horizontal direction by the thinning circuit C2, and compared with the pixel block 410, Is 1 / in the horizontal direction
Is stored.

【0423】また、図11(d)に示すように、フレー
ムメモリM4のフレーム領域M4a〜M4dの各々に
は、間引き回路C3により縦方向に間引きされて、画素
ブロック420と比較して、データ量が縦方向に1/2
に圧縮された画素ブロック430が記憶される。
As shown in FIG. 11D, each of the frame areas M4a to M4d of the frame memory M4 is thinned in the vertical direction by the thinning circuit C3, and the data amount is smaller than that of the pixel block 420. Is 1/2 in the vertical direction
Is stored.

【0424】さて、補間回路31は、必要な回数の補間
処理を繰り返して、間引き処理により間引いた画素を復
元する。
[0424] The interpolation circuit 31 repeats the necessary number of interpolation processes to restore the pixels thinned out by the thinning process.

【0425】さて、本実施の形態では、画像データ記憶
手段2に記憶された参照フレームの更新処理において、
フレームメモリM2からフレームメモリM3へ記憶形態
を変更して参照フレームを移す場合、及び、フレームメ
モリM3からフレームメモリM4へ記憶形態を変更して
参照フレームを移す場合に、実施の形態2とは違って、
伸長回路を経由せずに、間引き回路C2又は間引き回路
C3により、直接、圧縮処理を行うことが可能である。
加えて、間引き処理は、比較的簡単な処理である。
[0425] In the present embodiment, in the process of updating the reference frame stored in the image data storage means 2,
The second embodiment differs from the second embodiment when the reference frame is moved by changing the storage mode from the frame memory M2 to the frame memory M3, and when the reference frame is transferred by changing the storage mode from the frame memory M3 to the frame memory M4. hand,
The compression processing can be directly performed by the thinning circuit C2 or the thinning circuit C3 without passing through the decompression circuit.
In addition, the thinning process is a relatively simple process.

【0426】このため、画像データ記憶手段2に記憶さ
れた参照フレームの更新処理を高速に行うことが可能で
ある。
[0426] Therefore, it is possible to update the reference frame stored in the image data storage means 2 at high speed.

【0427】また、本実施の形態では、画像データ記憶
装置から外部へ画像データを読み出す処理(画像データ
伸長手段3の補間回路31による補間処理及び外部への
出力)は、任意のブロックサイズで行うことができる。
In this embodiment, the process of reading image data from the image data storage device to the outside (interpolation by the interpolation circuit 31 of the image data decompression means 3 and output to the outside) is performed with an arbitrary block size. be able to.

【0428】また、画像データ記憶装置の外部から入力
された画像データを書き込む処理(外部からの入力、及
び、画像データ圧縮手段1の間引き回路C1〜C3によ
る間引き処理)も、任意のブロックサイズで行うことが
できる。
Also, the processing of writing image data input from outside the image data storage device (input from the outside and the thinning processing by the thinning circuits C1 to C3 of the image data compression means 1) can be performed with an arbitrary block size. It can be carried out.

【0429】また、本実施の形態では、フレームメモリ
M2〜M4に記憶された画像データは、間引き回路C1
〜C3による間引き処理により圧縮された画像データで
ある。
In this embodiment, the image data stored in the frame memories M2 to M4 is stored in the thinning circuit C1.
C3 is image data compressed by the thinning process by C3.

【0430】このため、フレームメモリM2〜M4に記
憶された画像データの伸長処理は、線形補間により行う
ことができる。
For this reason, the expansion processing of the image data stored in the frame memories M2 to M4 can be performed by linear interpolation.

【0431】従って、3つのフレームメモリM2〜M4
で、線形補間を行う補間回路31を共有でき、回路規模
の削減を図ることができる。
Therefore, the three frame memories M2 to M4
Thus, the interpolation circuit 31 that performs linear interpolation can be shared, and the circuit size can be reduced.

【0432】また、本実施の形態では、実施の形態2と
同様に、各参照フレームは、使用頻度を考慮した適切な
記憶形態で記憶される。
Also, in the present embodiment, similar to the second embodiment, each reference frame is stored in an appropriate storage mode in consideration of the frequency of use.

【0433】その結果、本実施の形態では、実施の形態
2と同様に、処理量の増加の抑制を図りながらも、記憶
容量の削減を図ることができる。
As a result, in this embodiment, as in the second embodiment, the storage capacity can be reduced while suppressing an increase in the processing amount.

【0434】さて、上記では、図5の動画像復号化装置
における画像データ記憶装置80について説明をした
が、図4の動画像符号化装置における画像データ記憶装
置80も、図8に示した画像データ記憶装置と同様の構
成を有し、同様の動作及び効果を有する。
Now, the image data storage device 80 in the moving picture decoding apparatus of FIG. 5 has been described above, but the image data storage apparatus 80 in the moving picture coding apparatus of FIG. It has the same configuration as the data storage device, and has the same operation and effect.

【0435】なお、本実施の形態では、1画素毎に画素
データを間引くことにより、間引き処理を行ったが、間
引きを行う画素の間隔は、これに限定されるものではな
い。
In this embodiment, the thinning-out process is performed by thinning out the pixel data for each pixel. However, the interval between the pixels to be thinned out is not limited to this.

【0436】また、本実施の形態では、縦方向、横方
向、及び、縦方向、という順序で間引きを行ったが、間
引きの方向の順番は、これに限定されるものではない。
In the present embodiment, the thinning is performed in the order of the vertical direction, the horizontal direction, and the vertical direction. However, the order of the thinning direction is not limited to this.

【0437】また、本実施の形態では、間引き回路C1
では、縦方向だけ、間引き回路C2では、横方向だけ、
間引き回路C3では、縦方向だけ、というように、各間
引き回路C1〜C3による間引きの方向を一方向とした
が、一度に横方向と縦方向との間引きを行うことも可能
である。
In the present embodiment, the thinning circuit C1
Then, only in the vertical direction, in the thinning circuit C2, only in the horizontal direction,
In the thinning circuit C3, the thinning direction by each of the thinning circuits C1 to C3 is set to one direction, such as only in the vertical direction, but it is also possible to perform thinning in the horizontal direction and the vertical direction at once.

【0438】また、本実施の形態では、補間回路31
は、上下に隣接する画素データを利用した線形補間、あ
るいは、左右に隣接する画素データを利用した線形補
間、を行った。
In this embodiment, the interpolation circuit 31
Performed linear interpolation using vertically adjacent pixel data or linear interpolation using left and right adjacent pixel data.

【0439】ただし、このような2画素を用いた線形補
間に限定されるものではなく、近隣の4画素、近隣の8
画素、等、任意の数の画素を用いた補間方法を採用する
こともできる。
However, the present invention is not limited to such linear interpolation using two pixels, but includes four neighboring pixels and eight neighboring pixels.
An interpolation method using an arbitrary number of pixels, such as pixels, can also be adopted.

【0440】また、図4の動画像符号化装置及び図5の
動画像復号化装置の画像データ記憶装置80として、図
8の画像データ記憶装置のみならず、図1の画像データ
記憶装置を使用できる。
Also, as the image data storage device 80 of the moving image encoding device of FIG. 4 and the moving image decoding device of FIG. 5, not only the image data storage device of FIG. 8 but also the image data storage device of FIG. it can.

【0441】また、上記では、図4の動画像符号化装置
と、図5の動画像復号化装置と、を組み合わせた動画像
圧縮伸長システムを説明したが、必ずしも両者を組み合
わせて使用する必要はなく、図4の動画像符号化装置
と、一般的な動画像復号化装置と、を組み合わせて使用
したり、また、一般的な動画像符号化装置と、図5の動
画像復号化装置と、を組み合わせて使用することもでき
る。
Also, in the above description, the moving picture compression / decompression system combining the moving picture coding apparatus of FIG. 4 and the moving picture decoding apparatus of FIG. 5 has been described. However, it is not always necessary to use both in combination. 4 and a general moving image decoding apparatus, and a general moving image encoding apparatus and a moving image decoding apparatus of FIG. , Can also be used in combination.

【0442】また、実施の形態1と同様に、上記した図
8の画像データ記憶装置は、それ単体で使用することも
できる。
Also, as in the first embodiment, the image data storage device of FIG. 8 can be used alone.

【0443】この場合、例えば、静止画像を記憶するた
めに用いることができる。そして、画像データの使用目
的に応じて、画像データの画質、記憶枚数、等を考慮し
た適切な記憶形態を選択できる。このため、この場合
も、処理量の増加の抑制を図りながらも、記憶容量の削
減を図ることができる。
In this case, for example, it can be used to store a still image. Then, an appropriate storage mode can be selected in consideration of the image quality of the image data, the number of stored images, and the like according to the purpose of use of the image data. Therefore, also in this case, the storage capacity can be reduced while suppressing an increase in the processing amount.

【0444】(実施の形態4)本発明の実施の形態4に
おける動画像圧縮伸長システムは、動画像符号化装置及
び動画像復号化装置、を備える。
(Embodiment 4) A moving picture compression / decompression system according to Embodiment 4 of the present invention includes a moving picture encoding apparatus and a moving picture decoding apparatus.

【0445】この動画像符号化装置の全体構成は、図4
の動画像符号化装置の全体構成と同様である。
[0445] The overall configuration of this moving picture coding apparatus is shown in FIG.
Is the same as the overall configuration of the moving picture coding apparatus.

【0446】従って、実施の形態4では、図4の動画像
符号化装置を、実施の形態4における動画像符号化装置
として説明する。
Therefore, in the fourth embodiment, the moving picture coding apparatus of FIG. 4 will be described as the moving picture coding apparatus of the fourth embodiment.

【0447】この動画像復号化装置の全体構成は、図5
の動画像復号化装置の全体構成と同様である。
[0447] The overall configuration of this video decoding apparatus is shown in FIG.
This is the same as the overall configuration of the video decoding device.

【0448】従って、実施の形態4では、図5の動画像
復号化装置を、実施の形態4における動画像復号化装置
として説明する。
Therefore, in the fourth embodiment, the moving picture decoding apparatus in FIG. 5 will be described as the moving picture decoding apparatus in the fourth embodiment.

【0449】実施の形態4における図5の動画像復号化
装置の画像データ記憶装置80について説明する。
[0449] An image data storage device 80 of the moving picture decoding device shown in Fig. 5 in Embodiment 4 will be described.

【0450】実施の形態4における図5の動画像復号化
装置の画像データ記憶装置80では、図6の画像データ
圧縮手段1による圧縮方式を、ウェーブレット変換によ
る圧縮方式にし、図6の画像データ伸長手段3による伸
長方式を、逆ウェーブレット変換による伸長方式にした
ものである。以下、具体的に説明する。
In the image data storage device 80 of the moving picture decoding apparatus of FIG. 5 according to the fourth embodiment, the compression method by the image data compression means 1 of FIG. 6 is changed to a compression method by wavelet transform, and the image data decompression of FIG. The expansion method by means 3 is an expansion method by inverse wavelet transform. Hereinafter, a specific description will be given.

【0451】図12は、実施の形態4における図5の画
像データ記憶装置80のブロック図である。
FIG. 12 is a block diagram of the image data storage device 80 of FIG. 5 in the fourth embodiment.

【0452】なお、図12において、図6と同様の部分
については、同一の符号を付して、説明を適宜省略す
る。
In FIG. 12, the same parts as those in FIG. 6 are denoted by the same reference numerals, and description thereof will be omitted as appropriate.

【0453】図12に示すように、この画像データ記憶
装置は、画像データ圧縮手段1、画像データ記憶手段
2、画像データ伸長手段3、及び、制御手段4、を具備
する。
As shown in FIG. 12, this image data storage device includes an image data compression unit 1, an image data storage unit 2, an image data decompression unit 3, and a control unit 4.

【0454】画像データ圧縮手段1は、ウェーブレット
変換回路D1、D2、及び、データ削減回路E1、E
2、E3、を含む。
The image data compression means 1 comprises wavelet transform circuits D1, D2 and data reduction circuits E1, E
2, E3.

【0455】なお、ウェーブレット変換回路D1及びデ
ータ削減回路E1は、図6の圧縮手段A1に相当し、デ
ータ削減回路E2は、図6の圧縮手段A2に相当し、ウ
ェーブレット変換回路D2及びデータ削減回路E3は、
図6の圧縮手段A3に相当する。
The wavelet transform circuit D1 and the data reduction circuit E1 correspond to the compression means A1 in FIG. 6, and the data reduction circuit E2 corresponds to the compression means A2 in FIG. E3 is
This corresponds to the compression means A3 in FIG.

【0456】画像データ伸長手段3は、逆ウェーブレッ
ト変換回路32、及び、データ補間回路33、を含む。
The image data decompression means 3 includes an inverse wavelet transform circuit 32 and a data interpolation circuit 33.

【0457】なお、逆ウェーブレット変換回路32、及
び、データ補間回路33は、図6の伸長回路B1〜B3
に相当する。
Note that the inverse wavelet transform circuit 32 and the data interpolation circuit 33 correspond to the decompression circuits B1 to B3 in FIG.
Is equivalent to

【0458】画像データ記憶手段2及び制御手段4の構
成は、それぞれ、図6の画像データ記憶手段2及び制御
手段4と同様である。
The configurations of the image data storage unit 2 and the control unit 4 are the same as those of the image data storage unit 2 and the control unit 4 of FIG.

【0459】さて、次に、図12の画像データ記憶装置
の動作を説明する。図12の画像データ記憶装置の動作
は、圧縮及び伸長処理を除けば、図6の画像データ記憶
装置の動作と同様である。従って、以下では、実施の形
態2と異なる点を中心に説明する。
Next, the operation of the image data storage device shown in FIG. 12 will be described. The operation of the image data storage device of FIG. 12 is the same as the operation of the image data storage device of FIG. 6 except for the compression and decompression processing. Therefore, the following description focuses on differences from the second embodiment.

【0460】ウェーブレット変換回路D1、D2による
ウェーブレット変換、及び、逆ウェーブレット変換回路
32による逆ウェーブレット変換、について説明する。
まず、ウェーブレット変換について説明する。
The wavelet transform by the wavelet transform circuits D1 and D2 and the inverse wavelet transform by the inverse wavelet transform circuit 32 will be described.
First, the wavelet transform will be described.

【0461】図13は、ウェーブレット変換の説明図で
ある。図13(a)は、ウェーブレット変換前の画像デ
ータの概念図、図13(b)は、ウェーブレット変換後
の画像データの概念図である。
FIG. 13 is an explanatory diagram of the wavelet transform. FIG. 13A is a conceptual diagram of image data before wavelet transform, and FIG. 13B is a conceptual diagram of image data after wavelet transform.

【0462】ウェーブレット変換は、画像データを低周
波領域の成分と高周波領域の成分とに分割するフィルタ
処理である。
The wavelet transform is a filtering process that divides image data into low frequency region components and high frequency region components.

【0463】そして、画像データは、2次元データであ
るため、1回のウェーブレット変換処理では、縦方向及
び横方向に2度のフィルタ処理を行うこととなる。
Since the image data is two-dimensional data, in one wavelet transform process, two filtering processes are performed in the vertical and horizontal directions.

【0464】図13(a)に示す画素ブロック500
が、ウェーブレット変換を施す画像データとする。
The pixel block 500 shown in FIG.
Are image data to be subjected to wavelet transform.

【0465】画素ブロック500に対して、ウェーブレ
ット変換を施すと、図13(b)に示すように、4つの
ブロック510a、510b、510c、510dに4
等分されたブロック510を得ることができる。
When the wavelet transform is applied to the pixel block 500, four blocks 510a, 510b, 510c, and 510d have four blocks as shown in FIG.
An equally divided block 510 can be obtained.

【0466】ブロック510aは、横方向及び縦方向共
に低周波領域成分の画像データからなるLL成分ブロッ
クである。
The block 510a is an LL component block composed of image data of low frequency region components in both the horizontal and vertical directions.

【0467】ブロック510bは、横方向は低周波領域
成分、縦方向は高周波領域成分の画像データからなるL
H成分ブロックである。
The block 510b is composed of image data of low frequency region components in the horizontal direction and high frequency region components in the vertical direction.
This is an H component block.

【0468】ブロック510cは、横方向は高周波領域
成分、縦方向は低周波領域成分の画像データからなるH
L成分ブロックである。
[0468] The block 510c is composed of image data of high frequency region components in the horizontal direction and low frequency region components in the vertical direction.
This is an L component block.

【0469】ブロック510dは、横方向及び縦方向共
に高周波領域成分の画像データからなるHH成分ブロッ
クである。
[0469] The block 510d is an HH component block composed of image data of high frequency region components in both the horizontal and vertical directions.

【0470】次に、逆ウェーブレット変換について説明
する。逆ウェーブレット変換は、ウェーブレット変換処
理の逆フィルタ処理であり、ブロック510から画素ブ
ロック500に変換する処理である。
Next, the inverse wavelet transform will be described. The inverse wavelet transform is an inverse filter process of the wavelet transform process, and is a process of converting the block 510 into the pixel block 500.

【0471】なお、ブロック510を構成する4つのブ
ロック510a〜510dのうちの削減されたブロック
については、データ補間回路33が、削減されたブロッ
クのウェーブレット変換係数の全てに「0」を補間し、
その後、逆ウェーブレット変換回路32が、逆ウェーブ
レット変換処理を行う。
[0471] For the reduced block among the four blocks 510a to 510d constituting the block 510, the data interpolation circuit 33 interpolates "0" into all of the wavelet transform coefficients of the reduced block.
After that, the inverse wavelet transform circuit 32 performs an inverse wavelet transform process.

【0472】さて、次に、図12の画像データ圧縮手段
1及び画像データ伸長手段3の動作を、フレームメモリ
M1〜M4との関連で具体的に説明する。
Next, the operation of the image data compression means 1 and the image data decompression means 3 of FIG. 12 will be specifically described in relation to the frame memories M1 to M4.

【0473】図14は、フレームメモリM1〜M4に記
憶される画像データの概念図である。図14(a)は、
フレームメモリM1に記憶される画像データの概念図、
図14(b)は、フレームメモリM2に記憶される画像
データの概念図、図14(c)は、フレームメモリM3
に記憶される画像データの概念図、図14(d)は、フ
レームメモリM4に記憶される画像データの概念図、で
ある。
FIG. 14 is a conceptual diagram of image data stored in the frame memories M1 to M4. FIG. 14 (a)
A conceptual diagram of image data stored in the frame memory M1,
FIG. 14B is a conceptual diagram of image data stored in the frame memory M2, and FIG.
14D is a conceptual diagram of image data stored in the frame memory M4. FIG. 14D is a conceptual diagram of image data stored in the frame memory M4.

【0474】フレームメモリM1の記憶形態は、画像デ
ータを圧縮せずに記憶する形態であるため、図14
(a)に示すように、フレームメモリM1のフレーム領
域M1a、M1bの各々には、ウェーブレット変換が施
されないS×T画素の画素ブロック600が記憶され
る。
The storage format of the frame memory M1 is a format in which image data is stored without compression.
As shown in (a), each of the frame areas M1a and M1b of the frame memory M1 stores a pixel block 600 of S × T pixels on which no wavelet transform is performed.

【0475】従って、フレームメモリM1には、画像デ
ータが、画像データ記憶装置の外部から直接入力され、
そして、記憶される。なお、ここでは、1フレームは、
S×T画素からなるとする。
Therefore, image data is directly input to the frame memory M1 from outside the image data storage device.
Then, it is stored. Here, one frame is
It is assumed that it is composed of S × T pixels.

【0476】さて、ウェーブレット変換回路D1は、フ
レームメモリM1から読み出した画素ブロック600に
対して、ウェーブレット変換を施し、LL成分ブロッ
ク、LH成分ブロック、HL成分ブロック、及び、HH
成分ブロック、からなるブロック(図13(b)参照)
を生成する。
The wavelet transform circuit D1 performs a wavelet transform on the pixel block 600 read out from the frame memory M1, and performs LL component block, LH component block, HL component block, and HH
Block consisting of component blocks (see FIG. 13B)
Generate

【0477】そして、データ削減回路E1は、そのブロ
ックから、HL成分ブロック、及び、HH成分ブロッ
ク、を削除し、LL成分ブロック、及び、LH成分ブロ
ック、からなるブロックを、フレームメモリM2へ出力
する。
Then, the data reduction circuit E1 deletes the HL component block and the HH component block from the block, and outputs a block composed of the LL component block and the LH component block to the frame memory M2. .

【0478】従って、図14(b)に示すように、フレ
ームメモリM2のフレーム領域M2a、M2bの各々に
は、LL成分ブロック、及び、LH成分ブロック、から
なるブロック610が記憶される。
Therefore, as shown in FIG. 14B, a block 610 composed of an LL component block and an LH component block is stored in each of the frame areas M2a and M2b of the frame memory M2.

【0479】このブロック610のデータ量は、画素ブ
ロック600と比較して、1/2である。
[0479] The data amount of this block 610 is 1/2 that of the pixel block 600.

【0480】さて、データ削減回路E2は、フレームメ
モリM2から読み出したブロック610から、LH成分
ブロック、を削除し、LL成分ブロックのみからなるブ
ロックを、フレームメモリM3へ出力する。
The data reduction circuit E2 deletes the LH component block from the block 610 read from the frame memory M2, and outputs a block consisting of only the LL component block to the frame memory M3.

【0481】従って、図14(c)に示すように、フレ
ームメモリM3のフレーム領域M3a、M3bの各々に
は、LL成分ブロックのみからなるブロック620が記
憶される。
Therefore, as shown in FIG. 14C, a block 620 consisting of only LL component blocks is stored in each of the frame areas M3a and M3b of the frame memory M3.

【0482】このブロック620のデータ量は、ブロッ
ク610と比較して、1/2である。
[0482] The data amount of this block 620 is 1/2 that of the block 610.

【0483】さて、ウェーブレット変換回路D2は、フ
レームメモリM3から読み出したブロック620に対し
て、ウェーブレット変換を施し、LL成分ブロック、L
H成分ブロック、HL成分ブロック、及び、HH成分ブ
ロック、からなるブロックを生成する。
The wavelet transform circuit D2 performs a wavelet transform on the block 620 read from the frame memory M3, and performs LL component blocks and L
A block including an H component block, an HL component block, and an HH component block is generated.

【0484】ここで、LL成分ブロックのみからなるブ
ロックに対して、ウェーブレット変換を施して、生成さ
れるLL成分を、LL_LL成分と表現し、生成される
LH成分をLL_LH成分と表現し、生成されるHL成
分を、LL_HL成分と表現し、生成されるHH成分を
LL_HH成分と表現する。
Here, a block composed of only the LL component block is subjected to wavelet transform, and the generated LL component is expressed as an LL_LL component, and the generated LH component is expressed as an LL_LH component. The HL component is expressed as an LL_HL component, and the generated HH component is expressed as an LL_HH component.

【0485】そうすると、データ削減回路E3は、LL
_LL成分ブロック、LL_LH成分ブロック、LL_
HL成分ブロック、及び、LL_HH成分ブロック、か
らなるブロックから、LL_HL成分ブロック及びLL
_HH成分ブロックを削除し、LL_LL成分ブロック
及びLL_LH成分ブロックからなるブロックを、フレ
ームメモリM4へ出力する。
Then, data reduction circuit E3 sets LL
_LL component block, LL_LH component block, LL_
From the block composed of the HL component block and the LL_HH component block, the LL_HL component block and the LL
The _HH component block is deleted, and a block including the LL_LL component block and the LL_LH component block is output to the frame memory M4.

【0486】従って、図14(d)に示すように、フレ
ームメモリM4のフレーム領域M4a〜M4dの各々に
は、LL_LL成分ブロック及びLL_LH成分ブロッ
クからなるブロック630が記憶される。
Therefore, as shown in FIG. 14D, a block 630 including an LL_LL component block and an LL_LH component block is stored in each of the frame areas M4a to M4d of the frame memory M4.

【0487】このブロック630のデータ量は、ブロッ
ク620と比較して、1/2である。
[0487] The data amount of this block 630 is 1/2 that of the block 620.

【0488】さて、フレームメモリM2〜M4に記憶さ
れた画像データを伸長する際は、データ補間回路33
が、データ削減回路E1〜E3により削除されたブロッ
クのウェーブレット変換係数を「0」で補間する。
Now, when expanding the image data stored in the frame memories M2 to M4, the data interpolation circuit 33
Interpolates the wavelet transform coefficients of the blocks deleted by the data reduction circuits E1 to E3 with "0".

【0489】そして、逆ウェーブレット変換回路32
は、削除されていないブロック及び補間により得たブロ
ックからなるブロックに対して、逆フィルタ処理を施し
て、元の画素ブロックに復元する。
Then, the inverse wavelet transform circuit 32
Performs inverse filter processing on a block including a block that has not been deleted and a block obtained by interpolation to restore the original pixel block.

【0490】さて、本実施の形態では、画像データ記憶
手段2に記憶された参照フレームの更新処理において、
フレームメモリM2からフレームメモリM3へ記憶形態
を変更して参照フレームを移す場合、伸長処理を行う逆
ウェーブレット変換回路32を経由せずに、データ削減
回路E2による圧縮処理を行う。
In the present embodiment, in the process of updating the reference frame stored in the image data storage unit 2,
When transferring the reference frame from the frame memory M2 to the frame memory M3 by changing the storage mode, the compression processing is performed by the data reduction circuit E2 without passing through the inverse wavelet transform circuit 32 that performs the expansion processing.

【0491】また、画像データ記憶手段2に記憶された
参照フレームの更新処理において、フレームメモリM3
からフレームメモリM4へ記憶形態を変更して参照フレ
ームを移す場合に、伸長処理を行う逆ウェーブレット変
換回路32を経由せずに、ウェーブレット変換回路D2
及びデータ削減回路E3による圧縮処理を行う。
In the process of updating the reference frame stored in the image data storage means 2, the frame memory M3
When the reference frame is transferred by changing the storage mode from the frame memory M4 to the frame memory M4, the wavelet transform circuit D2 does not pass through the inverse wavelet transform circuit 32 for performing the decompression process
And a compression process by the data reduction circuit E3.

【0492】以上のように、伸長処理を行う逆ウェーブ
レット変換回路32を経由しないため、画像データ記憶
手段2に記憶された参照フレームの更新処理を高速に行
うことが可能である。
As described above, since the signal does not pass through the inverse wavelet transform circuit 32 for performing the decompression process, the reference frame stored in the image data storage means 2 can be updated at a high speed.

【0493】また、本実施の形態では、フレームメモリ
M2〜M4に記憶された画像データは、ウェーブレット
変換回路D1、D2及びデータ削減回路E1〜E3より
圧縮された画像データである。
In this embodiment, the image data stored in the frame memories M2 to M4 is image data compressed by the wavelet transform circuits D1 and D2 and the data reduction circuits E1 to E3.

【0494】このため、フレームメモリM2〜M4に記
憶された画像データの伸長処理は、補間及び逆ウェーブ
レット変換により行うことができる。
Therefore, the expansion processing of the image data stored in the frame memories M2 to M4 can be performed by interpolation and inverse wavelet transform.

【0495】従って、3つのフレームメモリM2〜M4
で、補間を行うデータ補間回路33及び逆ウェーブレッ
ト変換を行う逆ウェーブレット変換回路32を共有で
き、回路規模の削減を図ることができる。
Therefore, the three frame memories M2 to M4
Thus, the data interpolation circuit 33 for performing the interpolation and the inverse wavelet transform circuit 32 for performing the inverse wavelet transform can be shared, and the circuit scale can be reduced.

【0496】また、人間の視覚にとっては、画像データ
の高周波領域成分よりも低周波領域成分が重要となる。
このため、画像データ圧縮手段1による圧縮の際は、高
周波領域成分から削除している。
Also, for human vision, low frequency region components are more important than high frequency region components of image data.
Therefore, when the image data is compressed by the image data compressing means 1, the image data is deleted from the high frequency region components.

【0497】本実施の形態では、データ削減回路E1
は、HL成分ブロック及びHH成分ブロックを削除し、
データ削減回路E2は、LH成分ブロックを削除し、デ
ータ削減回路E3は、LL_HL成分ブロック及びLL
_HH成分ブロックを削除している。
In this embodiment, the data reduction circuit E1
Deletes the HL component block and the HH component block,
The data reduction circuit E2 deletes the LH component block, and the data reduction circuit E3 generates the LL_HL component block and LL
The _HH component block has been deleted.

【0498】こうすることで、人間の視覚に重要となる
低周波領域成分が残って、伸長後の画像データを参照フ
レームとして使用して復号した画像の画質の劣化を軽減
できる。
[0498] By doing so, a low-frequency region component that is important for human vision remains, and deterioration of the image quality of an image decoded using the decompressed image data as a reference frame can be reduced.

【0499】また、本実施の形態では、実施の形態2と
同様に、各参照フレームは、使用頻度を考慮した適切な
記憶形態で記憶される。
Also, in the present embodiment, similar to the second embodiment, each reference frame is stored in an appropriate storage mode in consideration of the frequency of use.

【0500】その結果、本実施の形態では、実施の形態
2と同様に、処理量の増加の抑制を図りながらも、記憶
容量の削減を図ることができる。
As a result, in this embodiment, as in Embodiment 2, it is possible to reduce the storage capacity while suppressing an increase in the processing amount.

【0501】なお、本実施の形態では、説明の便宜のた
め、図14(a)に示す画素ブロック600が、1フレ
ームの画像データであるとして説明した。
[0501] In this embodiment, for convenience of explanation, the pixel block 600 shown in Fig. 14A has been described as being one frame of image data.

【0502】ただし、1回のウェーブレット変換処理の
画素ブロックのサイズは、これに限定されるものではな
い。
However, the size of a pixel block in one wavelet transform process is not limited to this.

【0503】1フレームの画素ブロックを複数の画素ブ
ロックに分割して、分割した各画素ブロックに対してウ
ェーブレット変換処理を行い、各周波数領域成分を集め
て、1フレーム分の画像データとすることもできる。こ
の点を、図14を参照しながら、具体例を挙げて説明す
る。
A pixel block of one frame is divided into a plurality of pixel blocks, a wavelet transform process is performed on each of the divided pixel blocks, and frequency domain components are collected to form image data for one frame. it can. This will be described with a specific example with reference to FIG.

【0504】1フレームの画素ブロックを、例えば、4
等分して、1/4の画素ブロックがデータ処理単位とす
る。
[0504] A pixel block of one frame is, for example, 4 pixels.
Equally divided, a quarter pixel block is used as a data processing unit.

【0505】そして、この1/4の画素ブロックが、S
×T画素からなるとする。そうすると、圧縮しない図1
4(a)に示す1/4の画素ブロック600を4つ集め
て、1フレーム分の画像データとし、この1フレーム分
の画像データが、フレームメモリM1のフレーム領域M
1a、M1bの各々に記憶される。
Then, this 1/4 pixel block is represented by S
× T pixels. Then, if you do not compress
4 (a), four 1/4 pixel blocks 600 are collected into one frame of image data, and the one frame of image data is stored in the frame area M of the frame memory M1.
1a and M1b.

【0506】ウェーブレット変換回路D1は、フレーム
メモリM1から読み出した1/4の画素ブロック600
に対して、ウェーブレット変換を施し、LL成分ブロッ
ク、LH成分ブロック、HL成分ブロック、及び、HH
成分ブロック、からなるブロック(図13(b)参照)
を生成する。
[0506] The wavelet transform circuit D1 is a 1/4 pixel block 600 read from the frame memory M1.
Is subjected to a wavelet transform, and the LL component block, LH component block, HL component block, and HH
Block consisting of component blocks (see FIG. 13B)
Generate

【0507】そして、データ削減回路E1は、そのブロ
ックから、HL成分ブロック、及び、HH成分ブロッ
ク、を削除し、LL成分ブロック、及び、LH成分ブロ
ック、からなるブロックを、フレームメモリM2へ出力
する。
Then, the data reduction circuit E1 deletes the HL component block and the HH component block from the block, and outputs a block composed of the LL component block and the LH component block to the frame memory M2. .

【0508】このような、LL成分ブロック、及び、L
H成分ブロック、からなるブロックが、他の3つの1/
4の画素ブロック600に対しても生成され、フレーム
メモリM2へ出力される。
The LL component block and L
The block consisting of the H component block is
The four pixel blocks 600 are also generated and output to the frame memory M2.

【0509】従って、図14(b)に示すように、LL
成分ブロック、及び、LH成分ブロック、からなるブロ
ック610を4つ集めて、1フレーム分の画像データと
し、この1フレーム分の画像データが、フレームメモリ
M2のフレーム領域M2a、M2bの各々に記憶され
る。
Therefore, as shown in FIG.
Four blocks 610 each composed of a component block and an LH component block are collected into one frame of image data, and the one frame of image data is stored in each of the frame areas M2a and M2b of the frame memory M2. You.

【0510】データ削減回路E2は、フレームメモリM
2から読み出したブロック610から、LH成分ブロッ
ク、を削除し、LL成分ブロックのみからなるブロック
を、フレームメモリM3へ出力する。
[0510] The data reduction circuit E2 includes a frame memory M
Then, the LH component block is deleted from the block 610 read from the block No. 2, and a block consisting of only the LL component block is output to the frame memory M3.

【0511】このような、LL成分ブロックのみからな
るブロックが、他の3つのブロック610に対しても生
成され、フレームメモリM3へ出力される。
[0511] Such a block consisting only of the LL component block is generated for the other three blocks 610, and is output to the frame memory M3.

【0512】従って、図14(c)に示すように、LL
成分ブロックのみからなるブロッ620を4つ集めて、
1フレーム分の画像データとし、この1フレーム分の画
像データが、フレームメモリM3のフレーム領域M3
a、M3bの各々に記憶される。
[0512] Therefore, as shown in FIG.
Collect four blocks 620 consisting only of component blocks,
One frame of image data is stored in the frame area M3 of the frame memory M3.
a and M3b.

【0513】ウェーブレット変換回路D2は、フレーム
メモリM3から読み出したブロック620に対して、ウ
ェーブレット変換を施し、LL_LL成分ブロック、L
L_LH成分ブロック、LL_HL成分ブロック、及
び、LL_HH成分ブロック、からなるブロックを生成
する。
[0513] The wavelet transform circuit D2 performs a wavelet transform on the block 620 read from the frame memory M3, and performs LL_LL component blocks and L
A block including an L_LH component block, an LL_HL component block, and an LL_HH component block is generated.

【0514】データ削減回路E3は、LL_LL成分ブ
ロック、LL_LH成分ブロック、LL_HL成分ブロ
ック、及び、LL_HH成分ブロック、からなるブロッ
クから、LL_HL成分ブロック及びLL_HH成分ブ
ロックを削除し、LL_LL成分ブロック及びLL_L
H成分ブロックからなるブロックを、フレームメモリM
4へ出力する。
[0514] The data reduction circuit E3 deletes the LL_HL component block and the LL_HH component block from the block composed of the LL_LL component block, the LL_LH component block, the LL_HL component block, and the LL_HH component block, and deletes the LL_LL component block and LL_L.
A block composed of H component blocks is stored in a frame memory M
Output to 4.

【0515】このような、LL_LL成分ブロック及び
LL_LH成分ブロックからなるブロックが、他の3つ
のブロック620に対しても生成され、フレームメモリ
M4へ出力される。
[0515] Such a block composed of the LL_LL component block and the LL_LH component block is also generated for the other three blocks 620, and is output to the frame memory M4.

【0516】従って、図14(d)に示すように、LL
_LL成分ブロック及びLL_LH成分ブロックからな
るブロック630を4つ集めて、1フレーム分の画像デ
ータとし、この1フレーム分の画像データが、フレーム
メモリM4のフレーム領域M4a〜M4dの各々に記憶
される。
Therefore, as shown in FIG. 14D, LL
Four blocks 630 each composed of an _LL component block and an LL_LH component block are collected into one frame of image data, and the one frame of image data is stored in each of the frame areas M4a to M4d of the frame memory M4.

【0517】さて、上記では、図5の動画像復号化装置
における画像データ記憶装置80について説明をした
が、図4の動画像符号化装置における画像データ記憶装
置80も、図12に示した画像データ記憶装置と同様の
構成を有し、同様の動作及び効果を有する。
[0517] In the above description, the image data storage device 80 in the moving picture decoding device in FIG. 5 has been described. However, the image data storage device 80 in the moving picture coding device in FIG. It has the same configuration as the data storage device, and has the same operation and effect.

【0518】なお、図4の動画像符号化装置及び図5の
動画像復号化装置の画像データ記憶装置80として、図
12の画像データ記憶装置のみならず、図1の画像デー
タ記憶装置を使用できる。
[0518] As the image data storage device 80 of the video encoding device of Fig. 4 and the video decoding device of Fig. 5, not only the image data storage device of Fig. 12 but also the image data storage device of Fig. 1 are used. it can.

【0519】また、上記では、図4の動画像符号化装置
と、図5の動画像復号化装置と、を組み合わせた動画像
圧縮伸長システムを説明したが、必ずしも両者を組み合
わせて使用する必要はなく、図4の動画像符号化装置
と、一般的な動画像復号化装置と、を組み合わせて使用
したり、また、一般的な動画像符号化装置と、図5の動
画像復号化装置と、を組み合わせて使用することもでき
る。
[0519] In the above description, the moving picture compression / decompression system in which the moving picture coding apparatus of FIG. 4 and the moving picture decoding apparatus of FIG. 5 are combined has been described. However, it is not always necessary to use both in combination. 4 and a general moving image decoding apparatus, and a general moving image encoding apparatus and a moving image decoding apparatus of FIG. , Can also be used in combination.

【0520】また、実施の形態1と同様に、上記した図
12の画像データ記憶装置は、それ単体で使用すること
もできる。
As in the first embodiment, the image data storage device shown in FIG. 12 can be used alone.

【0521】この場合、例えば、静止画像を記憶するた
めに用いることができる。そして、画像データの使用目
的に応じて、画像データの画質、記憶枚数、等を考慮し
た適切な記憶形態を選択できる。このため、この場合
も、処理量の増加の抑制を図りながらも、記憶容量の削
減を図ることができる。
In this case, for example, it can be used to store a still image. Then, an appropriate storage mode can be selected in consideration of the image quality of the image data, the number of stored images, and the like according to the purpose of use of the image data. Therefore, also in this case, the storage capacity can be reduced while suppressing an increase in the processing amount.

【0522】(実施の形態5)図15は、本発明の実施
の形態5における動画像圧縮伸長システムのブロックで
ある。なお、図15において、図4又は図5と同様の部
分については同一の符号を付して説明を適宜省略する。
(Embodiment 5) FIG. 15 is a block diagram of a moving picture compression / decompression system according to Embodiment 5 of the present invention. In FIG. 15, the same components as those in FIG. 4 or FIG. 5 are denoted by the same reference numerals, and description thereof will be omitted as appropriate.

【0523】図15に示すように、この動画像圧縮伸長
システムの動画像符号化装置1000は、図4の動画像
符号化装置の構成に、多重化回路1100を加えたもの
である。
As shown in FIG. 15, a moving picture coding apparatus 1000 of this moving picture compression / decompression system is obtained by adding a multiplexing circuit 1100 to the structure of the moving picture coding apparatus shown in FIG.

【0524】また、この動画像圧縮伸長システムの動画
像復号化装置2000は、図5の動画像復号化装置の構
成に、分離回路2100を加えたものである。
[0524] Further, the moving picture decoding apparatus 2000 of this moving picture compression / decompression system is obtained by adding a separating circuit 2100 to the structure of the moving picture decoding apparatus of FIG.

【0525】なお、動画像符号化装置1000の画像デ
ータ記憶装置80と、動画像復号化装置2000の画像
データ記憶装置80と、は同様のものである。
[0525] The image data storage device 80 of the moving image encoding device 1000 and the image data storage device 80 of the moving image decoding device 2000 are the same.

【0526】さて、次に、図4及び図5と異なる点を中
心に、動作を説明する。多重化回路1100は、可変長
符号化回路40から入力される動画像符号化データと、
画像データ記憶装置80から入力される参照フレームの
圧縮に関する情報と、の多重化を行い、多重化データと
して、通信路1500に送出する。
Next, the operation will be described focusing on the differences from FIGS. 4 and 5. The multiplexing circuit 1100 includes: moving image encoded data input from the variable length encoding circuit 40;
It multiplexes the information related to the compression of the reference frame input from the image data storage device 80, and sends out the multiplexed data to the communication path 1500.

【0527】ここで、参照フレームの圧縮に関する情報
とは、符号化対象フレームに用いた参照フレームを、動
画像符号化装置1000の画像データ記憶装置80に記
憶した際に用いた圧縮パラメータ(図2参照)の情報で
ある。
Here, the information relating to the compression of the reference frame is the compression parameter (FIG. 2) used when the reference frame used for the encoding target frame is stored in the image data storage device 80 of the moving image encoding apparatus 1000. Reference).

【0528】動画像復号化装置2000の分離回路21
00は、多重化回路1100が送出した多重化データ
を、通信路1500から入力する。
[0528] Separation circuit 21 of video decoding apparatus 2000
00 inputs the multiplexed data transmitted by the multiplexing circuit 1100 from the communication path 1500.

【0529】そして、分離回路2100は、多重化デー
タを、動画像符号化データと、参照フレームの圧縮に関
する情報と、に分離する。
The separation circuit 2100 separates the multiplexed data into coded video data and information related to the compression of the reference frame.

【0530】分離回路2100は、この動画像符号化デ
ータを可変長復号化回路110に出力し、この参照フレ
ームの圧縮に関する情報を画像データ記憶装置80に出
力する。
[0531] The separation circuit 2100 outputs the encoded video data to the variable length decoding circuit 110, and outputs information related to the compression of the reference frame to the image data storage device 80.

【0531】そして、動画像復号化装置2000の画像
データ記憶装置80は、動画像符号化装置1000の画
像データ記憶装置80で用いた圧縮に関する情報を用い
て、参照フレームの圧縮及び伸長を行う。
[0531] Then, the image data storage device 80 of the video decoding device 2000 performs compression and decompression of the reference frame using the information on the compression used in the video data storage device 80 of the video encoding device 1000.

【0532】このため、動画像復号化装置2000の画
像データ記憶装置80が、参照フレームを非可逆圧縮し
て記憶し伸長する場合でも、動画像符号化装置1000
で符号化の際に用いる参照フレームと、動画像復号化装
置2000で復号化の際に用いる参照フレームと、が同
一となる。
[0532] For this reason, even when the image data storage device 80 of the moving picture decoding apparatus 2000 stores and decompresses the reference frame by irreversibly compressing it, the moving picture coding apparatus 1000 can be used.
, The reference frame used at the time of encoding and the reference frame used at the time of decoding by the video decoding device 2000 are the same.

【0533】このため、本実施の形態では、動画像符号
化装置1000と動画像復号化装置2000との間での
参照フレームの画像データの不一致に起因する画質の劣
化を防止しながらも、動画像符号化装置1000及び動
画像復号化装置2000の画像データ記憶装置80のフ
レームメモリの記憶容量の削減を行うことができる。
[0533] Therefore, in the present embodiment, the moving picture encoding apparatus 1000 and the moving picture decoding apparatus 2000 prevent the deterioration of the picture quality due to the inconsistency of the image data of the reference frame between the moving picture decoding apparatus 2000 and the moving picture decoding apparatus. The storage capacity of the frame memory of the image data storage device 80 of the image encoding device 1000 and the moving image decoding device 2000 can be reduced.

【0534】なお、図15の動画像符号化装置1000
及び動画像復号化装置2000の画像データ記憶装置8
0として、図6の画像データ記憶装置のみならず、図
1、図8、又は、図12の画像データ記憶装置を使用で
きる。
[0534] The moving picture coding apparatus 1000 shown in FIG.
And image data storage device 8 of video decoding device 2000
As 0, not only the image data storage device in FIG. 6 but also the image data storage device in FIG. 1, FIG. 8, or FIG. 12 can be used.

【0535】[0535]

【発明の効果】請求項1記載の画像データ記憶装置で
は、複数のフレームの画像データを記憶する画像データ
記憶装置において、各フレームに対して、使用頻度を考
慮した適切な記憶形態を選択できる。その他、画像デー
タの使用目的に応じて、画像データの画質、記憶枚数、
等を考慮した適切な記憶形態を選択できる。
According to the image data storage device of the present invention, in the image data storage device for storing the image data of a plurality of frames, it is possible to select an appropriate storage mode for each frame in consideration of the frequency of use. In addition, depending on the purpose of use of the image data, the image quality of the image data,
An appropriate storage mode can be selected in consideration of the above.

【0536】その結果、処理量の増加の抑制を図りなが
らも、記憶容量の削減を図ることができる。
As a result, it is possible to reduce the storage capacity while suppressing an increase in the processing amount.

【0537】請求項2記載の画像データ記憶装置では、
複数のフレームの画像データを記憶する画像データ記憶
装置において、各フレームに対して、使用頻度を考慮し
た一層適切な記憶形態を選択できる。その他、画像デー
タの使用目的に応じて、画像データの画質、記憶枚数、
等を考慮した一層適切な記憶形態を選択できる。
[0537] In the image data storage device according to the second aspect,
In an image data storage device that stores image data of a plurality of frames, a more appropriate storage mode can be selected for each frame in consideration of the frequency of use. In addition, depending on the purpose of use of the image data, the image quality of the image data,
A more appropriate storage mode can be selected in consideration of the above.

【0538】その結果、処理量の増加の抑制を図りなが
らも、記憶容量の削減を一層効果的に図ることができ
る。
As a result, it is possible to more effectively reduce the storage capacity while suppressing an increase in the processing amount.

【0539】請求項3記載の画像データ記憶装置では、
複数のフレームの画像データを記憶する画像データ記憶
装置において、より一層適切な記憶形態を選択すること
ができるため、処理量の増加の抑制を考慮した記憶容量
の削減をより一層効果的に図ることができる。
In the image data storage device according to the third aspect,
In an image data storage device that stores image data of a plurality of frames, a more appropriate storage mode can be selected, so that the storage capacity can be more effectively reduced in consideration of suppressing an increase in the processing amount. Can be.

【0540】請求項4記載の画像データ記憶装置では、
処理量の増加の抑制を図りながらも、記憶容量の削減を
図ることができる。
[0540] In the image data storage device of the fourth aspect,
The storage capacity can be reduced while suppressing an increase in the processing amount.

【0541】請求項5記載の画像データ記憶装置では、
画像データの圧縮処理及び伸長処理を高速に行うことが
できる。
In the image data storage device according to the fifth aspect,
Compression processing and decompression processing of image data can be performed at high speed.

【0542】また、圧縮手段が複数設けられ、これに対
応して、第2の記憶手段が複数設けられている場合にお
いて、ある第2の記憶手段に記憶された画像データを、
記憶形態を変更して、他の第2の記憶手段に記憶させる
ときに、伸長処理を行うことなく、圧縮処理を行うこと
ができる。
In the case where a plurality of compression means are provided and a plurality of second storage means are provided correspondingly, image data stored in a certain second storage means
When the storage mode is changed and stored in another second storage unit, the compression process can be performed without performing the decompression process.

【0543】従って、ある第2の記憶手段に記憶された
画像データを、記憶形態を変更して、他の第2の記憶手
段に記憶させる際の処理を高速に行うことができる。
Therefore, the processing for storing the image data stored in a certain second storage means in another second storage means by changing the storage mode can be performed at high speed.

【0544】また、圧縮手段が複数設けられ、これに対
応して、第2の記憶手段が複数設けられている場合にお
いて、画像データ伸長手段を、複数の第2の記憶手段で
共有できる。従って、回路規模の削減を図ることができ
る。
In the case where a plurality of compression means are provided and a plurality of second storage means are provided correspondingly, the image data decompression means can be shared by the plurality of second storage means. Therefore, the circuit scale can be reduced.

【0545】請求項6記載の画像データ記憶装置では、
圧縮手段が複数設けられ、これに対応して、第2の記憶
手段が複数設けられている場合において、ある第2の記
憶手段に記憶された画像データを、記憶形態を変更し
て、他の第2の記憶手段に記憶させるときに、伸長処理
を行うことなく、圧縮処理を行うことができる。
[0545] In the image data storage device of the sixth aspect,
In the case where a plurality of compression units are provided and a plurality of second storage units are provided correspondingly, the image data stored in a certain second storage unit may be changed in storage form to another one. When storing the data in the second storage means, the compression processing can be performed without performing the decompression processing.

【0546】従って、ある第2の記憶手段に記憶された
画像データを、記憶形態を変更して、他の第2の記憶手
段に記憶させる際の処理を高速に行うことができる。
Therefore, it is possible to change the storage form of the image data stored in a certain second storage means and to store the image data in another second storage means at high speed.

【0547】また、圧縮手段が複数設けられ、これに対
応して、第2の記憶手段が複数設けられている場合にお
いて、画像データ伸長手段を、複数の第2の記憶手段で
共有できる。従って、回路規模の削減を図ることができ
る。
In the case where a plurality of compression means are provided and a plurality of second storage means are provided correspondingly, the image data decompression means can be shared by the plurality of second storage means. Therefore, the circuit scale can be reduced.

【0548】また、人間の視覚にとっては、画像データ
の高周波領域成分よりも低周波領域成分が重要となるた
め、圧縮手段による圧縮の際に、高周波領域成分から削
除することにすれば、人間の視覚に重要な低周波領域成
分が残って、伸長後の画像データを使用した画像処理後
の画像の画質の劣化を軽減できる。
Also, since low-frequency components are more important to human vision than high-frequency components of image data, if they are deleted from high-frequency components at the time of compression by the compression means, human Low-frequency area components that are important for vision remain, and deterioration of the image quality of the image after image processing using the decompressed image data can be reduced.

【0549】請求項7記載の画像データ記憶装置では、
第1の記憶手段及び第2の記憶手段が記憶している画像
データの更新が可能となる。
In the image data storage device according to the seventh aspect,
The image data stored in the first storage unit and the second storage unit can be updated.

【0550】請求項8記載の画像データ記憶装置では、
第1の記憶手段及び第2の記憶手段が記憶している画像
データの更新が可能となる。
[0550] In the image data storage device according to the eighth aspect,
The image data stored in the first storage unit and the second storage unit can be updated.

【0551】また、更新処理で画像データ伸長手段を使
用しないため、更新処理の高速化が可能となる。
Further, since the image data decompression means is not used in the update processing, the speed of the update processing can be increased.

【0552】請求項9記載の画像データ記憶装置では、
フレーム単位の画像データを記憶する第1の記憶手段又
は第2の記憶手段から、画像データを、m×n画素のブ
ロック単位で読み出すことができる。
In the image data storage device according to the ninth aspect,
Image data can be read from the first storage unit or the second storage unit that stores image data in frame units in block units of m × n pixels.

【0553】請求項10記載の画像データ記憶装置で
は、ユーザは、画像データを、圧縮せずに記憶するの
か、あるいは、圧縮して記憶するのか、さらに、圧縮し
て記憶する場合は、どの圧縮方式で圧縮して記憶するの
か、をフレーム単位で任意に選択できる。
In the image data storage device according to the tenth aspect, the user can select whether to store the image data without compression, or to store the image data after compression. It is possible to arbitrarily select, in a frame unit, whether the data is compressed and stored by the method.

【0554】その結果、ユーザの利便性の向上を図りな
がらも、記憶容量の削減を図ることができる。
As a result, the storage capacity can be reduced while improving the convenience for the user.

【0555】請求項11記載の符号化装置では、複数の
フレームを符号化の際の参照フレームとするこができる
場合において、各参照フレームに対して、使用頻度を考
慮した適切な記憶形態を選択できる。
In the encoding apparatus according to the eleventh aspect, when a plurality of frames can be used as reference frames for encoding, an appropriate storage mode is selected for each reference frame in consideration of the frequency of use. it can.

【0556】その結果、処理量の増加の抑制を図りなが
らも、記憶容量の削減を図ることができる。
As a result, it is possible to reduce the storage capacity while suppressing an increase in the processing amount.

【0557】請求項12記載の符号化装置では、複数の
フレームを符号化の際の参照フレームとするこができる
場合において、各参照フレームは、それぞれの使用頻度
を考慮した適切な記憶形態で記憶される。
In the encoding apparatus according to the twelfth aspect, when a plurality of frames can be used as reference frames for encoding, each reference frame is stored in an appropriate storage form in consideration of the frequency of use. Is done.

【0558】その結果、処理量の増加の抑制を図りなが
らも、記憶容量の削減を図ることができる。
As a result, it is possible to reduce the storage capacity while suppressing an increase in the processing amount.

【0559】請求項13記載の符号化装置では、複数の
フレームを符号化の際の参照フレームとするこができる
場合において、各フレームに対して、使用頻度を考慮し
た一層適切な記憶形態を選択できる。
In the encoding apparatus according to the thirteenth aspect, when a plurality of frames can be used as reference frames for encoding, a more appropriate storage mode is selected for each frame in consideration of the frequency of use. it can.

【0560】その結果、処理量の増加の抑制を図りなが
らも、記憶容量の削減を一層効果的に図ることができ
る。
As a result, it is possible to more effectively reduce the storage capacity while suppressing an increase in the processing amount.

【0561】請求項14記載の符号化装置では、複数の
フレームを符号化の際の参照フレームとするこができる
場合において、各参照フレームは、それぞれの使用頻度
を考慮した一層適切な記憶形態で記憶される。
In the encoding apparatus according to the fourteenth aspect, when a plurality of frames can be used as reference frames for encoding, each reference frame is stored in a more appropriate storage form in consideration of the frequency of use. It is memorized.

【0562】その結果、処理量の増加の抑制を図りなが
らも、記憶容量の削減を一層効果的に図ることができ
る。
As a result, it is possible to more effectively reduce the storage capacity while suppressing an increase in the processing amount.

【0563】請求項15記載の復号化装置では、複数の
フレームを復号化の際の参照フレームとするこができる
場合において、各参照フレームに対して、使用頻度を考
慮した適切な記憶形態を選択できる。
In the decoding device according to the fifteenth aspect, when a plurality of frames can be used as reference frames for decoding, an appropriate storage mode considering the frequency of use is selected for each reference frame. it can.

【0564】その結果、処理量の増加の抑制を図りなが
らも、記憶容量の削減を図ることができる。
As a result, it is possible to reduce the storage capacity while suppressing an increase in the processing amount.

【0565】請求項16記載の復号化装置では、複数の
フレームを復号化の際の参照フレームとするこができる
場合において、各参照フレームは、それぞれの使用頻度
を考慮した適切な記憶形態で記憶される。
In the decoding device according to the present invention, when a plurality of frames can be used as reference frames for decoding, each reference frame is stored in an appropriate storage form in consideration of the frequency of use. Is done.

【0566】その結果、処理量の増加の抑制を図りなが
らも、記憶容量の削減を図ることができる。
[0566] As a result, the storage capacity can be reduced while suppressing an increase in the processing amount.

【0567】請求項17記載の復号化装置では、複数の
フレームを復号化の際の参照フレームとするこができる
場合において、各フレームに対して、使用頻度を考慮し
た一層適切な記憶形態を選択できる。
In the decoding device according to the seventeenth aspect, when a plurality of frames can be used as reference frames for decoding, a more appropriate storage mode is selected for each frame in consideration of the frequency of use. it can.

【0568】その結果、処理量の増加の抑制を図りなが
らも、記憶容量の削減を一層効果的に図ることができ
る。
As a result, it is possible to more effectively reduce the storage capacity while suppressing an increase in the processing amount.

【0569】請求項18記載の復号化装置では、複数の
フレームを復号化の際の参照フレームとするこができる
場合において、各参照フレームは、それぞれの使用頻度
を考慮した一層適切な記憶形態で記憶される。
In the decoding apparatus according to the eighteenth aspect, when a plurality of frames can be used as reference frames for decoding, each of the reference frames is stored in a more appropriate storage form in consideration of the frequency of use. It is memorized.

【0570】その結果、処理量の増加の抑制を図りなが
らも、記憶容量の削減を一層効果的に図ることができ
る。
As a result, the storage capacity can be more effectively reduced while suppressing an increase in the processing amount.

【0571】請求項19記載の圧縮伸長システムでは、
復号化装置の画像データ記憶装置において、参照フレー
ムを非可逆圧縮して記憶し伸長する場合でも、符号化装
置と復号化装置とで参照フレームは同一となる。
In the compression / decompression system according to claim 19,
In the image data storage device of the decoding device, even when the reference frame is irreversibly compressed and stored and decompressed, the reference frame is the same in the encoding device and the decoding device.

【0572】その結果、符号化装置と復号化装置との間
での参照フレームの画像データの不一致に起因する画質
の劣化を防止しながらも、符号化装置及び復号化装置の
画像データ記憶装置の記憶容量の削減を行うことができ
る。
As a result, while preventing the image quality from being deteriorated due to the inconsistency of the image data of the reference frame between the encoding device and the decoding device, the image data storage devices of the encoding device and the decoding device can be prevented. The storage capacity can be reduced.

【0573】請求項20記載の圧縮伸長システムでは、
復号化装置の画像データ記憶装置において、参照フレー
ムを非可逆圧縮して記憶し伸長する場合でも、符号化装
置と復号化装置とで参照フレームは同一となる。
In the compression / decompression system according to the twentieth aspect,
In the image data storage device of the decoding device, even when the reference frame is irreversibly compressed and stored and decompressed, the reference frame is the same in the encoding device and the decoding device.

【0574】その結果、符号化装置と復号化装置との間
での参照フレームの画像データの不一致に起因する画質
の劣化を防止しながらも、符号化装置及び復号化装置の
画像データ記憶装置の記憶容量の削減を行うことができ
る。
As a result, while preventing the image quality from being deteriorated due to the inconsistency of the image data of the reference frame between the encoding device and the decoding device, the image data storage devices of the encoding device and the decoding device can be prevented. The storage capacity can be reduced.

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

【図1】本発明の実施の形態1における画像データ記憶
装置のブロック図
FIG. 1 is a block diagram of an image data storage device according to a first embodiment of the present invention.

【図2】同第1の記憶関連情報の説明図FIG. 2 is an explanatory diagram of the first storage-related information.

【図3】同第2の記憶関連情報の説明図FIG. 3 is an explanatory diagram of the second storage-related information.

【図4】本発明の実施の形態2における動画像圧縮伸長
システムの動画像符号化装置のブロック図
FIG. 4 is a block diagram of a video encoding device of a video compression / decompression system according to Embodiment 2 of the present invention.

【図5】同動画像復号化装置のブロック図FIG. 5 is a block diagram of a moving image decoding device.

【図6】同動画像復号化装置の画像データ記憶装置のブ
ロック図
FIG. 6 is a block diagram of an image data storage device of the moving image decoding device.

【図7】同画像データ記憶装置における更新処理の説明
FIG. 7 is an explanatory diagram of an update process in the image data storage device.

【図8】本発明の実施の形態3における動画像圧縮伸長
システムの動画像復号化装置の画像データ記憶装置のブ
ロック図
FIG. 8 is a block diagram of an image data storage device of a video decoding device of a video compression / decompression system according to Embodiment 3 of the present invention.

【図9】(a)同縦方向の間引き前の画像データの概念
図 (b)同縦方向の間引き後の画像データの概念図
9A is a conceptual diagram of image data before thinning in the same vertical direction, and FIG. 9B is a conceptual diagram of image data after thinning in the same vertical direction.

【図10】(a)同横方向の間引き前の画像データの概
念図 (b)同横方向の間引き後の画像データの概念図
10A is a conceptual diagram of image data before thinning in the horizontal direction, and FIG. 10B is a conceptual diagram of image data after thinning in the horizontal direction.

【図11】(a)同フレームメモリM1に記憶される画
像データの概念図 (b)同フレームメモリM2に記憶される画像データの
概念図 (c)同フレームメモリM3に記憶される画像データの
概念図 (d)同フレームメモリM4に記憶される画像データの
概念図
11A is a conceptual diagram of image data stored in the frame memory M1, FIG. 11B is a conceptual diagram of image data stored in the frame memory M2, and FIG. 11C is a conceptual diagram of image data stored in the frame memory M3. Conceptual diagram (d) Conceptual diagram of image data stored in the same frame memory M4

【図12】本発明の実施の形態4における動画像圧縮伸
長システムの動画像復号化装置の画像データ記憶装置の
ブロック図
FIG. 12 is a block diagram of a video data storage device of a video decoding device of the video compression / decompression system according to Embodiment 4 of the present invention.

【図13】(a)同ウェーブレット変換前の画像データ
の概念図 (b)同ウェーブレット変換後の画像データの概念図
13A is a conceptual diagram of image data before the wavelet transform, and FIG. 13B is a conceptual diagram of image data after the wavelet transform.

【図14】(a)同フレームメモリM1に記憶される画
像データの概念図 (b)同フレームメモリM2に記憶される画像データの
概念図 (c)同フレームメモリM3に記憶される画像データの
概念図 (d)同フレームメモリM4に記憶される画像データの
概念図
14A is a conceptual diagram of image data stored in the frame memory M1, FIG. 14B is a conceptual diagram of image data stored in the frame memory M2, and FIG. 14C is a conceptual diagram of image data stored in the frame memory M3. Conceptual diagram (d) Conceptual diagram of image data stored in the same frame memory M4

【図15】本発明の実施の形態5における動画像圧縮伸
長システムのブロック図
FIG. 15 is a block diagram of a moving image compression / decompression system according to a fifth embodiment of the present invention.

【図16】従来の動画像復号化装置のブロック図FIG. 16 is a block diagram of a conventional video decoding device.

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

1 画像データ圧縮手段 2 画像データ記憶手段 3 画像データ伸長手段 4 制御手段 5、6、7、8 データバス 10 減算器 20 直交変換回路 30 量子化回路 31 補間回路 32 逆ウェーブレット変換回路 33 データ補間回路 40 可変長符号化回路 41 メモリ制御手段 42 制御回路 50、910 逆量子化回路 60、920 逆直交変換回路 70、930 加算器 80 画像データ記憶装置 90、950 動き補償回路 100 動き検出回路 110、900 可変長復号化回路 200、210、300、310、400、410、4
20、430、500、600 画素ブロック 510、510a〜510d、610、620、630
ブロック 940 画像データ記憶部 1000 動画像符号化装置 1100 多重化回路 2000 動画像復号化装置 2100 分離回路 A1〜AI、941 圧縮回路 M1〜MJ、942 フレームメモリ B1〜BI、943 伸長回路 MC1〜MC4 メモリ制御回路 M1a、M1b、M2a、M2b、M3a、M3b、M
4a〜M4d フレーム領域 C1〜C3 間引き回路 D1、D2 ウェーブレット変換回路 E1〜E3 データ削減回路
DESCRIPTION OF SYMBOLS 1 Image data compression means 2 Image data storage means 3 Image data decompression means 4 Control means 5, 6, 7, 8 Data bus 10 Subtractor 20 Orthogonal transformation circuit 30 Quantization circuit 31 Interpolation circuit 32 Inverse wavelet transformation circuit 33 Data interpolation circuit 40 variable length encoding circuit 41 memory control means 42 control circuit 50, 910 inverse quantization circuit 60, 920 inverse orthogonal transformation circuit 70, 930 adder 80 image data storage device 90, 950 motion compensation circuit 100 motion detection circuit 110, 900 Variable length decoding circuits 200, 210, 300, 310, 400, 410, 4
20, 430, 500, 600 Pixel blocks 510, 510a to 510d, 610, 620, 630
Block 940 Image data storage unit 1000 Video encoding device 1100 Multiplexing circuit 2000 Video decoding device 2100 Separation circuits A1 to AI, 941 Compression circuits M1 to MJ, 942 Frame memories B1 to BI, 943 Decompression circuits MC1 to MC4 Memory Control circuits M1a, M1b, M2a, M2b, M3a, M3b, M
4a to M4d Frame areas C1 to C3 Thinning circuits D1 and D2 Wavelet transform circuits E1 to E3 Data reduction circuit

───────────────────────────────────────────────────── フロントページの続き (72)発明者 濱田 真納 大阪府門真市大字門真1006番地 松下電器 産業株式会社内 Fターム(参考) 5C052 AA17 GA07 GB01 GC03 GC05 GD09 GE04 GF02 GF03 5C059 KK08 LB05 LB15 MA00 MA05 MA24 MC11 MC38 ME01 PP01 PP04 TA06 TA08 TA17 TA21 TB03 TB04 TB07 TB08 TC41 TD07 UA02 UA05 UA35 UA37 UA38    ────────────────────────────────────────────────── ─── Continuation of front page    (72) Inventor Mana Hamada             Matsushita Electric, 1006 Kadoma, Kazuma, Osaka             Sangyo Co., Ltd. F term (reference) 5C052 AA17 GA07 GB01 GC03 GC05                       GD09 GE04 GF02 GF03                 5C059 KK08 LB05 LB15 MA00 MA05                       MA24 MC11 MC38 ME01 PP01                       PP04 TA06 TA08 TA17 TA21                       TB03 TB04 TB07 TB08 TC41                       TD07 UA02 UA05 UA35 UA37                       UA38

Claims (20)

【特許請求の範囲】[Claims] 【請求項1】画像データを圧縮する圧縮手段と、 複数のフレームの圧縮されていない画像データをフレー
ム単位で記憶する第1の記憶手段と、 前記圧縮手段に対応して設けられ、対応する前記圧縮手
段により圧縮された画像データをフレーム単位で記憶す
る第2の記憶手段と、 前記圧縮手段により圧縮されて、前記第2の記憶手段に
記憶された画像データを伸長する画像データ伸長手段
と、を備える、ことを特徴とする画像データ記憶装置。
A compression means for compressing image data; a first storage means for storing uncompressed image data of a plurality of frames in frame units; and a first storage means provided corresponding to the compression means. A second storage unit that stores the image data compressed by the compression unit in frame units; an image data expansion unit that is compressed by the compression unit and expands the image data stored in the second storage unit; An image data storage device comprising:
【請求項2】画像データを圧縮する複数の圧縮手段と、 単数又は複数のフレームの圧縮されていない画像データ
をフレーム単位で記憶する第1の記憶手段と、 前記複数の圧縮手段に対応して設けられ、各々が、対応
する前記圧縮手段により圧縮された画像データをフレー
ム単位で記憶する複数の第2の記憶手段と、 前記圧縮手段により圧縮されて、前記第2の記憶手段に
記憶された画像データを伸長する画像データ伸長手段
と、を備え、 前記圧縮手段の各々の圧縮率は、互いに異なる、ことを
特徴とする画像データ記憶装置。
A plurality of compression means for compressing image data; a first storage means for storing uncompressed image data of one or more frames in frame units; and a plurality of compression means corresponding to the plurality of compression means. A plurality of second storage units, each of which stores the image data compressed by the corresponding compression unit in a frame unit, each being compressed by the compression unit and stored in the second storage unit Image data decompressing means for decompressing image data, wherein each of the compression means has a different compression ratio.
【請求項3】予め定められた単数又は複数の前記圧縮手
段は、可逆圧縮を実行し、他の圧縮手段は、非可逆圧縮
を実行する、ことを特徴とする請求項2記載の画像デー
タ記憶装置。
3. The image data storage according to claim 2, wherein one or more of the predetermined compression means performs lossless compression, and the other compression means performs lossy compression. apparatus.
【請求項4】前記画像データ伸長手段は、前記複数の圧
縮手段に対応して設けられる複数の伸長手段を含み、 前記伸長手段は、対応する前記圧縮手段により圧縮され
て、対応する前記第2の記憶手段に記憶された画像デー
タを伸長する、ことを特徴とする請求項2又は3記載の
画像データ記憶装置。
4. The image data decompression means includes a plurality of decompression means provided corresponding to the plurality of compression means, wherein the decompression means is compressed by a corresponding one of the compression means and a corresponding one of the second one. 4. The image data storage device according to claim 2, wherein the image data stored in the storage unit is expanded.
【請求項5】前記圧縮手段は、画素データを間引くこと
によって、画像データを圧縮し、 前記画像データ伸長手段は、画素データを補間すること
によって、前記圧縮手段により圧縮された画像データを
伸長する、ことを特徴とする請求項1から3記載の画像
データ記憶装置。
5. The compression means compresses image data by thinning out pixel data, and the image data expansion means expands the image data compressed by the compression means by interpolating pixel data. 4. The image data storage device according to claim 1, wherein:
【請求項6】前記圧縮手段は、画像データに対してウェ
ーブレット変換を施すことによって得られた周波数領域
成分からなる複数のブロックから、予め定められたブロ
ックを削減することによって、画像データを圧縮し、 前記画像データ伸長手段は、前記圧縮手段により圧縮さ
れた画像データに対して、圧縮により削除された前記予
め定められたブロックを予め定められたデータで補間
し、逆ウェーブレット変換を施すことによって、前記圧
縮手段により圧縮された画像データを伸長する、ことを
特徴とする請求項1から3記載の画像データ記憶装置。
6. The image processing apparatus according to claim 1, wherein the compression unit compresses the image data by reducing a predetermined block from a plurality of blocks composed of frequency domain components obtained by performing a wavelet transform on the image data. The image data decompression means, for the image data compressed by the compression means, by interpolating the predetermined block deleted by compression with predetermined data, by performing an inverse wavelet transform, 4. The image data storage device according to claim 1, wherein the image data compressed by the compression unit is expanded.
【請求項7】前記第1の記憶手段、前記第2の記憶手
段、前記圧縮手段、及び、前記画像データ伸長手段、に
対して、前記第1の記憶手段及び前記第2の記憶手段が
記憶している画像データの記憶形態を変更する指示を与
える制御手段をさらに備える、ことを特徴とする請求項
1から4記載の画像データ記憶装置。
7. The first storage means and the second storage means store the first storage means, the second storage means, the compression means, and the image data decompression means. 5. The image data storage device according to claim 1, further comprising control means for giving an instruction to change a storage mode of the image data being processed.
【請求項8】前記第1の記憶手段、前記第2の記憶手
段、及び、前記圧縮手段、に対して、前記第1の記憶手
段及び前記第2の記憶手段が記憶している画像データの
記憶形態を変更する指示を与える制御手段をさらに備え
る、ことを特徴とする請求項5又は6記載の画像データ
記憶装置。
8. The image data stored in the first storage means and the second storage means with respect to the first storage means, the second storage means, and the compression means. 7. The image data storage device according to claim 5, further comprising control means for giving an instruction to change a storage mode.
【請求項9】前記圧縮手段は、m×n(m、nは自然
数)画素のブロック単位で圧縮を行い、 前記画像データ伸長手段は、m×n(m、nは自然数)
画素のブロック単位で伸長を行う、ことを特徴とする請
求項1から8記載の画像データ記憶装置。
9. The compression means performs compression in units of m × n (m and n are natural numbers) pixels, and the image data decompression means performs m × n (m and n are natural numbers).
9. The image data storage device according to claim 1, wherein the image data is expanded in units of blocks of pixels.
【請求項10】画像データを圧縮する複数の圧縮手段
と、 単数又は複数のフレームの圧縮されていない画像データ
をフレーム単位で記憶する第1の記憶手段と、 前記複数の圧縮手段に対応して設けられ、各々が、対応
する前記圧縮手段により圧縮された画像データをフレー
ム単位で記憶する複数の第2の記憶手段と、 前記圧縮手段により圧縮されて、前記第2の記憶手段に
記憶された画像データを伸長する画像データ伸長手段
と、を備え、 前記圧縮手段の各々の圧縮方式は、互いに異なる、こと
を特徴とする画像データ記憶装置。
10. A plurality of compression means for compressing image data; a first storage means for storing uncompressed image data of one or more frames in frame units; and a plurality of compression means corresponding to the plurality of compression means. A plurality of second storage units, each of which stores the image data compressed by the corresponding compression unit in a frame unit, each being compressed by the compression unit and stored in the second storage unit Image data decompressing means for decompressing image data, wherein each of the compression means has a different compression method.
【請求項11】請求項1記載の画像データ記憶装置を備
え、 前記画像データ記憶装置が記憶するフレームの画像デー
タを参照フレームの画像データとして、画面間予測を用
いた符号化を施す、ことを特徴とする符号化装置。
11. An image data storage device according to claim 1, wherein image data of a frame stored in said image data storage device is used as image data of a reference frame, and encoding using inter-picture prediction is performed. An encoding device characterized by the following.
【請求項12】現在の符号化対象であるフレームを基準
として、時間的に連続した予め定められた数の過去のフ
レーム、及び、前記現在の符号化対象であるフレーム、
からなるフレーム群において、現在から過去にわたって
時間的に連続するように、各々が予め定められた数のフ
レームからなる複数のグループを構成し、 前記過去のフレームは、画面間予測を実行する際の参照
フレームであり、 前記現在の符号化対象であるフレームを含むグループ
は、少なくとも1枚の参照フレームを含み、 前記画像データ記憶装置の前記圧縮手段は、参照フレー
ムのみからなるグループに対応して設けられ、対応する
グループに属する参照フレームの画像データを圧縮し、 前記画像データ記憶装置の前記第1の記憶手段は、前記
現在の符号化対象であるフレームを含むグループに対応
して設けられ、対応するグループに属するフレームの圧
縮されていない画像データを記憶し、 前記画像データ記憶装置の前記第2の記憶手段は、参照
フレームのみからなるグループに対応して設けられ、対
応する前記圧縮手段により圧縮された、対応するグルー
プに属する参照フレームの画像データを記憶する、こと
を特徴とする請求項11記載の符号化装置。
12. A predetermined number of past frames that are temporally continuous with respect to a current frame to be encoded, and said current frame to be encoded.
In the frame group consisting of, a plurality of groups each consisting of a predetermined number of frames are configured so as to be temporally continuous from the present to the past, and the past frames are used when performing inter-screen prediction. A group including reference frames, wherein the group including the current frame to be encoded includes at least one reference frame; and the compression unit of the image data storage device is provided corresponding to a group including only reference frames. And compressing the image data of the reference frame belonging to the corresponding group, wherein the first storage means of the image data storage device is provided corresponding to the group including the frame to be currently encoded. Storing uncompressed image data of a frame belonging to a group to be stored in the second group of the image data storage device. 12. The apparatus according to claim 11, wherein the means is provided corresponding to the group consisting of only the reference frames, and stores the image data of the reference frames belonging to the corresponding group, compressed by the corresponding compression means. Encoding device.
【請求項13】請求項2記載の画像データ記憶装置を備
え、 前記画像データ記憶装置が記憶するフレームの画像デー
タを参照フレームの画像データとして、画面間予測を用
いた符号化を施す、ことを特徴とする符号化装置。
13. An image data storage device according to claim 2, wherein image data of a frame stored in the image data storage device is used as reference frame image data, and encoding using inter-picture prediction is performed. An encoding device characterized by the following.
【請求項14】現在の符号化対象であるフレームを基準
として、時間的に連続した予め定められた数の過去のフ
レーム、及び、前記現在の符号化対象であるフレーム、
からなるフレーム群において、現在から過去にわたって
時間的に連続するように、各々が予め定められた数のフ
レームからなる複数のグループを構成し、 前記過去のフレームは、画面間予測を実行する際の参照
フレームであり、 前記現在の符号化対象であるフレームを含むグループ
は、前記現在の符号化対象であるフレームのみからな
り、又は、前記現在の符号化対象であるフレーム及び参
照フレームからなり、 前記画像データ記憶装置の前記複数の圧縮手段は、参照
フレームのみからなる複数のグループに対応して設けら
れ、前記圧縮手段は、対応するグループに属する参照フ
レームの画像データを圧縮し、 前記画像データ記憶装置の前記第1の記憶手段は、前記
現在の符号化対象であるフレームを含むグループに対応
して設けられ、対応するグループに属するフレームの圧
縮されていない画像データを記憶し、 前記画像データ記憶装置の前記複数の第2の記憶手段
は、参照フレームのみからなる複数のグループに対応し
て設けられ、前記第2の記憶手段の各々は、対応する前
記圧縮手段により圧縮された、対応するグループに属す
る参照フレームの画像データを記憶し、 前記圧縮手段の圧縮率は、その圧縮手段に対応するグル
ープに属する参照フレームより、前記現在の符号化対象
であるフレームに時間的に近い参照フレームを含むグル
ープに対応する前記圧縮手段の圧縮率より大きい、こと
を特徴とする請求項13記載の符号化装置。
14. A predetermined number of past frames that are temporally continuous with respect to a current encoding target frame, and said current encoding target frame;
In the frame group consisting of, a plurality of groups each consisting of a predetermined number of frames are configured so as to be temporally continuous from the present to the past, and the past frames are used when performing inter-screen prediction. A reference frame, wherein the group including the current encoding target frame includes only the current encoding target frame, or includes the current encoding target frame and a reference frame; The plurality of compression units of the image data storage device are provided corresponding to a plurality of groups consisting only of reference frames, and the compression unit compresses image data of reference frames belonging to the corresponding groups, The first storage means of the apparatus is provided corresponding to a group including the frame to be currently encoded, and Storing uncompressed image data of a frame belonging to a corresponding group, wherein the plurality of second storage units of the image data storage device are provided corresponding to a plurality of groups consisting only of reference frames; Each of the two storage means stores image data of a reference frame belonging to a corresponding group, which is compressed by the corresponding compression means, and a compression ratio of the compression means corresponds to a reference belonging to the group corresponding to the compression means. 14. The encoding apparatus according to claim 13, wherein a compression ratio of the compression unit corresponding to a group including a reference frame temporally closer to the current encoding target frame than a frame to be encoded is larger than a compression ratio of the compression unit.
【請求項15】請求項1記載の画像データ記憶装置を備
え、 前記画像データ記憶装置が記憶するフレームの画像デー
タを参照フレームの画像データとして、画面間予測を用
いた復号化を実行する、ことを特徴とする復号化装置。
15. An image data storage device according to claim 1, wherein decoding using inter-picture prediction is performed using image data of a frame stored in the image data storage device as image data of a reference frame. A decoding device characterized by the above-mentioned.
【請求項16】現在の復号化対象であるフレームを基準
として、時間的に連続した予め定められた数の過去のフ
レーム、及び、前記現在の復号化対象であるフレーム、
からなるフレーム群において、現在から過去にわたって
時間的に連続するように、各々が予め定められた数のフ
レームからなる複数のグループを構成し、 前記過去のフレームは、画面間予測を実行する際の参照
フレームであり、 前記現在の復号化対象であるフレームを含むグループ
は、少なくとも1枚の参照フレームを含み、 前記画像データ記憶装置の前記圧縮手段は、参照フレー
ムのみからなるグループに対応して設けられ、対応する
グループに属する参照フレームの画像データを圧縮し、 前記画像データ記憶装置の前記第1の記憶手段は、前記
現在の復号化対象であるフレームを含むグループに対応
して設けられ、対応するグループに属するフレームの圧
縮されていない画像データを記憶し、 前記画像データ記憶装置の前記第2の記憶手段は、参照
フレームのみからなるグループに対応して設けられ、対
応する前記圧縮手段により圧縮された、対応するグルー
プに属する参照フレームの画像データを記憶する、こと
を特徴とする請求項15記載の復号化装置。
16. A predetermined number of past frames which are temporally continuous with respect to a current frame to be decoded, and said current frame to be decoded.
In the frame group consisting of, a plurality of groups each consisting of a predetermined number of frames are configured so as to be temporally continuous from the present to the past, and the past frames are used when performing inter-screen prediction. A group including reference frames, the group including the current frame to be decoded includes at least one reference frame; and the compression unit of the image data storage device is provided corresponding to a group including only reference frames. Compressing image data of a reference frame belonging to a corresponding group, wherein the first storage means of the image data storage device is provided corresponding to a group including the frame to be currently decoded, Storing uncompressed image data of a frame belonging to a group to be stored in the second group of the image data storage device. 16. The device according to claim 15, wherein the means is provided corresponding to the group consisting of only the reference frame, and stores the image data of the reference frame belonging to the corresponding group, which is compressed by the corresponding compression means. Decryption device.
【請求項17】請求項2記載の画像データ記憶装置を備
え、 前記画像データ記憶装置が記憶するフレームの画像デー
タを参照フレームの画像データとして、画面間予測を用
いた復号化を実行する、ことを特徴とする復号化装置。
17. An image data storage device according to claim 2, wherein decoding using inter-picture prediction is performed using image data of a frame stored in the image data storage device as image data of a reference frame. A decoding device characterized by the above-mentioned.
【請求項18】現在の復号化対象であるフレームを基準
として、時間的に連続した予め定められた数の過去のフ
レーム、及び、前記現在の復号化対象であるフレーム、
からなるフレーム群において、現在から過去にわたって
時間的に連続するように、各々が予め定められた数のフ
レームからなる複数のグループを構成し、 前記過去のフレームは、画面間予測を実行する際の参照
フレームであり、 前記現在の復号化対象であるフレームを含むグループ
は、前記現在の復号化対象であるフレームのみからな
り、又は、前記現在の復号化対象であるフレーム及び参
照フレームからなり、 前記画像データ記憶装置の前記複数の圧縮手段は、参照
フレームのみからなる複数のグループに対応して設けら
れ、前記圧縮手段は、対応するグループに属する参照フ
レームの画像データを圧縮し、 前記画像データ記憶装置の前記第1の記憶手段は、前記
現在の復号化対象であるフレームを含むグループに対応
して設けられ、対応するグループに属するフレームの圧
縮されていない画像データを記憶し、 前記画像データ記憶装置の前記複数の第2の記憶手段
は、参照フレームのみからなる複数のグループに対応し
て設けられ、前記第2の記憶手段の各々は、対応する前
記圧縮手段により圧縮された、対応するグループに属す
る参照フレームの画像データを記憶し、 前記圧縮手段の圧縮率は、その圧縮手段に対応するグル
ープに属する参照フレームより、前記現在の復号化対象
であるフレームに時間的に近い参照フレームを含むグル
ープに対応する前記圧縮手段の圧縮率より大きい、こと
を特徴とする請求項17記載の復号化装置。
18. A predetermined number of past frames that are temporally continuous with respect to a current frame to be decoded, and said current frame to be decoded;
In the frame group consisting of, a plurality of groups each consisting of a predetermined number of frames are configured so as to be temporally continuous from the present to the past, and the past frames are used when performing inter-screen prediction. A group including a frame to be decoded and a frame to be currently decoded; or a group including only the frame to be currently decoded or a frame to be decoded and a reference frame, The plurality of compression units of the image data storage device are provided corresponding to a plurality of groups consisting only of reference frames, and the compression unit compresses image data of reference frames belonging to the corresponding groups, The first storage means of the apparatus is provided corresponding to a group including the current frame to be decoded, and Storing uncompressed image data of a frame belonging to a corresponding group, wherein the plurality of second storage units of the image data storage device are provided corresponding to a plurality of groups consisting only of reference frames; Each of the two storage means stores image data of a reference frame belonging to a corresponding group, which is compressed by the corresponding compression means, and a compression ratio of the compression means corresponds to a reference belonging to the group corresponding to the compression means. 18. The decoding apparatus according to claim 17, wherein a compression ratio of the compression unit corresponding to a group including a reference frame temporally closer to the current frame to be decoded than the frame to be decoded is larger than a frame.
【請求項19】請求項11記載の符号化装置と、 請求項15記載の復号化装置と、を備え、 前記符号化装置は、前記画像データ記憶装置による画像
データの圧縮に関する情報と、符号化が施された画像デ
ータと、を多重化し、多重化データを生成する多重化手
段をさらに備え、 前記復号化装置は、受け取った前記多重化データを、前
記圧縮に関する情報と、前記符号化された画像データ
と、に分離する分離手段をさらに備える、ことを特徴と
する圧縮伸長システム。
19. An encoding device according to claim 11, further comprising: a decoding device according to claim 15, wherein said encoding device has information on compression of image data by said image data storage device; And multiplexing means for multiplexing the image data subjected to the above, and generating multiplexed data, wherein the decoding device receives the multiplexed data, the information regarding the compression, and the encoded data. A compression / decompression system, further comprising a separation unit for separating image data and image data.
【請求項20】請求項13記載の符号化装置と、 請求項17記載の復号化装置と、を備え、 前記符号化装置は、前記画像データ記憶装置による画像
データの圧縮に関する情報と、符号化が施された画像デ
ータと、を多重化し、多重化データを生成する多重化手
段をさらに備え、 前記復号化装置は、受け取った前記多重化データを、前
記圧縮に関する情報と、前記符号化された画像データ
と、に分離する分離手段をさらに備える、ことを特徴と
する圧縮伸長システム。
20. An encoding device according to claim 13, further comprising: a decoding device according to claim 17, wherein said encoding device has information on compression of image data by said image data storage device; And multiplexing means for multiplexing the image data subjected to the above, and generating multiplexed data, wherein the decoding device receives the multiplexed data, the information regarding the compression, and the encoded data. A compression / decompression system, further comprising a separation unit for separating image data and image data.
JP2002149154A 2002-05-23 2002-05-23 Encoding device, decoding device, and compression / decompression system Expired - Fee Related JP4209631B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002149154A JP4209631B2 (en) 2002-05-23 2002-05-23 Encoding device, decoding device, and compression / decompression system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002149154A JP4209631B2 (en) 2002-05-23 2002-05-23 Encoding device, decoding device, and compression / decompression system

Publications (2)

Publication Number Publication Date
JP2003348592A true JP2003348592A (en) 2003-12-05
JP4209631B2 JP4209631B2 (en) 2009-01-14

Family

ID=29767412

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002149154A Expired - Fee Related JP4209631B2 (en) 2002-05-23 2002-05-23 Encoding device, decoding device, and compression / decompression system

Country Status (1)

Country Link
JP (1) JP4209631B2 (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007529178A (en) * 2004-03-08 2007-10-18 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ Video decoder with extensible compression and having a buffer for storing and retrieving reference frame data
JP2009260977A (en) * 2008-04-15 2009-11-05 Sony Corp Video data compression using combination of irreversible compression and reversible compression
JP2009290389A (en) * 2008-05-28 2009-12-10 Hitachi Ltd Image processing apparatus
WO2011138912A1 (en) * 2010-05-06 2011-11-10 日本電気株式会社 Image encoding apparatus, image decoding apparatus, image encoding method, image decoding method and program
WO2011148622A1 (en) * 2010-05-26 2011-12-01 パナソニック株式会社 Video encoding method, video decoding method, video encoding device and video decoding device
WO2012005106A1 (en) * 2010-07-08 2012-01-12 日本電気株式会社 Video decoding device, video coding device, video decoding method, video coding method and program
WO2012014472A1 (en) * 2010-07-29 2012-02-02 パナソニック株式会社 Moving image coding method, moving image coding device, moving image decoding method, and moving image decoding device
WO2012017945A1 (en) * 2010-08-03 2012-02-09 日本電気株式会社 Video encoding device, video decoding device, video encoding method, video decoding method, and program
WO2012035766A1 (en) * 2010-09-16 2012-03-22 パナソニック株式会社 Image decoding method, image encoding method, image decoding device and image encoding device
JP2012060265A (en) * 2010-09-06 2012-03-22 Fujitsu Ltd Image processing apparatus
JP2013017014A (en) * 2011-07-04 2013-01-24 Seiko Epson Corp Image processing device, image display device, and projector
JP2014506441A (en) * 2011-01-12 2014-03-13 シーメンス アクチエンゲゼルシヤフト Reference image compression method and decompression method in video decoder
WO2014163249A1 (en) * 2013-04-02 2014-10-09 주식회사 칩스앤미디어 Method and apparatus for processing video
JP2016092557A (en) * 2014-10-31 2016-05-23 富士通株式会社 Motion search processing program, motion search processing method and motion search processing unit

Cited By (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007529178A (en) * 2004-03-08 2007-10-18 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ Video decoder with extensible compression and having a buffer for storing and retrieving reference frame data
JP4778953B2 (en) * 2004-03-08 2011-09-21 エヌエックスピー ビー ヴィ Video decoder with extensible compression and having a buffer for storing and retrieving reference frame data
JP2009260977A (en) * 2008-04-15 2009-11-05 Sony Corp Video data compression using combination of irreversible compression and reversible compression
JP2009290389A (en) * 2008-05-28 2009-12-10 Hitachi Ltd Image processing apparatus
WO2011138912A1 (en) * 2010-05-06 2011-11-10 日本電気株式会社 Image encoding apparatus, image decoding apparatus, image encoding method, image decoding method and program
WO2011148622A1 (en) * 2010-05-26 2011-12-01 パナソニック株式会社 Video encoding method, video decoding method, video encoding device and video decoding device
JPWO2012005106A1 (en) * 2010-07-08 2013-09-02 日本電気株式会社 Video decoding apparatus, video encoding apparatus, video decoding method, video encoding method, and program
US9258560B2 (en) 2010-07-08 2016-02-09 Nec Corporation Video decoding apparatus, video coding apparatus, video decoding method, video coding method, and program
WO2012005106A1 (en) * 2010-07-08 2012-01-12 日本電気株式会社 Video decoding device, video coding device, video decoding method, video coding method and program
WO2012014472A1 (en) * 2010-07-29 2012-02-02 パナソニック株式会社 Moving image coding method, moving image coding device, moving image decoding method, and moving image decoding device
WO2012017945A1 (en) * 2010-08-03 2012-02-09 日本電気株式会社 Video encoding device, video decoding device, video encoding method, video decoding method, and program
JP2012060265A (en) * 2010-09-06 2012-03-22 Fujitsu Ltd Image processing apparatus
WO2012035766A1 (en) * 2010-09-16 2012-03-22 パナソニック株式会社 Image decoding method, image encoding method, image decoding device and image encoding device
JP2014506441A (en) * 2011-01-12 2014-03-13 シーメンス アクチエンゲゼルシヤフト Reference image compression method and decompression method in video decoder
US9398292B2 (en) 2011-01-12 2016-07-19 Siemens Aktiengesellschaft Compression and decompression of reference images in video coding device
JP2013017014A (en) * 2011-07-04 2013-01-24 Seiko Epson Corp Image processing device, image display device, and projector
WO2014163247A1 (en) * 2013-04-02 2014-10-09 주식회사 칩스앤미디어 Method and apparatus for processing video
WO2014163248A1 (en) * 2013-04-02 2014-10-09 주식회사 칩스앤미디어 Method and apparatus for processing video
WO2014163249A1 (en) * 2013-04-02 2014-10-09 주식회사 칩스앤미디어 Method and apparatus for processing video
US10038910B2 (en) 2013-04-02 2018-07-31 Chips & Media, Inc. Method and apparatus for video processing
US10123029B2 (en) 2013-04-02 2018-11-06 Chips & Media, Inc Method and apparatus for processing video
US10129554B2 (en) 2013-04-02 2018-11-13 Chips & Media, Inc Method and apparatus for processing video
US10158870B2 (en) 2013-04-02 2018-12-18 Chips & Media, Inc Method and apparatus for processing motion compensation of a plurality of frames
US10165293B2 (en) 2013-04-02 2018-12-25 Chips & Media, Inc Method and apparatus for processing video
JP2016092557A (en) * 2014-10-31 2016-05-23 富士通株式会社 Motion search processing program, motion search processing method and motion search processing unit

Also Published As

Publication number Publication date
JP4209631B2 (en) 2009-01-14

Similar Documents

Publication Publication Date Title
US6571017B1 (en) Method and apparatus for digital image coding and decoding, and data recording media
EP1065883B1 (en) Image predictive decoding method
JP4356028B2 (en) Information processing apparatus and method
JP2570384B2 (en) Video signal encoding / decoding method
JP4209631B2 (en) Encoding device, decoding device, and compression / decompression system
JPH1084524A (en) MPEG decoding method and decoder using reduced RAM capacity due to ADPCM recompression before storing MPEG decompressed data and after subsampling algorithm if necessary
JP4517306B2 (en) Information processing apparatus and method
US6163576A (en) Video encoder having reduced memory bandwidth requirements
JP4973886B2 (en) Moving picture decoding apparatus, decoded picture recording apparatus, method and program thereof
JPH10271516A (en) Compression encoding device, encoding method, decoding device, and decoding method
JP2004357313A (en) Image information processing apparatus and image information processing method
US7542612B2 (en) Signal processing method and signal processing device
KR101611408B1 (en) Method and apparatus for bandwidth-reduced image encoding and image decoding
US6278734B1 (en) Process for decoding and coding a compressed video data stream with reduced memory requirements
US6097843A (en) Compression encoding apparatus, encoding method, decoding apparatus, and decoding method
KR100252838B1 (en) Image processing equipment
US7925120B2 (en) Methods of image processing with reduced memory requirements for video encoder and decoder
JP2003230148A (en) Image data encoding device
JPH0730903A (en) Integrated memory circuit for picture processing
JP3591025B2 (en) Image information processing device
JP2007067526A (en) Image processing device
JPH0795572A (en) Image coding device
JP2004274212A (en) Picture encoding device
JPH08130741A (en) Image decoding device
JPH08163570A (en) Method and device for decoding low delay mode picture

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050520

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070801

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070810

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20071009

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080716

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080903

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20081001

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20081023

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20111031

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20121031

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees