JP3276823B2 - Video signal processing circuit - Google Patents

Video signal processing circuit

Info

Publication number
JP3276823B2
JP3276823B2 JP26710695A JP26710695A JP3276823B2 JP 3276823 B2 JP3276823 B2 JP 3276823B2 JP 26710695 A JP26710695 A JP 26710695A JP 26710695 A JP26710695 A JP 26710695A JP 3276823 B2 JP3276823 B2 JP 3276823B2
Authority
JP
Japan
Prior art keywords
signal
video signal
address
circuit
buffer memory
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP26710695A
Other languages
Japanese (ja)
Other versions
JPH09116875A (en
Inventor
穰 清水
英昭 佐々木
陽介 水谷
晴也 太田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP26710695A priority Critical patent/JP3276823B2/en
Publication of JPH09116875A publication Critical patent/JPH09116875A/en
Application granted granted Critical
Publication of JP3276823B2 publication Critical patent/JP3276823B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Television Systems (AREA)

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、フィールドメモリ
やフレームメモリ等のバッファメモリを用い、入力映像
信号を時間軸変換して同期信号の異なる表示映像信号を
生成する映像信号処理回路に係わり、特に、バッファメ
モリに対する書き込みアドレスと読み出しアドレス間の
アドレス追い越しを監視する回路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a video signal processing circuit for generating a display video signal having a different synchronizing signal by converting an input video signal on a time axis using a buffer memory such as a field memory or a frame memory. And a circuit for monitoring the passing of addresses between a write address and a read address for a buffer memory.

【0002】[0002]

【従来の技術】パーソナルコンピュータ等の映像信号を
通常のテレビジョン受像機に表示する場合や、通常のテ
レビジョン信号をこのテレビジョン信号と同期して動作
していないテレビジョン受像機に表示する場合、入力映
像信号をその同期信号に対応する書き込みクロックに従
って、フィールドメモリやフレームメモリ等のバッファ
メモリに一旦書き込み、表示しようとする映像信号の同
期信号に対応する読み出しクロックに従って書き込まれ
た映像信号を読み出し、表示映像信号とすることが一般
的に行われていた。
2. Description of the Related Art A case where a video signal from a personal computer or the like is displayed on a normal television receiver or a case where a normal television signal is displayed on a television receiver not operating in synchronization with the television signal. In accordance with the write clock corresponding to the synchronization signal, the input video signal is temporarily written to a buffer memory such as a field memory or a frame memory, and the video signal written according to the read clock corresponding to the synchronization signal of the video signal to be displayed is read. In general, a display video signal is used.

【0003】上述したバッファメモリを用いた際には、
入力映像信号と表示映像信号の同期信号周波数が異なる
ために、書き込みアドレスと読み出しアドレスの間でい
ずれか一方が他方を追い越す事態が必ず発生し、この場
合には、表示映像の1つの画面内で入力映像の2つのフ
ィールドもしくはフレームが切り替わり、画質が著しく
損なわれてしまう。
[0003] When the above buffer memory is used,
Since the synchronizing signal frequencies of the input video signal and the display video signal are different, one of the write addresses and the read address always overtakes the other, and in this case, in one screen of the display video, The two fields or frames of the input video are switched, and the image quality is significantly impaired.

【0004】そこで、従来より、バッファメモリに対す
る書き込みアドレスと読み出しアドレスを監視し、いず
れか一方が他方を追い越すか否かを予測し、予測結果に
応じて書き込みもしくは読み出しを制御して、1画面内
での表示内容の切り替わりを防止するようにしていた。
Therefore, conventionally, a write address and a read address with respect to a buffer memory are monitored, and it is predicted whether or not one of them overtakes the other. The switching of the display content in was prevented.

【0005】[0005]

【発明が解決しようとする課題】通常、フィールドメモ
リやフレームメモリ等のバッファメモリは、アドレスカ
ウンタを内蔵し、入力されるクロックに基づいて書き込
み及び読み出しのアドレスを決定するようにしている。
このため、アドレス追い越しを予測するために、アドレ
スそのものをメモり外部で監視する構成は採用できず、
また、このような構成では、アドレスそのもののビット
数が多いために、回路が大規模にならざるを得ないとい
う問題がある。
Normally, a buffer memory such as a field memory or a frame memory has a built-in address counter and determines a write and read address based on an input clock.
For this reason, it is not possible to adopt a configuration in which the address itself is monitored externally in order to predict the overtaking of the address.
Further, in such a configuration, there is a problem that the circuit must be large-scale because the number of bits of the address itself is large.

【0006】[0006]

【課題を解決するための手段】本発明は、第1及び第2
のバッファメモリに入力映像信号を交互に書き込み、書
き込まれた映像信号を交互に読み出して表示映像信号を
得る映像信号処理回路において、前記第1及び第2のバ
ッファメモリから読み出し動作を開始するとき、書き込
みを行っているバッファメモリと読み出しを行おうとす
るバッファメモリが一致するか否かを判定し、判定結果
に応じて読み出しと書き込みにおけるアドレス追い越し
の発生を予測する第1のアドレス監視回路と、前記入力
映像信号と表示映像信号の垂直信号の位相差と該位相差
の経時変化量とを検出する検出回路、前記位相差と経時
変化量とを比較する比較回路、読み出し動作を開始する
とき、書き込みを行っているバッファメモリと読み出し
を行おうとするバッファメモリが一致するか否かを判定
する判定回路、及び、前記比較回路と判定回路の結果に
応じて読み出しと書き込みにおけるアドレス追い越しの
発生を予測する第2のアドレス監視回路と、切換信号に
応じて前記第1と第2のアドレス監視回路を切り換える
切換回路とを有することを特徴とする。
SUMMARY OF THE INVENTION The present invention provides first and second embodiments.
In the video signal processing circuit for alternately writing the input video signal to the buffer memory of, and alternately reading the written video signal to obtain the display video signal, when starting the read operation from the first and second buffer memories, A first address monitoring circuit that determines whether a buffer memory that is performing writing matches a buffer memory that is performing reading, and predicts the occurrence of address overtaking in reading and writing in accordance with the determination result; A detection circuit for detecting a phase difference between a vertical signal of an input video signal and a display video signal and a temporal change amount of the phase difference, a comparison circuit for comparing the phase difference with the temporal change amount, and writing when starting a read operation; A determination circuit for determining whether or not the buffer memory performing the read operation matches the buffer memory attempting to perform the read operation; and A second address monitoring circuit for predicting occurrence of address overtaking in reading and writing in accordance with the results of the comparison circuit and the determination circuit, and a switching circuit for switching between the first and second address monitoring circuits in response to a switching signal And characterized in that:

【0007】また、本発明は、第1及び第2のバッファ
メモリに入力映像信号を交互に書き込み、書き込まれた
映像信号を交互に読み出して表示映像信号を得る映像信
号処理回路において、前記第1及び第2のバッファメモ
リに書き込み動作を開始するとき、読み出しを行ってい
るバッファメモリと書き込みを行おうとするバッファメ
モリが一致するか否かを判定し、判定結果に応じて読み
出しと書き込みにおけるアドレス追い越しの発生を予測
する第1のアドレス監視回路と、前記入力映像信号と表
示映像信号の垂直信号の位相差と該位相差の経時変化量
とを検出する検出回路、前記位相差と経時変化量とを比
較する比較回路、書き込み動作を開始するとき、読み出
しを行っているバッファメモリと書き込みを行おうとす
るバッファメモリが一致するか否かを判定する判定回
路、及び、前記比較回路と判定回路の結果に応じて読み
出しと書き込みにおけるアドレス追い越しの発生を予測
する第2のアドレス監視回路と、切換信号に応じて前記
第1と第2のアドレス監視回路を切り換える切換回路と
を有することを特徴とする。
The present invention also relates to a video signal processing circuit for alternately writing an input video signal to first and second buffer memories and alternately reading the written video signal to obtain a display video signal. When starting a write operation to the second buffer memory, it is determined whether or not the buffer memory that is performing the read operation matches the buffer memory that is to perform the write operation. A first address monitoring circuit for predicting the occurrence of a phase difference, a detection circuit for detecting a phase difference between the input image signal and the vertical signal of the display image signal, and an amount of change with time of the phase difference; A comparison circuit, a buffer memory that performs reading and a buffer memory that performs writing when starting a writing operation A judgment circuit for judging whether they match, a second address monitoring circuit for predicting the occurrence of address overtaking in reading and writing in accordance with the results of the comparison circuit and the judgment circuit, and a second address monitoring circuit in accordance with a switching signal A switching circuit for switching between the first and second address monitoring circuits.

【0008】また、本発明は、前記経時変化量が所定値
より少なくなったことを検出する第2検出回路を更に備
え、該検出回路の検出出力を前記切換信号とすることを
特徴とする。
Further, the present invention is characterized in that it further comprises a second detection circuit for detecting that the amount of change with time has become smaller than a predetermined value, and a detection output of the detection circuit is used as the switching signal.

【0009】[0009]

【発明の実施の形態】図2は、本発明の実施形態を示す
ブロック図であり、1及び2は各々1フィールド分の入
力映像信号を記憶する第1及び第2のフィールドメモリ
(M1,M2)であり、各々、書き込みアドレスを指定
するためのライトアドレスカウンタWCTR3,4と、
読み出しアドレスを指定するためのリードアドレスカウ
ンタRCTR5,6を備え、書き込み及び読み出しの制
御は、タイミング制御回路7からの各種信号により行わ
れる。
FIG. 2 is a block diagram showing an embodiment of the present invention. Reference numerals 1 and 2 denote first and second field memories (M1, M2) each storing an input video signal for one field. ), And write address counters WCTR3 and WCTR4 for designating a write address, respectively.
Read address counters RCTR5 and RCTR6 for designating a read address are provided, and writing and reading are controlled by various signals from a timing control circuit 7.

【0010】タイミング制御回路7は、書き込みを制御
するためのクロックを発生する入力映像クロックジェネ
レータ8と、読み出しを制御するためのクロックを発生
する表示映像クロックジェネレータ9と、書き込みアド
レスと読み出しアドレス間のアドレス追い越しを監視す
るアドレス監視回路10を有する。入力映像クロックジ
ェネレータ8は、入力映像信号の水平同期信号及び垂直
同期信号である入力H及び入力Vを入力し、ライトクロ
ック信号WCLK,ライトリセット信号WRST,ライ
トセレクト信号WE,ライトイネーブル信号WE1及び
WE2を出力する。
[0010] The timing control circuit 7 includes an input video clock generator 8 for generating a clock for controlling writing, a display video clock generator 9 for generating a clock for controlling reading, and a clock between the writing address and the reading address. It has an address monitoring circuit 10 for monitoring address overtaking. The input video clock generator 8 receives an input H and an input V, which are a horizontal synchronization signal and a vertical synchronization signal of the input video signal, and outputs a write clock signal WCLK, a write reset signal WRST, a write select signal WE, a write enable signal WE1, and a WE2. Is output.

【0011】ライトクロック信号WCLKは、入力Hに
同期して、デジタルデータである入力映像信号のビット
レートに対応しており、また、ライトセレクト信号WE
は、図3イに示すように入力Vに同期して入力Vの1周
期毎に信号レベルが反転する。このライトセレクト信号
WEは、そのままANDゲート81に入力されると共
に、インバータ82により反転されてANDゲート83
に入力される。
The write clock signal WCLK corresponds to the bit rate of the input video signal which is digital data in synchronization with the input H, and the write select signal WE
As shown in FIG. 3A, the signal level is inverted every cycle of the input V in synchronization with the input V. The write select signal WE is input to the AND gate 81 as it is, and is inverted by the inverter 82 to be AND gate 83
Is input to

【0012】入力映像クロックジェネレータ8は、内部
に第1クロック発生器84を有し、この発生器が入力映
像信号の有効表示期間を示す信号DISP1を出力す
る。この信号DISP1は、図3エに示すように、ライ
トセレクト信号WEの反転後所定期間tの経過後に立ち
上がる信号であって、この信号がANDゲート81,8
3に入力される。従って、ANDゲート81,83から
は、図3オ,カに示すように、信号DISP1と同一期
間、ライトセレクト信号WEの信号レベルに応じて交互
にHレベルを出力するライトイネーブル信号WE1,W
E2が出力される。また、ライトリセット信号WRST
も、DISP1の立ち上がりに同期して図3ウに示すよ
うに出力され、このため、信号WE1,WE2,WRS
Tは、いずれもライトセレクト信号WEの反転後、所定
期間tだけ経過して出力される。入力映像信号の水平同
期信号周期を1Hとしたとき、tとしては例えば20H
程度が選ばれる。
The input video clock generator 8 has a first clock generator 84 therein, and this generator outputs a signal DISP1 indicating a valid display period of the input video signal. As shown in FIG. 3D, this signal DISP1 is a signal which rises after a lapse of a predetermined period t after the inversion of the write select signal WE.
3 is input. Therefore, as shown in FIGS. 3A and 3A, the AND gates 81 and 83 output the write enable signals WE1 and W alternately outputting the H level according to the signal level of the write select signal WE during the same period as the signal DISP1.
E2 is output. Also, the write reset signal WRST
Are also output in synchronization with the rising edge of DISP1, as shown in FIG. 3C, so that the signals WE1, WE2, WRS
T is output after a lapse of a predetermined period t after the inversion of the light select signal WE. When the horizontal synchronization signal cycle of the input video signal is 1H, t is, for example, 20H
The degree is chosen.

【0013】フィールドメモリ1,2内のライトアドレ
スカウンタ3,4は、ライトリセット信号WRSTによ
ってリセットされ、信号WE1,WE2がHレベルの期
間ライトクロックWCLKをカウントすることにより書
き込みアドレスをインクリメントするものであり、従っ
て、フィールドメモリ1,2には、入力映像信号が下位
アドレスから上位アドレスに向かって順に書き込まれ、
また、ライトイネーブル信号WE1,WE2によってフ
ィールド単位に交互に入力映像信号が書き込まれる。
The write address counters 3 and 4 in the field memories 1 and 2 are reset by the write reset signal WRST, and increment the write address by counting the write clock WCLK while the signals WE1 and WE2 are at the H level. Therefore, the input video signals are written in the field memories 1 and 2 in order from the lower address to the upper address.
Also, the input video signal is written alternately in field units by the write enable signals WE1 and WE2.

【0014】一方、表示映像クロックジェネレータ9
は、表示映像信号の水平同期信号及び垂直同期信号であ
る表示H及び表示Vを生成して出力し、更に、リードク
ロック信号RCLK,リードリセット信号RRST,リ
ードセレクト信号RE,リードイネーブル信号RE1及
びRE2を出力する。リードクロック信号RCLKは、
表示Hに同期するように、表示映像信号のビットレート
に対応して発生され、また、リードセレクト信号RE
は、図3クに示すように表示Vに同期して表示Vの1周
期毎に信号レベルが反転するよう出力される。このリー
ドセレクト信号REは、アドレス監視回路10からの出
力信号MONを入力するエクスクルーシブOR(EX−
OR)ゲート95を介してそのままANDゲート91に
入力されると共に、インバータ92により反転されてA
NDゲート93に入力される。
On the other hand, the display video clock generator 9
Generates and outputs a display H and a display V, which are a horizontal synchronizing signal and a vertical synchronizing signal of a display video signal, and further generates a read clock signal RCLK, a read reset signal RRST, a read select signal RE, and read enable signals RE1 and RE2. Is output. The read clock signal RCLK is
It is generated corresponding to the bit rate of the display video signal so as to synchronize with the display H, and the read select signal RE
Is output such that the signal level is inverted every period of the display V in synchronization with the display V as shown in FIG. This read select signal RE is an exclusive OR (EX-EX-) for inputting the output signal MON from the address monitoring circuit 10.
OR) The signal is directly input to the AND gate 91 via the gate 95, and is inverted by the inverter 92 to output the signal A.
The signal is input to the ND gate 93.

【0015】表示映像クロックジェネレータ9は、内部
に第2クロック発生器94を有し、この発生器が表示映
像信号の有効表示期間を示す信号DISP2を出力す
る。この信号DISP2は、図3コに示すように、リー
ドセレクト信号REの反転後所定期間tの経過後に立ち
上がる信号であって、この信号がANDゲート91,9
3に入力される。従って、信号MONがLレベルである
ときは、信号REがEX−ORゲート95をそのまま通
過して信号MREとなり、ANDゲート91,93から
は、図3サ,シに示すように、信号DISP2と同一期
間、リードセレクト信号REの信号レベルに応じて交互
にHレベルを出力するリードイネーブル信号RE1,R
E2が出力される。また、リードリセット信号RRST
も、DISP2の立ち上がりに同期して図3ケに示すよ
うに出力され、このため、信号RE1,RE2,RRS
Tは、いずれもリードセレクト信号REの反転後、所定
期間tだけ経過して出力される。
The display video clock generator 9 has a second clock generator 94 therein, and this generator outputs a signal DISP2 indicating an effective display period of the display video signal. As shown in FIG. 3, this signal DISP2 rises after a predetermined period t has elapsed after the inversion of the read select signal RE.
3 is input. Therefore, when the signal MON is at the L level, the signal RE passes directly through the EX-OR gate 95 and becomes the signal MRE. From the AND gates 91 and 93, as shown in FIGS. During the same period, read enable signals RE1 and R alternately outputting an H level according to the signal level of read select signal RE
E2 is output. Also, the read reset signal RRST
Are output in synchronization with the rise of DISP2 as shown in FIG.
T is output after a predetermined period t has elapsed after inversion of the read select signal RE.

【0016】フィールドメモリ1,2内のリードアドレ
スカウンタ5,6は、リードリセット信号RRSTによ
ってリセットされ、信号RE1,RE2がHレベルの期
間ライトクロックRCLKをカウントすることにより読
み出しアドレスをインクリメントするものであり、従っ
て、フィールドメモリ1,2からは、下位アドレスから
上位アドレスに向かって順に読み出しが行われ、また、
リードイネーブル信号RE1,RE2によってフィール
ド単位に交互に読み出しが行われる。
The read address counters 5 and 6 in the field memories 1 and 2 are reset by the read reset signal RRST, and increment the read address by counting the write clock RCLK while the signals RE1 and RE2 are at the H level. Therefore, reading from the field memories 1 and 2 is performed in order from the lower address to the upper address, and
Reading is performed alternately in field units by the read enable signals RE1 and RE2.

【0017】ところで、アドレス監視回路10が2つの
フィールドメモリ1,2のいずれかのメモリ上において
アドレスの追い越しが発生すると予測した場合には、信
号MONがHレベルになる。そして、この信号MONが
Hレベルになると、EX−ORゲート95は信号REを
反転するので、信号RE1とRE2の信号レベルが逆転
し、これによって、2つのフィールドメモリ1,2のう
ち、読み出しを行ったフィールドメモリが連続して再度
読み出される。つまり、読み出しメモリが変更されるこ
とによって、同一フィールドメモリ上でのアドレス追い
越しが回避され、画質の劣化が防止される。
When the address monitoring circuit 10 predicts that an address overtaking will occur in one of the two field memories 1 and 2, the signal MON goes high. When the signal MON goes high, the EX-OR gate 95 inverts the signal RE, so that the signal levels of the signals RE1 and RE2 are inverted. The performed field memory is continuously read again. That is, by changing the read memory, address overtaking on the same field memory is avoided, and deterioration of image quality is prevented.

【0018】次に、アドレス監視回路10について、図
1を参照しながら説明する。図1に示すように、アドレ
ス監視回路10は、第1アドレス監視回路11と第2ア
ドレス監視回路12と、モード切換信号MODEに応じ
て両監視回路の出力MON1,MON2を切り換える切
換回路13から構成されている。このモード切換信号M
ODEは、マイコン等の外部から入力される信号であ
り、入力映像信号源として何を用いるか、もしくは、出
力映像機器としてによりどんな種類のものを用いるかに
より決定される信号であり、入力映像信号と表示映像信
号の同期信号周波数が近いときLレベルが出力され、近
くないときHレベルが出力される。そして、切換回路1
3では、信号MODEがLレベルであるとき第1アドレ
ス監視回路11の出力MON1を信号MONとして出力
し、Hレベルであるとき第2アドレス監視回路12の出
力MON2を信号MONとして出力する。
Next, the address monitoring circuit 10 will be described with reference to FIG. As shown in FIG. 1, the address monitoring circuit 10 includes a first address monitoring circuit 11, a second address monitoring circuit 12, and a switching circuit 13 that switches the outputs MON1 and MON2 of both monitoring circuits according to a mode switching signal MODE. Have been. This mode switching signal M
ODE is a signal input from the outside of a microcomputer or the like, and is a signal determined by what is used as an input video signal source or what kind is used as an output video device. When the synchronizing signal frequency of the display video signal is close, the L level is output. And the switching circuit 1
In 3, the output MON1 of the first address monitoring circuit 11 is output as the signal MON when the signal MODE is at the L level, and the output MON2 of the second address monitoring circuit 12 is output as the signal MON when the signal MODE is at the H level.

【0019】そこで、まず、第1アドレス監視回路11
の具体構成について説明する。図1に示すように、この
回路11は、極めて簡単な構成であって、リードセレク
ト信号REとリードリセット信号RRSTを入力するA
NDゲート101と、このANDゲート101の出力F
RSTをクロック端子に入力し、ライトイネーブル信号
WEをデータ端子に入力するDフリップフロップ102
よりなる1ビットレジスタで構成されている。ANDゲ
ート101は、図3スに示すように、信号WEが必ずH
レベルとなるフィールドのリードリセット信号RRST
を抽出するためのゲートであり、このゲート出力FRS
Tで信号WEをレジスタ102に取り込むことによって
信号WEとREの一致を検出しており、信号MON1と
して一致しているときHレベルを出力し、不一致のとき
Lレベルを出力する。
Therefore, first, the first address monitoring circuit 11
Will be described. As shown in FIG. 1, the circuit 11 has a very simple configuration, and receives a read select signal RE and a read reset signal RRST.
An ND gate 101 and an output F of the AND gate 101
D flip-flop 102 that inputs RST to a clock terminal and inputs a write enable signal WE to a data terminal
1-bit register. As shown in FIG. 3, the AND gate 101 always outputs the signal WE at H level.
Level read reset signal RRST
From the gate output FRS.
The coincidence between the signals WE and RE is detected by taking in the signal WE into the register 102 at T, and the H level is output when the signals MON1 match and the L level is output when they do not match.

【0020】そこで、図3に示すように、入力Vと表示
Vの周波数が近く、且つ、位相差が比較的少ないとき
は、信号WEとREの周波数の差及び位相差も少なくな
る。フィールドメモリ1,2の選択は、信号WEとRE
に基づいて行われているので、位相差が少ないというこ
とは、書き込みと読み出しがほとんど同一のフィールド
メモリに対して行われることを意味し、このために同一
フィールドメモリ上で書き込みアドレスと読み出しアド
レスの一方が他方を追い越す可能性がある。この場合、
アドレス監視回路10では、図3スに示すゲート出力F
RSTの立ち上がりでHレベルのWEがレジスタ102
に取り込まれるので、信号MON1がHレベルとなり、
アドレス追い越しが発生することを予測する。このた
め、信号REが反転され、図3ソに示すようにEX−O
Rゲートの出力信号MREが反転する。これによりアド
レス追い越しが回避される。
Therefore, as shown in FIG. 3, when the frequencies of the input V and the display V are close and the phase difference is relatively small, the difference between the frequencies of the signals WE and RE and the phase difference are also small. Selection of the field memories 1 and 2 is performed by the signals WE and RE.
The fact that the phase difference is small means that writing and reading are performed on almost the same field memory. Therefore, the writing address and the reading address on the same field memory are different from each other. One may overtake the other. in this case,
In the address monitoring circuit 10, the gate output F shown in FIG.
At the rising edge of RST, the H level WE is
The signal MON1 becomes H level,
Predict that address overtaking will occur. Therefore, the signal RE is inverted and EX-O is output as shown in FIG.
The output signal MRE of the R gate is inverted. This avoids address overtaking.

【0021】一方、入力Vと表示Vの周波数が近くて
も、図4に示すように、その位相差が大きい場合は、信
号WEとREの位相差も大きくなるので、書き込みと読
み出しが異なるフィールドメモリに対して行われること
となり、従って、同一フィールドメモリ上で書き込みア
ドレスと読み出しアドレスの一方が他方を追い越すこと
はない。この場合、アドレス監視回路10では、ゲート
出力FRSTの立ち上がりでLレベルのWEがレジスタ
102に取り込まれるので、信号MON1がLレベルと
なり、アドレス追い越しは発生しないと予測する。よっ
て、信号REによる読み出しメモリの変更は起こらな
い。
On the other hand, even if the frequency of the input V is close to the frequency of the display V, as shown in FIG. 4, when the phase difference is large, the phase difference between the signals WE and RE is also large. This is performed on the memory, so that one of the write address and the read address does not overtake the other on the same field memory. In this case, the address monitoring circuit 10 captures the L level WE at the rising edge of the gate output FRST into the register 102, so that the signal MON1 becomes L level and predicts that no address overtaking will occur. Therefore, the read memory is not changed by the signal RE.

【0022】ところで、図3における状態から位相差が
徐々に広がり、図5に示すような状態になったとする。
この状態では、アドレス監視回路10において、ゲート
出力FRSTが立ち上がったとき、Dフリップフロップ
102は信号WEとしてLレベルに落ちる直前のHレベ
ルを取り込むこととなる。このため、信号MON1がH
レベルになり、これに応じて信号REが反転されて、信
号MREは信号WEと同様Lレベルになってしまい、書
き込みと読み出しは同一のフィールドメモリ2に対して
行われることとなる。
By the way, it is assumed that the phase difference gradually widens from the state shown in FIG. 3 and the state becomes as shown in FIG.
In this state, when the gate output FRST rises in the address monitoring circuit 10, the D flip-flop 102 captures the H level immediately before the signal WE drops to the L level. Therefore, the signal MON1 becomes H
Level, the signal RE is inverted accordingly, the signal MRE becomes L level similarly to the signal WE, and writing and reading are performed on the same field memory 2.

【0023】しかしながら、フィールドメモリ2に対し
実際に読み出しが開始されるのは、信号RRST及びR
E2がHレベルに立ち上がるときであり、このタイミン
グは信号WEがLレベルに反転する前である。これに対
し、フィールドメモリ2に対する書き込みは、信号WE
2及びWRSTが立ち上がるとき、即ち、信号WEが反
転後所定期間tだけ経過した後に開始されるので、読み
出しと書き込みには、少なくともtの時間差が生じる。
However, reading from the field memory 2 is actually started only when the signals RRST and RRST are output.
This is when E2 rises to the H level, and this timing is before the signal WE is inverted to the L level. On the other hand, writing to the field memory 2 is performed by the signal WE.
2 and WRST rise, that is, the signal WE is started after a predetermined period t has elapsed after the inversion, so that there is at least a time difference of t between reading and writing.

【0024】ここでは、入力Vと表示Vの周波数が近い
場合を考えているので、1フレーム以内に両信号の周期
の差がt以上縮まることはなく、従って、少なくともt
の時間差があれば、同一フィールドメモリであっても書
き込みと読み出しでアドレスの追い越しは発生しない。
よって、この場合、信号MON1がHレベルになっても
問題はない。
Here, since it is assumed that the frequency of the input V is close to the frequency of the display V, the difference between the periods of the two signals does not become smaller than t within one frame.
If there is a time difference of, no address overtaking occurs between writing and reading even in the same field memory.
Therefore, in this case, there is no problem even if the signal MON1 goes high.

【0025】次に、図4の状態から位相差が徐々に狭く
なり、図6に示すような状態になったとする。この状態
では、アドレス監視回路10において、ゲート出力FR
STが立ち上がったとき、Dフリップフロップ102
は、信号WEとしてHレベルに立ち上がる直前のLレベ
ルを取り込むこととなる。このため、信号MON1がL
レベルとなり、信号REは反転せず信号MREは信号W
Eと同様Hレベルになってしまい、書き込みと読み出し
は同一のフィールドメモリ1に対して行われることとな
る。
Next, it is assumed that the phase difference gradually narrows from the state shown in FIG. 4 to a state shown in FIG. In this state, in the address monitoring circuit 10, the gate output FR
When ST rises, the D flip-flop 102
Captures the L level immediately before rising to the H level as the signal WE. Therefore, the signal MON1 becomes L
Level, the signal RE is not inverted and the signal MRE is the signal W
As in the case of E, the level becomes H level, and writing and reading are performed on the same field memory 1.

【0026】しかしながら、フィールドメモリ1に対し
実際に読み出しが開始されるのは、信号RRST及びR
E1がHレベルに立ち上がるときであり、このタイミン
グは信号WEがHレベルに反転する前である。これに対
し、フィールドメモリ1に対する書き込みは、信号WE
1及びWRSTが立ち上がるとき、即ち、信号WEが反
転後所定期間tだけ経過した後に開始されるので、読み
出しと書き込みには、少なくともtの時間差が生じる。
そして、入力Vと表示Vの周波数が近ければ、1フレー
ム以内に両信号の周期の差がt以上縮まることはないの
で、同一フィールドメモリであっても書き込みと読み出
しでアドレスの追い越しは発生しない。よって、この場
合も信号MON1がLレベルになっても問題はない。
However, reading from the field memory 1 is actually started only when the signals RRST and RRST are output.
This is when E1 rises to the H level, and before the signal WE is inverted to the H level. On the other hand, writing to the field memory 1 is performed by the signal WE.
1 and WRST rise, that is, the signal WE is started after a predetermined period t has elapsed after the inversion, so that there is at least a time difference of t between reading and writing.
If the frequency of the input V is close to the frequency of the display V, the difference between the periods of the two signals will not be reduced by t or more within one frame. Therefore, even in the same field memory, no overtaking of the address occurs during writing and reading. Therefore, in this case, there is no problem even if the signal MON1 goes to L level.

【0027】以上説明した第1アドレス監視回路11で
は、入力映像信号と表示映像信号の同期信号周波数が近
い場合には効果的に働くが、1フレームで位相差がt
(約20H)以上広がるほど両信号の周波数差が大きい
ときには正しく予測することができず、このため、図9
に示す第2アドレス監視回路12を設けている。第2ア
ドレス監視回路12は、入力Vによりリセットされ表示
Hをカウントするカウンタ121と、カウンタ121の
内容を表示Vの立ち下がり時に取り込むレジスタ122
と、このレジスタ122の内容を表示Vの立ち下がり時
に取り込むレジスタ123と、カウンタ122の内容を
入力Vの立ち下がり時に取り込むレジスタ124と、3
つのレジスタ122,123,124の内容A,B,L
を取り込み演算を行う演算回路125より成る。
The first address monitoring circuit 11 described above works effectively when the synchronizing signal frequencies of the input video signal and the display video signal are close to each other, but the phase difference becomes t in one frame.
If the frequency difference between the two signals is larger as the signal spreads (about 20H) or more, it cannot be predicted correctly.
The second address monitoring circuit 12 shown in FIG. The second address monitoring circuit 12 includes a counter 121 that is reset by the input V and counts the display H, and a register 122 that captures the contents of the counter 121 when the display V falls.
A register 123 that takes in the contents of the register 122 when the display V falls, a register 124 that takes in the contents of the counter 122 when the input V falls,
A, B, L of two registers 122, 123, 124
And an arithmetic circuit 125 for performing an arithmetic operation.

【0028】図8は、入力Vと表示Vの関係を示すタイ
ミングチャートであり、上述したカウンタ121は入力
Vの立ち下がりから表示Vの立ち下がりまでの位相差
(水平走査線数)Aをカウントし、この値Aがレジスタ
123へ順次転送される。このときレジスタ122には
次の位相差Bが得られる。カウンタ121は最終的には
次の入力Vが入力されるまでカウントを続けるので、レ
ジスタ124には入力Vの1垂直走査期間の水平走査線
数Lが得られる。
FIG. 8 is a timing chart showing the relationship between the input V and the display V. The counter 121 counts the phase difference (the number of horizontal scanning lines) A from the fall of the input V to the fall of the display V. The value A is sequentially transferred to the register 123. At this time, the following phase difference B is obtained in the register 122. Since the counter 121 finally counts until the next input V is input, the register 124 obtains the number L of horizontal scanning lines in one vertical scanning period of the input V.

【0029】次に、演算回路125の演算内容を図10
のフローチャートを参照して説明する。ここでは、図1
1,12に入力Vと表示Vの一例を示し、これらの例示
に基づき演算内容を説明する。図11は表示Vの方が入
力Vより周波数が低い場合を示し、図12は表示Vの方
が入力Vより周波数が高い場合を示す。
Next, the operation contents of the operation circuit 125 are shown in FIG.
This will be described with reference to the flowchart of FIG. Here, FIG.
Examples of the input V and the display V are shown in FIGS. FIG. 11 shows a case where the display V has a lower frequency than the input V, and FIG. 12 shows a case where the display V has a higher frequency than the input V.

【0030】そこで、演算回路125は、まず、A,
B,Lを取り込んで、A−B<0の判定を行う(S1
2)。この判定は、入力Vに対する表示Vの遅れが拡大
する傾向にあるか否かを判定する。この判定でYであれ
ば、図11に示すように表示Vの方が入力Vより遅く、
次の表示Vのタイミングでは位相差は|A−B|だけ更
に拡大する。つまり、この|A−B|が位相差の経時的
変化量を示し、次に、この変化量を、|L−B|と比較
する(S13)。そして、この比較においてYであれ
ば、次の表示Vの発生までに入力Vと表示Vの関係が入
れ替わる。このため、同一メモリに書き込みと読み出し
が実行された場合アドレスの追い越しが発生する。
Therefore, the arithmetic circuit 125 first sets A,
B and L are fetched and a determination of AB <0 is made (S1).
2). In this determination, it is determined whether or not the delay of the display V with respect to the input V tends to increase. If the determination is Y, the display V is slower than the input V as shown in FIG.
At the timing of the next display V, the phase difference is further enlarged by | AB |. That is, | AB | indicates the amount of change in the phase difference with time, and then the amount of change is compared with | LB | (S13). If the result of this comparison is Y, the relationship between the input V and the display V is switched by the time the next display V occurs. Therefore, when writing and reading are performed on the same memory, an address overtaking occurs.

【0031】そこで、信号RRSTが立ち上がって読み
出しが開始される時点で、信号WEと信号MREを比較
することにより、書き込みメモリ(Wメモリ)と読み出
しメモり(Rメモリ)が一致するか否かを判定する(S
14)。これは、図11において、斜線で示した部分の
先頭で、書き込みメモリがM1、読み出しメモリがM2
であることに該当する。この場合、読み出しメモりM2
の読み出し中に書き込みメモりがM2になり、アドレス
の追い越しが発生する。つまり、一致していなければ、
次の表示までに追い越しが発生するため、信号MON2
に1を加算し、そのときの値が「0」であれば「1」
に、「1」であれば「0」にセットする(S15)。
Therefore, at the time when the signal RRST rises and the reading is started, the signal WE and the signal MRE are compared to determine whether the write memory (W memory) matches the read memory (R memory). Judgment (S
14). This is because the write memory is M1 and the read memory is M2 at the beginning of the hatched portion in FIG.
It corresponds to being. In this case, the read memory M2
During the reading of the data, the write memory becomes M2, and an address overtaking occurs. That is, if they do not match,
Since overtaking occurs before the next display, the signal MON2
And if the value at that time is “0”, “1”
If it is "1", it is set to "0" (S15).

【0032】一方、S12において、A−Bが負でなか
った場合には、図12に示すように、表示Vの方が入力
Vより早く、次の表示Vのタイミングでは、その位相差
はA−Bだけ更に小さくなる。そこで、この位相差の経
時変化量A−BをがBより小さいか判定する(S1
6)。そして、S16においてYであれば、次のフィー
ルドの読み出し中に入力Vと表示Vの関係が入れ替わ
る。このため、信号RRSTの立ち上がり時に信号WE
と信号MREを比較することにより、書き込みメモリ
(Wメモリ)と読み出しメモリ(Rメモリ)とが一致し
ているか否かを判定する(S17)。そして、一致して
いれば、次の表示Vまでに読み出しアドレスが書き込み
アドレスを追い越す。このため、S15に移り信号MO
N2の値を変更する。これは、図12において、斜線で
示した部分の先頭で、書き込みメモリがM2、読み出し
メモリがM2であることに該当する。この場合、書き込
みメモりM2の書き込み中に読み出しアドレスが書き込
みアドレスを追い越す。
On the other hand, if AB is not negative in S12, as shown in FIG. 12, the display V is earlier than the input V, and the phase difference is A at the next display V timing. −B is smaller. Therefore, it is determined whether the temporal change amount AB of the phase difference is smaller than B (S1).
6). If Y in S16, the relationship between the input V and the display V is switched during the reading of the next field. Therefore, at the time of the rise of the signal RRST, the signal WE
And the signal MRE to determine whether the write memory (W memory) matches the read memory (R memory) (S17). If they match, the read address overtakes the write address by the next display V. Therefore, the process proceeds to S15 where the signal MO
Change the value of N2. This corresponds to that the write memory is M2 and the read memory is M2 at the head of the hatched portion in FIG. In this case, the read address overtakes the write address during the writing of the write memory M2.

【0033】また、S14においてY、S17において
Nであれば、問題となる同一メモリにおけるアドレス追
い越しは生じないため、信号MON2を変更する必要は
ない。S15においてMON2に「1」を加算した場合
及びS14においてY、S17においてNであった場合
には、3フィールドを経過するまで待ち(S18)、S
11に戻る。そして、次のA,Bを取り込み、次のフィ
ールドについての処理を行う。尚、S13及びS16に
おいて、Nの場合も次の表示Vのタイミングまでに書き
込みアドレスが読み出しアドレスを追い越すことはない
ため、次の表示Vのタイミングで新しいA,Bを取り込
んで処理を繰り返す。
If Y in S14 and N in S17, there is no need to change the signal MON2 because address overtaking does not occur in the same memory, which is a problem. If "1" is added to MON2 in S15, and if "Y" in S14 and "N" in S17, wait until three fields have elapsed (S18).
Return to 11. Then, the next A and B are fetched, and the processing for the next field is performed. In S13 and S16, even in the case of N, the write address does not overtake the read address by the timing of the next display V, so that new A and B are fetched at the timing of the next display V, and the processing is repeated.

【0034】ここで、アドレス追い越しが発生すること
を検出した場合に、S18で3フィールド待つのは、追
い越しが起こった直後における演算は正しい値が出ず、
また3フィールド以内で追い越しが起こるような同期の
タイミングがかけ離れた映像信号同士の変換は実際的で
ないからである。以上のようにして、信号MON2が
「1」になったときは、第1アドレス監視回路において
説明したと同様、EX−ORゲート95により信号RE
が反転されてMREとなり、これによって読み出しメモ
リの変更が行われる。
Here, when it is detected that an address overtaking has occurred, waiting for three fields in S18 is because the operation immediately after the overtaking does not produce a correct value.
Also, it is not practical to convert video signals whose synchronization timing is far apart such that overtaking occurs within three fields. As described above, when the signal MON2 becomes "1", the signal RE is output by the EX-OR gate 95 as described in the first address monitoring circuit.
Is inverted to become an MRE, whereby the read memory is changed.

【0035】図11においては、メモリM1からfn−
3を読み出した後、次に、メモリM2からfn−2を読
み出していると、その最中にメモりM2へのfnの書き
込みアドレスが読み出しアドレスを追い越してしまう。
従って、MON2を「1」にすることによって、読み出
しメモリをM2からM1に変更し、メモリM1を2度連
続して読み出しfn−2のフィールドを省略する。その
後は、次の追い越しが発生するまでメモリM2,M1か
ら交互に読み出しを行う。
In FIG. 11, the memories M1 to fn-
Next, if fn-2 is read from the memory M2 after reading 3, the write address of fn to the memory M2 will overtake the read address during that time.
Therefore, by setting MON2 to “1”, the read memory is changed from M2 to M1, and the memory M1 is read twice consecutively to omit the field of fn−2. Thereafter, reading is performed alternately from the memories M2 and M1 until the next overtaking occurs.

【0036】図12においては、MON2を「1」にす
ることによって、メモリM1からのfn−1の読み出し
の後に、続けてメモりM1からfn−1の読み出しを行
う。これによって、メモリM2のfnの書き込み中に読
み出しアドレスが書き込みアドレスを追い越し、fn−
2の読み出しになってしまうことを防止できる。このよ
うに、第2アドレス監視回路12は、入力映像信号と表
示映像信号の同期信号周波数の差がある程度大きいとき
は、確実にアドレス追い越しを予測できる。しかしなが
ら、第2アドレス監視回路12内のカウンタ121は、
表示Hをカウントするので、入力映像信号と表示映像信
号の同期信号周波数が近くなり、位相差が表示映像信号
の水平走査期間1H以下になるとその位相差を検出する
ことができなくなる。
In FIG. 12, by setting MON2 to "1", reading of fn-1 from the memory M1 is followed by reading of fn-1 from the memory M1. As a result, the read address overtakes the write address during the writing of fn in the memory M2, and fn-
2 can be prevented from being read. As described above, the second address monitoring circuit 12 can reliably predict address overtaking when the difference between the synchronization signal frequencies of the input video signal and the display video signal is large to some extent. However, the counter 121 in the second address monitoring circuit 12
Since the display H is counted, the synchronizing signal frequency between the input video signal and the display video signal becomes close and the phase difference cannot be detected if the phase difference becomes 1H or less during the horizontal scanning period of the display video signal.

【0037】そこで、この実施形態では、外部からのモ
ード信号MODEにより第1と第2のアドレス監視回路
を切り換えることにより、広範な周波数範囲の入力映像
信号及び表示映像信号に対応できるようにしている。こ
こで、上述したように、|A−B|は位相差の経時的変
化量を示しているので、この値が小さいということは入
力映像信号と表示映像信号の同期信号周波数が近いこと
を意味する。よって、図9の点線で示すように、A,B
を入力する第2演算回路126を設け、ここで、|A−
B|<C(C:所定値)を判定し、この判定でYのとき
Hレベルとなり、NのときLレベルとなる信号MDを出
力するようにし、この信号をモード切換信号MODEと
して用いれば、自動的に切換を行うことができるように
なる。尚、Cとしては3H,4H等の小さな値を用いれ
ばよい。
Therefore, in this embodiment, the first and second address monitoring circuits are switched by an external mode signal MODE so that input video signals and display video signals in a wide frequency range can be handled. . Here, as described above, | AB | indicates the amount of change in the phase difference with time, so that a small value means that the synchronizing signal frequencies of the input video signal and the display video signal are close to each other. I do. Therefore, as shown by the dotted lines in FIG.
Is provided, where | A−
B | <C (C: predetermined value) is determined, and a signal MD which becomes H level when Y is obtained and becomes L level when N is output, and this signal is used as a mode switching signal MODE, Switching can be performed automatically. Note that C may be a small value such as 3H or 4H.

【0038】ところで、上述の第1アドレス監視回路1
1においては、1フレーム毎にアドレスの追い越しを予
測するようにしたが、1フィールド毎に行うようにして
も良い。例えば、図7に示すように、信号REとWEを
入力するEX−NORゲート103と、このNORゲー
ト出力をデータ端子Dに入力し、クロック端子CLに信
号RRSTを入力するDフリップフロップ104で、第
1アドレス監視回路11を構成すればよい。
The first address monitoring circuit 1 described above
In 1, the overtaking of the address is predicted for each frame, but may be performed for each field. For example, as shown in FIG. 7, an EX-NOR gate 103 that inputs the signals RE and WE, and a D flip-flop 104 that inputs the output of the NOR gate to the data terminal D and inputs the signal RRST to the clock terminal CL, The first address monitoring circuit 11 may be configured.

【0039】また、第1アドレス監視回路11では、信
号RRSTに基づき読み出し動作の開始時点でアドレス
追い越しを予測するようにしたが、図1及び図7におい
て、信号RRST,RE,WEの代わりに、各々、信号
WRST,WE,REを用いることにより、同一構成で
書き込み動作の開始時点でアドレス追い越しを予測する
こともできる。第2アドレス監視回路12においても、
表示Vを基準として信号MON2を生成する代わりに、
入力Vを基準にして信号MON2を生成して書き込み動
作の開始時点でアドレス追い越しを予測することもでき
る。そして、この場合、図2に示した信号MONを入力
するEX−ORゲート95を取り除き、信号MREの代
わりに信号REを用いると共に、このEX−ORゲート
を書き込み側に設けて信号MONとWEを入力し、その
出力及びその反転出力をANDゲート81,83に入力
する。このようにすれば、アドレス追い越しが予測され
たときに、同一フィールドメモリに対して読み出しを連
続して行う代わりに、同一メモリに対して書き込みを連
続して行うことができ、この構成によっても、アドレス
の追い越しを回避することができる。
The first address monitoring circuit 11 predicts address overtaking at the start of the read operation based on the signal RRST. However, in FIGS. 1 and 7, instead of the signals RRST, RE and WE, By using the signals WRST, WE, and RE, respectively, it is possible to predict address overtaking at the start of the write operation with the same configuration. Also in the second address monitoring circuit 12,
Instead of generating the signal MON2 based on the display V,
It is also possible to generate the signal MON2 based on the input V and predict the address overtaking at the start of the write operation. In this case, the EX-OR gate 95 for inputting the signal MON shown in FIG. 2 is removed, the signal RE is used in place of the signal MRE, and the EX-OR gate is provided on the write side so that the signals MON and WE are output. The output and its inverted output are input to AND gates 81 and 83. With this configuration, when an address overtaking is predicted, instead of continuously reading data from the same field memory, writing data can be continuously written to the same memory. Address overtaking can be avoided.

【0040】尚、本発明は、フィールドメモリだけでは
なくフレームメモリを用いるシステムにも当然適用可能
である。
The present invention is naturally applicable to a system using not only a field memory but also a frame memory.

【0041】[0041]

【発明の効果】本発明によれば、入力映像信号と表示映
像信号の周波数の差が広い範囲にわたっても、簡単な回
路構成によって確実に、バッファメモリに対する書き込
みと読み出しのアドレス追い越しを予測できるようにな
る。特に、入力クロックに従って内部で書き込み及び読
み出しのアドレスを決定するバッファメモリを採用する
場合には最適となる。
According to the present invention, even if the frequency difference between the input video signal and the display video signal is wide, a simple circuit configuration can be used to reliably predict the overtaking of the write and read addresses for the buffer memory. Become. In particular, this is optimal when a buffer memory that internally determines write and read addresses according to an input clock is used.

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

【図1】第1アドレス監視回路を示す回路図である。FIG. 1 is a circuit diagram showing a first address monitoring circuit.

【図2】映像信号処理回路を示すブロック図である。FIG. 2 is a block diagram illustrating a video signal processing circuit.

【図3】アドレス追い越しが発生することを予測した場
合のタイミングチャートである。
FIG. 3 is a timing chart when it is predicted that an address overtaking will occur.

【図4】アドレス追い越しが発生しないことを予測した
場合のタイミングチャートである。
FIG. 4 is a timing chart when it is predicted that address overtaking will not occur.

【図5】アドレス追い越しが発生することを予測した場
合の他のタイミングチャートである。
FIG. 5 is another timing chart when it is predicted that an address overtaking will occur.

【図6】アドレス追い越しが発生しないことを予測した
場合の他のタイミングチャートである。
FIG. 6 is another timing chart when it is predicted that address overtaking will not occur.

【図7】第1アドレス監視回路の他の例を示す回路図で
ある。
FIG. 7 is a circuit diagram showing another example of the first address monitoring circuit.

【図8】入力映像信号と表示映像信号の位相差を説明す
る説明図である。
FIG. 8 is an explanatory diagram illustrating a phase difference between an input video signal and a display video signal.

【図9】第2アドレス監視回路を示す回路図である。FIG. 9 is a circuit diagram showing a second address monitoring circuit.

【図10】第2アドレス監視回路内の演算回路の処理内
容を示すフローチャートである。
FIG. 10 is a flowchart showing processing contents of an arithmetic circuit in the second address monitoring circuit.

【図11】読み出しメモリの変更を示す説明図である。FIG. 11 is an explanatory diagram showing a change of a read memory.

【図12】読み出しメモリの他の変更例を示す説明図で
ある。
FIG. 12 is an explanatory diagram showing another modification of the read memory.

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

1,2 フィールドメモリ 3,4 ライトアドレスカウンタ 5,6 リードアドレスカウンタ 7 タイミング制御回路 8 入力映像クロックジェネレータ 9 表示映像クロックジェネレータ 10 アドレス監視回路 11 第1アドレス監視回路 12 第2アドレス監視回路 13 切換回路 81,83,91,93,101 ANDゲート 95,103 EX−ORゲート 102,104 Dフリップフロップ 121 カウンタ 122,123,124 レジスタ 125 演算回路 126 第2演算回路 1, 2 field memory 3, 4 write address counter 5, 6 read address counter 7 timing control circuit 8 input video clock generator 9 display video clock generator 10 address monitoring circuit 11 first address monitoring circuit 12 second address monitoring circuit 13 switching circuit 81, 83, 91, 93, 101 AND gate 95, 103 EX-OR gate 102, 104 D flip-flop 121 counter 122, 123, 124 register 125 arithmetic circuit 126 second arithmetic circuit

───────────────────────────────────────────────────── フロントページの続き (72)発明者 太田 晴也 大阪府守口市京阪本通2丁目5番5号 三洋電機株式会社内 (56)参考文献 特開 昭64−46375(JP,A) (58)調査した分野(Int.Cl.7,DB名) H04N 7/01 ──────────────────────────────────────────────────続 き Continued from the front page (72) Inventor Haruya Ota 2-5-5-Keihanhondori, Moriguchi-shi, Osaka Sanyo Electric Co., Ltd. (56) References JP-A-64-46375 (JP, A) ( 58) Field surveyed (Int.Cl. 7 , DB name) H04N 7/01

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 第1及び第2のバッファメモリに入力映
像信号を交互に書き込み、書き込まれた映像信号を交互
に読み出して表示映像信号を得る映像信号処理回路にお
いて、前記第1及び第2のバッファメモリから読み出し
動作を開始するとき、書き込みを行っているバッファメ
モリと読み出しを行おうとするバッファメモリが一致す
るか否かを判定し、一致の場合同一のバッファメモリに
対して書き込みと読み出しが行われると判定し、読み出
しと書き込みにおけるアドレス追い越しの発生を予測す
る第1のアドレス監視回路と、前記入力映像信号と表示
映像信号の垂直信号の発生タイミングを検出し、さらに
それらの発生タイミングの差の経時変化量を検出する検
出回路、検出された経時変化量と所定値とを比較するこ
とにより、次のフィールドタイミングで前記入力映像信
号と表示映像信号との関係が入れ替わるか否かを検出す
比較回路、比較回路によって次のフィールドタイミン
グで前記入力映像信号と表示映像信号との関係が入れ替
わると検出された場合、読み出し動作を開始するとき、
書き込みを行っているバッファメモリと読み出しを行お
うとするバッファメモリが一致するか否かを判定する判
定回路、及び、判定回路の結果に応じて読み出しと書き
込みにおけるアドレス追い越しの発生を予測する第2の
アドレス監視回路と、前記入力映像信号と表示映像信号
との周波数差の大小に基づく切換信号に応じて前記第1
と第2のアドレス監視回路を切り換える切換回路とを有
することを特徴とする映像信号処理回路。
An image signal processing circuit for alternately writing an input image signal to first and second buffer memories and alternately reading the written image signal to obtain a display image signal, wherein the first and second buffer memories are provided. when starting the read operation from the buffer memory, and determines whether the buffer memory is identical to attempting to buffer memory and reading being written, in the case of coincidence in the same buffer memory
A first address monitoring circuit for predicting the occurrence of an address overtaking in reading and writing, and detecting a generation timing of a vertical signal of the input video signal and the display video signal ;
A detection circuit for detecting a temporal change in the difference between the occurrence timings, and comparing the detected temporal change with a predetermined value;
The input video signal at the next field timing.
Signal and the display video signal are switched.
The next field timing depends on the comparison circuit
Switch the relationship between the input video signal and the display video signal.
When the read operation is started,
Determination circuit for determining whether the buffer memory is identical to attempting to buffer memory and reading is writing, and, second to predict the occurrence of address overtaking the read and write according to the result of determine Teikairo Address monitoring circuit, the input video signal and the display video signal
In response to the switching signal based on the magnitude of the frequency difference
And a switching circuit for switching the second address monitoring circuit.
【請求項2】 第1及び第2のバッファメモリに入力映
像信号を交互に書き込み、書き込まれた映像信号を交互
に読み出して表示映像信号を得る映像信号処理回路にお
いて、前記第1及び第2のバッファメモリに書き込み動
作を開始するとき、読み出しを行っているバッファメモ
リと書き込みを行おうとするバッファメモリが一致する
か否かを判定し、一致の場合同一のバッファメモリに対
して書き込みと読み出しが行われると判定し、読み出し
と書き込みにおけるアドレス追い越しの発生を予測する
第1のアドレス監視回路と、前記入力映像信号と表示映
像信号の垂直信号のの発生タイミングを検出し、さらに
それらの発生タイミングの差の経時変化量を検出する検
出回路、検出された経時変化量と所定値とを比較するこ
とにより、次のフィールドタイミングで前記入力映像信
号と表示映像信号 との関係が入れ替わるか否かを検出す
比較回路、比較回路によって次のフィールドタイミン
グで前記入力映像信号と表示映像信号との関係が入れ替
わると検出された場合、書き込み動作を開始するとき、
読み出しを行っているバッファメモリと書き込みを行お
うとするバッファメモリが一致するか否かを判定する判
定回路、及び、判定回路の結果に応じて読み出しと書き
込みにおけるアドレス追い越しの発生を予測する第2の
アドレス監視回路と、前記入力映像信号と表示映像信号
との周波数差の大小に基づく切換信号に応じて前記第1
と第2のアドレス監視回路を切り換える切換回路とを有
することを特徴とする映像信号処理回路。
2. A video signal processing circuit for alternately writing input video signals to first and second buffer memories and alternately reading the written video signals to obtain a display video signal, wherein the first and second buffer memories are provided. When starting a write operation to the buffer memory, it is determined whether or not the buffer memory from which the data is being read matches the buffer memory to which the data is to be written.
A first address monitoring circuit that predicts the occurrence of address overtaking in reading and writing , and a timing of generation of a vertical signal of the input video signal and the display video signal , and further
A detection circuit for detecting a temporal change in the difference between the occurrence timings, and comparing the detected temporal change with a predetermined value;
The input video signal at the next field timing.
Signal and the display video signal are switched.
The next field timing depends on the comparison circuit
Switch the relationship between the input video signal and the display video signal.
When the write operation is started,
Determination circuit for determining whether the buffer memory is identical to attempting to buffer memory and write that performing the read, and, second to predict the occurrence of address overtaking the read and write according to the result of determine Teikairo Address monitoring circuit, the input video signal and the display video signal
In response to the switching signal based on the magnitude of the frequency difference
And a switching circuit for switching the second address monitoring circuit.
【請求項3】 前記経時変化量が所定値より少なくなっ
たことを検出する第2検出回路を更に備え、該検出回路
の検出出力を前記切換信号とし、前記経時変化量が所定
値より少ない場合前記第1アドレス監視回路に、また前
記経時変化量が所定値より多い場合第2アドレス監視回
路に切り換えることを特徴とする請求項1又は2記載の
映像信号処理回路。
A second detection circuit for detecting that the amount of change with time has become smaller than a predetermined value, wherein a detection output of the detection circuit is used as the switching signal, and the amount of change with time is predetermined.
If less than the value, the first address monitoring circuit
If the change over time is greater than a predetermined value, the second address monitoring cycle
3. The video signal processing circuit according to claim 1, wherein the circuit is switched to a road .
JP26710695A 1995-10-16 1995-10-16 Video signal processing circuit Expired - Fee Related JP3276823B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP26710695A JP3276823B2 (en) 1995-10-16 1995-10-16 Video signal processing circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP26710695A JP3276823B2 (en) 1995-10-16 1995-10-16 Video signal processing circuit

Publications (2)

Publication Number Publication Date
JPH09116875A JPH09116875A (en) 1997-05-02
JP3276823B2 true JP3276823B2 (en) 2002-04-22

Family

ID=17440155

Family Applications (1)

Application Number Title Priority Date Filing Date
JP26710695A Expired - Fee Related JP3276823B2 (en) 1995-10-16 1995-10-16 Video signal processing circuit

Country Status (1)

Country Link
JP (1) JP3276823B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4771395B2 (en) * 2002-10-21 2011-09-14 株式会社半導体エネルギー研究所 Display device, driving method thereof, and electronic apparatus
KR100805610B1 (en) * 2006-08-30 2008-02-20 삼성에스디아이 주식회사 Organic light emitting display device and driving method thereof
JP5335273B2 (en) * 2008-04-17 2013-11-06 キヤノン株式会社 Memory control device and memory control method
JP5693677B2 (en) * 2013-08-01 2015-04-01 キヤノン株式会社 Memory control device and memory control method

Also Published As

Publication number Publication date
JPH09116875A (en) 1997-05-02

Similar Documents

Publication Publication Date Title
JPH0997041A (en) Video signal processor
US10412320B1 (en) Method and system for switching display from first video source to second video source
US7202870B2 (en) Display controller provided with dynamic output clock
JP3276822B2 (en) Video signal processing circuit
JP3276823B2 (en) Video signal processing circuit
US8054345B2 (en) Electronic zooming apparatus and digital camera
JP2002099270A (en) Synchronous signal generator circuit, and picture display device and synchronous signal generating method using the same
JP3378710B2 (en) Reduced image writing / reading method and reduced image processing circuit
KR20010007528A (en) Method and apparatus for frame synchronizer
JPH0136146B2 (en)
KR960003397A (en) Address generator for image motion compensation
JPH09116827A (en) Reduction video signal processing circuit
US6266095B1 (en) Apparatus and method for controlling scaler memory of video signal processing system
JPH10260652A (en) Video processing circuit
JP4416599B2 (en) Image output device
JPH05308544A (en) Video signal processor
KR100248037B1 (en) Image histogram generating circuit and method thereof
JP2000098992A (en) Video signal processing circuit
JP2006267661A (en) Memory control device and image signal processing apparatus
JP2004177738A (en) Video signal processing circuit
JP2000287180A (en) Video data processing unit
JPH05276493A (en) Video adaptive scan line interpolating device
JPH05244529A (en) Line arrangement correction device
JP2000358193A (en) Video device with image memory function
JP2006195134A (en) Device and method for processing video signal

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090208

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20090208

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20100208

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20110208

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20110208

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20120208

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20130208

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees