JP2016163334A - Synchronous signal generation device, synchronous signal generation method, video processing apparatus and program - Google Patents
Synchronous signal generation device, synchronous signal generation method, video processing apparatus and program Download PDFInfo
- Publication number
- JP2016163334A JP2016163334A JP2015043971A JP2015043971A JP2016163334A JP 2016163334 A JP2016163334 A JP 2016163334A JP 2015043971 A JP2015043971 A JP 2015043971A JP 2015043971 A JP2015043971 A JP 2015043971A JP 2016163334 A JP2016163334 A JP 2016163334A
- Authority
- JP
- Japan
- Prior art keywords
- synchronization signal
- input
- timing
- output
- predetermined phase
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Controls And Circuits For Display Device (AREA)
- Synchronizing For Television (AREA)
- Control Of Indicators Other Than Cathode Ray Tubes (AREA)
Abstract
Description
本発明は、同期信号生成技術、特に動画像の表示や処理を行なう映像処理装置に同期信号を供給する技術に関する。 The present invention relates to a synchronization signal generation technique, and more particularly to a technique for supplying a synchronization signal to a video processing apparatus that displays and processes moving images.
モニタディスプレイに代表される映像処理装置が普及している。これら装置には、入力から出力までの遅延時間が少なくなるように工夫されたものがある。例えば、これらの装置がゲーム等の表示器として使われる場合は、操作入力がフィードバックされた画面が表示器に表示される。フィードバックまでの時間が長いとユーザが違和感を感じるため、表示器は内部処理による遅延が少なくなるように構成されている。例えば、表示器において、画面を一時格納するためのフレームバッファの面数やラインバッファの段数が、最小限の量になっている。 Video processing apparatuses represented by monitor displays are widespread. Some of these devices are devised so as to reduce the delay time from input to output. For example, when these devices are used as a display device for a game or the like, a screen on which an operation input is fed back is displayed on the display device. Since the user feels uncomfortable when the time until feedback is long, the display is configured to reduce delay due to internal processing. For example, in a display device, the number of frame buffers and the number of stages of line buffers for temporarily storing a screen are minimal.
また、これら装置には、入出力のフレーム周波数を同期させる機構を備えたものがある。映像を出力する表示パネルには、デバイス毎に要求されるタイミング規定があることから、これらの装置は、該タイミング規定に従ったフレーム周波数で駆動されている。一方、入力される映像は、VGAやXGA等の多様な画像フォーマットがあることから、異なったフレーム周波数を有し得る。入出力のフレーム周波数が異なっている場合には、表示される映像において、コマ飛びやティアリングと呼ばれる画面乱れが発生する。ティアリングとは、1つの画面に複数のフレームが表示されることにより、画面内の上下が横方向にずれて表示されたり、ちらついたりする現象である。 Some of these devices have a mechanism for synchronizing input and output frame frequencies. Since a display panel that outputs video has a timing specification required for each device, these devices are driven at a frame frequency in accordance with the timing specification. On the other hand, since the input video has various image formats such as VGA and XGA, it can have different frame frequencies. When the input and output frame frequencies are different, screen disturbances such as frame skipping and tearing occur in the displayed video. Tearing is a phenomenon in which a plurality of frames are displayed on one screen, so that the top and bottom of the screen are shifted in the horizontal direction or flicker.
ティアリングを防ぐには、入出力のフレーム周波数を同期させる、すなわち、入出力の同期信号を引き込む機構(フレームロック機構)が必要である。また、フレームバッファリングしてから画像を表示する方法もあるが、入出力間の遅延が大きくなる。そのため、引込み中はフレームバッファリングした画像を表示しておき、引込み完了の時点でフレームバッファリングしない表示モードに切り替えるような処理が行われている。 In order to prevent tearing, a mechanism (frame lock mechanism) that synchronizes the input / output frame frequencies, that is, pulls in the input / output synchronization signals is necessary. There is also a method of displaying an image after frame buffering, but the delay between input and output becomes large. Therefore, a process is performed in which the frame buffered image is displayed during pull-in, and the display mode is switched to a display mode in which frame buffering is not performed when pull-in is completed.
入出力の同期信号を引き込む方法として、例えば特許文献1に記載される方法が考案されている。特許文献1の方法は、フレームロック機構の補正範囲内で入力が発生した場合に、入力同期信号の周期と入出力同期信号の位相差を検出し、位相差が小さくなるように出力同期信号の周期を制御する方法である。この方法によれば、入出力の位相差が小さくなった時点で、引込みが完了することになる。
As a method for pulling in an input / output synchronization signal, for example, a method described in
しかしながら、上述の特許文献1に記載される方法では、補正範囲外の入力も想定した場合には複雑な制御が必要であり、引込みの完了を判定するのに長い時間がかかるという課題があった。補正範囲外の入力の場合は、入出力同期信号の位相差を安定させることができないので、補正範囲内の入力とは別の制御が必要となる。また、補正範囲外であることを決定するには、長時間の履歴を採取する等の複雑な制御が必要である。そのため、ティアリングを防ぐための表示モード(フレームバッファリングモード)を解除するまでに時間がかかっていた。
However, in the method described in
本発明は上記課題に鑑みてなされたものであり、入出力の同期信号の引込み完了を判定するための時間を短くすることを目的とする。 The present invention has been made in view of the above-described problems, and an object thereof is to shorten the time for determining completion of input / output synchronization signal pull-in.
上記目的を達成するための一手段として、本発明の同期信号生成装置は以下の構成を有する。すなわち、出力同期信号の周期を補正することにより、入力同期信号と前記出力同期信号のタイミングの位置関係を変更できる同期信号生成装置であって、前記入力同期信号のタイミングを前記出力同期信号の周期により決められる所定の位相の区間に引き込むことが可能か否かを判定する第1の判定手段と、前記出力同期信号の周期を補正する補正手段と、前記第1の判定手段により前記入力同期信号のタイミングを前記所定の位相の区間に引き込むことが可能と判定された場合、前記補正手段により前記出力同期信号の周期が補正された後に、前記入力同期信号のタイミングが前記所定の位相の区間に引き込まれたか否かを判定する第2の判定手段と、を有することを特徴とする。 As a means for achieving the above object, a synchronization signal generating apparatus of the present invention has the following configuration. That is, a synchronization signal generating device capable of changing the positional relationship between the timing of the input synchronization signal and the output synchronization signal by correcting the cycle of the output synchronization signal, wherein the timing of the input synchronization signal is changed to the cycle of the output synchronization signal The first determination means for determining whether or not it is possible to pull in the section of the predetermined phase determined by the correction, the correction means for correcting the period of the output synchronization signal, and the input synchronization signal by the first determination means When it is determined that the timing of the output synchronization signal can be drawn into the predetermined phase interval, the timing of the input synchronization signal is set to the predetermined phase interval after the correction means corrects the cycle of the output synchronization signal. And second determination means for determining whether or not it has been retracted.
本発明によれば、入出力の同期信号の引込み完了を判定するための時間を短くすることが可能となる。 According to the present invention, it is possible to shorten the time for determining completion of input / output synchronization signal pull-in.
以下、添付の図面を参照して、本発明をその好適な実施形態に基づいて詳細に説明する。なお、以下の実施形態において示す構成は一例に過ぎず、本発明は図示された構成に限定されるものではない。 Hereinafter, the present invention will be described in detail based on preferred embodiments with reference to the accompanying drawings. The configurations shown in the following embodiments are merely examples, and the present invention is not limited to the illustrated configurations.
[実施形態1]
本実施形態では、出力同期信号に対する入力同期信号の移動量(出力同期信号と入力同期信号はそれぞれ独立して周期的に発生する信号)がフレームロック制御の補正量以下だった場合に「引込み可能」と判定し、引込み可能で且つ入力同期信号の位置がロックウインドウの中にある場合に「引込み完了」と判定する例を説明する。本実施形態において、「引込み」は、入力同期信号のタイミングを出力同期信号に基づく所定の位相の区間で発生させるための処理を表し、この処理は出力同期信号の周期を補正することにより実現される。「引込み」が完了することにより、映像データが表示(出力)される有効画像領域の前半と後半において、同じフレームの画像データの表示が可能となる。
[Embodiment 1]
In this embodiment, when the movement amount of the input synchronization signal with respect to the output synchronization signal (the output synchronization signal and the input synchronization signal are generated independently and periodically) is equal to or less than the frame lock control correction amount, An example will be described in which it is determined that “pull-in is completed” when the pull-in is possible and the position of the input synchronization signal is within the lock window. In the present embodiment, “pull-in” represents processing for generating the timing of the input synchronization signal in a section of a predetermined phase based on the output synchronization signal, and this processing is realized by correcting the period of the output synchronization signal. The By completing the “drawing”, it is possible to display the image data of the same frame in the first half and the second half of the effective image area where the video data is displayed (output).
<映像処理装置の構成(図2、3)>
図2は、本実施形態における映像処理装置のハードウェア構成の一例を示す図である。本実施形態における映像処理装置は、表示パネル(表示部25)に画像の表示を行なうモニタディスプレイである。制御部21は例えばCPUであり、各構成要素の動作を制御する。ROM22は、制御命令つまりプログラムを格納する。RAM23は、プログラムを実行する際のワークメモリやデータの一時保存などに利用される。通信部24は、外部の装置と通信するための制御を行う。表示部25は、各種表示を行う。表示部25は、画像データを表示する表示パネルで構成される。表示パネルは、LCDやプラズマ、CRT、有機EL等の方式で構成されてもよく、また、壁面に投影するような投射型の表示デバイスであってもよい。ユーザI/F(インタフェース)26は、ユーザの操作を受け付ける。
<Configuration of Video Processing Device (FIGS. 2 and 3)>
FIG. 2 is a diagram illustrating an example of a hardware configuration of the video processing apparatus according to the present embodiment. The video processing apparatus in the present embodiment is a monitor display that displays an image on a display panel (display unit 25). The
図3は、本実施形態の映像処理装置の機能ブロック構成の一例を示す図である。映像入力部31は、外部から映像コンテンツの入力を受ける。映像入力部31には、入力インタフェースとして「入力1」、「入力2」、「入力3」の3つのポートが設けられており、選択された一つの入力ポートから入力が行われる。入力インタフェースは、例えばHDMIやDVI、DisplayPort、アナログビデオ等の各種規格の形式の映像コンテンツを受け付ける。映像入力部31は、入力された映像コンテンツを同期信号が付された非圧縮のデジタルデータの形式に変換して、フレームバッファ32、映像スイッチ33、及び同期信号生成部35へ出力する。
FIG. 3 is a diagram illustrating an example of a functional block configuration of the video processing apparatus according to the present embodiment. The
フレームバッファ32は、画像データをフレーム単位でバッファリングする。例えばフレームバッファ32は、2画面分のフレームを格納できるバッファを備え、入力された画像データが交互に書き込まれていく。書込みが行なわれていない側の画面の画像データが読み出され、表示に使用されることで、映像処理装置1は、ティアリングのない表示を行なうことができる。
The
映像スイッチ33は、フレームバッファ32を介さない画像データと、フレームバッファ32を介した画像データの両方を受け取り、切換え制御部36から入力された信号に基づいて、そのうちの一方の画像データを選択して出力する。表示部34は、画像データを表示する表示パネルで構成され、図2の表示部25に対応する。同期信号生成部35は、表示部34を駆動するための同期信号を生成する。同期信号は、以下に示すように、垂直同期信号、水平同期信号、有効画像領域信号、ロックウインドウ信号等から構成される。
The
切換え制御部36は、同期信号生成部35により生成された信号の状態に応じて、映像スイッチ33がフレームバッファ32を介さない画像データと、フレームバッファ32を介した画像データのいずれかを選択すべきかを指示する信号を生成し、出力する。具体的には、入力周波数がフレームロック不可能な周波数の場合は、切換え制御部36は、フレームバッファリング3を介した画像を選択することを指示する信号を生成する。一方、入力周波数がフレームロック可能な周波数であるが、入出力周波数がフレームロックしていない場合は、切換え制御部36は、フレームバッファリング3を介した画像を選択することを指示する信号を生成する。また、入力周波数がフレームロック可能な周波数であるが、入出力周波数がフレームロックしている場合は、切換え制御部36は、フレームバッファ32を介さない画像を選択することを示す信号を生成する。切換え制御部36は、生成した信号を映像スイッチ33へ出力する。
According to the state of the signal generated by the synchronization
<フレームロックの動作(図4)>
次に、同期信号生成部35におけるフレームロックの制御について説明する。図4は、フレームロックの様子を示すタイミング図である。出力垂直同期信号40(出力Vsync)、有効画像領域信号41、及びロックウインドウ信号42は、同期信号生成部35により生成された信号である。このうち、出力垂直同期信号40(出力Vsync)は、出力される画像フレームの開始タイミングを示す。有効画像領域信号41は、有効な画像データが送出されるタイミングを示す。論理Hとなっている区間46が有効なタイミングを表わす。ロックウインドウ信号42は、フレームロックの機能で引込むべき所定の位相を示す。論理Hとなっている区間47がロック位相を表わす。このロック位相は、出力垂直同期信号40の周期によって決められる。入力垂直同期信号43〜44(入力Vsync)は、それぞれのケース(1)〜(2)において入力される画像フレームの開始タイミングを示す。
<Frame lock operation (FIG. 4)>
Next, frame lock control in the
第一のケースである入力垂直同期信号43の場合、入力Vsyncのパルス48は、ロック位相47から離れた位置にある。これは、フレームロックが外れた「引込み中」の状態であることを意味する。他方、入力Vsyncのパルス48は有効画像領域信号41の論理Hとなっている区間46と干渉する位置にある。フレームバッファ32を介さずに映像データを出力する構成の場合は、有効画像領域の前半と後半で異なるフレームの画像が表示されることになる。結果として、表示部34において、表示画面の上下でティアリングが発生した画像が表示される。
In the case of the input
第二のケースである入力垂直同期信号44の場合、入力Vsyncのパルス49はロック位相47の位置にある。これは、フレームロックが完了した「引込み完了」の状態であることを意味する。入力Vsyncのパルス49は有効画像領域信号41の論理Hとなっている区間46とは干渉していない。有効画像領域の全域で同じフレームの画像を表示できるので、表示画面にティアリングは発生しない。本実施形態の映像処理装置は、第二のケースのように、入力Vsyncを所定のロック位相47に引込んで表示を行なう。
In the case of the input
<同期信号生成部の構成(図1)>
図1は、同期信号生成部35の構成を示すブロック図である。本実施形態の同期信号生成部35は、出力Vsync(出力垂直同期信号)に対する入力Vsync(入力垂直同期信号)の移動量がフレームロック制御の補正量以下だった場合に「引込み可能」と判定する。そして、同期信号生成部35は、引込み可能で、かつ、入力Vsyncの位置がロックウインドウ(すなわち、ロック位相の区間)の中にある場合は「引込み完了」と判定する。以下、同期信号生成部35の具体的な処理について説明する。
<Configuration of Sync Signal Generation Unit (FIG. 1)>
FIG. 1 is a block diagram illustrating a configuration of the synchronization
入力同期信号入力部11は、映像入力部31から入力Vsyncを受信する。出力同期信号生成部12は、表示部34を駆動するための表示同期信号を生成する。フレームロック制御部13は出力同期信号生成部12と共に、前述したフレームロックの制御を行なう。フレームロック制御部13は、入力Vsyncと出力Vsyncのタイミングを検出して、該2つのタイミングの位相差を測り、該位相差に基づいて調整信号を生成し、出力同期信号生成部12へ出力する。出力同期信号生成部12は、入力された調整信号に基づいて、出力側の同期信号(表示同期信号)の周期を変更する。この周期の変更により、入力Vsyncをロック位相に引込むことが可能となる。出力同期信号生成部12は、出力側のフレーム当たりのライン数を所定の補正量だけ増減することにより、周期の変更を行なう。フレームロック制御部13は、測定した位相差に基づいて、または、引込みの完了判定部18から出力される引込み状態信号19に基づいて、フレームロック完了であることを判断することが可能である。
The input synchronization signal input unit 11 receives the input Vsync from the
位置検出部14は、出力Vsyncに対する入力Vsyncの位置を検出する。移動量検出部15は、位置検出部14により検出された位置を使用して、出力Vsyncに対する入力Vsyncの移動量を検出する。移動量検出部15は、前フレームにおける入力Vsyncの位置と、現フレームの入力Vsyncの位置の差分を算出することで移動量を検出する。引込みの可否判定部16は、移動量検出部15の結果から入力信号の引込みが可能かを判定する。可否判定部16は、フレームロック制御部13の補正量よりも移動量が小さい場合に「引込み可能」と判定し、それ以外の場合は「引込み不可」と判定する。可否判定部16は、入力信号が「引込み可能」な場合に、判定信号17として引込み可能を示すレベルの信号を切換え制御部36へ出力する。
The
引込みの完了判定部18は、入力Vsyncの位置がロックウインドウの中にあるか否かを判定する。完了判定部18は、入力Vsyncの位置がロックウインドウの中にある場合に「引込み完了」と判定し、それ以外の場合は「引込み中」と判定する。完了判定部18は、入力Vsyncの位置がロックウインドウの中にある場合に、引込み状態信号19として、「引込み完了」を示すレベルの信号を切換え制御部36へ出力する。また、完了判定部18は、入力Vsyncの位置がロックウインドウの中にない場合に、引込み状態信号19として、「引込み中」を示すレベルの信号を切換え制御部36へ出力する。
The pull-in
<引込み判定の動作例(図6)>
次に、図6を用いて、可否判定部16による引込み判定の動作例を説明する。図6は、入力Vsynの位置検出と移動量検出の様子を示すタイミング図である。フレーム#1において、入力Vsyncがタイミング60で発生したとする。この場合、位置検出部14は、出力Vsyncに対する入力Vsyncの位置として、位置61を計測する。続くフレーム#2において、入力Vsyncがタイミング62で発生したとする。この場合、位置検出部14は、出力Vsyncに対する入力Vsyncの位置として、位置63を計測する。移動量検出部15は、前フレームであるフレーム#1の位置61と現フレームであるフレーム#2の位置63の差分として、移動量64を算出する。可否判定部16は、補正量65と移動量64を比較して、引込み可能かを判定する。例えば、移動量が5ライン、補正量が8ラインであった場合は、移動量<補正量であるので、可否判定部16は「引込み可能」と判定する。
<Example of pull-in determination operation (FIG. 6)>
Next, an operation example of the pull-in determination performed by the
次に、完了判定部18は、入力Vsyncとロックウインドウとの位置関係を比較することで、引込み状態を判定する。入力Vsyncの位置がロックウインドウの左端66と右端67の間にある場合、完了判定部18は「引込み完了」と判定し、それ以外の場合に「引込み中」と判定する。図6の例では、入力Vsyncの位置63は、ロックウインドウ左端66よりも左にあるので、完了判定部18は「引込み中」と判定する。この場合、完了判定部18は、「引込み中」を示すレベルの信号を切換え制御部36へ出力する。切換え制御部36は、これを受けてフレームバッファリング3を介した画像を選択することを指示する信号を映像スイッチ33へ出力する。映像スイッチ33は、入力された信号に基づいて、フレームバッファ32を介した映像データを選択して出力する。この制御により、表示部34では、「フレームバッファリングモード」での表示、すなわち、フレームバッファ32を介した映像データの表示が行われる。
Next, the
一方、完了判定部18が、入力Vsyncが「引込み可能」で且つ「引込み完了」の位相にあると判定した場合、「引込み完了」を示すレベルの信号を切換え制御部36へ出力する。切換え制御部36は、これを受けてフレームバッファリング3を介さない画像を選択することを指示する信号を映像スイッチ33へ出力する。映像スイッチは、入力された信号に基づいて、フレームバッファ32を介さない映像データを選択して出力する。この制御により、表示部34では、「低遅延モード」での表示、すなわち、フレームバッファ32を介さない映像データの表示が行われる。
On the other hand, when the
<入力切換えの処理が行われた場合のタイミング(図5)>
図5は、ユーザによる入力切換え処理が行われた場合の様子を示すタイミング図である。入力切換え処理は、例えば、ユーザがUI上で入力ポートの切替えメニューを操作することで起動される。また、ユーザが入力ポートに接続されたケーブルを差し換えることで起動される。出力垂直同期信号50(出力Vsync)は、同期信号生成部35により生成され、判定信号51は可否判定部16により生成され、引込み状態信号52は、完了判定部18により生成される。遅延モード53は、表示部34に表示される映像データの表示モード(フレーム遅延モード(すなわちフレームバッファリングモード)または低遅延モード)を示す。
<Timing when input switching processing is performed (FIG. 5)>
FIG. 5 is a timing diagram showing a state when the input switching process is performed by the user. The input switching process is started, for example, when the user operates an input port switching menu on the UI. Moreover, it is activated when the user replaces the cable connected to the input port. The output vertical synchronization signal 50 (output Vsync) is generated by the synchronization
まず、タイミング54では、ユーザ操作による入力切換えの指示が発生する。同期信号生成部35で引込み処理が開始され、引込み状態信号52は「引込み中」のステータスになる。この間はフレームバッファ32を使用した「フレームバッファリングモード」で表示が行なわれる。
First, at timing 54, an input switching instruction is generated by a user operation. The pull-in process is started in the synchronization
並行して、可否判定部16により引込み可能かの判定処理が行なわれ、タイミング55で判定信号51が「引込み可能」のステータスになる。その後、フレームロック制御の結果として、タイミング57で引込みが完了する。区間58では、遅延モードはフレームバッファを使用しない「低遅延モード」に切換えられ、フレームバッファ32を介さないで表示が行なわれる。
At the same time, the
<入力切換えの制御の流れ(図7)>
次に、図7を参照して、入力切換えを行なう際の制御の流れを説明する。図7は、入力切換えが指示された場合の本実施形態による映像処理装置の制御を示すフローチャートである。ステップS100では、映像処理装置は、フレームバッファのモードを「フレームバッファリングモード」に設定する。映像処理装置は、入力Vsyncの初期の位相がどこにあるか分からないので、ティアリングが発生しないように、一律にフレームバッファリングモードにする。ステップS101では、映像処理装置は、移動量検出部15を駆動して、入力Vsyncの移動量を検出する。ステップS102では、映像処理装置は、入力Vsyncの移動量の検出結果を使用して引込みが可能か判定し、可能であれば処理をステップS103へ進め、不可能であれば処理を終了する。映像処理装置は、移動量がフレームロック機構の補正量よりも小さい場合に引込み可能と判定する。
<Flow of input switching control (FIG. 7)>
Next, with reference to FIG. 7, the flow of control when performing input switching will be described. FIG. 7 is a flowchart showing the control of the video processing apparatus according to the present embodiment when input switching is instructed. In step S100, the video processing apparatus sets the frame buffer mode to “frame buffering mode”. Since the video processing device does not know where the initial phase of the input Vsync is, it is set to the frame buffering mode uniformly so that tearing does not occur. In step S101, the video processing device drives the movement
ステップS103では、映像処理装置は、位置検出部14を駆動して、入力Vsyncの位置を検出する。ステップS104では、映像処理装置は、入力Vsyncの位置の検出結果を使用して引込みが完了したかを判定し、完了であれば処理をステップS105へ進め、未完了であればステップS103の処理を再度実行する。映像処理装置は、入力Vsyncの位置がロックウインドウ内にある場合に引込み完了と判定する。ステップS105では、映像処理装置は、フレームバッファのモードを「低遅延モード」に設定し、処理を終了する。以上の処理によって、入力Vsyncの引込み可能で、かつ、引込み完了している場合にのみ、映像処理装置は、「低遅延モード」に切り換えることができる。
In step S103, the video processing device drives the
結果として、引込み不可能な場合は、映像処理装置は、フレームバッファのモードを「フレームバッファリングモード」に設定することでティアリングを防ぐ。引込み可能であるが引込み未完了の場合は、映像処理装置は、フレームバッファリングモードで動作することでティアリングを防ぐ。引込み可能で且つ引込み完了の場合は、映像処理装置は、ティアリングが発生しないので、「低遅延モード」に設定する。 As a result, when the pull-in is impossible, the video processing apparatus prevents tearing by setting the frame buffer mode to “frame buffering mode”. When the pull-in is possible but the pull-in is not completed, the video processing apparatus prevents tearing by operating in the frame buffering mode. When the pull-in is possible and the pull-in is completed, the video processing apparatus sets “low delay mode” because tearing does not occur.
以上説明したように、本実施形態によれば、引込み位相にロックしたという判定をより速く行うことができる。これにより、ティアリングを防ぐための表示モード(フレームバッファリングモード)をより速く解除することが可能になる。 As described above, according to the present embodiment, it is possible to make a faster determination that the lock has been made to the pull-in phase. As a result, the display mode (frame buffering mode) for preventing tearing can be released more quickly.
[実施形態2]
本実施形態では、入力同期信号の周期がフレームロック制御の補正範囲内だった場合に「引込み可能」と判定する例を説明する。本実施形態の映像処理装置の構成は、前述の実施形態と同様であるので説明を省略する。
[Embodiment 2]
In the present embodiment, an example will be described in which “withdrawal is possible” is determined when the period of the input synchronization signal is within the correction range of the frame lock control. Since the configuration of the video processing apparatus according to the present embodiment is the same as that of the above-described embodiment, description thereof is omitted.
<同期信号生成部の構成(図8)>
図8は、本実施形態の同期信号生成部35の構成を示すブロック図である。前述の実施形態と同一の要素には同一の番号を付し、説明を省略する。本実施形態の同期信号生成部35は、実施形態1で説明した図1と比較して、移動量検出部15と可否判定部16を含まず、周期検出部81と可否判定部82を含む。
<Configuration of Sync Signal Generation Unit (FIG. 8)>
FIG. 8 is a block diagram illustrating a configuration of the synchronization
周期検出部81は、入力Vsyncの周期を計測する。入力Vsyncが来る毎に計測を開始し、直近の計測結果を保持しておく。可否判定部82は、入力Vsyncの周期の計測結果を使用して、入力Vsyncが引込み可能かを判定する。本実施形態のフレームロック制御では、入力Vsyncの周期が出力Vsyncの周期±補正量の範囲に入っている場合にのみ引込みが可能である。従って、ここでは、入力Vsyncの周期が出力Vsyncの周期−補正量と出力Vsyncの周期+補正量の範囲に入っている場合に、可否判定部82は、「引込み可能」と判定する。
The period detector 81 measures the period of the input Vsync. Measurement starts each time an input Vsync arrives, and the most recent measurement result is held. The
<引込み判定の動作例(図9)>
次に、図9を用いて、可否判定部82による引込み判定の動作例を説明する。図9は、入力Vsyncの位置検出と移動量検出の様子を示すタイミング図である。フレーム#1において、入力Vsyncがタイミング60で発生したとする。この場合、位置検出部14は、出力Vsyncに対する入力Vsyncの位置として、位置61を計測し、周期検出部81は、入力Vsyncの周期90の計測を開始する。フレーム#2において、入力Vsyncがタイミング62で発生したとする。この場合、位置検出部14は位置63を計測し、周期検出部81は、入力Vsyncの周期90の計測を終了する。可否判定部82は、出力Vsyncの周期±補正量と入力Vsyncの周期90を比較して、引込み可能かを判定する。
<Example of pull-in determination operation (FIG. 9)>
Next, an operation example of the pull-in determination by the
次に、完了判定部18は、入力Vsyncとロックウインドウとの位置関係を比較することで、引込み状態を判定する。完了判定部18は、入力Vsyncの位置がロックウインドウの左端66と右端67の間にある場合に「引込み完了」、それ以外の場合に「引込み中」と判定する。図9の例では、入力Vsyncの位置63は、ロックウインドウ左端66よりも左にあるので、完了判定部18は「引込み中」と判定する。このように、本実施形態によれば、実施形態1と同様の効果を得ることができる。
Next, the
本実施形態による映像処理装置は、上述の実施形態に限定されることなく、幅広く応用することができる。例えば、バッファリングモードの解除をより速く行う映像処理装置を提供することもできる。すなわち、入力Vsyncが「引込み中」の位相にある場合は、有効画像領域を外れていればティアリングによるノイズは発生しないので、この場合に映像処理装置は、バッファリングモードを解除することができる。また、上述の実施形態では、映像処理装置を例に説明したが、画像を加工して出力するような装置を用いてもよい。例えば、画像編集機やスキャンコンバータのような装置であってもよい。 The video processing apparatus according to the present embodiment is not limited to the above-described embodiment, and can be widely applied. For example, it is possible to provide a video processing device that releases the buffering mode faster. That is, when the input Vsync is in the “pull-in” phase, noise due to tearing does not occur if it is outside the effective image area. In this case, the video processing apparatus can cancel the buffering mode. In the above-described embodiment, the video processing apparatus has been described as an example. However, an apparatus that processes and outputs an image may be used. For example, an apparatus such as an image editor or a scan converter may be used.
[その他の実施形態]
本発明は、上述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサーがプログラムを読出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。
[Other Embodiments]
The present invention supplies a program that realizes one or more functions of the above-described embodiments to a system or apparatus via a network or a storage medium, and one or more processors in a computer of the system or apparatus read and execute the program This process can be realized. It can also be realized by a circuit (for example, ASIC) that realizes one or more functions.
11 入力同期信号入力部、 12 出力同期信号生成部、 13 フレームロック制御部、 14 位置検出部、 15 移動量検出部、 16 可否判定部、 17 判定信号、 18 完了判定部、 19 引込み状態信号、 31 映像入力部、 32 フレームバッファ、 33 映像スイッチ、 34 表示部、 35 同期信号生成部、 36 切換え制御部
11 input synchronization signal input unit, 12 output synchronization signal generation unit, 13 frame lock control unit, 14 position detection unit, 15 movement amount detection unit, 16 availability determination unit, 17 determination signal, 18 completion determination unit, 19 pull-in state signal, 31 video input unit, 32 frame buffer, 33 video switch, 34 display unit, 35 synchronization signal generation unit, 36 switching control unit
Claims (11)
前記入力同期信号のタイミングを前記出力同期信号の周期により決められる所定の位相の区間に引き込むことが可能か否かを判定する第1の判定手段と、
前記出力同期信号の周期を補正する補正手段と、
前記第1の判定手段により前記入力同期信号のタイミングを前記所定の位相の区間に引き込むことが可能と判定された場合、前記補正手段により前記出力同期信号の周期が補正された後に、前記入力同期信号のタイミングが前記所定の位相の区間に引き込まれたか否かを判定する第2の判定手段と、
を有することを特徴とする同期信号生成装置。 A synchronization signal generating device capable of changing the positional relationship between the timing of the input synchronization signal and the output synchronization signal by correcting the cycle of the output synchronization signal,
First determination means for determining whether or not the timing of the input synchronization signal can be drawn into a predetermined phase interval determined by a period of the output synchronization signal;
Correction means for correcting the period of the output synchronization signal;
When it is determined by the first determination means that the timing of the input synchronization signal can be drawn into the predetermined phase interval, the input synchronization signal is corrected after the period of the output synchronization signal is corrected by the correction means. Second determination means for determining whether or not the timing of the signal is drawn into the predetermined phase section;
A synchronization signal generating device comprising:
前記第1の判定手段は前記移動量に基づいて前記入力同期信号のタイミングを前記所定の位相の区間に引き込むことが可能か否かを判定することを特徴とする請求項1に記載の同期信号生成装置。 A movement amount detecting means for detecting a movement amount of the timing of the input synchronization signal with respect to the timing of the output synchronization signal;
2. The synchronization signal according to claim 1, wherein the first determination unit determines whether or not the timing of the input synchronization signal can be pulled into the predetermined phase section based on the movement amount. Generator.
前記第1の判定手段は、前記入力同期信号の周期に基づいて前記入力同期信号のタイミングを前記所定の位相の区間に引き込むことが可能か否かを判定することを特徴とする請求項1に記載の同期信号生成装置。 It further has period detection means for detecting the period of the input synchronization signal,
The said 1st determination means determines whether it is possible to pull in the timing of the said input synchronizing signal in the area of the said predetermined phase based on the period of the said input synchronizing signal. The synchronization signal generation device described.
前記入力同期信号のタイミングで入力された映像データをバッファリングするバッファと、
前記同期信号生成装置から受信した信号に基づいて、前記バッファを介した映像データまたは前記バッファを介さない映像データを選択する選択手段と、
前記選択手段により選択された映像データを前記出力同期信号のタイミングで表示する表示手段と、を含む映像処理装置であって、
前記選択手段は、前記同期信号生成装置から前記引込み中であることを示す信号を受信した場合に、前記バッファを介した映像データを選択することを特徴とする映像処理装置。 The synchronization signal generating device according to claim 6 or 7,
A buffer for buffering video data input at the timing of the input synchronization signal;
Selection means for selecting video data via the buffer or video data not via the buffer based on a signal received from the synchronization signal generating device;
Display means for displaying the video data selected by the selection means at the timing of the output synchronization signal,
The video processing apparatus, wherein the selection unit selects video data via the buffer when receiving a signal indicating that the pull-in is being performed from the synchronization signal generation apparatus.
前記入力同期信号のタイミングで入力された映像データをバッファリングするバッファと、
前記同期信号生成装置から受信した信号に基づいて、前記バッファを介した映像データまたは前記バッファを介さない映像データを選択する選択手段と、
前記選択手段により選択された映像データを前記出力同期信号のタイミングで表示する表示手段と、を含む映像処理装置であって、
前記選択手段は、前記同期信号生成装置から前記引込み完了であることを示す信号を受信した場合に、前記バッファを介さない映像データを選択することを特徴とする映像処理装置。 The synchronization signal generating device according to claim 6 or 7,
A buffer for buffering video data input at the timing of the input synchronization signal;
Selection means for selecting video data via the buffer or video data not via the buffer based on a signal received from the synchronization signal generating device;
Display means for displaying the video data selected by the selection means at the timing of the output synchronization signal,
The video processing apparatus, wherein the selection means selects video data not through the buffer when receiving a signal indicating that the pull-in is completed from the synchronization signal generation apparatus.
前記入力同期信号のタイミングを前記出力同期信号の周期により決められる所定の位相の区間に引き込むことが可能か否かを判定する第1の判定工程と、
前記出力同期信号の周期を補正する補正工程と、
前記第1の判定工程において前記入力同期信号のタイミングを前記所定の位相の区間に引き込むことが可能と判定された場合、前記補正工程において前記出力同期信号の周期が補正された後に、前記入力同期信号のタイミングが前記所定の位相の区間に引き込まれたか否かを判定する第2の判定工程と、
を有することを特徴とする同期信号生成方法。 A synchronization signal generation method for changing a positional relationship between timings of an input synchronization signal and the output synchronization signal by correcting a cycle of the output synchronization signal,
A first determination step of determining whether or not the timing of the input synchronization signal can be drawn into a predetermined phase interval determined by a period of the output synchronization signal;
A correction step of correcting the period of the output synchronization signal;
When it is determined in the first determination step that the timing of the input synchronization signal can be drawn into the predetermined phase interval, the input synchronization signal is corrected after the period of the output synchronization signal is corrected in the correction step. A second determination step of determining whether the timing of the signal is drawn into the predetermined phase interval;
A method for generating a synchronization signal, comprising:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2015043971A JP2016163334A (en) | 2015-03-05 | 2015-03-05 | Synchronous signal generation device, synchronous signal generation method, video processing apparatus and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2015043971A JP2016163334A (en) | 2015-03-05 | 2015-03-05 | Synchronous signal generation device, synchronous signal generation method, video processing apparatus and program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2016163334A true JP2016163334A (en) | 2016-09-05 |
Family
ID=56845689
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2015043971A Pending JP2016163334A (en) | 2015-03-05 | 2015-03-05 | Synchronous signal generation device, synchronous signal generation method, video processing apparatus and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2016163334A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2018194807A (en) * | 2017-05-17 | 2018-12-06 | 株式会社ソニー・インタラクティブエンタテインメント | Video output apparatus, conversion apparatus, video output method, and conversion method |
-
2015
- 2015-03-05 JP JP2015043971A patent/JP2016163334A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2018194807A (en) * | 2017-05-17 | 2018-12-06 | 株式会社ソニー・インタラクティブエンタテインメント | Video output apparatus, conversion apparatus, video output method, and conversion method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5917461A (en) | Video adapter and digital image display apparatus | |
JP3647338B2 (en) | Image signal resolution conversion method and apparatus | |
EP1998315A2 (en) | Resolution detecting circuit and method thereof | |
JP2003167545A (en) | Method for detecting abnormality of image display signal, and image display device | |
CN102376289A (en) | Display time sequence control circuit and method thereof | |
US8970631B2 (en) | Video display device | |
US9471960B2 (en) | Display apparatus and method of controlling the same | |
JP2016163334A (en) | Synchronous signal generation device, synchronous signal generation method, video processing apparatus and program | |
JP3214820B2 (en) | Digital image display | |
JP4017335B2 (en) | Video signal valid period detection circuit | |
EP1787190A1 (en) | Display apparatus and control method thereof | |
KR20160044144A (en) | Display device and operation method thereof | |
JP6128901B2 (en) | Video processing apparatus, control method therefor, timing generator, and synchronization signal generation method | |
US20120287133A1 (en) | Image processing apparatus and image processing method | |
JP2001083927A (en) | Display device and its driving method | |
US12002430B2 (en) | Display device and display control method | |
JP2014202865A (en) | Video processing apparatus, control method for video processing apparatus, and program | |
JP5077727B2 (en) | Video display device | |
KR100705835B1 (en) | detection apparatus and method for resolution | |
JPH10319913A (en) | Display device | |
JPWO2012120780A1 (en) | Video processing apparatus, video display apparatus using the same, and synchronization signal output method | |
JP2010050633A (en) | Video signal synchronization generating apparatus | |
JP2007058234A (en) | Display device for performing video scaling | |
KR20080032828A (en) | Image display device and control method of resolution using it | |
JP3515441B2 (en) | Display device |