JP2865016B2 - Image playback device - Google Patents

Image playback device

Info

Publication number
JP2865016B2
JP2865016B2 JP11374195A JP11374195A JP2865016B2 JP 2865016 B2 JP2865016 B2 JP 2865016B2 JP 11374195 A JP11374195 A JP 11374195A JP 11374195 A JP11374195 A JP 11374195A JP 2865016 B2 JP2865016 B2 JP 2865016B2
Authority
JP
Japan
Prior art keywords
image data
additional information
reduced image
cpu
performance
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP11374195A
Other languages
Japanese (ja)
Other versions
JPH08289290A (en
Inventor
考司 沼田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
Nippon Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP11374195A priority Critical patent/JP2865016B2/en
Publication of JPH08289290A publication Critical patent/JPH08289290A/en
Application granted granted Critical
Publication of JP2865016B2 publication Critical patent/JP2865016B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)
  • Image Processing (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression Of Band Width Or Redundancy In Fax (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明は圧縮符号化された圧縮画
像データをCPUを用いて伸張する画像再生装置に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image reproducing apparatus for decompressing compressed image data using a CPU.

【0002】[0002]

【従来の技術】画像をディジタル化してCD−ROMや
ハードディスク等の記憶媒体に格納したり、転送したり
する場合、単にディジタル化するだけではデータ量が膨
大なものとなるため、通常圧縮符号化した後、記憶した
り、転送したりする。
2. Description of the Related Art When an image is digitized and stored or transferred to a storage medium such as a CD-ROM or a hard disk, simply digitizing an image would require a huge amount of data. After that, it is stored or transferred.

【0003】ところで、圧縮符号化方式には種々のもの
があるが、JPEG(JointPhotograph
ic Expert Group)やMPEG(Mov
ing Pictures Expert Grou
p)等の国際標準で採用されている離散コサイン変換
(DCT)をベースにしたものが多く使用されている。
また、これに伴って圧縮符号化された圧縮画像データを
伸張する画像再生装置としては逆離散コサイン変換(I
DCT)をベースにしたものが多く使用されている。
[0003] There are various types of compression coding systems, and JPEG (Joint Photograph) is available.
ic Expert Group) or MPEG (Mov
ing Pictures Expert Grou
Those based on the discrete cosine transform (DCT) adopted in international standards such as p) are often used.
In addition, as an image reproducing apparatus that expands the compressed and encoded compressed image data, an inverse discrete cosine transform (I
Those based on (DCT) are often used.

【0004】図10はMPEGに準拠した従来の画像再
生装置の構成例を示したブロック図であり、ヘッダ解析
手段101と、復号化手段102と、逆量子化手段10
3と、IDCT手段104と、前フレーム部105と、
後フレーム部106と、前予測手段107と、両予測手
段108と、後予測手段109と、ビデオメモリ110
と、表示手段111とから構成されている。
FIG. 10 is a block diagram showing an example of the configuration of a conventional image reproducing apparatus conforming to the MPEG, and includes a header analyzing unit 101, a decoding unit 102, and an inverse quantization unit 10.
3, the IDCT means 104, the front frame unit 105,
Rear frame section 106, pre-prediction means 107, both prediction means 108, post-prediction means 109, video memory 110
And display means 111.

【0005】ヘッダ解析手段101は、階層構造を有す
る画像データを読み込んで、符号の種類等を解析する。
MPEGには、フレーム内符号であるIピクチャと、前
方向のみのフレーム間符号であるPピクチャと、前後の
双方向のフレーム間符号であるBピクチャの3種類が存
在する。
[0005] Header analysis means 101 reads image data having a hierarchical structure and analyzes the type of code and the like.
In MPEG, there are three types of I-pictures, which are intra-frame codes, P-pictures, which are inter-frame codes only in the forward direction, and B-pictures, which are bi-directional inter-frame codes.

【0006】ヘッダ解析手段101の解析結果がIピク
チャである場合は、高能率圧縮された可変長のハフマン
符号を復号化手段102で復号し、その復号結果を逆量
子化手段103で逆量子化し、更に、逆量子化結果に対
してIDCT手段104で逆離散コサイン変換を行うこ
とにより各画素の値を算出し、算出した各画素の値をビ
デオメモリ110に書き込むことにより、表示手段11
1に伸張した画像を表示する。
If the analysis result of the header analysis means 101 is an I picture, the highly efficient variable-length Huffman code is decoded by the decoding means 102, and the decoded result is dequantized by the dequantization means 103. Further, the IDCT means 104 performs an inverse discrete cosine transform on the result of the inverse quantization to calculate the value of each pixel, and writes the calculated value of each pixel to the video memory 110.
The image expanded to 1 is displayed.

【0007】また、解析結果がPピクチャである場合
は、高能率圧縮された可変長のハフマン符号を復号化手
段102で復号し、その復号結果を逆量子化手段103
で逆量子化し、更に、逆量子化結果に対してIDCT手
段104で逆離散コサイン変換を行うことによりブロッ
クの差分を算出し、この差分と前予測手段107が前フ
レーム部105から取り出した前フレーム中の動き補償
したブロックとを加算し、加算結果をビデオメモリ11
0に書き込むことにより、表示手段111に伸張した画
像を表示する。
If the analysis result is a P-picture, the decoding means 102 decodes the highly efficient compressed variable-length Huffman code, and decodes the decoding result into an inverse quantization means 103.
And the IDCT means 104 performs inverse discrete cosine transform on the result of the inverse quantization to calculate the difference between the blocks. This difference and the previous frame extracted from the previous frame unit 105 by the previous prediction unit 107 are calculated. With the motion-compensated block therein, and the result of addition is stored in the video memory 11.
By writing 0, the expanded image is displayed on the display unit 111.

【0008】また、解析結果がBピクチャである場合
は、高能率圧縮された可変長のハフマン符号を復号化手
段102で復号し、その復号結果を逆量子化手段103
で逆量子化し、更に、逆量子化結果に対してIDCT手
段104で逆離散コサイン変換を行うことによりブロッ
クの差分を算出し、この差分と両予測手段108が前フ
レーム部105,後フレーム部106から取り出した前
フレーム,後フレーム中の動き補償したブロックの平均
値または後予測手段109が後フレーム部106から取
り出した後フレーム中の動き補償したブロックとを加算
し、加算結果をビデオメモリ110に書き込むことよ
り、表示手段111に伸張した画像を表示する。
If the analysis result is a B picture, the highly efficient compressed variable-length Huffman code is decoded by the decoding means 102, and the decoded result is decoded by the inverse quantization means 103.
, And the IDCT means 104 performs an inverse discrete cosine transform on the result of the inverse quantization to calculate a difference between the blocks. The average value of the motion-compensated block in the previous frame and the subsequent frame extracted from the frame or the motion-compensated block in the post-frame extracted from the subsequent frame unit 106 by the post-prediction unit 109 is added, and the addition result is stored in the video memory 110. By writing, the expanded image is displayed on the display unit 111.

【0009】ところで、上述したような画像再生装置に
於いては、号化手段102,逆量子化手段103,I
DCT手段104等は、CPUを用いて構成するのが一
般的である。しかし、上記した各手段に於ける処理量は
非常に多いため、高速なCPUでなければ、所定の速度
で画像を再生することはできない。
By the way, the at the image reproducing apparatus as described above, decrypt unit 102, an inverse quantization unit 103, I
Generally, the DCT means 104 and the like are configured using a CPU. However, since the amount of processing in each of the above-described units is very large, an image cannot be reproduced at a predetermined speed unless a high-speed CPU is used.

【0010】そこで、低速のCPUでも所定速度の再生
を可能にするため、画像データ中の一部の画素を間引く
ことにより生成した縮小画像データを圧縮符号化した圧
縮縮小画像データを画像再生装置への入力とするように
し、画像再生装置では、入力された圧縮縮小画像データ
に対して伸張処理を行い、伸張後の縮小画像データを元
の大きさに拡大するということが従来から行われている
(例えば、「ディジタル通信技術」,田中公男著,19
86年3月25日 第1刷,発行所 東海大学出版会,
P61)。
In order to enable reproduction at a predetermined speed even with a low-speed CPU, compressed image data obtained by compression-encoding reduced image data generated by thinning out some pixels in image data is sent to an image reproducing apparatus. Conventionally, an image reproducing apparatus performs an expansion process on input compressed and reduced image data and enlarges the expanded reduced image data to an original size. (For example, "Digital Communication Technology", Kimio Tanaka, 19
March 25, 1986 1st printing, issuance office Tokai University Press,
P61).

【0011】[0011]

【発明が解決しようとする課題】上述した従来の技術に
よれば、復号化手段,逆量子化手段,IDCT手段等の
各手段の処理量が少なくなるため、低速なCPUでも所
定速度の再生が可能になるが、画素の間引きが行われた
縮小画像データに基づいて画像データを再生するように
しているため、画質が劣化するという問題がある。
According to the above-mentioned prior art, the processing amount of each means such as a decoding means, an inverse quantization means and an IDCT means is reduced, so that reproduction at a predetermined speed can be performed even with a low-speed CPU. Although this is possible, image data is reproduced based on reduced image data in which pixels have been thinned out, so that there is a problem in that image quality deteriorates.

【0012】このような問題は、性能の低い低速のCP
Uを使用している画像再生装置の再生速度を一定の再生
速度にするためには仕方がないが、上述した従来の技術
では、性能の高い高速のCPUを使用している画像再生
装置に於いても画質が劣化してしまう。
[0012] Such a problem is caused by a low-performance low-speed CP.
There is no way to keep the playback speed of the image playback device using U at a constant playback speed. However, in the above-described conventional technology, in the image playback device using a high-performance, high-speed CPU, Quality will be degraded.

【0013】そこで、本発明の目的は、使用しているC
PUの性能にかかわらず、一定の再生速度を保証でき、
且つ使用しているCPUが高性能の場合には高い画質を
得ることができる画像再生装置を提供することにある。
Therefore, an object of the present invention is to use a C
Regardless of the performance of PU, a certain playback speed can be guaranteed,
Another object of the present invention is to provide an image reproducing apparatus capable of obtaining high image quality when a CPU used has high performance.

【0014】[0014]

【課題を解決するための手段】[Means for Solving the Problems]

【0015】本発明は上記目的を達成するため、圧縮符
号化された圧縮画像データをCPUを用いて伸張する画
像再生装置に於いて、前記CPUの加減剰余処理の性能
を測定するCPU性能測定手段と、画像データから一部
の画素を間引くことにより構成した縮小画像データを圧
縮符号化した圧縮縮小画像データに付加されている、前
記画像データ中の間引きの対象となった部分を復元する
ための圧縮符号化された付加情報を読み取るか否かを前
記CPU性能測定手段の測定結果によって決定する付加
情報読み取り手段と、拡大手段とを備え、前記CPU
は、前記圧縮縮小画像データを伸張すると共に、前記付
加情報読み取り手段が読み取った付加情報を伸張し、前
記拡大手段は、前記付加情報読み取り手段が付加情報を
読み取らなかった場合は、前記CPUが前記圧縮縮小画
像データを伸張することにより生成した縮小画像データ
を前記画像データを同じ大きさに拡大することにより前
記画像データを復元し、前記付加情報読み取り手段が付
加情報を読み取った場合は、前記CPUが前記圧縮縮小
画像データを伸張することにより生成した縮小画像デー
タと前記CPUが前記付加情報に対して行った伸張結果
とに基づいて前記画像データを復元するようにしたもの
である。
In order to achieve the above object, the present invention provides a CPU performance measuring means for measuring the performance of addition / subtraction processing of a CPU in an image reproducing apparatus for decompressing compressed image data using a CPU. For restoring a portion of the image data that has been subjected to decimation, which is added to the compressed reduced image data obtained by compressing and encoding the reduced image data formed by thinning out some pixels from the image data. The CPU comprising: an additional information reading unit that determines whether to read the compression-encoded additional information based on a measurement result of the CPU performance measurement unit;
Expands the compressed / reduced image data and expands the additional information read by the additional information reading means.If the additional information reading means does not read the additional information, the expanding means When the reduced image data generated by expanding the compressed reduced image data is restored by enlarging the image data to the same size, and the additional information reading means reads the additional information, the CPU Is a method for restoring the image data based on reduced image data generated by expanding the compressed reduced image data and a result of expansion performed on the additional information by the CPU.

【0016】[0016]

【作用】圧縮符号化された圧縮画像データを伸張するC
PUの加減剰余処理の性能がCPU性能測定手段によっ
て測定される。付加情報読み取り手段では、CPU測定
手段で測定したCPUの加減剰余処理の性能が予め定め
られている性能よりも高い場合及び等しい場合は、付加
情報を読み取り、低い場合は付加情報の読み取りを行わ
ない。CPUでは、圧縮縮小画像データを伸張すると共
に、付加情報読み取り手段が読み取った付加情報を伸張
する。拡大手段では、付加情報読み取り手段が付加情報
を読み取らなかった場合は、CPUが伸張した縮小画像
データを画像データと同じ大きさに拡大することにより
画像データを復元し、付加情報読み取り手段が付加情報
を読み取った場合はCPUが伸張した縮小画像データと
CPUが付加情報に対して行った伸張結果とに基づいて
画像データを復元する。
[Function] C for decompressing the compressed and encoded compressed image data
The performance of the PU surplus processing is measured by the CPU performance measuring means. The additional information reading means reads the additional information when the performance of the addition / subtraction processing of the CPU measured by the CPU measuring means is higher and equal to a predetermined performance, and does not read the additional information when the performance is lower than the predetermined performance. . The CPU expands the compressed reduced image data and expands the additional information read by the additional information reading means. In the enlarging means, when the additional information reading means does not read the additional information, the CPU expands the reduced image data expanded by the CPU to the same size as the image data to restore the image data. Is read, the image data is restored based on the reduced image data expanded by the CPU and the expansion result performed on the additional information by the CPU.

【0017】[0017]

【実施例】次に本発明の実施例について図面を参照して
詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, embodiments of the present invention will be described in detail with reference to the drawings.

【0018】図1は本発明の画像再生装置の実施例を示
すブロック図であり、MPEGに準拠した場合について
のものである。
FIG. 1 is a block diagram showing an embodiment of an image reproducing apparatus according to the present invention, which is based on MPEG.

【0019】本実施例の画像再生装置は、ヘッダ解析手
段1と、付加情報読み取り手段2と、CPU性能測定手
段3と、復号化手段4と、逆量子化手段5と、IDCT
手段6と、前予測手段7と、両予測手段8と、後予測手
段9と、前フレーム部10と、後フレーム部11と、拡
大手段12と、ビデオメモリ13と、表示手段14とか
ら構成される。
The image reproducing apparatus according to the present embodiment comprises a header analyzing means 1, an additional information reading means 2, a CPU performance measuring means 3, a decoding means 4, an inverse quantization means 5, an IDCT
It comprises a means 6, a pre-prediction means 7, both prediction means 8, a post-prediction means 9, a front frame section 10, a rear frame section 11, an enlarging means 12, a video memory 13, and a display means 14. Is done.

【0020】CPU性能測定手段3は、画像再生装置の
電源投入時(イニシャル時)、号化手段4,逆量子化
手段5,IDCT手段6等を実現するCPUの性能を測
定する。図2はCPU性能測定手段3の処理例を示す流
れ図であり、CPU性能測定手段3は電源投入時、先ず
ステップS201でカウンタCに「0」をセットし、次
のステップS202でタイマをセットする。その後、ス
テップS203〜S205のループで一定時間以内に何
回ステップS203の加減剰余の処理を行えるかをカウ
ンタCを用いてカウントし、そのカウント値CtをCP
Uの性能とする。当然のことであるが、カウント値Ct
が大きい程、CPUの性能は高いことになる。
The CPU performance measuring means 3 when turning the image reproducing apparatus (at initial), decrypt unit 4, to measure the performance of the CPU for realizing the inverse quantization means 5, IDCT unit 6 and the like. FIG. 2 is a flowchart showing a processing example of the CPU performance measuring means 3. When the power is turned on, the CPU performance measuring means 3 first sets "0" to the counter C in step S201, and sets a timer in the next step S202. . Thereafter, the number of times that the addition / subtraction processing in step S203 can be performed within a certain time in the loop of steps S203 to S205 is counted using the counter C, and the count value Ct is determined by the CP.
U performance. Naturally, the count value Ct
Is larger, the performance of the CPU is higher.

【0021】ヘッダ解析手段1,付加情報読み取り手段
2には、MPEGに準拠した階層構造の画像データが入
力される。
The header analysis means 1 and the additional information reading means 2 receive image data having a hierarchical structure conforming to MPEG.

【0022】図3はMPEGに準拠した画像データの階
層構造を示す図である。一番上の階層がビデオ・シーケ
ンスであり、1個以上のGOP(Group Of P
icture)から構成される。GOPは、1個以上の
ピクチャから構成され、1つのピクチャが1枚の画像を
示している。ピクチャは、任意の領域に分割された一個
以上のスライスから構成される。スライスは、左から右
へ及び上から下への順序で並んだ複数のマクロブロック
から構成される。マクロブロックは、それぞれが8×8
画素の輝度成分(Y1,Y2,Y3,Y4)のブロック
とそれぞれが8×8画素の色差成分(Cb,Cr)のブ
ロックとの計6個のブロックから構成される。8×8画
素のブロックが符号化の最小単位となる。
FIG. 3 is a diagram showing a hierarchical structure of image data conforming to MPEG. The uppermost layer is a video sequence, and one or more GOPs (Group Of POPs).
picture). A GOP is composed of one or more pictures, and one picture indicates one image. A picture is composed of one or more slices divided into arbitrary regions. A slice is composed of a plurality of macroblocks arranged in left-to-right and top-to-bottom order. Each macro block is 8 × 8
The block is composed of a total of six blocks including a block of luminance components (Y1, Y2, Y3, Y4) of pixels and a block of color difference components (Cb, Cr) of 8 × 8 pixels. A block of 8 × 8 pixels is the minimum unit of encoding.

【0023】図4はMPEGに準拠した画像データのフ
ォーマットを示す図である。MPEGの画像データは、
シーケンスヘッダSeqと、GopヘッダGと、ピクチ
ャヘッダPictureと、スライスヘッダSlice
と、マクロブロックヘッダMacroと、ブロックの符
号Blockとから構成される。
FIG. 4 is a diagram showing a format of image data conforming to MPEG. MPEG image data is
Sequence header Seq, Gop header G, picture header Picture, slice header Slice
, Macro block header Macro, and block code Block.

【0024】ピクチャヘッダPictureは、そのス
タートコードPicStartと、表示順を示すコード
TempRefと、ピクチャの種類を示すコードPic
Codeと、ユーザデータの存在を示すコードUsrS
tartと、ユーザデータUserDataとから構成
される。
The picture header Picture has a start code PicStart, a code TempRef indicating the display order, and a code Pic indicating the type of picture.
Code and a code UsrS indicating the existence of user data
start and user data UserData.

【0025】ユーザデータUserDataは、ユーザ
が自由に定義できるものであり、本実施例では付加情報
が追加されていることを示す識別子“Custom”
と、付加情報の種類を示すフラグcflgと、縮小画像
データが画像データを何分割したものであるのかを示す
分割数cnumと、複数の付加情報Code1〜Cod
eNが設定される。
The user data UserData can be freely defined by the user. In this embodiment, the identifier "Custom" indicating that additional information has been added is provided.
, A flag cflg indicating the type of additional information, the number of divisions cnum indicating the number of divisions of the reduced image data, and a plurality of pieces of additional information Code1 to Code
eN is set.

【0026】付加情報の種類を示すフラグcflgは、
最下位ビットB0のみが“1”の場合は付加情報の種類
がIピクチャであることを示し、次のビットB1のみが
“1”の場合は付加情報の種類がPピクチャであること
を示し、ビットB2のみが“1”の場合は付加情報の種
類がBピクチャであることを示し、ビットB3のみが
“1”の場合は付加情報の種類がピクチャデータと縮小
画像データとの差分を圧縮符号化したものであることを
示す。
The flag cflg indicating the type of additional information is
When only the least significant bit B0 is "1", the type of additional information is an I picture, and when only the next bit B1 is "1", the type of additional information is a P picture. When only the bit B2 is "1", it indicates that the type of the additional information is a B picture. When only the bit B3 is "1", the type of the additional information is a compression code indicating the difference between the picture data and the reduced image data. Indicates that the

【0027】図5は分割数cnum=4の場合の付加情
報及びピクチャデータを説明するための図である。画像
データを2×2画素のブロックB11,B12,…に分
割し、各ブロックB11,B12…中の左上の画素を集
めることにより構成した縮小画像データAを圧縮符号化
した圧縮縮小画像データがピクチャデータである。ま
た、各ブロックB11,B12…中の右上の画素を集め
ることにより構成した縮小画像データBを圧縮符号化し
たものが付加情報Code1、左下の画素を集めること
により構成した縮小画像データCを圧縮符号化したもの
が付加情報Code2、右下の画素を集めることにより
構成した縮小画像データDを圧縮符号化したものが付加
情報Code3である。尚、以下の説明に於いては、分
割数cnum=4であるとする。
FIG. 5 is a diagram for explaining additional information and picture data when the division number cnum = 4. The image data is divided into 2 × 2 pixel blocks B11, B12,..., And compressed reduced image data obtained by compressing and encoding reduced image data A formed by collecting upper left pixels in each of the blocks B11, B12. Data. Are compressed information of reduced image data B formed by collecting upper right pixels in each block B11, B12,..., And compressed information is compressed information of reduced image data C formed by collecting lower left pixels. The converted information is the additional information Code2, and the compressed information of the reduced image data D formed by collecting the lower right pixel is the additional information Code3. In the following description, it is assumed that the division number cnum = 4.

【0028】ヘッダ解析手段1は、画像データの入力
時、ピクチャデータの種類や付加情報の種類等を解析す
る。
At the time of inputting image data, the header analysis means 1 analyzes the type of picture data, the type of additional information, and the like.

【0029】付加情報読み取り手段2は、画像データの
入力時、CPU性能測定手段3の測定結果がCPUの性
能が十分高いことを示している場合、即ちCt≧4αで
ある場合は、付加情報Code1,Code2,Cod
e3を読み取ってそれらを順次復号化手段4に出力し、
その後、ヘッダ解析手段1にピクチャデータの出力を指
示する。ここで、αは分割数cnumによって決まる値
であり、上記分割数で分割された1つの縮小画像データ
を伸張するために必要とされるCPU性能の値を示す。
また、CPU性能測定手段3の測定結果がCPUの性能
が低いことを示している場合、即ち2α>Ctの場合
は、付加情報の読み取りは行わずに、ヘッダ解析手段1
に対してピクチャデータの出力を指示する。また、CP
U性能測定手段3の測定結果がCPUの性能が上記した
2つの場合の中間であることを示している場合、即ち4
α>Ct≧2αの場合は、付加情報Code1,Cod
e2,Code3の内の付加情報Code1のみを読み
取ってそれを復号化手段4に出力し、その後、ヘッダ解
析手段1にピクチャデータの出力を指示する。
When inputting image data, the additional information reading means 2 determines that the additional information Code1 is present when the measurement result of the CPU performance measuring means 3 indicates that the performance of the CPU is sufficiently high, that is, when Ct ≧ 4α. , Code2, Code
e3 and reads them out sequentially to the decoding means 4,
After that, it instructs the header analysis means 1 to output the picture data. Here, α is a value determined by the number of divisions cnum, and indicates a value of CPU performance required for expanding one reduced image data divided by the number of divisions.
If the measurement result of the CPU performance measuring means 3 indicates that the performance of the CPU is low, that is, if 2α> Ct, the additional information is not read and the header analyzing means 1 is not read.
Is instructed to output picture data. Also, CP
If the measurement result of the U performance measuring means 3 indicates that the performance of the CPU is intermediate between the above two cases,
If α> Ct ≧ 2α, additional information Code1, Code
Only the additional information Code1 of e2 and Code3 is read and output to the decoding means 4, and thereafter, the header analysis means 1 is instructed to output picture data.

【0030】今、例えば、CPU性能測定手段3の測定
結果がCt≧4αであり、付加情報読み取り手段2から
付加情報Code1,Code2,Code3が出力さ
れた場合は、ヘッダ解析手段1で解析された付加情報の
種類に応じて以下の処理が行われる。
Now, for example, when the measurement result of the CPU performance measuring means 3 is Ct ≧ 4α, and the additional information Code1, Code2, Code3 is output from the additional information reading means 2, it is analyzed by the header analyzing means 1. The following processing is performed according to the type of the additional information.

【0031】Iピクチャであると解析された場合:When the picture is analyzed as an I picture:

【0032】付加情報読み取り手段2から出力された付
加情報Code1,Code2,Code3が復号化手
段4で復号され、復号結果が逆量子化手段5で逆量子化
され、逆量子化結果がIDCT手段6で逆離散コサイン
変換され、IDCT手段6の処理結果(付加情報Cod
e1,Code2,Code3を伸張した縮小画像デー
タB,C,D)が拡大手段12に渡される。
The additional information Code1, Code2, and Code3 output from the additional information reading means 2 are decoded by the decoding means 4, the decoding result is inversely quantized by the inverse quantization means 5, and the inverse quantization result is transmitted by the IDCT means 6. Are subjected to inverse discrete cosine transform, and the processing result of the IDCT means 6 (additional information Cod
The reduced image data B, C, and D obtained by expanding e1, Code2, and Code3 are passed to the enlargement unit 12.

【0033】その後、ピクチャデータの出力指示を受け
たヘッダ解析手段1から縮小画像データAに対応するピ
クチャデータが出力される。このピクチャデータに対し
ても上記したと同様の処理が行われ、ピクチャデータを
伸張した縮小画像データAが拡大手段12に渡される。
Thereafter, the picture data corresponding to the reduced image data A is output from the header analysis means 1 which has received the instruction to output the picture data. The same processing as described above is performed on the picture data, and the reduced image data A obtained by expanding the picture data is passed to the enlargement unit 12.

【0034】拡大手段12は、付加情報Code1に対
応する縮小画像データBが渡されると、図6に示すよう
に、縮小画像データB中の各画素の画素値b0,b1,
…を、ビデオメモリ13を2×2画素のブロックに分割
した際の各ブロックの右上の画素位置に書き込む。次い
で、付加情報Code2に対応する縮小画像データCが
渡されると、縮小画像データC中の各画素の画素値c
0,c1,…をビデオメモリ13中の各ブロックの左下
の画素位置に書き込む。その後、付加情報Code3に
対応する縮小画像データDが渡されると、縮小画像デー
タD中の各画素の画素値d0,d1…をビデオメモリ1
3中の各ブロックの右下の画素位置に書き込む。更に、
ピクチャデータに対応する縮小画像データAが渡される
と、縮小画像データA中の各画素の画素値a0,a1,
…をビデオメモリ13中の各ブロックの左上の画素位置
に書き込む。これにより、1フレーム分の伸張が完了
し、再生画像が表示手段14に表示される。
Upon receiving the reduced image data B corresponding to the additional information Code1, the enlarging means 12 determines the pixel values b0, b1, and b1 of each pixel in the reduced image data B as shown in FIG.
.. Are written in the upper right pixel position of each block when the video memory 13 is divided into 2 × 2 pixel blocks. Next, when the reduced image data C corresponding to the additional information Code2 is passed, the pixel value c of each pixel in the reduced image data C is obtained.
Write 0, c1,... To the lower left pixel position of each block in the video memory 13. Thereafter, when the reduced image data D corresponding to the additional information Code3 is passed, the pixel values d0, d1,... Of each pixel in the reduced image data D are stored in the video memory 1.
3 is written in the lower right pixel position of each block. Furthermore,
When the reduced image data A corresponding to the picture data is passed, the pixel values a0, a1,
.. Are written in the upper left pixel position of each block in the video memory 13. Thus, the expansion of one frame is completed, and the reproduced image is displayed on the display unit 14.

【0035】Pピクチャであると解析された場合:When the picture is analyzed as a P picture:

【0036】付加情報読み取り手段2から出力された付
加情報Code1,Code2,Code3が復号化手
段4で復号され、復号結果が逆量子化手段5で逆量子化
され、逆量子化結果がIDCT手段6で逆離散コサイン
変換され、ブロックの差分が算出される。更に、この差
分と前予測手段7が前フレーム部10から取り出した各
縮小画像データB,C,Dに対応する前フレーム中の動
き補償したブロックとを加算し、付加情報Code1,
Code2,Code3と対応する縮小画像データB,
C,Dを復元する。この復元された縮小画像データB,
C,Dは、拡大手段12に渡される。尚、前フレーム部
10には縮小画像データAに対応する前フレームも格納
されている。
The additional information Code1, Code2, and Code3 output from the additional information reading means 2 are decoded by the decoding means 4, the decoding result is inversely quantized by the inverse quantization means 5, and the inverse quantization result is obtained by the IDCT means 6. Is subjected to inverse discrete cosine transform, and the difference between the blocks is calculated. Further, the difference is added to the motion-compensated block in the previous frame corresponding to each of the reduced image data B, C, and D extracted from the previous frame unit 10 by the previous prediction unit 7, and the additional information Code1,
Code2, Code3 and corresponding reduced image data B,
Restore C and D. The restored reduced image data B,
C and D are passed to the enlarging means 12. The previous frame section 10 also stores a previous frame corresponding to the reduced image data A.

【0037】その後、ピクチャデータの出力指示を受け
たヘッダ解析手段1から縮小画像データAに対応するピ
クチャデータが出力される。このピクチャデータに対し
ても上記したと同様の処理が行われ、ピクチャデータを
伸張した縮小画像データAが拡大手段12に渡される。
Thereafter, the picture data corresponding to the reduced image data A is output from the header analysis means 1 which has received the instruction to output the picture data. The same processing as described above is performed on the picture data, and the reduced image data A obtained by expanding the picture data is passed to the enlargement unit 12.

【0038】拡大手段12は、渡された縮小画像データ
A,B,C,Dに対して前述した図6に示す処理を行
う。
The enlarging means 12 performs the processing shown in FIG. 6 on the received reduced image data A, B, C, and D.

【0039】Bピクチャと解析された場合:When analyzed as a B picture:

【0040】付加情報読み取り手段2から出力された付
加情報Code1,Code2,Code3が復号化手
段4で復号され、復号結果が逆量子化手段5で逆量子化
され、逆量子化結果がIDCT手段6で逆離散コサイン
変換され、ブロックの差分が算出される。更に、この差
分と両予測手段8が前フレーム部10,後フレーム部1
1から取り出した縮小画像データB,C,Dの前,後フ
レーム中の動き補償したブロックの平均値または後予測
手段9が後フレーム部11から取り出した縮小画像デー
タB,C,Dの後フレーム中の動き補償したブロックと
を加算し、付加情報Code1,Code2,Code
3に対応する縮小画像データB,C,Dを復元する。こ
の復元された縮小画像データは、拡大手段12に渡され
る。
The additional information Code1, Code2, and Code3 output from the additional information reading means 2 are decoded by the decoding means 4, the decoding result is inversely quantized by the inverse quantization means 5, and the inverse quantization result is obtained by the IDCT means 6. Is subjected to inverse discrete cosine transform, and the difference between the blocks is calculated. Further, the difference and the two predicting means 8 are used by the front frame unit 10 and the rear frame unit 1.
1 or the average value of the motion-compensated blocks in the previous and subsequent frames of the reduced image data B, C, and D, or the subsequent frame of the reduced image data B, C, and D extracted from the subsequent frame unit 11 by the rear prediction unit 9. The motion-compensated blocks in the data are added, and additional information Code1, Code2, Code
The reduced image data B, C, and D corresponding to No. 3 are restored. The restored reduced image data is passed to the enlargement unit 12.

【0041】その後、ピクチャデータの出力指示を受け
たヘッダ解析手段1から縮小画像データAに対応するピ
クチャデータが出力される。このピクチャデータに対し
ても上記したと同様の処理が行われ、ピクチャデータを
伸張した縮小画像データAが拡大手段12に渡される。
Thereafter, the picture data corresponding to the reduced image data A is output from the header analysis means 1 which has received the instruction to output the picture data. The same processing as described above is performed on the picture data, and the reduced image data A obtained by expanding the picture data is passed to the enlargement unit 12.

【0042】拡大手段12は、渡された縮小画像データ
A,B,C,Dに対して前述した図6に示す処理を行
う。
The enlarging means 12 performs the processing shown in FIG. 6 on the received reduced image data A, B, C, and D.

【0043】ピクチャデータとの差分を圧縮符号化した
ものであると解析された場合:
When it is analyzed that the difference from the picture data is obtained by compressing and encoding:

【0044】付加情報読み取り手段2から出力された付
加情報Code1,Code2,Code3が復号化手
段4で復号され、復号結果が逆量子化手段5で逆量子化
され、逆量子化結果がIDCT手段6で逆離散コサイン
変換され、IDCT手段6の処理結果(縮小画像データ
Aと縮小画像データBとの差分,縮小画像データAと縮
小画像データCとの差分,縮小画像データAと縮小画像
データDとの差分)が拡大手段12に渡される。
The additional information Code1, Code2, and Code3 output from the additional information reading means 2 are decoded by the decoding means 4, the decoding result is inversely quantized by the inverse quantization means 5, and the inverse quantization result is obtained by the IDCT means 6. And the result of processing by the IDCT means 6 (difference between reduced image data A and reduced image data B, difference between reduced image data A and reduced image data C, reduced image data A and reduced image data D Is passed to the enlarging means 12.

【0045】その後、ピクチャデータの出力指示を受け
たヘッダ解析手段1から縮小画像データAに対応するピ
クチャデータが出力される。このピクチャデータに対し
ても上記したと同様の処理が行われ、ピクチャデータを
伸張した縮小画像データAが拡大手段12に渡される。
Thereafter, the picture data corresponding to the reduced image data A is output from the header analysis means 1 which has received the instruction to output the picture data. The same processing as described above is performed on the picture data, and the reduced image data A obtained by expanding the picture data is passed to the enlargement unit 12.

【0046】拡大手段12は、ピクチャデータに対応す
る縮小画像データAが渡されると、図6に示すように、
縮小画像データA中の各画素の画素値a0,a1,…を
ビデオメモリ13中の各ブロックの左上の画素位置に書
き込む。
Upon receiving the reduced image data A corresponding to the picture data, the enlarging means 12 performs, as shown in FIG.
Write the pixel values a0, a1,... Of each pixel in the reduced image data A to the upper left pixel position of each block in the video memory 13.

【0047】次いで、拡大手段12は、縮小画像データ
Aに付加情報Code1(縮小画像データAと縮小画像
データBとの差分)を加算することにより縮小画像デー
タBを復元し、縮小画像データB中の各画素の画素値b
0,b1,…をビデオメモリ13中の各ブロックの右上
の画素位置に書き込む。
Next, the enlargement means 12 restores the reduced image data B by adding the additional information Code1 (the difference between the reduced image data A and the reduced image data B) to the reduced image data A, and Pixel value b of each pixel
Write 0, b1,... To the upper right pixel position of each block in the video memory 13.

【0048】その後、拡大手段12は、縮小画像データ
Aに付加情報Code2(縮小画像データAと縮小画像
データCとの差分)を加算することにより縮小画像デー
タCを復元し、縮小画像データC中の各画素の画素値c
0 ,c1,…をビデオメモリ13中の各ブロックの左下
の画素位置に書き込む。
After that, the enlargement means 12 restores the reduced image data C by adding the additional information Code 2 (the difference between the reduced image data A and the reduced image data C) to the reduced image data A, and Pixel value c of each pixel
0, c1,... Are written in the lower left pixel position of each block in the video memory 13.

【0049】更に、拡大手段12は、縮小画像データA
に付加情報Code3(縮小画像データAと縮小画像デ
ータDとの差分)を加算することにより縮小画像データ
Dを復元し、縮小画像データD中の各画素の画素値d
1,d2,…をビデオメモリ13中の各ブロックの右下
の画素位置に書き込む。これにより、1フレーム分の伸
張が完了し、再生画像が表示手段14に表示される。
Further, the enlarging means 12 outputs the reduced image data A
Is added to the additional information Code3 (the difference between the reduced image data A and the reduced image data D) to restore the reduced image data D, and the pixel value d of each pixel in the reduced image data D
, D2,... Are written in the lower right pixel position of each block in the video memory 13. Thus, the expansion of one frame is completed, and the reproduced image is displayed on the display unit 14.

【0050】また、例えば、CPU性能測定手段3の測
定結果が4α>Ct≧2αであり、付加情報読み取り手
段2から付加情報Code1のみが出力された場合は、
ヘッダ解析手段1で解析された付加情報の種類に応じて
以下の処理が行われる。
For example, when the measurement result of the CPU performance measuring means 3 is 4α> Ct ≧ 2α and only the additional information Code1 is output from the additional information reading means 2,
The following processing is performed according to the type of the additional information analyzed by the header analysis means 1.

【0051】Iピクチャであると解析された場合:When the picture is analyzed as an I picture:

【0052】付加情報読み取り手段2から出力された付
加情報Code1が復号化手段4で復号され、復号結果
が逆量子化手段5で逆量子化され、逆量子化結果がID
CT手段6で逆離散コサイン変換され、IDCT手段6
の処理結果(付加情報Code1を伸張した縮小画像デ
ータB)が拡大手段12に渡される。
The additional information Code1 output from the additional information reading means 2 is decoded by the decoding means 4, the decoding result is inversely quantized by the inverse quantization means 5, and the inverse quantization result is
The inverse discrete cosine transform is performed by the CT means 6, and the IDCT means 6
(Reduced image data B obtained by expanding the additional information Code1) is passed to the enlarging means 12.

【0053】その後、ピクチャデータの出力指示を受け
たヘッダ解析手段1から縮小画像データAに対応するピ
クチャデータが出力される。このピクチャデータに対し
ても上記したと同様の処理が行われ、ピクチャデータを
伸張した縮小画像データAが拡大手段12に渡される。
Thereafter, the picture data corresponding to the reduced image data A is output from the header analysis means 1 which has received the instruction to output the picture data. The same processing as described above is performed on the picture data, and the reduced image data A obtained by expanding the picture data is passed to the enlargement unit 12.

【0054】拡大手段12は、付加情報Code1に対
応する縮小画像データBが渡されると、図7(A)また
は(B)に示すように、縮小画像データB中の各画素の
画素値b0,b1,…をビデオメモリ13を2×2画素
のブロックに分割した際の各ブロックの右上の画素位置
に書き込む。
When the reduced image data B corresponding to the additional information Code1 is passed, the enlarging means 12 determines the pixel values b0, b0, and b0 of each pixel in the reduced image data B as shown in FIG. are written in the upper right pixel position of each block when the video memory 13 is divided into blocks of 2 × 2 pixels.

【0055】次いで、ピクチャデータに対応する縮小画
像データAが渡されると、縮小画像データA中の各画素
の画素a0,a1,…をビデオメモリ13中の各ブロッ
クの左上の画素位置に書き込む。
Next, when the reduced image data A corresponding to the picture data is passed, the pixels a0, a1,... Of each pixel in the reduced image data A are written to the upper left pixel position of each block in the video memory 13.

【0056】以上の処理では、まだ、ビデオメモリ13
中の各ブロックの左下,右下の画素位置に画素値が書き
込まれていないので、拡大手段12は、例えば、図7
(A)に示すように、上下の画素値の平均値c0’,c
1’,…、d0’,d1’,…を求め、それを各ブロッ
クの左下,右下の画素位置に書き込むか、または、図7
(B)に示すように、各ブロックの左上,右上の画素位
置の画素値a0,a1,…、b0,b1,…を各ブロッ
クの左下,右下の画素位置に書き込む。これにより、1
フレーム分の伸張が完了し、再生画像が表示手段14に
表示される。
In the above processing, the video memory 13
Since no pixel value is written in the lower left and lower right pixel positions of each block in the middle, the enlarging means 12 is, for example, shown in FIG.
As shown in (A), the average value c0 ′, c of the upper and lower pixel values
1 ′,..., D0 ′, d1 ′,..., And writing them to the lower left and lower right pixel positions of each block, or
As shown in (B), the pixel values a0, a1, ..., b0, b1, ... at the upper left and upper right pixel positions of each block are written into the lower left and lower right pixel positions of each block. This gives 1
The expansion of the frame is completed, and the reproduced image is displayed on the display unit 14.

【0057】Pピクチャであると解析された場合:When the picture is analyzed as a P picture:

【0058】付加情報読み取り手段2から出力された付
加情報Code1が復号化手段4で復号され、復号結果
が逆量子化手段5で逆量子化され、逆量子化結果がID
CT手段6で逆離散コサイン変換され、ブロックの差分
が算出される。更に、この差分と前予測手段7が前フレ
ーム部10から取り出した各縮小画像データBに対応す
る前フレーム中の動き補償したブロックとを加算し、付
加情報Code1と対応する縮小画像データBを復元す
る。この復元された縮小画像データBは、拡大手段12
に渡される。
The additional information Code1 output from the additional information reading means 2 is decoded by the decoding means 4, the decoding result is inversely quantized by the inverse quantization means 5, and the inverse quantization result is
The inverse discrete cosine transform is performed by the CT means 6, and the difference between the blocks is calculated. Further, the difference and the motion-compensated block in the previous frame corresponding to each reduced image data B extracted from the previous frame unit 10 by the previous prediction unit 7 are added to restore the reduced image data B corresponding to the additional information Code1. I do. The restored reduced image data B is supplied to the enlargement unit 12.
Passed to.

【0059】その後、ピクチャデータの出力指示を受け
たヘッダ解析手段1から縮小画像データAに対応するピ
クチャデータが出力される。このピクチャデータに対し
ても上記したと同様の処理が行われ、ピクチャデータを
伸張した縮小画像データAが拡大手段12に渡される。
Thereafter, the picture data corresponding to the reduced image data A is output from the header analysis means 1 which has received the instruction to output the picture data. The same processing as described above is performed on the picture data, and the reduced image data A obtained by expanding the picture data is passed to the enlargement unit 12.

【0060】拡大手段12は、渡された縮小画像データ
A,Bに対して前述した図7に示す処理を行う。
The enlarging means 12 performs the processing shown in FIG. 7 on the received reduced image data A and B.

【0061】Bピクチャと解析された場合:When analyzed as a B picture:

【0062】付加情報読み取り手段2から出力された付
加情報Code1が復号化手段4で復号され、復号結果
が逆量子化手段5で逆量子化され、逆量子化結果がID
CT手段6で逆離散コサイン変換され、ブロックの差分
が算出される。更に、この差分と両予測手段8が前フレ
ーム部10,後フレーム部11から取り出した縮小画像
データBの前,後フレーム中の動き補償したブロックの
平均値または後予測手段9が後フレーム部11から取り
出した縮小画像データBの後フレーム中の動き補償した
ブロックとを加算し、付加情報Code1に対応する縮
小画像データBを復元する。この復元された縮小画像デ
ータBは、拡大手段12に渡される。
The additional information Code1 output from the additional information reading means 2 is decoded by the decoding means 4, the decoding result is inversely quantized by the inverse quantization means 5, and the inverse quantization result is
The inverse discrete cosine transform is performed by the CT means 6, and the difference between the blocks is calculated. Further, the difference and the average value of the motion-compensated blocks in the front and rear frames of the reduced image data B extracted from the previous frame unit 10 and the rear frame unit 11 by both prediction units 8 or the rear prediction unit 9 And the motion-compensated block in the succeeding frame in the subsequent frame is added to restore the reduced image data B corresponding to the additional information Code1. The restored reduced image data B is passed to the enlargement means 12.

【0063】その後、ピクチャデータの出力指示を受け
たヘッダ解析手段1から縮小画像データAに対応するピ
クチャデータが出力される。このピクチャデータに対し
ても上記したと同様の処理が行われ、ピクチャデータを
伸張した縮小画像データAが拡大手段12に渡される。
Thereafter, the picture data corresponding to the reduced image data A is output from the header analysis means 1 which has received the instruction to output the picture data. The same processing as described above is performed on the picture data, and the reduced image data A obtained by expanding the picture data is passed to the enlargement unit 12.

【0064】拡大手段12は、渡された縮小画像データ
A,Bに対して前述した図7に示す処理を行う。
The enlarging means 12 performs the processing shown in FIG. 7 on the received reduced image data A and B.

【0065】ピクチャデータとの差分を圧縮符号化した
ものであると解析された場合:
When it is analyzed that the difference from the picture data is obtained by compressing and encoding:

【0066】付加情報読み取り手段2から出力された付
加情報Code1が復号化手段4で復号され、復号結果
が逆量子化手段5で逆量子化され、逆量子化結果がID
CT手段6で逆離散コサイン変換され、IDCT手段6
の処理結果(縮小画像データAと縮小画像データBとの
差分)が拡大手段12に渡される。
The additional information Code1 output from the additional information reading means 2 is decoded by the decoding means 4, the decoding result is inversely quantized by the inverse quantization means 5, and the inverse quantization result is
The inverse discrete cosine transform is performed by the CT means 6, and the IDCT means 6
(The difference between the reduced image data A and the reduced image data B) is passed to the enlarging means 12.

【0067】その後、ピクチャデータの出力指示を受け
たヘッダ解析手段1から縮小画像データAに対応するピ
クチャデータが出力される。このピクチャデータに対し
ても上記したと同様の処理が行われ、ピクチャデータを
伸張した縮小画像データAが拡大手段12に渡される。
Thereafter, the picture data corresponding to the reduced image data A is output from the header analysis means 1 which has received the instruction to output the picture data. The same processing as described above is performed on the picture data, and the reduced image data A obtained by expanding the picture data is passed to the enlargement unit 12.

【0068】拡大手段12は、ピクチャデータに対応す
る縮小画像データAが渡されると、図7(A)または図
7(B)に示すように、縮小画像データA中の各画素の
画素値a0,a1,…をビデオメモリ13中の各ブロッ
クの左上の画素位置に書き込む。
Upon receiving the reduced image data A corresponding to the picture data, the enlarging means 12 determines the pixel value a0 of each pixel in the reduced image data A as shown in FIG. 7A or 7B. , A1,... Are written in the upper left pixel position of each block in the video memory 13.

【0069】次いで、拡大手段12は、縮小画像データ
Aに付加情報Code1(縮小画像データAと縮小画像
データBとの差分)を加算することにより縮小画像デー
タBを復元し、縮小画像データB中の各画素の画素値b
0,b1,…をビデオメモリ13中の各ブロックの右上
の画素位置に書き込む。
Next, the enlarging means 12 restores the reduced image data B by adding the additional information Code 1 (the difference between the reduced image data A and the reduced image data B) to the reduced image data A, and Pixel value b of each pixel
Write 0, b1,... To the upper right pixel position of each block in the video memory 13.

【0070】その後、拡大手段12は、図7(A)また
は(B)に示すように、ビデオメモリ13の各ブロック
の左下,右下の画素位置に、上下の画素の画素値の平均
値または上側の画素の画素値を書き込む。これにより、
1フレーム分の伸張が完了し、再生画像が表示手段14
に表示される。
Thereafter, as shown in FIG. 7 (A) or (B), the enlarging means 12 places the average value of the pixel values of the upper and lower pixels at the lower left and lower right pixel positions of each block of the video memory 13. Write the pixel value of the upper pixel. This allows
When the expansion for one frame is completed, the reproduced image is displayed on the display unit 14.
Will be displayed.

【0071】また、例えば、CPU性能測定手段3の測
定結果が2α>Ctであり、付加情報読み取り手段2か
ら付加情報が出力されなかった場合は、ヘッダ解析手段
1で解析された付加情報の種類に応じて以下の動作が行
われる。
For example, if the measurement result of the CPU performance measuring means 3 is 2α> Ct and no additional information is output from the additional information reading means 2, the type of the additional information analyzed by the header analyzing means 1 The following operation is performed in accordance with.

【0072】Iピクチャであると解析された場合:When the picture is analyzed as an I picture:

【0073】ヘッダ解析手段1から出力された縮小画像
データAに対応するピクチャデータが復号化手段4で復
号され、復号結果が逆量子化手段5で逆量子化され、逆
量子化結果がIDCT手段6で逆離散コサイン変換さ
れ、IDCT手段6の処理結果(ピクチャデータを伸張
した縮小画像データA)が拡大手段12に渡される。
The picture data corresponding to the reduced image data A output from the header analysis means 1 is decoded by the decoding means 4, the decoding result is inversely quantized by the inverse quantization means 5, and the inverse quantization result is obtained by the IDCT means. In step 6, the inverse discrete cosine transform is performed, and the processing result of the IDCT unit 6 (reduced image data A obtained by expanding the picture data) is passed to the enlarging unit 12.

【0074】拡大手段12は、ピクチャデータに対応す
る縮小画像データAが渡されると、図8(A)または図
8(B)に示すように、縮小画像データA中の各画素の
画素値a0,a1,…をビデオメモリ13を2×2画素
のブロックに分割した際の各ブロックの左上の画素位置
に書き込む。
Upon receiving the reduced image data A corresponding to the picture data, the enlarging means 12 sets the pixel value a0 of each pixel in the reduced image data A as shown in FIG. 8A or 8B. , A1,... Are written in the upper left pixel position of each block when the video memory 13 is divided into 2 × 2 pixel blocks.

【0075】以上の処理では、まだ、ビデオメモリ13
中の各ブロックの右上,左下,右下の画素位置に画素値
が書き込まれていないので、拡大手段12は、例えば、
図8(A)に示すように、各ブロックの右上の画素位置
については左右の画素の画素値の平均値b0’,b1’
…を、各ブロックの左下,右下の画素位置については上
下の画素の画素値の平均値c0’,c1’,…、d
0’,d1’,…を求め、それらを各ブロックの右上,
左下,右下の画素位置に書き込むか、または、図8
(B)に示すように、各ブロックの左上の画素位置の画
素値a0,a1,…を右上,左下,右下の画素位置に書
き込む。これにより、1フレーム分の伸張が完了し、再
生画像が表示手段14に表示される。
In the above processing, the video memory 13
Since no pixel value is written in the upper right, lower left, and lower right pixel positions of each block in the middle, the enlargement unit 12
As shown in FIG. 8A, the average value b0 ′, b1 ′ of the pixel values of the left and right pixels at the upper right pixel position of each block.
.., And at the lower left and lower right pixel positions of each block, average values c0 ′, c1 ′,.
0 ′, d1 ′,...
Write to lower left and lower right pixel positions, or
As shown in (B), the pixel values a0, a1,... At the upper left pixel position of each block are written in the upper right, lower left, lower right pixel positions. Thus, the expansion of one frame is completed, and the reproduced image is displayed on the display unit 14.

【0076】Pピクチャであると解析された場合:When the picture is analyzed as a P picture:

【0077】ヘッダ解析手段1から出力された縮小画像
データAに対応するピクチャデータが復号化手段4で復
号され、復号結果が逆量子化手段5で逆量子化され、逆
量子化結果がIDCT手段6で逆離散コサイン変換さ
れ、ブロックの差分が算出される。更に、この差分と前
予測手段7が前フレーム部10から取り出した縮小画像
データAに対応する前フレーム中の動き補償したブロッ
クとを加算し、縮小画像データAを復元する。この復元
された縮小画像データAは、拡大手段12に渡される。
The picture data corresponding to the reduced image data A output from the header analysis means 1 is decoded by the decoding means 4, the decoding result is inversely quantized by the inverse quantization means 5, and the inverse quantization result is obtained by the IDCT means. In step 6, an inverse discrete cosine transform is performed to calculate a block difference. Further, the difference and the motion-compensated block in the previous frame corresponding to the reduced image data A extracted from the previous frame unit 10 by the previous prediction unit 7 are added to restore the reduced image data A. The restored reduced image data A is passed to the enlargement means 12.

【0078】拡大手段12は、渡された縮小画像データ
Aに対して前述した図7(A)または(B)に示した処
理を行う。
The enlarging means 12 performs the processing shown in FIG. 7A or 7B on the received reduced image data A.

【0079】Bピクチャと解析された場合:When analyzed as a B picture:

【0080】ヘッダ解析手段1から出力された縮小画像
データAに対応するピクチャデータが復号化手段4で復
号され、復号結果が逆量子化手段5で逆量子化され、逆
量子化結果がIDCT手段6で逆離散コサイン変換さ
れ、ブロックの差分が算出される。更に、この差分と両
予測手段8が前フレーム部10,後フレーム部11から
取り出した縮小画像データAの前,後フレーム中の動き
補償したブロックの平均値または後予測手段9が後フレ
ーム部11から取り出した縮小画像データAのフレーム
中の動き補償したブロックとを加算し、縮小画像データ
Aを復元する。この復元された縮小画像データAは、拡
大手段12に渡される。
The picture data corresponding to the reduced image data A output from the header analysis means 1 is decoded by the decoding means 4, the decoding result is inversely quantized by the inverse quantization means 5, and the inverse quantization result is obtained by the IDCT means. In step 6, an inverse discrete cosine transform is performed to calculate a block difference. Further, the difference and the average value of the motion-compensated blocks in the front and rear frames of the reduced image data A extracted from the previous frame unit 10 and the rear frame unit 11 by the both prediction units 8 or the rear prediction unit 9 outputs The reduced image data A is restored by adding the motion-compensated blocks in the frame of the reduced image data A extracted from the frame. The restored reduced image data A is passed to the enlargement means 12.

【0081】拡大手段12は、渡された縮小画像データ
Aに対して前述した図8(A)または(B)に示す処理
を行う。
The enlarging means 12 performs the processing shown in FIG. 8A or 8B on the transferred reduced image data A.

【0082】ピクチャデータとの差分を圧縮符号化した
ものであると解析された場合:
When it is analyzed that the difference from the picture data is obtained by compressing and encoding:

【0083】ヘッダ解析手段1から出力された縮小画像
データAに対応するピクチャデータが復号化手段4で復
号され、復号結果が逆量子化手段5で逆量子化され、逆
量子化結果がIDCT手段6で逆離散コサイン変換さ
れ、IDCT手段6の処理結果(縮小画像データA)が
拡大手段12に渡される。
The picture data corresponding to the reduced image data A output from the header analysis means 1 is decoded by the decoding means 4, the decoding result is inversely quantized by the inverse quantization means 5, and the inverse quantization result is obtained by the IDCT means. In step 6, the inverse discrete cosine transform is performed, and the processing result (reduced image data A) of the IDCT unit 6 is passed to the enlargement unit 12.

【0084】拡大手段12は、渡された縮小画像データ
Aに対して前述した図8(A)または(B)に示す処理
を行う。
The enlarging means 12 performs the processing shown in FIG. 8A or 8B on the received reduced image data A.

【0085】尚、上述した実施例に於いては、CPU性
能測定手段3の測定結果がCt≧4αの場合は全ての付
加情報Code1,Code2,Code3を付加情報
読み取り手段2が読み取り、4α>Ct≧2αの場合は
一部の付加情報Code1のみを付加情報読み取り手段
2が読み取り、2α>Ctの場合は付加情報の読み取り
を行わないようにしたが、Ct≧4αの場合は全ての付
加情報Code1,Code2,Code3を読み取
り、それ以外の場合、即ちCt<4αの場合は付加情報
の読み取りを行わないようにすることもできる。また、
実施例では、付加情報をピクチャヘッダのユーザデータ
に追加するようにしたが、シーケンスヘッダ,GOPヘ
ッダ,ピクチャヘッダ,スライスヘッダの何れかのヘッ
ダの拡張領域として定義されている拡張データやユーザ
データに追加するようにしても良い。また、上述した実
施例では、拡大手段12で拡大した画像データを表示用
のビデオメモリ13に書き込むようにしたが、ハードデ
ィスクやメモリ等に蓄積するようにしても良い。
In the above-described embodiment, when the measurement result of the CPU performance measuring means 3 satisfies Ct ≧ 4α, the additional information reading means 2 reads all the additional information Code1, Code2, Code3, and 4α> Ct. When ≧ 2α, the additional information reading unit 2 reads only some of the additional information Code1, and when 2α> Ct, the additional information is not read. However, when Ct ≧ 4α, all the additional information Code1 is not read. , Code2, and Code3, and in other cases, that is, in the case of Ct <4α, the additional information may not be read. Also,
In the embodiment, the additional information is added to the user data of the picture header. However, the additional information is added to the extension data or user data defined as an extension area of any one of the sequence header, the GOP header, the picture header, and the slice header. You may make it add. In the above-described embodiment, the image data enlarged by the enlarging means 12 is written in the video memory 13 for display. However, the image data may be stored in a hard disk or a memory.

【0086】図9は図4に示すようなMPEGに準拠し
たフォーマットの画像データを生成する画像圧縮装置の
構成例を示すブロック図であり、画像データが格納され
る画像ファイル21と、縮小画像データ生成手段22
と、差分算出手段23と、MPEGに準拠した符号化手
段24と、ヘッダ情報付加手段25と、図4に示すよう
なフォーマットの画像データが格納される圧縮符号ファ
イル26と、キーボード等の入力手段27とから構成さ
れている。
FIG. 9 is a block diagram showing an example of the configuration of an image compression apparatus for generating image data in a format conforming to MPEG as shown in FIG. 4, wherein an image file 21 storing image data and a reduced image data Generating means 22
4, a difference calculating unit 23, an encoding unit 24 based on MPEG, a header information adding unit 25, a compression code file 26 storing image data in a format as shown in FIG. 4, and an input unit such as a keyboard. 27.

【0087】ユーザは、図4に示すようなMPEGに準
拠したフォーマットの画像データを生成する場合、ユー
ザデータを、ピクチャデータとの差分を圧縮符号化した
ものにするのか否かの指示を入力手段27から入力する
と共に、画像データを何個の縮小画像データに分割する
のかを示す分割数(この例では4とする)を入力手段2
7から入力する。
When generating image data in a format conforming to MPEG as shown in FIG. 4, the user inputs an instruction as to whether or not user data is to be obtained by compressing and encoding the difference from picture data. 27, and the number of divisions (4 in this example) indicating how many pieces of reduced image data are to be divided into the image data.
Input from 7.

【0088】先ず、ユーザによってピクチャデータとの
差分を圧縮符号化したものをユーザデータにすることが
指示されていない場合の動作を説明する。
First, a description will be given of an operation in the case where it is not instructed by the user to convert the difference between the picture data and the picture data into user data by compression coding.

【0089】縮小画像データ生成手段22は、画像ファ
イル21から画像データを1フレームずつ取り出し、取
り出した画像データに対して以下の処理を行う。
The reduced image data generating means 22 extracts image data from the image file 21 frame by frame, and performs the following processing on the extracted image data.

【0090】先ず、図5に示すように、画像ファイル2
1から取り出した1フレーム分の画像データを2×2画
素のブロックB11,B12,…に分割し、各ブロック
B11,B12,…中の左上の画素を集めることによ
り、画像データを1/4に縮小した縮小画像データAを
生成し、生成した縮小画像データAを符号化手段24に
出力する。縮小画像データAを出力する際、縮小画像デ
ータ生成手段22は、ヘッダ情報付加手段25に対して
符号化手段24から出力される縮小画像データAに対応
する圧縮符号をピクチャデータとすることを指示する。
First, as shown in FIG.
The image data for one frame extracted from 1 is divided into 2 × 2 pixel blocks B11, B12,..., And the upper left pixel in each of the blocks B11, B12,. The reduced image data A is generated, and the generated reduced image data A is output to the encoding unit 24. When outputting the reduced image data A, the reduced image data generating unit 22 instructs the header information adding unit 25 to use the compression code corresponding to the reduced image data A output from the encoding unit 24 as picture data. I do.

【0091】その後、縮小画像データ生成手段22は、
ブロックB11,B12,…中の右上の画素,左下の画
素,右下の画素をそれぞれ集めることにより画像データ
を1/4に縮小した縮小画像データB,C,Dを順次生
成し、生成した縮小画像データB,C,Dを順次符号化
手段24に出力する。縮小画像データB,C,Dを出力
する際、縮小画像データ生成手段22は、ヘッダ情報付
加手段25に対して符号化手段24から出力される圧縮
符号をユーザデータとすることを指示する。
Thereafter, the reduced image data generating means 22
The reduced image data B, C, and D in which the image data is reduced to 1/4 by sequentially collecting the upper right pixel, the lower left pixel, and the lower right pixel in the blocks B11, B12,. The image data B, C, and D are sequentially output to the encoding unit 24. When outputting the reduced image data B, C, and D, the reduced image data generating unit 22 instructs the header information adding unit 25 to use the compression code output from the encoding unit 24 as user data.

【0092】符号化手段24は、縮小画像データ生成手
段22から縮小画像データAが出力されると、縮小画像
データAを圧縮符号化してヘッダ情報付加手段25に出
力する。また、符号化手段24は、動き補償を行うため
に必要となる動きベクトル,マクロブロックのタイプ,
量子化特性指定情報,量子化変換係数等も出力する。
When the reduced image data A is output from the reduced image data generation unit 22, the encoding unit 24 compression-encodes the reduced image data A and outputs it to the header information adding unit 25. Further, the encoding means 24 calculates a motion vector, a macroblock type,
It also outputs quantization characteristic designation information, quantization transform coefficients, and the like.

【0093】ヘッダ情報付加手段25は、符号化手段2
4から縮小画像データAの圧縮符号が出力されると、そ
れをピクチャデータとすると共に、付加情報のフラグC
ustomや符号化手段24から出力される各種情報や
入力手段27から入力される分割数等をピクチャデータ
に付加する。
The header information adding means 25 includes the encoding means 2
4 outputs the compressed code of the reduced image data A as the picture data and the flag C of the additional information.
custom, various information output from the encoding unit 24, the number of divisions input from the input unit 27, and the like are added to the picture data.

【0094】また、符号化手段24は、縮小画像データ
生成手段22から縮小画像データB,C,Dが出力され
た場合も同様の処理を行う。
The encoding means 24 performs the same processing when the reduced image data B, C, and D are output from the reduced image data generating means 22.

【0095】ヘッダ情報付加手段25は、符号化手段2
4から縮小画像データB,C,Dに対応する圧縮符号が
出力されると、それらを図5に示すように付加情報Co
de1,Code2,Code3とする。
The header information adding means 25 includes the encoding means 2
4 outputs compressed codes corresponding to reduced image data B, C, and D, as shown in FIG.
It is assumed that de1, Code2, and Code3.

【0096】そして、図4に示すようなフォーマットを
有する画像データを生成すると、それを圧縮符号ファイ
ル26に格納する。
When image data having a format as shown in FIG. 4 is generated, it is stored in the compression code file 26.

【0097】次に、ユーザによってピクチャデータとの
差分を圧縮符号化したものをユーザデータにすることが
指示されている場合の動作を説明する。
Next, a description will be given of the operation in the case where the user instructs to convert the difference between the picture data and the picture data into user data.

【0098】先ず、図5に示すように、画像ファイル2
1から取り出した1フレーム分の画像データを2×2画
素のブロックB11,B12,…に分割し、各ブロック
B11,B12,…中の左上の画素を集めることによ
り、画像データを1/4に縮小した縮小画像データAを
生成し、生成した縮小画像データAを符号化手段24及
び差分算出手段23に出力する。縮小画像データAを出
力する際、縮小画像データ生成手段22は、ヘッダ情報
付加手段25に対して符号化手段24から出力される縮
小画像データAに対応する圧縮符号をピクチャデータと
することを指示する。
First, as shown in FIG.
The image data for one frame extracted from 1 is divided into 2 × 2 pixel blocks B11, B12,..., And the upper left pixel in each of the blocks B11, B12,. The reduced image data A is generated, and the generated reduced image data A is output to the encoding unit 24 and the difference calculation unit 23. When outputting the reduced image data A, the reduced image data generating unit 22 instructs the header information adding unit 25 to use the compression code corresponding to the reduced image data A output from the encoding unit 24 as picture data. I do.

【0099】その後、縮小画像データ生成手段22は、
ブロックB11,B12,…中の右上の画素,左下の画
素,右下の画素をそれぞれ集めることにより画像データ
を1/4に縮小した縮小画像データB,C,Dを順次生
成し、生成した縮小画像データB,C,Dを順次差分算
出手段23に出力する。
Thereafter, the reduced image data generating means 22
The reduced image data B, C, and D in which the image data is reduced to 1/4 by sequentially collecting the upper right pixel, the lower left pixel, and the lower right pixel in the blocks B11, B12,. The image data B, C, and D are sequentially output to the difference calculator 23.

【0100】符号化手段24は、縮小画像データ生成手
段22から縮小画像データAが出力されると、縮小画像
データAを圧縮符号化してヘッダ情報付加手段25に出
力する。また、符号化手段24は、動き補償を行うため
に必要となる動きベクトル,マクロブロックのタイプ,
量子化特性指定情報,量子化変換係数等も出力する。
When the reduced image data A is output from the reduced image data generating unit 22, the encoding unit 24 compression-encodes the reduced image data A and outputs it to the header information adding unit 25. Further, the encoding means 24 calculates a motion vector, a macroblock type,
It also outputs quantization characteristic designation information, quantization transform coefficients, and the like.

【0101】ヘッダ情報付加手段25は、符号化手段2
4から縮小画像データAの圧縮符号が出力されると、そ
れをピクチャデータとすると共に、符号化手段24から
出力される各種情報や入力手段27から入力される分割
数等をピクチャデータに付加する。
The header information adding means 25 includes the encoding means 2
When the compressed code of the reduced image data A is output from 4, it is used as picture data, and various information output from the encoding means 24 and the number of divisions input from the input means 27 are added to the picture data. .

【0102】また、差分算出手段23は、縮小画像デー
タ生成手段22から縮小画像データA,B,C,Dが出
力されると、縮小画像データAと縮小画像データBとの
差分,縮小画像データAと縮小画像データCとの差分,
縮小画像データAと縮小画像データDとの差分を算出
し、算出した差分を順次符号化手段24に出力する。上
記差分を出力する際、差分算出手段23は、ヘッダ情報
付加手段25に対して符号化手段24から出力される圧
縮符号をユーザデータとすることを指示する。尚、上記
差分を算出する際は、各縮小画像データに対し、一旦、
DCT,量子化を行い圧縮したあと逆量子化,IDCT
を施して伸張した縮小画像データ同士で差分をとると良
い。
When the reduced image data A, B, C, and D are output from the reduced image data generator 22, the difference calculator 23 calculates the difference between the reduced image data A and the reduced image data B and the reduced image data. A and the difference between the reduced image data C,
The difference between the reduced image data A and the reduced image data D is calculated, and the calculated difference is sequentially output to the encoding unit 24. When outputting the difference, the difference calculation unit 23 instructs the header information addition unit 25 to use the compression code output from the encoding unit 24 as user data. When calculating the above difference, once for each reduced image data,
DCT, quantization, compression, then inverse quantization, IDCT
It is preferable to take a difference between the reduced image data expanded by performing the above.

【0103】符号化手段24は、差分算出手段23から
縮小画像データAと縮小画像データB,C,Dとの差分
が出力された場合も同様の処理を行う。
The encoding means 24 performs the same processing when the difference between the reduced image data A and the reduced image data B, C, D is output from the difference calculating means 23.

【0104】ヘッダ情報付加手段25は、符号化手段2
4から縮小画像データAと縮小画像データB,C,Dと
の差分に対応する圧縮符号が出力されると、それらを付
加情報Code1,Code2,Code3とする。
[0104] The header information adding means 25 includes the encoding means 2
When the compressed code corresponding to the difference between the reduced image data A and the reduced image data B, C, and D is output from No. 4, these are set as additional information Code1, Code2, and Code3.

【0105】そして、図4に示すようなフォーマットを
有する画像データを生成すると、それを圧縮符号ファイ
ル26に格納する。
When image data having a format as shown in FIG. 4 is generated, it is stored in the compression code file 26.

【0106】[0106]

【発明の効果】以上説明したように本発明は、圧縮画像
データを伸張するCPUの加減剰余処理の性能をCPU
性能測定手段によって測定し、CPUの加減剰余処理の
性能が低い場合には圧縮縮小画像データのみを利用して
画像を復元し、CPUの加減剰余処理の性能が高い場合
は圧縮縮小画像データと付加情報とを利用して画像を復
元するようにしたものであるので、使用しているCPU
加減剰余処理の性能にかかわらず、一定の再生速度を
保証でき、且つ使用しているCPUが高性能の場合には
高い画質を得ることができる。
As described above, according to the present invention, the performance of the addition / subtraction processing of the CPU for expanding the compressed image data is determined by the CPU.
Measured by the performance measuring means. If the performance of the CPU addition / subtraction processing is low, the image is restored using only the compressed and reduced image data. If the CPU addition / subtraction processing performance is high, the compression / reduction is performed. Since the image is restored using the image data and the additional information, the CPU used
Irrespective of the performance of the addition / subtraction processing , a constant reproduction speed can be guaranteed, and high image quality can be obtained when the CPU used has high performance.

【0107】また、本発明は、CPU性能測定手段の測
定結果に基づいて、圧縮縮小画像データのみを用いて画
像を復元するのか、圧縮縮小画像データと付加情報の一
部を用いて画像を復元するのか、圧縮縮小画像データと
全ての付加情報とを用いて画像を復元するのかを切りわ
けているので、使用しているCPUの加減剰余処理の
能にかかわらず、一定の再生速度を保証でき、且つ使用
しているCPUの加減剰余処理の性能に応じた最も良い
画質を得ることができる効果がある。
Further, according to the present invention, based on the measurement result of the CPU performance measuring means, the image is restored using only the compressed reduced image data or the image is restored using the compressed reduced image data and a part of the additional information. or to, since the divided cut or to restore an image using the compressed reduced image data and all of the additional information, regardless of sex <br/> ability subtraction modulo processing of CPU used, a constant There is an effect that the reproduction speed can be guaranteed and the best image quality according to the performance of the addition / subtraction processing of the CPU being used can be obtained.

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

【図1】本発明の実施例のブロック図である。FIG. 1 is a block diagram of an embodiment of the present invention.

【図2】CPU性能測定手段3の処理例を示す流れ図で
ある。
FIG. 2 is a flowchart showing a processing example of a CPU performance measuring means 3;

【図3】MPEGに準拠した画像データの階層構造を示
す図である。
FIG. 3 is a diagram showing a hierarchical structure of image data conforming to MPEG.

【図4】MPEGに準拠した画像データのフォーマット
を示す図である。
FIG. 4 is a diagram showing a format of image data conforming to MPEG.

【図5】ピクチャデータ及び付加情報を説明するための
図である。
FIG. 5 is a diagram for explaining picture data and additional information.

【図6】拡大手段12の処理例を説明するための図であ
る。
FIG. 6 is a diagram for explaining a processing example of an enlarging unit 12;

【図7】拡大手段12の処理例を説明するための図であ
る。
FIG. 7 is a diagram for explaining a processing example of the enlarging means 12;

【図8】拡大手段12の処理例を説明するための図であ
る。
FIG. 8 is a diagram for explaining a processing example of the enlarging means 12;

【図9】画像圧縮装置の構成例を示すブロック図であ
る。
FIG. 9 is a block diagram illustrating a configuration example of an image compression device.

【図10】従来例のブロック図である。FIG. 10 is a block diagram of a conventional example.

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

1…ヘッダ解析手段 2…付加情報読み取り手段 3…CPU性能測定手段 4…復号化手段 5…逆量子化手段 6…IDCT手段 7…前予測手段 8…両予測手段 9…後予測手段 10…前フレーム部 11…後フレーム部 12…拡大手段 13…ビデオメモリ 14…表示手段 DESCRIPTION OF SYMBOLS 1 ... Header analysis means 2 ... Additional information reading means 3 ... CPU performance measurement means 4 ... Decoding means 5 ... Inverse quantization means 6 ... IDCT means 7 ... Pre-prediction means 8 ... Both prediction means 9 ... Post-prediction means 10 ... Before Frame part 11 ... Back frame part 12 ... Enlargement means 13 ... Video memory 14 ... Display means

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 FI H04N 7/24 G06F 15/66 330D ──────────────────────────────────────────────────の Continued on the front page (51) Int.Cl. 6 Identification code FI H04N 7/24 G06F 15/66 330D

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 圧縮符号化された圧縮画像データをCP
Uを用いて伸張する画像再生装置に於いて、 前記CPUの加減剰余処理の性能を測定するCPU性能
測定手段と、 画像データから一部の画素を間引くことにより構成した
縮小画像データを圧縮符号化した圧縮縮小画像データに
付加されている、前記画像データ中の間引きの対象とな
った部分を復元するための圧縮符号化された付加情報を
読み取るか否かを前記CPU性能測定手段の測定結果に
よって決定する付加情報読み取り手段と、 拡大手段とを備え、 前記CPUは、前記圧縮縮小画像データを伸張すると共
に、前記付加情報読み取り手段が読み取った付加情報を
伸張し、 前記拡大手段は、前記付加情報読み取り手段が付加情報
を読み取らなかった場合は、前記CPUが前記圧縮縮小
画像データを伸張することにより生成した縮小画像デー
タを前記画像データと同じ大きさに拡大することにより
前記画像データを復元し、前記付加情報読み取り手段が
付加情報を読み取った場合は、前記CPUが前記圧縮縮
小画像データを伸張することにより生成した縮小画像デ
ータと前記CPUが前記付加情報に対して行った伸張結
果とに基づいて前記画像データを復元することを特徴と
する画像再生装置。
1. A compression-encoded compressed image data is represented by a CP
A CPU performance measuring means for measuring the performance of addition / subtraction processing of the CPU in the image reproducing apparatus which expands using U, and compression-encodes reduced image data constituted by thinning out some pixels from the image data Whether or not to read the compression-encoded additional information for restoring the thinned-out portion in the image data, which is added to the compressed and reduced image data, is determined by the measurement result of the CPU performance measurement unit. The additional information reading means for determining, and the enlarging means, wherein the CPU expands the compressed reduced image data and expands the additional information read by the additional information reading means, If the reading means does not read the additional information, the CPU generates a reduced image generated by expanding the compressed reduced image data. The image data is restored by enlarging the data to the same size as the image data, and when the additional information reading means reads the additional information, the CPU generates the image data by expanding the compressed reduced image data. An image reproducing apparatus for restoring the image data based on the reduced image data thus obtained and a result of expansion performed on the additional information by the CPU.
【請求項2】 前記画像データを複数のブロックに分割
した際の各ブロックに於ける配置位置が同一の画素を集
めることにより構成した複数の縮小画像データの内の1
つを圧縮符号化したものを前記圧縮縮小画像データと
し、前記複数の縮小画像データの内の残りの縮小画像デ
ータを圧縮符号化したものを前記付加情報とすることを
特徴とする請求項1記載の画像再生装置。
2. One of a plurality of reduced image data constituted by collecting pixels having the same arrangement position in each block when the image data is divided into a plurality of blocks.
2. The compression-encoded image data of one of the plurality of reduced image data, and the compression-encoded remaining image data of the plurality of reduced image data is used as the additional information. Image playback device.
【請求項3】 前記付加情報読み取り手段は、前記CP
U性能測定手段によって測定されたCPUの加減剰余処
理の性能が予め定められている性能より高い場合及び等
しい場合は、前記付加情報を読み取り、予め定められて
いる性能より低い場合は前記付加情報を読み取らないこ
とを特徴とする請求項1記載の画像再生装置。
3. The apparatus according to claim 2, wherein the additional information reading unit includes
Adjustable surplus processing of CPU measured by U performance measuring means
When the performance of processing is higher than the predetermined performance, etc.
2. The image reproducing apparatus according to claim 1, wherein the additional information is read when it is appropriate, and the additional information is not read when the performance is lower than a predetermined performance.
【請求項4】 圧縮符号化された画像データをCPUを
用いて伸張する画像再生装置に於いて、 前記CPUの加減剰余処理の性能を測定するCPU性能
測定手段と、 画像データを複数のブロックに分割した際の各ブロック
に於ける配置位置が同じ画素を集めることにより構成し
た複数の縮小画像データの内の1つを圧縮符号化した圧
縮縮小画像データに付加されている、前記複数の縮小画
像データの内の残りの縮小画像データを圧縮符号化した
付加情報を、前記CPU性能測定手段で測定された前記
CPUの加減剰余処理の性能が、予め定められている第
1の性能より高い場合及び等しい場合は全て読み取り、
前記第1の性能より低い予め定められている第2の性能
より低い場合は全く読み取らず、前記第1の性能より低
く且つ前記第2の性能より高い場合及び前記第2の性能
と等しい場合には一部のみを読み取る付加情報読み取り
手段と、 拡大手段とを備え、 前記CPUは、前記圧縮縮小画像データを伸張すると共
に、前記付加情報読み取り手段が読み取った付加情報を
伸張し、 前記拡大手段は、前記付加情報読み取り手段が付加情報
を読み取らなかった場合は、前記CPUが前記圧縮縮小
画像データを伸張することにより生成した縮小画像デー
タを前記画像データを同じ大きさに拡大することにより
前記画像データを復元し、前記付加情報読み取り手段が
前記付加情報の内の一部を読み取った場合は、前記CP
Uが前記圧縮縮小画像データを伸張することにより生成
した縮小画像データと前記CPUが前記付加情報読み取
り手段が読み取った一部の付加情報に対して行った伸張
結果とに基づいて前記画像データを復元し、前記付加情
報読み取り手段が前記付加情報を全て読み取った場合
は、前記CPUが前記圧縮縮小画像データを伸張するこ
とにより生成した縮小画像データと前記CPUが前記付
加情報読み取り手段が読み取った全ての付加情報に対し
て行った伸張結果とに基づいて前記画像データを復元す
ることを特徴とする画像再生装置。
4. An image reproducing apparatus for decompressing compressed and encoded image data using a CPU, a CPU performance measuring means for measuring the performance of the addition / subtraction processing of the CPU, and The plurality of reduced images which are added to compressed reduced image data obtained by compressing and encoding one of a plurality of reduced image data formed by collecting pixels having the same arrangement position in each block when divided. The additional information obtained by compressing and encoding the remaining reduced image data in the data is obtained by the CPU performance measuring means.
The performance of the addition / subtraction processing of the CPU is a predetermined
If the performance is higher than and equal to 1, read all,
A second predetermined performance lower than the first performance;
If it is lower, it is not read at all and is lower than the first performance.
And higher than the second performance and the second performance
If it is equal to, additional information reading means for reading only a part , and enlargement means, the CPU expands the compressed reduced image data and expands the additional information read by the additional information reading means, The enlargement unit enlarges the reduced image data generated by the CPU by expanding the compressed reduced image data to the same size when the additional information reading unit does not read the additional information. When the additional information reading means reads a part of the additional information, the CP
U restores the image data based on reduced image data generated by decompressing the compressed reduced image data and the decompression result performed by the CPU on some additional information read by the additional information reading means. If the additional information reading means has read all of the additional information, the reduced image data generated by decompressing the compressed reduced image data by the CPU and all of the additional information read by the CPU by the CPU are read. An image reproducing apparatus for restoring the image data based on a result of expansion performed on additional information.
JP11374195A 1995-04-14 1995-04-14 Image playback device Expired - Fee Related JP2865016B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11374195A JP2865016B2 (en) 1995-04-14 1995-04-14 Image playback device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11374195A JP2865016B2 (en) 1995-04-14 1995-04-14 Image playback device

Publications (2)

Publication Number Publication Date
JPH08289290A JPH08289290A (en) 1996-11-01
JP2865016B2 true JP2865016B2 (en) 1999-03-08

Family

ID=14619959

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11374195A Expired - Fee Related JP2865016B2 (en) 1995-04-14 1995-04-14 Image playback device

Country Status (1)

Country Link
JP (1) JP2865016B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100465553B1 (en) 1996-08-07 2005-06-21 마츠시타 덴끼 산교 가부시키가이샤 Video voice decoding device, video voice coding device and information transmission system
JP2002142215A (en) 2000-10-31 2002-05-17 Nec Access Technica Ltd Moving image data compression/decompression method, device and information recording medium
JP2008011224A (en) * 2006-06-29 2008-01-17 Fujitsu Ltd Image processing device, image transmitting/receiving system, and image processing method
JP5870835B2 (en) * 2012-04-27 2016-03-01 富士通株式会社 Moving image processing apparatus, moving image processing method, and moving image processing program

Also Published As

Publication number Publication date
JPH08289290A (en) 1996-11-01

Similar Documents

Publication Publication Date Title
US8300698B2 (en) Signalling of maximum dynamic range of inverse discrete cosine transform
JP4245576B2 (en) Image compression / decompression method, image compression apparatus, and image expansion apparatus
JPH07262175A (en) Function transformation arithmetic unit
US6563946B2 (en) Image processing apparatus and method
KR100510756B1 (en) Image decoding apparatus and method and image reproducing apparatus
JP2865016B2 (en) Image playback device
JPH10224790A (en) Filter eliminating block noise in companded image and filter method
JP3164971B2 (en) Image playback device
JP3274563B2 (en) Image playback device
JPH05227519A (en) Encoder and decoder for picture data
JPH10111792A (en) Picture processor
JP4034793B2 (en) Video compression apparatus and method for generating complementary video and using it for deblocking processing
JPH0795536A (en) Device and method for reversely reproducing moving image
JP2914320B2 (en) Module switching type image compression / playback device
JPH06113291A (en) Picture coder and decoder
JPH1075464A (en) Image compressor and image extender
JP2004289290A (en) Image processing apparatus
JP2002112262A (en) Image coding device
JP3676651B2 (en) Stepwise reversible image signal encoding method, decoding method, encoding device, decoding device, and encoding and decoding program recording medium
JP2993212B2 (en) How to combine images
JP3469826B2 (en) Image compression device
KR20220040970A (en) Apparatus and Method for Compressing JPEG Images
JPH10116267A (en) Arithmetic unit and information processor
JPH11146403A (en) Device and method for video signal coding and video signal coding program storage medium
JPH04211575A (en) Orthogonal convertion operation device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees