JPH0583142A - Encoded data processing device - Google Patents

Encoded data processing device

Info

Publication number
JPH0583142A
JPH0583142A JP3354932A JP35493291A JPH0583142A JP H0583142 A JPH0583142 A JP H0583142A JP 3354932 A JP3354932 A JP 3354932A JP 35493291 A JP35493291 A JP 35493291A JP H0583142 A JPH0583142 A JP H0583142A
Authority
JP
Japan
Prior art keywords
data
lot
stage
block
component
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.)
Pending
Application number
JP3354932A
Other languages
Japanese (ja)
Inventor
Toru Watanabe
亨 渡邉
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer 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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP3354932A priority Critical patent/JPH0583142A/en
Publication of JPH0583142A publication Critical patent/JPH0583142A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

(57)【要約】 【目的】 LOT及び逆LOT演算を実行する回路規模
を大幅に減少させる。 【構成】 LOT演算前半のYステージを1つのブロッ
クの中で閉じて演算可能なY1ステージ22と2つのブ
ロックが揃って演算可能となるY2ステージ23とに分
割するとともに、その間に次のブロックライン の演算
が終了するまでデータを蓄える1ブロックラインメモリ
24を設ける。
(57) [Summary] [Purpose] To significantly reduce the circuit scale for executing LOT and inverse LOT operations. [Structure] The Y stage in the first half of the LOT operation is divided into a Y 1 stage 22 that can be operated by closing it in one block and a Y 2 stage 23 that allows two blocks to be operated together, and the following A one-block line memory 24 is provided for storing data until the calculation of the block line is completed.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、画像データの圧縮処理
等に用いられる符号化データ処理装置に係り、詳細には
符号化の際のブロック歪みを減少させるLOT(Lapped
OrthogonalTransform:重合直交変換)演算装置に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a coded data processing device used for compression processing of image data, and more particularly to a LOT (Lapped) for reducing block distortion at the time of coding.
OrthogonalTransform).

【0002】[0002]

【従来の技術】ISDNやCD−ROMを前提とした画
像の高能率符号化技術において、DCT(離散コサイン
変換)が高能率符号化技術の主流になりつつある。この
DCTに限らず、高能率符号化して画素当たりの平均ビ
ット数を減らすと、画像の品質は落ち、圧縮率を上げる
と、画質の劣化を引き起こす。現行の標準テレビ信号を
1.5Mビット/秒に圧縮した場合に問題となるのは、
輪郭部分の劣化とDCTで処理するブロック単位(例え
ば8×8画素)に発生するブロック歪みである。逆変換
して画素を再生するときに、ブロック内のDCT出力を
すべて線形和することになるが、8×8画素から成るブ
ロックのDCT出力64個のうち、一つでも情報損失が
あると、ブロック内全体の再生画素に劣化が生じる。
2. Description of the Related Art DCT (Discrete Cosine Transform) is becoming the mainstream of high-efficiency coding techniques in high-efficiency image coding techniques based on ISDN and CD-ROM. Not limited to this DCT, if the high-efficiency encoding is performed to reduce the average number of bits per pixel, the image quality deteriorates, and if the compression rate is increased, the image quality deteriorates. When the current standard television signal is compressed to 1.5 Mbit / sec, the problem is
The block distortion is generated in the contour unit and the block unit (for example, 8 × 8 pixels) processed by DCT. When the inverse conversion is performed to reproduce the pixels, the DCT outputs in the block are all linearly summed. However, if even one of the 64 DCT outputs of the block including 8 × 8 pixels has information loss, The reproduced pixels in the entire block are deteriorated.

【0003】そこで、このようなブロック歪みをできる
だけ軽減するため、参考文献 IEEETRANSACTIONS ON ACO
USTICS,SPEECH,AND SIGNAL PROCESSING.VOL.37.NO.4.AP
RIL1989(The LOT Transform Coding Without Blockig E
ffects,HENRIQUE S.MALVAR,DAVID H.STAELIN)に開示さ
れたLOT演算が提案されている。図12は、このLO
T演算処理を行なうLOT演算装置を示すものであり、
1次元LOTのブロック図を示している。図12におい
て、1はLOT演算装置、2,3はDCT装置であり、
DCT装置2,3には図13〜図16に示す各種演算器
が接続されている。ここで、図13は減算c=a+(−
b)を示す演算を、図14は加算c=a+bを示す演算
を、図15は所定のゲイン(例えば、1/2)を調整す
る演算を、図16はベクトル回転を行なう演算をそれぞ
れ示している。DCT装置2,3の出力はイーブン(e
ven:偶数)出力0,2,4,6とオッド(odd:
奇数)出力1,3,5,7とに分けて加減算され、最後
に奇数成分のみが図16に示す演算器でベクトル回転さ
れてLOTデータとなる。図12に示す1次元LOT構
成ではLOT演算装置1を構成するDCT2,3に16
画素(X0〜X7,X0’〜X7’)を入力すればLOT演
算によって8データ(Y0〜Y7)の出力が得られる。す
なわち、入力初段では1次元のDCT演算を行なって、
16データを得、この16データを各種バタフライ演算
を行なった後ベクトル回転して最終的に8データを得
る。このLOT演算は1次元であるため、16×16の
入力画素に対し8×16出力となっており、これを再び
縦横を入れ替えて同様のLOT演算を行なって8×8の
データを得る。
Therefore, in order to reduce such block distortion as much as possible, in order to reduce the block distortion as much as possible, the reference document IEEE TRANSACTIONS ON ACO
USTICS, SPEECH, AND SIGNAL PROCESSING.VOL.37.NO.4.AP
RIL1989 (The LOT Transform Coding Without Blockig E
ffects, HENRIQUE S. MALVAR, DAVID H. STAELIN) has been proposed. Figure 12 shows this LO
1 shows a LOT calculation device for performing T calculation processing,
1 shows a block diagram of a one-dimensional LOT. In FIG. 12, 1 is a LOT operation device, 2 and 3 are DCT devices,
Various arithmetic units shown in FIGS. 13 to 16 are connected to the DCT devices 2 and 3. Here, in FIG. 13, subtraction c = a + (-
b), FIG. 14 shows an operation showing addition c = a + b, FIG. 15 shows an operation for adjusting a predetermined gain (for example, 1/2), and FIG. 16 shows an operation for performing vector rotation. There is. The outputs of the DCT devices 2 and 3 are even (e
ven: even number output 0, 2, 4, 6 and odd:
(Odd number) outputs 1, 3, 5, and 7 are added and subtracted separately, and finally only the odd number component is vector-rotated by the arithmetic unit shown in FIG. 16 to become LOT data. In the one-dimensional LOT configuration shown in FIG.
The output of the pixel (X 0 ~X 7, X 0 '~X 7') 8 data by by entering the LOT calculation (Y 0 ~Y 7) is obtained. That is, in the first stage of input, one-dimensional DCT calculation is performed,
16 data are obtained, and after performing various butterfly operations on these 16 data, vector rotation is performed to finally obtain 8 data. Since this LOT operation is one-dimensional, it outputs 8 × 16 for 16 × 16 input pixels, and the same LOT operation is performed again by changing the vertical and horizontal directions to obtain 8 × 8 data.

【0004】図17は図12に示したLOT演算装置1
の演算部を示すブロック図である。図17において、Y
ステージ11は前記図13〜図15に示した加減算及び
ゲイン調整用のバタフライ演算処理ユニットを示し、Z
ステージ12,13は前記図16に示したベクトル回転
用のバタフライ演算処理ユニットを示している。また、
10は次のDCT(DCT1に対しDCT2)から1ブ
ロック遅延したデータを読み込んでバタフライ演算を行
なうために1ブロックラインの演算が終了するまで一時
的にデータを蓄えておく1ブロックラインメモリであ
り、13〜17は例えばバスの切換えでデータの流れを
変えるスイッチである。
FIG. 17 shows the LOT arithmetic unit 1 shown in FIG.
It is a block diagram which shows the calculating part of. In FIG. 17, Y
The stage 11 represents the butterfly operation processing unit for addition / subtraction and gain adjustment shown in FIGS.
The stages 12 and 13 represent the butterfly operation processing unit for vector rotation shown in FIG. Also,
Reference numeral 10 denotes a 1-block line memory that reads data delayed by 1 block from the next DCT (DCT 1 to DCT 1) and temporarily stores the data until the operation of 1-block line is completed in order to perform a butterfly operation. Reference numerals 13 to 17 are switches that change the flow of data by switching the bus, for example.

【0005】そして、このようなLOT演算装置1を用
いての演算処理は、データ圧縮時のLOTの場合は図1
7の左から右方向に演算を実行し、データ伸長時の逆L
OT(ILOT)の場合は右から左方向に演算を実行す
るようになる。すなわち、図18及び図19を用いてデ
ータの流れを具体的に説明すると、LOT時のデータの
流れを図18に示すようにLOT時にはDCT演算後の
データはYステージ11を経た後にZステージ13を通
過してLOT出力データとして出力される。この場合、
Zステージで使用されるのは2つあるZステージ12,
13のうちの1つだけである。
The arithmetic processing using such a LOT arithmetic unit 1 is shown in FIG. 1 in the case of LOT during data compression.
Inverse L when decompressing data by performing operation from 7 left to right
In the case of OT (ILOT), the calculation is executed from right to left. That is, the data flow will be specifically described with reference to FIGS. 18 and 19. As shown in FIG. 18, the data flow at the time of LOT is the data after the DCT operation at the time of the LOT, after passing through the Y stage 11 and then at the Z stage And is output as LOT output data. in this case,
There are two Z stages 12 used in the Z stage,
Only one out of thirteen.

【0006】一方、逆LOT時のデータの流れを図19
に示すように逆LOT時にはLOT処理されたデータの
2つのブロックをZステージ12,13に出力して、そ
のZステージ12,13の出力をYステージ11に入力
して逆LOT演算を行なうようにしている。この場合、
1ブロックラインメモリ10は使用されない。
On the other hand, FIG. 19 shows the data flow at the time of reverse LOT.
As shown in (2), at the time of inverse LOT, two blocks of the LOT-processed data are output to the Z stages 12 and 13, and the outputs of the Z stages 12 and 13 are input to the Y stage 11 to perform the inverse LOT operation. ing. in this case,
The one block line memory 10 is not used.

【0007】[0007]

【発明が解決しようとする課題】しかしながら、このよ
うなLOT演算装置にあっては、ベクトル回転を行なう
ためのZステージを2つ有する構成となっていたため、
図19に示す逆LOT時には2つのZステージが使用さ
れるものの、図18に示すLOT時には2つあるZステ
ージのうち1つしか使用されず、動作に関係しない無駄
な回路が存在することとなって回路規模が大きくなると
いう欠点があった。すなわち、Zステージを構成するバ
タフライ演算器は図16に示すように乗算と加減算を行
なっており、特に乗算が入るので回路規模は加減算を行
なうYステージに比べかなり大きなものとなっている。
従来はこのような回路規模の大きいベクトル回転用のZ
ステージを2つ用意しなければならず、しかもLOT時
にはZステージの1つしか使用しないため回路の使用効
率が悪く回路規模の減少が図れないという問題点があっ
た。そこで本発明は、小さな回路規模によってLOT及
び逆LOT演算を実行することが可能な符号化データ処
理装置を提供すること目的としている。
However, in such a LOT arithmetic device, since it is configured to have two Z stages for performing vector rotation,
Although two Z stages are used during the reverse LOT shown in FIG. 19, only one of the two Z stages is used during the LOT shown in FIG. However, there is a drawback that the circuit scale becomes large. That is, the butterfly computing unit constituting the Z stage performs multiplication and addition / subtraction as shown in FIG. 16, and since the multiplication is particularly involved, the circuit scale is considerably larger than that of the Y stage which performs addition / subtraction.
Conventionally, Z for vector rotation with such a large circuit scale is used.
Two stages have to be prepared, and since only one Z stage is used at the time of LOT, there is a problem that the circuit use efficiency is poor and the circuit scale cannot be reduced. Therefore, an object of the present invention is to provide an encoded data processing device capable of executing LOT and inverse LOT operations with a small circuit scale.

【0008】[0008]

【課題を解決するための手段】本発明による符号化デー
タ処理装置は、上記目的達成のため、隣接ブロック間の
データを重ね合わせる基関数を用いて重合直交変換また
は逆重合直交変換を実行する演算手段を有する符号化デ
ータ処理装置であって、前記演算手段はLOT時に1つ
のブロックのデータを演算し、ILOT時に複数のブロ
ックのデータを演算する第1演算手段と、ILOT時に
1つのブロックのデータを演算し、LOT時に複数のブ
ロックのデータを演算する第2演算手段と、前記第1と
第2の演算手段の出力データの奇数成分のデータを記憶
する記憶手段と、LOT時に、前記第1の演算手段の出
力データの偶数成分を前記第2の演算手段に供給し、前
記第1の演算手段の出力データの奇数成分を前記記憶手
段に供給し、前記記憶手段に記憶されていた1つ前のブ
ロックについての前記第1の演算手段の出力データの奇
数成分を前記第2の演算手段に供給し、前記第2の演算
手段に現在のブロックについての前記第1の演算手段の
出力データの偶数成分と1つ前のブロックについての前
記第1の演算手段の出力データの奇数成分にアダマール
変換を行わせるとともに、ILOT時に、前記第2の演
算手段の出力データの偶数成分を前記第1の演算手段に
供給し、前記第2の演算手段の出力データの奇数成分を
前記記憶手段に供給し、前記記憶手段に記憶されていた
1つ前のブロックについての前記第2の演算手段の出力
データの奇数成分を前記第1の演算手段に供給し、前記
第1の演算手段に現在のブロックについての前記第2の
演算手段の出力データの偶数成分と1つ前のブロックに
ついての前記第2の演算手段の出力データの奇数成分に
アダマール変換を行わせる演算制御手段とを備えてい
る。
In order to achieve the above object, a coded data processing device according to the present invention performs an arithmetic operation for performing a superposition orthogonal transformation or an inverse superposition orthogonal transformation using a basic function for superposing data between adjacent blocks. A coded data processing device having means, wherein the calculating means calculates data of one block at the time of LOT and calculates data of a plurality of blocks at the time of ILOT, and data of one block at the time of ILOT. To calculate data of a plurality of blocks at the time of LOT, storage means for storing data of an odd component of the output data of the first and second calculation means, and the first at the time of LOT. The even number component of the output data of the calculating means is supplied to the second computing means, and the odd number component of the output data of the first calculating means is supplied to the storage means, The odd component of the output data of the first arithmetic unit for the immediately preceding block stored in the storage unit is supplied to the second arithmetic unit, and the second arithmetic unit is supplied with the odd-numbered component for the current block. The even component of the output data of the first calculation means and the odd component of the output data of the first calculation means for the immediately preceding block are subjected to Hadamard transform, and the output of the second calculation means at the time of ILOT. The even component of the data is supplied to the first arithmetic means, the odd component of the output data of the second arithmetic means is supplied to the storage means, and the previous block stored in the storage means is stored. The odd component of the output data of the second arithmetic means is supplied to the first arithmetic means, and the first arithmetic means is supplied with the even component of the output data of the second arithmetic means for the current block. And a calculation control means for causing the Hadamard transform to the odd components of the output data of said second arithmetic means for previous block One.

【0009】[0009]

【作用】本発明の作用は次の通りである。演算手段が、
1つのブロックのデータのみ用いて演算可能な第1演算
手段と、複数のブロックによって演算可能な第2演算手
段とを含むように分割され、記憶手段を用いて重合直交
変換時とその逆変換時でブロック内の演算が異なった演
算手段で実行される。従って、回路が効率良く使用され
ることとなり、逆変換時においてベクトル回転のための
演算処理部の回路規模が大幅に小さくなる。
The operation of the present invention is as follows. The calculation means
At the time of overlapping orthogonal transformation and its inverse transformation by using a storage means, it is divided so as to include a first arithmetic means capable of arithmetic operation using only one block of data and a second arithmetic means operable by a plurality of blocks. Then, the calculation in the block is executed by different calculation means. Therefore, the circuit is used efficiently, and the circuit scale of the arithmetic processing unit for vector rotation at the time of inverse transformation is significantly reduced.

【0010】[0010]

【実施例】以下、本発明を図面に基づいて説明する。図
1〜図11は本発明に係る符号化データ処理装置の一実
施例を示す図である。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below with reference to the drawings. 1 to 11 are views showing an embodiment of an encoded data processing device according to the present invention.

【0011】先ず、構成を説明する。図1はLOT演算
装置の演算部を示すブロック図である。図1において、
21はLOT演算装置であり、LOT演算装置21は、
自分のブロック(ある1つのブロック)の中で閉じて演
算が可能なY1ステージ22と、2つのブロックが揃っ
て初めて演算ができるY2ステージ23と、このY1ステ
ージ22とY2ステージ23のオッド間に挿入され、次
のブロックラインの演算が終了するまで一時的にY1
テージからのオッド成分のデータ(逆LOT時はY2
テージからのオッド成分のデータ)を蓄える1ブロック
ラインメモリ24と、ベクトル回転を行なうためのZス
テージ25と、データの流れを切換えるスイッチ26〜
33とにより構成されている。
First, the structure will be described. FIG. 1 is a block diagram showing a calculation unit of the LOT calculation device. In FIG.
21 is a LOT arithmetic unit, and the LOT arithmetic unit 21 is
The Y 1 stage 22 that can be operated in its own block (a certain block) by closing it, the Y 2 stage 23 that can be operated only when two blocks are aligned, and the Y 1 stage 22 and the Y 2 stage 23 1 block line memory that is inserted between the odds of two and temporarily stores the data of the odd component from the Y 1 stage (the data of the odd component from the Y 2 stage at the reverse LOT) until the operation of the next block line is completed. 24, a Z stage 25 for performing vector rotation, and a switch 26 for switching the flow of data.
And 33.

【0012】以下、Y1ステージ22,Y2ステージ23
及びZステージ25について図2〜図9を用いて具体的
に説明する。上記Zステージ25はLOT時の演算を図
2に、逆LOT時の演算を図3に示すように入力された
データの奇数成分を回転させるためのもので、そのバタ
フライ演算は図7で示される。図7中のkはベクトル回
転を与えるための係数で例えば0.13,0.16,
0.13に設定される。このZステージ25は、図12
で示した従来のZステージと同様のものであるが、個数
は1つだけである。また、上記Y1ステージ22及びY2
ステージ23は、図2に示すYステージ(このYステー
ジは図12〜図19で示した従来のYステージ11に相
当する)を図8及び図9に示すような2つのステージに
分割したものであり、1つのブロックの中で閉じて演算
できる演算ユニットがY1ステージ22(第1演算処理
部)、異なるブ ロック間のY1ステージ22による演算
結果が揃って初めて演算できる演算ユニ ットがY2ステ
ージ23(第2演算処理部)である。1ブロックライン
メモリ2 4はあるブロックにおけるY1ステージの演算
結果を次のブロックにおけるY1ステージの演算が終了
するまで一時的に蓄えておくためのメモリである。な
お、図4〜図7は各ステージにおける各種バタフライ演
算を示すものであり、前記図13〜図16のバタフライ
演算と同様の演算内容を表している。
Hereinafter, the Y 1 stage 22 and the Y 2 stage 23
The Z stage 25 will be specifically described with reference to FIGS. The Z stage 25 is for rotating the operation at the time of LOT in FIG. 2 and the operation at the time of reverse LOT for rotating the odd component of the input data, and its butterfly operation is shown in FIG. .. K in FIG. 7 is a coefficient for giving vector rotation, for example, 0.13, 0.16.
It is set to 0.13. This Z stage 25 is shown in FIG.
It is similar to the conventional Z stage shown in, but only one. In addition, the Y 1 stage 22 and the Y 2
The stage 23 is obtained by dividing the Y stage shown in FIG. 2 (this Y stage corresponds to the conventional Y stage 11 shown in FIGS. 12 to 19) into two stages as shown in FIGS. 8 and 9. There is an operation unit that can be closed and operated in one block Y 1 stage 22 (first operation processing unit), and an operation unit that can perform operations only when the operation results by the Y 1 stage 22 between different blocks are complete. This is the Y 2 stage 23 (second arithmetic processing unit). The 1-block line memory 24 is a memory for temporarily storing the calculation result of the Y 1 stage in a certain block until the calculation of the Y 1 stage in the next block is completed. 4 to 7 show various butterfly operations in each stage, and show the same operation contents as the butterfly operation in FIGS. 13 to 16.

【0013】次に、本実施例の動作を説明する。LOT演算時の動作(図10参照) 図10はLOT時のデータの流れを示す図である。基本
的な考え方としては同じブロックの中だけでできるY1
ステージ22の演算を先に行なってしまうようにする。
先ず、図2に示すようにDCT演算出力のF0〜F7は、
1ステージ22によって変換され、G0〜G7となる。
このうちイーブン側G0,G2,G4,G6(以下、Geと
表す)は、直接Y2ステージ23に入力される(図10
参照)。また、オッド側G1,G3,G5,G7(以下、G
oと表す)は、次のブロックを演算したときのイーブン
とまぜなければ(加減算しなければ)ならないからY2
ステージ23における演算の時点を揃えるために一時的
に1ブロックラインメモリ24の中に蓄えておく。続い
て、次のDCT演算出力に基づくブロックデータF0
〜F7’がY1ステージ22によって変換されて、G0
〜G7’となる。この場合、Ge,Goと同様にGe’
は直接Y2ステージ23に入力され、Go’は、1ブロ
ックラインメモリ24に蓄えられる。このとき、Y2
テージ23に入力すると同時に、GoをY2ステージ2
3に入力し、Y2ステージ演算を実行する。ここで異な
ったブロック間の演算はLOT時には、Y2ステージ2
3で行なう。そして、Y2ステージ23の出力H0〜H7
をZステージ25に入力し、Zステージ25でLOT演
算の結果であるY0〜Y7を得る(図2参照)。ところ
で、Y2ステージ23にY1ステージ22出力が入力され
るときにメモリアクセスが加わった分だけ、実行時間が
遅くなるように考えられるが、実際にはLOT演算は、
上記演算の繰返しであるため、トータル時間としては、
ほとんど変化がない。なお、上記G0〜G7,G’0
7’は、図2のそれと対応する。
Next, the operation of this embodiment will be described. Operation during LOT Calculation (see FIG . 10) FIG. 10 is a diagram showing a data flow during LOT. As a basic idea, Y 1 can be done only in the same block
The calculation of the stage 22 should be performed first.
First, as shown in FIG. 2, the DCT calculation outputs F 0 to F 7 are
It is converted by the Y 1 stage 22 to become G 0 to G 7 .
Of these, even sides G 0 , G 2 , G 4 , and G 6 (hereinafter, referred to as Ge) are directly input to the Y 2 stage 23 (FIG. 10).
reference). In addition, the odd side G 1 , G 3 , G 5 , G 7 (hereinafter, G
(represented as o) must be mixed with the even when the next block is calculated (addition and subtraction), so Y 2
It is temporarily stored in the one-block line memory 24 in order to align the calculation time points in the stage 23. Then, the block data F 0 'based on the next DCT calculation output
~ F 7 'is converted by the Y 1 stage 22 and G 0 '
~ G 7 '. In this case, Ge 'as well as Ge and Go
Is directly input to the Y 2 stage 23, and Go ′ is stored in the 1-block line memory 24. At this time, at the same time as inputting to the Y 2 stage 23, Go is input to the Y 2 stage 2
Input to 3 and execute Y 2 stage operation. Here, the operation between different blocks is the Y 2 stage 2 at the time of LOT.
Do in 3. Then, the outputs H 0 to H 7 of the Y 2 stage 23.
Is input to the Z stage 25, and Y 0 to Y 7 , which are the results of the LOT calculation, are obtained on the Z stage 25 (see FIG. 2). By the way, it can be considered that the execution time will be delayed by the amount of memory access added when the output of the Y 1 stage 22 is input to the Y 2 stage 23.
Since the above calculation is repeated, the total time is
Almost no change. In addition, the above G 0 to G 7 , G ′ 0 to
G 7 'corresponds to that of FIG.

【0014】逆LOT演算時の動作(図11参照) 図11は逆LOT時のデータの流れを示す図である。先
ず、図3に示すように入力されたデータY0’〜Y7
は、ZステージによってJ0’〜J7’に変換され、Y2
ステージ23はさらに、K0’〜K7’に変換される。こ
の場合、Zステージ25で回転を行なうのはオッド側だ
けでイーブン側はスルーであるから、ILOT時のZス
テージ25では、奇数番のデータ入力及び出力を1→
7,3→5,5→3,7→1のように捻ってやる必要が
ある。そして、Zステージ25によりオッド側を回転し
たものと、そのままスルーで入ってくるイーブン側に対
してY2ステージ23の演算を行なう。ここで、図11
ではイーブン側は実際には何も演算を行なっていないの
だが、便宜上Zステージ25には入力データとして入力
されている。そして、前記LOT時のY1ステージ22
の出力と同じように、Ke’は、直接Y1ステージ22
に入力し、Ko’は1ブロックラインメモリ24に蓄え
ておく。同様に、続く入力データをZステージ25、Y
2ステージによってK0〜K7に変換し、Keは、直接Y1
ステージ22へ入力し、Koは1ブロックラインメモリ
24に蓄えてやる。このとき、前記LOT時と同様にK
eと同時に、先にメモリ24に蓄えておいたKo’デー
タをY1ステージ22に入力する。そしてY1ステージ2
2演算を実行させることによって、ILOT出力F0
7を得る。すなわち、ILOT時には、異なったブロ
ック間の演算は、Y1ステージ22が受け持つこととな
る。なお、この場合のデータは、図5のそれと対応す
る。
Operation at the time of inverse LOT calculation (see FIG . 11) FIG. 11 is a diagram showing a data flow at the time of inverse LOT. First, input data Y 0 'to Y 7 ' as shown in FIG.
Is converted to J 0 '-J 7 ' by the Z stage and Y 2
The stage 23 is further converted into K 0 ′ to K 7 ′. In this case, the Z stage 25 rotates only on the odd side and the through on the even side. Therefore, the Z stage 25 at the time of ILO changes the odd-numbered data input and output from 1 →
It is necessary to twist like 7,3 → 5,5 → 3,7 → 1. Then, the operation of the Y 2 stage 23 is performed with respect to the one rotated on the odd side by the Z stage 25 and the even side which comes in as it is. Here, FIG.
Then, although the even side is not actually performing any calculation, it is input to the Z stage 25 as input data for convenience. And the Y 1 stage 22 at the time of the LOT
As with the output, Ke 'directly Y 1 stage 22
, And Ko ′ is stored in the 1-block line memory 24. Similarly, the following input data is input to the Z stage 25, Y
Converted from K 0 to K 7 by 2 stages, and Ke is directly Y 1
It is input to the stage 22 and Ko is stored in the 1-block line memory 24. At this time, as in the case of LOT, K
At the same time as e, the Ko ′ data previously stored in the memory 24 is input to the Y 1 stage 22. And Y 1 stage 2
IOT output F 0 ~
Get F 7 . That is, at the time of ILOT, the Y 1 stage 22 takes charge of the operation between different blocks. The data in this case corresponds to that in FIG.

【0015】以上説明したように、本実施例ではLOT
演算前半のYステージを1つのブロックの中で閉じて演
算可能なY1ステージ22と2つのブロックが揃って演
算可能となるY2ステージ23とに分割するとともに、
その間に次のブロックラインの演算が終了するまでデー
タを蓄える1ブロックラインメモリ24を設けるように
しているので、Y1ステージ22、Y2ステージ23にお
ける処理がそのステージ内で完結することとなり、ま
た、LOT時とILOT時とでそれぞれ異なったステー
ジの演算ユニットによってブロック間の演算が行なわれ
るので図1に示すようにZステージ25を1つにするこ
とができる。従って、逆LOT時でも比較的大きな回路
規模を必要とするZステージを1つだけ用意しておけば
よいためこの部分における回路規模を半減させることが
できる。また、1ブロックラインメモリ24もイーブン
側のデータのみを蓄えればよいのでメモリ容量も減少さ
せることができる。
As described above, the LOT is used in this embodiment.
The Y stage in the first half of the operation is divided into a Y 1 stage 22 that can be operated by closing it in one block, and a Y 2 stage 23 that allows the two blocks to be operated together, and
In the meantime, since the one block line memory 24 that stores data until the calculation of the next block line is completed is provided, the processing in the Y 1 stage 22 and the Y 2 stage 23 is completed within that stage, and , LOT time and ILOT time, the operation between blocks is performed by the operation units of different stages, so that one Z stage 25 can be provided as shown in FIG. Therefore, even if only the Z stage that requires a relatively large circuit scale is prepared at the time of reverse LOT, the circuit scale in this portion can be halved. Further, since the one-block line memory 24 needs to store only the data on the even side, the memory capacity can be reduced.

【0016】[0016]

【発明の効果】本発明によれば、LOT演算手段を1つ
のデータのみ用いて演算可能な第1演算手段と、複数の
ブロックによって演算可能な第2演算手段とに分割し、
記憶手段を用いてブロック間の演算をLOT時とILO
T時では異なる演算手段により実行するようにしている
ので、LOT及び逆LOT演算を実行するLOT演算装
置の回路規模を大幅に減少させることができ、画像デー
タの圧縮等を行なう符号化データ処理装置に適用して好
適である。
According to the present invention, the LOT calculation means is divided into a first calculation means capable of calculation using only one data and a second calculation means capable of calculation by a plurality of blocks,
The operation between blocks is performed at the time of LOT and ILO using the storage means.
Since it is executed by different operation means at the time of T, the circuit scale of the LOT operation device for executing the LOT and the inverse LOT operation can be greatly reduced, and the encoded data processing device for compressing image data etc. It is suitable to be applied to.

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

【図1】本発明に係るLOT演算装置のブロック図であ
る。
FIG. 1 is a block diagram of a LOT calculation device according to the present invention.

【図2】本発明に係るLOT演算装置のLOT時の演算
を説明するための構成図である。
FIG. 2 is a configuration diagram for explaining an operation during LOT of the LOT operation device according to the present invention.

【図3】本発明に係るLOT演算処理のILOT時の演
算を説明するための構成図である。
FIG. 3 is a configuration diagram for explaining an operation at the time of ILOT of the LOT operation processing according to the present invention.

【図4】本発明に係るLOT演算装置のバタフライ演算
のための演算器を示す図である。
FIG. 4 is a diagram showing a computing unit for butterfly computing of the LOT computing device according to the present invention.

【図5】本発明に係るLOT演算装置のバタフライ演算
のための演算器を示す図である。
FIG. 5 is a diagram showing a computing unit for butterfly computation of the LOT computing device according to the present invention.

【図6】本発明に係るLOT演算装置のバタフライ演算
のための演算器を示す図である。
FIG. 6 is a diagram showing a computing unit for butterfly computation of the LOT computing device according to the present invention.

【図7】本発明に係るLOT演算装置のバタフライ演算
のための演算器を示す図である。
FIG. 7 is a diagram showing a computing unit for butterfly computing of the LOT computing device according to the present invention.

【図8】本発明に係るLOT演算装置のY1ステージの
構成図である。
FIG. 8 is a configuration diagram of a Y 1 stage of the LOT operation device according to the present invention.

【図9】本発明に係るLOT演算装置のY2ステージの
構成図である。
FIG. 9 is a configuration diagram of a Y 2 stage of the LOT operation device according to the present invention.

【図10】本発明に係るLOT演算装置のLOT時のデ
ータの流れを説明するためのブロック図である。
FIG. 10 is a block diagram for explaining a data flow at the time of LOT of the LOT calculation device according to the present invention.

【図11】本発明に係るLOT演算装置のILOT時の
データの流れを説明するためのブロック図である。
FIG. 11 is a block diagram for explaining a data flow at the time of ILOT of the LOT calculation device according to the present invention.

【図12】従来のLOT演算装置の構成図である。FIG. 12 is a configuration diagram of a conventional LOT calculation device.

【図13】従来のLOT演算装置のバタフライ演算のた
めの演算器を示す図である。
FIG. 13 is a diagram showing a computing unit for butterfly computation of a conventional LOT computing device.

【図14】従来のLOT演算装置のバタフライ演算のた
めの演算器を示す図である。
FIG. 14 is a diagram showing a computing unit for butterfly computation of a conventional LOT computing device.

【図15】従来のLOT演算装置のバタフライ演算のた
めの演算器を示す図である。
FIG. 15 is a diagram showing a computing unit for butterfly computation of a conventional LOT computing device.

【図16】従来のLOT演算装置のバタフライ演算のた
めの演算器を示す図である。
FIG. 16 is a diagram showing a computing unit for butterfly computation of a conventional LOT computing device.

【図17】従来のLOT演算装置のブロック図である。FIG. 17 is a block diagram of a conventional LOT calculation device.

【図18】従来のLOT演算装置のLOT時のデータの
流れを説明するための図である。
FIG. 18 is a diagram for explaining a data flow at the time of LOT of the conventional LOT calculation device.

【図19】従来のLOT演算装置のILOT時のデータ
の流れを説明するための図である。
FIG. 19 is a diagram for explaining a data flow at the time of ILOT of the conventional LOT calculation device.

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

21 LOT演算装置 22 Y1ステージ(第1演算処理部) 23 Y2ステージ(第2演算処理部) 24 1ブロックラインメモリ 25 Zステージ 26〜33 スイッチ21 LOT arithmetic unit 22 Y 1 stage (first arithmetic processing unit) 23 Y 2 stage (second arithmetic processing unit) 24 1 block line memory 25 Z stage 26-33 switch

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 隣接ブロック間のデータを重ね合わせる
基関数を用いて重合直交変換(LOT)または逆重合直
交変換(ILOT)を実行する演算手段を有する符号化
データ処理装置であって、 前記演算手段はLOT時に1つのブロックのデータを演
算し、ILOT時に複数のブロックのデータを演算する
第1演算手段と、 ILOT時に1つのブロックのデータを演算し、LOT
時に複数のブロックのデータを演算する第2演算手段
と、 前記第1と第2の演算手段の出力データの奇数成分のデ
ータを記憶する記憶手段と、 LOT時に、前記第1の演算手段の出力データの偶数成
分を前記第2の演算手段に供給し、前記第1の演算手段
の出力データの奇数成分を前記記憶手段に供給し、前記
記憶手段に記憶されていた1つ前のブロックについての
前記第1の演算手段の出力データの奇数成分を前記第2
の演算手段に供給し、前記第2の演算手段に現在のブロ
ックについての前記第1の演算手段の出力データの偶数
成分と1つ前のブロックについての前記第1の演算手段
の出力データの奇数成分にアダマール変換を行わせると
ともに、 ILOT時に、前記第2の演算手段の出力データの偶数
成分を前記第1の演算手段に供給し、前記第2の演算手
段の出力データの奇数成分を前記記憶手段に供給し、前
記記憶手段に記憶されていた1つ前のブロックについて
の前記第2の演算手段の出力データの奇数成分を前記第
1の演算手段に供給し、前記第1の演算手段に現在のブ
ロックについての前記第2の演算手段の出力データの偶
数成分と1つ前のブロックについての前記第2の演算手
段の出力データの奇数成分にアダマール変換を行わせる
演算制御手段と、 を具備したことを特徴とする符号化データ処理装置。
1. A coded data processing device having arithmetic means for executing superposition orthogonal transformation (LOT) or inverse superposition orthogonal transformation (ILOT) by using a primitive function for superposing data between adjacent blocks. The means calculates the data of one block at the time of LOT and calculates the data of a plurality of blocks at the time of ILOT, and the data of one block at the time of ILOT,
Second computing means for computing data of a plurality of blocks, storage means for storing odd component data of output data of the first and second computing means, output of the first computing means at LOT The even component of the data is supplied to the second arithmetic means, the odd component of the output data of the first arithmetic means is supplied to the storage means, and the previous block stored in the storage means is stored. The odd-numbered component of the output data of the first arithmetic means is converted into the second component.
Of the output data of the first arithmetic means for the current block and the odd number of output data of the first arithmetic means for the preceding block to the second arithmetic means. The component is subjected to Hadamard transformation, and at the time of ILOT, the even component of the output data of the second computing means is supplied to the first computing means, and the odd component of the output data of the second computing means is stored in the memory. Means for supplying the odd number component of the output data of the second arithmetic means for the immediately preceding block stored in the storage means to the first arithmetic means, and to the first arithmetic means. Arithmetic control for causing Hadamard transformation on the even component of the output data of the second arithmetic means for the current block and the odd component of the output data of the second arithmetic means for the previous block An encoded data processing device comprising:
JP3354932A 1991-12-20 1991-12-20 Encoded data processing device Pending JPH0583142A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3354932A JPH0583142A (en) 1991-12-20 1991-12-20 Encoded data processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3354932A JPH0583142A (en) 1991-12-20 1991-12-20 Encoded data processing device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP02413514 Division 1990-12-21 1990-12-21

Publications (1)

Publication Number Publication Date
JPH0583142A true JPH0583142A (en) 1993-04-02

Family

ID=18440876

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3354932A Pending JPH0583142A (en) 1991-12-20 1991-12-20 Encoded data processing device

Country Status (1)

Country Link
JP (1) JPH0583142A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009100330A (en) * 2007-10-18 2009-05-07 Mega Chips Corp Frequency converter, hierarchical encoder, and hierarchical decoder

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009100330A (en) * 2007-10-18 2009-05-07 Mega Chips Corp Frequency converter, hierarchical encoder, and hierarchical decoder
US8270740B2 (en) 2007-10-18 2012-09-18 Megachips Corporation Frequency converter and frequency inverter

Similar Documents

Publication Publication Date Title
US8233543B2 (en) Method of coding and decoding image
JPH0799659A (en) Nonexhaustive movement estimation method
US7139314B2 (en) Inter-frame predicted image synthesizing method
US20020021842A1 (en) Circuit and method for performing a two-dimensional transform during the processing of an image
JPH0583142A (en) Encoded data processing device
JP3052516B2 (en) Encoded data processing device
JP2682402B2 (en) Data processing device
JPH1196138A (en) Inverse cosine transform method and inverse cosine transformer
JPH08307868A (en) Moving image decoder
JP3155383B2 (en) Two-mode processing device, two-dimensional conversion device, and still image data compression system
JP3385866B2 (en) Inverse quantization and inverse DCT circuit
JPH0537916A (en) Image transmission equipment
JPH114342A (en) Image processing unit
JP4700838B2 (en) Filter processing device
JPH04222122A (en) data compression device
JP2002197075A (en) Data processing device and control method thereof, data processing method, computer readable memory
JP3911784B2 (en) Image compression apparatus and image compression method
JPH05176312A (en) Coding data processor
CN117372495A (en) Calculation method for accelerating dot products with different bit widths in digital image processing
JPH04227163A (en) Encoding data processor
JPH07121687A (en) Image codec processor and access pattern conversion method
JP2833379B2 (en) Video decoding processor
JP2744231B2 (en) Image processing device
JPH05145765A (en) Image encoding/decoding device
KR20030054331A (en) DCT and IDCT transformer with high speed