JP2012199787A - Device and method for determining image format - Google Patents

Device and method for determining image format Download PDF

Info

Publication number
JP2012199787A
JP2012199787A JP2011062719A JP2011062719A JP2012199787A JP 2012199787 A JP2012199787 A JP 2012199787A JP 2011062719 A JP2011062719 A JP 2011062719A JP 2011062719 A JP2011062719 A JP 2011062719A JP 2012199787 A JP2012199787 A JP 2012199787A
Authority
JP
Japan
Prior art keywords
period
signal
image
vertical blanking
unit
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
Application number
JP2011062719A
Other languages
Japanese (ja)
Inventor
Teruyuki Furukawa
輝幸 古川
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.)
Renesas Electronics Corp
Original Assignee
Renesas Electronics Corp
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 Renesas Electronics Corp filed Critical Renesas Electronics Corp
Priority to JP2011062719A priority Critical patent/JP2012199787A/en
Publication of JP2012199787A publication Critical patent/JP2012199787A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Picture Signal Circuits (AREA)

Abstract

PROBLEM TO BE SOLVED: To prevent incorrect determination of an image format even when input timing of a horizontal synchronous signal and a vertical synchronous signal fluctuates.SOLUTION: An image format determination device includes: a field determination period measurement unit for measuring a predetermined period including a first vertical blanking period in a data enable signal, to generate first period information indicative of the measured period, and for measuring a predetermined period, including a second vertical blanking period in the data enable signal, after a predetermined number of vertical blanking periods from the first vertical blanking period, to generate second period information indicative of the measured period; and a format determination unit for comparing the period indicated by the first period information with the period indicated by the second period information, and according to the relationship of magnitude in the compared periods, for determining the image format displayed subsequent to the first vertical blanking period or the second vertical blanking period.

Description

本発明は、画像フォーマット判定装置及び画像フォーマット判定方法に関する。   The present invention relates to an image format determination device and an image format determination method.

画像表示装置では、ディスプレイの高解像度化に伴って、入力された画像をディスプレイの解像度にあわせてアップスケーリングするスケーラが必要になっている。ここで、画像表示装置は、例えば、PC(Personal Computer)モニタやディジタルテレビ等である。また、アップスケーリング後の画像に対して、高品位の画像を得るための画像処理をすることが必要になっている。高品位の画像を得るための画像処理とは、例えば、アップスケーリングの際に生じる画像のボケや劣化を改善する画像処理である。   In an image display device, a scaler that upscales an input image according to the resolution of the display is required as the resolution of the display increases. Here, the image display device is, for example, a PC (Personal Computer) monitor or a digital television. In addition, it is necessary to perform image processing for obtaining a high-quality image with respect to the image after upscaling. Image processing for obtaining a high-quality image is, for example, image processing for improving blurring and deterioration of an image that occurs during upscaling.

また、画像フォーマットは、1回のフレーム表示を1回の走査で行うプログレッシブと1回のフレーム表示を奇数ラインと偶数ラインの2回の走査で行うインタレースがある。インタレースは、動画を表示する際にちらつきを抑えられるが、静止画や文字を表示する際にちらつきやにじみが生じる。そのため、動画を表示することが多いテレビではインタレースを採用し、静止画や文字を表示することが多いPCモニタではプログレッシブを採用することが多い。インタレースは、1つのフレームを2つのフィールドField1及びField2に分けている。よって、インタレースとプログレッシブとを合わせると、合計3つのフォーマットがあることになる。このように、インタレースでは、2つのフィールドField1及びField2によって、1フレームの画像を表示する。それに対して、プログレッシブでは、フィールド数と、フレーム数が一致する。   The image format includes a progressive mode in which one frame display is performed by one scan and an interlace method in which one frame display is performed by two scans of odd lines and even lines. Interlace can suppress flickering when displaying moving images, but flickering and blurring occur when displaying still images and characters. Therefore, interlace is often used for televisions that often display moving images, and progressive is often used for PC monitors that often display still images and characters. In the interlace, one frame is divided into two fields Field1 and Field2. Therefore, when interlace and progressive are combined, there are a total of three formats. As described above, in the interlace, one frame image is displayed by the two fields Field1 and Field2. On the other hand, in progressive, the number of fields matches the number of frames.

プログレッシブ、インタレースのField1、及び、インタレースのField2の3つのフォーマットは、それぞれ、水平同期信号と垂直同期信号の位相差とVブランク期間の長さに特徴がある。Vブランク期間については、後に詳述するが、本実施の形態において、「Vブランク期間」とは、垂直ブランキング期間のうち、水平ブランキング期間分の長さの期間を除いた期間である。   The three formats of progressive, interlaced field 1 and interlaced field 2 are characterized by the phase difference between the horizontal synchronizing signal and the vertical synchronizing signal and the length of the V blank period, respectively. Although the V blank period will be described in detail later, in the present embodiment, the “V blank period” is a period excluding a period of the horizontal blanking period in the vertical blanking period.

プログレッシブでは、フレーム毎に水平同期信号と垂直同期信号の位相は揃っていて、Vブランク期間も一定である。これは、プログレッシブでは、水平ブランキング期間及び垂直ブランキング期間が一定であるからである。   In the progressive mode, the horizontal sync signal and the vertical sync signal are in phase for each frame, and the V blank period is also constant. This is because in the progressive mode, the horizontal blanking period and the vertical blanking period are constant.

インタレースでは、フィールド毎に水平同期信号と垂直同期信号の位相が揃ったフィールド(以下、「Field1」とする)と、フィールド毎に水平同期信号と垂直同期信号の位相が1/2ライン分ずれたフィールド(以下、「Field2」とする)の2つのフィールドが交互し、Vブランク期間は1ライン分だけ長さが異なる2つのフィールドが交互する。Field1は、水平同期信号と垂直同期信号の位相は揃っていて、Vブランク期間はField2より1ライン分短い。Field2は、水平同期信号と垂直同期信号の位相が1/2ライン分ずれていて、Vブランク期間はField1より1ライン分長い。これは、インタレースでは、水平ブランキング期間は一定であるが、垂直ブランキング期間は1ライン分だけ長さが異なるものが交互するからである。   In interlace, a field (hereinafter referred to as “Field 1”) in which the phase of the horizontal synchronizing signal and the vertical synchronizing signal are aligned for each field, and the phase of the horizontal synchronizing signal and the vertical synchronizing signal are shifted by 1/2 line for each field. 2 fields (hereinafter referred to as “Field2”) alternate, and in the V blank period, two fields having different lengths by one line alternate. In Field1, the horizontal synchronizing signal and the vertical synchronizing signal are in phase, and the V blank period is shorter than Field2 by one line. In Field 2, the phase of the horizontal synchronizing signal and that of the vertical synchronizing signal are shifted by ½ line, and the V blank period is longer by one line than Field 1. This is because, in interlace, the horizontal blanking period is constant, but the vertical blanking periods are alternately different in length by one line.

スケーラは、入力された画像をアップスケーリングするので、出力画像の解像度に合わせて、水平同期周波数と垂直同期周波数とピクセル周波数を変化させる。しかし、近年の低価格化の要求の増大に伴って、限られたバッファ容量と簡易な処理でアップスケーリングを実現しているため、出力画像の一部分で解像度に合った水平同期周波数と垂直同期周波数を満たしていないことが見られるようになった。画像の解像度にあった水平同期周波数や垂直同期周波数を満たしていないことは、水平同期信号や垂直同期信号が、所望のタイミングとずれていることを意味する。この水平同期信号や垂直同期信号のタイミングのずれは、スケーラのアップスケーリングの方法と画像の拡大率に依存して発生する。そのため、スケーラから出力される画像の水平同期信号や垂直同期信号のタイミングは、ばらつくことになる。   Since the scaler upscales the input image, the horizontal synchronization frequency, the vertical synchronization frequency, and the pixel frequency are changed in accordance with the resolution of the output image. However, as the demand for lower prices has increased in recent years, upscaling has been realized with limited buffer capacity and simple processing, so the horizontal and vertical synchronization frequencies that match the resolution of a part of the output image It can be seen that it does not meet. The fact that the horizontal synchronization frequency and the vertical synchronization frequency suitable for the image resolution are not satisfied means that the horizontal synchronization signal and the vertical synchronization signal are shifted from the desired timing. The timing difference between the horizontal synchronization signal and the vertical synchronization signal occurs depending on the scaler upscaling method and the image enlargement ratio. Therefore, the timing of the horizontal synchronization signal and the vertical synchronization signal of the image output from the scaler varies.

画像フォーマットに応じて画像処理内容を変更する必要があるため、スケーラによってアップスケーリングされた画像を画像処理するとき、水平同期信号や垂直同期信号のタイミングにばらつきがあっても、画像フォーマットを正確に判定することが不可欠である。   Since it is necessary to change the image processing contents according to the image format, when processing the image upscaled by the scaler, the image format can be accurately adjusted even if the timing of the horizontal and vertical sync signals varies. It is essential to judge.

特許文献1には、同期信号の入力タイミングがばらついても、安定したフィールド判別を行うことが可能で、回路サイズの増大も抑制されるフィールド判別回路を提供することを目的とした技術が開示されている。   Patent Document 1 discloses a technique for providing a field discriminating circuit that can perform stable field discriminating even when the input timing of a synchronization signal varies and suppresses an increase in circuit size. ing.

特許文献1に開示のフィールド判別回路について、図7〜図9を参照して説明する。図7及び図8は、フィールド判別回路の構成を示すブロック図である。図9は、フィールド判別回路の動作を示す波形図である。   The field discrimination circuit disclosed in Patent Document 1 will be described with reference to FIGS. 7 and 8 are block diagrams showing the configuration of the field discrimination circuit. FIG. 9 is a waveform diagram showing the operation of the field discrimination circuit.

フィールド判別回路100は、入力端子101から垂直同期信号VDが入力され、入力端子102から水平同期信号HDが入力される。垂直同期信号VDは、インバータ103で反転されて、遅延部104で遅延されて、遅延信号VDDELとして、VD信号微分パルス作成部105及びフィールド判別信号極性規定部106に入力される。   The field determination circuit 100 receives a vertical synchronization signal VD from an input terminal 101 and a horizontal synchronization signal HD from an input terminal 102. The vertical synchronization signal VD is inverted by the inverter 103, delayed by the delay unit 104, and input to the VD signal differential pulse creation unit 105 and the field determination signal polarity defining unit 106 as the delayed signal VDDEL.

VD信号微分パルス作成部105は、遅延信号VDDELの片エッジに対応するVD信号微分パルスVBIBUNを作成する。フィールド判別信号極性規定部106には、遅延信号VDDELとともに、入力端子102より水平同期信号HDが入力され、遅延信号VDDELの片エッジに対応する微分パルスFBIBUNを作成する。微分パルスFBIBUNは、遅延信号VDDELのタイミングで水平同期信号HDのHレベル又はLレベルをサンプリングすることにより作成される。   The VD signal differential pulse creation unit 105 creates a VD signal differential pulse VBIBUN corresponding to one edge of the delayed signal VDDEL. The field discrimination signal polarity defining unit 106 receives the horizontal synchronization signal HD from the input terminal 102 together with the delay signal VDDEL, and creates a differential pulse FBIBUN corresponding to one edge of the delay signal VDDEL. The differential pulse FBIBUN is generated by sampling the H level or L level of the horizontal synchronization signal HD at the timing of the delay signal VDDEL.

VD信号微分パルス作成部105が出力するVD信号微分パルスVBIBUN、及び、フィールド判別信号極性規定部106が出力する微分パルスFBIBUNは、フィールド判別安定化部107に入力される。フィールド判別安定化部107は、VD信号微分パルスVBIBUNに基づいてフィールド判別信号FIELDを作成して、出力端子108から出力する。フィールド判別安定化部107は、微分パルスFBIBUNに基づいてフィールド判別信号の極性を規定する。   The VD signal differential pulse VBIBUN output from the VD signal differential pulse creation unit 105 and the differential pulse FBIBUN output from the field discrimination signal polarity defining unit 106 are input to the field discrimination stabilization unit 107. The field discrimination stabilization unit 107 creates a field discrimination signal FIELD based on the VD signal differential pulse VBIBUN and outputs it from the output terminal 108. The field discrimination stabilization unit 107 defines the polarity of the field discrimination signal based on the differential pulse FBIBUN.

図8は、フィールド判別回路のより具体的な構成を示す。VD信号微分パルス作成部105は、第1Dフリップフロップ110及び第2Dフリップフロップ111からなる。フィールド判別信号極性規定部106は、インバータ115、第3Dフリップフロップ112、及び、第4Dフリップフロップ113からなる。フィールド判別安定化部107は、Tフリップフロップ114からなる。   FIG. 8 shows a more specific configuration of the field discrimination circuit. The VD signal differential pulse generator 105 includes a first D flip-flop 110 and a second D flip-flop 111. The field discrimination signal polarity defining unit 106 includes an inverter 115, a third D flip-flop 112, and a fourth D flip-flop 113. The field discrimination stabilization unit 107 includes a T flip-flop 114.

第1Dフリップフロップ110は、データ入力が電源電位に固定され、クロックに遅延部104から遅延信号VDDELが入力される。第1Dフリップフロップ110のQ出力は、第2Dフリップフロップ111のデータに入力される。第2Dフリップフロップ111のクロックには、水平同期信号HDがインバータ115により反転された信号が入力される。第2Dフリップフロップ111のNQ出力であるVD信号微分パルスVBIBUNが、第1Dフリップフロップ110のリセット端子、Tフリップフロップ114のクロック端子、及び、第4Dフリップフロップ113のリセット端子に入力される。   In the first D flip-flop 110, the data input is fixed to the power supply potential, and the delay signal VDDEL is input from the delay unit 104 to the clock. The Q output of the first D flip-flop 110 is input to the data of the second D flip-flop 111. A signal obtained by inverting the horizontal synchronization signal HD by the inverter 115 is input to the clock of the second D flip-flop 111. The VD signal differential pulse VBIBUN, which is the NQ output of the second D flip-flop 111, is input to the reset terminal of the first D flip-flop 110, the clock terminal of the T flip-flop 114, and the reset terminal of the fourth D flip-flop 113.

第3Dフリップフロップ112には、遅延部104からの遅延信号VDDELがクロックとして入力される。データには、インバータ15から水平同期信号HDの反転信号が入力される。第3Dフリップフロップ112のQ出力より、フィールド判別信号FIELDの前段階の信号FIELDPが出力される。第4Dフリップフロップ113は、データ入力が電源電位に固定されており、そのクロックには、信号FIELDPが入力される。第4Dフリップフロップ113のNQ出力から出力された微分パルスFBIBUNは、Tフリップフロップ114のリセットに入力される。Tフリップフロップ114は、Q出力に出力端子108が接続されており、フィールド判別信号FIELDを出力している。   The 3D flip-flop 112 receives the delay signal VDDEL from the delay unit 104 as a clock. An inverted signal of the horizontal synchronizing signal HD is input from the inverter 15 to the data. From the Q output of the third D flip-flop 112, the signal FIELDP in the previous stage of the field discrimination signal FIELD is output. The data input of the fourth D flip-flop 113 is fixed to the power supply potential, and the signal FIELDP is input to the clock. The differential pulse FBIBUN output from the NQ output of the fourth D flip-flop 113 is input to the reset of the T flip-flop 114. The T flip-flop 114 is connected to the output terminal 108 at the Q output, and outputs a field discrimination signal FIELD.

以上のように構成されたフィールド判別回路の詳細な動作について、図8及び図9を参照して説明する。   Detailed operation of the field discriminating circuit configured as described above will be described with reference to FIGS.

まず、垂直同期信号VDをインバータ103で反転された信号が遅延部104に入力され、t1だけ遅延されて、遅延信号VDDELとして出力される。この遅延信号VDDELは、第3Dフリップフロップ112にクロックとして入力される。水平同期信号HDをインバータ15で反転した信号は、第3Dフリップフロップ112にデータとして入力される。   First, a signal obtained by inverting the vertical synchronization signal VD by the inverter 103 is input to the delay unit 104, delayed by t1, and output as the delay signal VDDEL. This delay signal VDDEL is input to the third D flip-flop 112 as a clock. A signal obtained by inverting the horizontal synchronization signal HD by the inverter 15 is input to the third D flip-flop 112 as data.

1フィールドに1回到来する遅延信号VDDELの立ち上がりエッジで、第1フィールドでは水平同期信号HDのLの部分、第2フィールドでは水平同期信号HDのHの部分をサンプリングする。これによって、1フィールド毎に1回反転する、フィールド判別信号FIELDの前段階の信号FIELDPが出力される。ここで遅延信号VDDELの立ち上がりエッジで、水平同期信号HDのHの部分及びLの部分を取り込むために、遅延部104で垂直同期信号VDをt1だけ遅延させて、第3Dフリップフロップ112のクロック(遅延信号VDDEL)に対するデータのセットアップ時間を稼いでいる。   At the rising edge of the delay signal VDDEL that arrives once in one field, the L portion of the horizontal synchronizing signal HD is sampled in the first field, and the H portion of the horizontal synchronizing signal HD is sampled in the second field. As a result, a signal FIELDP in the previous stage of the field discrimination signal FIELD which is inverted once every field is output. Here, in order to capture the H portion and L portion of the horizontal synchronization signal HD at the rising edge of the delay signal VDDEL, the delay portion 104 delays the vertical synchronization signal VD by t1, and the clock of the third D flip-flop 112 ( Data setup time for the delay signal VDDEL) is gained.

一方、第1Dフリップフロップ110のクロックには、遅延信号VDDELが入力される。これによって、遅延信号VDDELの立ち上がりエッジで電源電位のHが取り込まれる。その取り込まれた電源電位のHのデータが、次の第2Dフリップフロップ111のデータ入力になる。第2Dフリップフロップ111には、データに入力されている第1Dフリップフロップ110のQ出力がHに移行した後に、クロック入力に水平同期信号HDの反転信号の立ち上がりエッジが到来し、Hを取り込んでVD信号微分パルスVBIBUNとして出力する。それにより、第1Dフリップフロップ110がリセットされる。すなわち、第1Dフリップフロップ110のQ出力である信号は、第2Dフリップフロップ111がデータを取り込んだ瞬間Lに移行する。そのため、第1Dフリップフロップ110のクロック入力に、遅延信号VDDELの次の立ち上がりエッジが到来するまで、第2Dフリップフロップ111はデータHを保持する。ここで、VD信号微分パルスVBIBUNはNQ出力なので、1フィールドに1回の負極パルスとして垂直同期信号VDの微分パルスが得られる。   On the other hand, the delay signal VDDEL is input to the clock of the first D flip-flop 110. As a result, the power supply potential H is captured at the rising edge of the delay signal VDDEL. The fetched H data of the power supply potential becomes the data input of the next second D flip-flop 111. The second D flip-flop 111 receives the rising edge of the inverted signal of the horizontal synchronizing signal HD at the clock input after the Q output of the first D flip-flop 110 input to the data shifts to H, and captures H. Output as a VD signal differential pulse VBIBUN. Thereby, the first D flip-flop 110 is reset. That is, the signal that is the Q output of the first D flip-flop 110 shifts to the moment L when the second D flip-flop 111 takes in the data. Therefore, the second D flip-flop 111 holds the data H until the next rising edge of the delay signal VDDEL arrives at the clock input of the first D flip-flop 110. Here, since the VD signal differential pulse VBIBUN is an NQ output, a differential pulse of the vertical synchronizing signal VD is obtained as a negative pulse once per field.

このVD信号微分パルスVBIBUNをTフリップフロップ114にクロックとして入力する。VD信号微分パルスVBIBUNの立ち上がりエッジを1/2分周した信号が、フィールド判別信号FIELDとして出力端子108より出力される。   This VD signal differential pulse VBIBUN is input to the T flip-flop 114 as a clock. A signal obtained by dividing the rising edge of the VD signal differential pulse VBIBUN by ½ is output from the output terminal 108 as the field discrimination signal FIELD.

また、第4Dフリップフロップ113では、クロックに、第3Dフリップフロップ112から信号FIELDPが入力され、リセット端子に、第2Dフリップフロップ111からVD信号微分パルスVBIBUNが入力される。この第4Dフリップフロップ113は、2フィールドに1回到来する信号FIELDPの立ち上がりで電源電位のHをサンプリングし、その後にVD信号微分パルスVBIBUNがLに移行することによってリセットされる。したがって、第4Dフリップフロップ113は、2フィールドに1回Lが到来する微分パルスFBIBUNを出力する。この微分パルスFBIBUNを、Tフリップフロップ114のリセット端子に入力する。これによって、VD信号微分パルスVBIBUNの立ち上がりによってフィールド判別信号FIELDを作成する前に、微分パルスFBIBUNのL期間によりフィールド判別信号FIELDをリセットする。よって、第1フィールドの極性がHに規定される。   In the fourth D flip-flop 113, the signal FIELDP is input from the third D flip-flop 112 to the clock, and the VD signal differential pulse VBIBUN is input from the second D flip-flop 111 to the reset terminal. The fourth D flip-flop 113 samples the power supply potential H at the rising edge of the signal FIELDP that arrives once in two fields, and is then reset when the VD signal differential pulse VBIBUN shifts to L. Accordingly, the fourth D flip-flop 113 outputs a differential pulse FBIBUN in which L arrives once in two fields. This differential pulse FBIBUN is input to the reset terminal of the T flip-flop 114. As a result, the field determination signal FIELD is reset by the L period of the differential pulse FBIBUN before the field determination signal FIELD is generated by the rise of the VD signal differential pulse VBIBUN. Therefore, the polarity of the first field is defined as H.

しかし、特許文献1に開示の技術では、垂直同期信号VDの遅延信号VDDELの立ち上がりエッジで、水平同期信号HDのHの部分及びLの部分をサンプリングするための遅延部104の遅延量が適切でないと、ビデオ信号の水平同期信号と垂直同期信号との入力タイミングがばらついたときに第1フィールドの極性をHレベルに規定できず、フィールド判別結果を誤判定する場合があるという問題がある。   However, in the technique disclosed in Patent Document 1, the delay amount of the delay unit 104 for sampling the H portion and the L portion of the horizontal synchronization signal HD at the rising edge of the delay signal VDDEL of the vertical synchronization signal VD is not appropriate. In addition, when the input timing of the horizontal synchronizing signal and the vertical synchronizing signal of the video signal varies, there is a problem that the polarity of the first field cannot be defined to H level and the field discrimination result may be erroneously determined.

しかし、水平同期信号と垂直同期信号との入力タイミングのばらつき方又はばらつき度合いは、スケーラのアップスケーリングの方式や拡大率の変化によってフィールド毎に異なる。また、そもそも入力端子101の垂直同期信号VDおよび入力端子102の水平同期信号HDに接続する機器が未定のためにばらつき方又はばらつき度合いがわからない場合がある。さらに、サンプリングタイミングの調整量がフィールド毎に異なると、全てのフィールドに対して一意な遅延量でサンプリングタイミングを調整できるとは限らない。そのため、垂直同期信号VDの遅延信号VDDELの立ち上がりエッジで、水平同期信号HDのHの部分及びLの部分をサンプリングするための遅延部104の遅延量を適切な値に決定することができないという問題もある。   However, the variation or degree of variation in the input timing of the horizontal synchronization signal and the vertical synchronization signal differs from field to field depending on the scaler upscaling method and the change in magnification. In the first place, since the devices connected to the vertical synchronization signal VD of the input terminal 101 and the horizontal synchronization signal HD of the input terminal 102 are not yet determined, there are cases where the variation method or the variation degree is unknown. Furthermore, if the adjustment amount of the sampling timing is different for each field, it is not always possible to adjust the sampling timing with a unique delay amount for all fields. Therefore, the delay amount of the delay unit 104 for sampling the H portion and the L portion of the horizontal synchronization signal HD cannot be determined to an appropriate value at the rising edge of the delay signal VDDEL of the vertical synchronization signal VD. There is also.

遅延部104の遅延量が適切でないと、第1フィールドにもかかわらず、遅延信号VDDELの立ち上がりエッジで、水平同期信号HDのHの部分をサンプリングしてしまう。第1フィールドで水平同期信号HDのHの部分をサンプリングすると、信号FEILDPはLレベルのままとなるので、微分パルスFBIBUNはHレベルのままになる。微分パルスFBIBUNがHレベルのままだと、フィールド判別信号FIELDがリセットされなくなり、第1フィールドの極性をHに規定できなくなってしまう。したがって、フィールド判別結果を誤判定してしまう。   If the delay amount of the delay unit 104 is not appropriate, the H portion of the horizontal synchronization signal HD is sampled at the rising edge of the delay signal VDDEL regardless of the first field. When the H portion of the horizontal synchronization signal HD is sampled in the first field, the signal FEILDP remains at the L level, so that the differential pulse FBIBUN remains at the H level. If the differential pulse FBIBUN remains at the H level, the field determination signal FIELD is not reset, and the polarity of the first field cannot be defined as H. Therefore, the field determination result is erroneously determined.

同様に、第2フィールドにおいて、水平同期信号と垂直同期信号との入力タイミングがばらつくと、第2フィールドにもかかわらず、遅延信号VDDELの立ち上がりエッジで、水平同期信号HDのLの部分をサンプリングしてしまう。第2フィールドで水平同期信号HDのLの部分をサンプリングすると、信号FEILDPはHレベルになるので、微分パルスFBIBUNはLレベルになる。微分パルスFBIBUNがLレベルになるので、フィールド判別信号FIELDがリセットされてしまい、第2フィールドであるにもかかわらず、極性をHに規定してしまう。したがって、フィールド判別結果を誤判定してしまう。   Similarly, if the input timing of the horizontal synchronization signal and the vertical synchronization signal varies in the second field, the L portion of the horizontal synchronization signal HD is sampled at the rising edge of the delay signal VDDEL regardless of the second field. End up. When the L portion of the horizontal synchronizing signal HD is sampled in the second field, the signal FEILDP becomes H level, so that the differential pulse FBIBUN becomes L level. Since the differential pulse FBIBUN becomes the L level, the field determination signal FIELD is reset, and the polarity is defined to be H regardless of the second field. Therefore, the field determination result is erroneously determined.

特許文献2には、ビデオ信号のソースや、位相差検出回路の遅延又はノイズ等による誤判定を防止することを目的としたフィールド判定方式が開示されている。特許文献2に開示のフィールド判定方式は、抽出回路、位相差検出回路、前回検出結果保持回路、及び、フィールド判定手段を有する。抽出回路は、ビデオ信号から水平同期信号及び垂直同期信号を抽出する。位相差検出回路は、抽出回路が抽出した垂直同期信号及び水平同期信号の位相差を検出する。前回検出結果保持回路は、位相差検出回路による前回の位相差検出結果を保持する。フィールド判定手段は、位相差検出回路による今回の位相差検出結果と、前記検出結果保持回路に保持された前回の位相差検出結果と、前回の判定結果に基づいて論理的に判断を行って現在のフィールドの奇、偶を判定する。   Patent Document 2 discloses a field determination method for the purpose of preventing erroneous determination due to a delay of a video signal source, a phase difference detection circuit, noise, or the like. The field determination method disclosed in Patent Document 2 includes an extraction circuit, a phase difference detection circuit, a previous detection result holding circuit, and field determination means. The extraction circuit extracts a horizontal synchronization signal and a vertical synchronization signal from the video signal. The phase difference detection circuit detects a phase difference between the vertical synchronization signal and the horizontal synchronization signal extracted by the extraction circuit. The previous detection result holding circuit holds the previous phase difference detection result by the phase difference detection circuit. The field determination means logically makes a determination based on the current phase difference detection result by the phase difference detection circuit, the previous phase difference detection result held in the detection result holding circuit, and the previous determination result. Judgment of odd or even of the field.

特許文献3には、等化パルス等の通常の水平同期信号と異なる周期のパルスが入っている複合タイプの水平同期信号が入力された場合でも分周比の再設定等の複雑な処理をすることなく安定なインタレース判別及びフィールド判別を行うことを目的とした映像表示装置が開示されている。特許文献3に開示の映像表示装置は、周波数測定手段、ゲート水平同期信号生成手段、及び、インタレース判別及びフィールド判別手段を有する。周波数測定手段は、垂直同期信号の立ち上がり時間から予め設定した遅延時間後の異周期パルス列が存在しない期間に水平同期信号の周期を測定し、測定値である水平同期信号周期を出力する。ゲート水平同期信号生成手段は、水平同期信号周期に基づき、水平同期信号をフィルタリングして異周期パルス列の信号を除去したゲート水平同期信号を生成する。インタレース判別及びフィールド判別手段は、ゲート水平同期信号に基づき、インタレース判別信号とフィールド判別信号を生成する。   In Patent Document 3, complicated processing such as resetting of the frequency division ratio is performed even when a composite type horizontal synchronizing signal including a pulse having a period different from that of a normal horizontal synchronizing signal such as an equalized pulse is input. There has been disclosed a video display device intended to perform stable interlace discrimination and field discrimination without any problems. The video display device disclosed in Patent Document 3 includes a frequency measurement unit, a gate horizontal synchronization signal generation unit, and an interlace discrimination and field discrimination unit. The frequency measuring means measures the period of the horizontal synchronizing signal during a period in which there is no different period pulse train after a preset delay time from the rising time of the vertical synchronizing signal, and outputs a horizontal synchronizing signal period as a measured value. The gate horizontal synchronizing signal generating means generates a gate horizontal synchronizing signal obtained by filtering the horizontal synchronizing signal and removing the signal of the different period pulse train based on the horizontal synchronizing signal period. The interlace discrimination and field discrimination means generates an interlace discrimination signal and a field discrimination signal based on the gate horizontal synchronization signal.

特許文献4には、入力映像信号の水平同期信号の周期に関わらず、フィールド種別判別を行うことを目的としたフィールド種別判別装置が開示されている。特許文献4に開示のフィールド種別判別装置は、遅延回路、周波数計測回路、マイクロコンピュータ、及び、フィールド種別判別回路を有する。遅延回路は、入力映像信号の垂直同期信号を遅延させる。周波数計測回路は、入力映像信号の水平同期信号を遅延させる。マイクロコンピュータは、周波数計測回路が計測した水平同期信号の周波数に基づいて、遅延回路の遅延時間を制御する。フィールド種別判別回路は、遅延回路から出力された垂直同期信号と、入力映像信号の水平同期信号に同期した信号との位相関係に基づいて、フィールド種別を判別する。   Patent Document 4 discloses a field type discrimination device for the purpose of performing field type discrimination regardless of the period of the horizontal synchronizing signal of the input video signal. The field type determination device disclosed in Patent Document 4 includes a delay circuit, a frequency measurement circuit, a microcomputer, and a field type determination circuit. The delay circuit delays the vertical synchronization signal of the input video signal. The frequency measurement circuit delays the horizontal synchronization signal of the input video signal. The microcomputer controls the delay time of the delay circuit based on the frequency of the horizontal synchronizing signal measured by the frequency measuring circuit. The field type determination circuit determines the field type based on the phase relationship between the vertical synchronizing signal output from the delay circuit and the signal synchronized with the horizontal synchronizing signal of the input video signal.

特許文献5には、回路構成が比較的簡易でかつ回路規模が小さく、復号映像信号から奇数フィールド及び偶数フィールドを安定して判別することを目的としたフィールド判定回路が開示されている。特許文献5に開示のフィールド判定回路は、同期分離回路、遅延回路、単安定マルチバイブレータ回路、シフトレジスタ回路、及び、判定回路を有する。同期分離回路は、入力された複合映像信号から複合同期信号を分離する。遅延回路は、同期分離回路によって分離された複合同期信号の立ち下がりエッジから一定時間遅延した立ち上がりを有するシフトクロック信号を発生する。シフトレジスタは、複号同期信号を遅延回路からのシフトクロック信号の立ち上がり毎に取り込み、シフトを行ってシフトレジスタ出力を得る。判定回路は、シフトレジスタで得たシフトレジスタ出力をマルチバイブレータ回路からの保持クロック信号によって保持する。判定回路は、シフトレジスタ出力から異なるビットパターンを検出し、検出結果に基づいて、複号映像信号の奇数フィールドと偶数フィールドとを判定する。   Patent Document 5 discloses a field determination circuit that has a relatively simple circuit configuration and a small circuit scale, and aims to stably determine odd and even fields from a decoded video signal. The field determination circuit disclosed in Patent Document 5 includes a synchronization separation circuit, a delay circuit, a monostable multivibrator circuit, a shift register circuit, and a determination circuit. The sync separator circuit separates the composite sync signal from the input composite video signal. The delay circuit generates a shift clock signal having a rising edge delayed by a certain time from the falling edge of the composite synchronizing signal separated by the synchronizing separation circuit. The shift register takes in the decoded synchronization signal at every rising edge of the shift clock signal from the delay circuit, and shifts to obtain a shift register output. The determination circuit holds the shift register output obtained by the shift register by the holding clock signal from the multivibrator circuit. The determination circuit detects different bit patterns from the output of the shift register, and determines an odd field and an even field of the decoded video signal based on the detection result.

特許文献6には、ビデオ信号の垂直帰線期間内のノイズの混入の影響を受けることなく、確実にフィールド判定が行えるようにすることを目的としたフィールド判定装置が開示されている。特許文献6に開示のフィールド判定装置は、同期分離手段、水平同期デューティ比変更部、垂直同期遅延回路、及び、フィールド判定部を有する。同期分離手段は、ビデオ信号から水平同期信号及び垂直同期信号を分離する。水平同期デューティ比変更部は、同期分離手段で得られた水平同期信号のデューティ比を変更する。垂直同期遅延回路は、同期分離手段で得られた垂直同期信号を所定時間だけ遅延させる。フィールド判定部は、遅延回路で遅延された垂直同期信号の立ち上がりにおけるデューティ比変更後の水平同期信号のレベルに応じてビデオ信号が奇数フィールドか偶数フィールドかを判定する。   Patent Document 6 discloses a field determination device for the purpose of reliably performing field determination without being affected by noise mixed in a vertical blanking period of a video signal. The field determination device disclosed in Patent Document 6 includes synchronization separation means, a horizontal synchronization duty ratio changing unit, a vertical synchronization delay circuit, and a field determination unit. The synchronization separation means separates the horizontal synchronization signal and the vertical synchronization signal from the video signal. The horizontal synchronization duty ratio changing unit changes the duty ratio of the horizontal synchronization signal obtained by the synchronization separation unit. The vertical synchronization delay circuit delays the vertical synchronization signal obtained by the synchronization separation means by a predetermined time. The field determination unit determines whether the video signal is an odd field or an even field according to the level of the horizontal synchronization signal after the duty ratio is changed at the rising edge of the vertical synchronization signal delayed by the delay circuit.

しかし、特許文献2〜6は、本願発明のように、イネーブル信号に基づいて画像フォーマットを判定することで、水平同期信号と垂直同期信号の入力タイミングがばらついたときであっても、画像フォーマットの誤判定を防止することができるようにする技術を開示したものではない。   However, Patent Documents 2 to 6 determine the image format based on the enable signal as in the present invention, so that even if the input timing of the horizontal synchronization signal and the vertical synchronization signal varies, It does not disclose a technique that can prevent erroneous determination.

特開2007−082134号公報JP 2007-082134 A 特開平05−037809号公報JP 05-037809 A 特開2002−354288号公報JP 2002-354288 A 特開2002−051233号公報JP 2002-051233 A 特開2001−245176号公報JP 2001-245176 A 特開2000−324359号公報JP 2000-324359 A

以上に説明したように、特許文献1に開示の技術では、水平同期信号と垂直同期信号の入力タイミングがばらついたときに、画像フォーマットを誤判定してしまうという問題がある。   As described above, the technique disclosed in Patent Document 1 has a problem that the image format is erroneously determined when the input timing of the horizontal synchronization signal and the vertical synchronization signal varies.

本発明の第1の態様にかかる画像フォーマット判定装置は、映像信号によって表示される画像のフォーマットを判定する画像フォーマット判定装置であって、前記映像信号において、前記画像が表示される有効表示期間と、前記画像が表示されない水平ブランキング期間及び垂直ブランキング期間のいずれかとなるブランキング期間と、を示すデータイネーブル信号において、第1の垂直ブランキング期間を含む所定の期間を計測し、計測した期間を示す第1の期間情報を生成するとともに、前記データイネーブル信号において、前記第1の垂直ブランキング期間から所定の垂直ブランキング期間数後の第2の垂直ブランキング期間を含む前記所定の期間を計測し、計測した期間を示す第2の期間情報を生成するフィールド判定期間計測部と、前記第1の期間情報が示す期間と、前記第2の期間情報が示す期間とを比較し、比較した期間の大小関係に応じて、前記第1の垂直ブランキング期間又は前記第2の垂直ブランキング期間に続いて表示される画像のフォーマットを判定するフォーマット判定部と、を備えたものである。   An image format determination apparatus according to a first aspect of the present invention is an image format determination apparatus that determines the format of an image displayed by a video signal, and an effective display period in which the image is displayed in the video signal. In the data enable signal indicating a blanking period that is one of a horizontal blanking period and a vertical blanking period in which the image is not displayed, a predetermined period including the first vertical blanking period is measured, and the measured period And a predetermined period including a second vertical blanking period after a predetermined number of vertical blanking periods from the first vertical blanking period in the data enable signal. A field determination period measuring unit that measures and generates second period information indicating the measured period; The period indicated by the first period information and the period indicated by the second period information are compared, and the first vertical blanking period or the second vertical blanking period is determined according to the magnitude relationship of the compared periods. A format determination unit that determines the format of an image displayed following the ranking period.

本発明の第2の態様にかかる画像フォーマット判定方法は、映像信号によって表示される画像のフォーマットを判定する画像フォーマット判定方法であって、前記映像信号において、前記画像が表示される有効表示期間と、前記画像が表示されない水平ブランキング期間及び垂直ブランキング期間のいずれかとなるブランキング期間と、を示すデータイネーブル信号において、第1の垂直ブランキング期間を含む所定の期間を計測し、計測した期間を示す第1の期間情報を生成するとともに、前記データイネーブル信号において、前記第1の垂直ブランキング期間から所定の垂直ブランキング期間数後の第2の垂直ブランキング期間を含む前記所定の期間を計測し、計測した期間を示す第2の期間情報を生成し、前記第1の期間情報が示す期間と、前記第2の期間情報が示す期間とを比較し、比較した期間の大小関係に応じて、前記第1の垂直ブランキング期間又は前記第2の垂直ブランキング期間に続いて表示される画像のフォーマットを判定するものである。   An image format determination method according to a second aspect of the present invention is an image format determination method for determining a format of an image displayed by a video signal, and an effective display period in which the image is displayed in the video signal. In the data enable signal indicating a blanking period that is one of a horizontal blanking period and a vertical blanking period in which the image is not displayed, a predetermined period including the first vertical blanking period is measured, and the measured period And a predetermined period including a second vertical blanking period after a predetermined number of vertical blanking periods from the first vertical blanking period in the data enable signal. The second period information indicating the measured period is generated, and the period indicated by the first period information And the period indicated by the second period information, and an image displayed subsequent to the first vertical blanking period or the second vertical blanking period according to the magnitude relationship of the compared periods. The format is determined.

上述した本発明の各態様によれば、水平同期信号及び垂直同期信号の双方を利用せずに、画像フォーマットの判定を行うことができる。つまり、水平同期信号と垂直同期信号の入力タイミングに依存せずに、画像フォーマットを判定することができる。   According to each aspect of the present invention described above, the image format can be determined without using both the horizontal synchronization signal and the vertical synchronization signal. That is, the image format can be determined without depending on the input timing of the horizontal synchronization signal and the vertical synchronization signal.

上述した本発明の各態様によれば、水平同期信号と垂直同期信号の入力タイミングがばらついたときであっても、画像フォーマットの誤判定を防止することができる画像フォーマット判定装置及び画像フォーマット判定方法を提供することができる。   According to each aspect of the present invention described above, an image format determination apparatus and an image format determination method that can prevent erroneous determination of an image format even when the input timings of the horizontal synchronization signal and the vertical synchronization signal vary. Can be provided.

本発明の実施の形態1にかかる画像フォーマット判定回路の構成図である。It is a block diagram of the image format determination circuit concerning Embodiment 1 of this invention. 本発明の実施の形態1にかかるデータイネーブル信号のタイミングチャートである。It is a timing chart of the data enable signal concerning Embodiment 1 of this invention. 本発明の実施の形態1にかかる画像フォーマット判定処理のフローチャートである。It is a flowchart of the image format determination process concerning Embodiment 1 of this invention. 本発明の実施の形態2にかかる画像フォーマット判定回路の構成図である。It is a block diagram of the image format determination circuit concerning Embodiment 2 of this invention. 本発明の実施の形態2にかかるデータイネーブル信号及びVSYNC信号のタイミングチャートである。It is a timing chart of the data enable signal and VSYNC signal concerning Embodiment 2 of this invention. 本発明の実施の形態2にかかる画像フォーマット判定処理のフローチャートである。It is a flowchart of the image format determination process concerning Embodiment 2 of this invention. 特許文献1にかかるフィールド判定回路のブロック図である。10 is a block diagram of a field determination circuit according to Patent Document 1. FIG. 特許文献1にかかるフィールド判定回路のブロック図である。10 is a block diagram of a field determination circuit according to Patent Document 1. FIG. 特許文献1にかかるフィールド判定回路の動作を示す波形図である。10 is a waveform diagram showing an operation of a field determination circuit according to Patent Document 1. FIG.

本発明の実施の形態1.
図1を参照して、本発明の実施の形態1にかかる画像フォーマット判定回路1の構成について説明する。図1は、本発明の実施の形態1にかかる画像フォーマット判定回路1の構成図である。
Embodiment 1 of the present invention.
With reference to FIG. 1, the structure of the image format determination circuit 1 according to the first exemplary embodiment of the present invention will be described. FIG. 1 is a configuration diagram of an image format determination circuit 1 according to the first embodiment of the present invention.

画像フォーマット判定回路1は、DEアサート間隔計測部10、Vブランク期間判定部11、DEインアクティブ期間計測部12、前DEインアクティブ期間保持部13、及び、フォーマット判定部14を有する。   The image format determination circuit 1 includes a DE assertion interval measurement unit 10, a V blank period determination unit 11, a DE inactive period measurement unit 12, a previous DE inactive period holding unit 13, and a format determination unit 14.

画像フォーマット判定回路1は、例えば、ビデオ信号に基づいて映像を表示する画像表示装置に備えられる。画像表示装置は、例えば、PCモニタ及びディジタルテレビ等である。ビデオ信号は、映像信号、データイネーブル信号(以下、「DE信号」とも言う)、垂直同期信号(以下、「VSYNC信号」とも言う)、及び、水平同期信号等(以下、「HSYNC信号」とも言う)を含む。   The image format determination circuit 1 is provided, for example, in an image display device that displays video based on a video signal. The image display device is, for example, a PC monitor or a digital television. Video signals are video signals, data enable signals (hereinafter also referred to as “DE signals”), vertical synchronization signals (hereinafter also referred to as “VSYNC signals”), horizontal synchronization signals and the like (hereinafter also referred to as “HSYNC signals”). )including.

映像信号は、画像表示装置によって表示される画像を示す。DE信号は、映像信号において、画像が表示される有効表示期間と、画像が表示されないブランキング期間とを示す。DE信号は、有効表示期間でアクティブとなり、ブランキング期間でインアクティブとなる。DE信号が示すブランキング期間は、水平ブランキング期間及び垂直ブランキング期間のいずれかとなる。水平ブランキング期間は、あるラインにおける画像の表示が終了してから、次のラインにおける画像の表示が開始されるまでの期間である。垂直ブランキング期間は、あるフィールドにおける最後のラインにおける画像の表示が終了してから、次のフィールドにおける最初のラインの画像の表示が開始されるまでの期間である。   The video signal indicates an image displayed by the image display device. The DE signal indicates an effective display period in which an image is displayed and a blanking period in which no image is displayed in the video signal. The DE signal becomes active during the effective display period and becomes inactive during the blanking period. The blanking period indicated by the DE signal is either a horizontal blanking period or a vertical blanking period. The horizontal blanking period is a period from the end of image display on one line to the start of image display on the next line. The vertical blanking period is a period from the end of image display on the last line in a certain field to the start of image display on the first line in the next field.

画像フォーマット判定回路1は、画像表示装置から入力されるDE信号に基づいて、映像信号によって表示される画像のフォーマットをフィールド毎に判定する。画像表示装置は、画像フォーマット判定回路1からフィールド毎に出力されるフォーマット判定結果に基づいて、それぞれのフィールドの画像フォーマットに合った表示方法で画像を表示する。   The image format determination circuit 1 determines the format of the image displayed by the video signal for each field based on the DE signal input from the image display device. The image display device displays an image by a display method suitable for the image format of each field based on the format determination result output for each field from the image format determination circuit 1.

DEアサート間隔計測部10は、ビデオ信号のDE信号が入力される。DEアサート間隔計測部10は、DE信号のアサート間隔を計測する。DE信号のアサート間隔とは、あるラインにおけるDE信号のアサート開始から、次のラインにおけるDE信号のアサート開始までの期間である。DEアサート間隔計測部10は、DEアサート間隔計測カウンタ(図示せず)を有する。DEアサート間隔計測部10は、DEアサート間隔計測カウンタをカウントすることによって、DE信号のアサート間隔を計測する。DEアサート間隔計測部10は、例えば、クロック信号によってDE信号のアサート間隔をカウントする。DEアサート間隔計測部10は、DEアサート間隔計測カウンタ値をVブランク期間判定部11に出力する。   The DE assertion interval measurement unit 10 receives the DE signal of the video signal. The DE assertion interval measurement unit 10 measures the assertion interval of the DE signal. The assertion interval of the DE signal is a period from the start of assertion of the DE signal in a certain line to the start of assertion of the DE signal in the next line. The DE assertion interval measurement unit 10 includes a DE assertion interval measurement counter (not shown). The DE assertion interval measurement unit 10 measures the assertion interval of the DE signal by counting a DE assertion interval measurement counter. For example, the DE assertion interval measurement unit 10 counts the assertion interval of the DE signal by a clock signal. The DE assertion interval measurement unit 10 outputs the DE assertion interval measurement counter value to the V blank period determination unit 11.

Vブランク期間判定部11は、DEアサート間隔計測部10から出力されたDEアサート間隔計測カウンタ値が入力される。Vブランク期間判定部11は、DE信号のアサート間隔の計測終了時に、DEアサート間隔計測部10から出力されたDEアサート間隔計測カウンタ値をDEアサート間隔計測結果として保持する。Vブランク期間判定部11は、DEアサート間隔計測カウンタ値を保持する記憶装置(図示せず)を有する。記憶装置は、例えば、レジスタ又はメモリ等である。   The V blank period determination unit 11 receives the DE assertion interval measurement counter value output from the DE assertion interval measurement unit 10. The V blank period determination unit 11 holds the DE assertion interval measurement counter value output from the DE assertion interval measurement unit 10 as a DE assertion interval measurement result at the end of measurement of the DE signal assertion interval. The V blank period determination unit 11 includes a storage device (not shown) that holds a DE assertion interval measurement counter value. The storage device is, for example, a register or a memory.

Vブランク期間判定部11は、前回に保持したDEアサート間隔計測カウンタ値と、今回にDEアサート間隔計測部10から出力されたDEアサート間隔計測カウンタ値とを比較することによって、フィールドにおいて、フォーマット判定回路1に入力されているDE信号に対応する位置がVブランク期間となったか否かを判定する。つまり、Vブランク期間判定部11は、現在計測中のDE信号のアサート間隔にVブランク期間が含まれるか否かを判定する。   The V blank period determination unit 11 compares the DE assertion interval measurement counter value held last time with the DE assertion interval measurement counter value output from the DE assertion interval measurement unit 10 this time, thereby determining the format in the field. It is determined whether or not the position corresponding to the DE signal input to the circuit 1 is in the V blank period. That is, the V blank period determination unit 11 determines whether or not the V blank period is included in the assertion interval of the DE signal currently being measured.

ここで、本実施の形態において、「Vブランク期間」とは、垂直ブランキング期間のうち、DE信号がインアクティブになったときから、水平ブランキング期間分の長さの期間が経過した後の期間である。言い換えると、「Vブランク期間」とは、垂直ブランキング期間のうち、水平ブランキング期間分の長さの期間を除いた期間である。Vブランク期間判定部11は、Vブランク期間判定結果をDEインアクティブ期間計測部12に出力する。Vブランク期間判定結果は、Vブランク期間か否かを示す情報である。   Here, in the present embodiment, the “V blank period” is a period after a period of a length corresponding to the horizontal blanking period has elapsed since the DE signal became inactive in the vertical blanking period. It is a period. In other words, the “V blank period” is a period excluding a period of a length corresponding to the horizontal blanking period in the vertical blanking period. The V blank period determination unit 11 outputs the V blank period determination result to the DE inactive period measurement unit 12. The V blank period determination result is information indicating whether or not it is a V blank period.

DEインアクティブ期間計測部12は、ビデオ信号のDE信号と、Vブランク期間判定部11から出力されたVブランク期間判定結果とが入力される。DEインアクティブ期間計測部12は、Vブランク期間中におけるDE信号のインアクティブ期間を計測する。ここで、Vブランク期間中はDE信号がインアクティブとなるため、DEインアクティブ期間計測部12は、Vブランク期間を計測することになる。DEインアクティブ期間計測部12は、Vブランク期間判定部11からVブランク期間であることを示すVブランク期間判定結果が出力されてから、DE信号がアクティブとなるまでの期間を計測する。   The DE inactive period measurement unit 12 receives the DE signal of the video signal and the V blank period determination result output from the V blank period determination unit 11. The DE inactive period measuring unit 12 measures the inactive period of the DE signal during the V blank period. Here, since the DE signal is inactive during the V blank period, the DE inactive period measuring unit 12 measures the V blank period. The DE inactive period measurement unit 12 measures a period from when the V blank period determination result indicating that it is a V blank period is output from the V blank period determination unit 11 to when the DE signal becomes active.

DEインアクティブ期間計測部12は、DEインアクティブ期間計測カウンタ(図示せず)を有する。DEインアクティブ期間計測部12は、DEインアクティブ期間計測カウンタをカウントすることによって、Vブランク期間中におけるDE信号のインアクティブ期間を計測する。DEインアクティブ期間計測部12は、例えば、クロック信号によってDE信号のインアクティブ期間をカウントする。DEインアクティブ期間計測部12は、DEインアクティブ期間計測カウンタ値をDEインアクティブ期間計測結果として前DEインアクティブ期間保持部13及びフォーマット判定部14に出力する。   The DE inactive period measuring unit 12 includes a DE inactive period measuring counter (not shown). The DE inactive period measuring unit 12 measures the inactive period of the DE signal during the V blank period by counting the DE inactive period measuring counter. For example, the DE inactive period measuring unit 12 counts the inactive period of the DE signal by a clock signal. The DE inactive period measuring unit 12 outputs the DE inactive period measuring counter value to the previous DE inactive period holding unit 13 and the format determining unit 14 as a DE inactive period measuring result.

前DEインアクティブ期間保持部13は、DEインアクティブ期間計測部12から出力されたDEインアクティブ期間計測結果が入力される。前DEインアクティブ期間保持部13は、DEインアクティブ期間の計測が終了したときに、次のフィールドにおける画像フォーマットの判定に使用するために、DEインアクティブ期間計測結果を保持する。具体的には、前DEインアクティブ期間保持部13は、DEインアクティブ期間計測部12から出力されたDEインアクティブ期間計測結果を保持する。前DEインアクティブ期間保持部13は、DEインアクティブ期間計測結果を保持する記憶装置を有する。前DEインアクティブ期間保持部13は、前回に保持したDEインアクティブ期間計測結果をフォーマット判定部14に出力する。   The previous DE inactive period holding unit 13 receives the DE inactive period measurement result output from the DE inactive period measuring unit 12. The previous DE inactive period holding unit 13 holds the DE inactive period measurement result for use in determining the image format in the next field when the measurement of the DE inactive period is completed. Specifically, the previous DE inactive period holding unit 13 holds the DE inactive period measurement result output from the DE inactive period measuring unit 12. The previous DE inactive period holding unit 13 includes a storage device that holds a DE inactive period measurement result. The previous DE inactive period holding unit 13 outputs the DE inactive period measurement result held last time to the format determining unit 14.

フォーマット判定部14は、DEインアクティブ期間計測部12から出力された今回のDEインアクティブ期間計測結果と、前DEインアクティブ期間保持部13から出力された前回のDEインアクティブ期間計測結果とを比較することで、画像フォーマット判定をする。フォーマット判定部14は、画像フォーマット判定結果を出力する。   The format determination unit 14 compares the current DE inactive period measurement result output from the DE inactive period measurement unit 12 with the previous DE inactive period measurement result output from the previous DE inactive period holding unit 13. By doing so, the image format is determined. The format determination unit 14 outputs an image format determination result.

続いて、図1〜2を参照して、本発明の実施の形態1にかかる画像フォーマット判定回路1の動作について説明する。図2は、本発明の実施の形態1にかかるデータイネーブル信号のタイミングチャートである。   Next, the operation of the image format determination circuit 1 according to the first exemplary embodiment of the present invention will be described with reference to FIGS. FIG. 2 is a timing chart of the data enable signal according to the first exemplary embodiment of the present invention.

画像フォーマット判定回路1は、画像フォーマットのVブランク期間の長さが、各画像フォーマットで異なる特徴を有することを利用して、画像フォーマットを判定する。ここで、アクティブ期間T1に含まれるDE信号のアサート間隔T2は、全てほぼ一定となる。また、Vブランク期間T0A及びT0Bを含むDE信号のアサート間隔は、アクティブ期間T1に含まれるDE信号のアサート間隔T2よりも十分に長くなる。これは、垂直ブランキング期間が、水平ブランキング期間よりも長くなるからである。なお、アクティブ期間T1に含まれるDE信号のアサート間隔T2のうち、DE信号がインアクティブな期間が、水平ブランキング期間となる。上述したように、本実施の形態では、この垂直ブランキング期間のうち、水平ブランキング期間よりも長い分の期間を、Vブランク期間として規定している。Vブランク期間判定部11は、これらのことを利用して、DE信号のインアクティブ期間に、Vブランク期間T0A及びT0Bが含まれているか否かを判定する。   The image format determination circuit 1 determines the image format by using the fact that the length of the V blank period of the image format has different characteristics in each image format. Here, all the DE signal assert intervals T2 included in the active period T1 are substantially constant. The DE signal assert interval including the V blank periods T0A and T0B is sufficiently longer than the DE signal assert interval T2 included in the active period T1. This is because the vertical blanking period is longer than the horizontal blanking period. Of the DE signal assertion interval T2 included in the active period T1, a period during which the DE signal is inactive is a horizontal blanking period. As described above, in this embodiment, a period longer than the horizontal blanking period in the vertical blanking period is defined as the V blank period. Using these things, the V blank period determination unit 11 determines whether or not the V blank periods T0A and T0B are included in the inactive period of the DE signal.

具体的には、Vブランク期間判定部11は、DEアサート間隔計測部10から出力された今回計測中のDEアサート間隔計測カウンタ値が、前回のDEアサート間隔計測カウンタ値よりも大きくなったときに、DE信号の位置がVブランク期間T0A及びT0Bになったと判定する。一方、Vブランク期間判定部11は、DEアサート間隔計測部10から出力されたDEアサート間隔計測カウンタ値が、前回のDEアサート間隔計測カウンタ値以下で、次のDE信号のアサートが開始された場合、DE信号の位置がアクティブ期間T1であると判定して、DEアサート間隔計測部10から出力された今回のDEアサート間隔計測カウンタ値をDEアサート間隔計測結果として保持する。Vブランク期間判定部11は、保持したDEアサート間隔計測結果を、次回のVブランク期間判定に使用する。   Specifically, the V blank period determination unit 11 determines that the DE assertion interval measurement counter value currently measured and output from the DE assertion interval measurement unit 10 is larger than the previous DE assertion interval measurement counter value. , It is determined that the position of the DE signal is in the V blank period T0A and T0B. On the other hand, when the DE assertion interval measurement counter value output from the DE assertion interval measurement unit 10 is equal to or less than the previous DE assertion interval measurement counter value, the V blank period determination unit 11 starts asserting the next DE signal. The position of the DE signal is determined to be in the active period T1, and the current DE assertion interval measurement counter value output from the DE assertion interval measurement unit 10 is held as a DE assertion interval measurement result. The V blank period determination unit 11 uses the stored DE assertion interval measurement result for the next V blank period determination.

DEインアクティブ期間計測部12は、Vブランク期間になった後、次のDEアサートが開始されるまでの期間を計測し、計測したDEインアクティブ期間計測カウンタ値を出力する。つまり、DEインアクティブ期間計測部12は、Vブランク期間T0A又はT0Bを計測する。前DEインアクティブ期間保持部13は、Vブランク期間を示すDEインアクティブ期間計測カウンタ値をDEインアクティブ期間計測結果として保持するとともに、前回に保持したDEインアクティブ期間計測結果を出力する。   The DE inactive period measurement unit 12 measures a period until the next DE assertion is started after the V blank period, and outputs the measured DE inactive period measurement counter value. That is, the DE inactive period measuring unit 12 measures the V blank period T0A or T0B. The previous DE inactive period holding unit 13 holds the DE inactive period measurement counter value indicating the V blank period as the DE inactive period measurement result, and outputs the previous DE inactive period measurement result.

フォーマット判定部14は、DEインアクティブ期間計測部12から出力された今回のDEインアクティブ期間計測結果と、前DEインアクティブ期間保持部13から出力された前回のDEインアクティブ期間計測結果とに基づいて、画像フォーマットを判定する。本実施の形態1にかかる画像フォーマットの判定では、Vブランク期間が、プログレッシブの場合はフレーム毎に一定であること、及び、インタレースの場合はフィールド毎に異なる長さが交互することを利用して、画像フォーマットを判定する。以下、今回のDEインアクティブ期間計測カウンタ値が示すVブランク期間がT0Bであり、前回のDEインアクティブ期間計測カウンタ値が示すVブランク期間がT0Aである場合について説明する。   The format determination unit 14 is based on the current DE inactive period measurement result output from the DE inactive period measurement unit 12 and the previous DE inactive period measurement result output from the previous DE inactive period holding unit 13. To determine the image format. The image format determination according to the first embodiment uses the fact that the V blank period is constant for each frame in the case of progressive, and that different lengths alternate for each field in the case of interlace. To determine the image format. Hereinafter, a case where the V blank period indicated by the current DE inactive period measurement counter value is T0B and the V blank period indicated by the previous DE inactive period measurement counter value is T0A will be described.

フォーマット判定部14は、DEインアクティブ期間計測部12から出力された今回のDEインアクティブ期間計測カウンタ値と、前DEインアクティブ期間保持部13から出力された前回のDEインアクティブ期間計測カウンタ値とを比較する。両者の差が許容範囲内で等しい(T0A≒T0B)場合、フォーマット判定部14は、画像フォーマットがプログレッシブであると判定する。両者の差が許容範囲内で等しくない場合、フォーマット判定部14は、画像フォーマットがプログレッシブではなく、インタレースであると判定する。なお、上述した許容範囲は、任意に予め定めてよい。   The format determination unit 14 includes the current DE inactive period measurement counter value output from the DE inactive period measurement unit 12 and the previous DE inactive period measurement counter value output from the previous DE inactive period holding unit 13. Compare If the difference between the two is equal within the allowable range (T0A≈T0B), the format determination unit 14 determines that the image format is progressive. If the difference between the two is not equal within the allowable range, the format determination unit 14 determines that the image format is not progressive but interlaced. The allowable range described above may be arbitrarily determined in advance.

さらに、両者の差が許容範囲内で等しくない場合、今回のDEインアクティブ期間計測カウンタ値の方が大きければ(T0A<T0Bであれば)、フォーマット判定部14は、画像フォーマットがインタレースのField2であると判定する。また、前回のDEインアクティブ期間計測カウンタ値の方が大きければ(T0A>T0Bであれば)、フォーマット判定部14は、画像フォーマットがインタレースのField1と判定する。   Further, if the difference between the two is not within an allowable range, if the current DE inactive period measurement counter value is larger (if T0A <T0B), the format determination unit 14 determines that the image format is Interlaced Field2. It is determined that If the previous DE inactive period measurement counter value is larger (if T0A> T0B), the format determination unit 14 determines that the image format is interlaced Field1.

続いて、図1〜3を参照して、本発明の実施の形態1にかかる画像フォーマット判定回路1の動作について説明する。図3は、本発明の実施の形態1にかかる画像フォーマット判定処理のフローチャートである。   Next, the operation of the image format determination circuit 1 according to the first exemplary embodiment of the present invention will be described with reference to FIGS. FIG. 3 is a flowchart of the image format determination process according to the first embodiment of the present invention.

DEアサート間隔計測部10は、DE信号のアサート間隔を計測する(S100)。すなわち、DEアサート間隔計測部10は、あるラインのDE信号のアサート開始時から、次のラインのDE信号のアサート開始時までの期間を計測する。DEアサート間隔計測部10は、DE信号のアサート間隔をカウントしているDEアサート間隔計測カウンタ値を、随時、Vブランク期間判定部11に出力する。   The DE assertion interval measurement unit 10 measures the assertion interval of the DE signal (S100). That is, the DE assertion interval measurement unit 10 measures a period from the start of assertion of the DE signal of a certain line to the start of assertion of the DE signal of the next line. The DE assertion interval measurement unit 10 outputs the DE assertion interval measurement counter value counting the DE signal assertion interval to the V blank period determination unit 11 as needed.

次に、DEアサート間隔計測部10は、DE信号のアサート間隔の計測が終了したか否かを判定する(S101)。DEアサート間隔計測部10は、DE信号のアサート間隔の計測が終了したか否かを、DE信号の次のラインにおけるアサートが開始されたか否かによって判定する。   Next, the DE assertion interval measurement unit 10 determines whether or not the measurement of the DE signal assertion interval has been completed (S101). The DE assertion interval measurement unit 10 determines whether or not the measurement of the DE signal assertion interval has been completed based on whether or not the assertion on the next line of the DE signal has started.

DE信号のアサート間隔の計測が終了した場合(S101:Yes)、DEアサート間隔計測部10は、DEアサート間隔計測カウンタをリセットする。Vブランク期間判定部11は、リセット前にDEアサート間隔計測部10から出力されたDEアサート間隔計測カウンタ値を、前回のDEアサート間隔計測カウンタ値として保持する(S102)。Vブランク期間判定部11は、例えば、DEアサート間隔計測部10からリセットされたDEアサート間隔計測カウンタ値が出力された場合に、DE信号のアサート間隔の計測が終了したことを検出する。DEアサート間隔計測部10は、DEアサート間隔計測カウンタのリセット後に、次のDE信号のアサート間隔の計測を開始する(S100)。   When the measurement of the DE signal assertion interval ends (S101: Yes), the DE assertion interval measurement unit 10 resets the DE assertion interval measurement counter. The V blank period determination unit 11 holds the DE assertion interval measurement counter value output from the DE assertion interval measurement unit 10 before the reset as the previous DE assertion interval measurement counter value (S102). For example, when a reset DE assertion interval measurement counter value is output from the DE assertion interval measurement unit 10, the V blank period determination unit 11 detects that the measurement of the DE signal assertion interval has ended. The DE assertion interval measurement unit 10 starts measuring the assertion interval of the next DE signal after resetting the DE assertion interval measurement counter (S100).

DE信号のアサート間隔の計測が終了していない場合(S101:No)、Vブランク期間判定部11は、DEアサート間隔計測部10から出力されている今回のDEアサート間隔計測カウンタ値より、前回のDEアサート間隔計測カウンタ値が小さくなったか否かを判定する(S103)。ここで、Vブランク期間判定部11は、今回のDEアサート間隔計測カウンタ値より、前回のDEアサート間隔計測カウンタ値が小さい場合であっても、予め定めた範囲内で等しい場合は、今回のDEアサート間隔計測カウンタ値より、前回のDEアサート間隔計測カウンタ値が小さくなったと判定しないようにしてもよい。   When the measurement of the DE signal assert interval has not been completed (S101: No), the V blank period determination unit 11 determines the previous DE assert interval measurement counter value output from the DE assert interval measurement unit 10 based on the previous value. It is determined whether or not the DE assertion interval measurement counter value has decreased (S103). Here, even if the previous DE assertion interval measurement counter value is smaller than the current DE assertion interval measurement counter value, the V blank period determination unit 11 determines that the current DE assertion interval measurement counter value is equal within a predetermined range. It may not be determined that the previous DE assertion interval measurement counter value has become smaller than the assertion interval measurement counter value.

今回のDEアサート間隔計測カウンタ値より、前回のDEアサート間隔計測カウンタ値の方が小さくなっていない場合(S103:No)、DEアサート間隔計測部10によるDE信号のアサート間隔の計測が継続される(S100)。
今回のDEアサート間隔計測カウンタ値より、前回のDEアサート間隔計測カウンタ値の方が小さくなった場合(S103:Yes)、Vブランク期間判定部11は、DE信号の位置がVブランク期間になったと判定する。Vブランク期間判定部11は、Vブランク期間であることを示すVブランク期間判定結果をDEインアクティブ期間計測部12に出力する。
If the previous DE assertion interval measurement counter value is not smaller than the current DE assertion interval measurement counter value (S103: No), the DE assertion interval measurement unit 10 continues to measure the DE signal assertion interval. (S100).
When the previous DE assertion interval measurement counter value is smaller than the current DE assertion interval measurement counter value (S103: Yes), the V blank period determination unit 11 determines that the position of the DE signal is in the V blank period. judge. The V blank period determination unit 11 outputs a V blank period determination result indicating the V blank period to the DE inactive period measurement unit 12.

DEインアクティブ期間計測部12は、Vブランク期間判定部11からのVブランク期間であることを示すVブランク期間判定結果の出力に応じて、DE信号のインアクティブ期間の計測を開始する(S104)。DEインアクティブ期間計測部12は、DE信号がアクティブになったときに計測を終了する。これによって、Vブランク期間T0A又はT0Bを計測することができる。DEインアクティブ期間計測部12は、Vブランク期間のDEインアクティブ期間計測カウンタ値を前DEインアクティブ期間保持部13及びフォーマット判定部14に出力する。   The DE inactive period measurement unit 12 starts measuring the inactive period of the DE signal in response to the output of the V blank period determination result indicating the V blank period from the V blank period determination unit 11 (S104). . The DE inactive period measuring unit 12 ends the measurement when the DE signal becomes active. Thereby, the V blank period T0A or T0B can be measured. The DE inactive period measuring unit 12 outputs the DE inactive period measuring counter value of the V blank period to the previous DE inactive period holding unit 13 and the format determining unit 14.

前DEインアクティブ期間保持部13は、DEインアクティブ期間計測部12から出力されたDEインアクティブ期間計測カウンタ値を保持する(S105)。前DEインアクティブ期間保持部13は、前回に保持した前回のDEインアクティブ期間計測カウンタ値をフォーマット判定部14に出力する。ここで、前DEインアクティブ期間保持部13は、前回のDEインアクティブ期間計測カウンタ値と、今回のDEインアクティブ期間計測カウンタ値とを保持するようにして、前回のDEインアクティブ期間計測カウンタ値を出力するようにしてもよい。また、前DEインアクティブ期間保持部13は、前回のDEインアクティブ期間計測カウンタ値のみを保持するようにして、DEインアクティブ期間計測部12から出力されたDEインアクティブ期間計測カウンタ値が新たな値に変更されたときに、変更前のDEインアクティブ期間計測カウンタ値を保持するようにしてもよい。   The previous DE inactive period holding unit 13 holds the DE inactive period measurement counter value output from the DE inactive period measuring unit 12 (S105). The previous DE inactive period holding unit 13 outputs the previous DE inactive period measurement counter value held last time to the format determining unit 14. Here, the previous DE inactive period measurement counter value holds the previous DE inactive period measurement counter value and the current DE inactive period measurement counter value so as to hold the previous DE inactive period measurement counter value. May be output. The previous DE inactive period holding unit 13 holds only the previous DE inactive period measuring counter value, and the DE inactive period measuring counter value output from the DE inactive period measuring unit 12 is a new one. When the value is changed, the DE inactive period measurement counter value before the change may be held.

フォーマット判定部14は、DEインアクティブ期間計測部12から出力された今回のDEインアクティブ期間計測カウンタ値と、前DEインアクティブ期間保持部13から出力された前回のDEインアクティブ期間計測カウンタ値とを比較して、両者の差が許容範囲以内で等しい(T0A≒T0B)か否かを判定する(S106)。以下、今回のDEインアクティブ期間計測カウンタ値が示すVブランク期間がT0Bであり、前回のDEインアクティブ期間計測カウンタ値が示すVブランク期間がT0Aである場合について説明する。   The format determination unit 14 includes the current DE inactive period measurement counter value output from the DE inactive period measurement unit 12 and the previous DE inactive period measurement counter value output from the previous DE inactive period holding unit 13. Are compared to determine whether or not the difference between them is equal within an allowable range (T0A≈T0B) (S106). Hereinafter, a case where the V blank period indicated by the current DE inactive period measurement counter value is T0B and the V blank period indicated by the previous DE inactive period measurement counter value is T0A will be described.

両者の差が許容範囲以内で等しい場合(S106:Yes)、フォーマット判定部14は、画像フォーマットがプログレッシブであると判定する(S107)。
両者の差が許容範囲以内で等しくない場合(S106:No)、フォーマット判定部14は、今回のDEインアクティブ期間計測カウンタ値が前回のDEインアクティブ期間計測カウンタ値よりも大きい(T0A<T0B)か否かを判定する(S108)。
When the difference between the two is equal within the allowable range (S106: Yes), the format determination unit 14 determines that the image format is progressive (S107).
When the difference between the two is not equal within the allowable range (S106: No), the format determination unit 14 determines that the current DE inactive period measurement counter value is larger than the previous DE inactive period measurement counter value (T0A <T0B). It is determined whether or not (S108).

今回のDEインアクティブ期間計測カウンタ値が、前回のDEインアクティブ期間計測カウンタ値より大きい(T0A<T0B)と判定した場合(S108:Yes)、画像フォーマットはインタレースのField2であると判定(S109)する。
今回のDEインアクティブ期間計測カウンタ値が、前回のDEインアクティブ期間計測カウンタ値より大きくない(T0A>T0B)と判定した場合(S108:No)、画像フォーマットはインタレースのField1であると判定する(S110)。
When it is determined that the current DE inactive period measurement counter value is greater than the previous DE inactive period measurement counter value (T0A <T0B) (S108: Yes), it is determined that the image format is interlaced Field2 (S109). )
When it is determined that the current DE inactive period measurement counter value is not larger than the previous DE inactive period measurement counter value (T0A> T0B) (S108: No), it is determined that the image format is interlaced Field1. (S110).

上述した本実施の形態1にかかる画像フォーマット判定回路1によれば、ビデオ信号の水平同期信号及び垂直同期信号の入力タイミングがばらついたときであっても、画像フォーマット判定の誤判定を防ぐことができる。以下、その理由について説明する。特許文献1にかかるフィールド判別回路では、垂直同期信号の遅延量で水平同期信号のサンプリングタイミングを調整して、第1フィールドの極性をHレベルに規定することで、フィールド判別をしていた。そのため、水平同期信号と垂直同期信号の入力タイミングがばらついたときに、画像フォーマットを誤判定してしまうという問題があった。それに対して、本実施の形態1によれば、Vブランク期間の長さが、各画像フォーマットで異なるという特徴があることを利用して、Vブランク期間のDEインアクティブ期間を計測して、今回と前回のDEインアクティブ期間を比較して画像フォーマットを判定するようにしている。つまり、水平同期信号及び垂直同期信号の双方を利用せずに、画像フォーマットの判定を行うことができる。そのため、画像フォーマット判定が水平同期信号及び垂直同期信号の入力タイミングに影響されない。   According to the image format determination circuit 1 according to the first embodiment described above, erroneous determination of image format determination can be prevented even when the input timing of the horizontal synchronization signal and the vertical synchronization signal of the video signal varies. it can. The reason will be described below. In the field discrimination circuit according to Patent Document 1, the field discrimination is performed by adjusting the sampling timing of the horizontal synchronization signal by the delay amount of the vertical synchronization signal and defining the polarity of the first field to H level. Therefore, there is a problem that the image format is erroneously determined when the input timings of the horizontal synchronization signal and the vertical synchronization signal vary. On the other hand, according to the first embodiment, the DE inactive period of the V blank period is measured by using the fact that the length of the V blank period is different for each image format. And the previous DE inactive period are compared to determine the image format. That is, the image format can be determined without using both the horizontal synchronization signal and the vertical synchronization signal. Therefore, the image format determination is not affected by the input timing of the horizontal synchronization signal and the vertical synchronization signal.

本発明の実施の形態2.?
続いて、図4を参照して、本発明の実施の形態2にかかる画像フォーマット判定回路2の構成について説明する。図4は、本発明の実施の形態2にかかる画像フォーマット判定回路2の構成図である。
Embodiment 2 of the present invention. ?
Next, the configuration of the image format determination circuit 2 according to the second exemplary embodiment of the present invention will be described with reference to FIG. FIG. 4 is a configuration diagram of the image format determination circuit 2 according to the second embodiment of the present invention.

画像フォーマット判定回路2は、DEアサート間隔計測部20、Vブランク期間判定部21、DEアサート間隔保持部22、前DEアサート間隔保持部23、及び、フォーマット判定部24を有する。例えば、画像フォーマット判定回路2は、実施の形態1にかかる画像フォーマット判定回路1と同様に、画像表示装置に備えられる。   The image format determination circuit 2 includes a DE assertion interval measurement unit 20, a V blank period determination unit 21, a DE assertion interval holding unit 22, a previous DE assertion interval holding unit 23, and a format determination unit 24. For example, the image format determination circuit 2 is provided in the image display device, similarly to the image format determination circuit 1 according to the first embodiment.

DEアサート間隔計測部20は、ビデオ信号のDE信号が入力される。DEアサート間隔計測部20は、実施の形態1にかかるDEアサート間隔計測部10と同様に、DE信号のアサート間隔を計測する。DEアサート間隔計測部20は、DE信号のアサート間隔の計測終了時に、DEアサート間隔計測カウンタ値をDEアサート間隔計測結果としてDEアサート間隔保持部22に出力する。   The DE assertion interval measurement unit 20 receives the DE signal of the video signal. The DE assertion interval measurement unit 20 measures the assertion interval of the DE signal, similarly to the DE assertion interval measurement unit 10 according to the first embodiment. The DE assertion interval measurement unit 20 outputs the DE assertion interval measurement counter value to the DE assertion interval holding unit 22 as a DE assertion interval measurement result at the end of measurement of the DE signal assertion interval.

Vブランク期間判定部21は、ビデオ信号のVSYNC信号が入力される。Vブランク期間判定部21は、VSYNC信号のアサートを検出することで、フィールドのうち、DE信号に対応する位置が垂直ブランキング期間となったか否かを判定する。ここで、垂直ブランキング期間には、Vブランク期間が含まれる。つまり、Vブランク期間判定部21は、現在計測中のDE信号のアサート間隔にVブランク期間が含まれるか否かを判定する。Vブランク期間判定部21は、Vブランク期間判定結果をDEアサート間隔保持部22に出力する。   The V blank period determination unit 21 receives the VSYNC signal of the video signal. The V blank period determination unit 21 detects whether the position corresponding to the DE signal in the field is in the vertical blanking period by detecting assertion of the VSYNC signal. Here, the vertical blanking period includes a V blank period. That is, the V blank period determination unit 21 determines whether or not the V blank period is included in the assertion interval of the DE signal currently being measured. The V blank period determination unit 21 outputs the V blank period determination result to the DE assertion interval holding unit 22.

DEアサート間隔保持部22は、DEアサート間隔計測部20から出力されたDEアサート間隔計測結果と、Vブランク期間判定部21から出力されたVブランク期間判定結果とが入力される。DEアサート間隔保持部22は、Vブランク期間を含むDE信号のアサート間隔を計測したDEアサート間隔計測結果を保持する。つまり、DEアサート間隔保持部22は、Vブランク期間判定部21からVブランク期間であることを示すVブランク期間判定結果が出力されたときに、DEアサート間隔計測部20から出力されたDEアサート間隔計測結果を保持する。これによって、Vブランク期間を含むDE信号のアサート間隔を示すDEアサート間隔計測結果のみがDEアサート間隔保持部22に保持される。   The DE assertion interval holding unit 22 receives the DE assertion interval measurement result output from the DE assertion interval measurement unit 20 and the V blank period determination result output from the V blank period determination unit 21. The DE assertion interval holding unit 22 holds a DE assertion interval measurement result obtained by measuring the assertion interval of the DE signal including the V blank period. That is, the DE assertion interval holding unit 22 outputs the DE assertion interval output from the DE assertion interval measurement unit 20 when the V blank period determination result indicating the V blank period is output from the V blank period determination unit 21. Holds measurement results. As a result, only the DE assertion interval measurement result indicating the assertion interval of the DE signal including the V blank period is held in the DE assertion interval holding unit 22.

また、DEアサート間隔保持部22は、新たなDEアサート間隔計測結果を保持する前に、保持していた前回のDEアサート間隔計測結果を前DEアサート間隔保持部23に出力する。つまり、DEアサート間隔保持部22は、DEアサート間隔計測結果を保持する記憶装置を有する。DEアサート間隔保持部22は、今回保持したDEアサート間隔計測結果をフォーマット判定部24に出力する。   Further, the DE assertion interval holding unit 22 outputs the previous DE assertion interval measurement result held before the new DE assertion interval measurement result to the previous DE assertion interval holding unit 23. That is, the DE assertion interval holding unit 22 includes a storage device that holds the DE assertion interval measurement result. The DE assertion interval holding unit 22 outputs the DE assertion interval measurement result held this time to the format determination unit 24.

前DEアサート間隔保持部23は、DEアサート間隔保持部22から出力された前回のDEアサート間隔計測結果が入力される。前DEアサート間隔保持部23は、DEアサート間隔保持部22から出力された前回のDEアサート間隔計測結果を保持する。つまり、前DEアサート間隔保持部23は、DEアサート間隔計測結果を保持する記憶装置を有する。前DEアサート間隔保持部23は、保持した前回のDEアサート間隔計測結果をフォーマット判定部24に出力する。   The previous DE assertion interval holding unit 23 receives the previous DE assertion interval measurement result output from the DE assertion interval holding unit 22. The previous DE assertion interval holding unit 23 holds the previous DE assertion interval measurement result output from the DE assertion interval holding unit 22. That is, the previous DE assertion interval holding unit 23 includes a storage device that holds the DE assertion interval measurement result. The previous DE assertion interval holding unit 23 outputs the held previous DE assertion interval measurement result to the format determination unit 24.

フォーマット判定部24は、DEアサート間隔保持部22から出力された今回のDEアサート間隔計測結果と、前DEアサート間隔保持部23から出力された前回のDEアサート間隔計測結果とを比較することで、画像フォーマットを判定する。本実施の形態2にかかる画像フォーマットの判定では、Vブランク期間を含むDE信号のアサート間隔が、プログレッシブの場合はフレーム毎に一定であること、及び、インタレースの場合はフィールド毎に異なる長さが交互することを利用して、画像フォーマットを判定する。フォーマット判定部24は、画像フォーマット判定結果を出力する。   The format determination unit 24 compares the current DE assertion interval measurement result output from the DE assertion interval holding unit 22 with the previous DE assertion interval measurement result output from the previous DE assertion interval holding unit 23. Determine the image format. In the determination of the image format according to the second embodiment, the assertion interval of the DE signal including the V blank period is constant for each frame in the case of progressive, and a different length for each field in the case of interlace. The image format is determined using the alternating of. The format determination unit 24 outputs the image format determination result.

続いて、図4〜6を参照して、本発明の実施の形態2にかかる画像フォーマット判定回路2の動作について説明する。図5は、本発明の実施の形態2にかかるデータイネーブル信号及びVSYNC信号のタイミングチャートである。図6は、本発明の実施の形態2にかかる画像フォーマット判定処理のフローチャートである。   Subsequently, the operation of the image format determination circuit 2 according to the second exemplary embodiment of the present invention will be described with reference to FIGS. FIG. 5 is a timing chart of the data enable signal and the VSYNC signal according to the second embodiment of the present invention. FIG. 6 is a flowchart of image format determination processing according to the second embodiment of the present invention.

DEアサート間隔計測部20は、DE信号のアサート間隔を計測する(S200)。すなわち、DEアサート間隔計測部20は、あるラインにおけるDE信号のアサート開始時から、次のラインにおけるDE信号のアサート開始時までの期間を計測する。
DEアサート間隔計測部20は、DE信号のアサート間隔の計測が終了したか否かを判定する(S201)。DEアサート間隔計測部20は、DE信号のアサート間隔の計測が終了しているかどうかを次のラインのDE信号のアサートが開始されたか否かによって判定する。
The DE assertion interval measurement unit 20 measures the assertion interval of the DE signal (S200). That is, the DE assertion interval measuring unit 20 measures a period from the start of assertion of the DE signal in a certain line to the start of assertion of the DE signal in the next line.
The DE assertion interval measurement unit 20 determines whether or not the measurement of the DE signal assertion interval has ended (S201). The DE assertion interval measurement unit 20 determines whether or not the measurement of the DE signal assertion interval has been completed based on whether or not the assertion of the DE signal of the next line has started.

DE信号のアサート間隔の計測が終了した場合(S201:Yes)、DEアサート間隔計測部20は、DEアサート間隔計測カウンタ値をDEアサート間隔保持部22に出力し、DEアサート間隔計測カウンタをリセットする。DEアサート間隔計測部20は、DEアサート間隔計測カウンタのリセット後に、次のDE信号のアサート間隔の計測を開始する(S200)。   When the measurement of the DE signal assertion interval is completed (S201: Yes), the DE assertion interval measurement unit 20 outputs the DE assertion interval measurement counter value to the DE assertion interval holding unit 22 and resets the DE assertion interval measurement counter. . The DE assertion interval measurement unit 20 starts measuring the assertion interval of the next DE signal after resetting the DE assertion interval measurement counter (S200).

DE信号のアサート間隔の計測が終了していない場合(S201:No)、Vブランク期間判定部11は、VSYNC信号がアサートされたか否かを判定する(S203)。
VSYNC信号がアサートされていない場合(S203:No)、DEアサート間隔計測部20によるDE信号のアサート間隔の計測が継続される(S200)。
VSYNC信号がアサートされた場合(S203:Yes)、Vブランク期間判定部11は、DE信号の位置が垂直ブランキング期間になったと判定する。つまり、現在計測中のDE信号のアサート間隔期間内にVブランク期間が含まれていることになる。Vブランク期間判定部21は、Vブランク期間であることを示すVブランク期間判定結果をDEアサート間隔保持部22に出力する。また、DEアサート間隔計測部20によるDE信号のアサート間隔の計測は、継続される(S204)。
When the measurement of the DE signal assert interval has not ended (S201: No), the V blank period determination unit 11 determines whether or not the VSYNC signal is asserted (S203).
When the VSYNC signal is not asserted (S203: No), the DE assertion interval measurement unit 20 continues to measure the DE signal assertion interval (S200).
When the VSYNC signal is asserted (S203: Yes), the V blank period determination unit 11 determines that the position of the DE signal is in the vertical blanking period. That is, the V blank period is included in the assertion interval period of the DE signal currently being measured. The V blank period determination unit 21 outputs a V blank period determination result indicating the V blank period to the DE assertion interval holding unit 22. The measurement of the DE signal assertion interval by the DE assertion interval measurement unit 20 is continued (S204).

DE信号のアサート間隔の計測が終了していない場合(S205:No)、DEアサート間隔計測部20によるDE信号のアサート間隔の計測が継続される(S204)。
DE信号のアサート間隔の計測が終了した場合(S205:Yes)、DEアサート間隔計測部20は、DEアサート間隔計測カウンタ値をDEアサート間隔計測結果としてDEアサート間隔保持部22に出力する。
If the measurement of the DE signal assert interval has not been completed (S205: No), the measurement of the DE signal assert interval by the DE assert interval measurement unit 20 is continued (S204).
When the measurement of the DE signal assert interval is completed (S205: Yes), the DE assert interval measurement unit 20 outputs the DE assert interval measurement counter value to the DE assert interval holding unit 22 as a DE assert interval measurement result.

DEアサート間隔保持部22は、DEアサート間隔計測部20から出力されたDEアサート間隔計測カウンタ値を保持する前に、保持していた前回のDEアサート間隔計測結果を前DEアサート間隔保持部23に出力する。前DEアサート間隔保持部23は、DEアサート間隔保持部22から出力された前回のDEアサート間隔計測カウンタ値を保持する(S206)。そして、アサート間隔保持部22は、DEアサート間隔計測部20から出力されたDEアサート間隔計測カウンタ値を保持する(S207)。   The DE assertion interval holding unit 22 stores the previous DE assertion interval measurement result held in the previous DE assertion interval holding unit 23 before holding the DE assertion interval measurement counter value output from the DE assertion interval measurement unit 20. Output. The previous DE assertion interval holding unit 23 holds the previous DE assertion interval measurement counter value output from the DE assertion interval holding unit 22 (S206). Then, the assertion interval holding unit 22 holds the DE assertion interval measurement counter value output from the DE assertion interval measurement unit 20 (S207).

なお、DEアサート間隔保持部22は、Vブランク期間判定部21からVブランク期間であることを示すVブランク期間判定結果が出力された後に、DEアサート間隔計測部20から出力されたDEアサート間隔計測カウンタ値を保持する。つまり、ステップS206、S207の処理が実行される。これによって、Vブランク期間を含むDE信号のアサート間隔を示すDEアサート間隔計測カウンタ値のみがDEアサート間隔保持部22に保持される。DEアサート間隔保持部22は、今回保持したDEアサート間隔計測カウンタ値をフォーマット判定部24に出力する。   The DE assertion interval holding unit 22 measures the DE assertion interval output from the DE assertion interval measurement unit 20 after the V blank period determination unit 21 outputs the V blank period determination result indicating the V blank period. Holds the counter value. That is, the processes of steps S206 and S207 are executed. Thus, only the DE assertion interval measurement counter value indicating the assertion interval of the DE signal including the V blank period is held in the DE assertion interval holding unit 22. The DE assertion interval holding unit 22 outputs the DE assertion interval measurement counter value held this time to the format determination unit 24.

フォーマット判定部24は、DEアサート間隔保持部22から出力された今回のDEアサート間隔計測カウンタ値と、前DEアサート間隔保持部23から出力された前回のDEアサート間隔計測カウンタ値とを比較して、両者の差が許容範囲以内で等しい(T0C≒T0D)か否かを判定する(S208)。以下、今回のDEアサート間隔計測カウンタ値が示すDE信号のアサート間隔がT0Dであり、前回のDEアサート間隔計測カウンタ値が示すDE信号のアサート間隔がT0Cである場合について説明する。   The format determination unit 24 compares the current DE assertion interval measurement counter value output from the DE assertion interval holding unit 22 with the previous DE assertion interval measurement counter value output from the previous DE assertion interval holding unit 23. Then, it is determined whether or not the difference between them is equal within an allowable range (T0C≈T0D) (S208). A case will be described below in which the DE signal assertion interval indicated by the current DE assertion interval measurement counter value is T0D and the DE signal assertion interval indicated by the previous DE assertion interval measurement counter value is T0C.

両者の差が許容範囲以内で等しい場合(S208:Yes)、フォーマット判定部24は、画像フォーマットがプログレッシブであると判定する(S209)。
両者の差が許容範囲以内で等しくない場合(S208:No)、フォーマット判定部24は、今回のDEアサート間隔計測カウンタ値が前回のDEアサート間隔計測カウンタ値よりも大きい(T0C<T0D)か否かを判定する(S210)。
When the difference between the two is equal within the allowable range (S208: Yes), the format determination unit 24 determines that the image format is progressive (S209).
If the difference between the two is not equal within the allowable range (S208: No), the format determination unit 24 determines whether or not the current DE assertion interval measurement counter value is larger than the previous DE assertion interval measurement counter value (T0C <T0D). Is determined (S210).

今回のDEアサート間隔計測カウンタ値が、前回のDEアサート間隔計測カウンタ値より大きい(T0C<T0D)と判定した場合(S210:Yes)、画像フォーマットはインタレースのField2であると判定(S211)する。
今回のDEアサート間隔計測カウンタ値が、前回のDEアサート間隔計測カウンタ値より大きくない(T0C>T0D)と判定した場合(S210:No)、画像フォーマットはインタレースのField1であると判定する(S212)。
If it is determined that the current DE assertion interval measurement counter value is greater than the previous DE assertion interval measurement counter value (T0C <T0D) (S210: Yes), it is determined that the image format is interlaced Field2 (S211). .
If it is determined that the current DE assertion interval measurement counter value is not larger than the previous DE assertion interval measurement counter value (T0C> T0D) (S210: No), it is determined that the image format is interlaced Field1 (S212). ).

上述した本実施の形態2にかかる画像フォーマット判定回路2によれば、ビデオ信号の水平同期信号及び垂直同期信号の入力タイミングがばらついたときであっても、画像フォーマット判定の誤判定を防ぐことができる。本実施の形態2によれば、Vブランク期間を含むDE信号のアサート間隔の長さが、各画像フォーマットで異なるという特徴があることを利用して、VSYNC信号に基づいてVブランク期間を含むDE信号のアサート間隔を計測して、今回と前回のDE信号のアサート間隔を比較して画像フォーマットを判定するようにしている。つまり、水平同期信号及び垂直同期信号の双方を利用せずに、画像フォーマットの判定を行うことができる。そのため、画像フォーマット判定が水平同期信号及び垂直同期信号の入力タイミングに影響されない。   According to the image format determination circuit 2 according to the second embodiment described above, it is possible to prevent erroneous determination of image format determination even when the input timing of the horizontal synchronization signal and the vertical synchronization signal of the video signal varies. it can. According to the second embodiment, the length of the DE signal assertion interval including the V blank period is different in each image format, and the DE including the V blank period is based on the VSYNC signal. The signal assertion interval is measured, and the image format is determined by comparing the present and previous assertion intervals of the DE signal. That is, the image format can be determined without using both the horizontal synchronization signal and the vertical synchronization signal. Therefore, the image format determination is not affected by the input timing of the horizontal synchronization signal and the vertical synchronization signal.

また、本実施の形態2では、ある程度の範囲を有するDE信号のアサート間隔中に、VSYNC信号がアサートされたか否かによって、DE信号のアサート間隔にVブランク期間が含まれるか否かを判定している。そのため、VSYNC信号の入力タイミングがばらついてしまったときであっても、画像フォーマットの誤判定を防止することができる。   In the second embodiment, whether or not the V blank period is included in the DE signal assert interval is determined depending on whether or not the VSYNC signal is asserted during the DE signal assert interval having a certain range. ing. Therefore, even when the input timing of the VSYNC signal varies, it is possible to prevent erroneous determination of the image format.

以上に説明したように、本実施の形態では、映像信号において、画像が表示される有効表示期間と、画像が表示されない水平ブランキング期間及び垂直ブランキング期間のいずれかとなるブランキング期間と、を示すデータイネーブル信号において、第1の垂直ブランキング期間を含む所定の期間を計測し、計測した期間を示す第1の期間情報を生成している。また、データイネーブル信号において、第1の垂直ブランキング期間から所定の垂直ブランキング期間数後の第2の垂直ブランキング期間を含む所定の期間を計測し、計測した期間を示す第2の期間情報を生成している。そして、第1の期間情報が示す期間と、第2の期間情報が示す期間とを比較し、比較した期間の大小関係に応じて、第1の垂直ブランキング期間又は第2の垂直ブランキング期間に続いて表示される画像のフォーマットを判定するようにしている。   As described above, in the present embodiment, in the video signal, an effective display period in which an image is displayed, and a blanking period that is one of a horizontal blanking period and a vertical blanking period in which no image is displayed, In the data enable signal shown, a predetermined period including the first vertical blanking period is measured, and first period information indicating the measured period is generated. Further, in the data enable signal, a predetermined period including a second vertical blanking period after a predetermined number of vertical blanking periods from the first vertical blanking period is measured, and second period information indicating the measured period Is generated. Then, the period indicated by the first period information is compared with the period indicated by the second period information, and the first vertical blanking period or the second vertical blanking period is determined depending on the magnitude relationship of the compared periods. Subsequently, the format of the image to be displayed is determined.

また、本実施の形態では、垂直ブランキング期間が、プログレッシブの場合は一定であること、及び、インタレースの場合は異なる長さで交互することを利用して、垂直ブランキング期間を検出して、検出した垂直ブランキング期間を含む所定の期間を計測してから比較することで画像のフォーマットを判定するようにしている。ここで、本実施の形態1では、イネーブル信号によってVブランク期間を検出している。Vブランク期間は、垂直ブランキング期間に含まれるため、本実施の形態1では、イネーブル信号によって垂直ブランキング期間を検出しているとも言える。また、本実施の形態2では、VSYNC信号によって、垂直ブランキング期間を検出している。   Further, in the present embodiment, the vertical blanking period is detected by using the fact that the vertical blanking period is constant in the case of progressive, and alternating in different lengths in the case of interlace. The format of the image is determined by measuring and comparing a predetermined period including the detected vertical blanking period. Here, in the first embodiment, the V blank period is detected by the enable signal. Since the V blank period is included in the vertical blanking period, it can be said that the vertical blanking period is detected by the enable signal in the first embodiment. In the second embodiment, the vertical blanking period is detected by the VSYNC signal.

本実施の形態1では、所定の期間を、垂直ブランキング期間のうち、水平ブランキング期間分の長さの期間を除いたVブランク期間とした場合について例示している。つまり、本実施の形態1では、垂直ブランキング期間の一部の期間を含むVブランク期間を計測するようにしている。また、本実施の形態2では、所定の期間を、垂直ブランキング期間を含むデータイネーブル信号の1周期の期間とした場合について例示している。また、本実施の形態では、第1の垂直ブランキング期間から所定の垂直ブランキング期間数後の第2の垂直ブランキング期間を、第1の垂直ブランキング期間の次の第2の垂直ブランキング期間とした場合について例示している。   In the first embodiment, the case where the predetermined period is a V blank period excluding the period of the horizontal blanking period in the vertical blanking period is illustrated. That is, in the first embodiment, the V blank period including a part of the vertical blanking period is measured. In the second embodiment, the case where the predetermined period is one period of the data enable signal including the vertical blanking period is illustrated. In the present embodiment, the second vertical blanking period after a predetermined number of vertical blanking periods after the first vertical blanking period is used as the second vertical blanking period after the first vertical blanking period. The case of the period is illustrated.

これによれば、本実施の形態1では、水平同期信号及び垂直同期信号を利用せずに、画像フォーマットの判定を行うことができる。本実施の形態2では、水平同期信号を利用せずに、画像フォーマットの判定を行うことができる。よって、水平同期信号及び垂直同期信号の双方を利用せずに、画像フォーマットの判定を行うことができる。つまり、水平同期信号と垂直同期信号の入力タイミングに依存せずに、画像フォーマットを判定することができる。そのため、本実施の形態によれば、水平同期信号と垂直同期信号の入力タイミングがばらついたときであっても、画像フォーマットの誤判定を防止することができる。   According to this, in the first embodiment, the image format can be determined without using the horizontal synchronization signal and the vertical synchronization signal. In the second embodiment, the image format can be determined without using the horizontal synchronization signal. Therefore, the image format can be determined without using both the horizontal synchronization signal and the vertical synchronization signal. That is, the image format can be determined without depending on the input timing of the horizontal synchronization signal and the vertical synchronization signal. Therefore, according to the present embodiment, it is possible to prevent erroneous determination of the image format even when the input timing of the horizontal synchronization signal and the vertical synchronization signal varies.

なお、本発明は上記実施の形態に限られたものではなく、趣旨を逸脱しない範囲で適宜変更することが可能である。   Note that the present invention is not limited to the above-described embodiment, and can be changed as appropriate without departing from the spirit of the present invention.

本実施の形態1では、DEインアクティブ期間計測部12が、垂直ブランキング期間の一部の期間を含むVブランク期間を計測するようにしているが、これに限られない。DEインアクティブ期間計測部12が計測する所定の期間は、DE信号において、垂直ブランキング期間を含む所定周期の期間としてもよい。例えば、DE信号の半周期となる垂直ブランキング期間を計測するようにしてもよい。また、DE信号において、垂直ブランキング期間を含む1周期分の期間を計測するようにしてもよい。また、垂直ブランキング期間を含むDE信号の複数周期の期間を計測するようにしてもよい。つまり、垂直ブランキング期間を含むDE信号の所定周期分のアサート間隔を計測するようにしてもよい。   In the first embodiment, the DE inactive period measuring unit 12 measures the V blank period including a part of the vertical blanking period, but is not limited thereto. The predetermined period measured by the DE inactive period measuring unit 12 may be a period of a predetermined cycle including a vertical blanking period in the DE signal. For example, a vertical blanking period that is a half cycle of the DE signal may be measured. Further, in the DE signal, a period for one cycle including the vertical blanking period may be measured. Further, a plurality of periods of the DE signal including the vertical blanking period may be measured. That is, the assert interval for a predetermined period of the DE signal including the vertical blanking period may be measured.

これらの場合、例えば、DEインアクティブ期間計測部12は、所定周期の期間を計測中に、Vブランク期間判定部11から、Vブランク期間であることを示すVブランク期間判定結果の出力があった場合に、計測した期間をDEインアクティブ期間計測結果とする。このようにしても、水平ブランキング期間及びDE信号のアサート間隔T2は、どのフォーマットであっても同一であるため、DEインアクティブ期間計測結果が示す期間は、垂直ブランキング期間に続いて表示される画像のフォーマットに依存した長さとなる。つまり、DEインアクティブ期間計測結果の大小関係に応じて、画像フォーマットを判定することができる。   In these cases, for example, the DE inactive period measuring unit 12 outputs a V blank period determination result indicating that it is a V blank period from the V blank period determining unit 11 while measuring a period of a predetermined period. In this case, the measured period is set as a DE inactive period measurement result. Even in this case, since the horizontal blanking period and the DE signal assertion interval T2 are the same in any format, the period indicated by the DE inactive period measurement result is displayed following the vertical blanking period. The length depends on the image format. That is, the image format can be determined according to the magnitude relationship between the DE inactive period measurement results.

同様に、本実施の形態2では、DEアサート間隔計測部20が、垂直ブランキング期間を含むDE信号の1周期分のアサート間隔を計測するようにしているが、垂直ブランキング期間を含むDE信号の複数周期分のアサート間隔を計測するようにしてもよい。   Similarly, in the second embodiment, the DE assertion interval measurement unit 20 measures the assertion interval for one cycle of the DE signal including the vertical blanking period, but the DE signal including the vertical blanking period. The assert interval for a plurality of periods may be measured.

本実施の形態1では、DEアサート間隔計測部10が、DE信号の1周期分のアサート間隔を計測するようにしているが、これに限られない。DE信号の複数周期分のアサート間隔を計測するようにしてもよい。このようにしても、上述したように、水平ブランキング期間及びDE信号のアサート間隔T2は、どのフォーマットであっても同一であるため、DE信号のアサート間隔は、垂直ブランキング期間を含むものが、より大きくなる。つまり、このようにしても、Vブランク期間判定部11は、DEアサート間隔計測結果を比較することによって、DEアサート間隔にVブランク期間が含まれるか否かを判定することができる。   In the first embodiment, the DE assertion interval measurement unit 10 measures the assertion interval for one period of the DE signal, but is not limited thereto. The assert interval for a plurality of periods of the DE signal may be measured. Even in this case, as described above, since the horizontal blanking period and the DE signal assertion interval T2 are the same in any format, the DE signal assertion interval includes the vertical blanking period. , Get bigger. That is, even in this way, the V blank period determination unit 11 can determine whether or not the V blank period is included in the DE assertion interval by comparing the DE assertion interval measurement results.

本実施の形態1では、フォーマットの判定において、ある垂直ブランキング期間のVブランク期間と、その垂直ブランキング期間の次の垂直ブランキング期間のVブランク期間とを計測して比較するようにしているが、これに限られない。ある垂直ブランキング期間のVブランク期間と、その垂直ブランキング期間から所定の垂直ブランキング期間数後の垂直ブランキング期間のVブランク期間とを計測して比較するようにしてもよい。例えば、ある垂直ブランキング期間のVブランク期間と、ある垂直ブランキング期間から任意の奇数後の垂直ブランキング期間のVブランク期間とを計測して比較するようにしてもよい。このようにしても、インタレースにおいては、ある垂直ブランキング期間に続いて表示される画像と、ある垂直ブランキング期間から任意の奇数後の垂直ブランキング期間に続いて表示される画像は、異なるフォーマットとなるため、フィールド判定を行うことができるからである。   In the first embodiment, in the format determination, a V blank period in a certain vertical blanking period and a V blank period in the next vertical blanking period are measured and compared. However, it is not limited to this. A V blank period in a certain vertical blanking period may be measured and compared with a V blank period in a vertical blanking period after a predetermined number of vertical blanking periods from the vertical blanking period. For example, a V blank period of a certain vertical blanking period may be measured and compared with a V blank period of an arbitrary odd number of vertical blanking periods after a certain vertical blanking period. Even in this case, in interlace, an image displayed following a certain vertical blanking period is different from an image displayed following an arbitrary odd vertical blanking period from a certain vertical blanking period. This is because the field determination can be performed because of the format.

同様に、本実施の形態2では、フォーマットの判定において、ある垂直ブランキング期間を含むDE信号のアサート間隔と、その垂直ブランキング期間の次の垂直ブランキング期間を含むDE信号のアサート間隔とを計測して比較するようにしているが、これに限られない。ある垂直ブランキング期間を含むDE信号のアサート間隔と、その垂直ブランキング期間から所定の垂直ブランキング期間数後の垂直ブランキング期間を含むDE信号のアサート間隔とを計測して比較するようにしてもよい。   Similarly, in the second embodiment, in the format determination, the DE signal assert interval including a certain vertical blanking period and the DE signal assert interval including the vertical blanking period next to the vertical blanking period are determined. Although it measures and compares, it is not restricted to this. The DE signal assert interval including a certain vertical blanking period is measured and compared with the DE signal assert interval including a vertical blanking period after a predetermined number of vertical blanking periods from the vertical blanking period. Also good.

同様に、本実施の形態1では、Vブランク期間の判定において、あるブランキング期間を含むDE信号1周期分のアサート間隔と、そのブランキング期間の次のブランキング期間を含むDE信号1周期分のアサート間隔とを計測して比較するようにしているが、これに限られない。あるブランキング期間を含むDE信号のアサート間隔と、そのブランキング期間から所定のブランキング期間数後のブランキング期間を含むDE信号のアサート間隔とを計測して比較するようにしてもよい。例えば、あるブランキング期間を含むDE信号のアサート間隔と、そのブランキング期間から任意の後のブランキング期間を含むDE信号のアサート間隔とを計測して比較するようにしてもよい。垂直ブランキング期間は1フィールド当たり1つしかないが、水平ブランキング期間は1フィールド当たりに複数連続するからである。つまり、所定のブランキング期間数が、1フィールド当たりに含まれるブランキング期間数でなければ、垂直ブランキング期間が含まれるアサート間隔と、水平ブランキング期間が含まれるアサート間隔を比較することになるからである。   Similarly, in the first embodiment, in the determination of the V blank period, the assert interval for one DE signal period including a certain blanking period and one DE signal period including the blanking period next to the blanking period are included. However, the present invention is not limited to this. The assertion interval of the DE signal including a certain blanking period may be measured and compared with the assertion interval of the DE signal including a blanking period after a predetermined number of blanking periods from the blanking period. For example, the assertion interval of the DE signal including a certain blanking period may be measured and compared with the assertion interval of the DE signal including any blanking period after the blanking period. This is because there is only one vertical blanking period per field, but a plurality of horizontal blanking periods are continued per field. That is, if the predetermined number of blanking periods is not the number of blanking periods included in one field, the assert interval including the vertical blanking period is compared with the assert interval including the horizontal blanking period. Because.

本実施の形態1では、フォーマット判定部14が、ある垂直ブランキング期間のVブランク期間と、その垂直ブランキング期間の次の垂直ブランキング期間のVブランク期間とを計測して比較した場合に、次の垂直ブランキング期間に続いて表示される画像のフォーマットを判定するようにしているが、これに限られない。フォーマット判定部14が、ある垂直ブランキング期間に続いて表示される画像のフォーマットを判定するようにしてもよい。この場合、例えば、ステップS108において、今回のDEインアクティブ期間計測カウンタ値が前回のDEインアクティブ期間計測カウンタ値よりも大きい(T0A<T0B)と判定した場合に、画像フォーマットがField1であると判定し、前回のDEインアクティブ期間計測カウンタ値より大きくない(T0A>T0B)と判定した場合に、画像フォーマットがField2であると判定するようにする。   In the first embodiment, when the format determination unit 14 measures and compares the V blank period of a certain vertical blanking period and the V blank period of the vertical blanking period subsequent to the vertical blanking period, Although the format of an image displayed following the next vertical blanking period is determined, the present invention is not limited to this. The format determination unit 14 may determine the format of an image displayed following a certain vertical blanking period. In this case, for example, when it is determined in step S108 that the current DE inactive period measurement counter value is larger than the previous DE inactive period measurement counter value (T0A <T0B), it is determined that the image format is Field1. When it is determined that the counter value is not larger than the previous DE inactive period measurement counter value (T0A> T0B), it is determined that the image format is Field2.

同様に、本実施の形態2においても、フォーマット判定部24が、ある垂直ブランキング期間を含むDE信号のアサート間隔と、その垂直ブランキング期間の次の垂直ブランキング期間を含むDE信号のアサート間隔とを計測して比較した場合に、次の垂直ブランキング期間に続いて表示される画像のフォーマットを判定するようにしているが、ある垂直ブランキング期間に続いて表示される画像のフォーマットを判定するようにしてもよい。   Similarly, also in the second embodiment, the format determination unit 24 uses the DE signal assert interval including a certain vertical blanking period and the DE signal assert interval including the vertical blanking period next to the vertical blanking period. Is measured and compared, the format of the image displayed following the next vertical blanking period is determined, but the format of the image displayed following a certain vertical blanking period is determined. You may make it do.

1、2 画像フォーマット判定回路
10 DEアサート間隔計測部
11、21 Vブランク期間判定部
12 DEインアクティブ期間計測部
13 前DEインアクティブ期間保持部
14、24 フォーマット判定部
20 DEアサート間隔計測部
22 DEアサート間隔保持部
23 前DEアサート間隔保持部
100 フィールド判別回路
101、102 入力端子
103 インバータ
104 遅延部
105 VD信号微分パルス作成部
106 フィールド判別信号極性規定部
107 フィールド判別安定化部
108 出力端子
110 第1Dフリップフロップ
111 第2Dフリップフロップ
112 第3Dフリップフロップ
113 第4Dフリップフロップ
114 Tフリップフロップ
1, 2 Image format determination circuit 10 DE assertion interval measurement unit 11, 21 V blank period determination unit 12 DE inactive period measurement unit 13 Previous DE inactive period holding unit 14, 24 Format determination unit 20 DE assertion interval measurement unit 22 DE Assertion interval holding unit 23 Previous DE assertion interval holding unit 100 Field discriminating circuit 101, 102 Input terminal 103 Inverter 104 Delay unit 105 VD signal differential pulse creating unit 106 Field discrimination signal polarity defining unit 107 Field discrimination stabilizing unit 108 Output terminal 110 1D flip-flop 111 Second D flip-flop 112 Third D flip-flop 113 Fourth D flip-flop 114 T flip-flop

Claims (10)

映像信号によって表示される画像のフォーマットを判定する画像フォーマット判定装置であって、
前記映像信号において、前記画像が表示される有効表示期間と、前記画像が表示されない水平ブランキング期間及び垂直ブランキング期間のいずれかとなるブランキング期間と、を示すデータイネーブル信号において、第1の垂直ブランキング期間を含む所定の期間を計測し、計測した期間を示す第1の期間情報を生成するとともに、前記データイネーブル信号において、前記第1の垂直ブランキング期間から所定の垂直ブランキング期間数後の第2の垂直ブランキング期間を含む前記所定の期間を計測し、計測した期間を示す第2の期間情報を生成するフォーマット判定期間計測部と、
前記第1の期間情報が示す期間と、前記第2の期間情報が示す期間とを比較し、比較した期間の大小関係に応じて、前記第1の垂直ブランキング期間又は前記第2の垂直ブランキング期間に続いて表示される画像のフォーマットを判定するフォーマット判定部と、
を備えた画像フォーマット判定装置。
An image format determination device for determining a format of an image displayed by a video signal,
In the video signal, in a data enable signal indicating an effective display period in which the image is displayed and a blanking period that is one of a horizontal blanking period and a vertical blanking period in which the image is not displayed, a first vertical A predetermined period including a blanking period is measured, first period information indicating the measured period is generated, and after a predetermined number of vertical blanking periods from the first vertical blanking period in the data enable signal A format determination period measuring unit that measures the predetermined period including the second vertical blanking period and generates second period information indicating the measured period;
The period indicated by the first period information and the period indicated by the second period information are compared, and the first vertical blanking period or the second vertical blanking period is determined according to the magnitude relationship of the compared periods. A format determination unit that determines the format of an image displayed following the ranking period;
An image format determination device.
前記画像フォーマット判定装置は、前記データイネーブル信号又は垂直同期信号に基づいて、前記データイネーブル信号が示す複数のブランキング期間から、前記垂直ブランキング期間を検出する検出部をさらに備え、
前記フォーマット判定期間計測部は、前記検出部が検出した垂直ブランキング期間を含む前記所定の期間を計測する請求項1に記載の画像フォーマット判定装置。
The image format determination device further includes a detection unit that detects the vertical blanking period from a plurality of blanking periods indicated by the data enable signal based on the data enable signal or the vertical synchronization signal,
The image format determination apparatus according to claim 1, wherein the format determination period measurement unit measures the predetermined period including a vertical blanking period detected by the detection unit.
前記検出部は、
前記データイネーブル信号において、第1のブランキング期間を含む所定周期の期間を計測し、計測した期間を示す第1の期間判定用期間情報を生成するとともに、前記データイネーブル信号において、前記第1のブランキング期間から所定のブランキング期間数後の第2のブランキング期間を含む前記所定周期の期間を計測し、計測した期間を示す第2の期間判定用情報を生成するブランキング期間判定期間計測部と、
前記第1の期間判定用情報が示す期間と、前記第2の期間判定用情報が示す期間とを比較し、より大きい期間に含まれるブランキング期間を、前記垂直ブランキング期間として検出するブランキング期間判定部と、
を有する請求項2に記載の画像フォーマット判定装置。
The detector is
In the data enable signal, a period of a predetermined cycle including a first blanking period is measured, first period determination period information indicating the measured period is generated, and in the data enable signal, Blanking period determination period measurement for measuring a period of the predetermined period including a second blanking period after a predetermined number of blanking periods from the blanking period and generating second period determination information indicating the measured period. And
Blanking for comparing a period indicated by the first period determination information with a period indicated by the second period determination information and detecting a blanking period included in a larger period as the vertical blanking period A period determination unit;
The image format determination device according to claim 2, comprising:
前記検出部は、前記ブランキング期間を含む所定周期の期間内に前記垂直同期信号がアサートされた場合に、当該所定周期の期間に含まれるブランキング期間を、前記垂直ブランキング期間として検出する請求項2に記載の画像フォーマット判定装置。   The detection unit, when the vertical synchronization signal is asserted within a predetermined period including the blanking period, detects a blanking period included in the predetermined period as the vertical blanking period. Item 3. The image format determination device according to Item 2. 前記所定の期間は、前記垂直ブランキング期間のうち、前記水平ブランキング期間分の長さの期間を除いた期間を請求項1乃至4のいずれか1項に記載の画像フォーマット判定装置。   5. The image format determination device according to claim 1, wherein the predetermined period is a period excluding a period corresponding to the horizontal blanking period in the vertical blanking period. 6. 前記所定の期間は、前記データイネーブル信号の所定周期のフィールド判定用期間である請求項1乃至4のいずれか1項に記載の画像フォーマット判定装置。   The image format determination device according to claim 1, wherein the predetermined period is a field determination period having a predetermined period of the data enable signal. 前記第2の垂直ブランキング期間は、前記第1の垂直ブランキング期間の次の垂直ブランキング期間である請求項1乃至6のいずれか1項に記載の画像フォーマット判定装置。   The image format determination device according to claim 1, wherein the second vertical blanking period is a vertical blanking period next to the first vertical blanking period. 前記フォーマット判定部は、前記第1の期間情報が示す期間より前記第2の期間情報が示す期間が大きいか、又は、前記第2の期間情報が示す期間より前記第1の期間情報が示す期間が大きいかによって、前記画像のフォーマットを、インタレースにおける第1のフィールドか、インタレースにおいて当該第1のフィールドと異なるフォーマットの第2のフィールドかを判定する請求項1乃至7のいずれか1項に記載の画像フォーマット判定装置。   In the format determination unit, the period indicated by the second period information is greater than the period indicated by the first period information, or the period indicated by the first period information is greater than the period indicated by the second period information. The method according to claim 1, wherein whether the format of the image is a first field in an interlace or a second field having a format different from the first field in the interlace is determined based on whether the image is large. The image format determination apparatus described in 1. 前記フォーマット判定部は、前記第1の期間情報が示す期間と、前記第2の期間情報が示す期間との大きさが所定の範囲内で等しい場合、前記画像のフォーマットをプログレッシブと判定するとともに、前記第1の期間情報が示す期間と、前記第2の期間情報が示す期間との大きさが所定の範囲内で等しくない場合、前記画像のフォーマットをインタレースと判定する請求項1乃至8のいずれか1項に記載の画像フォーマット判定装置。   The format determination unit determines that the format of the image is progressive when the period indicated by the first period information and the period indicated by the second period information are equal within a predetermined range. 9. The method according to claim 1, wherein when the period indicated by the first period information and the period indicated by the second period information are not equal within a predetermined range, the format of the image is determined to be interlaced. The image format determination device according to any one of the preceding claims. 映像信号によって表示される画像のフォーマットを判定する画像フォーマット判定方法であって、
前記映像信号において、前記画像が表示される有効表示期間と、前記画像が表示されない水平ブランキング期間及び垂直ブランキング期間のいずれかとなるブランキング期間と、を示すデータイネーブル信号において、第1の垂直ブランキング期間を含む所定の期間を計測し、計測した期間を示す第1の期間情報を生成するとともに、前記データイネーブル信号において、前記第1の垂直ブランキング期間から所定の垂直ブランキング期間数後の第2の垂直ブランキング期間を含む前記所定の期間を計測し、計測した期間を示す第2の期間情報を生成し、
前記第1の期間情報が示す期間と、前記第2の期間情報が示す期間とを比較し、比較した期間の大小関係に応じて、前記第1の垂直ブランキング期間又は前記第2の垂直ブランキング期間に続いて表示される画像のフォーマットを判定する、
画像フォーマット判定方法。
An image format determination method for determining a format of an image displayed by a video signal,
In the video signal, in a data enable signal indicating an effective display period in which the image is displayed and a blanking period that is one of a horizontal blanking period and a vertical blanking period in which the image is not displayed, a first vertical A predetermined period including a blanking period is measured, first period information indicating the measured period is generated, and after a predetermined number of vertical blanking periods from the first vertical blanking period in the data enable signal Measuring the predetermined period including the second vertical blanking period, and generating second period information indicating the measured period,
The period indicated by the first period information and the period indicated by the second period information are compared, and the first vertical blanking period or the second vertical blanking period is determined according to the magnitude relationship of the compared periods. Determine the format of the image displayed following the ranking period,
Image format determination method.
JP2011062719A 2011-03-22 2011-03-22 Device and method for determining image format Withdrawn JP2012199787A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011062719A JP2012199787A (en) 2011-03-22 2011-03-22 Device and method for determining image format

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011062719A JP2012199787A (en) 2011-03-22 2011-03-22 Device and method for determining image format

Publications (1)

Publication Number Publication Date
JP2012199787A true JP2012199787A (en) 2012-10-18

Family

ID=47181565

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011062719A Withdrawn JP2012199787A (en) 2011-03-22 2011-03-22 Device and method for determining image format

Country Status (1)

Country Link
JP (1) JP2012199787A (en)

Similar Documents

Publication Publication Date Title
JP3586116B2 (en) Automatic image quality adjustment device and display device
WO2011039852A1 (en) Video display device and video display method
TW201815100A (en) Eye pattern measuring apparatus and clock data recovery system and method of the same
JP4154820B2 (en) Dot clock adjustment method and dot clock adjustment device for image display device
JP5398554B2 (en) Display device
JP2012199787A (en) Device and method for determining image format
JP2011141397A5 (en)
JP5473007B2 (en) Video display device and video display method
JP4675992B2 (en) Synchronous signal generator for video signal
JP5027047B2 (en) Video signal processing device
JP6128901B2 (en) Video processing apparatus, control method therefor, timing generator, and synchronization signal generation method
JP4504714B2 (en) External synchronization signal generation circuit and phase difference measurement circuit
CN111277725B (en) Automatic video detection phase synchronization system and method
KR100425687B1 (en) Separation circuit for composition sync-signal of flat pannel display
JP4906199B2 (en) Image format conversion pre-processing device and image display device
JP2002354288A (en) Video display device
JP2012191304A (en) Synchronous signal processing device and synchronous signal processing method
JP5121164B2 (en) Display device
JP2016163334A (en) Synchronous signal generation device, synchronous signal generation method, video processing apparatus and program
JP3475773B2 (en) Video signal processing device and liquid crystal display device
JP2000132137A (en) Vertical synchronous signal detecting circuit
JP2001245176A (en) Field decision circuit
JP2003005731A (en) Video signal discriminator
JP2004260794A (en) Field correlation detecting circuit and cinema signal detecting circuit using the same
JP2005321496A (en) Video signal processing apparatus

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: 20140603