JPH07319669A - Window-managed image blending circuit and weighted mean circuit used for the same - Google Patents

Window-managed image blending circuit and weighted mean circuit used for the same

Info

Publication number
JPH07319669A
JPH07319669A JP6043551A JP4355194A JPH07319669A JP H07319669 A JPH07319669 A JP H07319669A JP 6043551 A JP6043551 A JP 6043551A JP 4355194 A JP4355194 A JP 4355194A JP H07319669 A JPH07319669 A JP H07319669A
Authority
JP
Japan
Prior art keywords
signals
circuit
blend ratio
input
selecting
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP6043551A
Other languages
Japanese (ja)
Other versions
JP3209632B2 (en
Inventor
Taizo Tsujimoto
泰造 辻本
Masaru Uya
優 宇屋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP04355194A priority Critical patent/JP3209632B2/en
Publication of JPH07319669A publication Critical patent/JPH07319669A/en
Application granted granted Critical
Publication of JP3209632B2 publication Critical patent/JP3209632B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)
  • Complex Calculations (AREA)
  • Image Generation (AREA)
  • User Interface Of Digital Computer (AREA)
  • Image Processing (AREA)
  • Digital Computer Display Output (AREA)

Abstract

PURPOSE:To provide a superior window-managed image blending circuit which can set the blending rate with a small write information amount by blending superposed images into a translucent image in an area where windows overlap with each other when an information processor displays plural windows. CONSTITUTION:By pixel position information including the pixel clock of a pixel position information supply device 101, 1st and 2nd image memories 102 and 103 output respective pixels and a counter 105 is placed in counting operation, and, respective blending rates are read out of the counter 105 and a blending rate buffer 106, and those blending rates are selected by a data selector 107 with the control signal read out of an attribute buffer 108 and inputted to a pixel blending device 104, which puts pixels from the 1st and 2nd image memories 102 and 103 together into the translucent image at the blending rates or selects them.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、マルチウインドウ方式
の情報処理装置においてディスプレイ画面上のウインド
ウ重複部分に半透明合成画像を表示できるようにウイン
ドウ管理された画像ブレンド回路、及びその画像ブレン
ド回路に備えられて2画像を実際にブレンドする機能を
有する荷重平均回路の改良に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image blend circuit which is window-managed so that a semi-transparent composite image can be displayed in a window overlapping portion on a display screen in a multi-window type information processing apparatus and an image blend circuit thereof. It relates to an improvement of the weighted average circuit which is provided and has the function of actually blending two images.

【0002】[0002]

【従来の技術】近年、パーソナルコンピュータやワーク
ステーション等の情報処理装置において、矩形のディス
プレイ画面上に各々矩形領域である複数のウインドウを
用いて複数の文書等の情報を表示し、操作者に十分な情
報を提供することが行なわれている。最近は、情報処理
装置にビデオ信号等の動画像信号を入力し、これをウイ
ンドウに表示させることも行なわれている。
2. Description of the Related Art In recent years, in an information processing apparatus such as a personal computer or a workstation, information such as a plurality of documents is displayed on a rectangular display screen by using a plurality of windows, each of which is a rectangular area, and it is sufficient for an operator. Information is provided. Recently, a moving image signal such as a video signal is input to an information processing apparatus and displayed on a window.

【0003】上記従来の情報処理装置では、2つのウイ
ンドウの重複が発生した場合、ウインドウの上下関係を
設定して、重複領域には上とされたウインドウの内容が
表示されていた。したがって、下とされたウインドウの
内容は隠されて見えず、表示できる情報の量は画面の広
さで制限を受けていた。また、下とされたウインドウの
内容を見るためには、ウインドウの上下関係の設定を変
更したり、いずれかのウインドウを移動させたりという
繁雑な操作を必要とした。
In the above conventional information processing apparatus, when two windows overlap each other, the upper and lower relations of the windows are set and the contents of the upper window are displayed in the overlapping area. Therefore, the contents of the lower window are hidden and invisible, and the amount of information that can be displayed is limited by the size of the screen. In addition, in order to see the contents of the lower window, complicated operations such as changing the settings of the vertical relations of the windows and moving one of the windows are required.

【0004】この問題を解決するためには、例えば、テ
レビジョン放送の分野での従来の画像の半透明合成手法
をマルチウインドウ方式の情報処理装置に導入すること
が考えられる。即ち、ディスプレイ画面の全体にわたっ
て画素毎にブレンド比率α(0≦α≦1)をブレンド比
率バッファに記憶しておき、該ブレンド比率バッファか
らディスプレイ画面の画素毎にブレンド比率αを読み出
して、2つのウインドウの画素A,Bを、 α×A+(1−α)×B にしたがって画素ブレンド装置でブレンドする構成を採
用するのである。このようなブレンド比率バッファと画
素ブレンド装置とを備えた画像ブレンド回路をマルチウ
インドウ方式の情報処理装置に導入すれば、ディスプレ
イ画面上のウインドウ重複部分に半透明合成画像を表示
できる。しかも、ブレンド比率を画素単位で任意に設定
できるので、ブレンド比率の設定の柔軟性は高い。
In order to solve this problem, for example, it is conceivable to introduce a conventional translucent image synthesizing method in the field of television broadcasting into a multi-window type information processing apparatus. That is, the blend ratio α (0 ≦ α ≦ 1) is stored in the blend ratio buffer for each pixel over the entire display screen, and the blend ratio α is read from the blend ratio buffer for each pixel of the display screen to obtain two values. The pixels A and B of the window are blended by the pixel blending device according to α × A + (1−α) × B. If an image blending circuit including such a blend ratio buffer and a pixel blending device is introduced into a multi-window information processing device, a semitransparent composite image can be displayed in a window overlapping portion on the display screen. Moreover, since the blend ratio can be arbitrarily set on a pixel-by-pixel basis, the flexibility of setting the blend ratio is high.

【0005】前記画像ブレンド装置において2画素をブ
レンドする回路,即ち荷重平均回路の具体的構成を説明
する。この荷重平均回路は、従来、3通りの方式があ
る。
A specific configuration of a circuit for blending two pixels in the image blending device, that is, a weighted average circuit will be described. This weight average circuit has conventionally been classified into three types.

【0006】第1の方式は、図46に示すように、前記
計算式の通り計算するように2個の乗算器632,63
3及び1個の加算器634により構成して、画像をブレ
ンドする方式である。
In the first method, as shown in FIG. 46, two multipliers 632 and 63 are used to perform the calculation according to the above-mentioned calculation formula.
This is a method of blending images by being configured by three and one adder 634.

【0007】第2の方式は、図47に示すように、前記
計算式を変形してα×(A−B)+Bとし、これを計算
するように減算器635、乗算器636及び加算器63
7を各1個づつ設けて、画像をブレンドする方式であ
る。
In the second method, as shown in FIG. 47, the calculation formula is modified into α × (A−B) + B, and a subtractor 635, a multiplier 636 and an adder 63 are used to calculate this.
This is a method of blending images by providing one 7 for each.

【0008】第3の方式は、図48に示すように、1個
の加算回路638と、n個(同図では4個)の選択器6
39〜642とを設け、前記加算回路638に対し、重
みを前記選択器の個数に対応して1/2,1/4,…1
/2n のn通りに公比1/2の等比数列をなすように設
定し、2進数表現された入力A,Bの何れか一方の値を
n個の選択器639〜642において各々選択した後、
前記加算回路において、その選択されたn個の値を各々
対応する前記加算回路の重みと乗算し(以下、この重み
との乗算を重み付けと言う)、そのn個の乗算結果を加
算し、合計して、画像をブレンドする構成である。
The third method is, as shown in FIG. 48, one adder circuit 638 and n (four in the figure) selectors 6.
39 to 642 are provided, and weights corresponding to the number of the selectors are 1/2, 1/4, ... 1 with respect to the adder circuit 638.
It is set so as to form a geometrical sequence with a common ratio of 1/2 in n ways of / 2 n , and one of the values of the inputs A and B expressed in a binary number is selected by each of the n selectors 639 to 642. After doing
In the adder circuit, the selected n values are respectively multiplied by the corresponding weights of the adder circuit (hereinafter, the multiplication with this weight is referred to as weighting), and the n multiplication results are added to obtain a total. Then, the image is blended.

【0009】[0009]

【発明が解決しようとする課題】しかしながら、前記従
来の画像ブレンド回路では、ディスプレイ画面の全画面
を構成する各画素に対応して、各々ブレンド比率が設定
される構成であるため、半透明合成された画像の種類を
多数に設定でき、画像表示の柔軟性は高くなるものの、
そのブレンド比率の更新に際しては、その各ブレンド比
率をウインドウ内の第1番目のものから最後のものまで
1個づつ更新する必要が生じて、ブレンド比率の変更を
高速に行ない得ない問題があり、その結果、ウインドウ
の移動等の操作に対する応答が遅くなるという欠点があ
る。この欠点は、ブレンド比率の変更時での半透明画像
の変化がスムーズに進行するようにブレンド比率の変化
のステップ数を増やしてその変化の幅を小さくした場合
に、ブレンド比率を2進数で表現するのに必要なビット
数が増えるために、より顕著になり、ブレンド比率の更
新の応答性は一層低下する。
However, in the conventional image blending circuit, the blending ratio is set for each pixel constituting the entire screen of the display screen. You can set a large number of different types of images, and although the flexibility of image display is high,
When updating the blend ratio, it is necessary to update each blend ratio one by one from the first one to the last one in the window, and there is a problem that the blend ratio cannot be changed at high speed. As a result, there is a drawback that the response to an operation such as moving the window becomes slow. This disadvantage is that the blend ratio is expressed in binary when the number of steps of the change of the blend ratio is increased and the width of the change is reduced so that the change of the semi-transparent image when the blend ratio is changed smoothly progresses. This becomes more noticeable because the number of bits required to do so increases, and the responsiveness of updating the blend ratio is further reduced.

【0010】また、前記従来の荷重平均回路において、
第1の方式では、2個の乗算器を用いるので、回路規模
が大きくなる欠点がある。
In the conventional weighted average circuit,
Since the first method uses two multipliers, there is a drawback that the circuit scale becomes large.

【0011】更に、第2の方式では、乗算器は1個で済
む関係上、回路規模はやや小さくて済むが、減算器を用
いる関係上、回路の途中で負の数を表現して伝送すべき
箇所が生じて、この箇所で負の数に対応した演算を行な
うため、回路がやや複雑になると共に、演算回路の段数
が多いため、計算時間が長く(詳細には信号の伝搬遅延
が大きく)なり、動作速度が遅くなる欠点がある。
Further, in the second method, the number of multipliers is only one, and the circuit scale is a little small. However, because of the use of the subtractor, a negative number is expressed and transmitted in the middle of the circuit. Since there is a power point and an operation corresponding to a negative number is performed at this point, the circuit becomes a little complicated and the number of stages of the operation circuit is large, so the calculation time is long (specifically, the signal propagation delay is large. ), There is a drawback that the operation speed becomes slow.

【0012】加えて、第3の方式では、選択器及び多入
力の加算回路から構成されるものの、これ等を合わた回
路規模及び動作速度は共に1個の乗算器と同程度になる
ので、非常に優れたものであるが、出力値が実際には正
確にα×A+(1−α)xBに一致せず、K×{α×A+
(1−α)xB}となるため(K=(2n -1)/2n であ
り、1よりやや小さい値)、映像信号としては、明度が
低下する重大な欠点がある。
In addition, in the third method, although it is composed of a selector and a multi-input adder circuit, the circuit scale and the operating speed of these components are the same as one multiplier. Although it is very excellent, the output value does not actually match exactly with α × A + (1-α) xB, and K × {α × A +
Since (1−α) xB} (K = (2 n −1) / 2 n, which is a value slightly smaller than 1), the video signal has a serious drawback of reduced brightness.

【0013】また、前記何れの方式であっても、ブレン
ド比率αがα=1又はα=0の際、即ち、複数の入力信
号のブレンドが不要の際には、何れか1つの入力信号を
選択してそのまま出力すればよいにも拘らず、そのブレ
ンド比率に基づく計算を行なっており、このため、無駄
な消費電力を費やし、消費電力の増大を招く欠点があっ
た。
In any of the above methods, when the blend ratio α is α = 1 or α = 0, that is, when the blending of a plurality of input signals is unnecessary, any one of the input signals is input. Although it is sufficient to select and output as it is, the calculation is performed based on the blend ratio. Therefore, there is a drawback that wasteful power consumption is consumed and power consumption is increased.

【0014】更に、前記第3の方式では、ブレンド比率
αの値を細かい間隔刻みで指定できるようにブレンド比
率αのビット数を増やし、それに応じて加算回路のビッ
ト数を増大させた場合に、多ビット数表現のブレンド比
率が指定されたときには、実際には少ないビット数表現
のブレンド比率でも同一のブレンド動作を行い得ること
があり、この場合には、加算回路の多ビットで演算した
分、無駄な電力を消費するという欠点がある。
Further, in the third method, when the number of bits of the blend ratio α is increased so that the value of the blend ratio α can be specified in fine intervals, and the number of bits of the adder circuit is increased accordingly, When the blending ratio of a multi-bit number expression is specified, the same blending operation may actually be performed even with a blending ratio of a small bit number expression. The disadvantage is that it consumes unnecessary power.

【0015】本発明は斯かる点に鑑みてなされたもので
あり、本発明のウインドウ管理された画像ブレンド回路
における目的は、半透明合成されたウインドウの移動等
の高速応答を実現して、半透明合成によるディスプレイ
画面の有効活用を図り、よって、マルチウインドウ方式
の情報処理装置に好適に用いられるウインドウ管理され
た画像ブレンド回路を初めて提供することにある。
The present invention has been made in view of the above points, and an object of the window management image blending circuit of the present invention is to realize a high-speed response such as movement of a window that is semitransparently synthesized, It is an object of the present invention to provide a window managed image blending circuit which is preferably used in a multi-window information processing apparatus for the first time by effectively utilizing a display screen by transparent composition.

【0016】また、本発明の荷重平均回路における目的
は、回路規模及び動作速度が1個の乗算器と同程度の構
成、即ち前記第3の方式を基本的に採用しつつ、精度良
く複数の映像信号等の入力信号をブレンドして、画像の
明度の低下を抑制することにある。
Further, an object of the weighted average circuit of the present invention is that the circuit scale and the operation speed are substantially the same as those of one multiplier, that is, the third method is basically adopted, and a plurality of circuits are accurately operated. The purpose is to blend input signals such as video signals to suppress a decrease in image brightness.

【0017】更に、本発明の荷重平均回路における他の
目的は、ブレンド比率が何れか1つの入力信号を選択す
るに等しい値の場合には、加算回路を動作させず、その
分、低消費電力化を図ることにある。
Further, another object of the weighted average circuit of the present invention is that when the blend ratio is a value equal to selecting any one input signal, the adder circuit is not operated and the power consumption is reduced accordingly. It is to try to realize.

【0018】加えて、本発明の荷重平均回路における更
に他の目的は、所定ブレンド比率での複数の入力信号の
ブレンドが加算回路の比較的ビット数の少ない部分で計
算できる場合には、加算回路のその以上の冗長な部分を
動作させず、その分だけ、低消費電力化を図ることにあ
る。
In addition, another object of the weighted average circuit of the present invention is to add circuits in which the blending of a plurality of input signals at a predetermined blend ratio can be calculated in a portion of the adding circuit having a relatively small number of bits. It is intended to reduce the power consumption by not operating the redundant portion of the above.

【0019】[0019]

【課題を解決するための手段】前記のウインドウ管理さ
れた画像ブレンド回路における目的を達成するため、本
発明では、ウインドウ管理された画像ブレンド回路にお
いて、ディスプレイ画面の全体にわたる各画素毎にブレ
ンド比率を記憶するブレンド比率バッファ手段を設ける
だけでなく、更に、1つのブレンド比率を記憶するブレ
ンド比率保持手段を設け、このブレンド比率保持手段が
記憶している1つのブレンド比率をウインドウ重複部分
における複数の画素の半透明合成に共用することとす
る。
In order to achieve the above object in the window managed image blending circuit, the present invention provides a window management image blending circuit in which a blending ratio is set for each pixel over the entire display screen. Not only the blend ratio buffer means for storing the blend ratio is further provided, but the blend ratio holding means for storing one blend ratio is further provided, and one blend ratio stored by the blend ratio holding means is used for a plurality of pixels in the window overlapping portion. It will be used for the semi-transparent composition of.

【0020】また、荷重平均回路の前記目的を達成する
ため、本発明では、画像ブレンド装置において、加算回
路における各重みを適切に設定することにより、複数の
映像信号等の入力信号を精度良くブレンドする。
In order to achieve the above object of the weighted average circuit, in the present invention, in the image blending device, by appropriately setting each weight in the addition circuit, input signals such as a plurality of video signals are accurately blended. To do.

【0021】更に、荷重平均回路の前記他の目的を達成
するため、本発明では、ブレンド比率が何れか1つの入
力信号を選択するに等しい値の場合には、加算回路に定
数値を与えてその動作を停止させると共に、複数の入力
信号のうち何れか1つを選択する選択回路を設ける。
Further, in order to achieve the above-mentioned other object of the weighted averaging circuit, in the present invention, when the blend ratio is a value equal to selecting any one of the input signals, a constant value is given to the adding circuit. A selection circuit that stops the operation and selects one of the plurality of input signals is provided.

【0022】加えて、荷重平均回路における前記更に他
の目的を達成するため、本発明では、加算回路を2個設
けて、所定ブレンド比率での複数の入力信号のブレンド
が加算回路の比較的ビット数の少ない部分で計算できる
場合には、一方の加算回路のみでそのブレンドを実行す
る構成とする。
In addition, in order to achieve the above-mentioned other object in the weighted average circuit, the present invention provides two adder circuits so that a plurality of input signals can be blended at a predetermined blend ratio in a relatively bit-wise manner. If the calculation can be performed using a small number of parts, the blending is executed only by one of the adder circuits.

【0023】具体的に、請求項1記載の発明が講じた解
決手段は、マルチウインドウ方式の情報処理装置におい
てディスプレイ画面上のウインドウ重複部分に半透明合
成画像を表示できるようにウインドウ管理された画像ブ
レンド回路であって、前記ディスプレイ画面にラスター
スキャン方式にて画像を表示するように同期のための画
素クロックを含んだ画素位置情報を出力するための画素
位置情報供給手段と、各々前記ディスプレイ画面と同一
の大きさをもつ画像の画素情報を前記画素位置情報にし
たがって順次出力するための複数の画像出力手段と、前
記ディスプレイ画面の画素毎に設定されたブレンド比率
情報を記憶し、該記憶しているブレンド比率情報を前記
画素位置情報にしたがって順次出力するためのブレンド
比率バッファ手段と、1つのブレンド比率情報を記憶
し、該記憶しているブレンド比率情報を前記画素位置情
報にしたがって繰り返し出力するためのブレンド比率保
持手段と、前記ディスプレイ画面の画素毎に設定された
選択情報を記憶し、該記憶している選択情報を前記画素
位置情報にしたがって順次出力するためのアトリビュー
トバッファ手段と、前記ブレンド比率バッファ手段から
のブレンド比率情報と前記ブレンド比率保持手段からの
ブレンド比率情報とのいずれかを、前記アトリビュート
バッファ手段からの選択情報にしたがって選択出力する
ためのデータ選択手段と、前記複数の画像出力手段の各
々からの画素情報と前記データ選択手段からのブレンド
比率情報とを前記画素位置情報にしたがって同期入力
し、かつ該入力されたブレンド比率情報に応じて前記複
数の画像出力手段の各々から入力された画素情報をブレ
ンドして出力するための画素ブレンド手段と、前記ディ
スプレイ画面上の複数のウインドウの各々に対象映像を
表示するために該複数のウインドウの各々の管理情報と
して各ウインドウの位置、形状寸法及び表示対象を記憶
しかつ操作者の指示に応じて該管理情報を更新し、かつ
前記記憶している管理情報に対応して前記ブレンド比率
バッファ手段及び前記アトリビュートバッファ手段の記
憶内容を構成しかつ更新するためのウインドウ管理手段
とを備える構成としている。
Specifically, the solution means taken by the invention according to claim 1 is a window-managed image so that a translucent composite image can be displayed in a window overlapping portion on a display screen in a multi-window type information processing apparatus. A blending circuit, a pixel position information supplying means for outputting pixel position information including a pixel clock for synchronization so that an image is displayed on the display screen by a raster scan method, and the display screen, respectively. A plurality of image output means for sequentially outputting pixel information of images having the same size according to the pixel position information, and blend ratio information set for each pixel of the display screen are stored and stored. Blending ratio buffer means for sequentially outputting the blending ratio information according to the pixel position information One blend ratio information is stored, blend ratio holding means for repeatedly outputting the stored blend ratio information according to the pixel position information, and selection information set for each pixel of the display screen is stored. Whichever of the attribute buffer means for sequentially outputting the stored selection information according to the pixel position information, the blend ratio information from the blend ratio buffer means and the blend ratio information from the blend ratio holding means. The pixel position from each of the plurality of image output means and the blend ratio information from the data selection means, and the pixel position based on the pixel position. Synchronous input according to the information, and the input blend ratio information Pixel blending means for blending and outputting pixel information input from each of the plurality of image output means, and the plurality of pixel blending means for displaying the target image in each of the plurality of windows on the display screen. The position, shape size, and display target of each window are stored as management information of each window, the management information is updated according to an instruction from an operator, and the blend ratio is stored in correspondence with the stored management information. A buffer means and window management means for configuring and updating the stored contents of the attribute buffer means are provided.

【0024】また、請求項2記載の発明では、マルチウ
インドウ方式の情報処理装置においてディスプレイ画面
上のウインドウ重複部分に半透明合成画像を表示できる
ようにウインドウ管理された画像ブレンド回路であっ
て、前記ディスプレイ画面にラスタースキャン方式にて
画像を表示するように同期のための画素クロックを含ん
だ画素位置情報を出力するための画素位置情報供給手段
と、各々前記ディスプレイ画面と同一の大きさをもつ画
像の画素情報を前記画素位置情報にしたがって順次出力
するための複数の画像出力手段と、前記ディスプレイ画
面の画素毎に設定されたブレンド比率情報を記憶し、該
記憶しているブレンド比率情報を前記画素位置情報にし
たがって順次出力するためのブレンド比率バッファ手段
と、1つのブレンド比率情報を記憶し、該記憶している
ブレンド比率情報を前記画素位置情報にしたがって繰り
返し出力するためのブレンド比率保持手段と、前記ディ
スプレイ画面上のウインドウ配置に対応して画素領域毎
に設定された選択情報を記憶するためのウインドウ情報
記憶手段と、前記ウインドウ情報記憶手段が記憶してい
る選択情報を前記画素位置情報にしたがって順次出力す
るための選択情報出力手段と、前記ブレンド比率バッフ
ァ手段からのブレンド比率情報と前記ブレンド比率保持
手段からのブレンド比率情報とのいずれかを、前記選択
情報出力手段からの選択情報にしたがって選択出力する
ためのデータ選択手段と、前記複数の画像出力手段の各
々からの画素情報と前記データ選択手段からのブレンド
比率情報とを前記画素位置情報にしたがって同期入力
し、かつ該入力されたブレンド比率情報に応じて前記複
数の画像出力手段の各々から入力された画素情報をブレ
ンドして出力するための画素ブレンド手段と、前記ディ
スプレイ画面上の複数のウインドウの各々に対象映像を
表示するために該複数のウインドウの各々の管理情報と
して各ウインドウの位置、形状寸法及び表示対象を記憶
しかつ操作者の指示に応じて該管理情報を更新し、かつ
前記記憶している管理情報に対応して前記ブレンド比率
バッファ手段及び前記ウインドウ情報記憶手段の記憶内
容を構成しかつ更新するためのウインドウ管理手段とを
備える構成とする。
According to a second aspect of the present invention, in the multi-window information processing device, there is provided a window managed image blending circuit capable of displaying a semi-transparent composite image in a window overlapping portion on a display screen. Pixel position information supplying means for outputting pixel position information including a pixel clock for synchronization so that an image is displayed on the display screen by a raster scan method, and an image having the same size as that of the display screen. A plurality of image output means for sequentially outputting the pixel information in accordance with the pixel position information, and the blend ratio information set for each pixel of the display screen is stored, and the stored blend ratio information is stored in the pixel. Blend ratio buffer means for sequentially outputting according to position information, and one blend Ratio information is stored and blend ratio holding means for repeatedly outputting the stored blend ratio information in accordance with the pixel position information, and a pixel ratio corresponding to the window arrangement on the display screen are set for each pixel area. From the blend ratio buffer means, window information storage means for storing selection information, selection information output means for sequentially outputting the selection information stored in the window information storage means in accordance with the pixel position information, From either one of the blend ratio information and the blend ratio information from the blend ratio holding means, a data selection means for selectively outputting according to the selection information from the selection information output means, and each of the plurality of image output means. And the blending ratio information from the data selecting means are used as the pixel position information. Pixel blending means for synchronously inputting the pixel information and blending and outputting pixel information input from each of the plurality of image output means according to the input blend ratio information, and a plurality of pixel blending means on the display screen. In order to display the target video in each of the windows, the position of each window, the shape dimension and the display target are stored as management information of each of the plurality of windows, and the management information is updated according to the instruction of the operator, Further, a window management means for configuring and updating the storage contents of the blend ratio buffer means and the window information storage means corresponding to the stored management information is provided.

【0025】更に、請求項3記載の発明では、前記請求
項1又は2記載の発明のブレンド比率保持手段を特定し
て、更に、記憶している1つのブレンド比率情報を前記
画素位置情報にしたがって一定時間が経過するごとに自
動更新するための手段を備える構成とする。
Further, in the invention according to claim 3, the blend ratio holding means of the invention according to claim 1 or 2 is specified, and further one stored blend ratio information is stored in accordance with the pixel position information. It is configured to include means for automatically updating each time a certain period of time elapses.

【0026】加えて、請求項4記載の発明では、前記請
求項1又は2記載の発明の画素ブレンド手段を特定し、
前記複数の画像出力手段の各々から入力された画素情報
を色成分毎にブレンドするための複数の荷重平均手段を
備える構成とし、前記複数の荷重平均手段の各々は、
i、j、mを2以上の整数として、i進数表現されたj
個の信号が入力され、前記j個の信号に対して各々その
j個の入力に各々対応した重みを乗算し、その各乗算結
果を加算して、その加算結果をi進数表現された信号と
して出力する加算手段と、i進数表現されたm個のディ
ジタル入力信号の中から1つを選択するj個の選択手段
とを具備し、前記j個の選択手段により各々選択された
j個の信号が前記加算手段に入力されるとともに、ブレ
ンド比率が与えられ、m個のディジタル入力信号を前記
与えられたブレンド比率で混合するように前記j個の選
択手段を制御する制御手段を具備し、前記加算手段のj
個の重みの総和は、前記j個の重みのうち最大値の重み
の値の前記整数iの整数乗倍に設定されている構成とす
る。
In addition, in the invention of claim 4, the pixel blending means of the invention of claim 1 or 2 is specified,
It is configured to include a plurality of weight averaging means for blending pixel information input from each of the plurality of image output means for each color component, each of the plurality of weight averaging means,
j expressed as an i-ary number where i, j, and m are integers of 2 or more
Signals are input, the j signals are respectively multiplied by the weights corresponding to the j inputs, the respective multiplication results are added, and the addition result is regarded as a signal expressed in i-adic number. The adding means for outputting and j selecting means for selecting one from the m digital input signals expressed in i-adic number are provided, and the j signals respectively selected by the j selecting means. Is input to the adding means, a blend ratio is given, and a control means is provided for controlling the j selecting means so as to mix m digital input signals with the given blend ratio, J of adding means
The total sum of the weights is set to be an integral multiple of the integer i of the maximum weight value among the j weights.

【0027】また、請求項5記載の発明では、前記請求
項1又は2記載の発明の画素ブレンド手段を特定して、
更に、前記複数の画像出力手段の各々から入力された画
素情報を色成分毎にブレンドするための複数の荷重平均
手段を設け、前記複数の荷重平均手段の各々は、i、
j、mを2以上の整数として、i進数表現されたj個の
信号が入力され、前記j個の信号に対して各々そのj個
の入力に各々対応した重みを乗算し、その各乗算結果を
加算して、その加算結果をi進数表現された信号として
出力する加算手段と、i進数表現されたm個のディジタ
ル入力信号及び定数値信号の中から1つを選択するj個
の第1の選択手段とを具備し、前記j個の第1の選択手
段により各々選択されたj個の信号が前記加算手段に入
力されるとともに、前記加算回路の出力信号及び前記m
個のディジタル入力信号の中から1つを選択して出力す
る1個の第2の選択手段を具備し、前記加算手段のj個
の重みの総和は、前記j個の重みのうち最大値の重みの
値の前記整数iの整数乗倍に設定されているとともに、
ブレンド比率が与えられ、前記与えられたブレンド比率
に応じて前記j個の選択手段及び1個の第2の選択手段
を制御する制御手段を具備する構成とする。
According to the invention of claim 5, the pixel blending means of the invention of claim 1 or 2 is specified,
Further, a plurality of weight averaging means for blending the pixel information input from each of the plurality of image output means for each color component is provided, and each of the plurality of weight averaging means is i,
When j and m are integers of 2 or more, j signals expressed in an i-ary number are input, and the j signals are multiplied by weights respectively corresponding to the j inputs, and the multiplication results are obtained. Are added and the addition result is output as a signal expressed in i-adic notation, and j first first selecting one from the m digital input signals and constant value signals expressed in i-adic notation. Selecting means, the j signals respectively selected by the j first selecting means are input to the adding means, and the output signal of the adding circuit and the m signal are added.
A second selecting means for selecting and outputting one of the digital input signals, and the sum of the j weights of the adding means is the maximum value of the j weights. The weight value is set to an integral multiple of the integer i, and
A blending ratio is given, and a control means for controlling the j selecting means and one second selecting means is provided according to the given blending ratio.

【0028】更に、請求項6記載の発明では、前記請求
項1又は2記載の発明の画素ブレンド手段を特定し、前
記複数の画像出力手段の各々から入力された画素情報を
色成分毎にブレンドするための複数の荷重平均手段を設
け、前記複数の荷重平均手段の各々は、i、j、m、n
を2以上の整数とし、kを自然数とし、i進数表現され
たk個の信号よりなる第1の組の信号とi進数表現され
たj−k個(j>k)の信号よりなる第2の組の信号と
のj個の信号が入力され、前記j個の信号に対して各々
そのj個の入力に各々対応した重みを乗算し、その各乗
算結果を加算して、その加算結果をi進数表現された信
号として出力する第1の加算手段と、i進数表現された
m個のディジタル入力信号の中から1つを選択するk個
の第3の選択手段とを具備し、前記k個の第3の選択手
段により各々選択されたk個の信号が前記第1の組の信
号として前記第1の加算手段に入力され、i進数表現さ
れたn個の信号が入力され、前記n個の信号に対して各
々そのn個の入力に各々対応した重みを乗算し、その各
乗算結果を加算して、その加算結果をi進数表現された
j−k個の信号として出力する第2の加算手段と、前記
第2の加算手段の出力信号の数に対応してj−k個設け
られ、その対応する第2の加算手段の出力信号及び前記
m個のディジタル入力信号中から1つを選択する第4の
選択手段を具備し、前記j−k個の第4の選択手段によ
り各々選択されたj−k個の信号が前記第2の組の信号
として前記第1の加算手段に入力され、前記m個のディ
ジタル入力信号及びi進数表現された定数値信号の中か
ら1つを選択するn個の第5の選択手段を具備し、前記
n個の第5の選択手段により各々選択されたn個の信号
が前記第2の加算手段に入力され、ブレンド比率が与え
られ、m個のディジタル入力信号を前記与えられたブレ
ンド比率で混合するように前記j個の選択手段を制御す
る制御手段を具備した構成としている。
Further, in the invention of claim 6, the pixel blending means of the invention of claim 1 or 2 is specified, and the pixel information input from each of the plurality of image output means is blended for each color component. A plurality of load averaging means are provided, each of the plurality of load averaging means i, j, m, n
Is an integer of 2 or more, k is a natural number, and a first set of signals consisting of k signals expressed in i-adic numbers and a second set of jk (j> k) signals expressed in i-adic numbers , J signals with the signals of the set are input, the j signals are respectively multiplied by the weights corresponding to the j inputs, the respective multiplication results are added, and the addition result is The apparatus further comprises a first adding means for outputting as a signal expressed in i-adic notation and k third selecting means for selecting one from m digital input signals expressed in i-adic notation. The k signals respectively selected by the third selecting means are input to the first adding means as the signals of the first set, and the n signals expressed in i-adic number are input, and the n signals are input. The signals are multiplied by the weights corresponding to the n inputs, and the multiplication results are added. , Second adding means for outputting the addition result as jk signals expressed in i-adic number, and jk corresponding to the number of output signals of the second adding means, and the corresponding The output signal of the second adding means and the fourth selecting means for selecting one from the m digital input signals, and j selected by the jk fourth selecting means. -K signals are input to the first adding means as the second set of signals, and n signals are selected from the m digital input signals and i-adic constant value signals. No. 5 signals are selected by the n number of fifth selecting means, the n signals are input to the second adding means, a blend ratio is given, and m digital inputs are provided. J to mix signals at the given blend ratio It is a equipped with a control means for controlling the selection means structure.

【0029】加えて、請求項7記載の発明では、前記請
求項1又は2記載の発明のデータ選択手段を特定して、
ブレンド比率バッファ手段及び前記ブレンド比率保持手
段からのブレンド比率情報以外に、固定されたブレンド
比率情報を選択出力する機能を更に備える構成としてい
る。
In addition, in the invention according to claim 7, the data selecting means of the invention according to claim 1 or 2 is specified,
In addition to the blend ratio information from the blend ratio buffer means and the blend ratio holding means, a function of selectively outputting fixed blend ratio information is further provided.

【0030】請求項8記載の発明の荷重平均回路では、
i、j、mを2以上の整数として、i進数表現されたj
個の信号が入力され、前記j個の信号に対して各々その
j個の入力に各々対応した重みを乗算し、その各乗算結
果を加算して、その加算結果をi進数表現された信号と
して出力する加算手段と、i進数表現されたm個のディ
ジタル入力信号の中から1つを選択するj個の選択手段
とを具備し、前記j個の選択手段により各々選択された
j個の信号が前記加算手段に入力されるとともに、ブレ
ンド比率が与えられ、m個のディジタル入力信号を前記
与えられたブレンド比率で混合するように前記j個の選
択手段を制御する制御手段を具備し、前記加算手段のj
個の重みの総和は、前記j個の重みのうち最大値の重み
の値の前記整数iの整数乗倍に設定されている構成とし
ている。
According to the weighted average circuit of the invention described in claim 8,
j expressed as an i-ary number where i, j, and m are integers of 2 or more
Signals are input, the j signals are respectively multiplied by the weights corresponding to the j inputs, the respective multiplication results are added, and the addition result is regarded as a signal expressed in i-adic number. The adding means for outputting and j selecting means for selecting one from the m digital input signals expressed in i-adic number are provided, and the j signals respectively selected by the j selecting means. Is input to the adding means, a blend ratio is given, and a control means is provided for controlling the j selecting means so as to mix m digital input signals with the given blend ratio, J of adding means
The sum of the weights is set to be an integral multiple of the integer i of the maximum weight value among the j weights.

【0031】また、請求項9記載の発明では、前記請求
項8記載の発明の加算手段のj個の重みの総和を、1に
限定する構成としている。
Further, in the invention described in claim 9, the sum total of j weights of the addition means of the invention described in claim 8 is limited to one.

【0032】更に、請求項10記載の発明の荷重平均回
路では、i、j、mを2以上の整数として、i進数表現
されたj個の信号が入力され、前記j個の信号に対して
各々そのj個の入力に各々対応した重みを乗算し、その
各乗算結果を加算して、その加算結果をi進数表現され
た信号として出力する加算手段と、i進数表現されたm
個のディジタル入力信号及び定数値信号の中から1つを
選択するj個の第1の選択手段とを具備し、前記j個の
第1の選択手段により各々選択されたj個の信号が前記
加算手段に入力されるとともに、前記加算回路の出力信
号及び前記m個のディジタル入力信号の中から1つを選
択して出力する1個の第2の選択手段を具備し、前記加
算手段のj個の重みの総和は、前記j個の重みのうち最
大値の重みの値の前記整数iの整数乗倍に設定されてい
るとともに、ブレンド比率が与えられ、前記与えられた
ブレンド比率に応じて前記j個の第1の選択手段及び1
個の第2の選択手段を制御する制御手段を具備する構成
とする。
Further, in the weighted average circuit of the tenth aspect of the present invention, j signals expressed in i-adic notation are input with i, j, and m being integers of 2 or more, and the j signals are input to the j signals. Each of the j inputs is multiplied by a corresponding weight, each multiplication result is added, and the addition result is output as a signal expressed in i-adic notation, and m expressed in i-adic notation.
And j first selecting means for selecting one from among the digital input signals and the constant value signals, wherein the j signals respectively selected by the j first selecting means are It is provided with one second selecting means which is inputted to the adding means and which selects and outputs one from the output signal of the adding circuit and the m digital input signals, and j of the adding means. The sum of the weights is set to be an integral multiple of the integer i of the value of the maximum weight among the j weights, and a blend ratio is given, and the blend ratio is given according to the given blend ratio. The j first selection means and 1
A control means for controlling the second selection means is provided.

【0033】加えて、請求項11記載の発明の荷重平均
回路では、i、j、m、nを2以上の整数とし、kを自
然数とし、i進数表現されたk個の信号よりなる第1の
組の信号とi進数表現されたj−k個(j>k)の信号
よりなる第2の組の信号とのj個の信号が入力され、前
記j個の信号に対して各々そのj個の入力に各々対応し
た重みを乗算し、その各乗算結果を加算して、その加算
結果をi進数表現された信号として出力する第1の加算
手段と、i進数表現されたm個のディジタル入力信号の
中から1つを選択するk個の第3の選択手段とを具備
し、前記k個の第3の選択手段により各々選択されたk
個の信号が前記第1の組の信号として前記第1の加算手
段に入力され、i進数表現されたn個の信号が入力さ
れ、前記n個の信号に対して各々そのn個の入力に各々
対応した重みを乗算し、その各乗算結果を加算して、そ
の加算結果をi進数表現されたj−k個の信号として出
力する第2の加算手段と、前記第2の加算手段に対応し
てj−k個設けられ、その対応する第2の加算手段の出
力信号及び前記m個のディジタル入力信号中から1つを
選択する第4の選択手段を具備し、前記j−k個の第4
の選択手段により各々選択されたj−k個の信号が前記
第2の組の信号として前記第1の加算手段に入力され、
前記m個のディジタル入力信号及びi進数表現された定
数値信号の中から1つを選択するn個の第5の選択手段
を具備し、前記n個の第5の選択手段により各々選択さ
れたn個の信号が前記第2の加算手段に入力され、ブレ
ンド比率が与えられ、m個のディジタル入力信号を前記
与えられたブレンド比率で混合するように前記j個の選
択手段を制御する制御手段を具備する構成としている。
In addition, in the weighted averaging circuit of the present invention as defined in claim 11, i, j, m, n are integers of 2 or more, k is a natural number, and the first signal is composed of k signals expressed in i-adic numbers. Signal of the group of j and the signal of the second group consisting of jk (j> k) signals expressed in i-adic number are input, and the j signals are respectively inputted to the j signals. First input means for multiplying the respective inputs by corresponding weights, adding the respective multiplication results, and outputting the addition result as a signal expressed in i-adic notation, and m digital values expressed in i-adic notation. And k third selecting means for selecting one from the input signals, and k selected by the k third selecting means.
Number of signals are input to the first adding means as the first set of signals, n number of signals expressed in i-adic number are input, and each of the n number of signals is input to the n number of inputs. Corresponding to second adding means for multiplying respective corresponding weights, adding the respective multiplication results, and outputting the addition result as jk signals expressed in i-adic notation, and the second adding means. And a fourth selection means for selecting one from the output signal of the corresponding second addition means and the m digital input signals corresponding thereto. Fourth
The jk signals respectively selected by the selecting means are input to the first adding means as the second set of signals,
It comprises n number of fifth selecting means for selecting one from the m number of digital input signals and a constant value signal expressed in i-adic number, and is selected by each of the n number of fifth selecting means. Control means for controlling the j selection means so that n signals are input to the second addition means, a blend ratio is given, and m digital input signals are mixed at the given blend ratio. Is provided.

【0034】加えて、請求項12記載の発明では、前記
請求項8,9,10又は11記載の荷重平均回路におい
て、加算手段又は第1の加算手段の出力信号は、その出
力信号を表現する桁数が最小桁から所定桁削減されて、
加算手段又は第1の加算手段は加算結果の近似値を出力
する構成に限定している。
In addition, in the invention of claim 12, in the weighted average circuit according to claim 8, 9, 10 or 11, the output signal of the adding means or the first adding means represents the output signal thereof. The number of digits has been reduced from the minimum to a predetermined number,
The adding means or the first adding means is limited to the configuration for outputting the approximate value of the addition result.

【0035】請求項13記載の発明では、前記請求項
8,9,10,11又は12記載の荷重平均回路におい
て、整数iは、i=2である構成とする。
According to a thirteenth aspect of the present invention, in the weighted average circuit according to the eighth, ninth, tenth, eleventh or twelfth aspect, the integer i is i = 2.

【0036】また、請求項14記載の発明では、前記請
求項13記載の荷重平均回路において、削減される桁の
うち最大桁の値が“0”のとき値の切捨てを行ない、前
記最大桁の値が“1”のとき値の繰り上げを行なう構成
とする。
According to a fourteenth aspect of the present invention, in the weighted average circuit of the thirteenth aspect, when the value of the maximum digit among the digits to be reduced is "0", the value is truncated, and the maximum digit is reduced. The value is incremented when the value is "1".

【0037】更に、請求項15記載の発明では、前記請
求項13記載の荷重平均回路において、加算手段又は第
1の加算手段の各重みは、その各重みを大きい順に並べ
た数列が、前記数列の最後の項を除いて、公比1/2の
等比数列をなし、前記数列の最後の項の値がその最後の
項の直前の項の値に等しい構成とする。
Further, in the invention according to claim 15, in the weighted average circuit according to claim 13, each weight of the adding means or the first adding means is a sequence in which the weights are arranged in descending order. Except for the last term of the above, a geometric progression having a common ratio of 1/2 is formed, and the value of the last term of the sequence is equal to the value of the term immediately before the last term.

【0038】加えて、請求項16記載の発明では、前記
請求項13記載の荷重平均回路において、加算手段又は
第1の加算手段は、前記加算手段又は第1の加算手段の
入力信号であるj個の信号を加算し、加算結果を2つの
2進数表示された信号で出力する第1の部分加算回路
と、前記第1の部分加算回路の2つの出力信号を加算
し、加算結果を1つの2進数表現された信号で出力する
第2の部分加算回路とにより構成され、前記第2の部分
加算回路の出力信号が前記加算手段又は第1の加算手段
の出力とされ、前記第1の部分加算回路は複数個の桁上
げ保存加算器を複数段直列に接続して構成され、前記第
2の部分加算回路は、前記第2の部分加算回路の最下位
ビットから所定の中間ビットまでの入力信号を加算し、
その加算結果及び前記中間ビットより生じた桁上げの結
果を出力する第1の桁上げ伝搬加算器と、前記第1の桁
上げ伝搬加算器の桁上げ結果が0であると仮定した場合
の,前記第2の部分加算回路の前記中間ビットより上位
のビットの入力信号を加算し、その加算結果を出力する
第2の桁上げ伝搬加算器と、前記第1の桁上げ伝搬加算
器の桁上げ結果が1であると仮定した場合の,前記第2
の部分加算回路の前記中間ビットより上位のビットの入
力信号を加算し、その加算結果を出力する第3の桁上げ
伝搬加算器と、前記第1の桁上げ伝搬加算器の桁上げ結
果が0のとき、前記第2の桁上げ伝搬加算器の出力を選
択し、前記桁上げ結果が1のとき、前記第3の桁上げ伝
搬加算器の出力を選択して出力する第6の選択手段とに
より構成される構成としている。
In addition, in the invention according to claim 16, in the weighted average circuit according to claim 13, the adding means or the first adding means is an input signal of the adding means or the first adding means. Number of signals, and outputs the addition result as two binary-displayed signals, and the two output signals of the first partial addition circuit are added, and the addition result is converted into one. A second partial adder circuit for outputting a binary-represented signal, and the output signal of the second partial adder circuit is the output of the adder means or the first adder means, and the first part The adder circuit is configured by connecting a plurality of carry-save adders in series, and the second partial adder circuit inputs from the least significant bit to a predetermined intermediate bit of the second partial adder circuit. Add the signals,
A first carry propagation adder for outputting the addition result and a carry result generated from the intermediate bit; and a case where the carry result of the first carry propagation adder is assumed to be 0, A carry carry adder for adding input signals of bits higher than the intermediate bit of the second partial adder circuit and outputting a result of the addition, and a carry carry for the first carry propagate adder. The second, assuming the result is 1.
The carry result of the third carry propagation adder for adding the input signals of the bits higher than the intermediate bit of the partial adder circuit and outputting the addition result and the carry result of the first carry propagation adder are 0. When the output of the second carry propagation adder is selected, and when the carry result is 1, the output of the third carry propagation adder is selected and output. It is configured as follows.

【0039】また、請求項17記載の発明では、前記請
求項10記載の荷重平均回路において、整数iはi=2
であり、加算手段は、前記加算手段の入力信号であるj
個の信号を加算し、加算結果を2つの2進数表示された
信号で出力する第1の部分加算回路と、前記第1の部分
加算回路の2つの出力信号を加算し、加算結果を1つの
2進数表現された信号で出力する第2の部分加算回路と
により構成され、前記第2の部分加算回路の出力信号が
前記加算手段の出力とされ、前記第1の部分加算回路は
複数個の桁上げ保存加算器を複数段直列に接続して構成
され、前記第2の部分加算回路は、前記第2の部分加算
回路の最下位ビットから所定の中間ビットまでの入力信
号を加算し、その加算結果及び前記中間ビットより生じ
た桁上げの結果を出力する第1の桁上げ伝搬加算器と、
前記第1の桁上げ伝搬加算器の桁上げ結果が0であると
仮定した場合の,前記第2の部分加算回路の前記中間ビ
ットより上位のビットの入力信号を加算し、その加算結
果を出力する第2の桁上げ伝搬加算器と、前記第1の桁
上げ伝搬加算器の桁上げ結果が1であると仮定した場合
の,前記第2の部分加算回路の前記中間ビットより上位
のビットの入力信号を加算し、その加算結果を出力する
第3の桁上げ伝搬加算器とにより構成されるとともに、
第2の選択手段は、m個のディジタル入力信号から1つ
を選択する第7の選択手段と、前記第1の桁上げ伝搬加
算器の加算結果を示す出力と、前記第7の選択手段の出
力のうち最下位ビットから中間ビットまでの部分との何
れか一方を選択する第8の選択手段と、前記第2の桁上
げ伝搬加算器の出力と、前記第3の桁上げ伝搬加算器の
出力と、前記第7の選択手段の出力のうち中間ビットよ
り上位のビットの部分との何れか1つを選択して第9の
選択手段とから成る構成とする。
According to a seventeenth aspect of the invention, in the weighted average circuit of the tenth aspect, the integer i is i = 2.
And the adding means is the input signal j of the adding means.
Number of signals, and outputs the addition result as two binary-displayed signals, and the two output signals of the first partial addition circuit are added, and the addition result is converted into one. A second partial adder circuit for outputting a binary-represented signal, the output signal of the second partial adder circuit being the output of the adding means, and the first partial adder circuit having a plurality of outputs. A plurality of carry save adders are connected in series, and the second partial adder circuit adds input signals from the least significant bit to a predetermined intermediate bit of the second partial adder circuit, A first carry propagation adder for outputting an addition result and a carry result generated from the intermediate bit;
When the carry result of the first carry propagation adder is assumed to be 0, the input signals of the bits higher than the intermediate bit of the second partial adder circuit are added, and the addition result is output. Of the second carry propagation adder and the carry carry adder of the first carry propagation adder, which are higher than the intermediate bit of the second partial adder circuit. And a third carry propagation adder that adds input signals and outputs the addition result,
The second selection means includes a seventh selection means for selecting one from the m digital input signals, an output indicating an addition result of the first carry propagation adder, and a seventh selection means for the seventh selection means. Eighth selection means for selecting one of the least significant bit to the intermediate bit of the output, the output of the second carry propagation adder, and the third carry propagation adder. Any one of the output and the part of the bit higher than the intermediate bit in the output of the seventh selecting means is selected to constitute the ninth selecting means.

【0040】更に、請求項18記載の発明では、前記請
求項11記載の荷重平均回路において、第2の組に属す
る信号の数(j−k)は2である構成とする。
Further, in the invention according to claim 18, in the weighted average circuit according to claim 11, the number of signals (jk) belonging to the second set is two.

【0041】加えて、請求項19記載の発明では、前記
請求項18記載の荷重平均回路において、整数iはi=
2であり、第1の加算手段の各重みは、その各重みを大
きい順に並べた第1の数列が、前記第1の数列の最後の
項を除いて、公比1/2の等比数列をなし、この第1の
数列の先頭の項の値は1/2であり、前記第1の数列の
最後の項の値はその最後の項の直前の項の値に等しく、
前記第1の数列の最後の2つの項の重みが各々第2の組
の2つの信号の各々と乗算され、第2の加算手段の各重
みは、その各重みを大きい順に並べた第2の数列が、前
記第2の数列の最後の項を除いて、公比1/2の等比数
列をなし、この第2の数列の先頭の項の値は前記第1の
数列の最後の項の値と等しく、前記第2の数列の最後の
項の値がその直前の項の値に等しい構成とする。
In addition, in the invention according to claim 19, in the weighted average circuit according to claim 18, the integer i is i =
2 and each weight of the first adding means is a geometric sequence having a common ratio of 1/2, except for the last term of the first sequence, in which the respective weights are arranged in descending order. And the value of the first term of this first sequence is 1/2, the value of the last term of the first sequence is equal to the value of the term immediately before its last term,
The weights of the last two terms of the first sequence are each multiplied by each of the two signals of the second set, and each weight of the second summing means is a second of the respective weights arranged in descending order. The sequence of numbers forms a geometric sequence with a common ratio of 1/2, except for the last term of the second number sequence, and the value of the first term of this second number sequence is the value of the last term of the first number sequence. The value of the last term of the second sequence is equal to the value of the immediately preceding term.

【0042】また、請求項20記載の発明では、前記請
求項19記載の荷重平均回路において、整数j、m、n
は各々、j=6、m=2、n=5である構成とする。
According to a twentieth aspect of the invention, in the weighted average circuit according to the nineteenth aspect, integers j, m, and n are used.
Are j = 6, m = 2, and n = 5, respectively.

【0043】更に、請求項21記載の発明では、前記請
求項10記載の荷重平均回路において、制御手段を限定
し、この制御手段を、与えられたブレンド比率がm個の
ディジタル信号の混合を指示している場合には、第1の
選択回路がm個のディジタル信号の何れか1つを選択
し、第2の選択手段が第1の加算回路の出力を選択する
ように、前記第1の選択手段及び第2の選択手段を制御
し、与えられたブレンド比率がm個のディジタル信号の
何れか1つを選択することと等価な場合には、第1の選
択手段が定数値を選択し、第2の選択手段が前記m個の
ディジタル入力信号の中の指示された1つを選択するよ
うに、前記第1の選択手段及び第2の選択手段を制御す
る構成としている。
Further, in the invention described in claim 21, in the weighted average circuit according to claim 10, the control means is limited, and the control means is instructed to mix digital signals having a given blend ratio of m. If so, the first selection circuit selects any one of the m digital signals and the second selection means selects the output of the first addition circuit. Controlling the selection means and the second selection means such that the first selection means selects a constant value if the given blend ratio is equivalent to selecting any one of the m digital signals. , The second selecting means controls the first selecting means and the second selecting means so as to select the instructed one of the m digital input signals.

【0044】加えて、請求項22記載の発明では、前記
請求項10記載の荷重平均回路において、制御手段は、
第2の加算手段の動作及び停止の何れか一方を選択して
指令する動作選択信号が入力され、前記動作選択信号が
第2の加算手段の動作を選択する信号である場合には、
第4の選択手段の全てが第2の加算手段の出力を選択
し、第3の選択手段及び第5の選択手段は与えられたブ
レンド比率に応じて各々m個のディジタル入力信号の中
から1つを選択するように前記各選択手段を制御し、前
記動作選択信号が第2の加算回路の停止を選択する信号
である場合には、第5の選択手段の全てが定数値信号を
選択し、第3の選択手段及び第4の選択手段は与えられ
たブレンド比率に応じて各々m個のディジタル入力信号
の中から1つを選択するように前記各選択手段を制御す
る構成とする。
In addition, in the invention described in claim 22, in the weighted average circuit according to claim 10, the control means is:
When an operation selection signal for selecting and instructing either operation or stop of the second adding means is input, and the operation selecting signal is a signal for selecting the operation of the second adding means,
All of the fourth selecting means select the output of the second adding means, and the third selecting means and the fifth selecting means each output 1 out of m digital input signals according to the given blend ratio. If the operation selection signal is a signal for selecting the stop of the second adding circuit, all of the fifth selecting means select the constant value signal. , The third selecting means and the fourth selecting means are configured to control each of the selecting means so as to select one of the m digital input signals according to the given blending ratio.

【0045】また、請求項23記載の発明では、前記請
求項8,9,10又は11記載の荷重平均回路におい
て、各選択手段は、選択制御信号を入力し、この入力さ
れた選択制御信号に応じて複数の信号の中から1つを選
択し、制御手段は、ブレンド比率を記述する符号が入力
されるデコーダで構成され、前記デコーダは、前記入力
された符号に応じて各選択手段への選択制御信号を生成
するものである構成としている。
Further, in the invention of claim 23, in the weighted average circuit according to claim 8, 9, 10 or 11, each selecting means inputs a selection control signal, and the selected selection control signal is inputted to the selection control signal. One of the plurality of signals is selected according to the control signal, and the control unit is composed of a decoder to which a code describing the blend ratio is input, and the decoder outputs to each selection unit according to the input code. It is configured to generate a selection control signal.

【0046】更に、請求項24記載の発明では、前記請
求項23記載の荷重平均回路において、デコーダは、第
2の加算手段の動作及び停止の何れか一方を選択して指
令する動作選択信号の入力に代え、入力された符号に基
いて前記動作選択信号を生成するものである構成として
いる。
Further, in the invention according to claim 24, in the weighted average circuit according to claim 23, the decoder selects the operation or stop of the second adding means and outputs the operation selection signal. Instead of the input, the operation selection signal is generated based on the input code.

【0047】[0047]

【作用】以上の構成により、請求項1記載のウインドウ
管理された画像ブレンド回路では、表示する画素には全
てブレンド比率保持手段又はブレンド比率バッファ手段
の記憶したブレンド比率が対応付けられるので、ウイン
ドウの重複が発生した場合に、ウインドウ管理手段がブ
レンド比率バッファ手段及びアトリビュートバッファ手
段の内容を更新して、重複した領域の画素で半透明合成
であるブレンドが行なわれるよう設定し、その領域で画
像を半透明合成する。
With the above construction, in the window managed image blending circuit according to claim 1, since all the pixels to be displayed are associated with the blending ratio stored in the blending ratio holding means or blending ratio buffer means, When an overlap occurs, the window management unit updates the contents of the blend ratio buffer unit and the attribute buffer unit, and sets the pixels in the overlapping region to perform the semi-transparent blending. Semi-transparent composition.

【0048】そして、重複部分のブレンド比率としてブ
レンド比率保持手段の記憶した値を選択するように重複
部分のアトリビュートバッファ手段の値を設定すること
にすれば、ウインドウの移動による重複部分の移動や変
形に対してはアトリビュートバッファ手段の内容を更新
すればよく、アトリビュートバッファ手段の1画素当り
のビット数はブレンド比率バッファ手段のそれより小さ
くて済むので、ブレンド比率バッファ手段の内容を更新
するよりも書き込むデータ量が少なくて済む。また、重
複部分のブレンド比率を変更する場合はブレンド比率保
持手段の値を書き換えるだけで済む。よって、前記目的
が達成される。
Then, if the value of the attribute buffer means of the overlapping portion is set so that the value stored in the blend ratio holding means is selected as the blending ratio of the overlapping portion, the overlapping portion is moved or deformed by moving the window. For this, the content of the attribute buffer means may be updated, and the number of bits per pixel of the attribute buffer means may be smaller than that of the blend ratio buffer means, so writing is performed rather than updating the content of the blend ratio buffer means. The amount of data is small. Further, when changing the blend ratio of the overlapping portion, it suffices to rewrite the value of the blend ratio holding means. Therefore, the above object is achieved.

【0049】また、請求項2記載の発明のウインドウ管
理された画像ブレンド回路では、アトリビュートバッフ
ァ手段の代わりにウインドウ情報記憶手段と選択情報出
力手段とを採用するので、ウインドウの移動や変形に対
応して更新するデータは、ウインドウ情報記憶手段の中
の移動や変形を施したウインドウに関する少ないデータ
となる。
In the window managed image blending circuit according to the second aspect of the present invention, the window information storage means and the selection information output means are adopted instead of the attribute buffer means, so that it is possible to cope with the movement or deformation of the window. The data to be updated in this way is a small amount of data regarding the moved or modified window in the window information storage means.

【0050】更に、請求項3記載の発明のウインドウ管
理された画像ブレンド回路では、ブレンド比率情報を逐
一書き換えてやらなくとも、ブレンド比率保持手段が半
透明合成のためのブレンド比率をスムーズかつ自動的に
経時変化させる。
Further, in the window-managed image blending circuit of the present invention as defined in claim 3, the blending ratio holding means smoothly and automatically adjusts the blending ratio for translucent composition without rewriting the blending ratio information one by one. Change over time.

【0051】加えて、請求項7記載の発明のウインドウ
管理された画像ブレンド回路では、データ選択手段の選
択するブレンド比率の値に、幾つかの定数値を選べるよ
うにし、それらの定数値として、半透明合成が行なわれ
ない,即ち複数の画像出力手段から送られてくる画素の
1つを選ぶことを指示する値を与えることにより、半透
明合成が行なわれない領域に対してブレンド比率バッフ
ァ手段の値をブレンド比率として用いる場合に必要なブ
レンド比率バッファ手段の初期化が不要になり、アトリ
ビュートバッファ手段とブレンド比率保持手段のみの初
期化で済むので、書き換えるべきデータ量が更に減少す
る。
In addition, in the window managed image blending circuit of the present invention as defined in claim 7, some constant values can be selected for the value of the blend ratio selected by the data selecting means. By providing a value instructing to select one of the pixels sent from the plurality of image output means, that is, the semitransparent synthesis is not performed, the blend ratio buffer means is provided for the region where the semitransparent synthesis is not performed. When the value of is used as the blend ratio, the blend ratio buffer means need not be initialized, and only the attribute buffer means and the blend ratio holding means need be initialized, so that the amount of data to be rewritten is further reduced.

【0052】また、請求項4、請求項8、請求項9、請
求項13及び請求項15記載の発明の荷重平均回路で
は、各重みの総和が全重みの値の内の最大値の整数iの
整数乗倍に設定されている。この各重みの総和が全重み
の値の内の最大値の整数iの整数乗倍であることと、重
みの総和が1となることとは、回路を構成する際の制約
条件としては等価であることを示す。重み付けは桁位置
ずらしによるので、重みの最大値は1/im と表現で
き、重みの総和が重みの最大値のis 倍の場合には、そ
の値はi(s-m) となって、出力の値はi(s-m) ×{α×
A+ (1-α)xB}となる。ここで、出力の値の小数点の
位置は自由に決めることができ、それによって出力の値
をiの整数乗倍で乗除できるので、出力の値がα×A+
(1-α)xBとなるように小数点の位置を定めることがで
きる。この場合、出力に(桁位置ずらしのみによって)
(m-s) の係数を乗じたとみなすことができるが、これ
は入力の全ての重みにi(m-s) を乗じたと考えても同じ
である。このように、回路構成は全く変更のないまま、
重みの桁位置を見直すことによって、重みの総和が1と
なるように各々の重みの値を決め直すことができる。逆
に、重みの総和が1となる場合、それは重みの最大値1
/im のim 倍であるので、重みの総和が重みの最大値
の整数iの整数乗倍という条件を満たしている。従っ
て、重みの総和が重みの最大値の整数iの整数乗倍であ
ることと、重みの総和が1となることは、回路を構成す
る際の制約条件としては等価である。
Further, in the weighted average circuit of the present invention according to claim 4, claim 8, claim 9, claim 13 and claim 15, the sum of each weight is an integer i of the maximum value among the values of all weights. It is set to an integer multiple of. The fact that the sum of the weights is an integral multiple of the integer i of the maximum value among the values of all the weights and that the sum of the weights is 1 is equivalent as a constraint condition when configuring the circuit. Indicates that there is. Since the weighting is performed by shifting the digit position, the maximum value of the weight can be expressed as 1 / i m, and when the sum of the weights is i s times the maximum value of the weight, the value becomes i (sm) and the output The value of is i (sm) × {α ×
A + (1-α) xB}. Here, the position of the decimal point of the output value can be freely determined, and the output value can be multiplied by an integer multiple of i, so that the output value is α × A +
The position of the decimal point can be determined so as to be (1-α) xB. In this case, to the output (only by shifting the digit position)
It can be regarded as being multiplied by the coefficient of i (ms) , but this is the same even if it is considered that all the weights of the input are multiplied by i (ms) . In this way, the circuit configuration remains unchanged,
By reviewing the digit positions of the weights, it is possible to redetermine the value of each weight so that the total sum of the weights becomes 1. Conversely, when the sum of weights is 1, it is the maximum weight value 1
Since / i m is i m times, the sum of the weights satisfies the condition that the maximum value of the weights is an integral multiple of the integer i. Therefore, that the total sum of weights is an integral multiple of the integer i of the maximum value of the weights and that the total sum of weights is 1 is equivalent as a constraint condition when configuring the circuit.

【0053】従って、請求項4、請求項8、請求項9、
請求項13及び請求項15記載の発明の荷重平均回路で
は、重みの総和がj個の重みのうち最大値の重みの値の
前記整数iの整数乗倍に設定されていて、重みの総和を
1にできるので、正確にα×A+ (1-α)xBを計算で
き、明度の低下を防止できる。しかも、本発明の構成が
前記第3の方式を基本的に採用するので、ANDゲート
(ビット毎の乗算)と多入力の加算回路からなる乗算器
1個と同程度の回路規模及び動作速度を持つ。よって、
前記目的が達成される。
Therefore, claim 4, claim 8, claim 9,
In the weighted average circuit of the invention of claims 13 and 15, the sum of weights is set to an integral multiple of the integer i of the value of the maximum weight among the j weights, and the sum of weights is calculated. Since it can be set to 1, it is possible to accurately calculate α × A + (1-α) xB and prevent a decrease in brightness. Moreover, since the configuration of the present invention basically employs the third method, the circuit scale and operation speed are the same as one multiplier composed of an AND gate (multiplication for each bit) and a multi-input adder circuit. To have. Therefore,
The above object is achieved.

【0054】更に、請求項5、請求項10、請求項21
及び請求項22記載の発明の荷重平均回路では、ディジ
タル入力信号を選択して出力すればよい場合には、第2
の選択手段によってその出力を決定し、加算回路の入力
には全て第1の選択手段により定数値を入力すれば、デ
ィジタル入力信号が変化しても、加算回路の入力が定数
値であって一定であるので、加算回路の交流消費電力は
零になり、低消費電力化が図られて、本発明の前記他の
目的が達成される。
Further, claim 5, claim 10, claim 21.
In the weighted average circuit according to the twenty-second aspect of the present invention, when the digital input signal is selected and output, the second
If the output is determined by the selecting means and the constant value is input to all the inputs of the adding circuit, the input of the adding circuit is constant and constant even if the digital input signal changes. Therefore, the AC power consumption of the adder circuit becomes zero, the power consumption is reduced, and the other object of the present invention is achieved.

【0055】加えて、請求項6、請求項11、請求項1
8、請求項19及び請求項20記載の発明の荷重平均回
路では、ブレンド比率が比較的大きな重みだけの和で実
現できる場合は、第3及び第4の選択手段は第1の加算
回路の各々の入力にm個のディジタル入力信号から1つ
を選択して与え加算させ、第5の選択手段の全てが定数
値を選択するので、第2の加算回路の動作が停止して、
電力の消費を低減できる。これに対し、与えられたブレ
ンド比率の実現に対して小さな重みの入力の加算を必要
とする場合には、第4の選択手段の全てが第2の加算回
路の出力を選択するので、第1の加算回路及び第2の加
算回路を合せた1つの加算回路が構成されると共に、第
3の選択手段及び第5の選択手段がm個のディジタル入
力信号の中から1つを選択して前記1つの加算回路の入
力の各々に与え、この1つの加算回路で加算動作が行わ
れるに等しいので、細かい精度のブレンド比率の指定が
可能になる。
In addition, claim 6, claim 11, claim 1
In the weighted averaging circuit according to the present invention, the third and fourth selecting means are respectively provided in the first adding circuit when the blending ratio can be realized by the sum of only relatively large weights. Since one of the m digital input signals is selected and added to the input of, and all of the fifth selecting means select a constant value, the operation of the second adding circuit is stopped,
The power consumption can be reduced. On the other hand, when it is necessary to add inputs having small weights to realize a given blend ratio, all of the fourth selecting means select the output of the second adding circuit. And a second adder circuit is configured, and the third select means and the fifth select means select one from the m digital input signals, and Since it is equivalent to giving each input of one adder circuit and performing the addition operation in this one adder circuit, it is possible to specify the blending ratio with fine precision.

【0056】また、請求項12及び請求項14記載の発
明の荷重平均回路では、所定の中間桁で零捨一入を行う
ので、誤差は-(L/2-d)≦ε≦L/2 の範囲に入り、誤
差εが一様に分布すると仮定した場合のその平均値はd
/2となって、誤差及びその平均値が小さくなる。
Further, in the weighted average circuit according to the invention of claims 12 and 14, the error is-(L / 2-d) ≤ε≤L / 2 because the rounding is performed at a predetermined intermediate digit. If the error ε is assumed to be uniformly distributed, the average value is d
/ 2, and the error and its average value are reduced.

【0057】また、請求項16及び請求項17記載の発
明の荷重平均回路では、加算回路を桁上げ選択加算回路
で構成するので、桁上げ伝搬のために費やす遅延時間が
減少され、動作速度が速くなると共に、選択手段の構成
の変更によって前記遅延時間を一層に遅延でき、動作速
度をより早めることが可能である。
Further, in the weighted average circuit according to the sixteenth and seventeenth aspects of the present invention, since the adder circuit is constituted by the carry select adder circuit, the delay time spent for carry propagation is reduced and the operating speed is increased. In addition to being faster, the delay time can be further delayed by changing the configuration of the selecting means, and the operating speed can be further accelerated.

【0058】更に、請求項23及び請求項24記載の発
明の荷重平均回路では、デコーダが、ブレンド比率を表
す固定小数点2進数の符号から各選択手段の各々供給す
る選択制御信号へ変換する機能を有するので、扱い易い
符号を選ぶことができる。
Further, in the weighted averaging circuit according to the twenty-third and twenty-fourth aspects of the present invention, the decoder has a function of converting the sign of the fixed point binary number representing the blend ratio into the selection control signal supplied to each selection means. Since it has, it is possible to select a code that is easy to handle.

【0059】[0059]

【実施例】以下、本発明の実施例を図面に基いて説明す
る。
Embodiments of the present invention will be described below with reference to the drawings.

【0060】(画像ブレンド回路の第1の実施例)図1
は本実施例のウインドウ管理された画像ブレンド回路の
構成図である。同図において、100は画素位置情報供
給装置、102,103は第1及び第2の画像メモリ、
104は前記画素ブレンド装置、105はカウンタ、1
06はブレンド比率バッファ、107はデータセレク
タ、108はアトリビュートバッファ、109は中央処
理装置である。尚、図1において、ビット幅を付記した
太い実線は画素又は画素に対応した情報の転送を表し、
点線は画素クロックを含んだ画素位置情報の転送を表
し、細い実線はそれら以外の情報の転送を表す。図2に
データセレクタ107の機能表を示す。
(First Embodiment of Image Blending Circuit) FIG.
FIG. 3 is a configuration diagram of an image blending circuit managed by a window according to the present embodiment. In the figure, 100 is a pixel position information supply device, 102 and 103 are first and second image memories,
104 is the pixel blending device, 105 is a counter, 1
Reference numeral 06 is a blend ratio buffer, 107 is a data selector, 108 is an attribute buffer, and 109 is a central processing unit. In addition, in FIG. 1, a thick solid line with a bit width added indicates a pixel or information transfer corresponding to the pixel,
The dotted line represents the transfer of pixel position information including the pixel clock, and the thin solid line represents the transfer of other information. FIG. 2 shows a function table of the data selector 107.

【0061】図3に画素ブレンド装置4の構成図を示
す。同図において、111〜113は第1〜第3の荷重
平均回路、114はDフリップフロップ(D−F/F)
である。図5に荷重平均回路111〜113の構成図を
示す。同図の構成の詳細は後述し、ここでは簡易に説明
すると、201は加算回路、202〜206は前記加算
回路201の入力側に配置されたセレクタ、282はデ
コーダである。
FIG. 3 shows a block diagram of the pixel blending device 4. In the figure, 111 to 113 are first to third weighted average circuits, and 114 is a D flip-flop (D-F / F).
Is. FIG. 5 shows a configuration diagram of the weight averaging circuits 111 to 113. Details of the configuration of the figure will be described later, and in brief, here, 201 is an adder circuit, 202 to 206 are selectors arranged on the input side of the adder circuit 201, and 282 is a decoder.

【0062】以上のように構成されたウインドウ管理さ
れた画像ブレンド回路について、動作を説明する。
The operation of the window-managed image blending circuit configured as described above will be described.

【0063】本実施例では、表示用の矩形画面として横
方向に1152画素、縦方向に900画素の大きさをも
つ画面を用いるものとする。ただし、この画面をもつデ
ィスプレイ装置及びその制御装置は図には示さない。画
素ブレンド装置104の出力のディジタルRGB画素信
号はD/Aコンバータを含むディスプレイ制御装置によ
ってアナログ映像信号に変換されてディスプレイ装置に
送られるものとする。
In this embodiment, a screen having a size of 1152 pixels in the horizontal direction and 900 pixels in the vertical direction is used as a rectangular screen for display. However, the display device having this screen and its control device are not shown in the figure. The digital RGB pixel signal output from the pixel blending device 104 is converted into an analog video signal by a display control device including a D / A converter and sent to the display device.

【0064】画素位置情報供給装置101は、上記の画
面に表示される画素がディジタル化された情報をラスタ
ースキャン方式にて順次転送するための画素クロックを
含んだ画素位置情報を生成し出力する。ラスタースキャ
ン方式では、横方向に一列の1152画素を例えば左か
ら右方向に順に表示し、次に例えばその下の一列をその
左から右方向に表示する。最も下の一列を表示したら、
最も上の一列に戻って表示する。このようにして、画面
上の画素を順に転送することを繰り返す。このラスター
スキャン方式では、ある列の右端の画素を表示してから
次の一列の左端の画素を表示するまでの間は、表示位置
が離れているので、ディスプレイ装置の表示位置移動の
ための時間が必要であり、水平ブランク期間と呼ばれて
いる。この期間は画素の情報は転送されないか、転送さ
れても表示されない。また、特に最も下の一列を表示し
て、最も上の一列を表示するまでの間は、1画面のデー
タ転送の区切りでもあるので、垂直ブランク期間と呼ば
れている。画素位置情報供給装置101は、画素位置情
報として、画素クロックに加えて、水平ブランク期間を
示す信号と、垂直ブランク期間を示す信号とを出力す
る。画素クロックの周波数は20MHzである。
The pixel position information supply device 101 generates and outputs pixel position information including a pixel clock for sequentially transferring the information in which the pixels displayed on the screen are digitized by the raster scan method. In the raster scan method, one row of 1152 pixels is displayed in the horizontal direction in order from left to right, and then one row below it is displayed from left to right, for example. After displaying the bottom row,
Display back to the top row. In this way, the transfer of the pixels on the screen in order is repeated. In this raster scan method, the display position is distant from the display of the rightmost pixel in one column to the display of the leftmost pixel in the next column. Is required and is called the horizontal blank period. During this period, the pixel information is not transferred or is not displayed even if it is transferred. Further, it is also called a vertical blank period because it is also a delimiter for data transfer of one screen until the bottom one column is displayed and the top one column is displayed. The pixel position information supply device 101 outputs, as pixel position information, a signal indicating a horizontal blank period and a signal indicating a vertical blank period in addition to the pixel clock. The frequency of the pixel clock is 20 MHz.

【0065】第1及び第2の画像メモリ102,10
3、カウンタ105、ブレンド比率バッファ106、ア
トリビュートバッファ108は上記の画素クロック、水
平ブランク期間を示す信号、及び垂直ブランク期間を示
す信号を受け取り、同じ位置の画素に対応した情報を同
期してそれぞれ出力する。ある位置の画素の出力される
タイミングは、水平ブランク期間を示す信号及び垂直ブ
ランク期間を示す信号の変化と、画素クロックをカウン
トして決まる。
First and second image memories 102, 10
3, the counter 105, the blend ratio buffer 106, and the attribute buffer 108 receive the pixel clock, the signal indicating the horizontal blank period, and the signal indicating the vertical blank period, and synchronously output information corresponding to the pixel at the same position. To do. The output timing of the pixel at a certain position is determined by counting the pixel clock and the change in the signal indicating the horizontal blank period and the signal indicating the vertical blank period.

【0066】第1及び第2の画像メモリ102,103
は、ディスプレイ装置の画面と同一の大きさの画像の画
素の情報を出力する。本実施例では、画像の画素は、光
の3原色である赤色(Red) 、緑色(Green) 、青色(Blue)
(以下RGBという。)の各成分の強さを各々8ビット
の符号なし2進整数で表した24ビットのディジタル情
報で表現される。第1及び第2の画像メモリ102,1
03の出力する画素は、画素ブレンド装置104でブレ
ンドされない場合は、どちらかが選んで表示され、他方
は表示されないので、その場合は画素の情報はダミーの
適当な値でよい。例えば第2の画像メモリ103におい
て、ビデオカメラで撮影した映像の信号をディジタル化
して取り込んで出力する場合、映像信号の解像度や表示
される大きさの問題から、横1152画素×縦900画
素より小さい大きさに取り込まれることが考えられる。
その場合、第2の画像メモリ103は、取り込んだビデ
オカメラの画像に割り当てられた領域以外の領域の画素
を出力する時は、ダミーのデータを出力してよい。
First and second image memories 102 and 103
Outputs pixel information of an image having the same size as the screen of the display device. In this embodiment, the pixels of the image are the three primary colors of light: red (red), green (green), and blue (blue).
The strength of each component (hereinafter referred to as RGB) is represented by 24-bit digital information in which each bit is represented by an 8-bit unsigned binary integer. First and second image memories 102, 1
When the pixel output device 03 does not blend with the pixel blending device 104, either one is selected and displayed, and the other is not displayed. In that case, the pixel information may be an appropriate dummy value. For example, in the second image memory 103, when a signal of a video image captured by a video camera is digitized and captured and output, due to the resolution of the video signal and the displayed size, it is smaller than 1152 horizontal pixels × 900 vertical pixels. It can be considered to be included in the size.
In that case, the second image memory 103 may output dummy data when outputting pixels in a region other than the region assigned to the captured video camera image.

【0067】画素ブレンド装置104は、第1及び第2
の画像メモリ102,103から同期して転送されてく
る2系統のRGB画素データを、これらに同期して入力
されるブレンド比率に応じてブレンドし、ブレンド結果
としての画素を出力する。ブレンド比率は、本実施例で
は5ビットの固定小数点2進数である。その最上位ビッ
トを1の位とする。ただし、このような5ビットの固定
小数点2進数は1より大きい値も取り得るが、1を越え
る値はブレンド比率としてはおかしいので、固定小数点
2進数が1以上の場合、ブレンド比率としては1になる
ものとする。与えられたブレンド比率の値をα、第1の
画像メモリ2の出力のRGBのうち任意の色成分の値を
A、第2の画像メモリ3の出力の上記と同じ色成分の値
をBとすると、画素ブレンド装置104は、 α×A+(1−α)×B (1) を計算する。ただし、出力される値も各成分は8ビット
であるので、式(1)の小数点以下の値は切り捨てられ
て出力される。
The pixel blending device 104 includes the first and second
The two systems of RGB pixel data that are transferred in synchronization from the image memories 102 and 103 are blended according to the blending ratio that is input in synchronization with them, and the pixel as a blending result is output. The blend ratio is a 5-bit fixed point binary number in this embodiment. The most significant bit is the ones digit. However, such a 5-bit fixed-point binary number can take a value larger than 1, but a value exceeding 1 is strange as a blend ratio. Therefore, when the fixed-point binary number is 1 or more, the blend ratio becomes 1. Shall be. The value of the given blend ratio is α, the value of an arbitrary color component of RGB of the output of the first image memory 2 is A, and the value of the same color component of the output of the second image memory 3 is B. Then, the pixel blending device 104 calculates α × A + (1−α) × B (1). However, since each component of the output value is also 8 bits, the value after the decimal point of the expression (1) is truncated and output.

【0068】画素ブレンド装置104の内部では、図3
に示すように、第1の荷重平均回路111が赤色成分に
ついて、第2の荷重平均回路112が緑色成分につい
て、第3の荷重平均回路113が青色成分について、共
通のブレンド比率により、式(1)の計算を行なってい
る。ブレンド比率の値によって、式(1)の計算にかか
る時間は違ってくるので、荷重平均回路111〜113
の出力は一旦Dフリップフロップ114が受け取って、
ブレンド比率の値にかかわらずタイミングが一定になる
ように出力される。
Inside the pixel blending device 104, FIG.
As shown in, the first weighted average circuit 111 for the red component, the second weighted average circuit 112 for the green component, and the third weighted average circuit 113 for the blue component, according to the common blend ratio, the formula (1 ) Is calculated. Since the time required to calculate the formula (1) varies depending on the value of the blend ratio, the weighted average circuits 111 to 113
The output of is once received by the D flip-flop 114,
It is output so that the timing becomes constant regardless of the value of the blend ratio.

【0069】それぞれの荷重平均回路111〜113
は、図4に示すような構成により式(1)の計算を行な
っている。その詳細は後述し、以下、簡単に説明する
と、ブレンド比率αの値が1と0の間のときは、加算回
路201と入力セレクタ202〜206とにより前記式
(1)の計算が行なわれ、加算結果が加算回路201か
ら出力される。
Each of the weight average circuits 111 to 113
Calculates the equation (1) with the configuration shown in FIG. Details thereof will be described later, and briefly described below, when the value of the blend ratio α is between 1 and 0, the addition circuit 201 and the input selectors 202 to 206 perform the calculation of the equation (1), The addition result is output from the addition circuit 201.

【0070】このようにして、画素ブレンド装置104
により、第1の画像メモリ102の出力する画像と、第
2の画像メモリ103の出力する画像の合成画像が生成
される。この合成画像の各画素は、第1の画像メモリ1
02の出力する画素、第2の画像メモリ103の出力す
る画素、あるいは両者の半透明合成された画素のいずれ
かである。
In this way, the pixel blending device 104
As a result, a composite image of the image output from the first image memory 102 and the image output from the second image memory 103 is generated. Each pixel of this composite image corresponds to the first image memory 1
02, a pixel output from the second image memory 103, or a semi-transparent composite pixel of both.

【0071】さて、画素ブレンド装置104に与えられ
るブレンド比率は、カウンタ105、ブレンド比率バッ
ファ106、データセレクタ107、アトリビュートバ
ッファ108により生成される。
The blend ratio supplied to the pixel blend device 104 is generated by the counter 105, the blend ratio buffer 106, the data selector 107, and the attribute buffer 108.

【0072】カウンタ105は中央処理装置109の書
き込むブレンド比率の値を記憶し、記憶している値をデ
ータセレクタ107へ常に送っている。中央処理装置1
09から、初期値、終了値、速度を指定され、指示を受
けることによって、例えば垂直ブランク期間を示す信号
をカウントして自動的に変化する。指示を受けなけれ
ば、レジスタとして一定値の保持を行なっている。
The counter 105 stores the value of the blend ratio written by the central processing unit 109 and constantly sends the stored value to the data selector 107. Central processing unit 1
From 09, an initial value, an end value, and a speed are designated, and by receiving an instruction, for example, a signal indicating a vertical blank period is counted and automatically changed. If no instruction is received, the register holds a constant value.

【0073】ブレンド比率バッファ106は、ディスプ
レイ装置の画面の各画素に対応したブレンド比率の値を
記憶している。すなわち、1152×900個のブレン
ド比率を記憶している。これによって、画面上で任意の
ブレンド比率の分布を実現することができる。画素クロ
ックを含んだ画素位置情報にしたがって、ブレンド比率
バッファ106内のブレンド比率データは順次読み出さ
れてデータセレクタ107に送られる。
The blend ratio buffer 106 stores a blend ratio value corresponding to each pixel on the screen of the display device. That is, 1152 × 900 blend ratios are stored. This makes it possible to realize an arbitrary blend ratio distribution on the screen. The blend ratio data in the blend ratio buffer 106 is sequentially read according to the pixel position information including the pixel clock and sent to the data selector 107.

【0074】データセレクタ107は、アトリビュート
バッファ108から送られる制御信号によって、画素ご
とに、カウンタ105の出力した値とブレンド比率バッ
ファ106の出力した値のどちらかを選んで画素ブレン
ド装置104に出力する。
The data selector 107 selects either the value output by the counter 105 or the value output by the blend ratio buffer 106 for each pixel according to the control signal sent from the attribute buffer 108, and outputs the selected value to the pixel blending device 104. .

【0075】アトリビュートバッファ108は、各画素
に対応して、データセレクタ107に与える制御信号の
値、すなわち、ブレンド比率としてカウンタ105の出
力とブレンド比率バッファ106の出力のどちらを用い
るかを1ビット2進数で記憶していて、画素クロックを
含んだ画素位置情報に応じて、順次この1ビット2進数
の制御信号をデータセレクタ107に出力している。
The attribute buffer 108 determines whether the value of the control signal given to the data selector 107, that is, the output of the counter 105 or the output of the blend ratio buffer 106 is used as the blend ratio corresponding to each pixel. It is stored in a base number and sequentially outputs the control signal of a 1-bit binary number to the data selector 107 according to the pixel position information including the pixel clock.

【0076】中央処理装置109は操作者のウインドウ
操作に応じてブレンド比率バッファ106、アトリビュ
ートバッファ108の内容の更新を行なう。
The central processing unit 109 updates the contents of the blend ratio buffer 106 and the attribute buffer 108 according to the window operation of the operator.

【0077】次に、画面上にウインドウを表示した場合
の動作を説明する。
Next, the operation when a window is displayed on the screen will be described.

【0078】ディスプレイ画面上の座標を、左上端を
(0,0) として右にx画素、下にy画素移動した位置を
(x,y) と表すこととする。説明のための例として、設定
するウインドウの位置と大きさを、図5に示す。同図に
おいて、125〜127は第1〜第3の領域、130は
ディスプレイ画面である。第1〜第3の領域125〜1
27は全て、縦横の辺がそれぞれディスプレイ画面30
と平行な矩形の領域である。第1の領域125は、左上
端を(50,50) 、右下端を(529,349) とする大きさ480
×300の領域である。第2の領域126は、左上端を
(450,400) 、右下端を(1089,879)とする大きさ640×
480の領域である。第3の領域127は、左上端を(3
00,200) 、右下端を(939,679) とする大きさ640×4
80の領域である。
Set the coordinates on the display screen to the upper left corner.
As (0,0), the position moved x pixels to the right and y pixels downward is
It is expressed as (x, y). As an example for explanation, the position and size of the window to be set are shown in FIG. In the figure, 125 to 127 are first to third areas, and 130 is a display screen. First to third areas 125-1
27 are display screens 30 with vertical and horizontal sides
It is a rectangular area parallel to. The first region 125 has a size of 480 with the upper left end at (50,50) and the lower right end at (529,349).
This is an area of × 300. The second area 126 has an upper left corner.
(450,400), the size of the lower right corner is (1089,879) 640 ×
It is an area of 480. The third area 127 has the upper left corner (3
00,200), the size of the lower right corner is (939,679) 640 × 4
There are 80 areas.

【0079】図6において、第4の領域128は、上記
第1の領域125と第3の領域127の重なる領域であ
り、左上端を(300,200) 、右下端を(529,349) とする大
きさ230×150の領域である。第5の領域129
は、上記第2の領域126と第3の領域127の重なる
領域であり、左上端を(450,400) 、右下端を(939,679)
とする大きさ490×280の領域である。
In FIG. 6, the fourth area 128 is an area where the first area 125 and the third area 127 overlap, and the size 230 is such that the upper left end is (300,200) and the lower right end is (529,349). This is a region of × 150. Fifth region 129
Is a region where the second region 126 and the third region 127 overlap, and the upper left end is (450,400) and the lower right end is (939,679).
It is a region of size 490 × 280.

【0080】ここで、第1及び第2の画像メモリ10
2,103はディスプレイ画面に対応して画像を記憶し
ていて、その画素を出力するものとする。いま、図7の
ように第1の領域125に文書131が表示され、第2
の領域126に図柄132が表示されていて、この文書
131及び図柄132より成る画像は図8に示すように
第1の画像メモリ102が記憶していて出力しているも
のとする。ブレンド比率バッファ106の内容は、ディ
スプレイ画面130上の全ての画素に対してブレンド比
率1であり(このブレンド比率を簡易に2桁16進数
(本来は5ビット)でディスプレイ画面130上に並べ
ると、図8に示すようになる)、アトリビュートバッフ
ァ108の内容は、図8に示すようにディスプレイ画面
130上の全ての画素に対してブレンド比率バッファ1
06の出力の選択を指示する値0である。これによっ
て、データセレクタ107はブレンド比率バッファ10
6の出力を選択して、画素ブレンド装置104は全ての
画素において第1の画像メモリ102の出力を選択して
ディスプレイ装置に送っている。尚、この場合、カウン
タ105が記憶するブレンド比率の値は参照されない。
Here, the first and second image memories 10
Reference numerals 2 and 103 store images corresponding to the display screen and output the pixels. Now, the document 131 is displayed in the first area 125 as shown in FIG.
It is assumed that the pattern 132 is displayed in the area 126 of 1. and the image composed of the document 131 and the pattern 132 is stored in the first image memory 102 and output as shown in FIG. The content of the blend ratio buffer 106 is a blend ratio of 1 for all pixels on the display screen 130. (If this blend ratio is simply arranged in a 2-digit hexadecimal number (originally 5 bits) on the display screen 130, As shown in FIG. 8, the contents of the attribute buffer 108 are the blend ratio buffer 1 for all pixels on the display screen 130 as shown in FIG.
The value 0 is an instruction to select the output of 06. As a result, the data selector 107 causes the blend ratio buffer 10
6, the pixel blending device 104 selects the output of the first image memory 102 for all the pixels and sends it to the display device. In this case, the value of the blend ratio stored in the counter 105 is not referred to.

【0081】次に、図柄132が表示されたウインドウ
を第3の領域127に移動すると、文書131と図柄1
32の重複が第4の領域128において発生するので、
図9に示すように領域128で文書131と図柄132
とを半透明合成する。この半透明合成の動作を説明する
と、前記図柄132のうちの第4の領域128上に移動
してきた部分は、図10に示すように、文書131のう
ちの領域128上の部分に上書きせずに、第2の画像メ
モリ103のうちの領域128に対応する部分に転送さ
れる。こうして、第1の画像メモリ102の記憶する画
像のうちの領域128には文書131の一部があり、第
2の画像メモリ103の記憶する画像のうちの領域12
8には図柄132の一部があるので、第1及び第2の両
画像メモリ102,103の各領域128の画素が同時
に出力された時にブレンド比率を0と1の間の値にすれ
ば、図9のように領域128で文書131と図柄132
は半透明合成される。
Next, when the window in which the design 132 is displayed is moved to the third area 127, the document 131 and the design 1
Since 32 duplications occur in the fourth region 128,
As shown in FIG. 9, in the area 128, the document 131 and the design 132
And are semi-transparent. Explaining the operation of the semi-transparent composition, the portion of the pattern 132 that has moved to the fourth area 128 is not overwritten on the portion of the document 131 on the area 128, as shown in FIG. Then, the data is transferred to the portion of the second image memory 103 corresponding to the area 128. Thus, there is a portion of the document 131 in the area 128 of the images stored in the first image memory 102, and the area 12 of the images stored in the second image memory 103.
Since 8 has a part of the pattern 132, if the blend ratio is set to a value between 0 and 1 when the pixels of the regions 128 of the first and second image memories 102 and 103 are simultaneously output, As shown in FIG. 9, in the area 128, the document 131 and the pattern 132
Is semi-transparent.

【0082】このとき、第4の領域128でブレンド比
率を0と1の間の値にするために、2通りの方法があ
る。1つは、アトリビュートバッファ108の内容は変
更せずに、ブレンド比率バッファ106の領域28の内
容を変更する方法であり、230×150×5=172,50
0 ビットのデータの書き込みを必要とする。もう1つ
は、ブレンド比率バッファ106の内容は変更せずに、
カウンタ105に0と1の間の値を設定し、アトリビュ
ートバッファ108の領域128の内容をカウンタ10
5の出力を選択する値に変更する方法であり、230×
150×1=34,500ビットのデータの書き込みを必要と
するので、ブレンド比率バッファ106の内容を変更す
る方法の5分の1のデータ書き込みで済む。
At this time, there are two methods for setting the blend ratio in the fourth region 128 to a value between 0 and 1. One is a method of changing the contents of the area 28 of the blend ratio buffer 106 without changing the contents of the attribute buffer 108. 230 × 150 × 5 = 172,50
It is necessary to write 0-bit data. The other is that the content of the blend ratio buffer 106 is not changed,
A value between 0 and 1 is set in the counter 105, and the contents of the area 128 of the attribute buffer 108 are set in the counter 10
It is a method to change the output of 5 to the selected value, 230 ×
Since it is necessary to write data of 150 × 1 = 34,500 bits, one-fifth the data writing of the method of changing the content of the blend ratio buffer 106 is sufficient.

【0083】従って、本実施例では、図10に示すよう
に、ブレンド比率バッファ106の内容は、ディスプレ
イ画面130上の領域128を除く画素に対してブレン
ド比率1であり(同図に示すブレンド比率は図8のブレ
ンド比率と同様に簡易な2桁16進数表示である。また
領域128の画素に対しては、参照されないので、同図
に斜線を施して示すように如何なる値でもよい)、カウ
ンタ105が記憶するブレンド比率の値は図10に示す
ように前記と同様の簡易な2桁16進数表示で08であ
る。また、アトリビュートバッファ108の内容は、図
10に示すようにディスプレイ画面130上の領域12
8を除く画素に対してブレンド比率バッファ106の出
力の選択を指示する値0であり、領域128ではカウン
タ105の出力の選択を指示する値1である。これによ
って、データセレクタ107は、図10に示すようにデ
ィスプレイ画面130上の領域128を除く領域に対し
てブレンド比率バッファ106の出力を選択し、領域1
28ではカウンタ105の出力を選択する。その結果、
画素ブレンド装置104は、ディスプレイ画面130上
の領域128を除く画素において第1の画像メモリ10
2の出力を選択し、領域128の画素において第1の画
像メモリ102の出力と第2の画像メモリ103の出力
とを半透明合成して、ディスプレイ装置に送ることにな
る。
Therefore, in the present embodiment, as shown in FIG. 10, the content of the blend ratio buffer 106 is the blend ratio 1 for the pixels excluding the region 128 on the display screen 130 (the blend ratio shown in the same figure). Is a simple two-digit hexadecimal display similar to the blending ratio in Fig. 8. Since the pixels in the area 128 are not referred to, any value may be used as shown by hatching in the drawing), counter As shown in FIG. 10, the value of the blend ratio stored in 105 is 08 in the same simple 2-digit hexadecimal display as described above. The contents of the attribute buffer 108 are stored in the area 12 on the display screen 130 as shown in FIG.
The value 0 is an instruction to select the output of the blend ratio buffer 106 for pixels other than 8, and the value 1 is an instruction to select an output of the counter 105 in the area 128. As a result, the data selector 107 selects the output of the blend ratio buffer 106 for the area other than the area 128 on the display screen 130 as shown in FIG.
At 28, the output of the counter 105 is selected. as a result,
The pixel blending device 104 uses the first image memory 10 in the pixels excluding the area 128 on the display screen 130.
The output of 2 is selected, the output of the first image memory 102 and the output of the second image memory 103 are semitransparently synthesized in the pixels of the region 128, and the result is sent to the display device.

【0084】図9のように、ディスプレイ画面130の
1152×900=1,036,800 画素のうち、領域128
の230×150=34,500画素でのみ0と1の間の値の
ブレンド比率でブレンドを行なっている場合、画素ブレ
ンド装置104の内部に設けられた荷重平均回路111
〜113の各々の内部の加算回路201は、領域128
の画素が出力される間のみ動作する。動作しない時は電
力消費はないと仮定すると、全ての画素について動作し
ている場合の34,500/1,036,800 ×100 =3.3%の電
力消費で済む。
As shown in FIG. 9, of the 1152 × 900 = 1,036,800 pixels of the display screen 130, the area 128
230 × 150 = 34,500 pixels, the weighted average circuit 111 provided inside the pixel blending device 104 is used when blending is performed with a blending ratio between 0 and 1.
Each of the adder circuits 201 in each of
It operates only while the pixel of is output. Assuming that there is no power consumption when not operating, 34,500 / 1,036,800 × 100 = 3.3% of the power consumption when operating for all pixels is sufficient.

【0085】また、カウンタ105の計数動作を起動す
ることによって、半透明合成を行なっている場合のブレ
ンド比率を、中央処理装置109が一々書き込みに来な
くても、徐々に変化させることができるので、スムーズ
なブレンド比率の変化を中央処理装置109の負担とせ
ずに実現できる。ビデオ信号等の動画像を表示している
ときにシーンやチャンネルの切替をソフトなイメージを
与える変化で行なうことができる。図9のように静止画
のウインドウが重なっている場合も、適当な速さでスム
ーズにブレンド比率を変化させて、重複部分の情報を交
互に表示してやれば、常に一定のブレンド比率で表示す
るよりも表示内容を読みとり易く、また瞬間的に切替え
て交互に表示するよりも目が疲れなくて済む。
Further, by activating the counting operation of the counter 105, the blend ratio in the case of performing the semi-transparent composition can be gradually changed even if the central processing unit 109 does not come to write data one by one. Therefore, the smooth change of the blend ratio can be realized without burdening the central processing unit 109. When a moving image such as a video signal is displayed, scenes and channels can be switched by a change that gives a soft image. Even when the windows of the still images are overlapped as shown in FIG. 9, if the blend ratio is smoothly changed at an appropriate speed and the information of the overlapping portion is alternately displayed, the blend ratio is constantly displayed. The display contents are easy to read, and the eyes are less tired than when the display is switched instantaneously and alternately displayed.

【0086】(画像ブレンド回路の第2の実施例)本発
明の画像ブレンド回路の第2の実施例について、図面を
参照しながら説明する。
(Second Embodiment of Image Blending Circuit) A second embodiment of the image blending circuit of the present invention will be described with reference to the drawings.

【0087】図11は本発明の画像ブレンド回路の第2
の実施例の構成図である。同図において、133は2ビ
ット選択入力のデータセレクタ、134は2ビット出力
のアトリビュートバッファである。なお、図1と同じ構
成要素については同一番号を付した。図12にデータセ
レクタ133の機能表を示す。
FIG. 11 shows the second part of the image blending circuit of the present invention.
It is a block diagram of the Example of. In the figure, 133 is a 2-bit selection input data selector, and 134 is a 2-bit output attribute buffer. The same components as those in FIG. 1 are designated by the same reference numerals. FIG. 12 shows a function table of the data selector 133.

【0088】本実施例は、前記第1の実施例におけるデ
ータセレクタ107を、カウンタ105の出力とブレン
ド比率バッファ106の出力と、それ以外の2つの固定
のブレンド比率とから選んで出力するデータセレクタ1
33に置き換え、データセレクタ133の制御信号は2
ビットであるので、アトリビュートバッファ108を、
1つの画素に対し2ビットの制御信号を記憶するアトリ
ビュートバッファ134に置き換えたものである。図1
2から判るように2つの固定のブレンド比率の値は、0
と1である。したがって、ブレンド比率として、カウン
タ105の出力とブレンド比率バッファ106の出力に
2つの定数値を加えた4つの値から、画素ごとに、アト
リビュートバッファ134の値で制御して選ぶ。それ以
外の動作は画像ブレンド回路の前記第1の実施例と同様
である。
In this embodiment, the data selector 107 of the first embodiment is selected and outputted from the output of the counter 105, the output of the blend ratio buffer 106, and the other two fixed blend ratios. 1
33, and the control signal of the data selector 133 is 2
Since it is a bit, the attribute buffer 108
This is replaced with an attribute buffer 134 that stores a 2-bit control signal for one pixel. Figure 1
As can be seen from 2, the value of the two fixed blend ratios is 0.
And 1. Therefore, the blend ratio is selected from four values obtained by adding two constant values to the output of the counter 105 and the output of the blend ratio buffer 106 by controlling the value of the attribute buffer 134 for each pixel. The other operation is the same as that of the first embodiment of the image blending circuit.

【0089】前記第1の実施例の画像ブレンド回路で
は、図7のように半透明合成が行なわれていない表示状
態の時、画素ブレンド装置104が第1の画像メモリ1
02の出力を選択するように、ブレンド比率バッファ1
06は全ての画素に対して値1を記憶している。したが
って、画像ブレンド回路を含む情報処理装置の電源を投
入して、図7のような表示状態に移行するまでの間に、
一度ブレンド比率バッファ106の全ての画素の値を書
き込んでやる必要がある。これは1152×900×5
=5,184,000 ビットのデータの書き込みになる。
In the image blending circuit of the first embodiment, in the display state in which the translucent composition is not performed as shown in FIG. 7, the pixel blending device 104 makes the first image memory 1
Blend ratio buffer 1 to select 02 output
06 stores the value 1 for all pixels. Therefore, until the information display device including the image blending circuit is turned on and the display state as shown in FIG. 7 is entered,
It is necessary to write the values of all the pixels in the blend ratio buffer 106 once. This is 1152 x 900 x 5
= Write 5,184,000 bits of data.

【0090】これに対して、本実施例の画像ブレンド回
路においては、図13に示すようにデータセレクタ13
3が定数としてのブレンド比率の値1を選ぶことができ
るので、表示される全ての画素に対してブレンド比率の
値1を与えるために、アトリビュートバッファ134の
全ての画素に対応する値を2進数11にすればよく、同
図に示すようにブレンド比率バッファ106に対しては
ブレンド比率の書き換えが不要となる。したがって、1
152×900×2=2,037,600 ビットのデータの書き
込みになり、2/5のデータ書き込みで済む。
On the other hand, in the image blend circuit of this embodiment, as shown in FIG.
Since 3 can select the value 1 of the blend ratio as a constant, in order to give the value 1 of the blend ratio to all the displayed pixels, the values corresponding to all the pixels of the attribute buffer 134 are set to binary numbers. 11, the blend ratio buffer 106 does not need to be rewritten as shown in FIG. Therefore, 1
152 × 900 × 2 = 2,037,600 bits of data can be written, and 2/5 data can be written.

【0091】また、図9に示すようにディスプレイ表示
画面130上の一部の領域128でのみ2情報が重なっ
た場合には、図14に示すように、ディスプレイ表示画
面130の領域128を除く領域でアトリビュートバッ
ファ134の値を2進数11に設定してデータセレクタ
133でブレンド比率の値1を選択し、画素ブレンド装
置104で第1の画像メモリ102の出力を選択させる
と共に、ディスプレイ表示画面130の領域128では
アトリビュートバッファ134の値を2進数01に設定
してデータセレクタ133でカウンタ105のブレンド
比率の値08を選択させ、画素ブレンド装置104で第
1の画像メモリ102の出力と第2の画像メモリ103
の出力とをそのブレンド比率08で合成させる。
When two pieces of information overlap only in a partial area 128 on the display screen 130 as shown in FIG. 9, the area excluding the area 128 on the display screen 130 as shown in FIG. To set the value of the attribute buffer 134 to binary 11, select the blending ratio value 1 with the data selector 133, select the output of the first image memory 102 with the pixel blending device 104, and display the display screen 130. In the area 128, the value of the attribute buffer 134 is set to binary 01, the data selector 133 is caused to select the blend ratio value 08 of the counter 105, and the pixel blending device 104 outputs the first image memory 102 and the second image. Memory 103
And the output of are combined with the blend ratio 08.

【0092】以上のように、本第2の実施例によれば、
前記第1の実施例の1ビット選択入力のデータセレクタ
107を、2ビット選択入力のデータセレクタ133に
置き換え、アトリビュートバッファ108を、2ビット
出力のアトリビュートバッファ134に置き換えること
によって、ウインドウに対応してブレンド比率を設定す
る場合に、書き込むデータ量がより少なくて済む。
As described above, according to the second embodiment,
By replacing the 1-bit selection input data selector 107 of the first embodiment with the 2-bit selection input data selector 133 and replacing the attribute buffer 108 with the 2-bit output attribute buffer 134, a window corresponding to the window is obtained. When setting the blend ratio, the amount of data to be written can be smaller.

【0093】(画像ブレンド回路の第3の実施例)以
下、本発明の画像ブレンド回路の第3の実施例につい
て、図面を参照しながら説明する。
(Third Embodiment of Image Blending Circuit) A third embodiment of the image blending circuit of the present invention will be described below with reference to the drawings.

【0094】図15は本発明の第3の実施例の構成図で
ある。図15において、135はウインドウ情報記憶装
置、136は制御信号決定装置である。なお、図11と
同じ構成要素については同一番号を付した。
FIG. 15 is a block diagram of the third embodiment of the present invention. In FIG. 15, 135 is a window information storage device and 136 is a control signal determination device. The same components as those in FIG. 11 are designated by the same reference numerals.

【0095】本実施例は、前記第2の実施例におけるア
トリビュートバッファ134を、ウインドウ情報記憶装
置135及び制御信号決定装置136に置き換えたもの
である。
In this embodiment, the attribute buffer 134 in the second embodiment is replaced with a window information storage device 135 and a control signal determining device 136.

【0096】ウインドウ情報記憶装置135は、表示す
るウインドウの各々の座標、優先度(重なり情報)、及
びブレンド比率の選択を記憶する。例えば、図7及び図
9の状態でのウインドウ情報記憶装置135の記憶情報
は、それぞれ図16及び図17の表のようになる。ただ
し、図16及び図17の備考欄の情報は、ウインドウ情
報記憶装置135に記憶する必要はない。ウインドウ情
報記憶装置135の記憶した情報は、制御信号決定装置
136によって常に参照されている。
The window information storage device 135 stores the selection of coordinates, priority (overlap information), and blend ratio of each window to be displayed. For example, the storage information of the window information storage device 135 in the states of FIGS. 7 and 9 is as shown in the tables of FIGS. 16 and 17, respectively. However, the information in the remarks column in FIGS. 16 and 17 does not need to be stored in the window information storage device 135. The information stored in the window information storage device 135 is always referred to by the control signal determination device 136.

【0097】制御信号決定装置136は、画素位置情報
供給装置101からの画素クロック、水平ブランク期間
を示す信号及び垂直ブランク期間を示す信号を受け取
り、水平ブランク期間を示す信号と画素クロックとをカ
ウントして、転送される画素の座標を計算する。この座
標と、ウインドウ情報記憶装置135の記憶した各ウイ
ンドウの座標とを比較して、転送される画素がどのウイ
ンドウに含まれるか決定する。2つ以上のウインドウに
含まれる場合、優先度が最大のウインドウに含まれるも
のとする。制御信号決定装置136は、こうして決定し
たウインドウの、ブレンド比率の選択により、データセ
レクタ133の制御信号を決定して出力する。この出力
の内容は、前記図7に示すディスプレイ表示画面上に2
情報の重なりがある場合及びその重なりがない図9の場
合の双方で、図13及び図14と同一である。
The control signal determining device 136 receives the pixel clock, the signal indicating the horizontal blank period and the signal indicating the vertical blank period from the pixel position information supplying device 101, and counts the signal indicating the horizontal blank period and the pixel clock. And calculate the coordinates of the transferred pixel. This coordinate is compared with the coordinate of each window stored in the window information storage device 135 to determine in which window the pixel to be transferred is included. When it is included in two or more windows, it is included in the window having the highest priority. The control signal determination device 136 determines and outputs the control signal of the data selector 133 by selecting the blend ratio of the window thus determined. The contents of this output are displayed on the display screen shown in FIG.
It is the same as FIG. 13 and FIG. 14 both in the case of FIG. 9 where there is information overlap and in the case where there is no information overlap.

【0098】ウインドウ情報記憶装置135の記憶する
情報は、画面の全ての座標に対して、それが含まれると
決定されるウインドウは唯一つでなければならない。す
なわち、座標計算で2つ以上のウインドウに含まれる場
合、優先度が最大のウインドウは唯一つでなければなら
ない。中央処理装置109は、ウインドウの設定を行な
いウインドウ情報記憶装置135の記憶内容を更新する
際に、この制約に従わなければならない。
The information stored in the window information storage device 135 must be the only one window determined to be included in all the coordinates on the screen. That is, when the coordinates are included in two or more windows, only one window has the highest priority. The central processing unit 109 must obey this restriction when setting windows and updating the storage contents of the window information storage device 135.

【0099】ウインドウ情報記憶装置135の記憶する
それぞれのウインドウ(図16及び図17の表の1行の
データに対応)は、操作者の操作する単位としてのウイ
ンドウと必ずしも一致しない。例えば、図9の表示状態
では、操作者の操作する単位としてのウインドウは、第
1の領域125に表示された文書131と、第3の領域
127に表示された図柄132との2つであるが、ウイ
ンドウ情報記憶装置135では、これらに加えて全画面
を表すルートウインドウと、第4の領域128に相当す
る重複部分に対応したウインドウのデータが必要であ
り、図17の情報を記憶する。図17において、例えば
第4の領域128内の表示位置では、ルートウインドウ
以外の3つの登録されたウインドウが座標計算で一致す
るが、優先度を考慮すると、優先度2の、文書131と
図柄132との重複に対応するウインドウのみが選ば
れ、上記の制約を満たしている。
Each window stored in the window information storage device 135 (corresponding to one row of data in the tables of FIGS. 16 and 17) does not necessarily match the window as a unit operated by the operator. For example, in the display state of FIG. 9, there are two windows as units operated by the operator: the document 131 displayed in the first area 125 and the pattern 132 displayed in the third area 127. However, in addition to these, the window information storage device 135 needs the root window representing the entire screen and the window data corresponding to the overlapping portion corresponding to the fourth area 128, and stores the information in FIG. In FIG. 17, for example, at the display position in the fourth area 128, the three registered windows other than the root window match in the coordinate calculation, but considering the priority, the document 131 and the pattern 132 of priority 2 Only the windows corresponding to the overlap with and are selected and satisfy the above constraints.

【0100】各画素のブレンド比率の決定方法は上記の
通りであり、それ以外の本実施例の動作は前記第2の実
施例と同一である。
The method of determining the blend ratio of each pixel is as described above, and the other operations of this embodiment are the same as those of the second embodiment.

【0101】前記第2の実施例の画像ブレンド回路で
は、電源を投入してから図7のように半透明合成が行な
われていない表示状態へ移行するまでの間に、画素ブレ
ンド装置104が第1の画像メモリ102の出力を選択
するように、アトリビュートバッファ134に、全ての
画素に対して、2進数11が書き込まれる。したがっ
て、1152×900×2=2,037,600 ビットのデータ
の書き込みになる。
In the image blending circuit of the second embodiment, the pixel blending device 104 sets the pixel blending device 104 to the first state after the power is turned on and before the transition to the display state where the semitransparent composition is not performed as shown in FIG. The binary number 11 is written to all the pixels in the attribute buffer 134 so that the output of the image memory 102 of 1 is selected. Therefore, 1152 × 900 × 2 = 2,037,600 bits of data is written.

【0102】これに対して、本実施例では、図7の表示
状態へ移行するために、上記のアトリビュートバッファ
134のデータの書き込みの代りに、ウインドウ情報記
憶装置135に図16の表の情報を書き込むだけで良
い。このデータのビット数は、横方向の座標が11ビッ
ト、縦方向の座標が10ビット、優先度は、いくつを最
大とするかは登録可能とするウインドウの数にもよる
が、仮に0〜511として9ビット、ブレンド比率の選
択は制御信号をそのまま用いて2ビットとすると、1つ
のウインドウで32ビット必要であり、図16では3つ
のウインドウ情報があるので96ビットで良い。
On the other hand, in the present embodiment, in order to shift to the display state of FIG. 7, instead of writing the data of the attribute buffer 134, the information of the table of FIG. 16 is stored in the window information storage device 135. Just write in. The number of bits of this data is 11 bits in the horizontal direction, 10 bits in the vertical direction, and the maximum priority depends on the number of windows that can be registered, but it is 0 to 511. If the control signal is used as it is and the selection of the blend ratio is 2 bits, 32 bits are required for one window, and since there are three pieces of window information in FIG. 16, 96 bits are sufficient.

【0103】また、図7から図柄32のウインドウを移
動して図9の状態に移行する場合でも、第1及び第2の
実施例の画像ブレンド回路のように、アトリビュートバ
ッファ18又は134の領域128の内容をカウンタ1
05の出力を選択する値に変更するため、230×15
0=34,500 画素の情報を変更する代りに、ウインドウ
情報記憶装置135の、図柄132のウインドウに対応
する情報を更新し、領域128に相当する重複部分に対
応するウインドウの情報を追加してやればよく、64ビ
ットのデータ書き込みでよい。
Further, even when the window of the symbol 32 is moved from FIG. 7 to the state of FIG. 9, the area 128 of the attribute buffer 18 or 134, like the image blending circuits of the first and second embodiments. Counter contents 1
230 × 15 to change the output of 05 to the selected value
Instead of changing the information of 0 = 34,500 pixels, the information corresponding to the window of the pattern 132 in the window information storage device 135 may be updated, and the information of the window corresponding to the overlapping portion corresponding to the area 128 may be added. 64-bit data writing is sufficient.

【0104】本第3の実施例では、ウインドウの数や重
複箇所を増やすと、ウインドウ情報記憶装置135に記
憶しなければならない情報が増え、ウインドウの操作に
より更新しなければならない情報量も増える。したがっ
て、ウインドウの数や重複箇所の設定可能な限界が、ウ
インドウ情報記憶装置135の記憶容量によって制限さ
れる。このことを考慮しても、ウインドウの操作により
表示状態の面積(画素数)が大きい場合に対しては必要
なデータ書き込み量は少なくて済む。
In the third embodiment, when the number of windows and the number of overlapping portions are increased, the amount of information that needs to be stored in the window information storage device 135 increases, and the amount of information that needs to be updated by operating the window also increases. Therefore, the storage capacity of the window information storage device 135 limits the settable limit of the number of windows and the overlapping portion. Even in consideration of this, the amount of data to be written is small when the area (number of pixels) in the display state is large due to the window operation.

【0105】以上のように本第3の実施例によれば、前
記第2の実施例におけるアトリビュートバッファ134
を、ウインドウ情報記憶装置135及び制御信号決定装
置136に置き換えることによって、ウインドウに対応
してブレンド比率を設定したり、ウインドウ操作に対し
て表示状態を更新したりする場合に、書き込むデータ量
がより少なくて済む。
As described above, according to the third embodiment, the attribute buffer 134 in the second embodiment is used.
Is replaced by the window information storage device 135 and the control signal determination device 136, so that when the blend ratio is set corresponding to the window or the display state is updated in response to the window operation, the amount of data to be written becomes larger. It can be small.

【0106】尚、前記第1の実施例におけるアトリビュ
ートバッファ108を、本実施例の場合と同様のウイン
ドウ情報記憶装置と制御信号決定装置とに置き換えても
よい。
The attribute buffer 108 in the first embodiment may be replaced with the same window information storage device and control signal determination device as in the present embodiment.

【0107】さて、上記全ての実施例ではレジスタの役
割を兼ねたカウンタ105をただ1つ設けたが、2つ以
上設けても良い。特に、第2及び第3の実施例におい
て、データセレクタ133の選択する固定の値0、1の
代りに、レジスタ又はカウンタを増やしてその出力を選
択しても良い。その場合、レジスタの数だけ、個別に高
速にブレンド比率を書き換えることのできる領域を増や
すことができる。ただし、レジスタを増やすと、データ
セレクタ107又は133の選択する選択肢の数が増
え、その制御信号のビット数が増えて、アトリビュート
バッファ108又は134あるいはウインドウ情報記憶
装置135の容量が増加し、高速化の効果も小さくなっ
てくることに注意しなければならない。低速でも許容で
きるような場合は、ブレンド比率バッファ106で任意
のブレンド比率分布が実現できることも考慮する必要が
ある。
In all of the above embodiments, only one counter 105 also serving as a register is provided, but two or more counters may be provided. In particular, in the second and third embodiments, instead of the fixed values 0 and 1 selected by the data selector 133, the number of registers or counters may be increased to select the output. In that case, it is possible to increase the number of regions in which the blend ratio can be individually rewritten at high speed by the number of registers. However, if the number of registers is increased, the number of options selected by the data selector 107 or 133 is increased, the number of bits of the control signal is increased, the capacity of the attribute buffer 108 or 134 or the window information storage device 135 is increased, and the speed is increased. It must be noted that the effect of will become smaller. In the case where low speed is acceptable, it is necessary to consider that the blend ratio buffer 106 can realize an arbitrary blend ratio distribution.

【0108】(荷重平均回路の第1の実施例)整数i
(2進数の2)の整数乗倍 以下、本発明の荷重平均回路の第1の実施例について前
記図4を参照して説明する。
(First Embodiment of Weighted Average Circuit) Integer i
An integer multiple of (binary number 2) Hereinafter, a first embodiment of the weighted average circuit of the present invention will be described with reference to FIG.

【0109】図4は本発明の第1の実施例の構成図であ
る。同図において、201は加算回路(加算手段)、2
02〜206は選択器(選択手段)である。各選択器2
02〜206の論理回路図を図18に示す。同図におい
て、207は反転器、208〜215は2入力論理積回
路、216〜231は2入力論理和回路である。
FIG. 4 is a block diagram of the first embodiment of the present invention. In the figure, 201 is an adder circuit (adding means), 2
02 to 206 are selectors (selection means). Each selector 2
A logic circuit diagram of 02 to 206 is shown in FIG. In the figure, 207 is an inverter, 208 to 215 are 2-input logical product circuits, and 216 to 231 are 2-input logical sum circuits.

【0110】加算回路201は、図19に示す部分加算
回路232と、図20に示す部分加算回路257を継続
接続して構成される。図19の部分加算回路232の出
力Σ1が図20の部分加算回路257の入力Aに、部分
加算回路232の出力Σ2が加算回路257の入力Bに
接続される。図19、図20において、233〜256
及び258〜265は1ビットの全加算器である。図2
1にその論理回路の動作の真理値表を示す。
The adder circuit 201 is constructed by continuously connecting the partial adder circuit 232 shown in FIG. 19 and the partial adder circuit 257 shown in FIG. The output Σ1 of the partial adder circuit 232 of FIG. 19 is connected to the input A of the partial adder circuit 257 of FIG. 20, and the output Σ2 of the partial adder circuit 232 is connected to the input B of the adder circuit 257. 19 and 20, 233 to 256
And 258 to 265 are 1-bit full adders. Figure 2
1 shows a truth table of the operation of the logic circuit.

【0111】前記加算回路201は桁ずらしによってそ
れぞれ1/2,1/4,1/8,1/16,1/16に
重み付けられた8ビットの2進数を入力して加算し、そ
の合計を出力するようになっている。前記各重みの和は
1になっており、また、1/2,1/4,1/8,1/
16は公比1/2の等比数列になっている。出力の重み
は各重みの和、即ち1であり、最小の重み1/16とは
4桁ずれた関係になるので、出力は12ビットになる。
選択器202〜206はそれぞれの重みの入力に入力信
号A,Bのどちらを与えるかを選ぶようになっている。
それぞれの選択器の選択制御信号を S2 〜S6とする。
The adder circuit 201 inputs 8-bit binary numbers weighted by 1/2, 1/4, 1/8, 1/16, and 1/16 by shifts, adds them, and sums them. It is designed to output. The sum of the weights is 1, and 1/2, 1/4, 1/8, 1 /
16 is a geometric progression with a common ratio of 1/2. The weight of the output is the sum of the weights, that is, 1 and has a relationship of being shifted by 4 digits from the minimum weight of 1/16, so that the output has 12 bits.
The selectors 202 to 206 are adapted to select which of the input signals A and B is given to the input of each weight.
The selection control signals of each selector are S2 to S6.

【0112】次に、前記荷重平均回路の具体的構成及び
動作を説明する。選択器の選択制御信号入力Sは0又は
1であり、S=1のとき出力はY=Aに、S=0のとき
出力はY=Bになるので、例えば選択器202の出力Y
はY=[ S2x A + (1-S2)xB]と表すことができる。こ
うして、各選択器の出力を重みをつけて合計することか
ら、加算回路201の出力の値をA,B,S2〜S6で表す
と、下記式(2) となり、これを変形すると、下記式(3)
となり、更に変形して下記式(4) となる。
Next, the specific structure and operation of the weighted average circuit will be described. The selection control signal input S of the selector is 0 or 1. When S = 1, the output is Y = A, and when S = 0, the output is Y = B.
Can be expressed as Y = [S2xA + (1-S2) xB]. In this way, since the outputs of the respective selectors are weighted and summed, the value of the output of the adder circuit 201 is represented by A, B, and S2 to S6 as shown in the following formula (2). (3)
And is further transformed into the following equation (4).

【0113】 [S1x A + (1-S2)xB ]/2 + [ S3xA + (1-S3)xB ]/4 + [S4x A + (1-S4)xB ]/8 + [S5x A + (1-S5)xB ]/16 + [S6x A + (1-S6)xB ]/16 …(2) [S2/2 + S3/4 + S4/8 + S5/16 + S6/16 ]x A + [ (1-S2)/2 + (1-S3)/4 + (1-S4)/8 + (1-S5)/16 + (1-S6)/16 ]xB …(3) [S2/2 + S3/4 + S4/8 + S5/16 + S6/16 ]x A + ( 1-[ S2/2 + S3/4 + S4/8 + S5/16 + S6/16 ] )xB …(4) 即ち、ブレンド比率α = S2/2 + S3/4 + S4/8 + S5/16
+ S6/16 とすると、出力はαx A + (1-α)xBとなって
いる。α = S2/2 + S3/4 + S4/8 + S5/16 +S6/16 の第
1項〜第4項は、選択制御信号(S2,S3,S4,S5) が小数点
以下4桁の2進数を表していることを示している。した
がって、第1項〜第4項により、0〜0.9375の範囲の0.
0625刻みの16通りの値を表すことができる。選択制御
信号S6=0の場合は第5項が0になるのでブレンド比率
αは上に示したとおりの値になり、選択制御信号 S6 =
1の場合は第5項の値は 0.0625 になるのでブレンド比
率αは 0.0625 〜1の範囲で 0.0625 刻みの16通りの
値をとることになる。したがって、選択制御信号S6=0
の場合とS6=1の場合のブレンド比率αの取り得る場合
の数は、15通り重複する。結局、選択制御信号(S2,S
3,S4,S5,S6)によって0〜1の範囲で0.0625刻みの17
通りのブレンド比率αの値を指定することができる。
[S1x A + (1-S2) xB] / 2 + [S3xA + (1-S3) xB] / 4 + [S4x A + (1-S4) xB] / 8 + [S5x A + (1 -S5) xB] / 16 + [S6x A + (1-S6) xB] / 16… (2) [S2 / 2 + S3 / 4 + S4 / 8 + S5 / 16 + S6 / 16] x A + [ (1-S2) / 2 + (1-S3) / 4 + (1-S4) / 8 + (1-S5) / 16 + (1-S6) / 16] xB… (3) [S2 / 2 + S3 / 4 + S4 / 8 + S5 / 16 + S6 / 16] x A + (1- [S2 / 2 + S3 / 4 + S4 / 8 + S5 / 16 + S6 / 16]) xB… (4) , Blend ratio α = S2 / 2 + S3 / 4 + S4 / 8 + S5 / 16
+ S6 / 16, the output is αx A + (1-α) xB. The first to fourth terms of α = S2 / 2 + S3 / 4 + S4 / 8 + S5 / 16 + S6 / 16 are the 2 digits of the selection control signal (S2, S3, S4, S5) with 4 digits after the decimal point. It indicates that it represents a decimal number. Therefore, according to the first to fourth terms, 0.
It is possible to represent 16 different values in increments of 0625. When the selection control signal S6 = 0, the fifth term becomes 0, so the blend ratio α has the value as shown above, and the selection control signal S6 =
In the case of 1, the value of the fifth term is 0.0625, so the blending ratio α takes 16 different values in 0.0625 increments in the range of 0.0625 to 1. Therefore, the selection control signal S6 = 0
The number of cases where the blending ratio α can take in the case of S6 and the case of S6 = 1 overlaps 15 ways. After all, the selection control signal (S2, S
3, S4, S5, S6) 17 in 0.0625 increments in the range of 0 to 1
The value of the blend ratio α can be specified.

【0114】このように、本実施例の荷重平均回路によ
って、αx A + (1-α)xBの値を正確に、ブレンド比率
αの値が0〜1の範囲で17通りの場合について、計算
できることが示された。
As described above, the value of αx A + (1-α) xB is accurately calculated by the weighted averaging circuit of this embodiment for 17 cases in which the value of the blend ratio α is in the range of 0 to 1. It was shown that it was possible.

【0115】ここで、具体的な数値を入力した動作の例
を示す。入力信号AとBの値が10進数で各々 217、38
とすると、2進数で表せば各々11011001,00
100110である。ここに、選択制御信号(S2,S3,S4,
S5,S6)=( 1,0,1,1,0) とすると、下記式(5)
となる。
Here, an example of the operation of inputting a specific numerical value will be shown. The values of input signals A and B are decimal numbers 217 and 38, respectively.
Then, if expressed in binary numbers, 11011001,00 each
100110. Here, select control signals (S2, S3, S4,
S5, S6) = (1,0,1,1,0), the following equation (5)
Becomes

【0116】 α= 1/2 + 1/8 + 1/16 = 11/16 = 0.6875 …(5) これらの入力によって、選択器202,204,205
は入力信号Aの値を選び、選択器203,206は入力
信号Bの値を選ぶ。したがって、加算回路201では以
下の計算が行なわれる。
Α = 1/2 + 1/8 + 1/16 = 11/16 = 0.6875 (5) With these inputs, the selectors 202, 204, 205
Selects the value of the input signal A, and the selectors 203 and 206 select the value of the input signal B. Therefore, the addition circuit 201 performs the following calculation.

【0117】 出力の12ビット2進数10100001.0001は
10進数に直すと、161.0625であり、計算 217 x 0.687
5 + 38 x 0.3125 が正しく行なわれていることが判る。
[0117] The 12-bit binary number 10100001.0001 in the output is 161.0625 when converted to a decimal number, which is calculated as 217 x 0.687.
It turns out that 5 + 38 x 0.3125 is done correctly.

【0118】もう一つの例を示す。入力信号AとBの値
が10進数で各々 25,131 とすると、2進数で表せば各
々00011001,10000011である。選択制
御信号(S2,S3,S4,S5,S6)=( 1,1,0,1,0) とす
ると、下記式(6) となる。
Another example will be shown. When the values of the input signals A and B are decimal numbers 25 and 131, respectively, the binary numbers are 00011001 and 10000011, respectively. When the selection control signals (S2, S3, S4, S5, S6) = (1,1,0,1,0), the following equation (6) is obtained.

【0119】 α= 1/2 + 1/4 + 1/16 = 13/16 = 0.8125 …(6) これらの入力によって、選択器202,203,205
は入力信号Aの値を選び、選択器204,206は入力
信号Bの値を選ぶ。したがって、加算回路201では以
下の計算が行なわれる。
Α = 1/2 + 1/4 + 1/16 = 13/16 = 0.8125 (6) With these inputs, the selectors 202, 203, 205
Selects the value of the input signal A, and the selectors 204 and 206 select the value of the input signal B. Therefore, the addition circuit 201 performs the following calculation.

【0120】 出力の12ビット2進数00101100.1110は
10進数に直すと、44.875であり、計算 25 x 0.8125 +
131 x 0.1875 が正しく行なわれていることが判る。
[0120] The 12-bit binary number 00101100.1110 in the output is 44.875 when converted to decimal, which is 25 x 0.8125 +
It turns out that 131 x 0.1875 is done correctly.

【0121】次に、本実施例の荷重平均回路と乗算器と
を比較する。
Next, the weighted average circuit of this embodiment and the multiplier will be compared.

【0122】本実施例の荷重平均回路は、8ビットの入
力を5つ持つ加算回路201の各入力に、8ビットの選
択器202〜206の5個をそれぞれ接続して構成され
る。8ビットの選択器は図18のように 2,2入力のAN
D−OR回路が8つと、反転器が1つで構成される。し
たがって、本実施例の荷重平均回路はAND−OR回路
を40個持つ。8ビットと5ビットの値を掛ける乗算器
は、8ビットの入力5つ分,即ち何通りかの重みに分け
られる40ビットの入力に、乗数の各ビットと被乗数の
各ビットの組(8×5=40通り)のANDをとる2入
力ANDゲートを40個接続して構成される。このよう
に、本実施例の荷重平均回路と、8ビット×5ビットの
乗算器において、加算回路の規模は全く同じである。そ
の前段の回路は、ANDゲート40個とAND−OR回
路40個の差の分、本実施例の方が若干大きいが、加算
回路の規模からすると無視できる規模であるので、回路
全体同士は、計算時間、回路規模ともほぼ同じと言え
る。
The weighted average circuit of this embodiment is constructed by connecting five 8-bit selectors 202 to 206 to each input of an adder circuit 201 having five 8-bit inputs. The 8-bit selector is a 2- and 2-input AN as shown in FIG.
It is composed of eight D-OR circuits and one inverter. Therefore, the weighted average circuit of this embodiment has 40 AND-OR circuits. A multiplier for multiplying a value of 8 bits and a value of 5 bits is a set of 8 bits of input, that is, 40 bits of input divided into several weights, each set of bits of multiplier and multiplicand (8 × It is configured by connecting 40 two-input AND gates for ANDing (5 = 40 ways). Thus, in the weighted average circuit of this embodiment and the 8-bit × 5-bit multiplier, the scale of the adder circuit is exactly the same. The circuit at the preceding stage is slightly larger in the present embodiment by the difference between the 40 AND gates and 40 AND-OR circuits, but since it is a scale that can be ignored in terms of the scale of the adder circuit, the entire circuits are It can be said that the calculation time and the circuit scale are almost the same.

【0123】以上説明したように、本実施例は、重みの
総和が重みの最大値1/2の2倍である1となるように
多入力の加算回路を構成し、ディジタル入力信号A,B
から加算回路に入力する信号を各々の重み毎に選ぶ選択
器を有することにより、回路規模、動作速度が1個の乗
算器と同程度という少ないゲート数、速い計算速度を持
ち、且つ正確にαx A + (1-α)xBを計算する荷重平均
回路を提供できる。
As described above, in the present embodiment, the multi-input adder circuit is configured so that the total sum of the weights becomes 1, which is twice the maximum weight value 1/2, and the digital input signals A and B are added.
By having a selector that selects the signal to be input to the adder circuit for each weight, the circuit scale and operating speed are as small as the number of gates and the calculation speed is as high as one multiplier. A weighted average circuit can be provided that calculates A + (1-α) xB.

【0124】尚、本実施例では、2進数表現の4個の入
力信号を加算器201に入力したが、その入力信号は2
進数表現でなくても、i進数表現であればよい。このこ
とは以下の説明でも同様である。
In this embodiment, four input signals represented by binary numbers are input to the adder 201, but the input signals are 2
The i-adic number representation is not required even if the i-ary number is used. This also applies to the following description.

【0125】(荷重平均回路の第2の実施例)以下、本
発明の荷重平均回路の第2の実施例について図面を参照
しながら、説明する。
(Second Embodiment of Weighted Average Circuit) A second embodiment of the weighted average circuit of the present invention will be described below with reference to the drawings.

【0126】図32は本発明の荷重平均回路の第2の実
施例の構成図である。同図において、266は零捨一入
を行なう回路である。尚、図4と同じ構成要素には同一
番号を付して、その説明を省略する。
FIG. 32 is a block diagram of the second embodiment of the weighted average circuit of the present invention. In the figure, reference numeral 266 is a circuit for rounding down to zero. The same components as those in FIG. 4 are designated by the same reference numerals and the description thereof will be omitted.

【0127】図33に零捨一入を行なう回路266の論
理回路図を示す。同図において、267〜274は2入
力排他的論理和回路であり、275〜281は2入力論
理積回路である。
FIG. 33 shows a logic circuit diagram of the circuit 266 for performing the round-down. In the figure, 267 to 274 are 2-input exclusive OR circuits, and 275 to 281 are 2-input AND circuits.

【0128】零捨一入を行なう回路266は、12ビッ
トの入力より、下位3ビットは切捨て、上位より9ビッ
ト目が0の場合はこれも無視し、上位8ビットをそのま
ま出力し、上位より9ビット目が1の場合は上位より8
ビット目に繰り上げて1を加えて計算して、上位8ビッ
トを出力するものである。
The circuit 266 for performing the rounding-down operation truncates the lower 3 bits from the 12-bit input, ignores the 9th bit from the upper bit when it is 0, and outputs the upper 8 bits as they are, and outputs from the upper bit. If the 9th bit is 1, the higher 8
It carries out calculation by adding 1 to the bit position and outputs the upper 8 bits.

【0129】尚、本実施例では、A≦11111111
( 2進数) 、B≦11111111( 2進数) 、0≦α
≦1であるので、零捨一入を行なう回路266に入力さ
れる値、即ち加算回路201の出力はαx A + (1-α)x
B≦11111111.0000( 2進数) である。し
たがって、零捨一入を行なう回路266において、繰り
上げの桁上げが桁あふれを生じることはないので、論理
積回路281の出力と入力信号 IN[11] の論理積をとっ
て上位ビットへの桁上げとする必要はない。
In this embodiment, A ≦ 11111111
(Binary number), B ≦ 11111111 (binary number), 0 ≦ α
Since ≦ 1, the value input to the circuit 266 for performing rounding down, that is, the output of the adder circuit 201 is α x A + (1-α) x
B ≦ 11111111.0000 (binary number). Therefore, in the circuit 266 for performing the round-down operation, carry carry does not cause overflow. Therefore, the logical product of the output of the logical product circuit 281 and the input signal IN [11] is taken and the digit to the upper bit is obtained. There is no need to raise it.

【0130】本実施例の荷重平均回路の具体的構成及び
動作を説明する。加算回路201の出力までは全く第1
の実施例と同じであるので、説明を省く。加算回路20
1の出力は12ビットであるが、零捨一入を行なう回路
266により、9ビット目で零捨一入が行なわれて8ビ
ットに丸められて、出力される。
The specific configuration and operation of the weighted average circuit of this embodiment will be described. Up to the output of the adder circuit 201 is completely first
The description is omitted because it is the same as the embodiment described above. Adder circuit 20
The output of 1 is 12 bits, but the circuit 266 for performing the rounding down performs the rounding down at the 9th bit, rounding to 8 bits, and the output.

【0131】具体的な数値を入力した場合の動作の例を
示す。例とする数値の値は、簡単のため第1の実施例で
示した値とする。先ず、入力信号AとBの値が10進数
で各々 217、38で、(S2,S3,S4,S5,S6)=( 1,0,1,
1,0) ,即ちα=0.6875 の場合、第1の実施例で示
したように、加算回路201の出力は12ビット2進数
で10100001.0001であり、10進数に直す
と、161.0625である。この値が零捨一入を行なう回路2
66に入力されると、上位より9ビット目の小数第一位
は0であるので、小数点以下は切り捨てられる。したが
って、零捨一入を行なう回路266の出力は8ビット2
進数で10100001であり、10進数に直すと 161
である。この場合には、誤差は -0.625 である。
An example of the operation when a specific numerical value is input will be shown. For the sake of simplicity, the numerical values used as examples are the values shown in the first embodiment. First, the values of the input signals A and B are decimal numbers 217 and 38, respectively, and (S2, S3, S4, S5, S6) = (1,0,1,
1, 0), that is, α = 0.6875, the output of the adder circuit 201 is 10100001.0001 as a 12-bit binary number, which is 161.0625 when converted to a decimal number, as shown in the first embodiment. Circuit 2 for rounding down this value
When it is input to 66, since the first decimal place of the 9th bit from the higher order is 0, the part after the decimal point is truncated. Therefore, the output of the circuit 266 for performing the rounding down is 8 bits 2
It is 10100001 in decimal, and when converted to decimal 161
Is. In this case, the error is -0.625.

【0132】もう一つの例を示す。入力信号AとBの値
が10進数で各々 25,131 で、選択制御信号(S2,S3,S4,
S5,S6)=( 1,1,0,1,0) ,即ちα= 0.8125 の
場合、第1の実施例で示したように、加算回路201の
出力は12ビット2進数00101100.1110で
あり、10進数に直すと 44.875 である。この値が零捨
一入を行なう回路266に入力されると、上位より9ビ
ット目の小数第一位は1であるので、小数点以下は繰り
上げられる。したがって、零捨一入を行なう回路266
の出力は8ビット2進数で00101101あり、10
進数に直すと45 である。この場合、誤差は0.125 であ
る。
Another example will be shown. The input signals A and B are decimal numbers 25 and 131 respectively, and the selection control signals (S2, S3, S4,
When S5, S6) = (1,1,0,1,0), that is, α = 0.8125, the output of the adder circuit 201 is a 12-bit binary number 00101100.1110, as shown in the first embodiment. The decimal number is 44.875. When this value is input to the circuit 266 for rounding down to zero, since the first decimal place of the 9th bit from the higher order is 1, the decimal places are rounded up. Therefore, the circuit 266 for performing the rounding down.
Output is 8-bit binary number 00101101, 10
Converted to a base number, it is 45. In this case, the error is 0.125.

【0133】誤差を第1の実施例の場合と比較する。小
数点の位置は8ビット目と9ビット目の間とする。別の
言い方をすれば、8ビット目が1の位とする。第1の実
施例の出力を、9ビット目以下を切捨てて8ビットに丸
めて用いた場合の誤差εは -0.9375≦ε≦ 0であり、一
様分布と仮定した平均は -0.46875 である。本実施例の
場合、誤差εは -0.4375≦ε≦ 0.5であって、一様分布
と仮定した平均は0.03125 である。
The error is compared with the case of the first embodiment. The position of the decimal point is between the 8th and 9th bits. In other words, the 8th bit is the ones digit. The error ε when the output of the first embodiment is rounded down to the 8th bit by cutting off the 9th bit and below is -0.9375≤ε≤0, and the average assuming a uniform distribution is -0.46875. In the case of this embodiment, the error ε is −0.4375 ≦ ε ≦ 0.5, and the average assuming a uniform distribution is 0.03125.

【0134】このように、本実施例の荷重平均回路は、
零捨一入を行なう回路を備えることで、誤差の平均値を
小さくすることができる。
In this way, the weighted average circuit of this embodiment is
By providing a circuit for performing the rounding down, the average value of the error can be reduced.

【0135】尚、加算回路201の部分加算回路257
の回路を変更して、零捨一入を行う回路266を内蔵す
るようにしてもよい。その場合、回路の段数を節約し
て、回路量と計算時間が小さくなる効果がある。
The partial adder circuit 257 of the adder circuit 201.
The circuit may be modified to include the circuit 266 for performing the rounding down. In that case, there is an effect that the number of stages of the circuit is saved and the circuit amount and the calculation time are reduced.

【0136】(荷重平均回路の第3の実施例)以下、本
発明の荷重平均回路の第3の実施例について図面を参照
しながら、説明する。
(Third Embodiment of Weighted Average Circuit) A third embodiment of the weighted average circuit of the present invention will be described below with reference to the drawings.

【0137】図24は本発明の荷重平均回路の第3の実
施例の構成図である。同図において、282は各選択器
202〜206を制御する選択制御信号を出力する制御
手段としてのデコーダである。尚、図4と同じ構成要素
には同一番号を付して、その説明を省略する。
FIG. 24 is a block diagram of the third embodiment of the weighted average circuit of the present invention. In the figure, 282 is a decoder as a control means for outputting a selection control signal for controlling each of the selectors 202 to 206. The same components as those in FIG. 4 are designated by the same reference numerals and the description thereof will be omitted.

【0138】デコーダ282の回路を図25に示す。同
図において、283〜286は2入力論理和回路であ
る。
The circuit of the decoder 282 is shown in FIG. In the figure, reference numerals 283 to 286 are 2-input logical sum circuits.

【0139】前記第1の実施例で示した通り、加算回路
201は桁ずらしによってそれぞれ1/2,1/4,1
/8,1/16,1/16に重み付けられた8ビットの
2進数を入力して加算し、その合計を出力するようにな
っている。
As shown in the first embodiment, the adder circuit 201 shifts by 1/2, 1/4, 1 respectively.
An 8-bit binary number weighted to / 8, 1/16, and 1/16 is input and added, and the sum is output.

【0140】本実施例の荷重平均回路の具体的構成及び
動作を説明する。デコーダ282により、入力rは選択
器の選択制御信号 S2 〜S6に変換されて出力される。選
択器202〜206及び加算回路201の動作は第1の
実施例に示した通りである。そこで示したように、選択
器202〜205に対応した重みは1/2,1/4,1
/8,1/16と公比1/2の等比数列になっているの
で、選択制御信号S6=0の場合は、(S2,S3,S4,S5) を小
数点以下の4桁の2進数とみたブレンド比率α= S2/2
+ S3/4 + S4/8 + S5/16 で動作する。入力rは5ビット
の固定小数点2進数で、最上位ビットが1の位であり、
0.0000〜1.1111の範囲を表している。したがって、最上
位が0の場合、デコーダ282は入力rの下位4ビット
を選択制御信号(S2,S3,S4,S5) としてそのまま出力し、
選択制御信号S6=0にする。入力rの最上位ビットが1
の場合、その値は1以上であるが、1を超えるような値
に対しては、ブレンド比率α=1として動作する。つま
り、ブレンド比率は1で飽和するという解釈をとってい
る。従って、入力rの最上位ビットが1の場合は、S2=
S3=S4=S5=S6=1にする。
The specific configuration and operation of the weighted average circuit of this embodiment will be described. The decoder 282 converts the input r into selection control signals S2 to S6 of the selector and outputs the selection control signals S2 to S6. The operations of the selectors 202 to 206 and the adder circuit 201 are as described in the first embodiment. As shown there, the weights corresponding to the selectors 202 to 205 are 1/2, 1/4, 1
Since it is a geometric progression of / 8, 1/16 and a common ratio of 1/2, if the selection control signal S6 = 0, (S2, S3, S4, S5) is a binary number with 4 digits after the decimal point. Seen blend ratio α = S2 / 2
It works with + S3 / 4 + S4 / 8 + S5 / 16. The input r is a 5-bit fixed-point binary number, the most significant bit of which is 1,
It represents the range of 0.0000 to 1.1111. Therefore, when the highest bit is 0, the decoder 282 outputs the lower 4 bits of the input r as the selection control signals (S2, S3, S4, S5) as they are,
Select control signal S6 = 0. Most significant bit of input r is 1
In this case, the value is 1 or more, but for values exceeding 1, the blend ratio α = 1 is set. In other words, the blend ratio is saturated at 1. Therefore, if the most significant bit of input r is 1, S2 =
Set S3 = S4 = S5 = S6 = 1.

【0141】具体的に幾つかの入力rの値について、選
択器の選択制御信号S2〜S6がどのようになるかを示す。
例えば入力r= 1.0110 の場合には、最上位ビットが1
であるので、(S2,S3,S4,S5,S6)=( 1,1,1,1,
1) である。r=0.1001の場合には、最上位ビットが0
であるので、(S2,S3,S4,S5,S6)=( 1,0,0,1,
0) である。
Specifically, the selection control signals S2 to S6 of the selector will be shown for several values of the input r.
For example, if the input r = 1.0110, the most significant bit is 1.
Therefore, (S2, S3, S4, S5, S6) = (1,1,1,1,
1). When r = 0.1001, the most significant bit is 0
Therefore, (S2, S3, S4, S5, S6) = (1,0,0,1,
0).

【0142】以上のように、本実施例では、加算回路の
入力の重み1/2,1/4,1/8,1/16,1/1
6のうち、最後の1/16を除いて公比1/2の等比数
列をなし、最後の重みが直前の重みに等しく、1/16
であることにより、ある範囲でブレンド比率を表す固定
小数点数rをそのまま選択器の選択制御信号に用いるこ
とができ、更に、入力rを選択器の選択制御信号に変換
し出力するデコーダを付加することにより、固定小数点
数rをそのまま選択器の選択制御信号に用いることがで
きない範囲に対しても、入力rの値に対して正しい動作
をするように選択器を制御することができる。したがっ
て、本実施例はブレンド比率を表す固定小数点数rの全
ての場合に対して正しい動作をする。
As described above, in this embodiment, the weights of the inputs of the adder circuit are 1/2, 1/4, 1/8, 1/16, 1/1.
6 except for the last 1/16, form a geometric progression with a common ratio of 1/2, and the last weight is equal to the previous weight,
Therefore, the fixed point number r representing the blend ratio in a certain range can be used as it is for the selection control signal of the selector, and further, a decoder for converting the input r into the selection control signal of the selector and outputting it is added. As a result, the selector can be controlled so that the fixed-point number r cannot be used as it is for the selection control signal of the selector, and the correct operation is performed with respect to the value of the input r. Therefore, the present embodiment operates correctly in all cases of the fixed point number r representing the blend ratio.

【0143】(荷重平均回路の第4の実施例)以下、本
発明の荷重平均回路の第4の実施例について図面を参照
しながら、説明する。
(Fourth Embodiment of Weighted Average Circuit) A fourth embodiment of the weighted average circuit of the present invention will be described below with reference to the drawings.

【0144】図26は本発明の荷重平均回路の第4の実
施例のブロック図である。同図において、287〜29
1は第1の選択器(第1の選択手段)、292は第2の
選択器(第2の選択手段)、601はデコーダ(制御手
段)である。尚、図4と同じ構成要素については同一番
号を付して、その説明を省略する。図27に第1の選択
器の論理回路図を、図28に第2の選択器の論理回路図
を、図29にデコーダ601の回路図を各々示す。
FIG. 26 is a block diagram of the fourth embodiment of the weighted average circuit of the present invention. In the figure, 287 to 29
Reference numeral 1 is a first selector (first selection means), 292 is a second selector (second selection means), and 601 is a decoder (control means). The same components as those in FIG. 4 are designated by the same reference numerals and the description thereof will be omitted. 27 shows a logic circuit diagram of the first selector, FIG. 28 shows a logic circuit diagram of the second selector, and FIG. 29 shows a circuit diagram of the decoder 601.

【0145】図27において、293〜318は2入力
論理積回路、319〜326は3入力論理和回路、32
7、328は反転器である。図28において、329〜
354は2入力論理積回路、355〜362は3入力論
理和回路、363、364は反転器である。
In FIG. 27, 293 to 318 are 2-input logical product circuits, 319 to 326 are 3-input logical sum circuits, and 32.
Reference numerals 7, 328 are inverters. In FIG. 28, 329-
Reference numeral 354 is a 2-input logical product circuit, 355 to 362 are 3-input logical sum circuits, and 363 and 364 are inverters.

【0146】加算回路201の重みつけは、第1の実施
例と同様である。その出力は12ビットであるが、本実
施例では、出力として8ビットを必要とし、下位4ビッ
トを切捨てて選択器292に入力している。選択器28
7〜291は、それぞれに対応した定数値C2〜C6と、入
力信号A,Bとを入力し、加算回路201のそれぞれの
重みの入力に、入力信号A,B及び定数値の3つの値か
ら1つを選んで与えるように動作する。選択器292
は、加算回路201の出力(上位8ビット)と入力信号
A,Bの3つの値から1つを選んで出力する。
The weighting of the adder circuit 201 is the same as that in the first embodiment. The output is 12 bits, but in this embodiment, 8 bits are required as an output, and the lower 4 bits are truncated and input to the selector 292. Selector 28
7 to 291 input the corresponding constant values C2 to C6 and the input signals A and B, and input the respective weights of the adder circuit 201 from the three values of the input signals A and B and the constant value. Operates to select and give one. Selector 292
Selects and outputs one of the three values of the output (upper 8 bits) of the adder circuit 201 and the input signals A and B.

【0147】また、図29のデコーダ601において、
602は4入力論理和回路、603は2入力論理和回路
である。
Further, in the decoder 601 of FIG. 29,
Reference numeral 602 is a 4-input logical sum circuit, and 603 is a 2-input logical sum circuit.

【0148】次に、本荷重平均回路の具体的構成及び動
作を説明する。
Next, the specific structure and operation of this weighted average circuit will be described.

【0149】選択制御信号SC=0のとき、選択器287
〜291は各々の選択制御信号S2〜S6によって、入力信
号A,Bのどちらかを選び、選択器292は加算回路2
01の出力を選ぶ。従って、このときは本回路の動作は
従来例と同様であり、ブレンド比率α = S2/2 + S3/4 +
S4/8 + S5/16 + S6/16 による合成の計算αx A+(1-
α)xBを行ない、出力する。
When the selection control signal SC = 0, the selector 287
To 291 select either of the input signals A and B according to the selection control signals S2 to S6, and the selector 292 selects the addition circuit 2
Select 01 output. Therefore, at this time, the operation of this circuit is similar to the conventional example, and the blend ratio α = S2 / 2 + S3 / 4 +
Calculation of composition by S4 / 8 + S5 / 16 + S6 / 16 α x A + (1-
Perform α) xB and output.

【0150】一方、選択制御信号SC=1のときには、選
択器287〜291は各々に入力された定数値C2〜C6を
加算回路201に入力する。このとき、選択器292は
選択制御信号SAB によって入力信号A,Bのどちらかを
選んで、出力する。SAB =1のとき入力信号Aが、SAB
=0のときBがそれぞれ出力される。
On the other hand, when the selection control signal SC = 1, the selectors 287 to 291 input the constant values C2 to C6 input thereto to the adder circuit 201. At this time, the selector 292 selects either the input signal A or B according to the selection control signal SAB and outputs it. When SAB = 1, the input signal A is SAB
When = 0, B is output respectively.

【0151】次に、本実施例の荷重平均回路と、前記第
1の実施例の荷重平均回路との消費電力を比較する。電
力を算出するための仮定として、どちらの回路も、例え
ばCMOSなどの直流消費電力の非常に少ない素子を用いて
おり、直流消費電力は無視できるものとし、電力は、論
理ゲート(全加算器を含む)の出力端子において、値が
反転した時に消費されるとする。但し、過渡的な反転は
存在せず、どの出力端子も入力が変化した時から次の入
力が変化する時までの間に、多くとも1回だけ反転し
て、正しい値になるものとする。その消費電力の値は、
出力負荷容量に依存する部分は簡単のために無視して、
どの端子でも1(MHz) 当り25( μW)を消費するものと
する。
Next, the power consumptions of the weighted average circuit of this embodiment and the weighted average circuit of the first embodiment will be compared. As an assumption for calculating the power, both circuits use elements with very low DC power consumption, such as CMOS, and DC power consumption is negligible. It is assumed that it is consumed when the value is inverted at the output terminal of (including). However, there is no transitional inversion, and it is assumed that any output terminal is inverted at most once between the time when the input changes and the time when the next input changes, and becomes the correct value. The value of its power consumption is
Ignore the part that depends on the output load capacitance for simplicity.
Any terminal consumes 25 (μW) per 1 (MHz).

【0152】また、動作周波数は20(MHz) とし、どち
らの荷重平均回路もブレンド比率α=1であって、入力
信号Aを出力するよう制御が固定されるものとし、入力
信号Aは(0,0,0,0,0,0,0,0) と(1,1,1,1,1,1,1,1) とに
交互に変化するものと仮定する。
The operating frequency is 20 (MHz), both weighted average circuits have the blend ratio α = 1, and the control is fixed so as to output the input signal A. The input signal A is (0 , 0,0,0,0,0,0,0) and (1,1,1,1,1,1,1,1,1) are assumed to alternate.

【0153】本実施例の荷重平均回路では、ブレンド比
率α=1の場合は、選択制御信号SC=1とされ、選択器
287〜291及び加算回路201の内部の論理ゲート
の出力端子は全て一定で反転することがないので、それ
らの消費電力は0になる。選択器292の内部で入力信
号Aの経路に当たる論理積回路8個と論理和回路8個の
出力だけが画素毎に反転するので、消費電力は25( μ
W/MHz)×20(MHz) ×16( 個) =8000( μW)=8
(mW)である。
In the weighted average circuit of this embodiment, when the blend ratio α = 1, the selection control signal SC = 1 is set, and the output terminals of the logic gates inside the selectors 287 to 291 and the adder circuit 201 are all constant. Since they are not inverted at, their power consumption becomes 0. In the selector 292, only the outputs of the eight AND circuits and the eight OR circuits corresponding to the path of the input signal A are inverted for each pixel, so that the power consumption is 25 (μ
W / MHz) × 20 (MHz) × 16 (pieces) = 8000 (μW) = 8
(mW).

【0154】第1の実施例の荷重平均回路では、ブレン
ド比率α=1の場合は、選択制御信号S2〜S6の値は全て
1とされ、選択器355〜359は全て入力信号Aを通
過させる。従って、1個の選択器では前記の選択器29
2と同様の動作をするので、8(mW)消費され、選択器3
55〜359では合計40(mW)消費される。更に、加算
回路201の内部では、Σ[3:0] の4ビットを除いて全
ての全加算器の出力が画素毎に反転する。全加算器28
1〜304,306〜313は全部で32個あり、その
出力端子は64個であって、反転するのは60個にある
ので、消費電力は25( μW/MHz)×20(MHz) ×60(
個) =30000( μW)=30(mW)である。よって、前
記第1の実施例の荷重平均回路の消費電力は、合計し
て、70(mW)となる。
In the weighted average circuit of the first embodiment, when the blend ratio α = 1, all the selection control signals S2 to S6 are set to 1, and the selectors 355 to 359 all pass the input signal A. . Therefore, with one selector, the selector 29
8 (mW) is consumed because the same operation as 2 is performed, and the selector 3
In 55 to 359, a total of 40 (mW) is consumed. Further, inside the adder circuit 201, the outputs of all full adders except the 4 bits of Σ [3: 0] are inverted for each pixel. Full adder 28
1 to 304 and 306 to 313 are 32 in total, and the number of output terminals is 64, and the number is inverted to 60, so the power consumption is 25 (μW / MHz) × 20 (MHz) × 60 (
) = 30000 (μW) = 30 (mW). Therefore, the total power consumption of the weighted average circuit of the first embodiment is 70 (mW).

【0155】尚、ブレンド比率αが0と1の間の値の場
合、本実施例の荷重平均回路でも加算回路201が動作
する。従って、この場合の消費電力は、選択器292で
消費する分(8(mW))、本実施例の荷重平均回路の方が
従来例の回路より大きくなる。入力信号Aは前記の条件
で与え且つ入力信号BはB=Aとなるように与えた場
合、加算回路201の動作は前記のブレンド比率α=1
の場合と同じになるので、本実施例の荷重平均回路の消
費電力は70+8=78(mW)である。
When the blend ratio α is a value between 0 and 1, the adder circuit 201 also operates in the weighted average circuit of this embodiment. Therefore, in this case, the power consumption of the weight average circuit of this embodiment is larger than that of the conventional circuit because the selector 292 consumes power (8 (mW)). When the input signal A is given under the above condition and the input signal B is given so that B = A, the operation of the adder circuit 201 is such that the blend ratio α = 1.
The power consumption of the weighted average circuit of this embodiment is 70 + 8 = 78 (mW).

【0156】このように、本実施例の荷重平均回路は、
第1の実施例に比べて、ブレンド比率α=1とした場
合、またα=0とした場合も同様に、非常に消費電力が
小さくなる。尚、ブレンド比率α=1の制御の状態が1
画素しか維持されず、直ぐに切替えられたような場合
は、消費電力低減の効果はないが、このような使用状況
はまれであり、ブレンド比率α=1の状態が半固定又は
切り替わっても数百画素毎になるような使用状況が通常
であると考えられるので、消費電力低減の効果は現れ
る。
As described above, the weighted average circuit of this embodiment is
Compared to the first embodiment, when the blend ratio α = 1 or α = 0, similarly, the power consumption becomes very small. The control state of the blend ratio α = 1 is 1
If only pixels are maintained and switching is performed immediately, there is no effect of reducing power consumption, but such usage is rare, and even if the state of the blend ratio α = 1 is semi-fixed or switched, several hundreds. Since it is considered that the usage condition is such that it becomes different for each pixel, the effect of reducing the power consumption appears.

【0157】以上説明したように、本実施例によれば、
前記第1の実施例の荷重平均回路の選択器に代えて、入
力信号A,B及び定数値から選択して入力することので
きる第1の選択器287〜291を採用すると共に、加
算回路201の出力及びディジタル入力信号A,Bの中
から1つを選択して出力する第2の選択器292を設け
ることにより、ディジタル入力信号A,Bを選択して出
力すればよい場合には、加算回路201を動作させず、
消費電力を低減する荷重平均回路を提供することができ
る。
As described above, according to this embodiment,
In place of the selector of the weighted average circuit of the first embodiment, first selectors 287 to 291 capable of selecting and inputting from the input signals A and B and a constant value are adopted, and the adder circuit 201 is also adopted. By providing the second selector 292 which selects and outputs one of the digital input signals A and B and the digital input signals A and B, the addition is performed when the digital input signals A and B can be selected and output. Without operating the circuit 201,
A weighted average circuit that reduces power consumption can be provided.

【0158】(荷重平均回路の第5の実施例)以下、本
発明の荷重平均回路の第5の実施例について図面を参照
しながら、説明する。
(Fifth Embodiment of Weighted Average Circuit) Hereinafter, a fifth embodiment of the weighted average circuit of the present invention will be described with reference to the drawings.

【0159】図30は本発明の荷重平均回路の第5の実
施例のブロック図である。同図において、232は第1
の部分加算回路、365は第2の部分加算回路である。
尚、図26と同じ構成要素については同一番号を付し
て、その説明を省略する。また、第1の部分加算回路2
32の内部構成は図19に示される。
FIG. 30 is a block diagram of a fifth embodiment of the weighted average circuit of the present invention. In the figure, 232 is the first
The partial adder circuit 365 is a second partial adder circuit.
The same components as those in FIG. 26 are designated by the same reference numerals, and the description thereof will be omitted. Also, the first partial adder circuit 2
The internal structure of 32 is shown in FIG.

【0160】図31に第2の部分加算回路365のブロ
ック図を示す。同図において、367は4ビットの第2
の桁上げ伝搬加算器、368は4ビットの値と7ビット
の値とを加算する第1の桁上げ伝搬加算器、366は4
ビットの第3の桁上げ伝搬加算器、369は第6の選択
器(第6の選択手段)である。
FIG. 31 shows a block diagram of the second partial adder circuit 365. In the figure, 367 is a 4-bit second
Carry propagate adder, 368 is a first carry propagate adder for adding a 4-bit value and a 7-bit value, and 366 is a 4
The third carry carry adder for bits 369 is a sixth selector (sixth selecting means).

【0161】図32に前記第2及び第3の桁上げ伝搬加
算器366、367の回路構成図を示す。同図におい
て、370〜373は1ビットの全加算器である。
FIG. 32 shows a circuit diagram of the second and third carry propagation adders 366 and 367. In the figure, 370 to 373 are 1-bit full adders.

【0162】図33に前記第1の桁上げ伝搬加算器36
8の回路構成図を示す。同図において、374〜377
は1ビットの全加算器である。
FIG. 33 shows the first carry propagation adder 36.
8 is a circuit configuration diagram of FIG. In the figure, 374 to 377
Is a 1-bit full adder.

【0163】前記第1の桁上げ伝搬加算器368は、最
下位ビットからある中間ビットまでの入出力について加
算を行ない、前記中間ビットより生じた桁上げを出力す
る。前記第2の桁上げ伝搬加算器367は、前記第1の
桁上げ伝搬加算器368の桁上げが0であると仮定した
場合の、第2の部分加算回路232の中間ビットより上
位のビットの入出力について加算を行なう。また、第3
の桁上げ伝搬加算器366は、前記第1の桁上げ伝搬加
算器368の桁上げが1であると仮定した場合の、第2
の部分加算回路232の中間ビットより上位のビットの
入出力について加算を行なう。第6の選択手段369
は、前記第1の桁上げ伝搬加算器368の桁上げの値が
0ならば第2の桁上げ伝搬加算器367の出力を選び、
桁上げの値が1ならば第3の桁上げ伝搬加算器366の
出力を選んで出力する。
The first carry propagation adder 368 performs addition on the input and output from the least significant bit to a certain intermediate bit, and outputs the carry generated from the intermediate bit. The second carry-propagate adder 367 is provided for the bits higher than the intermediate bit of the second partial adder circuit 232 when the carry of the first carry-propagate adder 368 is assumed to be 0. Add on input and output. Also, the third
Carry carry adder 366 of the second carry propagate adder 366, if the carry of the first carry propagate adder 368 is 1.
Addition is performed on the input / output of bits higher than the intermediate bit of the partial addition circuit 232. Sixth selection means 369
Selects the output of the second carry propagation adder 367 if the carry value of the first carry propagation adder 368 is 0,
If the carry value is 1, the output of the third carry propagation adder 366 is selected and output.

【0164】第6の選択器369は、2系統の5ビット
の2進数を選択するものであり、その構成は、図18に
示された選択器から3ビット分の回路を取り除いたもの
になる。例えば、図18の回路から2入力論理積回路2
26〜231、2入力論理和回路213〜215を取り
除いた回路でもって第3の選択器369を構成すること
ができる。
The sixth selector 369 selects two systems of 5-bit binary numbers, and has the same configuration as the selector shown in FIG. 18, except that the circuit for 3 bits is removed. . For example, from the circuit of FIG.
The third selector 369 can be configured by a circuit in which the 26-231 and 2-input logical sum circuits 213-215 are removed.

【0165】次に、本実施例の荷重平均回路の具体的構
成及び動作を説明する。
Next, the specific construction and operation of the weighted average circuit of this embodiment will be described.

【0166】本実施例は前記第4の実施例の加算回路2
01の部分加算回路257を部分加算回路365に置き
換えたものであり、加算回路の計算機能については全く
同一であるので、第4の実施例と同様に、選択制御信号
SC=0のとき、合成の計算αx A + (1-α)xBを行な
い、選択制御信号SC=1のとき、選択制御信号SAB によ
って入力信号A,Bの何れかを選んで出力し、SAB =1
のとき入力信号Aが、SAB =0のときBがそれぞれ出力
される構成である。
This embodiment is the adder circuit 2 of the fourth embodiment.
The partial adder circuit 257 of No. 01 is replaced with the partial adder circuit 365, and the calculation function of the adder circuit is exactly the same. Therefore, the selection control signal is the same as that of the fourth embodiment.
When SC = 0, the composite calculation αxA + (1-α) xB is performed, and when the selection control signal SC = 1, either the input signal A or B is selected and output by the selection control signal SAB. = 1
When SAB = 0, the input signal A is output, and when SAB = 0, B is output.

【0167】次に、本実施例の荷重平均回路と、前記第
1の実施例の荷重平均回路とを比較する。
Next, the weighted average circuit of this embodiment and the weighted average circuit of the first embodiment will be compared.

【0168】消費電力については、本実施例の荷重平均
回路は、第1の実施例と同様に、ブレンド比率α=1と
した場合及びα=0とした場合に、第1及び第2の部分
加算回路232,365の両入力が固定されるので、選
択器292で消費される電力は8(mW)の小さな電力で済
む。
Regarding the power consumption, the weighted average circuit of this embodiment is similar to the first embodiment in that when the blend ratio α = 1 and α = 0, the first and second parts are used. Since both inputs of the adding circuits 232 and 365 are fixed, the power consumed by the selector 292 can be as small as 8 (mW).

【0169】一方、ブレンド比率αが0と1の間の値で
ブレンド計算を行なう場合、第1及び第2の部分加算回
路232,365の双方が電力を消費するようになる。
本実施例では、第1の実施例より少し回路量が増えた
分、消費電力は少し増大する。本実施例の荷重平均回路
は、第1の実施例よりも全加算器4個と、反転器1個
と、論理積回路10個と、論理和回路5個分大きいの
で、これらの出力端子が全部20(MHz) で反転したと仮
定すると、出力端子は24個になるから、25( μW/MH
z)×20(MHz) ×24( 個) =12000( μW)=12
(mW)の電力増加になり、本実施例の荷重平均回路全体で
の消費電力は90(mW)になる。
On the other hand, when the blending calculation is performed with the blending ratio α between 0 and 1, both the first and second partial adder circuits 232 and 365 consume power.
In the present embodiment, the power consumption is slightly increased because the circuit amount is slightly increased as compared with the first embodiment. Since the weighted average circuit of this embodiment is larger than that of the first embodiment by four full adders, one inverter, ten AND circuits, and five OR circuits, these output terminals are Assuming that they are all inverted at 20 (MHz), the number of output terminals is 24, so 25 (μW / MH
z) × 20 (MHz) × 24 (pieces) = 12000 (μW) = 12
The power consumption increases by (mW), and the power consumption of the entire weighted average circuit of this embodiment becomes 90 (mW).

【0170】続いて、それぞれの動作速度を比較する。Subsequently, the respective operating speeds are compared.

【0171】前記第4の実施例において、加算回路20
1の内部の最長経路は例えば全加算器240の入力から
各全加算器248、256、265、264、263、
262、261、260、259を経由して全加算器2
58の出力までの間に、全加算器11個を通っているの
に対し、本実施例では、第1の部分加算回路232と第
2の部分加算回路365では、最長経路は例えば全加算
器240の入力から各全加算器248、256、37
7、376、375、374を経由し、第6の選択器3
29の内部で反転器1個、論理積回路1個、論理和回路
1個を通っているので、本実施例の荷重平均回路での最
長経路は全加算器7個、反転器1個、論理積回路1個、
論理和回路1個から成る。
In the fourth embodiment, the adder circuit 20
The longest path inside 1 is, for example, from the input of full adder 240 to full adders 248, 256, 265, 264, 263,
Full adder 2 via 262, 261, 260, 259
While 11 full adders have passed through the output of 58, in the present embodiment, in the first partial adder circuit 232 and the second partial adder circuit 365, the longest path is, for example, the full adder. From the input of 240, each full adder 248, 256, 37
6th selector 3 via 7, 376, 375, 374
Since one inverter, one logical product circuit, and one logical sum circuit are passed inside 29, the longest path in the weighted average circuit of this embodiment is 7 full adders, 1 inverter, and logical 1 product circuit,
It consists of one OR circuit.

【0172】全加算器の伝搬遅延は約3(ns),他の論理
回路の伝搬遅延は各々約1(ns)であるので、それぞれの
加算回路において、第1の実施例では出力が確定するの
に約33(ns)かかるが、本実施例では約24(ns)であ
り、約9(ns)の計算時間の減少ができている。
Since the propagation delay of the full adder is about 3 (ns) and the propagation delay of the other logic circuits is about 1 (ns), the output of each adder circuit is fixed in the first embodiment. It takes about 33 (ns), but it is about 24 (ns) in this embodiment, and the calculation time can be reduced by about 9 (ns).

【0173】荷重平均回路全体で、加算回路を経由する
合成の計算を行なう場合に、第1の実施例では入力信号
A,Bから出力までの最大遅延は、加算回路201の約
33(ns)に前後の選択器の遅延時間を加えて約37(ns)
であり、本実施例では同様に約28(ns)となる。
In the first embodiment, the maximum delay from the input signals A and B to the output is about 33 (ns) of the adder circuit 201 when the synthesis calculation via the adder circuit is performed in the weighted average circuit as a whole. Approximately 37 (ns) including the delay time of selector before and after
Therefore, in this embodiment, similarly, it becomes about 28 (ns).

【0174】したがって、本実施例の荷重平均回路の方
が、第1の実施例に比べて高い周波数まで動作させるこ
とができることが判る。
Therefore, it is understood that the weighted average circuit of this embodiment can operate up to a higher frequency than that of the first embodiment.

【0175】本実施例では、第1の実施例の加算回路2
01の図20に示す部分加算回路257の代わりに、図
31に示す第2の部分加算回路365を用いたので、加
算回路の計算時間を縮小し、ビデオ信号の処理に必要な
高速な動作速度を持つ荷重平均回路を提供することがで
きる。
In this embodiment, the adder circuit 2 of the first embodiment is used.
The second partial adder circuit 365 shown in FIG. 31 is used in place of the partial adder circuit 257 shown in FIG. A weighted average circuit having

【0176】(荷重平均回路の第6の実施例)以下、本
発明の荷重平均回路の第6の実施例について図面を参照
しながら、説明する。
(Sixth Embodiment of Weighted Average Circuit) Hereinafter, a sixth embodiment of the weighted average circuit of the present invention will be described with reference to the drawings.

【0177】図34は本発明の荷重平均回路の第6の実
施例のブロック図である。同図において、378は第7
の選択器(第7の選択手段)、380は第8の選択器
(第8の選択手段)、379は第9の選択器(第9の選
択手段)である。図30、図31と同じ構成要素につい
ては同一番号を付して、その説明を省略する。
FIG. 34 is a block diagram of a sixth embodiment of the weighted average circuit of the present invention. In the figure, 378 is the seventh
Selector (seventh selecting means), 380 is an eighth selector (eighth selecting means), and 379 is a ninth selector (ninth selecting means). The same components as those in FIGS. 30 and 31 are designated by the same reference numerals, and the description thereof will be omitted.

【0178】第1の桁上げ伝搬加算器368の内部構成
は図33に示した通りである。
The internal structure of the first carry propagation adder 368 is as shown in FIG.

【0179】第2、第3の桁上げ伝搬加算器367、3
66の内部構成は図32に示した通りである。
Second and third carry propagation adders 367, 3
The internal configuration of 66 is as shown in FIG.

【0180】第7の選択器378の内部の構成は、図1
8に示した選択器の論理回路図と同一である。
The internal configuration of the seventh selector 378 is shown in FIG.
This is the same as the logic circuit diagram of the selector shown in FIG.

【0181】第8の選択器380は、第7の選択器37
8と選択の機能が同一で、ビット数が8から3に縮小さ
れたものであるので、内部構成は、図18に示した選択
器の論理回路のうち5ビット分を削除したものである。
例えば、図18において論理積回路222〜231、論
理和回路211〜215を取り除いたものである。
The eighth selector 380 is the seventh selector 37.
Since the function of selection is the same as that of 8 and the number of bits is reduced from 8 to 3, the internal configuration is the same as that of the logic circuit of the selector shown in FIG.
For example, the logical product circuits 222 to 231 and the logical sum circuits 211 to 215 are removed from FIG.

【0182】第9の選択器379は、第1の選択器28
7〜291と選択の機能が同一で、ビット数が8から5
に縮小されたものであるので、内部構成は、図27に示
した選択器の論理回路のうち3ビット分を削除したもの
である。例えば、図27において論理積回路293〜3
01、論理和回路319〜321を取り除いたものにな
る。
The ninth selector 379 is the first selector 28.
7 to 291 have the same selection function and the number of bits is 8 to 5
Since it has been reduced to, the internal configuration is the same as that of the logic circuit of the selector shown in FIG. For example, in FIG. 27, AND circuits 293 to 3
01, and OR circuits 319 to 321 are removed.

【0183】次に、本実施例の荷重平均回路の具体的構
成及びその動作を説明する。
Next, the specific structure and operation of the weighted average circuit of this embodiment will be described.

【0184】選択制御信号SC=0のとき、選択器287
〜291は各々の選択制御信号S2〜S6によって入力信号
A,Bのどちらかを選び、選択器380は桁上げ伝搬加
算器368の出力を選び、選択器379は桁上げ伝搬加
算器368の出力の桁上げによって桁上げ伝搬加算器3
67か桁上げ伝搬加算器366かのどちらかの出力を選
ぶ。
When the selection control signal SC = 0, the selector 287
˜291 selects either of the input signals A and B according to the selection control signals S2 to S6, the selector 380 selects the output of the carry propagation adder 368, and the selector 379 outputs the output of the carry propagation adder 368. Carry carry adder 3 by carry of
Either the output of 67 or carry propagate adder 366 is selected.

【0185】従って、桁上げ伝搬加算器366〜368
と選択器379、380とが合わさって桁上げ選択加算
器として動作し、この桁上げ選択加算器が第1の部分加
算回路232の2つの出力を合計して出力する。したが
って、このときは本荷重平均回路の動作は従来例と同様
であり、ブレンド比率α = S2/2 + S3/4 + S4/8 +S5/16
+ S6/16 による合成の計算αx A + (1-α)xBを行な
い、出力する。
Therefore, carry propagation adders 366 to 368.
And the selectors 379 and 380 operate as a carry select adder, and the carry select adder sums the two outputs of the first partial adder circuit 232 and outputs the result. Therefore, at this time, the operation of this weighted average circuit is similar to the conventional example, and the blend ratio α = S2 / 2 + S3 / 4 + S4 / 8 + S5 / 16
+ S6 / 16 is used to calculate the composite α x A + (1-α) x B and output.

【0186】これに対し、選択制御信号SC=1のとき、
選択器287〜291は各々に入力された定数値C2〜C6
を第1の部分加算回路232に入力する。第1の部分加
算回路232は入力信号A,Bに拘らず、ある定数値を
出力するようになるので、桁上げ伝搬加算器366〜3
68も入出力の値がそれぞれ定数値をとることになる。
選択器380は選択器378の下位3ビットを選んで出
力し、選択器379は選択器378の上位5ビットを選
んで出力する。選択器378は選択制御信号SCに拘ら
ず、選択制御信号SAB によって入力信号A,Bのどちら
かを選んで、出力する。
On the other hand, when the selection control signal SC = 1,
The selectors 287 to 291 have constant values C2 to C6 input to them.
Is input to the first partial adder circuit 232. Since the first partial adder circuit 232 outputs a constant value regardless of the input signals A and B, the carry propagation adders 366-3 are provided.
The input and output values of 68 also take constant values.
The selector 380 selects and outputs the lower 3 bits of the selector 378, and the selector 379 selects and outputs the upper 5 bits of the selector 378. The selector 378 selects and outputs either the input signal A or B according to the selection control signal SAB regardless of the selection control signal SC.

【0187】したがって、選択制御信号SC=1のとき、
本実施例の荷重平均回路の出力として、SAB =1ならば
入力信号Aが、SAB =0ならばBが出力される。
Therefore, when the selection control signal SC = 1,
As the output of the weight averaging circuit of this embodiment, the input signal A is output if SAB = 1, and B is output if SAB = 0.

【0188】このように、機能に関しては本実施例の荷
重平均回路は前記第4及び第5の実施例と全く同一であ
る。
As described above, in terms of function, the weighted average circuit of this embodiment is exactly the same as that of the fourth and fifth embodiments.

【0189】続いて、本実施例の荷重平均回路と実施例
5の荷重平均回路との動作速度を比較する。
Next, the operating speeds of the weighted average circuit of the present embodiment and the weighted average circuit of the fifth embodiment will be compared.

【0190】前記第5の実施例の荷重平均回路におい
て、加算回路232と加算回路365を合わせた部分の
最長経路は、例えば全加算器240の入力から各全加算
器248、256、377、376、375、374を
経由し、第3の選択器369の内部で、反転器1個、論
理積回路1個、論理和回路1個を通っているので、全加
算器7個、反転器1個、論理積回路1個、論理和回路1
個である。
In the weighted average circuit of the fifth embodiment, the longest path of the portion where the adder circuit 232 and the adder circuit 365 are combined is, for example, from the input of the full adder 240 to each full adder 248, 256, 377, 376. , 375, 374, inside the third selector 369, one inverter, one logical product circuit, and one logical sum circuit are passed, so there are seven full adders and one inverter. , AND circuit 1 and OR circuit 1
It is an individual.

【0191】したがって、第5の実施例の荷重平均回路
全体の最長経路は、加算回路232と加算回路365の
前後の選択器の部分を合わせて、全加算器7個、反転器
1個、論理積回路3個、論理和回路3個を経由してお
り、その遅延時間は約28(ns)となる。
Therefore, the longest path of the entire weighted averaging circuit of the fifth embodiment is such that the adder circuit 232 and the selector parts before and after the adder circuit 365 are combined, seven full adders, one inverter, and a logical unit. It goes through three product circuits and three OR circuits, and its delay time is about 28 (ns).

【0192】これに対し、本実施例の荷重平均回路は、
第5の実施例の荷重平均回路の2個の選択器369,2
92を除去し、選択器378〜380を付加したもので
あり、最長経路は、前記2個の選択器369,292を
通過していた部分が選択器328を通過する部分として
置き換わっている。よって、最長経路は選択器1段分短
いことになり、全加算器7個、反転器1個、論理積回路
2個、論理和回路2個を経由することになる。
On the other hand, the weighted average circuit of this embodiment is
Two selectors 369, 2 of the weighted average circuit of the fifth embodiment
92 is removed and selectors 378 to 380 are added. In the longest path, the part that has passed through the two selectors 369 and 292 is replaced by the part that passes through the selector 328. Therefore, the longest path is shortened by one stage of the selector, and goes through 7 full adders, 1 inverter, 2 AND circuits, and 2 OR circuits.

【0193】したがって、本実施例で遅延時間は約2(n
s)減って、26(ns)となる。
Therefore, in this embodiment, the delay time is about 2 (n
s) is reduced to 26 (ns).

【0194】以上説明したように、本実施例の荷重平均
回路は、前記第5の実施例の荷重平均回路より更に短い
時間で動作することができ、計算時間を短縮した荷重平
均回路を提供することができる。
As described above, the weight averaging circuit of this embodiment can operate in a shorter time than the weight averaging circuit of the fifth embodiment, and provides a weight averaging circuit with a reduced calculation time. be able to.

【0195】(荷重平均回路の第7の実施例)以下、本
発明の第7の実施例の荷重平均回路について図面を参照
しながら、説明する。
(Seventh Embodiment of Weighted Average Circuit) Hereinafter, a weighted average circuit of a seventh embodiment of the present invention will be described with reference to the drawings.

【0196】図35は本発明の第7の実施例の荷重平均
回路のブロック図である。同図において、381は第1
の加算回路(第1の加算手段)、382〜385は第3
の選択器(第3の選択手段)、386は第2の加算回路
(第2の加算手段)、387、388は第4の選択器
(第4の選択手段)、389〜393は第5の選択器
(第5の選択手段)、394はデコーダ(制御手段)で
ある。但し、第5の選択器389〜393は2つの型に
分かれ、選択器389〜392が第1の型、残りの選択
器393が第2の型である。
FIG. 35 is a block diagram of a weighted average circuit according to the seventh embodiment of the present invention. In the figure, 381 is the first
Adder circuit (first adding means), and 382 to 385 are third
Selector (third selecting means), 386 is a second adding circuit (second adding means), 387, 388 is a fourth selector (fourth selecting means), and 389 to 393 are fifth. The selector (fifth selection means) 394 is a decoder (control means). However, the fifth selectors 389 to 393 are divided into two types, the selectors 389 to 392 are the first type, and the remaining selectors 393 are the second type.

【0197】図36に第1の加算回路の内部ブロック図
を、図37に第2の加算回路の内部ブロック図を示す。
図36、図37において、396〜402は桁上げ保存
加算器、195は桁上げ伝搬加算器である。
FIG. 36 shows an internal block diagram of the first adder circuit, and FIG. 37 shows an internal block diagram of the second adder circuit.
36 and 37, 396 to 402 are carry save adders and 195 are carry propagation adders.

【0198】ここで、ビット幅をもつ信号同士の接続
は、互いに添字の数の大きいものから順に接続するもの
とする。例えば、図37において、桁上げ保存加算器4
02の出力OA[8:1] が桁上げ保存加算器401の入力I1
A[7:0]に接続され、一般的には、OA[8] - I1A[7],OA
[7] - I1A[6],....., OA[1] - I1A[0] のように接続さ
れる。勿論、信号同士のビット幅は等しくなければなら
ない。
Here, signals having bit widths are connected to each other in order of increasing number of subscripts. For example, in FIG. 37, the carry save adder 4
02 output OA [8: 1] is input I1 of carry save adder 401
Connected to A [7: 0], typically OA [8]-I1A [7], OA
Connected as [7]-I1A [6], ....., OA [1]-I1A [0]. Of course, the signals must have the same bit width.

【0199】桁上げ保存加算器の内部構成図を図38
に、桁上げ伝搬加算器の内部構成図を図39に示す。
FIG. 38 shows an internal configuration diagram of the carry save adder.
FIG. 39 shows an internal configuration diagram of the carry propagation adder.

【0200】図38、図39において、403〜409
及び412〜418は1ビットの全加算器、410、4
19は2入力論理積回路、411、420は2入力排他
的論理和回路である。図21に1ビットの全加算器の論
理回路の動作の真理値表を示す。
38 and 39, 403 to 409
And 412 to 418 are 1-bit full adders, 410, 4
Reference numeral 19 is a 2-input AND circuit, and 411 and 420 are 2-input exclusive OR circuits. FIG. 21 shows a truth table of the operation of the logic circuit of the 1-bit full adder.

【0201】図40に第3の選択器の論理回路図を示
す。同図は同時に第5の選択器の第1の型の論理回路図
をも兼ねて示している。図40において、421〜43
6は2入力論理積回路、437〜444は2入力論理和
回路である。
FIG. 40 shows a logic circuit diagram of the third selector. At the same time, this figure also serves as a logic circuit diagram of the first type of the fifth selector. In FIG. 40, 421 to 43
Reference numeral 6 is a 2-input logical product circuit, and 437 to 444 are 2-input logical sum circuits.

【0202】図41に第4の選択器の論理回路図を示
す。同図において、445〜468は2入力論理積回
路、469〜476は3入力論理和回路である。
FIG. 41 shows a logic circuit diagram of the fourth selector. In the figure, 445 to 468 are 2-input logical product circuits and 469 to 476 are 3-input logical sum circuits.

【0203】図42に第5の選択器の第2の型の論理回
路図を示す。同図において、477〜484は2入力論
理積回路である。
FIG. 42 shows a logic circuit diagram of the second type of the fifth selector. In the figure, 477 to 484 are 2-input AND circuits.

【0204】図43にデコーダの論理回路図を示す。同
図において、485〜489は2入力論理和回路、49
0は3入力論理和回路、491〜500は反転器、50
1〜513は2入力論理積回路である。
FIG. 43 shows a logic circuit diagram of the decoder. In the figure, 485 to 489 are 2-input OR circuits, 49
0 is a 3-input OR circuit, 491 to 500 are inverters, 50
Reference numerals 1 to 513 are 2-input logical product circuits.

【0205】次に、本荷重平均回路の具体的構成及び動
作を説明する。
Next, the specific structure and operation of the weighted average circuit will be described.

【0206】図38の桁上げ保存加算器は、8ビットの
2進数を3つ入力して2:1:1の重み付きの加算を行
ない、その加算結果を8ビットと9ビットとの2つの2
進数で出力する。
The carry save adder shown in FIG. 38 inputs three 8-bit binary numbers, performs weighted addition of 2: 1: 1, and outputs the addition result to two bits of 8 bits and 9 bits. Two
Output in decimal.

【0207】図39の桁上げ伝搬加算器は、8ビットの
2進数を2つ入力し、これ等を対等の重みで加算し、そ
の加算結果を9ビットの2進数1つで出力する。
The carry propagation adder shown in FIG. 39 inputs two 8-bit binary numbers, adds them with equal weights, and outputs the addition result as one 9-bit binary number.

【0208】第1の加算回路381は、1つの桁上げ保
存加算器と1つの桁上げ伝搬加算器を縦続接続すること
により、桁ずらしによってそれぞれ1/2,1/4,1
/8,1/16,1/32,1/32に重み付けられた
6つの8ビットの2進数を入力し、加算して、その合計
を出力するようになっている。重みの和は1になってお
り、また、各重み1/2,1/4,1/8,1/16,
1/32,1/32は公比1/2の等比数列になってい
る。
The first adder circuit 381 cascades one carry save adder and one carry propagation adder to shift 1/2, 1/4, 1 respectively.
Six 8-bit binary numbers weighted to / 8, 1/16, 1/32, and 1/32 are input, added, and the sum is output. The sum of the weights is 1, and each weight is 1/2, 1/4, 1/8, 1/16,
1/32 and 1/32 are geometric progressions with a common ratio of 1/2.

【0209】出力の重みは重みの和,即ち1であり、最
小の重み1/32とは5桁ずれた関係になるので、出力
は13ビットになる。
The weight of the output is the sum of the weights, that is, 1 and has a relationship of being shifted by 5 digits from the minimum weight of 1/32, so that the output has 13 bits.

【0210】第2の加算回路386は、3つの桁上げ保
存加算器400〜402を縦続接続することにより、5
つの2進数を入力して重み付け加算し、その合計を8ビ
ットと11ビットの2つの2進数で出力する。出力の重
みをそれぞれ1/32とすれば、入力の重みはそれぞれ
1/32,1/64,1/128,1/256,1/2
56になる。1/32,1/64,1/128,1/2
56は公比1/2の等比数列になっている。
The second adder circuit 386 connects the three carry save adders 400 to 402 in cascade to obtain
Two binary numbers are input, weighted addition is performed, and the total is output as two binary numbers of 8 bits and 11 bits. If the output weights are 1/32, the input weights are 1/32, 1/64, 1/128, 1/256, 1/2, respectively.
56. 1/32, 1/64, 1/128, 1/2
56 is a geometric progression with a common ratio of 1/2.

【0211】図19に示す選択器は、入力信号A、B、
定数値0の3つの値から選択することができる。選択制
御信号SA=1、SB=0のときは出力YはY=Aになり、
選択制御信号SA=0、SB=1のときは出力YはY=Bに
なり、SA=SB=0のときは出力はY=0になる。
The selector shown in FIG. 19 has input signals A, B,
It can be selected from three values of constant value 0. When the selection control signals SA = 1 and SB = 0, the output Y becomes Y = A,
When the selection control signals SA = 0 and SB = 1, the output Y becomes Y = B, and when SA = SB = 0, the output becomes Y = 0.

【0212】図41に示す選択器は、入力信号A、B、
Cの3つの値から1つを選択することができる(定数値
0も選ぶことができるが本実施例では用いない)。選択
制御信号 SA =1、SB=SC=0のとき出力YはY=Aに
なり、選択制御信号SB=1、SA=SC=0のとき出力Yは
Y=Bになり、選択制御信号SC=1、SA=SB=0のとき
出力YはY=Cになる。
The selector shown in FIG. 41 has input signals A, B,
One can be selected from the three values of C (a constant value 0 can also be selected, but is not used in this embodiment). When the selection control signal SA = 1 and SB = SC = 0, the output Y becomes Y = A, and when the selection control signal SB = 1 and SA = SC = 0, the output Y becomes Y = B, and the selection control signal SC = 1 and SA = SB = 0, the output Y becomes Y = C.

【0213】図40、図41に示す選択器において、選
択制御信号SA、SB、SCの入力パターンは上に述べた以外
は与えられることはない。
In the selectors shown in FIGS. 40 and 41, the input patterns of the selection control signals SA, SB and SC are not given except for those described above.

【0214】選択器393には、図40に示す選択器を
用いてもよいが、出力YにつきY=Aが選択されること
はないので、回路を簡素化して図42に示す選択器を用
いれば良い。図42に示す選択器は、選択制御信号SB=
1のとき出力YはY=Bになり、選択制御信号SB=0の
とき出力YはY=0になる。
The selector shown in FIG. 40 may be used as the selector 393, but since Y = A is not selected for the output Y, the selector shown in FIG. 42 is used by simplifying the circuit. Good. The selector shown in FIG. 42 has a selection control signal SB =
When it is 1, the output Y is Y = B, and when the selection control signal SB = 0, the output Y is Y = 0.

【0215】このように全ての選択器が、入力されるデ
ィジタル入力信号の全てを切替えて選ぶ機能を必要とす
るとは限らない。従来例の荷重平均回路のように、選択
器の選択制御の組合わせ同士で実現するブレンド比率α
に重複のある場合があって、その冗長な部分(使わない
組合せ)に対応する選択機能を除去したり、又は回路量
の削減等のためにブレンド比率αの選択可能な場合の数
を減らすなどする場合に、一部の選択器は選択可能なデ
ィジタル入力信号を減らして、回路を簡素化することが
できる。
As described above, not all selectors need the function of switching and selecting all of the input digital input signals. Like the weighted average circuit of the conventional example, the blend ratio α realized by the combination of the selection control of the selectors
, There is a case where there is an overlap, and the selection function corresponding to the redundant part (combination not used) is removed, or the number of cases where the blend ratio α can be selected is reduced to reduce the circuit amount, etc. If so, some selectors can reduce the selectable digital input signal, simplifying the circuit.

【0216】デコーダ394には、符号R及び信号AC
Cが入力される。前記符号Rはブレンド比率αを指定す
る符号であって、本実施例では9ビットの2進固定小数
点数(小数点以下8桁)を用いる。前記信号ACCはブ
レンド比率の精度を指定する1ビットの信号である。
The decoder 394 has a code R and a signal AC.
C is input. The code R is a code for designating the blend ratio α, and in this embodiment, a 9-bit binary fixed point number (8 digits after the decimal point) is used. The signal ACC is a 1-bit signal that specifies the accuracy of the blend ratio.

【0217】本実施例の荷重平均回路の動作状態は、デ
コーダ394への入力に応じて、下記式(7),(8),(9) の
何れかが成立する場合に分類される。
The operating state of the weighted average circuit of this embodiment is classified according to the input to the decoder 394 when any of the following equations (7), (8) and (9) is satisfied.

【0218】 R[8] =1 …(7) R[8] =0 且つ{ACC=0又はR[2] =R[1] =R[0] =0} …(8) R[8] =0且つACC=1 且つ {R[2] =1又はR[1] =1又はR[0] =1} …(9) 以下、各々の場合の動作について述べる。R [8] = 1 ... (7) R [8] = 0 and {ACC = 0 or R [2] = R [1] = R [0] = 0} ... (8) R [8] = 0 and ACC = 1 and {R [2] = 1 or R [1] = 1 or R [0] = 1} (9) The operation in each case will be described below.

【0219】式(7) の場合には、デコーダ394の出力
は、 SA2,SA3,SA4,SA5,SA7,SA8=1であり、SB2,SB3,SB
4,SB5,SB7,SB8,SC7,SC8,SA9,SB9,SA10,SB10,SA11,SB11,
SA12,SB12,SB13=0であるので、選択器382〜38
5、387、388は入力信号Aを選択し、他の選択器
389〜393は定数値0を選択する。従って、加算回
路381の入力には全て入力信号Aが導かれるので、加
算回路381での計算はA/2 +A/4 +A/8 +A/16 + A
/32 + A/32 =Aとなり、出力は入力信号Aと等しい。
この場合、第2の加算回路386の入力には全て定数値
0が与えられるので、その第2の加算回路386の動作
は停止する。
In the case of the equation (7), the output of the decoder 394 is SA2, SA3, SA4, SA5, SA7, SA8 = 1, and SB2, SB3, SB
4, SB5, SB7, SB8, SC7, SC8, SA9, SB9, SA10, SB10, SA11, SB11,
Since SA12, SB12, SB13 = 0, selectors 382-38
5, 387 and 388 select the input signal A, and the other selectors 389 to 393 select the constant value 0. Therefore, since the input signal A is guided to all the inputs of the adder circuit 381, the calculation in the adder circuit 381 is A / 2 + A / 4 + A / 8 + A / 16 + A.
/ 32 + A / 32 = A, and the output is equal to the input signal A.
In this case, since the constant value 0 is given to all the inputs of the second adder circuit 386, the operation of the second adder circuit 386 is stopped.

【0220】また、前記式(7) の場合に、R[8:0] の固
定小数点数は1以上であるが、α>1の場合はブレンド
を定義しないので、α>1の場合はα=1として扱う。
即ち、R[8] =1ならば、R[7:0] の値に拘らず、α=
1として計算する。
Further, in the case of the above formula (7), the fixed point number of R [8: 0] is 1 or more, but when α> 1, the blend is not defined, and when α> 1, α is set. Treated as = 1.
That is, if R [8] = 1, regardless of the value of R [7: 0], α =
Calculate as 1.

【0221】式(8) の場合には、デコーダ394の出力
は、 SA2=!、SB2 =R[7] 、SA3 =!、SB3 =R[6]
、SA4 =!、SB4 =R[5] 、SA5 =!、SB5 =R[4]
、SA7 =!、SB7 =R[3] 、SB8 =1であり、SC7,SA
8,SC8,SA9,SB9,SA10,SB10,SA11,SB11,SA12,SB12,SB13=
0である(但し、「!」は論理の反転を指示する単項演
算子を示す)。この場合、例えば、選択器382はR
[7] によって入力信号A、Bのどちらかを選ぶよう制御
される。R[7] =1のとき出力YはY=Aに、R[7] =
0のとき出力YはY=Bになる。従って、Y={ R[7]x
A + (1-R[7])x B }と表すことができる。同様に、選
択器383、384、385、387がそれぞれR[6]
、R[5] 、R[4] 、R[3] 、によって入力信号A、B
のどちらかを選ぶよう制御され、また、選択器388は
入力信号Bを選択し、選択器389〜393は定数値0
を選択する。よって、選択器382〜385、387、
388の出力を第1の加算回路381で重みをつけて加
算した値は、下記式(10)のようになる。
In the case of equation (8), the output of the decoder 394 is SA2 =! , SB2 = R [7], SA3 =! , SB3 = R [6]
, SA4 =! , SB4 = R [5], SA5 =! , SB5 = R [4]
, SA7 =! , SB7 = R [3], SB8 = 1, SC7, SA
8, SC8, SA9, SB9, SA10, SB10, SA11, SB11, SA12, SB12, SB13 =
It is 0 (however, "!" Indicates a unary operator that inverts the logic). In this case, for example, the selector 382 is R
[7] controls to select either input signal A or B. When R [7] = 1, the output Y is Y = A, and R [7] =
When 0, the output Y becomes Y = B. Therefore, Y = {R [7] x
It can be represented as A + (1-R [7]) x B}. Similarly, the selectors 383, 384, 385 and 387 are respectively R [6].
, R [5], R [4], R [3], input signals A, B
, The selector 388 selects the input signal B, and the selectors 389 to 393 select the constant value 0.
Select. Therefore, the selectors 382-385, 387,
A value obtained by weighting and adding the output of 388 by the first adder circuit 381 is given by the following expression (10).

【0222】 { R[7]xA + (1-R[7])x B }/2 + {R[6]xA + (1-R[6])x B }/4 + {R [5]xA + (1-R[5])x B }/8 + {R[4]xA + (1-R[4])x B }/16 + { R[3]xA + (1-R[3])x B }/32 + B/32 …(10) 前記式を更に次の2つの式(11),(12) に変形して行くこ
とができる。
{R [7] xA + (1-R [7]) xB} / 2 + {R [6] xA + (1-R [6]) xB} / 4 + {R [5] xA + (1-R [5]) x B} / 8 + {R [4] xA + (1-R [4]) x B} / 16 + {R [3] xA + (1-R [3 ]) x B} / 32 + B / 32 (10) The above equation can be further transformed into the following two equations (11) and (12).

【0223】 { R[7]/2 + R[6]/4 + R[5]/8 + R[4]/16 + R[3]/32 }x A + { (1-R [7])/2 + (1-R[6])/4 + (1-R[5])/8 + (1-R[4])/16 + (1- R[3])/32 + 1/32 }x B …(11) { R[7]/2 + R[6]/4 + R[5]/8 + R[4]/16 +R[3]/32 }x A + { 1-(R [7]/2 + R[6]/4 + R[5]/8 + R[4]/16 +R[3]/32 ) }x B …(12) 従って、ブレンド比率α=R[7]/2 + R[6]/4 + R[5]/
8 + R[4]/16+ R[3]/32とすると、出力はαx A + (1-
α)xBとなっている。
{R [7] / 2 + R [6] / 4 + R [5] / 8 + R [4] / 16 + R [3] / 32} x A + {(1-R [7] ) / 2 + (1-R [6]) / 4 + (1-R [5]) / 8 + (1-R [4]) / 16 + (1-R [3]) / 32 + 1 / 32} x B… (11) {R [7] / 2 + R [6] / 4 + R [5] / 8 + R [4] / 16 + R [3] / 32} x A + {1- (R [7] / 2 + R [6] / 4 + R [5] / 8 + R [4] / 16 + R [3] / 32)} x B (12) Therefore, the blend ratio α = R [7] / 2 + R [6] / 4 + R [5] /
8 + R [4] / 16 + R [3] / 32, the output is α x A + (1-
It is α) x B.

【0224】したがって、前記式(8) の場合は、R[7:
3] の5ビットによってブレンド比率を0〜0.96875 の
範囲で 1/32 = 0.3125刻みに32通り指定することがで
きる。別の言い方で言えば、式(8) の場合は、ブレンド
比率を、固定小数点2進数で、整数部が0で小数部が5
桁以下で表現できる場合と一致する。R[2:0] は無視さ
れる(切捨てと考えても良い)。また、このとき、第2
の加算回路386の入力には全て定数値0が与えられる
ので、第2の加算回路386の動作は停止させられる。
Therefore, in the case of the above formula (8), R [7:
It is possible to specify 32 blend ratios in 1/32 = 0.3125 increments in the range of 0 to 0.96875 by 5 bits of [3]. In other words, in the case of the formula (8), the blend ratio is a fixed point binary number, the integer part is 0, and the decimal part is 5
Matches the case where it can be expressed in digits or less. R [2: 0] is ignored (though it may be considered to be truncated). Also, at this time, the second
Since the constant value 0 is given to all the inputs of the adder circuit 386, the operation of the second adder circuit 386 is stopped.

【0225】式(9) の場合には、デコーダ394の出力
は、 SA2=!、SB2 =R[7] 、SA3 =!、SB3 =R[6]
、SA4 =!、SB4 =R[5] 、SA5 =!、SB5 =R[4]
、SA7 =SB7 =SA8 =SB8 =0、SC7 =SC8 =1、SA9
=!、SB9 =R[3] 、SA10=!、SB10=R[2] 、SA11
=!、SB11=R[1] 、SA12=!、SB12=R[0] 、SB13=
1となる。従って、選択器382〜385はR[7:4] に
よって入力信号A、Bのどちらかを選ぶよう制御され、
選択器387、388はC(第2の加算回路386の出
力)を選択し、選択器389〜392はR[3:0] よって
入力信号A、Bのどちらかを選ぶよう制御され、選択器
393は入力信号Bを選択する。第2の加算回路386
の出力が選択器387、388を経由して第1の加算回
路381に入力されているので、これらの4つの構成要
素を合わせて1つの加算回路とみなすことができ、1/
2,1/4,1/8,1/16,1/32,1/64,
1/128,1/256,1/256に重み付けられた
9つの8ビットの2進数を入力して加算しその合計を出
力する加算回路とみなすことができる(厳密には、出力
の16ビットの下位3ビットが切捨てられて、13ビッ
トになっている。切捨てずに出力すれば全く機能の等価
なものになる)。選択器382〜385、選択器389
〜393の出力を前記の重み付けで合計することから、
第1の加算回路381の出力は下記式(13)のようにな
る。
In the case of the equation (9), the output of the decoder 394 is SA2 =! , SB2 = R [7], SA3 =! , SB3 = R [6]
, SA4 =! , SB4 = R [5], SA5 =! , SB5 = R [4]
, SA7 = SB7 = SA8 = SB8 = 0, SC7 = SC8 = 1, SA9
=! , SB9 = R [3], SA10 =! , SB10 = R [2], SA11
=! , SB11 = R [1], SA12 =! , SB12 = R [0], SB13 =
It becomes 1. Therefore, the selectors 382 to 385 are controlled by R [7: 4] to select one of the input signals A and B,
The selectors 387 and 388 select C (the output of the second adder circuit 386), and the selectors 389 to 392 are controlled by R [3: 0] to select either the input signal A or B. 393 selects the input signal B. Second adder circuit 386
Is output to the first adder circuit 381 via the selectors 387 and 388, it is possible to consider these four constituent elements as one adder circuit, and
2, 1/4, 1/8, 1/16, 1/32, 1/64,
It can be regarded as an adder circuit which inputs nine 8-bit binary numbers weighted to 1/128, 1/256, and 1/256, adds them, and outputs the total (strictly speaking, 16-bit output The lower 3 bits are truncated to 13 bits. If they are output without truncation, the functions are completely equivalent). Selectors 382-385, Selector 389
Since the outputs of ~ 393 are summed with the above weighting,
The output of the first adder circuit 381 is given by the following expression (13).

【0226】 { R[7]xA + (1-R[7])x B }/2 + {R[6]xA + (1-R[6])x B }/4 + {R [5]xA + (1-R[5])x B }/8 + {R[4]xA + (1-R[4])x B }/16 + { R[3]xA + (1-R[3])x B }/32 + { R[2]xA + (1-R[2])x B }/64 + { R[1]xA +(1-R[1])x B }/128 + {R[0]xA + (1-R[0])x B }/256 +B/256 …(13) この式を、更に下記式(14),式(15)に変形して行くこと
ができる。
{R [7] xA + (1-R [7]) x B} / 2 + {R [6] xA + (1-R [6]) x B} / 4 + {R [5] xA + (1-R [5]) x B} / 8 + {R [4] xA + (1-R [4]) x B} / 16 + {R [3] xA + (1-R [3 ]) x B} / 32 + {R [2] xA + (1-R [2]) x B} / 64 + {R [1] xA + (1-R [1]) x B} / 128 + {R [0] xA + (1-R [0]) xB} / 256 + B / 256 (13) This equation can be further transformed into the following equations (14) and (15). it can.

【0227】 { R[7]/2 + R[6]/4 + R[5]/8 + R[4]/16 +R[3]/32 +R[2]/64 +R [1]/128 + R[0]/256 }xA + { (1-R[7])/2 + (1-R[6])/4 + (1-R[5])/8 + (1- R[4])/16 + (1- R[3])/32 + (1- R[2])/64 + (1- R[1])/128 + (1-R [0])/256 + 1/256 }x B …(14) { R[7]/2 + R[6]/4 + R[5]/8 + R[4]/16 +R[3]/32 +R[2]/64 +R [1]/128 + R[0]/256 }xA + { 1-(R[7]/2 + R[6]/4 + R[5]/8 + R[4]/16+ R[3]/32 +R[2]/64 +R[1]/128 + R[0]/256 ) }xB …(15) 従って、ブレンド比率α=R[7]/2 + R[6]/4 + R[5]/
8 + R[4]/16 + R[3]/32 +R[2]/64 +R[1]/128 + R
[0]/256 とすると、出力はαx A+ (1- α)xBとなって
いる。
{R [7] / 2 + R [6] / 4 + R [5] / 8 + R [4] / 16 + R [3] / 32 + R [2] / 64 + R [1] / 128 + R [0] / 256} xA + {(1-R [7]) / 2 + (1-R [6]) / 4 + (1-R [5]) / 8 + (1-R [4]) / 16 + (1- R [3]) / 32 + (1-R [2]) / 64 + (1-R [1]) / 128 + (1-R [0]) / 256 + 1/256} x B… (14) {R [7] / 2 + R [6] / 4 + R [5] / 8 + R [4] / 16 + R [3] / 32 + R [2 ] / 64 + R [1] / 128 + R [0] / 256} xA + {1- (R [7] / 2 + R [6] / 4 + R [5] / 8 + R [4] / 16 + R [3] / 32 + R [2] / 64 + R [1] / 128 + R [0] / 256)} xB (15) Therefore, the blend ratio α = R [7] / 2 + R [6] / 4 + R [5] /
8 + R [4] / 16 + R [3] / 32 + R [2] / 64 + R [1] / 128 + R
Assuming [0] / 256, the output is αxA + (1-α) xB.

【0228】したがって、前記式(9) の場合は、R[7:
0] の8ビットによって、ブレンド比率αを0.00390625
〜0.99609375の範囲で 1/256 = 0.00390625 を最小の刻
み幅として指定することができる。常に 1/256刻みと考
えれば255通りであるが、前記式(8) の場合が除外さ
れるので、224通りある。別の言い方で言えば、式
(9) の場合は、ブレンド比率が、固定小数点2進数で整
数部が0で小数部が6桁以上8桁以下で表現できる場合
に等しい。このときは、第2の加算回路386も動作し
て、細かい精度のブレンド比率の実現に寄与している。
Therefore, in the case of the above formula (9), R [7:
The blend ratio α is 0.00390625 by 8 bits of 0].
You can specify 1/256 = 0.00390625 as the minimum step size in the range of ~ 0.99609375. Although there are always 255 possible steps if 1/256 steps are used, there are 224 possible cases since the case of the above formula (8) is excluded. In other words, the formula
In the case of (9), the blend ratio is equivalent to a case where the integer part is 0 in the fixed-point binary number and the decimal part can be represented by 6 digits or more and 8 digits or less. At this time, the second adder circuit 386 also operates to contribute to the realization of a blending ratio with fine precision.

【0229】次に、本実施例の荷重平均回路と、第1の
実施例の荷重平均回路とのブレンド比率の精度を拡張し
たものの消費電力を比較する。
Next, the power consumption of the weighted average circuit of the present embodiment and that of the weighted average circuit of the first embodiment with the extended blend ratio precision is compared.

【0230】前記第1の実施例の荷重平均回路は、本実
施例と同様にブレンド比率αの最小の刻み幅を 1/256 =
0.00390625 とするためには拡張されなければならな
い。拡張した第1の実施例の荷重平均回路のブロック図
を図44に示す。同図において、514は加算回路、5
15〜523は選択器である。選択器は図18に示され
たものと同様である。
In the weighted average circuit of the first embodiment, the minimum step size of the blend ratio α is 1/256 = as in this embodiment.
Must be expanded to 0.000.00625. A block diagram of the weighted average circuit of the expanded first embodiment is shown in FIG. In the figure, 514 is an adder circuit, 5
Reference numerals 15 to 523 are selectors. The selector is similar to that shown in FIG.

【0231】加算回路514の内部ブロック図を図45
に示す。同図において、523〜531は桁上げ保存加
算器、524は桁上げ伝搬加算器である。
FIG. 45 is an internal block diagram of the adder circuit 514.
Shown in. In the figure, 523 to 531 are carry save adders, and 524 is a carry propagation adder.

【0232】図44の荷重平均回路においては、本実施
例と同様、ブレンド比率αの値は0〜1の範囲で 1/256
= 0.00390625 刻みに257通り指定することができ
る。
In the weighted average circuit of FIG. 44, the value of the blend ratio α is 1/256 in the range of 0 to 1 as in the case of this embodiment.
= 257 can be specified in increments of 0.00390625.

【0233】消費電力を算出するための仮定として、ど
ちらの荷重平均回路も、例えばCMOSなどの直流消費電力
の非常に少ない素子を用いており直流消費電力は無視で
きるものとし、電力は論理ゲート(全加算器を含む)の
出力端子において値が反転した時に消費されるとする。
但し、過渡的な反転は存在せず、どの出力端子も入力が
変化した時から次の入力が変化する時までの間に、多く
とも1回だけ反転して、正しい値になるものとする。そ
の消費電力の値は、出力負荷容量に依存する部分は簡単
のために無視して、どの端子でも1(MHz) 当り25( μ
W)を消費するものとする。
As an assumption for calculating the power consumption, it is assumed that both weighted averaging circuits use elements such as CMOS having very low DC power consumption, and the DC power consumption can be neglected. It is consumed when the value is inverted at the output terminal of the full adder (including the full adder).
However, there is no transitional inversion, and it is assumed that any output terminal is inverted at most once between the time when the input changes and the time when the next input changes, and becomes the correct value. The power consumption value is 25 (μ) per 1 (MHz) at any pin, ignoring the part that depends on the output load capacitance for simplicity.
W) shall be consumed.

【0234】動作周波数は20(MHz) とし、どちらの荷
重平均回路もブレンド比率α=1で、入力信号Aの値を
そのまま出力するよう信号(S1〜S9、R、ACC)が固
定されているとする。
The operating frequency is 20 (MHz), both weighted average circuits have a blend ratio α = 1, and the signals (S1 to S9, R, ACC) are fixed so that the value of the input signal A is output as it is. And

【0235】入力信号Aには、前記のような仮定の場合
に最大の電力を消費するパターンである(0,0,0,0,0,0,
0,0) と(1,1,1,1,1,1,1,1) とが、画素毎に交互に入力
されているとする。
The input signal A is a pattern that consumes the maximum power under the above assumption (0,0,0,0,0,0,
It is assumed that (0,0) and (1,1,1,1,1,1,1,1,1) are input alternately for each pixel.

【0236】本実施例の荷重平均回路では、ブレンド比
率α=1を実現するのは、前記式(7) の場合である。こ
のとき、選択器382〜385、387、388は入力
信号Aを選択し、選択器389〜393は定数値0を選
択する。よって、選択器382〜385、387、38
8の出力及び第1の加算回路381の出力の上位8ビッ
トは画素毎に反転し、選択器389〜393及び第2の
加算回路386の出力は全て0のままで、一定である。
In the weighted average circuit of this embodiment, the blending ratio α = 1 is realized in the case of the equation (7). At this time, the selectors 382 to 385, 387 and 388 select the input signal A, and the selectors 389 to 393 select the constant value 0. Therefore, the selectors 382-385, 387, 38
The upper 8 bits of the output of 8 and the output of the first addition circuit 381 are inverted for each pixel, and the outputs of the selectors 389 to 393 and the second addition circuit 386 are all 0 and are constant.

【0237】選択器382〜385、387、388の
各々の内部では、入力信号Aの経路に当たる論理積回路
8個と論理和回路8個の出力が画素毎に反転する。
Inside each of the selectors 382 to 385, 387 and 388, the outputs of eight AND circuits and eight OR circuits corresponding to the path of the input signal A are inverted for each pixel.

【0238】第1の加算回路381の内部は、桁上げ保
存加算器4個と桁上げ伝搬加算器1個のブロックで構成
され、更にそれぞれのブロックは1ビットの全加算器7
個と論理積回路1個、排他的論理和回路1個で構成され
ているが、前記の動作状態では、排他的論理和回路以外
の出力はすべて画素毎に反転するので、ブロック当り1
5個の出力が反転している。
The inside of the first adder circuit 381 is composed of blocks of four carry save adders and one carry propagate adder, and each block is a full adder 7 of 1 bit.
In this operating state, all outputs other than the exclusive OR circuit are inverted for each pixel.
Five outputs are inverted.

【0239】したがって、反転する出力の数は、16
(選択器1個当り)×6+15(加算器ブロック当り)
×5=171であり、消費電力は、25( μW/MHz)×2
0(MHz) ×171( 個) =85500( μW)=85.5
(mW)である。
Therefore, the number of outputs to be inverted is 16
(Per selector) x 6 + 15 (per adder block)
× 5 = 171 and power consumption is 25 (μW / MHz) × 2
0 (MHz) x 171 (pieces) = 85500 (μW) = 85.5
(mW).

【0240】これに対し、拡張された第1の実施例の荷
重平均回路では、ブレンド比率α=1を実現するのは、
(S1,S2,S3,S4,S5,S6,S7,S8,S9)=(1,1,1,1,1,1,1,1,1)
の場合であり、この場合、選択器515〜523の出力
が画素毎に反転する。
On the other hand, in the weighted average circuit of the expanded first embodiment, the blend ratio α = 1 is realized by
(S1, S2, S3, S4, S5, S6, S7, S8, S9) = (1,1,1,1,1,1,1,1,1)
In this case, the outputs of the selectors 515 to 523 are inverted pixel by pixel.

【0241】加算回路514の内部は、桁上げ保存加算
器7個と桁上げ伝搬加算器1個とのブロックで構成され
る。
The inside of the adder circuit 514 is composed of blocks of seven carry save adders and one carry propagate adder.

【0242】選択器及び前記加算器ブロック内部の反転
する出力の数は実施例のものと同じあるから、反転する
出力の数は、16(選択器1個当り)×9+15(加算
器ブロック当り)×8=264であり、消費電力は、2
5( μW/MHz)×20(MHz) ×264( 個) =13200
0( μW)=132(mW)となる。
Since the number of inverted outputs inside the selector and the adder block is the same as that of the embodiment, the number of inverted outputs is 16 (per selector) × 9 + 15 (per adder block). × 8 = 264, and the power consumption is 2
5 (μW / MHz) × 20 (MHz) × 264 (pieces) = 13200
It becomes 0 (μW) = 132 (mW).

【0243】このように、ブレンド比率α=1の場合、
最大の消費電力は第1の実施例の荷重平均回路が132
(mW)であるのに対し、本実施例の荷重平均回路は85.
5(mW)と46.5(mW)少なくなる。
Thus, when the blend ratio α = 1,
The maximum power consumption is 132 in the weighted average circuit of the first embodiment.
(mW), the weighted average circuit of the present embodiment is 85.
It becomes 5 (mW) and 46.5 (mW) less.

【0244】次に、ブレンド比率αが1でない場合の消
費電力を考える。この場合、入力として最大の消費電力
を与えるものは、入力信号A、Bに等しい信号として、
(0,0,0,0,0,0,0,0) と(1,1,1,1,1,1,1,1) が画素毎に交
互に入力されている場合である。
Next, consider the power consumption when the blend ratio α is not 1. In this case, what gives the maximum power consumption as an input is a signal equal to the input signals A and B,
This is the case where (0,0,0,0,0,0,0,0) and (1,1,1,1,1,1,1,1,1) are input alternately for each pixel.

【0245】拡張された第1の実施例の荷重平均回路で
は、このような信号に対しては前記のブレンド比率α=
1の場合と同様に、132(mW)の電力を消費する。選択
器での信号の経路が違うだけで、反転する出力の数は同
じだからである。
In the weighted average circuit of the extended first embodiment, the blend ratio α =
As in the case of 1, the power consumption is 132 (mW). This is because the number of outputs to be inverted is the same, only the signal path in the selector is different.

【0246】本実施例の荷重平均回路では、式(8) の場
合と、式(9) の場合とで違いが生ずる。
In the weighted average circuit of this embodiment, there is a difference between the case of equation (8) and the case of equation (9).

【0247】前者の場合、選択器382〜385、38
7、388は入力信号A又はBを選択し、選択器389
〜393は定数値0を選択して、第2の加算回路386
は停止しているので、前記のブレンド比率α=1の場合
と同様に、85.5(mW)の電力を消費する。
In the former case, the selectors 382 to 385, 38
7, 388 selects the input signal A or B, and a selector 389
~ 393 selects the constant value 0, and the second addition circuit 386
Is stopped, the power consumption is 85.5 (mW) as in the case of the blend ratio α = 1.

【0248】一方、後者の場合は、選択器389〜39
3及び第2の加算回路386も動作するので、その消費
電力を加えなければならない。
On the other hand, in the latter case, the selectors 389-39.
The third and second adder circuits 386 also operate, so their power consumption must be added.

【0249】これらの加えられる部分の反転する出力の
数は、16(選択器1個当り)×4(選択器9〜12)
+8(選択器13)+15(加算器ブロック当り)×3
=117であり、増加する消費電力は25( μW/MHz)×
20(MHz) ×117( 個) =58500( μW)=58.
5(mW)であるので、この場合の実施例の荷重平均回路の
消費電力は、85.5+58.5=144(mW)となる。
The number of inverted outputs of these added parts is 16 (per selector) × 4 (selectors 9 to 12).
+8 (selector 13) +15 (per adder block) x 3
= 117, and the increasing power consumption is 25 (μW / MHz) ×
20 (MHz) × 117 (pieces) = 58500 (μW) = 58.
Since it is 5 (mW), the power consumption of the weighted average circuit of the embodiment in this case is 85.5 + 58.5 = 144 (mW).

【0250】最大の消費電力について再掲すると、拡張
された第1の実施例の回路ではブレンド比率αに拘らず
132(mW)であり、本実施例の荷重平均回路では、選択
器389〜393が定数値を選択する(つまり、第2の
加算回路386が動作しない)式(7) 及び式(8) の場合
は85.5(mW)であり、選択器389〜393が入力信
号を選択する(第2の加算回路386が動作する)式
(9) の場合は144(mW)である。
Restated about the maximum power consumption, in the expanded circuit of the first embodiment, the blend ratio is 132 (mW) regardless of the blending ratio α, and in the weighted average circuit of the present embodiment, the selectors 389 to 393 are In the case of formula (7) and formula (8) for selecting a constant value (that is, the second adder circuit 386 does not operate), it is 85.5 (mW), and the selectors 389 to 393 select the input signal. Expression (where the second adder circuit 386 operates)
In the case of (9), it is 144 (mW).

【0251】このように、本実施例の荷重平均回路は、
ブレンド比率が固定小数点2進数で表現して小数点以下
5桁までで表現できる場合に、拡張された第1の実施例
の荷重平均回路に比べて、約2/3の消費電力(最大
値)で済む。小数点以下が6桁以上になり細かい重みの
加算が必要な場合は、却って従来の回路より1割弱の消
費電力(最大値)の増加となる。従って、ブレンド比率
は小数点以下5桁までで設定する方が望ましい。
As described above, the weighted average circuit of this embodiment is
When the blend ratio is represented by a fixed-point binary number and can be represented by up to 5 digits after the decimal point, power consumption is about 2/3 (maximum value) compared to the weighted average circuit of the extended first embodiment. I'm done. In the case where the number of digits after the decimal point is 6 digits or more and fine weights need to be added, the power consumption (maximum value) is increased by a little less than 10% compared with the conventional circuit. Therefore, it is desirable to set the blend ratio within 5 digits after the decimal point.

【0252】また、第2の加算回路386の動作/休止
の状態を画素毎かそれに近い速度で切替えた場合も、切
替えの際の回路のスイッチング動作で電力が消費され、
休止の状態での低消費電力の効果が失われるので、避け
るべきである。
Also, when the operation / pause state of the second adder circuit 386 is switched for each pixel or at a speed close thereto, power is consumed by the switching operation of the circuit at the time of switching,
It should be avoided as it will lose the effect of low power consumption in hibernation.

【0253】画像の半透明合成に用いる場合、ブレンド
比率の切替えは最大の速さでも数百画素毎に行なわれる
場合が多い。この場合は前記のように消費電力低減の効
果が失われることはない。
When used for translucent composition of images, the blending ratio is often switched every several hundred pixels even at the maximum speed. In this case, the effect of reducing the power consumption is not lost as described above.

【0254】人間の視覚によってブレンド比率の値を細
かい精度まで正確に知覚認識することは難しいので、ブ
レンド比率を固定する場合は、小数点以下5桁までで表
現できる値を用いることに問題はない。
Since it is difficult for human vision to accurately perceive and recognize the value of the blend ratio to a fine precision, when fixing the blend ratio, there is no problem in using a value that can be represented by up to five digits after the decimal point.

【0255】人間の視覚はブレンド比率の変化(ひいて
は、その結果としての画像の変化)には敏感であるた
め、ブレンド比率の設定段階の幅が細かくなければ、ブ
レンド比率の値を変化させる際に画面がちらついてしま
う。
Since human vision is sensitive to changes in the blend ratio (and consequently changes in the image), unless the width of the blend ratio setting step is small, when changing the value of the blend ratio. The screen flickers.

【0256】例えば、ブレンド比率を小数点以下5桁ま
でで表現して変化させる場合、最小刻み幅は 1/32 であ
るが、入力信号A、Bの画像のコントラストがはっきり
している場合などでは、ブレンド比率の変化の際に画面
がちらつき、変化の段階を知覚してしまう。ブレンド比
率を小数点以下8桁まで用いて表現して最小刻み幅で変
化させると、1/256 ずつ変化してゆき、画面の変化は滑
らかで画面のちらつきは知覚されない。
For example, in the case where the blend ratio is expressed by 5 digits after the decimal point and changed, the minimum step size is 1/32, but when the contrast of the images of the input signals A and B is clear, When the blend ratio changes, the screen flickers and you perceive the stage of the change. When the blend ratio is expressed using up to 8 digits after the decimal point and is changed with the minimum step size, it changes by 1/256, the change of the screen is smooth, and the flicker of the screen is not perceived.

【0257】したがって、ブレンド比率を変化させる場
合の過渡的な状態としてのみ、第2の加算回路386が
動作し、細かい精度のブレンド比率が実現するようにす
れば、ブレンド比率の変化による画面の変化をスムーズ
に知覚させることができる。このような場合にのみ前記
式(9) の場合の動作を行なわせれば、第2の加算回路3
86が動作する状態の出現頻度を下げ、消費電力の少な
い状態の時間比率を大きくして、低消費電力の効果を発
揮させることができる。
Therefore, if the second adder circuit 386 operates to realize a blending ratio with fine precision only in a transitional state when the blending ratio is changed, a change in screen due to a change in blending ratio is achieved. Can be perceived smoothly. Only in such a case, if the operation in the case of the above equation (9) is performed, the second adder circuit 3
It is possible to reduce the frequency of appearance of the state in which the 86 operates and increase the time ratio of the state in which the power consumption is low, thereby exerting the effect of low power consumption.

【0258】尚、本実施例では、デコーダ394に入力
信号ACCを与え、この信号ACCによって第2の加算
回路386の停止を指示したが、R[2] =R[1] =R
[0] =0とすることによっても制御できるので、入力信
号ACCによる制御は行なわない場合には、ACC=1
として冗長な回路(即ち、論理積回路313)を除去す
ることができる。
In this embodiment, the input signal ACC is given to the decoder 394 and the stop of the second adder circuit 386 is instructed by this signal ACC. However, R [2] = R [1] = R
Since control can also be performed by setting [0] = 0, ACC = 1 when control is not performed by the input signal ACC.
As a result, the redundant circuit (that is, the logical product circuit 313) can be removed.

【0259】尚、本実施例では、第1の加算回路381
と第2の加算回路386とに2分割したが、その他、3
以上の複数に分割してもよいのは勿論である。
In this embodiment, the first adder circuit 381
And a second adder circuit 386, but other 3
Of course, it may be divided into the above plurality.

【0260】以上説明したように、本実施例によれば、
小ビットの加算回路を複数設けて、ブレンド比率の値が
固定小数点2進数で小数点以下5桁までで表現できる等
の,ブレンド比率が比較的大きな重みだけの和で実現で
きる場合に、前記複数の加算回路のうち一部のみを使用
し、残る加算回路は動作を停止させながら、ブレンド計
算を可能にできるので、電力消費の低減を図ることがで
きる。
As described above, according to this embodiment,
If a plurality of small bit addition circuits are provided and the value of the blend ratio can be represented by a fixed-point binary number with up to five digits after the decimal point, the blend ratio can be realized by the sum of relatively large weights. Since only a part of the adder circuit is used and the remaining adder circuit can perform the blend calculation while stopping the operation, it is possible to reduce the power consumption.

【0261】尚、以上の説明では、ブレンド比率を入力
して各選択器への選択制御信号を生成する制御手段とし
てデコーダを用いたが、本発明はこれに限定されず、そ
の他、制御手段を例えばROMにより構成してもよい。
この場合には、ブレンド比率の入力時から選択制御信号
の出力時までの遅延時間のバラツキが少なく、遅延時間
の最大値を小さく制限できる点で有利である。また、制
御手段をCPU及びそのソフトウェアにより構成しても
よく、この場合には、CPUの処理能力に余裕があれ
ば、ハードウェア量の低減を図ることが可能である。
In the above description, the decoder is used as the control means for inputting the blend ratio and generating the selection control signal to each selector, but the present invention is not limited to this, and other control means may be used. For example, it may be configured by a ROM.
In this case, there is little variation in the delay time from the input of the blend ratio to the output of the selection control signal, and it is advantageous in that the maximum value of the delay time can be limited to a small value. Further, the control means may be composed of a CPU and its software, and in this case, if the processing capacity of the CPU has a margin, the amount of hardware can be reduced.

【0262】[0262]

【発明の効果】以上説明したように、請求項1記載の発
明のウインドウ管理された画像ブレンド回路によれば、
ウインドウの重複が発生した場合に、重複した領域の画
素でブレンドが行なわれるよう設定し、その領域で画像
を半透明に合成して表示することができるようにしつ
つ、ウインドウの移動による重複部分の移動や変形に対
して書き込むデータ量が少なくて済み、重複部分のブレ
ンド比率を変更する場合はブレンド比率保持手段の値を
書き換えるだけで済む利点を有する。
As described above, according to the window managed image blending circuit of the invention described in claim 1,
When overlapping windows occur, the pixels in the overlapping areas are set to be blended so that the images can be displayed semi-transparently in that area, and the overlapping area due to the movement of the windows There is an advantage that the amount of data to be written is small with respect to movement and deformation, and when the blend ratio of the overlapping portion is changed, only the value of the blend ratio holding means is rewritten.

【0263】また、請求項2記載の発明のウインドウ管
理された画像ブレンド回路によれば、ウインドウに対応
してブレンド比率を設定する場合に、書き込むデータ量
が更に少なくて済む。
According to the window managed image blending circuit of the second aspect of the invention, the amount of data to be written can be further reduced when the blending ratio is set corresponding to the window.

【0264】更に、請求項3記載の発明のウインドウ管
理された画像ブレンド回路によれば、半透明合成表示を
行なう部分で中央処理装置に負担をかけずにブレンド比
率をスムーズに変化させて効果的な表示を行なうことが
できる。
Further, according to the window managed image blending circuit of the third aspect of the present invention, it is effective to smoothly change the blending ratio without imposing a load on the central processing unit in the portion for performing the semitransparent composite display. Can be displayed.

【0265】加えて、請求項7記載の発明のウインドウ
管理された画像ブレンド回路によれば、ウインドウに対
応してブレンド比率を設定する場合に、書き込むデータ
量が更に少なくて済む。
In addition, according to the window-blended image blending circuit of the present invention, the amount of data to be written can be further reduced when the blending ratio is set corresponding to the window.

【0266】また、請求項8、請求項9、請求項13及
び請求項15記載の発明の荷重平均回路によれば、i進
数の複数の信号が入力される加算手段において、重みの
総和を、その各重みうちの最大値の整数i(iはi進数
のi)の整数乗倍に設定したので、正確なブレンド計算
を1個の乗算器と同程度の回路規模及び動作速度の回路
で行なうことができる優れた効果を奏する。
Further, according to the weighted average circuit of the inventions of claim 8, claim 9, claim 13 and claim 15, in the adding means to which a plurality of i-adic signals are input, the sum of weights is Since the weight is set to an integral multiple of the maximum value integer i (i is i of i-ary number), accurate blend calculation is performed by a circuit having a circuit scale and operating speed equivalent to one multiplier. It has an excellent effect.

【0267】更に、請求項4記載の発明のウインドウ管
理された画像ブレンド回路によれば、半透明合成が行わ
れる際のブレンド計算を正確に行うことができると共
に、1個の乗算器と同程度の回路規模及び動作速度でそ
のブレンド計算を行なうことができる効果を奏する。
Further, according to the window-managed image blending circuit of the present invention as defined in claim 4, it is possible to accurately perform the blending calculation when the semi-transparent composition is performed, and at the same level as one multiplier. It is possible to perform the blend calculation with the circuit scale and the operation speed.

【0268】加えて、請求項10、請求項21及び請求
項22記載の発明の荷重平均回路によれば、複数のディ
ジタル入力信号及び定数値の中から1つを選択する第1
の選択手段と、加算回路の出力及び複数のディジタル入
力信号の中から1つを選択して出力する第2の選択手段
を具備したので、ブレンド比率がディジタル入力信号自
体の選択を指示する値となった場合に、加算回路の無駄
な動作をなくして、低消費電力化を図ることができる。
In addition, according to the weighted average circuit of the tenth, twenty-first and twenty-second aspects of the present invention, a first one is selected from a plurality of digital input signals and a constant value.
And the second selecting means for selecting and outputting one of the output of the adder circuit and the plurality of digital input signals, the blend ratio has a value indicating the selection of the digital input signal itself. In this case, useless operation of the adder circuit can be eliminated and power consumption can be reduced.

【0269】また、請求項5記載の発明のウインドウ管
理された画像ブレンド回路によれば、半透明合成が行わ
れない位置の画素が転送される時,即ちブレンド比率が
ディジタル入力信号自体の選択を指示する値である時
に、加算手段の無駄な動作を停止させて、低消費電力化
を図ることができる。
According to the window managed image blending circuit of the present invention, when the pixel at the position where the translucent composition is not performed is transferred, that is, the blending ratio selects the digital input signal itself. When the value is the instructed value, the useless operation of the adding means can be stopped to achieve low power consumption.

【0270】更に、請求項11、請求項18、請求項1
9及び請求項20記載の発明の荷重平均回路によれば、
小ビットの加算回路を複数設けて、ブレンド比率が比較
的大きな重みだけの和で実現できる場合に、前記複数の
加算回路のうち一部のみを使用し、残る加算回路は動作
を停止させながら、ブレンド計算を可能にできるので、
電力消費の低減を図ることができる。
Furthermore, claim 11, claim 18, claim 1
According to the weighted average circuit of the invention described in claim 9 and claim 20,
When a plurality of small bit addition circuits are provided and the blend ratio can be realized by the sum of only relatively large weights, only a part of the plurality of addition circuits is used, and the remaining addition circuits stop the operation. You can enable blending calculations,
It is possible to reduce power consumption.

【0271】加えて、請求項6記載の発明のウインドウ
管理された画像ブレンド回路によれば、半透明合成が行
われる際に、その半透明合成のブレンド比率が比較的大
きな重みだけの和で実現できる場合には、複数の加算回
路のうち一部のみを使用して、残る加算回路は動作を停
止させながら、そのブレンド計算を可能にできるので、
電力消費の低減を図ることができる。
In addition, according to the window managed image blending circuit of the present invention, when the semitransparent composition is performed, the blending ratio of the semitransparent composition is realized by the sum of only relatively large weights. If possible, use only a part of the multiple adder circuits, and the rest of the adder circuits can stop their operations while enabling the blend calculation.
It is possible to reduce power consumption.

【0272】また、請求項12及び請求項14記載の発
明の荷重平均回路によれば、2進数を扱う場合に、加算
回路の出力を零捨一入する回路を備えたので、その2進
数の値を丸める際の誤差を小さくできる効果を有する。
Further, according to the weighted average circuit of the invention of claims 12 and 14, since the output of the adder circuit is rounded down to zero when the binary number is handled, the binary number This has the effect of reducing the error in rounding the value.

【0273】更に、請求項16記載の発明の荷重平均回
路によれば、加算回路を桁上げ選択加算器で構成したの
で、荷重平均回路の信号の伝搬遅延時間を少なくして、
ビデオ信号の処理に必要な高速な動作速度を持つ優れた
効果を奏する。
Further, according to the weighted average circuit of the sixteenth aspect of the present invention, since the adder circuit is constituted by the carry selection adder, the propagation delay time of the signal of the weighted average circuit is reduced,
It has an excellent effect of having a high operation speed necessary for processing a video signal.

【0274】加えて、請求項17記載の発明の荷重平均
回路によれば、桁上げ選択加算器内での最長経路の伝搬
遅延時間を一層短くしたので、より高速な優れた荷重平
均回路を実現できる。
In addition, according to the weighted average circuit of the seventeenth aspect of the present invention, the propagation delay time of the longest path in the carry selection adder is further shortened, so that a faster and excellent weighted average circuit is realized. it can.

【0275】また、請求項23及び請求項24記載の発
明の荷重平均回路によれば、加算手段における各々の重
みが、最後の重みを除いて、公比1/2の等比数列をな
し、その最後の重みが直前の重みに等しい場合に、ブレ
ンド比率を記述する入力を各選択手段の制御信号に変換
するデコーダを設けたので、ブレンド比率を表す固定小
数点2進数をそのまま入力しても正しく動作する優れた
荷重平均回路を実現できる。
Further, according to the weighted average circuit of the invention described in claims 23 and 24, each weight in the addition means forms a geometric progression with a common ratio of 1/2, excluding the last weight, When the final weight is equal to the immediately preceding weight, a decoder for converting the input describing the blend ratio into the control signal of each selection means is provided. Therefore, even if the fixed-point binary number representing the blend ratio is input as it is, it is correct. An excellent weighted average circuit that operates can be realized.

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

【図1】本発明のウインドウ管理された画像ブレンド回
路の構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a window managed image blend circuit of the present invention.

【図2】図1中のデータセレクタの機能表を示す図であ
る。
FIG. 2 is a diagram showing a function table of a data selector in FIG.

【図3】図1中の画素ブレンド装置の内部構成を示すブ
ロック図である。
3 is a block diagram showing an internal configuration of a pixel blending device in FIG.

【図4】図1中の1つの荷重平均回路の内部構成を示す
回路図である。
FIG. 4 is a circuit diagram showing an internal configuration of one weighted average circuit in FIG.

【図5】図1の画像ブレンド回路を用いた情報処理装置
のディスプレイ画面における第1〜第3のウインドウの
配置例を示す図である。
5 is a diagram showing an arrangement example of first to third windows on a display screen of an information processing device using the image blending circuit of FIG.

【図6】図5中のウインドウ重複部分の位置を示す図で
ある。
FIG. 6 is a diagram showing positions of window overlapping portions in FIG.

【図7】図5中の第1のウインドウに文書を、第2のウ
インドウに図柄をそれぞれ表示した例を示す図である。
FIG. 7 is a diagram showing an example in which a document is displayed in a first window and a design is displayed in a second window in FIG.

【図8】ディスプレイ表示画面上で2情報が重ならない
図7の場合の各手段の記憶内容を示す図である。
FIG. 8 is a diagram showing stored contents of respective means in the case of FIG. 7 in which two pieces of information do not overlap on a display screen.

【図9】図5中の第1のウインドウに文書を、第3のウ
インドウに図柄をそれぞれ表示した例を示す図である。
FIG. 9 is a diagram showing an example in which a document is displayed in a first window in FIG. 5 and symbols are displayed in a third window.

【図10】ディスプレイ表示画面上で2情報が一部領域
で重なる図9の場合の各手段の記憶内容を示す図であ
る。
FIG. 10 is a diagram showing stored contents of respective means in the case of FIG. 9 in which two pieces of information overlap each other on a display display screen in a partial area.

【図11】本発明の他の実施例に係るウインドウ管理さ
れた画像ブレンド回路の構成を示すブロック図である。
FIG. 11 is a block diagram showing a configuration of a window managed image blending circuit according to another embodiment of the present invention.

【図12】図11中のデータセレクタの機能表を示す図
である。
12 is a diagram showing a function table of the data selector in FIG.

【図13】ディスプレイ表示画面上で2情報が重ならな
い図7の場合の各手段の記憶内容を示す図である。
FIG. 13 is a diagram showing stored contents of each unit in the case of FIG. 7 in which two pieces of information do not overlap each other on the display screen.

【図14】ディスプレイ表示画面上で2情報が一部領域
で重なる図9の場合の各手段の記憶内容を示す図であ
る。
FIG. 14 is a diagram showing stored contents of each unit in the case of FIG. 9 in which two pieces of information overlap each other on a display display screen.

【図15】本発明の更に他の実施例に係るウインドウ管
理された画像ブレンド回路の構成を示すブロック図であ
る。
FIG. 15 is a block diagram showing a configuration of a window managed image blending circuit according to still another embodiment of the present invention.

【図16】ウインドウの重複がない場合の図15中のウ
インドウ情報記憶装置の記憶内容の例を表わす表を示す
図である。
16 is a diagram showing a table showing an example of stored contents of the window information storage device in FIG. 15 when there is no overlapping of windows.

【図17】ウインドウの重複がある場合の図15中のウ
インドウ情報記憶装置の記憶内容の例を表わす表を示す
図である。
FIG. 17 is a diagram showing a table showing an example of stored contents of the window information storage device in FIG. 15 when windows overlap.

【図18】第1の実施例における荷重平均回路に備える
選択器の論理回路図である。
FIG. 18 is a logic circuit diagram of a selector included in the weighted average circuit in the first embodiment.

【図19】同荷重平均回路に備える第1の部分加算回路
の内部ブロック図である。
FIG. 19 is an internal block diagram of a first partial adder circuit included in the weighted average circuit.

【図20】同荷重平均回路に備える第2の部分加算回路
の内部ブロック図である。
FIG. 20 is an internal block diagram of a second partial addition circuit included in the weighted average circuit.

【図21】1ビットの全加算器の動作の真理値表を示す
図である。
FIG. 21 is a diagram showing a truth table of the operation of the 1-bit full adder.

【図22】本発明の第2の実施例における荷重平均回路
のブロック図である。
FIG. 22 is a block diagram of a weighted average circuit in the second embodiment of the present invention.

【図23】零捨一入を行なう回路の論理回路図である。FIG. 23 is a logic circuit diagram of a circuit that performs rounding to zero.

【図24】本発明の第3の実施例における荷重平均回路
のブロック図である。
FIG. 24 is a block diagram of a weighted average circuit according to the third embodiment of the present invention.

【図25】同荷重平均回路に備えるデコーダの論理回路
図である。
FIG. 25 is a logic circuit diagram of a decoder included in the weighted average circuit.

【図26】本発明の第4の実施例における荷重平均回路
のブロック図である。
FIG. 26 is a block diagram of a weighted average circuit according to the fourth embodiment of the present invention.

【図27】同荷重平均回路に備える第1の選択器の論理
回路図である。
FIG. 27 is a logic circuit diagram of a first selector included in the weighted average circuit.

【図28】同荷重平均回路に備える第2の選択器の論理
回路図である。
FIG. 28 is a logic circuit diagram of a second selector included in the weighted average circuit.

【図29】第2の実施例における荷重平均回路に備える
デコーダの論理回路図である。
FIG. 29 is a logic circuit diagram of a decoder included in the weighted average circuit in the second example.

【図30】本発明の第5の実施例における荷重平均回路
のブロック図である。
FIG. 30 is a block diagram of a weighted average circuit in the fifth embodiment of the present invention.

【図31】同荷重平均回路に備える第2の部分加算回路
のブロック図である。
FIG. 31 is a block diagram of a second partial adder circuit included in the weighted average circuit.

【図32】同荷重平均回路に備える4ビットの桁上げ伝
搬加算器のブロック図である。
FIG. 32 is a block diagram of a 4-bit carry propagation adder included in the weighted average circuit.

【図33】同荷重平均回路に備える4ビットと7ビット
の値を加算する桁上げ伝搬加算器のブロック図である。
FIG. 33 is a block diagram of a carry propagation adder for adding 4-bit and 7-bit values in the weighted average circuit.

【図34】本発明の第6の実施例における荷重平均回路
のブロック図である。
FIG. 34 is a block diagram of a weighted average circuit in the sixth example of the present invention.

【図35】本発明の第7の実施例における荷重平均回路
のブロック図である。
FIG. 35 is a block diagram of a weighted average circuit in the seventh embodiment of the present invention.

【図36】同荷重平均回路に備える第1の加算回路のブ
ロック図である。
FIG. 36 is a block diagram of a first adder circuit included in the weighted average circuit.

【図37】同荷重平均回路に備える第2の加算回路のブ
ロック図である。
FIG. 37 is a block diagram of a second adder circuit included in the weighted average circuit.

【図38】同荷重平均回路に備える桁上げ保存加算器の
内部構成図である。
FIG. 38 is an internal configuration diagram of a carry save adder included in the weighted average circuit.

【図39】同荷重平均回路に備える桁上げ伝搬加算器の
内部構成図である。
FIG. 39 is an internal configuration diagram of a carry propagation adder included in the weighted average circuit.

【図40】図51は同荷重平均回路に備える第3の選択
器の論理回路図である。
FIG. 40 is a logic circuit diagram of a third selector included in the weighted average circuit.

【図41】同荷重平均回路に備える第4の選択器の論理
回路図である。
FIG. 41 is a logic circuit diagram of a fourth selector included in the weighted average circuit.

【図42】同荷重平均回路に備える第5の選択器の論理
回路図である。
FIG. 42 is a logic circuit diagram of a fifth selector included in the weighted average circuit.

【図43】同荷重平均回路に備えるデコーダの論理回路
図である。
FIG. 43 is a logic circuit diagram of a decoder included in the weighted average circuit.

【図44】他の実施例の荷重平均回路のブロック図であ
る。
FIG. 44 is a block diagram of a weighted average circuit of another embodiment.

【図45】別の実施例の荷重平均回路に備える第1の加
算回路の内部構成図である。
FIG. 45 is an internal configuration diagram of a first adder circuit included in a weighted average circuit of another embodiment.

【図46】従来の荷重平均回路の第1の例を示すブロッ
ク図である。
FIG. 46 is a block diagram showing a first example of a conventional weighted average circuit.

【図47】従来の荷重平均回路の第2の例を示すブロッ
ク図である。
FIG. 47 is a block diagram showing a second example of a conventional weighted average circuit.

【図48】従来の荷重平均回路の第3の例を示すブロッ
ク図である。
FIG. 48 is a block diagram showing a third example of a conventional weighted average circuit.

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

101 画素位置情報供給装置(画素位置情報供
給手段) 10,103 画像メモリ(画像出力手段) 104 画素ブレンド装置(画素ブレンド手段) 105 カウンタ(ブレンド比率保持手段) 106 ブレンド比率バッファ(ブレンド比率バ
ッファ手段) 107,133 データセレクタ(データ選択手段) 108,134 アトリビュートバッファ(アトリビュー
トバッファ手段) 109 中央処理装置(ウインドウ管理手段) 111 〜113 荷重平均回路(荷重平均手段) 115 加算回路(加算手段) 116 〜120 入力セレクタ(入力選択手段) 121 出力セレクタ(出力選択手段) 122 デコーダ(デコード手段) 135 ウインドウ情報記憶装置(ウインドウ情
報記憶手段) 136 制御信号決定装置(選択情報出力手段) 201 加算回路(加算手段) 202 〜206 選択器(選択手段) 282,601,394 デコーダ(制御手段) 287 〜291 第1の選択器(第1の選択手段) 292 第2の選択器(第2の選択手段) 381 第1の加算回路(第1の加算手段) 382 〜385 第3の選択器(第3の選択手段) 386 第2の加算回路(第2の加算手段) 387,388 第4の選択器(第4の選択手段) 389 〜393 第5の選択器(第5の選択手段) 232 第1の部分加算回路 365 第2の部分加算回路 368 第1の桁上げ伝搬加算器 367 第2の桁上げ伝搬加算器 366 第3の桁上げ伝搬加算器 400 〜404 桁上げ保存加算器 369 第6の選択手段 378 第7の選択回路(第7の選択手段) 380 第8の選択回路(第8の選択手段) 379 第9の選択回路(第9の選択手段)
101 pixel position information supply device (pixel position information supply means) 10,103 image memory (image output means) 104 pixel blending device (pixel blending means) 105 counter (blend ratio holding means) 106 blend ratio buffer (blend ratio buffer means) 107,133 data Selector (data selection means) 108,134 Attribute buffer (attribute buffer means) 109 Central processing unit (window management means) 111-113 Weighted average circuit (weighted average means) 115 Addition circuit (addition means) 116-120 Input selector (input selection means) ) 121 output selector (output selection means) 122 decoder (decoding means) 135 window information storage device (window information storage means) 136 control signal determination device (selection information output means) 201 addition circuit (addition means) 202 to 206 selector ( Selection means) 282,601,394 Decoder (control means) 287 to 29 1 1st selector (1st selecting means) 292 2nd selector (2nd selecting means) 381 1st addition circuit (1st adding means) 382-385 3rd selector (3rd 386 second adding circuit (second adding means) 387,388 fourth selector (fourth selecting means) 389 to 393 fifth selector (fifth selecting means) 232 first part Adder circuit 365 Second partial adder circuit 368 First carry propagate adder 367 Second carry propagate adder 366 Third carry propagate adder 400-404 Carry save adder 369 Sixth selection means 378 7th selection circuit (7th selection means) 380 8th selection circuit (8th selection means) 379 9th selection circuit (9th selection means)

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 G06T 1/00 11/00 G09G 5/14 C 9471−5G (31)優先権主張番号 特願平6−8960 (32)優先日 平6(1994)1月31日 (33)優先権主張国 日本(JP)─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 6 Identification number Internal reference number FI technical display location G06T 1/00 11/00 G09G 5/14 C 9471-5G (31) Priority claim number 6-8960 (32) Priority Day Hei 6 (1994) January 31 (33) Country of priority claim Japan (JP)

Claims (24)

【特許請求の範囲】[Claims] 【請求項1】 マルチウインドウ方式の情報処理装置に
おいてディスプレイ画面上のウインドウ重複部分に半透
明合成画像を表示できるようにウインドウ管理された画
像ブレンド回路であって、 前記ディスプレイ画面にラスタースキャン方式にて画像
を表示するように同期のための画素クロックを含んだ画
素位置情報を出力するための画素位置情報供給手段と、 各々前記ディスプレイ画面と同一の大きさをもつ画像の
画素情報を前記画素位置情報にしたがって順次出力する
ための複数の画像出力手段と、 前記ディスプレイ画面の画素毎に設定されたブレンド比
率情報を記憶し、該記憶しているブレンド比率情報を前
記画素位置情報にしたがって順次出力するためのブレン
ド比率バッファ手段と、 1つのブレンド比率情報を記憶し、該記憶しているブレ
ンド比率情報を前記画素位置情報にしたがって繰り返し
出力するためのブレンド比率保持手段と、 前記ディスプレイ画面の画素毎に設定された選択情報を
記憶し、該記憶している選択情報を前記画素位置情報に
したがって順次出力するためのアトリビュートバッファ
手段と、 前記ブレンド比率バッファ手段からのブレンド比率情報
と前記ブレンド比率保持手段からのブレンド比率情報と
のいずれかを、前記アトリビュートバッファ手段からの
選択情報にしたがって選択出力するためのデータ選択手
段と、 前記複数の画像出力手段の各々からの画素情報と前記デ
ータ選択手段からのブレンド比率情報とを前記画素位置
情報にしたがって同期入力し、かつ該入力されたブレン
ド比率情報に応じて前記複数の画像出力手段の各々から
入力された画素情報をブレンドして出力するための画素
ブレンド手段と、 前記ディスプレイ画面上の複数のウインドウの各々に対
象映像を表示するために該複数のウインドウの各々の管
理情報として各ウインドウの位置、形状寸法及び表示対
象を記憶しかつ操作者の指示に応じて該管理情報を更新
し、かつ前記記憶している管理情報に対応して前記ブレ
ンド比率バッファ手段及び前記アトリビュートバッファ
手段の記憶内容を構成しかつ更新するためのウインドウ
管理手段とを備えたことを特徴とするウインドウ管理さ
れた画像ブレンド回路。
1. An image blending circuit managed by a window so that a translucent composite image can be displayed in a window overlapping portion on a display screen in a multi-window information processing device, the raster scanning method being used for the display screen. Pixel position information supplying means for outputting pixel position information including a pixel clock for synchronization so as to display an image; and pixel position information for an image having the same size as the display screen A plurality of image output means for sequentially outputting in accordance with the above, and for storing the blend ratio information set for each pixel of the display screen, for sequentially outputting the stored blend ratio information in accordance with the pixel position information. Blend ratio buffer means for storing one blend ratio information, and storing the blend ratio information. Blending ratio holding means for repeatedly outputting the blending ratio information according to the pixel position information, and selection information set for each pixel of the display screen is stored, and the stored selection information is stored in the pixel position information. According to the selection information from the attribute buffer means, one of the attribute buffer means for sequentially outputting according to the blend ratio information from the blend ratio buffer means and the blend ratio information from the blend ratio holding means is selected. Data selection means for outputting, pixel information from each of the plurality of image output means and blend ratio information from the data selection means are synchronously input according to the pixel position information, and the input blend ratio Input from each of the plurality of image output means according to information Pixel blending means for blending and outputting the created pixel information, and the position of each window as management information of each of the plurality of windows for displaying the target image in each of the plurality of windows on the display screen, The shape size and the display object are stored, the management information is updated according to the instruction of the operator, and the storage contents of the blend ratio buffer means and the attribute buffer means are configured corresponding to the stored management information. And a window managing means for updating and updating the window managed image blending circuit.
【請求項2】 マルチウインドウ方式の情報処理装置に
おいてディスプレイ画面上のウインドウ重複部分に半透
明合成画像を表示できるようにウインドウ管理された画
像ブレンド回路であって、 前記ディスプレイ画面にラスタースキャン方式にて画像
を表示するように同期のための画素クロックを含んだ画
素位置情報を出力するための画素位置情報供給手段と、 各々前記ディスプレイ画面と同一の大きさをもつ画像の
画素情報を前記画素位置情報にしたがって順次出力する
ための複数の画像出力手段と、 前記ディスプレイ画面の画素毎に設定されたブレンド比
率情報を記憶し、該記憶しているブレンド比率情報を前
記画素位置情報にしたがって順次出力するためのブレン
ド比率バッファ手段と、 1つのブレンド比率情報を記憶し、該記憶しているブレ
ンド比率情報を前記画素位置情報にしたがって繰り返し
出力するためのブレンド比率保持手段と、 前記ディスプレイ画面上のウインドウ配置に対応して画
素領域毎に設定された選択情報を記憶するためのウイン
ドウ情報記憶手段と、 前記ウインドウ情報記憶手段が記憶している選択情報を
前記画素位置情報にしたがって順次出力するための選択
情報出力手段と、 前記ブレンド比率バッファ手段からのブレンド比率情報
と前記ブレンド比率保持手段からのブレンド比率情報と
のいずれかを、前記選択情報出力手段からの選択情報に
したがって選択出力するためのデータ選択手段と、 前記複数の画像出力手段の各々からの画素情報と前記デ
ータ選択手段からのブレンド比率情報とを前記画素位置
情報にしたがって同期入力し、かつ該入力されたブレン
ド比率情報に応じて前記複数の画像出力手段の各々から
入力された画素情報をブレンドして出力するための画素
ブレンド手段と、 前記ディスプレイ画面上の複数のウインドウの各々に対
象映像を表示するために該複数のウインドウの各々の管
理情報として各ウインドウの位置、形状寸法及び表示対
象を記憶しかつ操作者の指示に応じて該管理情報を更新
し、かつ前記記憶している管理情報に対応して前記ブレ
ンド比率バッファ手段及び前記ウインドウ情報記憶手段
の記憶内容を構成しかつ更新するためのウインドウ管理
手段とを備えたことを特徴とするウインドウ管理された
画像ブレンド回路。
2. An image blending circuit managed by a window so that a semitransparent composite image can be displayed in a window overlapping portion on a display screen in a multi-window information processing device, the raster scanning method being used for the display screen. Pixel position information supplying means for outputting pixel position information including a pixel clock for synchronization so as to display an image; and pixel position information for an image having the same size as the display screen A plurality of image output means for sequentially outputting in accordance with the above, and for storing the blend ratio information set for each pixel of the display screen, for sequentially outputting the stored blend ratio information in accordance with the pixel position information. Blend ratio buffer means for storing one blend ratio information, and storing the blend ratio information. Blend ratio holding means for repeatedly outputting the blend ratio information according to the pixel position information, and window information storage for storing selection information set for each pixel region corresponding to the window arrangement on the display screen Means, selection information output means for sequentially outputting the selection information stored in the window information storage means in accordance with the pixel position information, blend ratio information from the blend ratio buffer means, and blend ratio holding means Data selection means for selectively outputting any one of the blend ratio information according to the selection information output means, pixel information from each of the plurality of image output means, and the data selection means from the data selection means. The blend ratio information is synchronously input according to the pixel position information, and Pixel blending means for blending and outputting the pixel information input from each of the plurality of image output means according to the input blend ratio information, and a target image in each of the plurality of windows on the display screen. The position, shape size, and display target of each window are stored as the management information of each of the plurality of windows for displaying, and the management information is updated according to the instruction of the operator, and the stored management information is stored. And a window management means for configuring and updating the storage contents of the blend ratio buffer means and the window information storage means corresponding to the above.
【請求項3】 ブレンド比率保持手段は、前記記憶して
いる1つのブレンド比率情報を前記画素位置情報にした
がって一定時間が経過するごとに自動更新するための手
段を備えることを特徴とする請求項1又は2記載のウイ
ンドウ管理された画像ブレンド回路。
3. The blend ratio holding means is provided with means for automatically updating the stored one blend ratio information in accordance with the pixel position information every time a predetermined time has elapsed. The image-blending circuit managed by the window described in 1 or 2.
【請求項4】 画素ブレンド手段は、前記複数の画像出
力手段の各々から入力された画素情報を色成分毎にブレ
ンドするための複数の荷重平均手段を備え、 前記複数の荷重平均手段の各々は、 i、j、mを2以上の整数として、 i進数表現されたj個の信号が入力され、前記j個の信
号に対して各々そのj個の入力に各々対応した重みを乗
算し、その各乗算結果を加算して、その加算結果をi進
数表現された信号として出力する加算手段と、 i進数表現されたm個のディジタル入力信号の中から1
つを選択するj個の選択手段とを具備し、 前記j個の選択手段により各々選択されたj個の信号が
前記加算手段に入力されるとともに、 ブレンド比率が与えられ、m個のディジタル入力信号を
前記与えられたブレンド比率で混合するように前記j個
の選択手段を制御する制御手段を具備し、 前記加算手段のj個の重みの総和は、前記j個の重みの
うち最大値の重みの値の前記整数iの整数乗倍に設定さ
れていることを特徴とする請求項1又は2記載のウイン
ドウ管理された画像ブレンド回路。
4. The pixel blending means includes a plurality of weight averaging means for blending pixel information input from each of the plurality of image output means for each color component, and each of the plurality of weight averaging means. , I, j, m are integers of 2 or more, j signals expressed in i-ary are input, and the j signals are multiplied by weights respectively corresponding to the j inputs, and Addition means for adding each multiplication result and outputting the addition result as a signal expressed in i-adic notation; and 1 out of m digital input signals expressed in i-adic notation.
And j selecting means for selecting one of the signals, and the j signals respectively selected by the j selecting means are input to the adding means, a blend ratio is given, and m digital inputs are provided. The control means controls the j selection means so as to mix the signals at the given blend ratio, and the sum of the j weights of the addition means is a maximum value of the j weights. 3. The window managed image blending circuit according to claim 1, wherein the weight value is set to an integral multiple of the integer i.
【請求項5】 画素ブレンド手段は、前記複数の画像出
力手段の各々から入力された画素情報を色成分毎にブレ
ンドするための複数の荷重平均手段を備え、 前記複数の荷重平均手段の各々は、 i、j、mを2以上の整数として、 i進数表現されたj個の信号が入力され、前記j個の信
号に対して各々そのj個の入力に各々対応した重みを乗
算し、その各乗算結果を加算して、その加算結果をi進
数表現された信号として出力する加算手段と、 i進数表現されたm個のディジタル入力信号及び定数値
信号の中から1つを選択するj個の第1の選択手段とを
具備し、 前記j個の第1の選択手段により各々選択されたj個の
信号が前記加算手段に入力されるとともに、 前記加算回路の出力信号及び前記m個のディジタル入力
信号の中から1つを選択して出力する1個の第2の選択
手段を具備し、 前記加算手段のj個の重みの総和は、前記j個の重みの
うち最大値の重みの値の前記整数iの整数乗倍に設定さ
れているとともに、 ブレンド比率が与えられ、前記与えられたブレンド比率
に応じて前記j個の選択手段及び1個の第2の選択手段
を制御する制御手段を具備したことを特徴とする請求項
1又は2記載のウインドウ管理された画像ブレンド回
路。
5. The pixel blending means includes a plurality of weight averaging means for blending pixel information input from each of the plurality of image output means for each color component, and each of the plurality of weight averaging means. , I, j, m are integers of 2 or more, j signals expressed in i-ary are input, and the j signals are multiplied by weights respectively corresponding to the j inputs, and Addition means for adding each multiplication result and outputting the addition result as a signal expressed in i-adic notation, and j selecting one from m digital input signals and constant value signals expressed in i-adic notation The first selection means of j, the j signals respectively selected by the j first selection means are input to the addition means, and the output signals of the addition circuit and the m Select one from the digital input signals A sum of j weights of the adding means is an integral multiple of the integer i of the value of the maximum weight among the j weights. And a blending ratio is given, and a control means for controlling the j selecting means and one second selecting means is provided according to the given blending ratio. The window-blended image blending circuit according to claim 1.
【請求項6】 画素ブレンド手段は、前記複数の画像出
力手段の各々から入力された画素情報を色成分毎にブレ
ンドするための複数の荷重平均手段を備え、 前記複数の荷重平均手段の各々は、 i、j、m、nを2以上の整数とし、kを自然数とし、 i進数表現されたk個の信号よりなる第1の組の信号と
i進数表現されたj−k個(j>k)の信号よりなる第
2の組の信号とのj個の信号が入力され、前記j個の信
号に対して各々そのj個の入力に各々対応した重みを乗
算し、その各乗算結果を加算して、その加算結果をi進
数表現された信号として出力する第1の加算手段と、 i進数表現されたm個のディジタル入力信号の中から1
つを選択するk個の第3の選択手段とを具備し、 前記k個の第3の選択手段により各々選択されたk個の
信号が前記第1の組の信号として前記第1の加算手段に
入力され、 i進数表現されたn個の信号が入力され、前記n個の信
号に対して各々そのn個の入力に各々対応した重みを乗
算し、その各乗算結果を加算して、その加算結果をi進
数表現されたj−k個の信号として出力する第2の加算
手段と、 前記第2の加算手段の出力信号の数に対応してj−k個
設けられ、その対応する第2の加算手段の出力信号及び
前記m個のディジタル入力信号中から1つを選択する第
4の選択手段を具備し、 前記j−k個の第4の選択手段により各々選択されたj
−k個の信号が前記第2の組の信号として前記第1の加
算手段に入力され、 前記m個のディジタル入力信号及びi進数表現された定
数値信号の中から1つを選択するn個の第5の選択手段
を具備し、 前記n個の第5の選択手段により各々選択されたn個の
信号が前記第2の加算手段に入力され、 ブレンド比率が与えられ、m個のディジタル入力信号を
前記与えられたブレンド比率で混合するように前記j個
の選択手段を制御する制御手段を具備したことを特徴と
する請求項1又は2記載のウインドウ管理された画像ブ
レンド回路。
6. The pixel blending means includes a plurality of weight averaging means for blending pixel information input from each of the plurality of image output means for each color component, and each of the plurality of weight averaging means. , I, j, m, n are integers of 2 or more, k is a natural number, and the first set of signals consisting of k signals expressed in i-adic number and j−k signals expressed in i-adic (j> k signals of the second set of signals consisting of k) signals are input, the j signals are multiplied by weights respectively corresponding to the j inputs, and the multiplication results are First adding means for adding and outputting the addition result as a signal expressed in i-adic notation, and 1 out of m digital input signals expressed in i-adic notation
And k third selecting means for selecting one of the signals, and k signals respectively selected by the k third selecting means are added to the first adding means as the first set of signals. And n number of signals expressed in i-adic notation are input, the n number of signals are respectively multiplied by weights corresponding to the n number of inputs, and the respective multiplication results are added, Second adding means for outputting the addition result as j-k signals expressed in i-adic number, and j-k corresponding to the number of output signals of the second adding means are provided, and corresponding second It comprises a fourth selecting means for selecting one from the output signals of the two adding means and the m digital input signals, and j selected by the jk fourth selecting means.
-K signals are input to the first adding means as the second set of signals, and n signals are selected from the m digital input signals and i-adic constant value signals. No. 5 signals are selected by the n number of fifth selection means and are input to the second addition means, a blend ratio is given, and m digital inputs are provided. 3. The window managed image blending circuit according to claim 1, further comprising control means for controlling the j selection means so that signals are mixed at the given blending ratio.
【請求項7】 データ選択手段は、ブレンド比率バッフ
ァ手段及び前記ブレンド比率保持手段からのブレンド比
率情報以外に、固定されたブレンド比率情報を選択出力
する機能を更に備えたことを特徴とする請求項1又は2
記載のウインドウ管理された画像ブレンド回路。
7. The data selecting means further comprises a function of selectively outputting fixed blend ratio information in addition to the blend ratio information from the blend ratio buffer means and the blend ratio holding means. 1 or 2
The described window-managed image blending circuit.
【請求項8】 i、j、mを2以上の整数として、 i進数表現されたj個の信号が入力され、前記j個の信
号に対して各々そのj個の入力に各々対応した重みを乗
算し、その各乗算結果を加算して、その加算結果をi進
数表現された信号として出力する加算手段と、 i進数表現されたm個のディジタル入力信号の中から1
つを選択するj個の選択手段とを具備し、 前記j個の選択手段により各々選択されたj個の信号が
前記加算手段に入力されるとともに、 ブレンド比率が与えられ、m個のディジタル入力信号を
前記与えられたブレンド比率で混合するように前記j個
の選択手段を制御する制御手段を具備し、 前記加算手段のj個の重みの総和は、前記j個の重みの
うち最大値の重みの値の前記整数iの整数乗倍に設定さ
れていることを特徴とする荷重平均回路。
8. When i, j, and m are integers of 2 or more, j signals expressed in an i-ary number are input, and weights corresponding to the j inputs are respectively applied to the j signals. Multiplying, adding the respective multiplication results, and outputting the addition result as a signal expressed in i-adic notation, and 1 out of m digital input signals expressed in i-adic notation.
And j selecting means for selecting one of the signals, and the j signals respectively selected by the j selecting means are input to the adding means, a blend ratio is given, and m digital inputs are provided. The control means controls the j selection means so as to mix the signals at the given blend ratio, and the sum of the j weights of the addition means is a maximum value of the j weights. A weighted averaging circuit, characterized in that the weight value is set to an integral multiple of the integer i.
【請求項9】 加算手段のj個の重みの総和は1である
ことを特徴とする請求項8記載の荷重平均回路。
9. The weighted average circuit according to claim 8, wherein the sum of j weights of the adding means is 1.
【請求項10】 i、j、mを2以上の整数として、 i進数表現されたj個の信号が入力され、前記j個の信
号に対して各々そのj個の入力に各々対応した重みを乗
算し、その各乗算結果を加算して、その加算結果をi進
数表現された信号として出力する加算手段と、 i進数表現されたm個のディジタル入力信号及び定数値
信号の中から1つを選択するj個の第1の選択手段とを
具備し、 前記j個の第1の選択手段により各々選択されたj個の
信号が前記加算手段に入力されるとともに、 前記加算回路の出力信号及び前記m個のディジタル入力
信号の中から1つを選択して出力する1個の第2の選択
手段を具備し、 前記加算手段のj個の重みの総和は、前記j個の重みの
うち最大値の重みの値の前記整数iの整数乗倍に設定さ
れているとともに、 ブレンド比率が与えられ、前記与えられたブレンド比率
に応じて前記j個の第1の選択手段及び1個の第2の選
択手段を制御する制御手段を具備したことを特徴とする
荷重平均回路。
10. An i-adic representation of j signals is input, where i, j, and m are integers of 2 or more, and weights corresponding to the j inputs are given to the j signals, respectively. Multiply, add each multiplication result, and output the addition result as a signal expressed in i-adic notation; and one of the m digital input signals and constant value signals expressed in i-adic notation. J number of first selecting means for selecting, j number of signals respectively selected by the j number of first selecting means are input to the adding means, and an output signal of the adding circuit and It is provided with one second selecting means for selecting and outputting one of the m digital input signals, and the sum of the j weights of the adding means is the maximum among the j weights. When the value weight value is set to an integral multiple of the integer i, A weighted average, wherein a blending ratio is given, and a control means for controlling the j first selecting means and the one second selecting means according to the given blending ratio is provided. circuit.
【請求項11】 i、j、m、nを2以上の整数とし、
kを自然数とし、 i進数表現されたk個の信号よりなる第1の組の信号と
i進数表現されたj−k個(j>k)の信号よりなる第
2の組の信号とのj個の信号が入力され、前記j個の信
号に対して各々そのj個の入力に各々対応した重みを乗
算し、その各乗算結果を加算して、その加算結果をi進
数表現された信号として出力する第1の加算手段と、 i進数表現されたm個のディジタル入力信号の中から1
つを選択するk個の第3の選択手段とを具備し、 前記k個の第3の選択手段により各々選択されたk個の
信号が前記第1の組の信号として前記第1の加算手段に
入力され、 i進数表現されたn個の信号が入力され、前記n個の信
号に対して各々そのn個の入力に各々対応した重みを乗
算し、その各乗算結果を加算して、その加算結果をi進
数表現されたj−k個の信号として出力する第2の加算
手段と、 前記第2の加算手段に対応してj−k個設けられ、その
対応する第2の加算手段の出力信号及び前記m個のディ
ジタル入力信号中から1つを選択する第4の選択手段を
具備し、 前記j−k個の第4の選択手段により各々選択されたj
−k個の信号が前記第2の組の信号として前記第1の加
算手段に入力され、 前記m個のディジタル入力信号及びi進数表現された定
数値信号の中から1つを選択するn個の第5の選択手段
を具備し、 前記n個の第5の選択手段により各々選択されたn個の
信号が前記第2の加算手段に入力され、 ブレンド比率が与えられ、m個のディジタル入力信号を
前記与えられたブレンド比率で混合するように前記j個
の選択手段を制御する制御手段を具備したことを特徴と
する荷重平均回路。
11. i, j, m, and n are integers of 2 or more,
Let k be a natural number, and j of the first set of signals consisting of k signals expressed in i-adic number and the second set of signals consisting of jk (j> k) signals expressed in i-adic number. Signals are input, the j signals are respectively multiplied by the weights corresponding to the j inputs, the respective multiplication results are added, and the addition result is regarded as a signal expressed in i-adic number. 1st adding means for outputting and 1 out of m digital input signals expressed in i-adic number
And k third selecting means for selecting one of the signals, and k signals respectively selected by the k third selecting means are added to the first adding means as the first set of signals. And n number of signals expressed in i-adic notation are input, the n number of signals are respectively multiplied by weights corresponding to the n number of inputs, and the respective multiplication results are added, Second adding means for outputting the addition result as j-k signals expressed in an i-adic number, and j-k corresponding to the second adding means are provided. An output signal and a fourth selection means for selecting one from the m digital input signals are provided, and j selected by the jk fourth selection means.
-K signals are input to the first adding means as the second set of signals, and n signals are selected from the m digital input signals and i-adic constant value signals. No. 5 signals are selected by the n number of fifth selection means and are input to the second addition means, a blend ratio is given, and m digital inputs are provided. A weighted averaging circuit comprising control means for controlling the j selection means so as to mix signals at the given blending ratio.
【請求項12】 加算手段又は第1の加算手段の出力信
号は、その出力信号を表現する桁数が最小桁から所定桁
削減されて、加算手段又は第1の加算手段は加算結果の
近似値を出力することを特徴とする請求項8,9,10
又は11記載の荷重平均回路。
12. The output signal of the addition means or the first addition means is reduced in the number of digits expressing the output signal from the minimum digit by a predetermined digit, and the addition means or the first addition means approximates the addition result. Is output.
Alternatively, the weighted average circuit according to item 11.
【請求項13】 整数iは、i=2であることを特徴と
する請求項8,9,10,11又は12記載の荷重平均
回路。
13. The weighted average circuit as claimed in claim 8, wherein the integer i is i = 2.
【請求項14】 削減される桁のうち最大桁の値が
“0”のとき値の切捨てを行ない、前記最大桁の値が
“1”のとき値の繰り上げを行なうことを特徴とする請
求項13記載の荷重平均回路。
14. A value is rounded down when the value of the maximum digit is “0” among the digits to be reduced, and is rounded up when the value of the maximum digit is “1”. 13. The weighted average circuit described in 13.
【請求項15】 加算手段又は第1の加算手段の各重み
は、その各重みを大きい順に並べた数列が、前記数列の
最後の項を除いて、公比1/2の等比数列をなし、前記
数列の最後の項の値がその最後の項の直前の項の値に等
しいことを特徴とする請求項13記載の荷重平均回路。
15. The weights of the adding means or the first adding means are such that a number sequence in which the weights are arranged in descending order forms a geometrical sequence having a common ratio of 1/2, except for the last term of the number sequence. 15. The weighted average circuit of claim 13, wherein the value of the last term of the sequence is equal to the value of the term immediately preceding the last term.
【請求項16】 加算手段又は第1の加算手段は、 前記加算手段又は第1の加算手段の入力信号であるj個
の信号を加算し、加算結果を2つの2進数表示された信
号で出力する第1の部分加算回路と、 前記第1の部分加算回路の2つの出力信号を加算し、加
算結果を1つの2進数表現された信号で出力する第2の
部分加算回路とにより構成され、 前記第2の部分加算回路の出力信号が前記加算手段又は
第1の加算手段の出力とされ、 前記第1の部分加算回路は複数個の桁上げ保存加算器を
複数段直列に接続して構成され、 前記第2の部分加算回路は、 前記第2の部分加算回路の最下位ビットから所定の中間
ビットまでの入力信号を加算し、その加算結果及び前記
中間ビットより生じた桁上げの結果を出力する第1の桁
上げ伝搬加算器と、 前記第1の桁上げ伝搬加算器の桁上げ結果が0であると
仮定した場合の,前記第2の部分加算回路の前記中間ビ
ットより上位のビットの入力信号を加算し、その加算結
果を出力する第2の桁上げ伝搬加算器と、 前記第1の桁上げ伝搬加算器の桁上げ結果が1であると
仮定した場合の,前記第2の部分加算回路の前記中間ビ
ットより上位のビットの入力信号を加算し、その加算結
果を出力する第3の桁上げ伝搬加算器と、 前記第1の桁上げ伝搬加算器の桁上げ結果が0のとき、
前記第2の桁上げ伝搬加算器の出力を選択し、前記桁上
げ結果が1のとき、前記第3の桁上げ伝搬加算器の出力
を選択して出力する第6の選択手段とにより構成される
ことを特徴とする請求項13記載の荷重平均回路。
16. The adder or the first adder adds j signals which are input signals of the adder or the first adder, and outputs the addition result as two binary-displayed signals. And a second partial adder circuit for adding the two output signals of the first partial adder circuit and outputting the addition result as one binary-represented signal, The output signal of the second partial adder circuit is used as the output of the adder means or the first adder means, and the first partial adder circuit is configured by connecting a plurality of carry save adders in series in a plurality of stages. The second partial adder circuit adds the input signals from the least significant bit to the predetermined intermediate bit of the second partial adder circuit, and outputs the addition result and the carry result generated from the intermediate bit. A first carry propagation adder for outputting, Note When the carry result of the first carry propagation adder is assumed to be 0, the input signals of the bits higher than the intermediate bit of the second partial adder circuit are added, and the addition result is output. A second carry-propagate adder, and a bit higher than the intermediate bit of the second partial adder circuit, assuming that the carry result of the first carry-propagate adder is 1. A third carry propagation adder for adding input signals and outputting a result of the addition; and a carry result of the first carry propagation adder being 0,
And a sixth selecting means for selecting the output of the second carry propagation adder and, when the carry result is 1, selecting and outputting the output of the third carry propagation adder. 14. The weighted average circuit according to claim 13, wherein:
【請求項17】 整数iはi=2であり、 加算手段は、 前記加算手段の入力信号であるj個の信号を加算し、加
算結果を2つの2進数表示された信号で出力する第1の
部分加算回路と、 前記第1の部分加算回路の2つの出力信号を加算し、加
算結果を1つの2進数表現された信号で出力する第2の
部分加算回路とにより構成され、 前記第2の部分加算回路の出力信号が前記加算手段の出
力とされ、 前記第1の部分加算回路は複数個の桁上げ保存加算器を
複数段直列に接続して構成され、 前記第2の部分加算回路は、 前記第2の部分加算回路の最下位ビットから所定の中間
ビットまでの入力信号を加算し、その加算結果及び前記
中間ビットより生じた桁上げの結果を出力する第1の桁
上げ伝搬加算器と、 前記第1の桁上げ伝搬加算器の桁上げ結果が0であると
仮定した場合の,前記第2の部分加算回路の前記中間ビ
ットより上位のビットの入力信号を加算し、その加算結
果を出力する第2の桁上げ伝搬加算器と、 前記第1の桁上げ伝搬加算器の桁上げ結果が1であると
仮定した場合の,前記第2の部分加算回路の前記中間ビ
ットより上位のビットの入力信号を加算し、その加算結
果を出力する第3の桁上げ伝搬加算器とにより構成され
るとともに、 第2の選択手段は、 m個のディジタル入力信号から1つを選択する第7の選
択手段と、 前記第1の桁上げ伝搬加算器の加算結果を示す出力と、
前記第7の選択手段の出力のうち最下位ビットから中間
ビットまでの部分との何れか一方を選択する第8の選択
手段と、 前記第2の桁上げ伝搬加算器の出力と、前記第3の桁上
げ伝搬加算器の出力と、前記第7の選択手段の出力のう
ち中間ビットより上位のビットの部分との何れか1つを
選択して第9の選択手段とから成ることを特徴とする請
求項10記載の荷重平均回路。
17. The integer i is i = 2, and the adding means adds the j signals which are the input signals of the adding means, and outputs the addition result as two binary-displayed signals. And a second partial adder circuit that adds the two output signals of the first partial adder circuit and outputs the addition result as one binary-represented signal. The output signal of the partial adder circuit is the output of the adding means, and the first partial adder circuit is configured by connecting a plurality of carry save adders in series in a plurality of stages, and the second partial adder circuit Is a first carry propagation addition which adds the input signals from the least significant bit to the predetermined intermediate bit of the second partial adder circuit, and outputs the addition result and the carry result generated from the intermediate bit. And a carry of the first carry propagation adder A second carry propagation adder for adding input signals of bits higher than the intermediate bits of the second partial adder circuit, assuming that the result is 0, and outputting the addition result; When it is assumed that the carry result of the first carry propagation adder is 1, the input signals of the bits higher than the intermediate bit of the second partial adder circuit are added, and the addition result is output. And a third carry propagation adder, wherein the second selection means comprises: seventh selection means for selecting one from the m digital input signals; and the first carry propagation adder. Output showing the addition result of
Eighth selecting means for selecting one of the least significant bit to the intermediate bit of the output of the seventh selecting means, the output of the second carry propagation adder, and the third Of the carry propagating adder and the output of the seventh selecting means, and the ninth bit selecting means for selecting any one of the upper bits of the intermediate bits. The weighted average circuit according to claim 10.
【請求項18】 第2の組に属する信号の数(j−k)
は2であることを特徴とする請求項11記載の荷重平均
回路。
18. The number of signals (jk) belonging to the second set.
12. The weighted average circuit according to claim 11, wherein is 2.
【請求項19】 整数iはi=2であり、 第1の加算手段の各重みは、その各重みを大きい順に並
べた第1の数列が、前記第1の数列の最後の項を除い
て、公比1/2の等比数列をなし、この第1の数列の先
頭の項の値は1/2であり、 前記第1の数列の最後の項の値はその最後の項の直前の
項の値に等しく、 前記第1の数列の最後の2つの項の重みが各々第2の組
の2つの信号の各々と乗算され、 第2の加算手段の各重みは、その各重みを大きい順に並
べた第2の数列が、前記第2の数列の最後の項を除い
て、公比1/2の等比数列をなし、この第2の数列の先
頭の項の値は前記第1の数列の最後の項の値と等しく、 前記第2の数列の最後の項の値がその直前の項の値に等
しいことを特徴とする請求項18記載の荷重平均回路。
19. The integer i is i = 2, and each weight of the first adding means has a first number sequence in which the respective weights are arranged in descending order except for the last term of the first number sequence. , A geometric progression with a common ratio of ½, the value of the first term of this first sequence is ½, and the value of the last term of the first sequence is immediately before the last term. Equal to the value of the terms, the weights of the last two terms of the first sequence are each multiplied with each of the two signals of the second set, and each weight of the second summing means increases its respective weight by The second numerical sequence arranged in order forms a geometric progression having a common ratio of 1/2, except for the last term of the second numerical sequence, and the value of the first term of the second numerical sequence is the first numerical value. 19. The weighted average circuit according to claim 18, wherein the value of the last term of the number sequence is equal to the value of the last term of the second number sequence is equal to the value of the immediately preceding term.
【請求項20】 整数j、m、nは各々、j=6、m=
2、n=5であることを特徴とする請求項19記載の荷
重平均回路。
20. The integers j, m and n are j = 6 and m =, respectively.
20. The weighted average circuit according to claim 19, wherein n = 5.
【請求項21】 制御手段は、 与えられたブレンド比率がm個のディジタル信号の混合
を指示している場合には、第1の選択回路がm個のディ
ジタル信号の何れか1つを選択し、第2の選択手段が第
1の加算回路の出力を選択するように、前記第1の選択
手段及び第2の選択手段を制御し、 与えられたブレンド比率がm個のディジタル信号の何れ
か1つを選択することと等価な場合には、第1の選択手
段が定数値を選択し、第2の選択手段が前記m個のディ
ジタル入力信号の中の指示された1つを選択するよう
に、前記第1の選択手段及び第2の選択手段を制御する
ことを特徴とする請求項10記載の荷重平均回路。
21. The control means selects, when the given blend ratio indicates mixing of m digital signals, the first selection circuit selects any one of the m digital signals. , The first selecting means and the second selecting means are controlled so that the second selecting means selects the output of the first adding circuit, and the given blending ratio is any one of the m digital signals. In the equivalent case of selecting one, the first selecting means selects the constant value and the second selecting means selects the indicated one of the m digital input signals. 11. The weighted average circuit according to claim 10, further comprising: controlling the first selecting means and the second selecting means.
【請求項22】 制御手段は、 第2の加算手段の動作及び停止の何れか一方を選択して
指令する動作選択信号が入力され、 前記動作選択信号が第2の加算手段の動作を選択する信
号である場合には、第4の選択手段の全てが第2の加算
手段の出力を選択し、第3の選択手段及び第5の選択手
段は与えられたブレンド比率に応じて各々m個のディジ
タル入力信号の中から1つを選択するように前記各選択
手段を制御し、 前記動作選択信号が第2の加算回路の停止を選択する信
号である場合には、第5の選択手段の全てが定数値信号
を選択し、第3の選択手段及び第4の選択手段は与えら
れたブレンド比率に応じて各々m個のディジタル入力信
号の中から1つを選択するように前記各選択手段を制御
することを特徴とする請求項10記載の荷重平均回路。
22. The control means is inputted with an operation selection signal for selecting and instructing either operation or stop of the second adding means, and the operation selecting signal selects the operation of the second adding means. If it is a signal, all of the fourth selecting means select the output of the second adding means, and the third selecting means and the fifth selecting means each have m number of outputs depending on the given blending ratio. All of the fifth selecting means are controlled by controlling each of the selecting means so as to select one of the digital input signals, and when the operation selecting signal is a signal for selecting stop of the second adding circuit. Selects a constant value signal, and the third selecting means and the fourth selecting means select each one of the m digital input signals in accordance with the given blending ratio. The load level according to claim 10, wherein the load level is controlled. Equalizer circuit.
【請求項23】 各選択手段は、 選択制御信号を入力し、この入力された選択制御信号に
応じて複数の信号の中から1つを選択し、 制御手段は、ブレンド比率を記述する符号が入力される
デコーダで構成され、 前記デコーダは、前記入力された符号に応じて各選択手
段への選択制御信号を生成するものであることを特徴と
する請求項8,9,10又は11記載の荷重平均回路。
23. Each selection means inputs a selection control signal and selects one from a plurality of signals according to the input selection control signal, and the control means has a code for describing a blend ratio. 12. The decoder according to claim 8, wherein the decoder is configured to generate a selection control signal to each selection unit according to the input code. Weighted average circuit.
【請求項24】 デコーダは、 第2の加算手段の動作及び停止の何れか一方を選択して
指令する動作選択信号の入力に代え、入力された符号に
基いて前記動作選択信号を生成するものであることを特
徴とする請求項23記載の荷重平均回路。
24. The decoder generates the operation selection signal based on an input code, instead of inputting an operation selection signal for selecting and instructing either operation or stop of the second adding means. The weighted average circuit according to claim 23, wherein:
JP04355194A 1993-03-16 1994-03-15 Weight averaging circuit Expired - Fee Related JP3209632B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP04355194A JP3209632B2 (en) 1993-03-16 1994-03-15 Weight averaging circuit

Applications Claiming Priority (9)

Application Number Priority Date Filing Date Title
JP5448493 1993-03-16
JP12373193 1993-05-26
JP20931493 1993-08-24
JP5-209314 1994-01-31
JP6-8960 1994-01-31
JP5-54484 1994-01-31
JP896094 1994-01-31
JP5-123731 1994-01-31
JP04355194A JP3209632B2 (en) 1993-03-16 1994-03-15 Weight averaging circuit

Publications (2)

Publication Number Publication Date
JPH07319669A true JPH07319669A (en) 1995-12-08
JP3209632B2 JP3209632B2 (en) 2001-09-17

Family

ID=27519006

Family Applications (1)

Application Number Title Priority Date Filing Date
JP04355194A Expired - Fee Related JP3209632B2 (en) 1993-03-16 1994-03-15 Weight averaging circuit

Country Status (1)

Country Link
JP (1) JP3209632B2 (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0775979A3 (en) * 1995-11-27 1998-04-22 Sun Microsystems, Inc. Accumulation buffer method and apparatus for graphical image processing
US6522341B1 (en) 1999-06-02 2003-02-18 Matsushita Electric Industrial Co., Ltd. Multi-layer image mixing apparatus
JP2003510979A (en) * 1999-09-25 2003-03-18 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ User interface generation
JP2005189663A (en) * 2003-12-26 2005-07-14 Matsushita Electric Ind Co Ltd Multi-layer image composing system
WO2006077720A1 (en) * 2005-01-18 2006-07-27 Matsushita Electric Industrial Co., Ltd. Image synthesis device
JP2007310883A (en) * 2006-05-12 2007-11-29 Nvidia Corp Anti-aliasing using plural display head of graphics processor
JP2008124949A (en) * 2006-11-15 2008-05-29 Fuji Xerox Co Ltd Image processor and program
JP2010183646A (en) * 2000-11-24 2010-08-19 Lg Electronics Inc Method for processing television image
JP2011123894A (en) * 2006-05-12 2011-06-23 Nvidia Corp Antialiasing using multiple display heads of graphics processor
US8130227B2 (en) 2006-05-12 2012-03-06 Nvidia Corporation Distributed antialiasing in a multiprocessor graphics system

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102198008B1 (en) * 2019-04-29 2021-01-11 권용환 Smart phone supporting device for portable

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0775979A3 (en) * 1995-11-27 1998-04-22 Sun Microsystems, Inc. Accumulation buffer method and apparatus for graphical image processing
US5872729A (en) * 1995-11-27 1999-02-16 Sun Microsystems, Inc. Accumulation buffer method and apparatus for graphical image processing
US6522341B1 (en) 1999-06-02 2003-02-18 Matsushita Electric Industrial Co., Ltd. Multi-layer image mixing apparatus
JP2003510979A (en) * 1999-09-25 2003-03-18 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ User interface generation
JP4746806B2 (en) * 1999-09-25 2011-08-10 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ User interface generation
JP2010246135A (en) * 2000-11-24 2010-10-28 Lg Electronics Inc Method for processing sub screen of tv
JP2010183646A (en) * 2000-11-24 2010-08-19 Lg Electronics Inc Method for processing television image
JP2005189663A (en) * 2003-12-26 2005-07-14 Matsushita Electric Ind Co Ltd Multi-layer image composing system
WO2006077720A1 (en) * 2005-01-18 2006-07-27 Matsushita Electric Industrial Co., Ltd. Image synthesis device
JP2007310883A (en) * 2006-05-12 2007-11-29 Nvidia Corp Anti-aliasing using plural display head of graphics processor
JP2011123894A (en) * 2006-05-12 2011-06-23 Nvidia Corp Antialiasing using multiple display heads of graphics processor
US8130227B2 (en) 2006-05-12 2012-03-06 Nvidia Corporation Distributed antialiasing in a multiprocessor graphics system
JP2008124949A (en) * 2006-11-15 2008-05-29 Fuji Xerox Co Ltd Image processor and program

Also Published As

Publication number Publication date
JP3209632B2 (en) 2001-09-17

Similar Documents

Publication Publication Date Title
US4808988A (en) Digital vector generator for a graphic display system
US5384912A (en) Real time video image processing system
JP2970216B2 (en) Image display device and method for generating video pixel data
JP2923648B2 (en) Method and apparatus for generating color characteristics of an object
JPH07319669A (en) Window-managed image blending circuit and weighted mean circuit used for the same
US6466224B1 (en) Image data composition and display apparatus
US5500684A (en) Chroma-key live-video compositing circuit
US5754185A (en) Apparatus for blending pixels of a source object and destination plane
US4916531A (en) Color video processing circuitry
US4228432A (en) Raster scan generator for plan view display
JP2001508986A (en) Image mixing method and display device
JPS6131890B2 (en)
US20060192696A1 (en) Apparatus and Method for Alpha Blending of Digital Images
JPH04140792A (en) Image processor
JPS62219182A (en) Display processor for graphics display system
US7315310B2 (en) Clipping device
US6008796A (en) Software-based dithering method and apparatus using ramp probability logic
JP2000338935A (en) Gradation correction device, image display device and gradation correction method
US4242675A (en) Display and keyboard scanning for electronic calculation or the like
EP0434037A2 (en) A shading method and shading apparatus for computer graphics
EP0314250A2 (en) Video digital analog signal processing and display
US5559532A (en) Method and apparatus for parallel pixel hardware cursor
JPH0546363A (en) Divider
KR100347491B1 (en) Image Information Process Apparatus for Having a Display to Display Continuous Tones in a Pseudo Manner
JP3127654B2 (en) Multiplier / divider

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20010626

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

Free format text: PAYMENT UNTIL: 20070713

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20080713

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees