JP2004328094A - Video signal processing apparatus and method - Google Patents
Video signal processing apparatus and method Download PDFInfo
- Publication number
- JP2004328094A JP2004328094A JP2003116595A JP2003116595A JP2004328094A JP 2004328094 A JP2004328094 A JP 2004328094A JP 2003116595 A JP2003116595 A JP 2003116595A JP 2003116595 A JP2003116595 A JP 2003116595A JP 2004328094 A JP2004328094 A JP 2004328094A
- Authority
- JP
- Japan
- Prior art keywords
- image data
- circuit
- input
- clock
- signal
- 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.)
- Withdrawn
Links
Images
Landscapes
- Synchronizing For Television (AREA)
Abstract
【課題】PLLを使用せずに、2つのデジタルの映像信号を同期させる。
【解決手段】位相検出回路38は、非同期FIFO回路31から入力された画像データの開始位置を示す同期信号と非同期FIFO回路35から入力された画像データの開始位置を示す同期信号の位相差を検出し、検出結果を選択回路41に供給する。選択回路41は、位相検出回路38から供給された検出結果に基づいて、非同期FIFO回路31からの画像データと非同期FIFO回路35の画像データの位相を揃えて画像合成回路7に出力できるように、端子a、端子b、または端子cを選択する。
【選択図】 図1Kind Code: A1 Two digital video signals are synchronized without using a PLL.
A phase detection circuit detects a phase difference between a synchronization signal indicating a start position of image data input from an asynchronous FIFO circuit and a synchronization signal indicating a start position of image data input from an asynchronous FIFO circuit. Then, the detection result is supplied to the selection circuit 41. The selection circuit 41 adjusts the phases of the image data from the asynchronous FIFO circuit 31 and the image data from the asynchronous FIFO circuit 35 based on the detection result supplied from the phase detection circuit 38 and outputs the same to the image synthesis circuit 7. Select terminal a, terminal b, or terminal c.
[Selection diagram] Fig. 1
Description
【0001】
【発明の属する技術分野】
本発明は、映像信号処理装置および方法に関し、特に、例えば、映像信号の同期処理を行う場合に用いて好適な映像信号処理装置および方法に関する。
【0002】
【従来の技術】
従来、テレビジョンシステムにおける水平同期回路では、水平同期信号を比較パルスとし、VOC(Voltage Controlled Oscillator:電圧制御発振器)の出力を分周Nで分周したものを基準パルスとしたPLL(Phase Locked Loop:位相同期回路)システムによって、各種タイミングパルスが生成されている。PLLとは、外部から入力された基準信号と、ループ内の発振器(VOC)の出力、もしくは、発振器の出力を分周Nで分周したパルス信号とが、同一の周波数および位相となるように、ループ内の発振器にフィードバック制御をかけて発振周波数を調整する発振回路のことである。
【0003】
このように、テレビジョンシステムに用いられてきたPLLシステムでは、同期信号中のノイズなどを除去することにより、ジッタ除去を行うようにしている(特許文献1参照)。
【0004】
【特許文献1】
特開平10−327333号公報
【0005】
【発明が解決しようとする課題】
しかしながら、現在では、映像信号をアナログ信号として処理せず、離散的な数値として処理する、いわゆるデジタル信号処理が主流となっている。従って、従来のアナログ信号を処理するためのPLLシステムが、デジタルの映像信号の入力を受けた場合、発振器(VOC)の出力はジッタの多いものとなってしまう。
【0006】
ところで、2つのデジタルの映像信号が別々の画像生成回路にて生成され、それらが画像合成回路によって合成されるような場合、画像合成回路では、2つの画像生成回路からそれぞれ出力されるクロックを受け、画像合成に用いるクロックに乗せ換えて処理を行う必要がある。
【0007】
しかしながら、2つの画像生成回路の遅延量は、不明もしくは不定であり、これら2つのクロック間の位相関係に何の制限も与えることができず、2つのデジタルの映像信号を同期させることが困難である課題があった。
【0008】
本発明はこのような状況に鑑みてなされたものであり、PLLを使用せずに、2つのデジタルの映像信号を同期させて合成処理などを行うことができるようにするものである。
【0009】
【課題を解決するための手段】
本発明の映像信号処理装置は、第1のクロック信号に同期して生成された第1の画像データを入力する第1の入力手段と、第1のクロック信号と内部クロック信号の位相差に基づいて、第1の画像データを、第1の画像データの同期信号とともに出力する第1の出力手段と、第2のクロック信号に同期して生成された第2の画像データを入力する第2の入力手段と、第2のクロック信号と内部クロック信号の位相差に基づいて、第2の画像データを、第2の画像データの同期信号とともに出力する第2の出力手段と、第1の画像データの同期信号と第2の画像データの同期信号の位相差を検出する検出手段と、検出手段による検出結果に基づいて、第2の画像データの遅延量を選択する選択手段とを備えることを特徴とする。
【0010】
前記第1の出力手段により出力された第1の画像データを遅延させる遅延手段をさらに設けるようにすることができる。
【0011】
前記選択手段は、遅延手段により遅延された第1の画像データに、第2の画像データを同期させる遅延量を選択するようにすることができる。
【0012】
前記第1および第2のクロック信号、並びに内部クロックは、同じ周波数であるものとすることができる。
【0013】
本発明の映像信号処理方法は、第1のクロック信号に同期して生成された第1の画像データを入力する第1の入力ステップと、第1のクロック信号と内部クロック信号の位相差に基づいて、第1の画像データを、第1の画像データの同期信号とともに出力する第1の出力ステップと、第2のクロック信号に同期して生成された第2の画像データを入力する第2の入力ステップと、第2のクロック信号と内部クロック信号の位相差に基づいて、第2の画像データを、第2の画像データの同期信号とともに出力する第2の出力ステップと、第1の画像データの同期信号と第2の画像データの同期信号の位相差を検出する検出ステップと、検出ステップの処理による検出結果に基づいて、第2の画像データの遅延量を選択する選択ステップとを含むことを特徴とする。
【0014】
本発明においては、第1のクロック信号に同期して生成された第1の画像データが入力され、第1のクロック信号と内部クロックの位相差に基づいて、第1の画像データが、第1の画像データの同期信号とともに出力され、第2のクロック信号に同期して生成された第2の画像データが入力され、第2のクロックと内部クロックの位相差に基づいて、第2の画像データが、第2の画像データの同期信号とともに出力され、第1の画像データの同期信号と第2の画像データの同期信号の位相差が検出され、その検出結果に基づいて、第2の画像データの遅延量が選択される。
【0015】
【発明の実施の形態】
以下に本発明の実施の形態を説明するが、請求項に記載の構成要件と、発明の実施の形態における具体例との対応関係を例示すると、次のようになる。この記載は、請求項に記載されている発明をサポートする具体例が、発明の実施の形態に記載されていることを確認するためのものである。従って、発明の実施の形態中には記載されているが、構成要件に対応するものとして、ここには記載されていない具体例があったとしても、そのことは、その具体例が、その構成要件に対応するものではないことを意味するものではない。逆に、具体例が構成要件に対応するものとしてここに記載されていたとしても、そのことは、その具体例が、その構成要件以外の構成要件には対応しないものであることを意味するものでもない。
【0016】
さらに、この記載は、発明の実施の形態に記載されている具体例に対応する発明が、請求項に全て記載されていることを意味するものではない。換言すれば、この記載は、発明の実施の形態に記載されている具体例に対応する発明であって、この出願の請求項には記載されていない発明の存在、すなわち、将来、分割出願されたり、補正により追加される発明の存在を否定するものではない。
【0017】
請求項1に記載の映像信号処理装置(例えば、図1の映像信号処理回路6)は、第1のクロック信号に同期して生成された第1の画像データを入力する第1の入力手段(例えば、図1の非同期FIFO回路31のデータ入力端子D2)と、第1のクロック信号と内部クロック信号の位相差に基づいて、第1の画像データを、第1の画像データの同期信号とともに出力する第1の出力手段(例えば、図1の非同期FIFO回路31のデータ出力端子Q2と同期信号出力端子Q1)と、第2のクロック信号に同期して生成された第2の画像データを入力する第2の入力手段(例えば、図1の非同期FIFO回路35のデータ入力端子D2)と、第2のクロック信号と内部クロック信号の位相差に基づいて、第2の画像データを、第2の画像データの同期信号とともに出力する第2の出力手段(例えば、図1の非同期FIFO回路35のデータ出力端子Q2と同期信号出力端子Q1)と、第1の画像データの同期信号と第2の画像データの同期信号の位相差を検出する検出手段(例えば、図1の位相検出回路38)と、検出手段による検出結果に基づいて、第2の画像データの遅延量を選択する選択手段(例えば、図1の選択回路41)とを備えることを特徴とする。
【0018】
請求項2に記載の映像信号処理装置は、第1の出力手段により出力された第1の画像データを遅延させる遅延手段(例えば、図1の遅延回路34)をさらに備えることを特徴とする。
【0019】
請求項3に記載の映像信号処理装置の選択手段は、遅延手段により遅延された第1の画像データに、第2の画像データを同期させる遅延量を選択する(例えば、図1の選択回路41の端子a,b,cを選択する)ことを特徴とする。
【0020】
請求項4に記載の映像信号処理装置の第1および第2のクロック信号、並びに内部クロック信号は、同じ周波数である(例えば、図1のクロック発生回路1で発生されるクロック信号と同じ周波数である)ことを特徴とする。
【0021】
請求項5に記載の映像信号処理方法は、第1のクロック信号(例えば、図2B、図3B、または図4Bに示すクロック信号)に同期して生成された第1の画像データ(例えば、図2C、図3C、または図4Cに示す画像データ)を入力する第1の入力ステップと、第1のクロック信号と内部クロック信号(例えば、図2E、図3E、または図4Eに示す内部処理クロック信号)の位相差に基づいて、第1の画像データ(例えば、図2F、図3F、または図4Fに示す画像データ)を、第1の画像データの同期信号(図2G、図3G、または図4Gに示す同期信号)とともに出力する第1の出力ステップと、第2のクロック信号(例えば、図2I、図3I、または図4Iに示すクロック信号)に同期して生成された第2の画像データ(例えば、図2J、図3J、または図4Jに示す画像データ)を入力する第2の入力ステップと、第2のクロック信号と内部クロック信号(例えば、図2L、図3L、または図4Lに示す内部処理クロック信号)の位相差に基づいて、第2の画像データ(例えば、図2M、図3M、または図4Mに示す画像データ)を、第2の画像データの同期信号(図2N、図3N、または図4Nに示す同期信号)とともに出力する第2の出力ステップと、第1の画像データの同期信号と第2の画像データの同期信号の位相差を検出する検出ステップと、検出ステップの処理による検出結果に基づいて、第2の画像データの遅延量を選択する選択ステップとを含むことを特徴とする。
【0022】
以下に、本発明の実施の形態について図面を参照して説明する。
【0023】
図1は、本発明を適用した映像信号処理システムの構成例を示している。同図に示されるように、映像信号処理システムは、クロック発生回路1、画像生成回路2,3、増幅器4、リセット信号出力回路5、映像信号処理回路6、および画像合成回路7などで構成されており、映像信号処理回路6は、非同期FIFO(First In First Out)回路31,35、遅延回路32,36、アンド回路33,37、遅延回路34、位相検出回路38、遅延回路39,40、および選択回路41で構成されている。
【0024】
クロック発生回路1は、高周波数のクロック信号を発生し、それを増幅器4、画像生成回路2、および画像生成回路3にそれぞれ出力する。
【0025】
画像生成回路2は、クロック発生回路1から入力されたクロック信号を増幅器11で増幅し、非同期FIFO回路31に出力する。画像生成回路2はまた、クロック発生回路1から入力されたクロック信号に基づいて、デジタルの画像信号(以下、画像データと称する)を生成し、生成した画像データの開始位置を示す同期信号(例えば、HDISPなど)とともに、非同期FIFO回路31に出力する。
【0026】
同様に、画像生成回路3は、クロック発生回路1から入力されたクロック信号を増幅器21で増幅し、非同期FIFO回路35に出力する。画像生成回路3はまた、クロック発生回路1から入力されたクロック信号に基づいて、画像データを生成し、その開始位置を示す同期信号とともに、非同期FIFO回路35に出力する。
【0027】
なお、画像生成回路2,3は、同一の水平ドット数、および同一の垂直ライン数で動作しており、それらが生成した画像データは、増幅器11,21から出力されるクロック信号に対するセットアップ・ホールドにより規定される信号方式で、非同期FIFO回路31,35にそれぞれ入力される。
【0028】
増幅器4は、クロック発生回路1から入力されたクロック信号を増幅し、非同期FIFO回路31、非同期FIFO回路35、遅延回路34、および画像合成回路7にそれぞれ出力する。リセット信号出力回路5は、非同期FIFO回路31および非同期FIFO回路35にそれぞれリセット信号を出力し、所定のタイミングで、そのリセットを解除する。
【0029】
非同期FIFO回路31のクロック端子wckには、画像生成回路2からクロック信号が入力され、クロック端子rckには、増幅器4から内部処理クロック信号が入力され、非同期リセット端子rstには、リセット信号出力回路5からリセット信号が入力される。
【0030】
非同期FIFO回路31は、非同期リセット端子rstに入力されているリセット信号によりリセットがかけられているが、所定のタイミングで、リセットが解除されると、データ入力端子D2に、画像生成回路2から画像データが入力され、同期信号入力端子D1に、画像生成回路2から同期信号が入力される。
【0031】
また非同期FIFO回路31は、リセット解除後データが入力されることによって、有効にされていたエンプティ端子/emp(負論理)のステータスフラグが無効になる。本信号をリード信号として、遅延回路32に出力するとともに、アンド回路33の一方の入力に供給する。遅延回路32は、入力端子Dに入力されたリード信号を1クロックだけ遅延し、出力端子Qからアンド回路33の他方の入力に供給する。アンド回路33は、非同期FIFO回路31の出力と遅延回路32の出力の論理積を演算し、演算結果を非同期FIFO回路31に出力する。
【0032】
非同期FIFO回路31は、読み出し検出端子REにリード信号が入力された場合、クロック端子wckに入力されたクロック信号とクロック端子rckに入力された内部処理クロック信号の位相を比較し、その比較結果に基づいて、非同期FIFO回路31内の画像データを読み出し、データ出力端子Q2から遅延回路34に出力するとともに、その画像データの開始位置を示す同期信号を同期信号出力端子Q1から位相検出回路38に出力する。
【0033】
すなわち、非同期FIFO回路31は、遅延回路32によりリード信号を1クロック遅延させることにより、非同期FIFO回路31内のデータ残量が少なくとも2になってから読み出しを開始する、深さ(バッファ量)2以上のデバイスである。
【0034】
遅延回路34は、増幅器4から入力された内部処理クロック信号に基づいて、非同期FIFO回路31からデータ入力端子Dに入力された画像データを1クロックだけ遅延し、データ出力端子Qから画像生成回路7に出力する。
【0035】
非同期FIFO回路35のクロック端子wckには、画像生成回路3からクロック信号が入力され、クロック端子rckには、増幅器4から内部処理クロック信号が入力され、非同期リセット端子rstには、リセット信号出力回路5からリセット信号が入力される。
【0036】
非同期FIFO回路35は、非同期リセット端子rstに入力されているリセット信号によりリセットがかけられているが、所定のタイミングで、リセットが解除されると、データ入力端子D2に、画像生成回路3から画像データが入力され、同期信号入力端子D1に、画像生成回路3から同期信号が入力される。
【0037】
また非同期FIFO回路35は、リセット解除後データが入力されることによって、有効にされていたエンプティ端子/emp(負論理)のステータスフラグが無効になる。本信号をリード信号として、遅延回路36に出力するとともに、アンド回路37の一方の入力に供給する。遅延回路36は、入力端子Dに入力されたリード信号を1クロックだけ遅延し、出力端子Qからアンド回路37の他方の入力に供給する。アンド回路37は、非同期FIFO回路35の出力と遅延回路36の出力の論理積を演算し、演算結果を非同期FIFO回路35に出力する。
【0038】
非同期FIFO回路35は、読み出し検出端子REにリード信号が入力された場合、クロック端子wckに入力されたクロック信号とクロック端子rckに入力された内部処理クロック信号の位相を比較し、その比較結果に基づいて、非同期FIFO回路35内の画像データを読み出し、データ出力端子Q2から、直接選択回路41に出力するか、遅延回路39を介して選択回路41に出力するか、あるいは遅延回路39および遅延回路40を介して選択回路41に出力する。また非同期FIFO回路35は、選択回路41に出力した画像データの開始位置を示す同期信号を同期信号出力端子Q1から位相検出回路38に出力する。
【0039】
すなわち、非同期FIFO回路35は、遅延回路36によりリード信号を1クロック遅延させることにより、非同期FIFO回路35内のデータ残量が少なくとも2になってから読み出しを開始する、深さ2以上のデバイスである。
【0040】
位相検出回路38は、非同期FIFO回路31,35からそれぞれ入力された同期信号の位相差を検出し、検出結果を選択回路41に供給する。選択回路41は、位相検出回路38から供給された検出結果(位相差)に基づいて、端子a、端子b、または端子cを選択する。
【0041】
例えば、非同期FIFO回路31から入力された同期信号が非同期FIFO回路35から入力された同期信号より、その開始位置が進んでいる場合、選択回路41は、端子aを選択する。これにより、非同期FIFO回路35から出力された画像データは、そのまま(遅延せずに)、選択回路41の出力端子dから画像合成回路7に出力される。
【0042】
また例えば、非同期FIFO回路31から入力された同期信号と非同期FIFO回路35から入力された同期信号が同位相の場合、選択回路41は、端子bを選択する。これにより、非同期FIFO回路35から出力された画像データは、遅延回路39で1クロックだけ遅延され、選択回路41の出力端子dから画像合成回路7に出力される。
【0043】
また例えば、非同期FIFO回路31から入力された同期信号が非同期FIFO回路35から入力された同期信号より、その開始位置が遅れている場合、選択回路41は、端子cを選択する。これにより、非同期FIFO回路35から出力された画像データは、遅延回路39で1クロックだけ遅延され、さらに、遅延回路40で1クロックだけ遅延され、選択回路41の出力端子dから画像合成回路7に出力される。
【0044】
画像合成回路7は、増幅器4から入力された内部処理クロック信号に基づいて、位相が揃えられた非同期FIFO回路31からの画像データと、非同期FIFO回路35からの画像データを合成し、出力する。
【0045】
次に、図2乃至図4のタイミングチャートを参照して、選択回路41の選択動作について説明する。まず、図2のタイミングチャートを参照して、選択回路41の端子aが選択される場合の動作について説明する。
【0046】
映像信号処理回路6にリセットがかけられた状態で、非同期FIFO回路31のクロック端子wckには、画像生成回路2の増幅器11で増幅されたクロック信号WA1乃至WA5が入力され(図2B)、非同期FIFO回路35のクロック端子wckには、画像生成回路3の増幅器21で増幅されたクロック信号WB1乃至WB5が入力されている(図2I)。また、非同期FIFO回路31のクロック端子rckには、増幅器4から内部処理クロック信号RA1乃至RA5が入力され(図2E)、非同期FIFO回路35のクロック端子rckには、増幅器4から内部処理クロック信号RB1乃至RB5が入力されている(図2L)。
【0047】
そして、リセットが解除されると(図2A)、非同期FIFO回路31のデータ入力端子D2には、画像生成回路2で、リセット解除直後の最初のクロック信号WA2に基づいて生成された画像データDA1の入力が開始され(図2C)、同期信号入力端子D1には、画像データDA1の開始位置を示す同期信号SAが入力される(図2D)。また、非同期FIFO回路35のデータ入力端子D2には、画像生成回路3で、リセット解除直後の最初のクロック信号WB2に基づいて生成された画像データDB1の入力が開始され(図2J)、同期信号入力端子D1には、画像データDB1の開始位置を示す同期信号SBが入力される(図2K)。
【0048】
ここで、非同期FIFO回路31は、リセット解除直後にクロック端子wckに入力されたクロック信号WA2(図2B)とクロック端子rckに入力された内部処理クロック信号RA2(図2E)の位相を比較する。同図に示されるように、クロック信号WA2の開始位置は、内部処理クロック信号RA2の開始位置に較べて進んでいる。この場合、非同期FIFO回路31は、直ちに、データ入力端子D2に入力された画像データの読み出しを開始するが、遅延回路32により読み出し開始位置が1クロックだけ遅延されているため、データ残量が2になってから読み出しを開始する。
【0049】
すなわち、非同期FIFO回路31に画像データDA1および画像データDA2が蓄積されると(図2C)、それらが読み出され、データ出力端子Q2から遅延回路34に出力される(図2F)。また、同期信号出力端子Q1から、画像データDA1の開始位置を示す同期信号SAが位相検出回路38に出力される(図2G)。
【0050】
同様に、非同期FIFO回路35も、リセット解除直後にクロック端子wckに入力されたクロック信号WB2(図2I)とクロック端子rckに入力された内部処理クロック信号RB2(図2L)の位相を比較する。同図に示されるように、クロック信号WB2の開始位置は、内部処理クロック信号RB2の開始位置に較べて遅れている。この場合、非同期FIFO回路35は、遅延回路36により読み出し開始位置が1クロックだけ遅延されているため、データ残量が3になってから読み出しを開始する。
【0051】
すなわち、非同期FIFO回路35に画像データDB1乃至DB3が蓄積されると(図2J)、それらが読み出され、データ出力端子Q2から選択回路41に出力される(図2M)。また、同期信号出力端子Q1から、画像データDB1の開始位置を示す同期信号SBが位相検出回路38に出力される(図2N)。
【0052】
遅延回路34は、非同期FIFO回路31から入力された画像データを1クロックだけ遅延し、画像生成回路7に出力する(図2H)。
【0053】
位相検出回路38は、非同期FIFO回路31から入力された同期信号SA(図2G)と非同期FIFO回路35から入力された同期信号SB(図2N)の位相差を検出し、検出結果を選択回路41に供給する。いまの場合、同期信号SAが同期信号SBより1クロック進んでいるため、非同期FIFO回路31では、非同期FIFO回路35より1クロック早く画像データが読み出されている。
【0054】
しかしながら、非同期FIFO回路31で読み出しが開始された画像データDA1は、遅延回路34で1クロック遅延された後、画像合成回路7に出力されているため、非同期FIFO回路31より1クロック遅れて読み出しが開始された非同期FIFO回路35の画像データDB1は、非同期FIFO回路31と同じタイミングで画像合成回路7に出力されることになる。従って、選択回路41は、端子aを選択し、非同期FIFO回路35で読み出しが開始された画像データDB1を、直接(遅延回路を介さずに)、画像合成回路7に出力する(図2O)。これにより、画像合成回路7には、非同期FIFO回路31から出力された画像データDA1と非同期FIFO回路35から出力された画像データDB1の位相が揃えられて入力されるため、容易に合成処理を行うことができる。
【0055】
以上のように、リセット解除直後において、非同期FIFO回路31のクロック端子wckに入力されたクロック信号WA2(図2B)の開始位置が、クロック端子rckに入力された内部処理クロック信号RA2(図2E)の開始位置に較べて進んでおり、かつ、非同期FIFO回路35のクロック端子wckに入力されたクロック信号WB2(図2I)の開始位置が、クロック端子rckに入力された内部処理クロック信号RB2(図2L)の開始位置に較べて遅れている場合、選択回路41は、端子aを選択することにより、画像生成回路2,3で生成された画像データの位相を揃えて画像合成回路7に供給することができる。
【0056】
次に、図3のタイミングチャートを参照して、選択回路41の端子bが選択される場合の動作について説明する。
【0057】
映像信号処理回路6にリセットがかけられた状態で、非同期FIFO回路31のクロック端子wckには、画像生成回路2の増幅器11で増幅されたクロック信号WA1乃至WA5が入力され(図3B)、非同期FIFO回路35のクロック端子wckには、画像生成回路3の増幅器21で増幅されたクロック信号WB1乃至WB5が入力されている(図3I)。また、非同期FIFO回路31のクロック端子rckには、増幅器4から内部処理クロック信号RA1乃至RA5が入力され(図3E)、非同期FIFO回路35のクロック端子rckには、増幅器4から内部処理クロック信号RB1乃至RB5が入力されている(図3L)。
【0058】
そして、リセットが解除されると(図3A)、非同期FIFO回路31のデータ入力端子D2には、画像生成回路2で、リセット解除直後の最初のクロック信号WA2に基づいて生成された画像データDA1の入力が開始され(図3C)、同期信号入力端子D1には、画像データDA1の開始位置を示す同期信号SAが入力される(図3D)。また、非同期FIFO回路35のデータ入力端子D2には、画像生成回路3で、リセット解除直後の最初のクロック信号WB2に基づいて生成された画像データDB1の入力が開始され(図3J)、同期信号入力端子D1には、画像データDB1の開始位置を示す同期信号SBが入力される(図3K)。
【0059】
ここで、非同期FIFO回路31は、リセット解除直後にクロック端子wckに入力されたクロック信号WA2(図3B)とクロック端子rckに入力された内部処理クロック信号RA2(図3E)の位相を比較する。同図に示されるように、クロック信号WA2の開始位置は、内部処理クロック信号RA2の開始位置に較べて進んでいる。従って、上述したように、非同期FIFO回路31は、データ残量が2になってから読み出しを開始する。
【0060】
すなわち、非同期FIFO回路31に画像データDA1および画像データDA2が蓄積されると(図3C)、それらが読み出され、データ出力端子Q2から遅延回路34に出力される(図3F)。また、同期信号出力端子Q1から、画像データDA1の開始位置を示す同期信号SAが位相検出回路38に出力される(図3G)。
【0061】
同様に、非同期FIFO回路35も、リセット解除直後にクロック端子wckに入力されたクロック信号WB2(図3I)とクロック端子rckに入力された内部処理クロック信号RB2(図3L)の位相を比較する。同図に示されるように、クロック信号WB2の開始位置は、内部処理クロック信号RB2の開始位置に較べて進んでいる。従って、上述した非同期FIFO回路31と同様に、データ残量が2になってから読み出しを開始する。
【0062】
すなわち、非同期FIFO回路35に画像データDB1および画像データDB2が蓄積されると(図3J)、それらが読み出され、データ出力端子Q2から選択回路41に出力される(図3M)。また、同期信号出力端子Q1から、画像データDB1の開始位置を示す同期信号SBが位相検出回路38に出力される(図3N)。
【0063】
遅延回路34は、非同期FIFO回路31から入力された画像データを1クロックだけ遅延し、画像生成回路7に出力する(図3H)。
【0064】
位相検出回路38は、非同期FIFO回路31から入力された同期信号SA(図3G)と非同期FIFO回路35から入力された同期信号SB(図3N)の位相差を検出し、検出結果を選択回路41に供給する。いまの場合、同期信号SAと同期信号SBは同位相であるため、非同期FIFO回路31,35では、同じタイミングで画像データが読み出されている。
【0065】
しかしながら、上述したように、非同期FIFO回路31で読み出しが開始された画像データDA1は、遅延回路34で1クロック遅延された後、画像合成回路7に出力されているため、非同期FIFO回路31と同じタイミングで読み出しが開始された非同期FIFO回路35の画像データDB1は、非同期FIFO回路31より1クロック早く画像合成回路7に出力されることになる。従って、選択回路41は、端子bを選択し、非同期FIFO回路35で読み出しが開始された画像データDB1を遅延回路39で1クロックだけ遅延させた後、画像合成回路7に出力する(図3O)。これにより、画像合成回路7には、非同期FIFO回路31から出力された画像データDA1と非同期FIFO回路35から出力された画像データDB1の位相が揃えられて入力されるため、容易に合成処理を行うことができる。
【0066】
以上のように、リセット解除直後において、非同期FIFO回路31のクロック端子wckに入力されたクロック信号WA2(図3B)の開始位置が、クロック端子rckに入力された内部処理クロック信号RA2(図3E)の開始位置に較べて進んでおり、かつ、非同期FIFO回路35のクロック端子wckに入力されたクロック信号WB2(図3I)の開始位置が、クロック端子rckに入力された内部処理クロック信号RB2(図3L)の開始位置に較べて進んでいる場合、選択回路41は、端子bを選択することにより、画像生成回路2,3で生成された画像データの位相を揃えて画像合成回路7に供給することができる。
【0067】
なお、リセット解除直後において、非同期FIFO回路31のクロック端子wckに入力されたクロック信号WA2(図3B)の開始位置が、クロック端子rckに入力された内部処理クロック信号RA2(図3E)の開始位置に較べて遅れており、かつ、非同期FIFO回路35のクロック端子wckに入力されたクロック信号WB2(図3I)の開始位置が、クロック端子rckに入力された内部処理クロック信号RB2(図3L)の開始位置に較べて遅れている場合も、選択回路41で端子bが選択される。従って、この場合も、画像生成回路2,3で生成された画像データの位相を揃えて画像合成回路7に供給することができる。
【0068】
次に、図4のタイミングチャートを参照して、選択回路41の端子cが選択される場合の動作について説明する。
【0069】
映像信号処理回路6にリセットがかけられた状態で、非同期FIFO回路31のクロック端子wckには、画像生成回路2の増幅器11で増幅されたクロック信号WA1乃至WA6が入力され(図4B)、非同期FIFO回路35のクロック端子wckには、画像生成回路3の増幅器21で増幅されたクロック信号WB1乃至WB6が入力されている(図4I)。また、非同期FIFO回路31のクロック端子rckには、増幅器4から内部処理クロック信号RA1乃至RA6が入力され(図4E)、非同期FIFO回路35のクロック端子rckには、増幅器4から内部処理クロック信号RB1乃至RB6が入力されている(図4L)。
【0070】
そして、リセットが解除されると(図4A)、非同期FIFO回路31のデータ入力端子D2には、画像生成回路2で、リセット解除直後の最初のクロック信号WA2に基づいて生成された画像データDA1の入力が開始され(図4C)、同期信号入力端子D1には、画像データDA1の開始位置を示す同期信号SAが入力される(図4D)。また、非同期FIFO回路35のデータ入力端子D2には、画像生成回路3で、リセット解除直後の最初のクロック信号WB2に基づいて生成された画像データDB1の入力が開始され(図4J)、同期信号入力端子D1には、画像データDB1の開始位置を示す同期信号SBが入力される(図4K)。
【0071】
ここで、非同期FIFO回路31は、リセット解除直後にクロック端子wckに入力されたクロック信号WA2(図4B)とクロック端子rckに入力された内部処理クロック信号RA2(図4E)の位相を比較する。同図に示されるように、クロック信号WA2の開始位置は、内部処理クロック信号RA2の開始位置に較べて遅れている。従って、上述したように、非同期FIFO回路31は、データ残量が3になってから読み出しを開始する。
【0072】
すなわち、非同期FIFO回路31に画像データDA1乃至DA3が蓄積されると(図4C)、それらが読み出され、データ出力端子Q2から遅延回路34に出力される(図4F)。また、同期信号出力端子Q1から、画像データDA1の開始位置を示す同期信号SAが位相検出回路38に出力される(図4G)。
【0073】
同様に、非同期FIFO回路35も、リセット解除直後にクロック端子wckに入力されたクロック信号WB2(図3I)とクロック端子rckに入力された内部処理クロック信号RB2(図3L)の位相を比較する。同図に示されるように、クロック信号WB2の開始位置は、内部処理クロック信号RB2の開始位置に較べて進んでいる。従って、上述したように、データ残量が2になってから読み出しを開始する。
【0074】
すなわち、非同期FIFO回路35に画像データDB1および画像データDB2が蓄積されると(図4J)、それらが読み出され、データ出力端子Q2から選択回路41に出力される(図4M)。また、同期信号出力端子Q1から、画像データDB1の開始位置を示す同期信号SBが位相検出回路38に出力される(図4N)。
【0075】
遅延回路34は、非同期FIFO回路31から入力された画像データを1クロックだけ遅延し、画像生成回路7に出力する(図4H)。
【0076】
位相検出回路38は、非同期FIFO回路31から入力された同期信号SA(図4G)と非同期FIFO回路35から入力された同期信号SB(図4N)の位相差を検出し、検出結果を選択回路41に供給する。いまの場合、同期信号SAが同期信号SBより1クロック遅れているため、非同期FIFO回路31では、非同期FIFO回路35より1クロック遅れて画像データが読み出されている。
【0077】
しかしながら、上述したように、非同期FIFO回路31で読み出しが開始された画像データDA1は、遅延回路34で1クロックだけ遅延された後、画像合成回路7に出力されているため、非同期FIFO回路31より1クロック早く読み出しが開始された非同期FIFO回路35の画像データDB1は、非同期FIFO回路31より2クロック早く画像合成回路7に出力されることになる。従って、選択回路41は、端子cを選択し、非同期FIFO回路35で読み出しが開始された画像データDB1を遅延回路39で1クロックだけ遅延させ、さらに、遅延回路40で1クロックだけ遅延させた後、画像合成回路7に出力する(図4O)。これにより、画像合成回路7には、非同期FIFO回路31から出力された画像データDA1と非同期FIFO回路35から出力された画像データDB1の位相が揃えられて入力されるため、容易に合成処理を行うことができる。
【0078】
以上のように、リセット解除直後において、非同期FIFO回路31のクロック端子wckに入力されたクロック信号WA2(図4B)の開始位置が、クロック端子rckに入力された内部処理クロック信号RA2(図4E)の開始位置に較べて遅れており、非同期FIFO回路35のクロック端子wckに入力されたクロック信号WB2(図4I)の開始位置が、クロック端子rckに入力された内部処理クロック信号RB2(図4L)の開始位置に較べて進んでいる場合、選択回路41は、端子cを選択することにより、画像生成回路2,3で生成された画像データの位相を揃えて画像合成回路7に供給することができる。
【0079】
以上においては、非同期FIFO回路31のクロック端子wckに入力されたクロック信号WA2と、クロック端子rckに入力された内部処理クロック信号RA2の位相差、および、非同期FIFO回路35のクロック端子wckに入力されたクロック信号WB2と、クロック端子rckに入力された内部処理クロック信号RB2の位相差の組み合わせに応じて、選択回路41の選択を行うようにしたが、どの組合せであっても、リセット解除後は、非同期FIFO回路31,35に入力される画像データのサイズ(個数)と、非同期FIFO回路31,35から出力される画像データのサイズは同一である。従って、選択回路41は、リセット解除後に選択を変更することなく(すなわち、リセット解除直後に選択された回路で)、画像データの位相が揃えられた状態を維持し続けることができる。
【0080】
ただし、リセット解除して所定の時間が経過した後、画像生成回路2の増幅器11や画像生成回路3の増幅器21のクロックバッファの温度特性などにより、非同期FIFO回路31のクロック端子wckに入力されたクロック信号WA2とクロック端子rckに入力された内部処理クロック信号RA2の位相関係が逆転した場合、または非同期FIFO回路35のクロック端子wckに入力されたクロック信号WB2とクロック端子rckに入力された内部処理クロック信号RB2の位相関係が逆転した場合、非同期FIFO回路31,35内に蓄積された画像データの個数が変化する。
【0081】
例えば、リセット当初、非同期FIFO回路31のクロック端子wckに入力されたクロック信号WA2の開始位置が、クロック端子rckに入力された内部処理クロック信号RA2の開始位置に較べて進んでいたものが、所定の時間が経過した後に逆転した場合(クロック信号WA2の開始位置が、内部処理クロック信号RA2の開始位置に較べて遅れた場合)、非同期FIFO回路31内に蓄積された画像データは1個少なくなる。
【0082】
また例えば、リセット当初、非同期FIFO回路31のクロック端子wckに入力されたクロック信号WA2の開始位置が、クロック端子rckに入力された内部処理クロック信号RA2の開始位置に較べて遅れていたものが、所定の時間が経過した後に逆転した場合(クロック信号WA2の開始位置が、クロック信号RA2の開始位置に較べて進んだ場合)、非同期FIFO回路31内に蓄積された画像データは1個多くなる。
【0083】
しかしながら、クロック端子wckに入力されたクロック信号WA2とクロック端子rckに入力された内部処理クロック信号RA2は、いずれもクロック発生回路1から生成されたものであり、これ以上の変動は起こり得ないため、非同期FIFO回路31,35は、リセット直後に画像データが2個蓄積されてから読み出しを開始すれば充分である。
【0084】
以上のように、同一の発振器を基準に動作する映像信号処理システムにおいて問題となるクロックスキューを、PLLを使用せずに解決することができる。また、複数のLSIにまたがるデータ伝送で、クロックアウト端子を持つLSIを使用する場合に、特にその効果が期待できる。
【0085】
上述した一連の処理は、ハードウェアにより実行させることもできるし、ソフトウェアにより実行させることもできる。一連の処理をソフトウェアにより実行させる場合には、そのソフトウェアを構成するプログラムが、専用のハードウェアに組み込まれているコンピュータ、または、各種のプログラムをインストールすることで、各種の機能を実行することが可能な、例えば汎用のパーソナルコンピュータなどに、ネットワークや記録媒体からインストールされる。
【0086】
図5は、汎用のコンピュータの内部の構成例を示す図である。コンピュータのCPU(Central Processing Unit)101は、ROM(Read Only Memory)102に記憶されているプログラム、または記憶部108からRAM(Random Access Memory)103にロードされたプログラムに従って各種の処理を実行する。RAM103にはまた、CPU101が各種の処理を実行する上において必要なデータなども適宜記憶される。
【0087】
CPU101、ROM102、およびRAM103は、バス104を介して相互に接続されている。このバス104にはまた、入出力インターフェース105も接続されている。
【0088】
入出力インターフェース105には、ボタン、スイッチ、キーボードあるいはマウスなどで構成される構成される入力部106、CRT(Cathode Ray Tube)やLCD(Liquid Crystal Display)などのディスプレイ、並びにスピーカなどで構成される出力部107、ハードディスクなどで構成される記憶部108、およびモデムやターミナルアダプタなどで構成される通信部109が接続されている。通信部109は、インターネットを含むネットワークを介して通信処理を行う。
【0089】
入出力インターフェース105にはまた、必要に応じてドライブ110が接続され、磁気ディスク、光ディスク、光磁気ディスク、あるいは半導体メモリなどよりなるリムーバブルメディア111が適宜装着され、そこから読み出されたコンピュータプログラムが、記憶部108にインストールされる。
【0090】
コンピュータにインストールされ、コンピュータによって実行可能な状態とされるプログラムを記録する記録媒体は、図5に示されるように、装置本体とは別に、ユーザにプログラムを提供するために配布される、プログラムが記録されている磁気ディスク(フレキシブルディスクを含む)、光ディスク(CD−ROM(Compact Disc−Read Only Memory)、DVD(Digital Versatile Disc)を含む)、光磁気ディスク(MD(Mini−Disc)(登録商標)を含む)、もしくは半導体メモリなどよりなるリムーバブルメディア111により構成されるだけでなく、装置本体に予め組み込まれた状態でユーザに提供される、プログラムが記録されているROM103またはハードディスクなどの記憶部108で構成される。
【0091】
なお、本明細書において、プログラム格納媒体に格納されるプログラムを記述するステップは、記載された順序に沿って時系列的に行われる処理はもちろん、必ずしも時系列的に処理されなくとも、並列的あるいは個別に実行される処理をも含むものである。
【0092】
また、本明細書において、システムとは、複数の装置により構成される装置全体を表わすものである。
【0093】
【発明の効果】
以上のように、本発明によれば、2つのデジタルの映像信号を同期させることが可能となる。特に、PLLを使用せずに、2つのデジタルの映像信号を同期させて、同一の発振器を基準に動作する場合に問題となるクロックスキューを解決した映像信号処理システムを構築することが可能となる。
【図面の簡単な説明】
【図1】本発明を適用した映像信号処理システムの構成例を示している。
【図2】選択回路の選択動作を説明するためのタイミングチャートである。
【図3】選択回路の他の選択動作を説明するためのタイミングチャートである。
【図4】選択回路の他の選択動作を説明するためのタイミングチャートである。
【図5】汎用のコンピュータの内部の構成例を示す図である。
【符号の説明】
1 クロック発生回路, 2,3 画像生成回路, 4 増幅器, 5 リセット信号出力回路, 6 映像信号処理回路, 7 画像合成回路, 11,21 増幅器, 31 非同期FIFO回路, 34 遅延回路, 35 非同期FIFO回路, 38 位相検出回路, 39,40 遅延回路, 41 選択回路[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a video signal processing device and method, and more particularly, to a video signal processing device and method suitable for use in performing, for example, video signal synchronization processing.
[0002]
[Prior art]
2. Description of the Related Art Conventionally, in a horizontal synchronization circuit in a television system, a horizontal synchronization signal is used as a comparison pulse, and an output of a VOC (Voltage Controlled Oscillator) is divided by N and a reference pulse is used as a reference pulse. Various phase pulses are generated by the system. The PLL is such that a reference signal input from the outside and an output of an oscillator (VOC) in a loop or a pulse signal obtained by dividing the output of the oscillator by N are the same in frequency and phase. Is an oscillation circuit that adjusts the oscillation frequency by performing feedback control on the oscillator in the loop.
[0003]
As described above, in the PLL system used in the television system, jitter is removed by removing noise or the like in the synchronization signal (see Patent Document 1).
[0004]
[Patent Document 1]
JP-A-10-327333
[0005]
[Problems to be solved by the invention]
However, at present, so-called digital signal processing in which a video signal is not processed as an analog signal but is processed as a discrete numerical value is in use. Therefore, when a conventional PLL system for processing an analog signal receives an input of a digital video signal, the output of the oscillator (VOC) has a large amount of jitter.
[0006]
In the case where two digital video signals are generated by separate image generation circuits and are synthesized by the image synthesis circuit, the image synthesis circuit receives clocks output from the two image generation circuits. In addition, it is necessary to perform processing by switching to a clock used for image synthesis.
[0007]
However, the delay amount of the two image generation circuits is unknown or indeterminate, and no limitation can be given to the phase relationship between these two clocks, and it is difficult to synchronize two digital video signals. There was an issue.
[0008]
The present invention has been made in view of such a situation, and it is an object of the present invention to perform a synthesizing process or the like by synchronizing two digital video signals without using a PLL.
[0009]
[Means for Solving the Problems]
The video signal processing apparatus according to the present invention is configured such that a first input means for inputting first image data generated in synchronization with a first clock signal, and a phase difference between the first clock signal and an internal clock signal. A first output unit that outputs the first image data together with a synchronization signal of the first image data, and a second output unit that inputs the second image data generated in synchronization with the second clock signal. Input means, second output means for outputting second image data together with a synchronization signal of the second image data based on the phase difference between the second clock signal and the internal clock signal, and first image data Detecting means for detecting a phase difference between the synchronizing signal and the synchronizing signal of the second image data, and selecting means for selecting a delay amount of the second image data based on a detection result by the detecting means. And
[0010]
The image processing apparatus may further include a delay unit that delays the first image data output by the first output unit.
[0011]
The selecting means may select a delay amount for synchronizing the second image data with the first image data delayed by the delay means.
[0012]
The first and second clock signals and the internal clock may be at the same frequency.
[0013]
A video signal processing method according to the present invention includes a first input step of inputting first image data generated in synchronization with a first clock signal, and a phase difference between the first clock signal and an internal clock signal. A first output step of outputting the first image data together with a synchronization signal of the first image data, and a second output step of inputting the second image data generated in synchronization with the second clock signal. An input step, a second output step of outputting second image data together with a synchronization signal of the second image data based on a phase difference between the second clock signal and the internal clock signal, and a first image data A detecting step of detecting a phase difference between the synchronizing signal of the second image data and the synchronizing signal of the second image data, and a selecting step of selecting a delay amount of the second image data based on a detection result by the processing of the detecting step. And wherein the door.
[0014]
In the present invention, first image data generated in synchronization with a first clock signal is input, and the first image data is converted to a first image data based on a phase difference between the first clock signal and an internal clock. And the second image data generated in synchronization with the second clock signal is input, and the second image data is output based on the phase difference between the second clock and the internal clock. Is output together with the synchronization signal of the second image data, the phase difference between the synchronization signal of the first image data and the synchronization signal of the second image data is detected, and the second image data is Is selected.
[0015]
BEST MODE FOR CARRYING OUT THE INVENTION
Embodiments of the present invention will be described below. The correspondence between constituent elements described in the claims and specific examples in the embodiments of the present invention is as follows. This description is for confirming that a specific example supporting the invention described in the claims is described in the embodiment of the invention. Therefore, even if there is a specific example which is described in the embodiment of the invention but is not described here as corresponding to the configuration requirement, the fact that the specific example is It does not mean that it does not correspond to the requirement. Conversely, even if a specific example is described here as corresponding to a configuration requirement, this means that the specific example does not correspond to a configuration requirement other than the configuration requirement. not.
[0016]
Furthermore, this description does not mean that the invention corresponding to the specific examples described in the embodiments of the invention is all described in the claims. In other words, this description is an invention corresponding to the specific example described in the embodiment of the invention, and the existence of the invention not described in the claims of this application, that is, It does not deny the existence of the invention added by the amendment.
[0017]
The video signal processing device according to claim 1 (for example, the video signal processing circuit 6 in FIG. 1) includes a first input unit that inputs first image data generated in synchronization with a first clock signal. For example, the first image data is output together with the synchronization signal of the first image data based on the data input terminal D2 of the
[0018]
The video signal processing device according to claim 2 further includes a delay unit (for example, the
[0019]
The selection means of the video signal processing device according to
[0020]
The first and second clock signals and the internal clock signal of the video signal processing device according to claim 4 have the same frequency (for example, at the same frequency as the clock signal generated by the
[0021]
The video signal processing method according to
[0022]
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
[0023]
FIG. 1 shows a configuration example of a video signal processing system to which the present invention is applied. As shown in FIG. 1, the video signal processing system includes a
[0024]
The
[0025]
The image generation circuit 2 amplifies the clock signal input from the
[0026]
Similarly, the
[0027]
Note that the
[0028]
The amplifier 4 amplifies the clock signal input from the
[0029]
A clock signal from the image generation circuit 2 is input to a clock terminal wck of the
[0030]
The
[0031]
Further, in the
[0032]
When the read signal is input to the read detection terminal RE, the
[0033]
That is, the
[0034]
The
[0035]
A clock signal from the
[0036]
The
[0037]
Further, in the
[0038]
When the read signal is input to the read detection terminal RE, the
[0039]
That is, the
[0040]
The
[0041]
For example, when the start position of the synchronization signal input from the
[0042]
In addition, for example, when the synchronization signal input from the
[0043]
Further, for example, when the start position of the synchronization signal input from the
[0044]
The image synthesizing circuit 7 synthesizes and outputs the image data from the
[0045]
Next, the selection operation of the
[0046]
In a state where the video signal processing circuit 6 is reset, the clock signals WA1 to WA5 amplified by the
[0047]
When the reset is released (FIG. 2A), the image data DA1 generated by the image generation circuit 2 based on the first clock signal WA2 immediately after the reset is released is supplied to the data input terminal D2 of the
[0048]
Here, the
[0049]
That is, when the image data DA1 and the image data DA2 are accumulated in the asynchronous FIFO circuit 31 (FIG. 2C), they are read and output from the data output terminal Q2 to the delay circuit 34 (FIG. 2F). Further, a synchronization signal SA indicating the start position of the image data DA1 is output from the synchronization signal output terminal Q1 to the phase detection circuit 38 (FIG. 2G).
[0050]
Similarly, the
[0051]
That is, when the image data DB1 to DB3 are accumulated in the asynchronous FIFO circuit 35 (FIG. 2J), they are read and output from the data output terminal Q2 to the selection circuit 41 (FIG. 2M). Further, a synchronization signal SB indicating the start position of the image data DB1 is output from the synchronization signal output terminal Q1 to the phase detection circuit 38 (FIG. 2N).
[0052]
The
[0053]
The
[0054]
However, the image data DA1 whose reading has been started by the
[0055]
As described above, immediately after reset release, the start position of the clock signal WA2 (FIG. 2B) input to the clock terminal wck of the
[0056]
Next, an operation when the terminal b of the
[0057]
In a state where the video signal processing circuit 6 is reset, clock signals WA1 to WA5 amplified by the
[0058]
When the reset is released (FIG. 3A), the image data DA1 generated by the image generation circuit 2 based on the first clock signal WA2 immediately after the reset is released is supplied to the data input terminal D2 of the
[0059]
Here, the
[0060]
That is, when the image data DA1 and the image data DA2 are accumulated in the asynchronous FIFO circuit 31 (FIG. 3C), they are read and output from the data output terminal Q2 to the delay circuit 34 (FIG. 3F). Further, a synchronization signal SA indicating the start position of the image data DA1 is output from the synchronization signal output terminal Q1 to the phase detection circuit 38 (FIG. 3G).
[0061]
Similarly, the
[0062]
That is, when the image data DB1 and the image data DB2 are accumulated in the asynchronous FIFO circuit 35 (FIG. 3J), they are read and output from the data output terminal Q2 to the selection circuit 41 (FIG. 3M). Further, a synchronization signal SB indicating the start position of the image data DB1 is output from the synchronization signal output terminal Q1 to the phase detection circuit 38 (N in FIG. 3).
[0063]
The
[0064]
The
[0065]
However, as described above, the image data DA1 whose reading has been started by the
[0066]
As described above, immediately after reset release, the start position of the clock signal WA2 (FIG. 3B) input to the clock terminal wck of the
[0067]
Immediately after reset release, the start position of the clock signal WA2 (FIG. 3B) input to the clock terminal wck of the
[0068]
Next, an operation when the terminal c of the
[0069]
In a state where the video signal processing circuit 6 is reset, clock signals WA1 to WA6 amplified by the
[0070]
When the reset is released (FIG. 4A), the image data DA1 generated by the image generation circuit 2 based on the first clock signal WA2 immediately after the reset is released is supplied to the data input terminal D2 of the
[0071]
Here, the
[0072]
That is, when the image data DA1 to DA3 are accumulated in the asynchronous FIFO circuit 31 (FIG. 4C), they are read and output from the data output terminal Q2 to the delay circuit 34 (FIG. 4F). Further, a synchronization signal SA indicating the start position of the image data DA1 is output from the synchronization signal output terminal Q1 to the phase detection circuit 38 (FIG. 4G).
[0073]
Similarly, the
[0074]
That is, when the image data DB1 and the image data DB2 are accumulated in the asynchronous FIFO circuit 35 (FIG. 4J), they are read and output from the data output terminal Q2 to the selection circuit 41 (FIG. 4M). Further, a synchronization signal SB indicating the start position of the image data DB1 is output from the synchronization signal output terminal Q1 to the phase detection circuit 38 (N in FIG. 4).
[0075]
The
[0076]
The
[0077]
However, as described above, since the image data DA1 whose reading has been started by the
[0078]
As described above, immediately after reset release, the start position of the clock signal WA2 (FIG. 4B) input to the clock terminal wck of the
[0079]
In the above, the phase difference between the clock signal WA2 input to the clock terminal wck of the
[0080]
However, after a predetermined time has passed since the reset was released, the clock signal was input to the clock terminal wck of the
[0081]
For example, at the beginning of the reset, the start position of the clock signal WA2 input to the clock terminal wck of the
[0082]
Further, for example, at the beginning of the reset, the start position of the clock signal WA2 input to the clock terminal wck of the
[0083]
However, the clock signal WA2 input to the clock terminal wck and the internal processing clock signal RA2 input to the clock terminal rck are both generated from the
[0084]
As described above, the clock skew which is a problem in the video signal processing system operating on the basis of the same oscillator can be solved without using the PLL. Further, in the case of using an LSI having a clock out terminal for data transmission over a plurality of LSIs, the effect can be particularly expected.
[0085]
The above-described series of processing can be executed by hardware or can be executed by software. When a series of processing is executed by software, a program constituting the software may execute various functions by installing a computer built into dedicated hardware or installing various programs. It is installed in a possible, for example, a general-purpose personal computer from a network or a recording medium.
[0086]
FIG. 5 is a diagram illustrating an example of the internal configuration of a general-purpose computer. A CPU (Central Processing Unit) 101 of the computer executes various processes according to a program stored in a ROM (Read Only Memory) 102 or a program loaded from a
[0087]
The
[0088]
The input /
[0089]
A
[0090]
As shown in FIG. 5, a recording medium that is installed in a computer and records a program that can be executed by the computer is provided separately from the main body of the apparatus to provide the program to a user. A recorded magnetic disk (including a flexible disk), an optical disk (including a CD-ROM (Compact Disc-Read Only Memory), a DVD (Digital Versatile Disc)), and a magneto-optical disk (MD (Mini-Disc) (registered trademark) ) Or a
[0091]
In this specification, the steps of describing a program stored in a program storage medium may be performed in chronological order according to the described order, or may be performed in parallel, even if not necessarily performed in chronological order. Alternatively, it also includes processing executed individually.
[0092]
Also, in this specification, a system represents the entire device including a plurality of devices.
[0093]
【The invention's effect】
As described above, according to the present invention, it is possible to synchronize two digital video signals. In particular, it is possible to construct a video signal processing system in which two digital video signals are synchronized without using a PLL and clock skew which is a problem when operating based on the same oscillator is solved. .
[Brief description of the drawings]
FIG. 1 shows a configuration example of a video signal processing system to which the present invention is applied.
FIG. 2 is a timing chart for explaining a selection operation of a selection circuit.
FIG. 3 is a timing chart for explaining another selection operation of the selection circuit.
FIG. 4 is a timing chart for explaining another selection operation of the selection circuit.
FIG. 5 is a diagram illustrating an example of the internal configuration of a general-purpose computer.
[Explanation of symbols]
Claims (5)
前記第1のクロック信号と内部クロック信号の位相差に基づいて、前記第1の画像データを、前記第1の画像データの同期信号とともに出力する第1の出力手段と、
第2のクロック信号に同期して生成された第2の画像データを入力する第2の入力手段と、
前記第2のクロック信号と内部クロック信号の位相差に基づいて、前記第2の画像データを、前記第2の画像データの同期信号とともに出力する第2の出力手段と、
前記第1の画像データの同期信号と前記第2の画像データの同期信号の位相差を検出する検出手段と、
前記検出手段による検出結果に基づいて、前記第2の画像データの遅延量を選択する選択手段と
を備えることを特徴とする映像信号処理装置。First input means for inputting first image data generated in synchronization with the first clock signal;
First output means for outputting the first image data together with a synchronization signal of the first image data based on a phase difference between the first clock signal and an internal clock signal;
Second input means for inputting second image data generated in synchronization with the second clock signal;
A second output unit that outputs the second image data together with a synchronization signal of the second image data based on a phase difference between the second clock signal and an internal clock signal;
Detecting means for detecting a phase difference between a synchronization signal of the first image data and a synchronization signal of the second image data;
A video signal processing device comprising: a selection unit that selects a delay amount of the second image data based on a detection result by the detection unit.
ことを特徴とする請求項1に記載の映像信号処理装置。2. The video signal processing device according to claim 1, further comprising a delay unit that delays the first image data output by the first output unit.
ことを特徴とする請求項2に記載の映像信号処理装置。3. The video signal processing apparatus according to claim 2, wherein the selection unit selects the delay amount for synchronizing the second image data with the first image data delayed by the delay unit. .
ことを特徴とする請求項1に記載の映像信号処理装置。The video signal processing device according to claim 1, wherein the first and second clock signals and the internal clock signal have the same frequency.
前記第1のクロック信号と内部クロック信号の位相差に基づいて、前記第1の画像データを、前記第1の画像データの同期信号とともに出力する第1の出力ステップと、
第2のクロック信号に同期して生成された第2の画像データを入力する第2の入力ステップと、
前記第2のクロック信号と内部クロック信号の位相差に基づいて、前記第2の画像データを、前記第2の画像データの同期信号とともに出力する第2の出力ステップと、
前記第1の画像データの同期信号と前記第2の画像データの同期信号の位相差を検出する検出ステップと、
前記検出ステップの処理による検出結果に基づいて、前記第2の画像データの遅延量を選択する選択ステップと
を含むことを特徴とする映像信号処理方法。A first input step of inputting first image data generated in synchronization with a first clock signal;
A first output step of outputting the first image data together with a synchronization signal of the first image data based on a phase difference between the first clock signal and an internal clock signal;
A second input step of inputting second image data generated in synchronization with a second clock signal;
A second output step of outputting the second image data together with a synchronization signal of the second image data based on a phase difference between the second clock signal and an internal clock signal;
A detection step of detecting a phase difference between a synchronization signal of the first image data and a synchronization signal of the second image data;
A selecting step of selecting a delay amount of the second image data based on a detection result obtained by the processing of the detecting step.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2003116595A JP2004328094A (en) | 2003-04-22 | 2003-04-22 | Video signal processing apparatus and method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2003116595A JP2004328094A (en) | 2003-04-22 | 2003-04-22 | Video signal processing apparatus and method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2004328094A true JP2004328094A (en) | 2004-11-18 |
Family
ID=33496751
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2003116595A Withdrawn JP2004328094A (en) | 2003-04-22 | 2003-04-22 | Video signal processing apparatus and method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2004328094A (en) |
-
2003
- 2003-04-22 JP JP2003116595A patent/JP2004328094A/en not_active Withdrawn
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP6215505B2 (en) | Clock synchronization | |
| JP4672194B2 (en) | Receiver circuit | |
| TWI285999B (en) | Framework of phase-locked loop capable of avoiding from frequency drifting and jiggling, and its method | |
| US20040135711A1 (en) | High speed over-sampler application in a serial to parallel converter | |
| CN100559750C (en) | Device and method for receiving parallel data | |
| JP2004328094A (en) | Video signal processing apparatus and method | |
| JP4708528B2 (en) | Video signal converter | |
| CN101271679B (en) | Image data processing apparatus | |
| CN1723444B (en) | Methods for Using Simultaneous Sampling Designs in Fixed Rate Sampling Mode | |
| US6642766B2 (en) | Digital circuit, LSI including the same and method for removing noise | |
| US6788127B2 (en) | Circuit for variably delaying data | |
| JP4194430B2 (en) | Synchronizer | |
| US6867631B1 (en) | Synchronous frequency convertor for timebase signal generation | |
| JP2007087468A (en) | Output control signal generation circuit | |
| JP4825929B2 (en) | Video signal converter | |
| JP4506157B2 (en) | Video signal phase adjustment circuit | |
| WO2010113378A1 (en) | Horizontal sync generation circuit, video signal processing lsi and video system | |
| JP4239475B2 (en) | Scanning line converter | |
| JP3493111B2 (en) | Semiconductor integrated circuit device | |
| US6801055B1 (en) | Data driven clocking | |
| JP5126497B2 (en) | Audio signal relay circuit and audio signal relay method | |
| JP3179403B2 (en) | Digital signal synchronization circuit | |
| JP2002232401A (en) | Video signal synchronization device and image processing device | |
| JP4266728B2 (en) | Synchronization control method | |
| JP4143703B2 (en) | Digital arithmetic processing method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A300 | Withdrawal of application because of no request for examination |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20060704 |