JP2002156961A - Display circuit - Google Patents
Display circuitInfo
- Publication number
- JP2002156961A JP2002156961A JP2001244884A JP2001244884A JP2002156961A JP 2002156961 A JP2002156961 A JP 2002156961A JP 2001244884 A JP2001244884 A JP 2001244884A JP 2001244884 A JP2001244884 A JP 2001244884A JP 2002156961 A JP2002156961 A JP 2002156961A
- Authority
- JP
- Japan
- Prior art keywords
- display
- enlargement
- rotation
- address
- multiplication
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 230000009467 reduction Effects 0.000 claims abstract description 64
- 230000001186 cumulative effect Effects 0.000 claims abstract description 23
- 230000001360 synchronised effect Effects 0.000 claims abstract description 22
- 230000000694 effects Effects 0.000 abstract description 3
- 230000014509 gene expression Effects 0.000 description 26
- 238000010586 diagram Methods 0.000 description 16
- 238000000034 method Methods 0.000 description 12
- 230000000630 rising effect Effects 0.000 description 6
- 230000008859 change Effects 0.000 description 5
- PXFBZOLANLWPMH-UHFFFAOYSA-N 16-Epiaffinine Natural products C1C(C2=CC=CC=C2N2)=C2C(=O)CC2C(=CC)CN(C)C1C2CO PXFBZOLANLWPMH-UHFFFAOYSA-N 0.000 description 4
- 101000885321 Homo sapiens Serine/threonine-protein kinase DCLK1 Proteins 0.000 description 4
- 102100039758 Serine/threonine-protein kinase DCLK1 Human genes 0.000 description 4
- 230000009466 transformation Effects 0.000 description 4
- 239000000872 buffer Substances 0.000 description 2
- 230000000295 complement effect Effects 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 102100033040 Carbonic anhydrase 12 Human genes 0.000 description 1
- 101000867855 Homo sapiens Carbonic anhydrase 12 Proteins 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 239000007853 buffer solution Substances 0.000 description 1
- 239000013256 coordination polymer Substances 0.000 description 1
- 239000011159 matrix material Substances 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000008569 process Effects 0.000 description 1
Landscapes
- Image Processing (AREA)
- Studio Circuits (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
(57)【要約】
【目的】 画像メモリ上に描画されたビットマップ画像
データを表示装置上に表示をする表示回路において、表
示メモリの内容を書き換えることなく、ドットやライ
ン、フレームに同期して回転や拡大、縮小表示を行なう
回路を提供する。
【構成】 アドレスカウンタ出力とタイミング信号を入
力とし、乗算は水平または垂直の帰線期間などに行な
い、ドットおよびラインごとの累積加算によって表示メ
モリのアドレスを演算する。
【効果】 ドットクロックごとの高速な乗算を行なうこ
となく、一表示フレームまたは一表示ラインに一度の乗
算とドットごとまたは一表示ラインに一度の累積加算に
よりスムーズな回転動画などの表示を実現することがで
きる。乗算器は低速動作のものでよく、乗算器の時分割
動作が可能であるため、回路規模は小さくて済みかつ安
価に製造することができる。
(57) [Summary] [Purpose] In a display circuit that displays bitmap image data drawn on an image memory on a display device, the contents of the display memory are not rewritten and synchronized with dots, lines, and frames. Provided is a circuit for performing rotation, enlargement, and reduction display. An address counter output and a timing signal are input, multiplication is performed in a horizontal or vertical retrace period or the like, and an address of a display memory is calculated by cumulative addition for each dot and line. [Effect] A smooth rotation moving image can be displayed by performing multiplication once for one display frame or one display line and accumulative addition once for each dot or one display line without performing high-speed multiplication for each dot clock. Can be. The multiplier may operate at a low speed, and the multiplier can perform a time-division operation, so that the circuit scale can be reduced and the multiplier can be manufactured at low cost.
Description
【0001】[0001]
【産業上の利用分野】本発明は、画像メモリ上に描画さ
れたビットマップ画像データを表示装置上に回転や拡
大、縮小表示をする表示回路において、その表示回路の
構成と表示メモリ上のアドレスを計算するアドレス演算
回路にかかわるものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a display circuit for rotating, enlarging and reducing bitmap image data drawn on an image memory on a display device. Is related to an address operation circuit that calculates
【0002】[0002]
【従来の技術】従来の表示回路は、図2に示すように水
平、垂直の表示アドレスカウンタの出力を表示メモリに
与え、表示メモリの出力をもって表示装置に表示を行な
うものであった。したがって、回転や拡大、縮小表示を
行なう場合は中央処理装置14(以下CPUという)が
データの処理を行なうか、演算回路8でデータの演算処
理を行なって表示メモリに回転や拡大、縮小の処理後の
データを書き込んでいた。2. Description of the Related Art As shown in FIG. 2, a conventional display circuit supplies the output of a horizontal and vertical display address counter to a display memory, and performs display on a display device using the output of the display memory. Therefore, when performing rotation, enlargement, or reduction display, the central processing unit 14 (hereinafter referred to as CPU) performs data processing, or performs arithmetic processing of data in the arithmetic circuit 8 and performs rotation, enlargement, or reduction processing on the display memory. Later data was being written.
【0003】[0003]
【発明が解決しようとする課題】前述の従来の技術は以
下のような課題を有していた。The above-mentioned prior art has the following problems.
【0004】すなわち、表示データの回転や拡大、縮小
はCPUが直接または演算回路を介して、表示メモリの
内容を実際に書き換えることによって行なわれるので、
処理に時間がかかり、画素単位やラスタ、フレーム単位
での表示のタイミングに正確に同期をさせて回転角や拡
大、縮小率を制御することができなかった。従って、フ
レームごとに回転角を変えるスムーズな回転動画や、画
素、ラスタ単位で拡大率の異なる遠近感のある表示がで
きなかった。That is, the rotation, enlargement and reduction of the display data is performed by the CPU by directly rewriting the contents of the display memory directly or through an arithmetic circuit.
Processing takes time, and it is not possible to control the rotation angle, enlargement, and reduction ratio accurately in synchronization with the display timing in pixel units, raster units, and frame units. Therefore, a smooth rotating moving image in which the rotation angle is changed for each frame, and a display with a perspective with different magnifications in units of pixels and rasters cannot be obtained.
【0005】[0005]
【課題を解決するための手段】本発明の表示回路は、
(1)アドレスカウンタの出力をデータ入力とし、垂直
同期信号またはフレームに同期した信号と、水平同期信
号またはラインに同期した信号と、ドットクロックまた
は画素に同期した信号と、回転、拡大または縮小表示の
パラメータを制御入力とし、前記表示メモリ上に描画さ
れた表示データのアドレスを出力する演算回路を有し、
そのアドレスのデータを読みだして表示を行なう手段を
有することを特徴とする。また、演算回路は(2)垂直
帰線期間にアドレスと回転、拡大、縮小パラメータの乗
算を行なう手段と、ドットクロックまたはその整数倍の
クロックのレートで、前記の乗算の結果と回転、拡大、
縮小パラメータの累積加算を行なう手段、または水平同
期信号またはそれに同期した信号をクロックとして前記
の乗算の結果と回転、拡大、縮小パラメータの累積加算
を行なう手段または(3)水平帰線期間にアドレスと回
転、拡大、縮小パラメータの乗算を行なう手段と、ドッ
トクロックまたはその整数倍のクロックのレートで、前
記の乗算の結果と回転、拡大、縮小パラメータの累積加
算を行なう手段、または水平同期信号またはそれに同期
した信号をクロックとして前記の乗算の結果と回転、拡
大、縮小パラメータの累積加算を行なう手段または
(4)一フレーム期間にアドレスと回転、拡大、縮小パ
ラメータの乗算を行なう手段と、前記の乗算の結果を垂
直同期信号または一フレームに同期した信号でラッチす
る手段と、ドットクロックまたはその整数倍のクロック
のレートで、前記ラッチの出力と回転、拡大、縮小パラ
メータの累積加算を行なう手段、または水平同期信号ま
たはそれに同期した信号をクロックとして前記の乗算の
結果と回転、拡大、縮小パラメータの累積加算を行なう
手段または(5)一ライン期間にアドレスと回転、拡
大、縮小パラメータの乗算を行なう手段と、前記の乗算
の結果を水平同期信号または一ラインに同期した信号で
ラッチする手段と、ドットクロックまたはその整数倍の
クロックのレートで、前記ラッチの出力と回転、拡大、
縮小パラメータの累積加算を行なう手段、または水平同
期信号またはそれに同期した信号をクロックとして前記
の乗算の結果と回転、拡大、縮小パラメータの累積加算
を行なう手段を有することを特徴とする。さらに(6)
演算回路は表示フレームまたは表示ラインに同期したタ
イミング信号を入力しマルチプレクサによって時分割に
動作する手段(7)アドレスと回転、拡大、縮小パラメ
ータの乗算をマルチプレクサによって時分割に動作する
手段と、ドットクロックまたはその整数倍のクロックの
レートで前記の乗算の結果と回転、拡大、縮小パラメー
タの累積加算を行なう手段、または水平同期信号または
それに同期した信号をクロックとして前記の乗算の結果
と回転、拡大、縮小パラメータの累積加算を行なう手段
を有することを特徴とする。A display circuit according to the present invention comprises:
(1) The output of the address counter is a data input, and a vertical synchronization signal or a signal synchronized with a frame, a horizontal synchronization signal or a signal synchronized with a line, a dot clock or a signal synchronized with a pixel, and rotation, enlargement or reduction display. Having an arithmetic circuit that outputs an address of display data drawn on the display memory,
It is characterized by having means for reading out the data at the address and displaying the data. The arithmetic circuit includes (2) means for multiplying the address, rotation, enlargement, and reduction parameters during the vertical flyback period, and the result of the multiplication and rotation, enlargement, and reduction at a dot clock rate or a clock rate that is an integral multiple of the dot clock.
Means for performing cumulative addition of reduction parameters, means for performing a horizontal synchronization signal or a signal synchronized therewith as a clock, and performing cumulative addition of rotation, enlargement, and reduction parameters; or Means for multiplying rotation, enlargement, and reduction parameters; means for performing cumulative addition of the result of the multiplication and rotation, enlargement, and reduction parameters at a dot clock rate or a clock rate that is an integer multiple of the same, or a horizontal synchronization signal or Means for cumulatively adding the result of the multiplication and rotation, enlargement, and reduction parameters using the synchronized signal as a clock; or (4) means for multiplying the address, rotation, enlargement, and reduction parameters during one frame period; Means for latching the result of the synchronization with a vertical synchronization signal or a signal synchronized with one frame; Means for performing cumulative addition of output, rotation, enlargement, and reduction parameters of the latch at a clock rate or a clock rate that is an integral multiple of the clock, or the result of the multiplication, rotation, and enlargement using a horizontal synchronization signal or a signal synchronized therewith as a clock. Means for performing cumulative addition of reduction parameters or (5) means for multiplying address, rotation, enlargement and reduction parameters during one line period, and latching the result of the multiplication with a horizontal synchronization signal or a signal synchronized with one line Means for outputting, rotating, enlarging, and outputting the latch at a rate of a dot clock or a clock of an integer multiple thereof.
The present invention is characterized in that it has means for cumulatively adding reduction parameters or means for cumulatively adding the result of the above multiplication and rotation, enlargement, and reduction parameters using a horizontal synchronization signal or a signal synchronized therewith as a clock. Further (6)
The arithmetic circuit inputs a timing signal synchronized with a display frame or a display line and operates in a time-division manner by a multiplexer. (7) A means for operating a multiplication of an address and rotation, enlargement and reduction parameters in a time-division manner by a multiplexer, and a dot clock. Or a means for performing cumulative addition of the result of the multiplication and rotation, enlargement, and reduction parameters at a clock rate that is an integral multiple of the clock, or a result of the multiplication and rotation, enlargement, It is characterized by having means for performing cumulative addition of reduction parameters.
【0006】[0006]
【実施例】以下実施例にしたがって本発明を詳細に説明
する。DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described in detail below with reference to embodiments.
【0007】図1は本発明の表示回路で、1が回転、拡
大、縮小表示を行なうための演算回路である。表示メモ
リ2は読みだし書き込みメモリ(以下RAMという)で
構成した場合の例であり、RAMには回転などの処理が
されていない原画のデータがCPU7から書き込まれて
いる。水平表示アドレスカウンタ4、垂直アドレスカウ
ンタ5は、表示装置3の表示位置に対応したアドレスを
計数するもので、水平方向の位置はドットクロックDC
LKを、垂直方向の位置は水平同期信号HSYNCをク
ロックとして計数動作する。FIG. 1 shows a display circuit according to the present invention, wherein 1 is an arithmetic circuit for performing rotation, enlargement, and reduction display. The display memory 2 is an example of a case where the display memory 2 is constituted by a read / write memory (hereinafter referred to as a RAM). In the RAM, data of an original image that has not been subjected to a process such as rotation is written from the CPU 7. The horizontal display address counter 4 and the vertical address counter 5 count addresses corresponding to the display positions of the display device 3, and the position in the horizontal direction is a dot clock DC.
LK and the position in the vertical direction are counted using the horizontal synchronization signal HSYNC as a clock.
【0008】回転などの処理が行なわれない場合はこれ
らのアドレスカウンタ4、5の出力がそのままアドレス
として表示メモリに与えられ、対応するデータが表示装
置に送られる。一方、回転、拡大、縮小表示を行なう場
合は演算回路1がアドレスカウンタの出力を演算処理
し、変換して表示アドレスを表示メモリ2に与える。表
示メモリからは変換後の表示アドレスに対応したデータ
が読みだされ、結果、表示装置には回転、拡大または縮
小表示が行なわれる。When processing such as rotation is not performed, the outputs of these address counters 4 and 5 are given to the display memory as addresses as they are, and the corresponding data is sent to the display device. On the other hand, when performing rotation, enlargement, or reduction display, the arithmetic circuit 1 performs arithmetic processing on the output of the address counter, converts the output, and gives the display address to the display memory 2. Data corresponding to the converted display address is read from the display memory, and as a result, the display device is rotated, enlarged, or reduced in size.
【0009】ここで、演算回路1が行なう回転、拡大ま
たは縮小表示を行なうための演算式について簡単に説明
する。パラメータレジスタ6は回転角や回転中心、拡
大、縮小の割合を決めるパラメータを与えるものであ
る。演算回路1ではアフィン変換と呼ばれる以下の演算
式の動作が行なわれる。Here, an arithmetic expression for performing rotation, enlargement or reduction display performed by the arithmetic circuit 1 will be briefly described. The parameter register 6 provides parameters for determining a rotation angle, a rotation center, and a ratio of enlargement and reduction. The arithmetic circuit 1 performs the operation of the following arithmetic expression called affine transformation.
【0010】[0010]
【数1】 (Equation 1)
【0011】行列を展開して数式で表わすと以下のとお
りとなる。The matrix is expanded and expressed as follows.
【0012】 X2=A(X1−X0)+B(Y1−Y0)+X0 ・・・ 式(2) Y2=C(X1−X0)+D(Y1−Y0)+Y0 ・・・ 式(3) 上式においてX0、Y0は回転の中心、X1、Y1はア
ドレスカウンタからの出力アドレス値、X2、Y2は回
転等の処理後のメモリ上のアドレス値であり、A、B、
CおよびDは回転角、拡大、縮小率に対応するパラメー
タで、回転角をθ、X方向の拡大、縮小率、Y方向の拡
大、縮小率をそれぞれα、βとすれば以下のように表わ
される。X2 = A (X1-X0) + B (Y1-Y0) + X0 Expression (2) Y2 = C (X1-X0) + D (Y1-Y0) + Y0 Expression (3) In the above expression, X0 and Y0 are the centers of rotation, X1 and Y1 are output address values from the address counter, X2 and Y2 are address values on the memory after processing such as rotation, and A, B,
C and D are parameters corresponding to the rotation angle, the enlargement and the reduction ratio. If the rotation angle is θ and the enlargement and reduction ratio in the X direction and the enlargement and reduction ratio in the Y direction are α and β, respectively, they are expressed as follows. It is.
【0013】A=αcosθ ・・・ 式(4) B=−βsinθ ・・・ 式(5) C=αsinθ ・・・ 式(6) D=βcosθ ・・・ 式(7) 従って、演算回路1はアドレスカウンタの出力X1、Y
1を入力して、メモリ上のアドレスを前述の演算式に従
って計算して求めてやればよい。A = α cos θ Expression (4) B = −β sin θ Expression (5) C = α sin θ Expression (6) D = β cos θ Expression (7) Output X1, Y of address counter
It is sufficient to input 1 and calculate the address on the memory according to the above-mentioned arithmetic expression.
【0014】図3、図4は本発明の表示回路の演算回路
の回路図であり、図3は前記式(2)を、図4は前記式
(3)をそれぞれ具現化したものである。演算後のアド
レスX2、Y2がそれぞれの回路から出力される。図で
はアドレス値X、Yとしてともに8ビットの場合、すな
わち表示の解像度としてX、Yともに256ドットの場
合を例に用いた。また回転、拡大、縮小パラメータとし
て、8ビットの精度の場合を例とした。FIGS. 3 and 4 are circuit diagrams of the arithmetic circuit of the display circuit according to the present invention. FIG. 3 embodies the equation (2), and FIG. 4 embodies the equation (3). The addresses X2 and Y2 after the operation are output from the respective circuits. In the drawing, the case where the address values X and Y are both 8 bits, that is, the case where the display resolution is 256 dots for both X and Y is used as an example. Also, the case of 8-bit precision as an example of the rotation, enlargement, and reduction parameters has been described.
【0015】図3において、回転の中心座標X0、Y0
はビット反転回路15、19でそれぞれ各ビット毎に反
転され、+1回路16、20により1を加えられ2の補
数表現の負の数となる。次にアドレスカウンタの出力X
1、Y1とこれらの結果とがそれぞれ加算器17、21
で加算される。加算結果と回転角、拡大、縮小率にかか
わるパラメータA、Bが乗算器18、22によって乗算
され、さらにこれらの結果とX0が加算器23によって
加算され回転、拡大、縮小処理後のメモリのアドレスX
2となる。前記式(2)と図3の動作を照らし合わせて
みれば明らかなように、図3は式(2)をそのまま回路
にしたものである。Y2を求める式(3)についても全
く同様にして図4のように回路化することができる。本
実施例では、Y2は8ビットシフトしX2と加算して図
1における表示メモリのアドレスとなる。In FIG. 3, center coordinates X0 and Y0 of rotation are shown.
Are inverted for each bit by bit inversion circuits 15 and 19, respectively, and 1 is added by +1 circuits 16 and 20 to become a negative number represented by 2's complement. Next, the output X of the address counter
1, Y1 and these results are added to adders 17, 21 respectively.
Is added. The addition result is multiplied by the parameters A and B relating to the rotation angle, the enlargement and the reduction ratio by the multipliers 18 and 22, and the result and X0 are added by the adder 23 to obtain the address of the memory after the rotation, enlargement and reduction processing. X
It becomes 2. As is clear from the comparison between the above equation (2) and the operation of FIG. 3, FIG. 3 is a circuit obtained by converting equation (2) as it is. The equation (3) for determining Y2 can be implemented in the same manner as in FIG. In this embodiment, Y2 is shifted by 8 bits and added to X2 to become the address of the display memory in FIG.
【0016】また、図3、図4は回路構成がほぼ同じで
あるため、高速で動作する乗算器、加算器を用いるか、
低解像度の表示装置においては回路を共用し、時分割で
用いることができ、回路の規模を小さくすることができ
る。図5はこの回路例である。33、34、35はマル
チプレクサでドットクロックの”H”または”L”の期
間に対応して、回転、拡大、縮小のパラメータをそれぞ
れX2用のA、B、X0またはY2用のC、D、Y0と
切り替える。演算結果の出力はそれぞれDCLKの立ち
下がり、立ち上がりエッジでDFF45、46に取り込
まれる。図6はこの様子をタイミングチャートに示した
ものである。Since FIGS. 3 and 4 have almost the same circuit configuration, a high-speed operating multiplier or adder is used.
In a low-resolution display device, a circuit can be shared and used in a time-sharing manner, and the circuit scale can be reduced. FIG. 5 is an example of this circuit. Reference numerals 33, 34, and 35 denote multiplexers for setting rotation, enlargement, and reduction parameters corresponding to the "H" or "L" period of the dot clock to A, B, X0, or C, D, or X for X2, respectively. Switch to Y0. The output of the operation result is taken into DFFs 45 and 46 at the falling and rising edges of DCLK, respectively. FIG. 6 shows this situation in a timing chart.
【0017】以上の説明のように、本発明によればCP
Uは回転、拡大、縮小のために表示メモリ2を書き換え
る必要がない。従って、例えば回転についてみると、
A、B、C、Dのわずか4個のパラメータを例えば垂直
帰線期間に書き変えるだけで、スムーズな回転動画を行
なうことなどができる。また、図1からも明らかなよう
に水平表示アドレスカウンタ4はドットクロックDCL
Kで、垂直表示アドレスカウンタ5は水平同期信号HS
YNCで動作する。従って、4個のパラメータをDCL
KやHSYNCでタイミングをとって変更すれば、原画
のデータは変えることなくさまざまな形状の遠近感のあ
る表示を実現することができる。As described above, according to the present invention, the CP
U does not need to rewrite the display memory 2 for rotation, enlargement, and reduction. So, for example, when we look at rotation,
By simply rewriting only four parameters A, B, C, and D, for example, during the vertical blanking period, a smooth rotating moving image can be performed. Also, as is clear from FIG. 1, the horizontal display address counter 4 uses the dot clock DCL.
K, the vertical display address counter 5 outputs the horizontal synchronization signal HS.
Operates at YNC. Therefore, the four parameters are DCL
If the timing is changed by K or HSYNC, various shapes of perspective display can be realized without changing the original image data.
【0018】次に別の実施例について述べる。前述の実
施例は、水平、垂直の表示アドレスカウンタ4、5のス
キャンの順序によらず、瞬時に回転処理後の表示アドレ
スを求めることができるものであるが、改良すべき点も
残されていた。Next, another embodiment will be described. In the above-described embodiment, the display address after the rotation processing can be obtained instantaneously irrespective of the scanning order of the horizontal and vertical display address counters 4 and 5, but there are still points to be improved. Was.
【0019】すなわち、図3、図4の実施例においては
ドットクロック周期で動作する乗算器が4個、図5の例
ではドットクロックの1/2の周期で動作する乗算器が
2個必要であった。年々表示装置は高解像度および多色
表示の傾向にあり、100万画素を24ビットのフルカ
ラー表示するような装置もあり、表示回路もこれに対応
する性能が求められてきている。前述の実施例では、8
ビットのアドレスの低解像度の場合を例に説明したが、
このような高解像度の表示において精度のよい演算結果
を得るためには10ビットから20ビットの乗算および
加算を行なう必要がある。一方、表示にかかる時間は表
示一フレームを60〜70Hzで行なうとすれば、ドッ
トクロックは60〜70MHzとなり、一画素にあてら
れる時間は15ns前後である。このような短い時間に
上述の演算、特に乗算において桁上げに対しても高速で
動作させるためには高速で動作する素子を用いて回路を
組むか、大規模なキャリー回路を組む必要があり、製造
コストの上昇、消費電力の増大につながってしまう。従
って、高解像度、多色表示で回転、拡大、縮小表示がで
きる表示装置の製造上の妨げとなる課題が残されてい
た。That is, in the embodiments of FIGS. 3 and 4, four multipliers operating at the dot clock cycle are required, and in the example of FIG. 5, two multipliers operating at a half cycle of the dot clock are required. there were. Every year, display devices tend to have high resolution and multi-color display, and there are devices that display 1 million pixels in full color of 24 bits, and the display circuits are also required to have performance corresponding to this. In the above embodiment, 8
The case of low resolution of bit address was explained as an example,
In order to obtain an accurate operation result in such a high-resolution display, it is necessary to perform multiplication and addition of 10 to 20 bits. On the other hand, assuming that the time required for display is 60 to 70 Hz for one display frame, the dot clock is 60 to 70 MHz, and the time allotted to one pixel is about 15 ns. In such a short time, in order to operate at high speed even for carry in the above calculation, especially multiplication, it is necessary to form a circuit using elements that operate at high speed or to form a large-scale carry circuit, This leads to an increase in manufacturing cost and an increase in power consumption. Therefore, there remains a problem that hinders the manufacture of a display device capable of rotating, enlarging, and reducing display with high resolution and multicolor display.
【0020】そこで以下に、低速の乗算器でも同様の演
算結果がえられる、本発明の表示装置の演算回路の別の
回路例について説明する。A description will now be given of another example of the arithmetic circuit of the display device according to the present invention, which can obtain the same operation result even with a low-speed multiplier.
【0021】前述のアフィン変換の演算式(2)、
(3)を変形すると以下のようになる。The above affine transformation equation (2),
The modification of (3) is as follows.
【0022】 X2=AX1+BY1+Xi ・・・ 式(8) Y2=CX1+DY1+Yi ・・・ 式(9) ここで、Xi、Yiは初期値であり、 Xi=(1−A)X0−BY0 ・・・ 式(10) Yi=−CX0+(1−D)Y0 ・・・ 式(11) である。X2 = AX1 + BY1 + Xi Expression (8) Y2 = CX1 + DY1 + Yi Expression (9) Here, Xi and Yi are initial values, and Xi = (1-A) X0-BY0 expression ( 10) Yi = −CX0 + (1-D) Y0 Expression (11)
【0023】CRT表示装置などの点順次表示装置や、
LCD表示装置などの線順次表示装置の場合は表示アド
レスカウンタはゼロからシーケンシャルにカウントアッ
プされる。カウンタの出力値X1、Y1は各フレームの
最初はゼロであり1ドットクロック毎にX1が+1さ
れ、1水平同期信号毎にY1が+1される。従って、あ
らかじめ、式(10)、(11)に従って、初期値X
i、Yiを求めておけば、演算後の求めるべきアドレス
はX2、Y2は次のようにして求めることができる。す
なわち、水平方向のアドレスX2については、初期値X
iに1ドットクロック毎にAを、1水平同期信号毎にB
を加えることによって、また、垂直方向のアドレスY2
については、初期値Yiに1ドットクロック毎にCを、
1水平同期信号毎にDを加えることによって求められ
る。実際のメモリのアドレスはY2をビットシフトしX
2をそれに加えることによって求められる。従って、ド
ットクロック毎の演算は加算だけで処理され、乗算の必
要がない。Dot sequential display devices such as CRT display devices,
In the case of a line sequential display device such as an LCD display device, the display address counter is counted up from zero sequentially. The output values X1 and Y1 of the counter are zero at the beginning of each frame, X1 is incremented by one for each dot clock, and Y1 is incremented by one for each horizontal synchronization signal. Therefore, the initial value X is calculated in advance according to equations (10) and (11).
If i and Yi are obtained, the addresses to be obtained after the operation can be obtained as X2 and Y2 as follows. That is, for the horizontal address X2, the initial value X
i is A for each dot clock, and B is for each horizontal synchronization signal.
By adding the vertical address Y2
As for the initial value Yi, C is set for each dot clock,
It is obtained by adding D for each horizontal synchronization signal. The actual memory address is obtained by bit shifting Y2 and X
2 is added to it. Therefore, the operation for each dot clock is processed only by addition, and there is no need for multiplication.
【0024】このようにCRT表示装置などの点順次表
示装置や、LCD表示装置などの線順次表示装置の場合
は表示アドレスカウンタがゼロからシーケンシャルにカ
ウントアップするという点に着目すれば、演算回路の規
模は小さくすることができる。この本発明の別の実施例
を図7以降に述べる。前述した本発明の効果にくわえて
さらに、大規模な回路と高速で動作する素子が必要な高
速乗算器を用いる必要がないという利点があり、低消費
電力や低コストの実現が可能となるものである。In the case of a dot-sequential display device such as a CRT display device and a line-sequential display device such as an LCD display device, if the display address counter counts up from zero sequentially, the arithmetic circuit The scale can be small. Another embodiment of the present invention will be described with reference to FIG. In addition to the above-described effects of the present invention, there is an advantage that it is not necessary to use a high-speed multiplier that requires a large-scale circuit and a device that operates at a high speed, thereby realizing low power consumption and low cost. It is.
【0025】以下に実際の回路の例について、ブロック
図、タイミングチャート図などを用いて、より詳しく説
明する。Hereinafter, an example of an actual circuit will be described in more detail with reference to a block diagram, a timing chart, and the like.
【0026】まず初期値Xi、Yiを演算する回路につ
いて説明する。前述のように初期値Xi、Yiは式(1
0)、(11)により求めることができる。図7および
図8はそれぞれこれらを具現化したもので、前述の実施
例と同様にアドレス、パラメータとも8ビットの精度の
場合を示した。First, a circuit for calculating the initial values Xi and Yi will be described. As described above, the initial values Xi and Yi are determined by the equations (1)
0) and (11). FIGS. 7 and 8 each embody these, and show a case where both the address and the parameter have an 8-bit precision as in the above-described embodiment.
【0027】図7において、回転、拡大、縮小のパラメ
ータA、Bはビット反転回路47、51でそれぞれ各ビ
ット毎に反転され、+1回路48、52により1を加え
られ2の補数表現の負の数となる。次に負数表現された
Aについては1をくわえ、回転の中心座標X0、Y0と
これらの結果とがそれぞれ乗算器50、53で乗算さ
れ、さらにこれらの結果が加算器54によって加算され
初期値Xiとなる。Yiについても全く同様にして図8
のように回路化することができる。In FIG. 7, parameters A and B for rotation, enlargement, and reduction are inverted for each bit by bit inversion circuits 47 and 51, respectively, and one is added by +1 circuits 48 and 52, and a negative value of two's complement expression is added. It becomes a number. Next, for A expressed as a negative number, 1 is added, and the center coordinates X0 and Y0 of the rotation and their results are multiplied by multipliers 50 and 53, respectively, and these results are added by an adder 54 to be added to an initial value Xi. Becomes The same applies to Yi in FIG.
The circuit can be formed as follows.
【0028】次にドットクロックDCLKおよび水平同
期信号HSYNCのレートで加算を行ない、目的のアド
レスX2、Y2を演算する回路について説明する。Next, a circuit for performing addition at the rates of the dot clock DCLK and the horizontal synchronizing signal HSYNC to calculate the target addresses X2 and Y2 will be described.
【0029】図9、図10はそれぞれ式(8)、式
(9)を回路化したもので回路構成は全く同様である。
図7の回路で演算した結果の初期値Xiはマルチプレク
サ65に入力され、垂直帰線期間にはDFF66のデー
タ入力となって、垂直同期信号VSYNCの立ち上がり
エッジをクロックとして取り込まれる。垂直表示期間に
おいて、水平表示期間のタイミングではDFF66の出
力と、回転、拡大、縮小のパラメータAが選択されて加
算器64により加算されデータ入力に与えられ、ドット
クロックDCLKの立ち上がりエッジによりDFF66
に取り込まれる。式(8)における第一項の演算に相当
する回路動作である。垂直表示期間において、水平帰線
期間にはマルチプレクサ63によりBが選択され加算、
入力されて水平同期信号HSYNCの立ち上がりエッジ
によりDFF66に取り込まれる。式(8)における第
二項の演算に相当する回路動作である。このようにし
て、初期値Xiに対して回転、拡大、縮小のパラメータ
AまたはBが累積加算されて求めるべきアドレスX2と
なる。図9の回路の動作をタイミングチャートで示した
ものが図11である。FIGS. 9 and 10 are circuit diagrams of equations (8) and (9), respectively, and have exactly the same circuit configuration.
The initial value Xi calculated by the circuit of FIG. 7 is input to the multiplexer 65, becomes the data input of the DFF 66 during the vertical flyback period, and the rising edge of the vertical synchronization signal VSYNC is taken in as a clock. In the vertical display period, at the timing of the horizontal display period, the output of the DFF 66 and the parameters A for rotation, enlargement, and reduction are selected, added by the adder 64 and given to the data input, and the DFF 66 is supplied by the rising edge of the dot clock DCLK.
It is taken in. This is a circuit operation corresponding to the operation of the first term in Expression (8). In the vertical display period, B is selected and added by the multiplexer 63 during the horizontal flyback period.
It is inputted and taken into the DFF 66 at the rising edge of the horizontal synchronization signal HSYNC. This is a circuit operation corresponding to the operation of the second term in Expression (8). In this way, the rotation, enlargement, and reduction parameters A or B are cumulatively added to the initial value Xi to obtain the address X2 to be obtained. FIG. 11 is a timing chart showing the operation of the circuit of FIG.
【0030】図10の回路動作原理も、与えるアドレス
の初期値や回転、拡大、縮小パラメータが異なるだけで
全く同様であり、アドレスY2についても累積加算で算
出することができる。The circuit operation principle shown in FIG. 10 is exactly the same except that the initial value of the given address and the rotation, enlargement and reduction parameters are different, and the address Y2 can be calculated by cumulative addition.
【0031】このようにある特定の表示タイミングにお
けるアドレスの演算結果は、式(10)、式(11)の
初期値をあらかじめ乗算と加算によって求めておけば、
その初期値に対しアドレスカウンタの計数に同期してド
ットクロックおよび水平同期信号をクロックとしてそれ
ぞれ対応する回転、拡大、縮小パラメータを累積加算す
ることによって求めることができる。図9、図10から
明らかなようにこの回路はデータをラッチするフリップ
フロップとマルチプレクサおよび加算器で構成されてお
り回路規模は小さくて済むものである。またドットクロ
ックで動作するのは加算演算だけであるので、高解像度
の表示における高速のドットクロックにも対応できるも
のである。As described above, the calculation result of the address at a specific display timing can be obtained by multiplying and adding the initial values of Expressions (10) and (11) in advance.
The initial value can be obtained by cumulatively adding the corresponding rotation, enlargement, and reduction parameters using the dot clock and the horizontal synchronization signal as clocks in synchronization with the count of the address counter. As is clear from FIGS. 9 and 10, this circuit is composed of a flip-flop for latching data, a multiplexer and an adder, so that the circuit scale can be small. In addition, since only the addition operation is performed with the dot clock, it is possible to cope with a high-speed dot clock in high-resolution display.
【0032】つぎに乗算動作が必要となる初期値の演算
回路の動作タイミングについて述べる。Next, a description will be given of the operation timing of the operation circuit of the initial value which requires the multiplication operation.
【0033】例としてスムーズな回転動画を表示する場
合を考えると、CPU7が表示メモリ2にあらかじめ被
回転体の表示データを書き込んでおき、表示のフレーム
ごとに回転角を、すなわち回転、拡大、縮小パラメータ
A、B、C、Dを変えることにより実現できる。前述の
実施例の図9、図10においては垂直同期信号VSYN
Cの立ち上がりエッジで初期値Xi、YiがそれぞれD
FF65、73に取り込まれる。従ってパラメータの書
き換えは該当する表示フレーム期間が終了した垂直帰線
期間に行なえばよい。As an example, when a smooth rotating moving image is displayed, the CPU 7 writes the display data of the rotating object in the display memory 2 in advance and sets the rotation angle for each display frame, that is, rotation, enlargement, and reduction. This can be realized by changing the parameters A, B, C, and D. 9 and 10 of the above-described embodiment, the vertical synchronizing signal VSYN is used.
At the rising edge of C, the initial values Xi and Yi are D
These are taken into the FFs 65 and 73. Therefore, parameter rewriting may be performed during the vertical blanking period in which the corresponding display frame period has ended.
【0034】図12にこれを簡単に示した。77は回
転、拡大、縮小パラメータA、B、C、DおよびX0、
Y0をラッチするパラメータレジスタである。CPUは
割り込みまたはポーリングによって垂直帰線期間の始ま
りを検出し、書き込み信号を発生して次のフレーム用の
パラメータセットに書き換える。初期値Xi、Yiの演
算回路78は新しいパラメータセットを入力して、次の
フレーム用の初期値を演算する。演算結果は垂直同期信
号VSYNCの立ち上がりまでに確定していればよく、
図9または図10の累積加算回路に与えられる。FIG. 12 shows this simply. 77 is a rotation, enlargement, reduction parameter A, B, C, D and X0,
This is a parameter register that latches Y0. The CPU detects the beginning of the vertical blanking period by interrupt or polling, generates a write signal, and rewrites the parameter set for the next frame. The arithmetic circuit 78 for the initial values Xi and Yi inputs a new parameter set and calculates an initial value for the next frame. It is sufficient that the calculation result is determined before the rise of the vertical synchronization signal VSYNC.
It is provided to the accumulator circuit of FIG. 9 or FIG.
【0035】図12の例ではCPUは垂直帰線期間の始
まりを何らかの形で検出しなければならなかった。図1
3は別の例でありパラメータレジスタがラッチ80によ
り、ダブルバッファレジスタの形式になっているもので
ある。そのためCPUは垂直帰線期間の始まりを検出す
る必要がなく、任意のタイミングでパラメータレジスタ
の値を書き換えることができる。またラッチ80のクロ
ックは垂直同期信号VSYNCの立ち上がりエッジで動
作するため、CPUがこれを検出してパラメータレジス
タの値を書き換えれば、初期値Xi、Yiの演算回路8
1には一フレーム時間である約16msと最大の演算時
間が許容されるため、回路に動作速度が要求されず構成
上有利である。In the example of FIG. 12, the CPU has to detect the beginning of the vertical blanking period in some way. FIG.
Reference numeral 3 denotes another example, in which the parameter register is in the form of a double buffer register by a latch 80. Therefore, the CPU does not need to detect the beginning of the vertical blanking period, and can rewrite the value of the parameter register at an arbitrary timing. Since the clock of the latch 80 operates at the rising edge of the vertical synchronization signal VSYNC, if the CPU detects this and rewrites the value of the parameter register, the arithmetic circuit 8 for the initial values Xi and Yi
Since 1 has a maximum calculation time of about 16 ms, which is one frame time, the operation speed is not required for the circuit, which is advantageous in terms of configuration.
【0036】次にほかの表示の例として、表示ラインご
とに回転、拡大、縮小パラメータA、B、C、Dを書き
換える場合を考える。表示メモリ2に物体を正面から見
た画像をデータとして格納しておく。X方向の拡大率に
相当するパラメータを表示ラインごとに書き換えて、表
示の上部ほど拡大率を高く下部ほど低く設定すれば表示
は物体は手前に倒れかかった表示となり、さらに拡大率
の差の割合をフレームごとに大きくすれば表示メモリを
書き換えることなく物体が倒れてくる表示を実現でき
る。Next, as another display example, consider a case where the rotation, enlargement, and reduction parameters A, B, C, and D are rewritten for each display line. An image of the object viewed from the front is stored as data in the display memory 2. If the parameter corresponding to the magnification in the X direction is rewritten for each display line, and the magnification is set higher in the upper part of the display and lower in the lower part, the display becomes a display in which the object is leaning forward, and the ratio of the difference between the magnifications Is increased for each frame, a display in which an object falls down without rewriting the display memory can be realized.
【0037】この場合では、表示ラインごとに回転、拡
大、縮小パラメータA、B、C、Dを書き換える必要が
あるため、その前のラインまで累積加算を行なった結果
の加算値をアドレス演算に用いることができない。パラ
メータの書き換えを行なうタイミングで改めて初期値を
セットする必要がある。例としてnライン目まではフレ
ームの開始でセットしたパラメータに従って累積加算し
(n+1)ライン目からパラメータの書き換えを行なう
場合を考える。書き換えた後のパラメータをそれぞれ
A’、B’、C’、D’およびX0’、Y0’とすれば
アフィン変換の演算式は X2=A’X1+B’Y1+Xi ・・・ 式(12) Y2=C’X1+D’Y1+Yi ・・・ 式(13) となる。ここで、Xi、Yiは式(14)、式(15)
で表わされる初期値であり、フレームの最初にセットさ
れたと仮定した場合の値である。In this case, since it is necessary to rewrite the rotation, enlargement, and reduction parameters A, B, C, and D for each display line, the added value obtained by performing the cumulative addition up to the previous line is used for the address calculation. Can not do. It is necessary to set an initial value anew when the parameter is rewritten. As an example, consider a case in which cumulative addition is performed in accordance with parameters set at the start of a frame up to the nth line and parameters are rewritten from the (n + 1) th line. Assuming that the rewritten parameters are A ', B', C ', D' and X0 ', Y0', the affine transformation expression is: X2 = A'X1 + B'Y1 + Xi Expression (12) Y2 = C 'X1 + D'Y1 + Yi Expression (13) Here, Xi and Yi are expressed by Expressions (14) and (15).
, Which is the value when assuming that it is set at the beginning of the frame.
【0038】 Xi=(1−A’)X0’−B’Y0’ ・・・ 式(14) Yi=−C’X0’+(1−D’)Y0’ ・・・ 式(15) 実際にはnラインの後にセットされるので、水平方向の
アドレスX2についてみるとB’がn回、A’がn×w
回累積加算された値を(n+1)ライン目からの初期値
として用いることになる。ここでwは一ラインの水平ド
ット数である。従って、(n+1)ライン目からの初期
値をそれぞれXj、Yjとすれば Xj=(1−A’)X0’−B’Y0’+nwA’+nB’ ・・ 式(14) Yj=−C’X0’+(1−D’)Y0’+nwC’+nD’・・ 式(15) となる。Xi = (1−A ′) X0′−B′Y0 ′ Expression (14) Yi = −C′X0 ′ + (1-D ′) Y0 ′ Expression (15) Actually Is set after the nth line, so that B ′ is n times and A ′ is n × w
The value obtained by cumulative addition is used as an initial value from the (n + 1) th line. Here, w is the number of horizontal dots in one line. Therefore, assuming that the initial values from the (n + 1) th line are Xj and Yj, respectively, Xj = (1−A ′) X0′−B′Y0 ′ + nwA ′ + nB ′ Equation (14) Yj = −C′X0 '+ (1-D') Y0 '+ nwC' + nD 'Expression (15)
【0039】初期値を求める回路は各フレームに一回書
き換える場合に比べやや複雑になりそれぞれ図14、図
15のようになる。これらは式(14)、式(15)の
第3項、第4項に相当する演算回路を図7、図8に追加
したものである。The circuit for obtaining the initial value is slightly more complicated than the case of rewriting once for each frame, as shown in FIGS. 14 and 15, respectively. These are obtained by adding arithmetic circuits corresponding to the third and fourth terms of Expressions (14) and (15) to FIGS. 7 and 8.
【0040】初期値を演算した後の累積加算の回路は前
述の図9、図10と全く同様である。図9、図10では
マルチプレクサ65、72によって垂直帰線期間に初期
値がセットされるが、これを水平帰線期間にセットする
ことのみ異なる。また図13で説明したようにダブルバ
ッファ方式の回路とし水平同期信号HSYNCでパラメ
ータをラッチすれば図14、図15の演算は一水平走査
期間の約63μsの間に初期値を演算すればよく、とく
に高速の素子を用いて回路を構成する必要はない。つぎ
に乗算動作が必要となる初期値の演算回路の構成につい
てさらに述べる。The circuit of the cumulative addition after calculating the initial value is exactly the same as in FIGS. 9 and 10 described above. 9 and 10, an initial value is set in the vertical retrace period by the multiplexers 65 and 72, except that the initial value is set in the horizontal retrace period. Further, as described with reference to FIG. 13, if the circuit is of a double buffer system and the parameters are latched by the horizontal synchronization signal HSYNC, the calculations in FIGS. 14 and 15 need only calculate the initial value during about 63 μs in one horizontal scanning period. In particular, it is not necessary to form a circuit using high-speed elements. Next, the configuration of an initial value arithmetic circuit that requires a multiplication operation will be further described.
【0041】前述の説明からあきらかなように初期値を
求めるための乗算はドットクロックのレートで行なう必
要はないので低速の動作の素子および回路でかまわな
い。しかしながらたとえば図7と図8の初期値の演算回
路を並列にもつと乗算器が4個必要であり回路規模が大
きくなる。そこでこれらの回路が全く同一の回路構成で
あることに着目して、時分割で使うことが考えられる。
図16にその回路例を示した。図中のFRAMEは表示
フレームに同期した信号で、本実施例ではデューティー
50%の場合で示してある。マルチプレクサ102、1
06、108、112はFRAMEの”H”または”
L”のレベルに対応して、それぞれAまたはD、X0ま
たはY0、BまたはC、Y0またはX0を選択する。従
って、加算器113は表示フレームの前半はXiを後半
はYiを出力する。DFF114、115はこれらをラ
ッチして図9と図10の累積加算回路にそれぞれ初期値
として与える。このように時分割で回路を動作させても
表示の一フレーム時間は十分長いので、高速動作が必要
となるものではなくかつ回路規模を小さくすることがで
きる。As apparent from the above description, since the multiplication for obtaining the initial value does not need to be performed at the dot clock rate, low-speed elements and circuits may be used. However, for example, when the initial value arithmetic circuits of FIGS. 7 and 8 are provided in parallel, four multipliers are required, and the circuit scale becomes large. Therefore, focusing on the fact that these circuits have exactly the same circuit configuration, it is conceivable to use them in a time-division manner.
FIG. 16 shows an example of the circuit. FRAME in the figure is a signal synchronized with the display frame, and is shown in the present embodiment in the case of a duty of 50%. Multiplexers 102, 1
06, 108 and 112 are “H” or “H” of FRAME.
A or D, X0 or Y0, B or C, Y0 or X0 are respectively selected in accordance with the level of L ". Therefore, the adder 113 outputs Xi in the first half of the display frame and Yi in the second half. , 115 latch these signals and provide them as initial values to the accumulative addition circuits of Fig. 9 and Fig. 10. Even if the circuits are operated in a time-sharing manner, one frame time of display is sufficiently long, so that high-speed operation is required. And the circuit scale can be reduced.
【0042】[0042]
【発明の効果】以上の説明のように本発明によれば、 (1)CPUが表示メモリを書き換えることなく、回
転、拡大、縮小表示を表示装置上に行なうことができ
る。As described above, according to the present invention, (1) the rotation, enlargement, and reduction display can be performed on the display device without the CPU rewriting the display memory.
【0043】(2)ドットクロックごとの高速な乗算を
行なうことなく、一表示フレームまたは一表示ラインに
一度の乗算とドットごとまたは一表示ラインに一度の累
積加算によりスムーズな回転動画などの表示を実現する
ことができる。(2) Smooth display of moving images and the like is achieved by multiplication once for one display frame or one display line and cumulative addition once for each dot or one display line without performing high-speed multiplication for each dot clock. Can be realized.
【0044】(3)乗算器は低速動作のものでよく、乗
算器の時分割動作が可能であるため、回路規模は小さく
て済みかつ安価に製造することができる。(3) The multiplier may operate at a low speed, and the multiplier can perform a time-division operation. Therefore, the circuit scale can be reduced and the multiplier can be manufactured at low cost.
【0045】などの効果を持つものである。This has the following effects.
【図1】 本発明の表示回路のブロック図。FIG. 1 is a block diagram of a display circuit of the present invention.
【図2】 従来の表示回路のブロック図。FIG. 2 is a block diagram of a conventional display circuit.
【図3】 表示メモリ上の水平表示アドレスを演算する
本発明の演算回路図。FIG. 3 is an arithmetic circuit diagram of the present invention for calculating a horizontal display address on a display memory.
【図4】 表示メモリ上の垂直表示アドレスを演算する
本発明の演算回路図。FIG. 4 is an arithmetic circuit diagram of the present invention for calculating a vertical display address on a display memory.
【図5】 表示メモリ上の水平、垂直表示アドレスを時
分割動作により演算する本発明の演算回路図。FIG. 5 is an arithmetic circuit diagram of the present invention for calculating horizontal and vertical display addresses on a display memory by a time division operation.
【図6】 図5の回路の動作を示すタイミングチャー
ト。FIG. 6 is a timing chart showing the operation of the circuit of FIG.
【図7】 表示メモリ上の水平表示アドレスの初期値を
演算する本発明の演算回路図。FIG. 7 is an arithmetic circuit diagram of the present invention for calculating an initial value of a horizontal display address on a display memory.
【図8】 表示メモリ上の垂直表示アドレスの初期値を
演算する本発明の演算回路図。FIG. 8 is an arithmetic circuit diagram of the present invention for calculating an initial value of a vertical display address on a display memory.
【図9】 表示メモリ上の水平表示アドレスを累積加算
によって演算する本発明の演算回路図。FIG. 9 is an arithmetic circuit diagram of the present invention for calculating a horizontal display address on a display memory by cumulative addition.
【図10】 表示メモリ上の垂直表示アドレスを累積加
算によって演算する本発明の演算回路図。FIG. 10 is an arithmetic circuit diagram of the present invention for calculating a vertical display address on a display memory by cumulative addition.
【図11】 図9の回路の動作を示すタイミングチャー
ト。FIG. 11 is a timing chart showing the operation of the circuit in FIG. 9;
【図12】 図7、図8の初期値の演算回路にパラメー
タをあたえるブロック図。FIG. 12 is a block diagram for giving parameters to the initial value arithmetic circuits in FIGS. 7 and 8;
【図13】 図7、図8の初期値の演算回路にパラメー
タをダブルバッファ回路によりあたえるブロック図。FIG. 13 is a block diagram in which parameters are assigned to the initial value arithmetic circuits in FIGS. 7 and 8 by a double buffer circuit.
【図14】 表示メモリ上の水平表示アドレスのnライ
ン目の初期値を演算する本発明の演算回路図。FIG. 14 is an arithmetic circuit diagram of the present invention for calculating the initial value of the n-th line of the horizontal display address on the display memory.
【図15】 表示メモリ上の垂直表示アドレスのnライ
ン目の初期値を演算する本発明の演算回路。FIG. 15 shows an arithmetic circuit according to the present invention which calculates an initial value of an n-th line of a vertical display address on a display memory.
【図16】 表示メモリ上の水平、垂直表示アドレスの
nライン目の初期値を時分割動作により演算する本発明
の演算回路図。FIG. 16 is an arithmetic circuit diagram of the present invention for calculating the initial value of the nth line of the horizontal and vertical display addresses on the display memory by a time division operation.
【図17】 図16の回路の動作を示すタイミングチャ
ート。17 is a timing chart showing the operation of the circuit in FIG.
1、8 演算回路 2、9 表示メモリ 3、10 表示装置 4、11 水平表示アドレスカウンタ 5、12 垂直表示アドレスカウンタ 6、13 パラメータレジスタ 7、14 中央処理装置 15、19、24、28、36、40、47、51、5
5、59、82、86、92、96、103、109
ビット反転回路 16、20、25、29、37、41、48、52、5
6、60、83、87、93、97、104、110
+1加算器 17、21、23、26、30、32、38、42、4
4、49、54、57、62、64、71、84、9
1、94、101、105、113 加算器 18、22、27、31、39、43、50、53、5
8、61、85、88、89、90、95、98、9
9、100、107、111 乗算器 33、34、35、63、65、70、72、102、
106、108、112 マルチプレクサ 45、46、66、73、114、115 Dフリップ
フロップ 67、68、74、75 ANDゲート 69、76 ORゲート 77、79 パラメータレジスタ 78、81 初期値演算回路 80 ラッチ1,8 arithmetic circuit 2,9 display memory 3,10 display device 4,11 horizontal display address counter 5,12 vertical display address counter 6,13 parameter register 7,14 central processing unit 15,19,24,28,36, 40, 47, 51, 5
5, 59, 82, 86, 92, 96, 103, 109
Bit inversion circuits 16, 20, 25, 29, 37, 41, 48, 52, 5
6, 60, 83, 87, 93, 97, 104, 110
+1 adder 17, 21, 23, 26, 30, 32, 38, 42, 4
4, 49, 54, 57, 62, 64, 71, 84, 9
1, 94, 101, 105, 113 Adders 18, 22, 27, 31, 39, 43, 50, 53, 5
8, 61, 85, 88, 89, 90, 95, 98, 9
9, 100, 107, 111 multipliers 33, 34, 35, 63, 65, 70, 72, 102,
106, 108, 112 Multiplexer 45, 46, 66, 73, 114, 115 D flip-flop 67, 68, 74, 75 AND gate 69, 76 OR gate 77, 79 Parameter register 78, 81 Initial value operation circuit 80 Latch
─────────────────────────────────────────────────────
────────────────────────────────────────────────── ───
【手続補正書】[Procedure amendment]
【提出日】平成13年9月10日(2001.9.1
0)[Submission date] September 10, 2001 (2001.9.1)
0)
【手続補正1】[Procedure amendment 1]
【補正対象書類名】明細書[Document name to be amended] Statement
【補正対象項目名】特許請求の範囲[Correction target item name] Claims
【補正方法】変更[Correction method] Change
【補正内容】[Correction contents]
【特許請求の範囲】[Claims]
【数1】 で定義され、 前記回転、拡大又は縮小の演算パラメータは、 (Equation 1) The rotation, enlargement or reduction operation parameters are defined by
【数2】 として与えられ、 回転の中心は、 (Equation 2) And the center of rotation is
【数3】 として与えられ、 前記第2のアドレスである (Equation 3) It is given as is the second address
【数4】 は、前記第1のアドレスである (Equation 4) Is the first address
【数5】 をアフィン変換して定められることを特徴とする請求項
2に記載の表示回路。 (Equation 5) Is defined by affine transformation of
3. The display circuit according to 2.
【手続補正2】[Procedure amendment 2]
【補正対象書類名】明細書[Document name to be amended] Statement
【補正対象項目名】0005[Correction target item name] 0005
【補正方法】変更[Correction method] Change
【補正内容】[Correction contents]
【0005】[0005]
【課題を解決するための手段】本発明の表示回路は、表
示装置に画像を表示する表示回路であって、第1の画像
のピクセルデータが格納された表示メモリと、前記第1
の画像のピクセルデータを前記表示メモリから読み出し
た場合に前記表示装置に前記第1の画像が表示されるよ
うに生成された第1のアドレス列を、表示のための同期
信号に基づいて順次生成するアドレスカウンタと、前記
第1の画像を回転、拡大又は縮小する場合の演算パラメ
ータを格納するパラメータレジスタと、前記アドレスカ
ウンタから送出された前記第1のアドレス列を、前記パ
ラメータレジスタから供給された前記演算パラメータに
基づいて、第2のアドレス列に変換し、前記変換された
前記第2のアドレス列に基づいて前記表示メモリから前
記ピクセルデータを順次読み出し、読み出された前記ピ
クセルデータを表示装置に出力する表示制御手段と、を
備えることを特徴とする。Display circuit of the present invention According to an aspect of the table
A display circuit for displaying an image on a display device, comprising:
A display memory in which pixel data of
Read pixel data of the image from the display memory
The first image is displayed on the display device when the
Synchronizes the first generated address string for display
An address counter sequentially generated based on a signal;
Calculation parameters when rotating, enlarging or reducing the first image
A parameter register for storing data, and the first address string sent from the address counter is converted into a second address string based on the operation parameters supplied from the parameter register. sequentially reading out the pixel data from said display memory based on the second address sequence, a display control means for outputting the pixel data read out to the display device, the
It is characterized by having.
【手続補正3】[Procedure amendment 3]
【補正対象書類名】明細書[Document name to be amended] Statement
【補正対象項目名】0007[Correction target item name] 0007
【補正方法】変更[Correction method] Change
【補正内容】[Correction contents]
【0007】図1は本発明の表示回路で、1が回転、拡
大、縮小表示を行なうための演算回路である。表示メモ
リ2は読みだし書き込みメモリ(以下RAMという)で
構成した場合の例であり、RAMには回転などの処理が
されていない原画(第1の画像)のデータ(ピクセルデ
ータ)がCPU7から書き込まれている。水平表示アド
レスカウンタ4、垂直アドレスカウンタ5は、表示装置
3の表示位置に対応したアドレスを計数するもので、水
平方向の位置はドットクロックDCLKを、垂直方向の
位置は水平同期信号HSYNCをクロックとして計数動
作する。FIG. 1 shows a display circuit according to the present invention, wherein 1 is an arithmetic circuit for performing rotation, enlargement, and reduction display. The display memory 2 is an example of a case where the display memory 2 is configured by a read / write memory (hereinafter, referred to as a RAM ) , and data (pixel data ) of an original image (first image) that has not been subjected to processing such as rotation is stored in the RAM.
Data) is written from the CPU 7. The horizontal display address counter 4 and the vertical address counter 5 count addresses corresponding to the display positions of the display device 3, and the horizontal position is a dot clock DCLK, and the vertical position is a horizontal synchronization signal HSYNC. The counting operation is performed.
【手続補正4】[Procedure amendment 4]
【補正対象書類名】明細書[Document name to be amended] Statement
【補正対象項目名】0008[Correction target item name] 0008
【補正方法】変更[Correction method] Change
【補正内容】[Correction contents]
【0008】表示制御手段は、回転などの処理が行なわ
れない場合はこれらのアドレスカウンタ4、5の出力が
そのままアドレス(第1のアドレス列)として表示メモ
リに与えられ、対応するデータが表示装置に送られる。
一方、回転、拡大、縮小表示を行なう場合は演算回路1
がアドレスカウンタの出力を演算処理し、変換して表示
アドレス(第2のアドレス列)を表示メモリ2に与え
る。表示メモリからは変換後の表示アドレスに対応した
データが読みだされ、結果、表示装置には回転、拡大ま
たは縮小表示が行なわれる。[0008] The display control means may control, when the processing such as rotation is not performed is applied to the display memory as the output as the address of the address counter 4 and 5 (the first address column), the corresponding data display device Sent to
On the other hand, when performing rotation, enlargement, or reduction display, the arithmetic circuit 1
Computes and converts the output of the address counter and gives the display address (second address string) to the display memory 2. Data corresponding to the converted display address is read from the display memory, and as a result, the display device is rotated, enlarged, or reduced in size.
【手続補正5】[Procedure amendment 5]
【補正対象書類名】明細書[Document name to be amended] Statement
【補正対象項目名】0010[Correction target item name] 0010
【補正方法】変更[Correction method] Change
【補正内容】[Correction contents]
【0010】 [0010]
【数6】 (6)
───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.7 識別記号 FI テーマコート゛(参考) G09G 5/36 520K Fターム(参考) 5B057 AA20 CA12 CB12 CB16 CC01 CD03 CD05 CH08 CH11 5C023 AA02 AA03 AA38 DA04 EA05 EA06 5C082 AA01 BA02 BA12 BB15 BB22 CA33 CA34 CA42 CB05 DA57 DA67 DA87 MM02 MM05 ──────────────────────────────────────────────────続 き Continued on the front page (51) Int.Cl. 7 Identification symbol FI Theme coat ゛ (Reference) G09G 5/36 520K F term (Reference) 5B057 AA20 CA12 CB12 CB16 CC01 CD03 CD05 CH08 CH11 5C023 AA02 AA03 AA38 DA04 EA05 EA06 5C082 AA01 BA02 BA12 BB15 BB22 CA33 CA34 CA42 CB05 DA57 DA67 DA87 MM02 MM05
Claims (7)
と、ラスタスキャンまたは線順次走査型の表示装置と、
表示装置上のアドレスを計数するアドレスカウンタを有
し、表示の回転、拡大または縮小などの表示を行なう表
示回路において、前記アドレスカウンタの出力をデータ
入力とし、垂直同期信号またはフレームに同期した信号
と、水平同期信号またはラインに同期した信号と、ドッ
トクロックまたは画素に同期した信号と、回転、拡大ま
たは縮小表示のパラメータを制御入力とし、前記表示メ
モリ上に描画された表示データのアドレスを出力する演
算回路を有し、そのアドレスのデータを読みだして表示
を行なう手段を有することを特徴とする表示回路。A display memory for storing image display data, a raster scan or line sequential scan type display device,
In a display circuit having an address counter for counting addresses on a display device, and performing display such as rotation, enlargement or reduction of display, an output of the address counter is used as a data input, and a signal synchronized with a vertical synchronization signal or a frame. The control input is a horizontal synchronization signal or a signal synchronized with a line, a signal synchronized with a dot clock or a pixel, and parameters of rotation, enlargement or reduction, and outputs an address of display data drawn on the display memory. A display circuit having an arithmetic circuit and having means for reading data at the address and displaying the data.
間にアドレスと回転、拡大、縮小パラメータの乗算を行
なう手段と、ドットクロックまたはその整数倍のクロッ
クのレートで前記の乗算の結果と回転、拡大、縮小パラ
メータの累積加算を行なう手段、または水平同期信号ま
たはそれに同期した信号をクロックとして前記の乗算の
結果と回転、拡大、縮小パラメータの累積加算を行なう
手段を有することを特徴とする表示回路。2. The arithmetic circuit according to claim 1, further comprising means for multiplying an address by a rotation, enlargement, or reduction parameter during a vertical blanking period, and a result of said multiplication at a dot clock rate or a clock rate of an integer multiple of the dot clock rate. And means for performing cumulative addition of rotation, enlargement, and reduction parameters, or means for performing cumulative addition of the result of the multiplication and rotation, enlargement, and reduction parameters using a horizontal synchronization signal or a signal synchronized therewith as a clock. Display circuit.
間にアドレスと回転、拡大、縮小パラメータの乗算を行
なう手段と、ドットクロックまたはその整数倍のクロッ
クのレートで前記の乗算の結果と回転、拡大、縮小パラ
メータの累積加算を行なう手段、または水平同期信号ま
たはそれに同期した信号をクロックとして前記の乗算の
結果と回転、拡大、縮小パラメータの累積加算を行なう
手段を有することを特徴とする表示回路。3. The arithmetic circuit according to claim 1, further comprising: means for multiplying an address and a rotation, enlargement, or reduction parameter during a horizontal flyback period, and a result of said multiplication at a dot clock rate or a clock rate of an integer multiple thereof. And means for performing cumulative addition of rotation, enlargement, and reduction parameters, or means for performing cumulative addition of the result of the multiplication and rotation, enlargement, and reduction parameters using a horizontal synchronization signal or a signal synchronized therewith as a clock. Display circuit.
期間にアドレスと回転、拡大、縮小パラメータの乗算を
行なう手段と、前記の乗算の結果を垂直同期信号または
一フレームに同期した信号でラッチする手段と、ドット
クロックまたはその整数倍のクロックのレートで前記ラ
ッチの出力と回転、拡大、縮小パラメータの累積加算を
行なう手段、または水平同期信号またはそれに同期した
信号をクロックとして前記の乗算の結果と回転、拡大、
縮小パラメータの累積加算を行なう手段を有することを
特徴とする表示回路。4. An arithmetic circuit according to claim 1, wherein said means multiplies an address by a rotation, enlargement, or reduction parameter in one frame period, and a result of said multiplication is a vertical synchronization signal or a signal synchronized with one frame. Means for latching, means for performing the output of the latch and accumulative addition of rotation, enlargement, and reduction parameters at a dot clock rate or a clock rate that is an integral multiple of the dot clock, or the above-described multiplication using a horizontal synchronization signal or a signal synchronized therewith as a clock Result and rotation, enlargement,
A display circuit comprising means for performing cumulative addition of reduction parameters.
間にアドレスと回転、拡大、縮小パラメータの乗算を行
なう手段と、前記の乗算の結果を水平同期信号または一
ラインに同期した信号でラッチする手段と、ドットクロ
ックまたはその整数倍のクロックのレートで前記ラッチ
の出力と回転、拡大、縮小パラメータの累積加算を行な
う手段、または水平同期信号またはそれに同期した信号
をクロックとして前記の乗算の結果と回転、拡大、縮小
パラメータの累積加算を行なう手段を有することを特徴
とする表示回路。5. The arithmetic circuit according to claim 1, wherein means for multiplying an address and rotation, enlargement, and reduction parameters in one line period, and a result of the multiplication is a horizontal synchronization signal or a signal synchronized with one line. Means for latching, means for performing the output of the latch and accumulative addition of rotation, enlargement, and reduction parameters at a dot clock rate or a clock rate that is an integral multiple of the dot clock; or A display circuit comprising means for cumulatively adding a result, rotation, enlargement, and reduction parameters.
ムまたは表示ラインに同期したタイミング信号を入力し
マルチプレクサによって時分割に動作する手段を有する
ことを特徴とする表示回路。6. The display circuit according to claim 1, further comprising means for inputting a timing signal synchronized with a display frame or a display line and operating in a time division manner by a multiplexer.
回転、拡大、縮小パラメータの乗算をマルチプレクサに
よって時分割に動作する手段と、ドットクロックまたは
その整数倍のクロックのレートで前記の乗算の結果と回
転、拡大、縮小パラメータの累積加算を行なう手段、ま
たは水平同期信号またはそれに同期した信号をクロック
として前記の乗算の結果と回転、拡大、縮小パラメータ
の累積加算を行なう手段を有することを特徴とする表示
回路。7. The arithmetic circuit according to claim 1, wherein the multiplication of the address and the rotation, enlargement, and reduction parameters is time-divisionally operated by a multiplexer, and the multiplication of the multiplication is performed at a dot clock rate or a clock rate that is an integral multiple of the dot clock rate. Means for performing cumulative addition of the result and rotation, enlargement, and reduction parameters, or means for performing cumulative addition of the result of the multiplication and rotation, enlargement, and reduction parameters using a horizontal synchronization signal or a signal synchronized with the horizontal synchronization signal as a clock. Display circuit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2001244884A JP2002156961A (en) | 2001-08-10 | 2001-08-10 | Display circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2001244884A JP2002156961A (en) | 2001-08-10 | 2001-08-10 | Display circuit |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP4155085A Division JPH06167966A (en) | 1992-06-15 | 1992-06-15 | Display circuit |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2002156961A true JP2002156961A (en) | 2002-05-31 |
Family
ID=19074743
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2001244884A Pending JP2002156961A (en) | 2001-08-10 | 2001-08-10 | Display circuit |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2002156961A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7009650B2 (en) | 2002-08-20 | 2006-03-07 | Casio Computer Co., Ltd. | Data communications device, data communications system, document display method with video and document display program with video |
JPWO2016039167A1 (en) * | 2014-09-12 | 2017-06-22 | ソニーセミコンダクタソリューションズ株式会社 | Image processing apparatus, image processing method, and program |
-
2001
- 2001-08-10 JP JP2001244884A patent/JP2002156961A/en active Pending
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7009650B2 (en) | 2002-08-20 | 2006-03-07 | Casio Computer Co., Ltd. | Data communications device, data communications system, document display method with video and document display program with video |
US7508386B2 (en) | 2002-08-20 | 2009-03-24 | Casio Computer Co., Ltd. | Data communications device, data communications system, document display method with video and document display program with video |
JPWO2016039167A1 (en) * | 2014-09-12 | 2017-06-22 | ソニーセミコンダクタソリューションズ株式会社 | Image processing apparatus, image processing method, and program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPH06167966A (en) | Display circuit | |
JPH0628485A (en) | Texture address generator, texture pattern generator, texture plotting device and texture address generating method | |
US9747665B2 (en) | Device and method for divisional image scaling | |
JPH0126072B2 (en) | ||
KR100210496B1 (en) | Cursor display control method and display control device of graphic display device | |
JP3668502B2 (en) | Liquid crystal display method and liquid crystal display device | |
JP2002156961A (en) | Display circuit | |
JPH0934411A (en) | Image display device and liquid crystal display controller | |
JP3613985B2 (en) | Image processing apparatus and projection display apparatus | |
JPS6016634B2 (en) | Graphic generation method in display devices | |
JP2004110046A (en) | Display device for video scaling | |
JP3354725B2 (en) | Display device | |
JPH10228537A (en) | Pixel area calculator | |
JPH03175493A (en) | television screen display device | |
CN105872306B (en) | Apparatus and method for image scaling | |
JP2899838B2 (en) | Storage device | |
JP2609628B2 (en) | Memory address controller | |
JP2002258827A (en) | Image display device | |
JPS59101697A (en) | Cursor display method | |
JPH08129356A (en) | Display device | |
JP2871164B2 (en) | Image processing device | |
JP2000122594A (en) | Image display method and image display device | |
JP3004993B2 (en) | Image processing device | |
JP2794446B2 (en) | Method and apparatus for filling outline font in which characters are configured for each element | |
JP3226939B2 (en) | Image display device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20030408 |