TW201041373A - Vertical synchronization processing method and circuit for composite video signal - Google Patents
Vertical synchronization processing method and circuit for composite video signal Download PDFInfo
- Publication number
- TW201041373A TW201041373A TW98115676A TW98115676A TW201041373A TW 201041373 A TW201041373 A TW 201041373A TW 98115676 A TW98115676 A TW 98115676A TW 98115676 A TW98115676 A TW 98115676A TW 201041373 A TW201041373 A TW 201041373A
- Authority
- TW
- Taiwan
- Prior art keywords
- circuit
- field
- feature
- signal
- line
- Prior art date
Links
Landscapes
- Television Systems (AREA)
- Synchronizing For Television (AREA)
Abstract
Description
201041373 六、發明說明: 【發明所屬之技術領域】 本發明係有關於複合視訊訊號(composite video signal)的處 理’尤指一種應用於複合視訊訊號之垂直同步(vertical synchronization)處理方法及其相關電路。 〇 【先前技術】 複合視頻(composite video, CVBS),或稱為複合視訊,係指一 種夾帶有同步訊號的視訊訊號。對於類比電視的複合式視頻訊號而 言,這些訊號不僅帶有每一條掃描線的資料,更包括有晝面(Frame) 與晝面間同步的資訊,在接收器接收到複合視頻訊號之後’需要能 精準地偵測出這些同步訊號,並據此正確地區分出各個畫面以及每 〇 條掃描線的邊界。由於複合視頻訊號係採用交錯式掃描(interlaced scan )的方式來交錯地傳輸奇圖場(〇dd field )以及偶圖場(even行邮) 的資料,也因為如此,在接收端便需要有適當的電路來判斷所接收 . 之圖場的類型,以確認其為一偶圖場亦或為一奇圖場,據此對每一 • 條掃描線標出正確的掃描線編號,以俾後續的解碼流程。 然而,現今的複合視頻訊號所應用的垂直同步偵測機制,往往 在訊號品質不良或有嚴重雜訊產生時會產生錯誤,而使得播放時的 201041373 晝面有晃動、滾動,或甚至無法完成同步的狀況發生,使得觀賞的 品質嚴重地受到影響。因此’亟需提供新穎的垂直同步處理電路及 其相關方法以解決習知技術的問題,即使在高雜訊的情況下,仍能 正確地完成訊號之垂直同步(vertical synchronization)運作而確保播 放品質。 【發明内容】 0 因此,本發明的目的之一係在於提供適用於複合視頻訊號的垂 直同步處理方法及其相關電路,其可在各種狀態下仍穩定的正常工 作以維持輸出視訊的品質。 根據本發明之-實施例,其係揭露—種垂直同步處理方法。此 方法包括:依序判斷該複合視頻訊號中—預定數目掃描線是否具 有-特定圖場特徵;當該預定數目掃描線具有該特定圖場特徵時, °對該複合視頻訊號的各條掃描線進行編碼,產生-掃瞒線編軌 號;以及根據該_線編碼訊號及該特細場特徵,以躺圖場類 型’並輸出一垂直同步確認訊號。201041373 VI. Description of the Invention: [Technical Field] The present invention relates to the processing of composite video signals, in particular to a vertical synchronization processing method for composite video signals and related circuits . 〇 [Prior Art] Composite video (CVBS), or composite video, refers to a video signal with a sync signal. For analog video signals of analog TVs, these signals not only have the data of each scan line, but also the information of synchronization between the frame and the face. After the receiver receives the composite video signal, it needs These sync signals can be accurately detected, and the boundaries of each picture and each scan line can be correctly distinguished accordingly. Since the composite video signal uses an interlaced scan to interleave the data of the 〇dd field and the even field (even line), it is necessary to have appropriate at the receiving end. The circuit determines the type of the field to be received to confirm that it is an even field or an odd field, and accordingly marks each scan line with the correct scan line number for subsequent The decoding process. However, the vertical sync detection mechanism applied by today's composite video signals often causes errors when the signal quality is poor or serious noise is generated, and the 201041373 surface during playback is shaken, scrolled, or even unable to complete synchronization. The situation has occurred, which has seriously affected the quality of the viewing. Therefore, there is a need to provide a novel vertical synchronization processing circuit and related methods to solve the problems of the prior art, and even in the case of high noise, the vertical synchronization of the signal can be correctly performed to ensure the playback quality. . SUMMARY OF THE INVENTION Accordingly, it is an object of the present invention to provide a vertical synchronization processing method suitable for a composite video signal and related circuitry that can be stably operated in various states to maintain the quality of the output video. According to an embodiment of the present invention, a vertical synchronization processing method is disclosed. The method includes: sequentially determining, in the composite video signal, whether a predetermined number of scan lines have a specific field feature; and when the predetermined number of scan lines have the specific field feature, each scan line of the composite video signal Encoding is performed to generate a broom line track number; and according to the _ line coded signal and the ultra-fine field feature, the vertical field confirmation signal is outputted by the lying field type '.
V ‘ 根據本發明之另-實施例,其係揭露—種垂直同步偵測電路, 而此垂直同步偵測電路偶接至一水平同步偵測電路,用以接收一取 樣點訊號和-水平同步確認訊號。此電路具有—特徵偵測電 路、一掃猫線編號電路以及一垂直同步判斷電路。此特徵侦測電路 5 201041373 根據該取樣點訊號和該水平同步確認訊號,依序判斷該複合 視頻訊號中一預定數目掃描線是否具有一特定圖場特徵。掃瞄線編 .號電路根據該取樣點訊號、該水平同步確認訊號及該特徵偵測 •電路之判斷結果’對該複合視頻訊號的各條掃描線進行編碼,產 生一掃瞄線編碼訊號。垂直同步判斷電路根據該掃瞄線編碼訊號及 該特徵偵測電路之判斷結果,以判斷正確之圖場類型,並輪出一 垂直同步確認訊號,其中,垂直同步判斷電路根據該掃瞄線編碼 Q 訊號及该特徵偵測電路之判斷結果來計算對應於該特定圖場特徵 之一掃描線總數,以判斷圖場類型,並輸出一垂直同步確認訊 號。 藉由本發明所提供之實施例(其包括有本發明之發明内容所揭 硌的一些電路與其内部電路元件的電路圖),先前技術所遭遇的問題 可順利解決或避免且可獲得技術上的或好處。 則述係先概略地描述本發明的技術特徵與優點以使後續的發明 5兒明更加易於瞭解,而本發明額外的技術特徵與相關細節描述將於 後揭露,並隸屬於本發明申請專利範圍所主張的範疇。熟習此項技 藝者應可_本發騎賊的齡絲定實侧可㈣地作為實現 本發明相同目的之其他架構或流程的修改或設計基礎,此外,熟習 此項技藝者亦可瞭解這些設計變化均未背離本發明精神與後續申請 專利範圍所主張之範疇,故皆屬本發明之涵蓋範圍。 6 201041373 【實施方式】 Ο 在本專利說明書及後續的申請專利範圍當中使 詞彙來指稱特"s件。所屬領域中具有通常了某些 解,硬體製造商可能會用不同的名詞來稱呼同—個者應可埋 說明書及後續的申請專利範圍並不以名稱的差異_件。本 分元件的方式,而是以元件在功能上的差異來作、為:為區 則。在通篇說明書及後續的請求項當中所提及的=分的準 為一開放式的用語,故應解釋成「包括但不限定於二:」夕係 「耦接」-詞在此係包括任何直接及間接的電氣連接2。’ 因此’若文中描述-第-裝置麵接於—第二裝置,則代表該 第-裝置可直接電氣連接於該$二裝置,或透過其他裝置或 連接手段間接地電氣連接至該第二裝置。 請參閱第1 S1 ’第1圖所示為本發明視訊處理電路之一 Ο 實施例的示意圖。如第1圖所示,視訊處理電路100包括有 (但不限定於)一水平同步偵測電路110、一垂直同步處理 電路120以及一訊號處理單元13〇。如圖所示,水平同步偵 V測電路110接收一複合視頻訊號sCVB以執行水平同步 .(Horizontal Synchronization )之相關運作。在水平同步完成 後’水平同步债測電路110並會提供取樣點編號 Ssample-index至垂直同步處理電路ι2〇和訊號處理單元 130’以確認每一個取樣點(sample)在一條掃描線之中所 7 201041373 代表的位置。舉例來說,在美國國家電視系統委員會(national television standards committee,NTSC )標準的複合視頻訊號 系統,取樣頻率為24.576MHz的情況下,每一條掃描線在頻 率15.734KHZ下有1562個取樣點。此外,當水平同步運作 完成時’水平同步偵測電路11〇亦會發出一水平同步確認訊 號HSYNC-lock至垂直同步處理電路120和訊號處理單元 130 ’告知已完成水平同步。垂直同步處理電路12〇係耗接 至水平同步偵測電路11〇,用以在水平同步之運作完成之 後,針對複合視頻訊號sCVB執行進一步的垂直同步(Vertical synchronization)操作。而在進行垂直同步運作的過程中, 垂直同步處理電路12〇係控制其内的特徵偵測電路14〇、垂 直同步判斷電路15〇與掃描線編號電路16〇以進行垂直同步 的相關運作來輸m同步確認錢vs YNc_iGek至訊號 处里單元130 ’並對每一條掃描線提供相對應之編號According to another embodiment of the present invention, a vertical synchronization detection circuit is disclosed, and the vertical synchronization detection circuit is coupled to a horizontal synchronization detection circuit for receiving a sampling point signal and a horizontal synchronization. Confirm the signal. The circuit has a feature detection circuit, a sweeping cat line numbering circuit, and a vertical synchronization judging circuit. The feature detection circuit 5 201041373 sequentially determines whether a predetermined number of scan lines in the composite video signal have a specific field feature based on the sampling point signal and the horizontal synchronization confirmation signal. The scan line code circuit encodes each scan line of the composite video signal according to the sampling point signal, the horizontal synchronization confirmation signal, and the determination result of the characteristic detection circuit to generate a scan line coded signal. The vertical synchronization judging circuit judges the correct field type according to the scan line coded signal and the judgment result of the feature detection circuit, and rotates a vertical sync confirmation signal, wherein the vertical sync judging circuit encodes according to the scan line The Q signal and the judgment result of the feature detecting circuit calculate the total number of scan lines corresponding to one of the specific field features to determine the field type and output a vertical sync confirmation signal. By the embodiments of the present invention, which include circuit diagrams of some of the circuits and their internal circuit components disclosed in the Summary of the Invention, the problems encountered in the prior art can be solved or avoided and technical or . The technical features and advantages of the present invention will be briefly described in order to make the subsequent inventions easier to understand, and additional technical features and related details of the present invention will be disclosed later, and are claimed in the scope of the present application. The scope of the claim. Those skilled in the art should be able to modify or design other structures or processes that achieve the same objectives of the present invention as well as those skilled in the art. The scope of the present invention is not limited by the scope of the present invention and the scope of the claims. 6 201041373 [Embodiment] 词汇 In the scope of this patent specification and the subsequent patent application, the vocabulary is referred to as "special". There are some common solutions in the field, and hardware manufacturers may use different nouns to refer to the same one. The applicant should be able to bury the specification and the subsequent patent application scope is not a difference in name. The way of the component is to make the difference in the function of the component: The terminology of the reference in the entire specification and subsequent claims is an open term and should be interpreted as "including but not limited to two:" "coupled" - the word is included here. Any direct and indirect electrical connection 2 . 'Therefore, as described in the text - the device is connected to the second device, it means that the first device can be directly electrically connected to the $2 device, or indirectly connected to the second device through other devices or connection means. . Please refer to FIG. 1A', which is a schematic diagram of an embodiment of a video processing circuit of the present invention. As shown in FIG. 1, the video processing circuit 100 includes, but is not limited to, a horizontal synchronization detecting circuit 110, a vertical synchronization processing circuit 120, and a signal processing unit 13A. As shown, the horizontal synchronization detection circuit 110 receives a composite video signal sCVB to perform a horizontal synchronization (Horizontal Synchronization) related operation. After the horizontal synchronization is completed, the horizontal synchronization debt measuring circuit 110 provides a sampling point number Ssample-index to the vertical synchronization processing circuit ι2 〇 and the signal processing unit 130' to confirm that each sampling point is in one scanning line. 7 201041373 The location of the representative. For example, in the composite video signal system of the National Television standards Committee (NTSC) standard, with a sampling frequency of 24.576 MHz, each scanning line has 1562 sampling points at a frequency of 15.734 KHZ. In addition, when the horizontal synchronization operation is completed, the horizontal synchronization detecting circuit 11 also issues a horizontal synchronization confirmation signal HSYNC-lock to the vertical synchronization processing circuit 120 and the signal processing unit 130' to inform that the horizontal synchronization has been completed. The vertical synchronization processing circuit 12 is consuming the horizontal synchronization detection circuit 11 〇 for performing further vertical synchronization operation on the composite video signal sCVB after the horizontal synchronization operation is completed. During the vertical synchronization operation, the vertical synchronization processing circuit 12 controls the feature detection circuit 14A, the vertical synchronization determination circuit 15A, and the scan line number circuit 16A for vertical synchronization. m synchronously confirms the money vs YNc_iGek to the signal unit 130' and provides a corresponding number for each scan line
Line index,卩告知後繽之訊號處理單& $一條掃描線 分別處於整個畫面(fmme)中的哪個位置,以供後續之訊 號處理#用。 ° 然而’前述之電路配置與所具有的電路元件僅為範例說 用而不為本發明的限制條件之—。舉例來說,水平同步 ^料路則、垂直同步處理電路以及職處理單元130 疋要整合於同—電_塊之巾,在本發日狀其他實施 例中’可將掃描線編號電路_獨立於包括水平同步偵測電 8 201041373 路110與垂直同步處理電路120之電路區塊之外;另外,視 §处電路1G0亦可依據设s十需求而適當地添加其他的電路 • 7G件k#*相關的設計變化转守本發明之發明精神而隸屬 於本發明的範疇之中。 f於垂直同步處理電路12G而言,特徵偵測電路可 根據取樣點編號Ssample_index和水平同步確認訊號 〇 HSYNCM0ck來依序判斷所接收的複合視頻訊號中一預 定數目掃描線衫具有-特㈣剔概(魅同頻徵),並輸出特 徵訊號。特徵偵測電路刚可根據不同的設計需求來採用不 同的,徵辨認機制來判斷對所接收的複合視頻訊號s⑽中 -預定數目掃描線是料有—特細場舰。掃描線編號電路 160根據特徵訊號、取樣點編號Ssampie index和水平同步確 認訊號HSYNCAek來轉減崎編碼並輸㈣描線編號 Line-index。垂直同步判斷電路! 5〇根據特徵訊號和掃描線^ 〇編號Line-index來進行垂直同步和圖場類型的判斷,輪出— 垂直同步確認訊號VSYNC-lock至訊號處理單元130,告知 其垂直同步已完成及根據圖場類型的判斷結果產生一控制 訊號cs至掃描線編號電路160。掃描線編號電路16〇根據 控制sfl號CS來校正取樣點編號Ssample-index。 請同時參照第1圖來看第2圖以及第3圖。第2圖所示 為符合美國國家電視系統委員會(national televisi〇n ' 201041373 standards committee,NTSC)標準的複合視頻訊號。第3圖 所示為符合I規之逐行倒向(phase aiternati〇n Hne,pal )標 準的複合視頻訊號。在本發明之一第一實施例中,特徵偵測 電路14G可採用一水平同步信號寬度特徵判斷法(pattern algorithm) ’藉由觀察掃描線的水平同步信號寬度(掃描線起 始部分中低準位的部份)的特徵來偵測複合視頻訊號Sew中 -預定數目掃描線是否具有—特定圖場特徵;除此之外,在本發 〇 明之一第二實施例中,特徵偵測電路14〇亦可採用一線中特 徵判斷法(transition algorithm ),藉由觀察掃描線中間部分 中低準位寬度的特徵,以偵測複合視頻訊號心^中一預定數 目掃描線是否具有-特定圖場特徵。當偵測到特定圖場特徵,垂 直同步判斷電路15〇可藉由掃描線編號Line_index來計算對 應於特定圖場特徵的掃描線總數並與一預定掃描線數來進行 比對,以確知圖場類別為奇圖場或為偶圖場,且輸出垂直同步 ❹確涊訊號VSYNCMock至訊號處理單元130,及一控制訊號 cs至掃描線編號電路。此外,垂直同步判斷電路15〇可更 進一步觀察圖場類別的出現規律是否為一預定的出現規律,來輪出 ‘ 垂直同步確認訊號VSYNC-lock。本發明之水平同步信號寬 度特彳玫判斷法與線中特徵判斷法將詳細說明如下。 請繼續參閱第2圖。對於符合美國國家電視系統委員會 (NTSC)標準之複合視頻訊號而言,複合視頻訊號的每一 個畫面由一奇圖場(由掃描線1〜掃描線262構成)與一偶圖 201041373 場=掃描線263〜掃描線525所構成)組成,請注意,由於 #先傳送H i員會(職)的標準,複合視頻訊號 線的位置,h a ‘傳 序而非畫面中掃描 、4 Φ 奇圖場實際係包括-書面中斗數編號心 描線(亦即晝面中的笛】 ㈤s曲中奇數編號的掃 類推),以及偶圖場實^掃括描線全第3條掃描線等,《此 Ο ❹ (亦即晝面中的第2体:包括一畫面中偶數編號的掃描線 推),因此,第2圖所、-描f、第4條掃描線等,以此類 奇數編號的掃描線,以τ及之掃描線^掃^線262係為晝面中 525係為畫面中偶數 圖所示之掃描線263〜掃描線 國家電視系統委Γ會掃描線。如圖所示,對符合美國 每個畫面具有525條線,其C標準之複合視頻訊號而言, 描線9為特殊的特徵掃描線中:在奇圖場内,掃描線!至掃 面訊號;對於偶、廷些掃描線並不帶有實質μ* 的特徵掃:咖’掃招線-掃描―::: 清參照第3 fSI · F1 4装1J· 的複合視頻訊號= = 歐規―^ Λ 忠面由對應於625條播 場包括有掃插線1〜掃描線312,、而C之訊 規格之偶圖場則包括 ^逐行 此外,第3圖所示之播描蠄 谉拖線625, 中掃r. 是指傳送上的次序而北全 中知描線的位置,亦即第3 π而非晝面 斤不之掃描線1〜掃插線312 201041373 係為晝面中奇數編號的掃描線,以及第3圖所示之掃描線 313〜掃描線625係為晝面中偶數編號的掃描線。對於美規的 美國國家電視系統委員會(NTSC)之複合視頻訊號、歐規的逐 行倒向(PAL)複合視頻訊號,或者屬於其他規格的複合视頻 訊號來說’由於在奇圖場與偶圖場的前端皆具有特殊的掃描 線群組(如符合美國國家電視系統委員會(NTSC)標準之複合 視頻訊號中的掃描線1〜掃描線9,以及符合美國國家電視系 統委員會(NTSC)標準之複合視頻訊號中的掃描線263〜掃描 線272)’其中在特殊的掃描線群組中一預定數目的掃描線具 有特定圖場特徵,也就是說,本發明之一目的即在於提供一 水平同步k號見度特徵判斷法(pattern algorithm )與一線中 特徵判斷法(transition algorithm ),以藉由觀察比對複合視 頻訊號中一預定數目掃描線的特徵是否符合特定圖場特徵,藉 以判斷圖場類型,以確認每個圖場為奇圖場或偶圖場,並輸出 一垂直同步確認訊號VSYNC-lock。 水平同步信號寬度特徵判斷法是藉由觀察掃描線的水 平同步彳5破寬度(掃描線起始部分中低準位的部份),來偵測 複合視頻訊號SCVB中一預定數目掃描線是否具有一特定圖場特 徵。舉符合美國國家電視系統委員會(NTSC)標準之複合視頻 訊號為例,從複合視頻訊號的掃描線序列中可發現,每條掃 描線的起始部份中水平同步信號的寬度並不全相同(如第2 圖所示),其中掃描線524與掃描線525為帶有資料的正常 12 201041373 ,另外,對於掃描線1〜掃描線3而言,水平同步信號 的寬度約切述正^掃描線水平同步信號寬度的一半;如前 ,所述掃“線4知知線6亦屬於特殊的特徵掃描線,掃描 線4〜掃描線6之水平同步㈣寬度較正常的掃描線的水平 同^信號寬度來的寬,然而,到了掃描線Η)以後,奇圖場 中知“線的水平同步信號寬度又回到了正常寬度。 ❹ 簡言之,對於符合美國國家電視系統委員會(NTSC)標準 ^複合視頻訊㈣言,若將正㈣掃描_水平同步信號寬 Ν(_Ϊ’ _的掃描線水平同步信號寬度標示 為s(s_),而較長的掃插線水平同步信號寬度標示為l 〇〇ng),則可先判斷出每條掃描線水平同步信號寬度的寬 度,以此來偵測-預定數目掃描線是否具有特定圖場特徵 (垂直同步特徵)。 Ο 舉例來說,當複合視頻喊符合美_家電視系统委員 會(NTSC)之標準時,若特徵制電路14〇在預定數目掃描線 中判讀到一組水平同步信號寬度為 n-n-s-s-s-l-l_l-s-s_s-n,則表示特徵憤測電路i則貞測到 圖場的特定圖場特徵(如第2圖所示),並發出特徵$號 Odd-field-match 及 Even-field-match。在;^ 私日日七 θ十知乃之一實施例 中’由於奇圖場和偶圖場的特定圖場特徵皆為 N-N-S-S-S-L-L-L-S-S-S_N,所以在找到特定圖場特徵時,垂 13 201041373 直同Y判斷電路150可藉由掃描線編號Line_index來計算姆 應於特錢場特徵的掃描線總數與—預定掃描線數⑽條挣 “線抑或263條掃描線)纟進行比對確認,以確知圖場類別 為奇圖场(262條掃插線)或為偶圖場(263條掃描線)。 同樣地_於符合歐規的逐行倒向(PAL)標準的複合視 頻.fU虎來說亦可觀察掃描線的水平同步信號寬度,來偵剛 〇 ❹ 複合視頻訊號SCVB中—預定數目掃描線是否具有—特定圖場特 徵。藉由水平同步信號寬度特徵判斷法,垂直同步處理電路 和判斷出符合逐行倒向陶標準之複合視頻訊 =的^同步和每侧場_型 後績的處理電路進行處理。在本發明之-實 偵^電路⑽在駄數目掃描線中判讀到了—組水平同步^ 為祕叫似灿彻,職示此 =特^_直同步特徵)而可發出特徵訊號 ◦dd-tield-match ;回描从,木 Α4_ , 掃y線中丨,$寺徵偵測電路140在預定數目 ㈣線中判讀到了一組水平同步信號寬度為 ’則表示此時偵測到了偶圖場的特 广=峨直料特徵),而可發出特徵訊號 trfieitmateh。當_到特定圖場特徵時,可依設叶者需 求是否計料應於彳枝圖場特 描線數㈤條掃描線㈣313條掃並與掃 以確知圖場輯奇_312___二= 201041373 條掃描線)。對於符合歐規的逐行倒向(Pal)標準的複合、 訊號來說,奇圖場和偶圖場的特定圖場特徵並不相同二見頻 可依設計者選擇性的騎是料_胁特定圖場特徵的斤^ 描線總數與一預定掃描線數來再次確認圖場類別。 、 請參閱第4圖,第4圖所示為本發明垂直同步處理電路 120採用水平同步信號寬度特徵判斷法的操作流程圖。本涪 ^ 程包括有以下步驟: w 步驟410 :流程開始。 步驟420 :依序判斷該複合視頻訊號中一預定數目掃插線是 否具有一特定圖場特徵。採用水平同步信號寬 度特徵判斷法以判斷是否讀取到一特定圓場 特徵?若有預定數目掃描線具有一特定圖場特 徵,則執行步驟430;否則,回到步驟42〇。 ❾ 糊來說,在本發明之一實施例中,特徵備 測電路140會判定此時是否讀取到偶圖場的 特定圖場特徵,若是,則執行步驟430。 _ 430 :當預定數目掃描線具有特定圖場特徵時,對複合 視頻訊號的各條掃描線進行編碼,產生-掃瞄I ,為碼錢。根據掃崎編碼訊號及特定ϋ場特徵, 以判斷正確之圖場_為_場或為奇圖場。 +例來說’虽於步驟42G中偵測到偶圖場的 特疋圖%特徵時’開始進行各條掃描線的編 201041373 螞,並根據各掃瞄線的編碼得到對應到特定 圖場特徵之掃描線總數與對應到偶圖場之掃 撝線總數相同時,則執行步驟440 ;否則,回 到步驟420。 /驟440.,察接下來的圖場訊號,若接連n個圖場皆 符合相對應之一圖場次序,則進行步驟4 5 〇, 否則,回到步驟430。舉例來說,當於步驟 430中判斷此時所接收之圖場為偶圖場(其掃 知線之總數對應到偶圖場之掃描線總數),則 判斷接連的Ν個圖場,其所擁有的掃描線總 數是否對應於應有的圖場順序(如奇圖場_> 偶圖場->奇圖場->偶圖場),若接連符合的圖 場總數高於一第一臨界值Thdl時,則執行步 驟 450。 步驟450 :輸出一垂直同步確認訊號vSY]Sfc_iock並結 束流程。 接下來將說明本發明之線中特徵判斷法。請繼續參照第 2圖與第3圖。對複合視頻訊號SCVB而言,在每條掃描線中 間的間隔寬度(低準位部份的寬度)亦有所變化。本發明之線 中特徵判斷法係藉由判斷掃描線之中間部分的間隔寬度,以 此來偵測一預定數目掃描線是否具有特定圖場特徵(垂直同 步特徵)。舉符合美國國家電視系統委員會(NTSC)標準之複 16 201041373 合視頻訊號為例,觀察複合視頻訊號(如第2圖所示)可知, 在掃描線3 (掃描線265 )的中間部分,會出現寬度較短的 低準位區段’可將其標為S。而在知描線4 (掃描線266)的 中間部分,會出現寬度較長的低準位區段,可標$ L。&亨尤 是說,特徵偵測電路140在預定數目掃描線令若讀到一組掃 描線中間部分特徵為S-L (連續兩條掃描線之中間部分之低 準位寬度變化),即為偵測到特定圖場特徵,並發出訊號 〇 Even-field—match 和0dd-field_match 至掃描線編號電路 160。 在另一實施例中,特徵偵測電路14()則可進一步的觀察 掃描線3(掃描線265)中起始部分的寬度(水平同步信號寬 度)’以及掃描線4 (掃描線2 66)中起始部分的寬度來區分出 圖場的類型為奇圖場或偶圖場。也就是說,當複合視頻訊號 sCVB符合美國國家電視系統委員會(NTsc)之規範時,特徵偵 ❹測電路刚在預定數目掃描線中_ 了—崎描線中間部分 =徵為^後’且相對應的掃描線起始部分(水平同步信號 = f亦為S_L’則表示此段特徵係對應到奇圖場的掃描 .數目财特徵峨請在預定 相對應的掃描線起始部二二 掃描線心 特徵與掃描線中間;/姓線3〜掃描線4的掃描線起始部分 間。卩刀特徵’與掃描線265〜掃描線266的掃 201041373 描線起始部分特徵與掃描線中間部分特徵),則可判斷此時 的圖場類塑以發出相對應的訊號Line index, 卩 informs the time after the signal processing single & $ one scan line in the entire screen (fmme), for subsequent signal processing #. However, the above-mentioned circuit configuration and circuit elements have only been used as examples and are not limiting of the invention. For example, the horizontal synchronization processing circuit, the vertical synchronization processing circuit, and the occupation processing unit 130 are integrated into the same-electrical-block, and in other embodiments of the present invention, the scanning line numbering circuit can be independent. In addition to the horizontal block detection circuit 8 201041373 circuit 110 and the vertical synchronization processing circuit 120 circuit block; in addition, depending on the circuit 1G0 can also be added according to the needs of the s ten need to add other circuits • 7G pieces k# * The related design changes are transferred to the scope of the present invention within the spirit of the invention. In the vertical synchronization processing circuit 12G, the feature detection circuit can sequentially determine, according to the sampling point number Ssample_index and the horizontal synchronization confirmation signal 〇HSYNCM0ck, that a predetermined number of scanning shirts in the received composite video signal have a special (four) texture. (Charming frequency sign), and output the feature signal. The feature detection circuit can just use different identification mechanisms according to different design requirements to determine that the predetermined number of scan lines in the received composite video signal s(10) are material-specific. The scan line numbering circuit 160 converts and subtracts the line code according to the feature signal, the sample point number Ssampie index, and the horizontal sync confirmation signal HSYNCAek, and outputs (4) the line number. Vertical synchronization judgment circuit! 5〇 According to the feature signal and the scan line ^ 〇 number Line-index for vertical synchronization and field type determination, the round-up vertical sync confirmation signal VSYNC-lock to the signal processing unit 130, informing that the vertical synchronization has been completed and according to the figure The result of the field type determination produces a control signal cs to the scan line numbering circuit 160. The scanning line number circuit 16A corrects the sampling point number Ssample-index based on the control sfl number CS. Please refer to Figure 1 to see Figure 2 and Figure 3. Figure 2 shows a composite video signal that complies with the National Televisi〇n '201041373 standards committee (NTSC) standard. Figure 3 shows a composite video signal that complies with the I-phase phase aiternati〇n Hne (pal) standard. In a first embodiment of the present invention, the feature detecting circuit 14G can adopt a horizontal synchronization signal width pattern algorithm 'by observing the horizontal synchronization signal width of the scanning line (the low level in the initial part of the scanning line) The feature of the bit is to detect whether the predetermined number of scan lines in the composite video signal Sew have a specific field feature; in addition, in a second embodiment of the present invention, the feature detecting circuit 14 〇 A line-of-line transition algorithm can also be used to detect whether a predetermined number of scan lines in the composite video signal have a specific field characteristic by observing the characteristics of the low-level width in the middle portion of the scan line. . When a specific field feature is detected, the vertical synchronization determining circuit 15 can calculate the total number of scan lines corresponding to the specific field feature by the scan line number Line_index and compare it with a predetermined number of scan lines to determine the field. The class is an odd field or an even field, and outputs a vertical sync signal VSYNCMock to the signal processing unit 130, and a control signal cs to the scan line number circuit. Further, the vertical synchronization judging circuit 15 can further observe whether or not the appearance rule of the field type is a predetermined appearance rule to turn out the 'vertical synchronization confirmation signal VSYNC-lock. The horizontal synchronizing signal width and the in-line feature judging method of the present invention will be described in detail as follows. Please continue to see Figure 2. For a composite video signal conforming to the National Television System Committee (NTSC) standard, each picture of the composite video signal consists of an odd field (consisting of scan line 1 to scan line 262) and an even picture 201041373 field = scan line 263 ~ scan line 525 constitutes the composition, please note that because # first transmission of the H i staff meeting (job) standard, the position of the composite video signal line, ha 'transmission instead of the screen scan, 4 Φ odd field actual The system includes - the number of strokes in the written number of strokes (that is, the flute in the face) (5) the odd-numbered sweep of the s song), and the even map field, the sweep of the entire scan line, etc., "This Ο ❹ (ie, the second body in the face: including the even-numbered scan line push in one screen), therefore, the second figure, the -f, the fourth scan line, etc., with such odd-numbered scan lines, The scanning line τ of the τ and the scanning line 262 is the scanning line 263 of the even-numbered picture in the picture, and the scanning line of the National Television System Committee of the scanning line. As shown in the figure, for a composite video signal that has 525 lines per screen in the United States and its C standard, line 9 is a special feature scan line: in the odd field, the scan line! To the sweeping signal; for the even and the some scan lines do not have the characteristic μ* feature sweep: coffee 'sweep line-scan':::: clear reference 3 fSI · F1 4 installed 1J · composite video signal = = European regulations - ^ 忠 The loyalty corresponds to the 625 broadcasts including the sweep line 1 to the scan line 312, and the even map field of the C specification includes ^ progressive, in addition to the broadcast shown in Figure 3.蠄谉 线 line 625, the middle scan r. refers to the position of the transmission and the position of the northern all-known line, that is, the 3rd π instead of the 扫描面不不 scan line 1 to the sweep line 312 201041373 The odd-numbered scan lines, and the scan lines 313 to 625 shown in FIG. 3 are even-numbered scan lines in the face. For the US National Television System Committee (NTSC) composite video signal, the European standard progressive backward (PAL) composite video signal, or other composite video signals of the other specifications, due to the odd map field and the even picture The front end of the field has a special scan line group (such as scan line 1 to scan line 9 in the composite video signal conforming to the National Television System Committee (NTSC) standard, and a combination of the National Television System Committee (NTSC) standards. A scan line 263 to a scan line 272) in the video signal, wherein a predetermined number of scan lines in a particular scan line group have a specific field feature, that is, one of the objects of the present invention is to provide a horizontal sync k A pattern algorithm and a transition algorithm are used to determine the type of the field by observing whether a feature of a predetermined number of scan lines in the composite video signal conforms to a particular field feature. To confirm that each field is an odd field or an even field, and output a vertical synchronization confirmation signal VSYNC-lock. The horizontal sync signal width feature judging method is to detect whether a predetermined number of scan lines in the composite video signal SCVB have a horizontal sync 彳5 break width (a portion of the low level in the start portion of the scan line) of the scan line. A specific field feature. Taking a composite video signal conforming to the National Television System Committee (NTSC) standard as an example, it can be found from the scan line sequence of the composite video signal that the width of the horizontal sync signal in the beginning of each scan line is not all the same (eg 2, wherein the scan line 524 and the scan line 525 are normal 12 201041373 with data, and for the scan line 1 to the scan line 3, the width of the horizontal sync signal is about the positive scan line level. The width of the sync signal is half; as before, the sweep "line 4 knows that the line 6 also belongs to a special feature scan line, and the horizontal sync (four) width of the scan line 4 to the scan line 6 is wider than the normal scan line. The width is wide, however, after the scan line Η), the odd map field knows that the line's horizontal sync signal width has returned to the normal width.简 In short, for the National Television System Committee (NTSC) standard ^ composite video (4), if the positive (four) scan _ horizontal sync signal is wide (_ Ϊ ' _ scan line horizontal sync signal width is marked as s (s_ ), and the longer horizontal sync signal width of the sweep line is labeled as 〇〇ng), then the width of the horizontal sync signal width of each scan line can be determined first to detect whether the predetermined number of scan lines have a specific Field feature (vertical synchronization feature). For example, when the composite video is shouted to meet the standards of the NTSC, if the feature circuit 14 判 reads a set of horizontal sync signals in a predetermined number of scan lines, the width is nnsssl-l_l-s-s_s -n, which means that the feature intrusion circuit i measures the specific field characteristics of the field (as shown in Figure 2) and issues the feature $0 Odd-field-match and Even-field-match. In the embodiment of ;^ 私日日七θ十知乃', since the specific field features of the singular field and the even field are all NNSSSLLLSS-S_N, when finding the specific field features, 垂13 201041373 is the same The Y judging circuit 150 can calculate the total number of scan lines of the characteristics of the special money field and the number of predetermined scan lines (10) to make a "line or 263 scan lines" by the scan line number Line_index, and confirm the figure to confirm the figure. The field type is odd field (262 sweep lines) or even field (263 scan lines). Similarly _ in accordance with the European standard progressive backward (PAL) standard composite video. The horizontal sync signal width of the scan line can be observed to detect whether the predetermined number of scan lines have a specific field feature in the composite video signal SCVB. The horizontal sync signal width feature judging method, the vertical sync processing circuit and the judging The processing circuit of the composite video signal conforming to the line-by-line backward ceramic standard is processed, and the processing circuit of each field field type is processed. In the present invention, the real circuit (10) is interpreted in the number of scan lines. Sync ^ The secret is called Can Che, the job shows this = special ^_ direct synchronization feature) and can send the characteristic signal ◦ dd-tield-match; back to the description, the raft 4_, sweep the y-line, the temple sign detection circuit 140 A predetermined number (four) of lines is interpreted as a set of horizontal sync signal widths of 'that indicates that the even field of the even field is detected at this time, and the characteristic signal trfieitmateh can be emitted. When _ is to a specific field feature According to the leaf user's demand, whether it should be counted in the lychee field, the number of lines (five) scan lines (four) 313 sweeps and sweeps to confirm the map field odd _312___ two = 201041373 scan lines). For the composite and signal of the progressive backward (Pal) standard, the specific field features of the odd and even fields are not the same. The video can be selected according to the designer's selectivity. The total number of lines and a predetermined number of scanning lines are used to confirm the field type again. Referring to FIG. 4, FIG. 4 is a flow chart showing the operation of the vertical synchronization processing circuit 120 of the present invention using the horizontal synchronization signal width feature determination method. The process includes the following steps: w Step 410: Flow of the process Step 420: sequentially determine whether a predetermined number of sweep lines in the composite video signal have a specific field feature. The horizontal synchronization signal width feature determination method is used to determine whether a specific circular field feature is read. If the scan line has a specific field feature, step 430 is performed; otherwise, returning to step 42. In an embodiment of the present invention, the feature preparation circuit 140 determines whether the image is read at this time. The specific field feature of the field, if yes, step 430. _ 430: When a predetermined number of scan lines have a specific field feature, each scan line of the composite video signal is encoded to generate a scan I, which is a code money. According to the sweeping code signal and the specific market characteristics, to determine the correct field _ is the _ field or the odd field. + For example, 'When the feature % of the even field is detected in step 42G, 'starting the editing of each scan line 201041373, and according to the coding of each scan line, the corresponding map feature is obtained. If the total number of scan lines is the same as the total number of broom lines corresponding to the even field, step 440 is performed; otherwise, return to step 420. / Step 440. Check the next field signal. If all the fields in the field meet the corresponding field order, proceed to step 4 5 〇, otherwise, return to step 430. For example, if it is determined in step 430 that the field received at this time is an even field (the total number of sweep lines corresponds to the total number of scan lines of the even field), then successive fields are determined. Whether the total number of scan lines owned corresponds to the order of the field (such as odd field _> even field -> odd field -> even field), if the total number of consecutive fields is higher than one When a threshold value Thdl is reached, step 450 is performed. Step 450: Output a vertical synchronization confirmation signal vSY]Sfc_iock and end the flow. Next, the in-line feature judging method of the present invention will be explained. Please continue to refer to Figures 2 and 3. For the composite video signal SCVB, the width of the interval (the width of the low level portion) in each of the scanning lines also changes. The in-line feature judging method of the present invention detects whether a predetermined number of scan lines have a specific field feature (vertical sync feature) by judging the interval width of the middle portion of the scan line. Taking the video signal of the National Television System Committee (NTSC) standard 16 201041373 as an example, observing the composite video signal (as shown in Figure 2), it appears that in the middle of scan line 3 (scan line 265) A shorter width section of the lower level can be marked as S. In the middle portion of the known line 4 (scanning line 266), a low-level low-level section appears, which can be labeled $L. &Henju said that the feature detecting circuit 140, when a predetermined number of scanning lines are ordered to read a group of scanning lines, is characterized by SL (the low-level width variation of the middle portion of two consecutive scanning lines), that is, the detection A specific field feature is detected and signals 〇 Even-field-match and 0dd-field_match are sent to the scan line numbering circuit 160. In another embodiment, the feature detecting circuit 14() can further observe the width (horizontal sync signal width) of the starting portion in the scan line 3 (scan line 265) and the scan line 4 (scan line 2 66). The width of the middle part is used to distinguish the type of the field from the odd field or the even field. That is to say, when the composite video signal sCVB conforms to the specifications of the National Television System Committee (NTsc), the feature detection circuit just in the predetermined number of scan lines _ - the middle part of the smear line = levy ^ after 'and corresponding The beginning of the scan line (horizontal sync signal = f is also S_L' means that the feature of this segment corresponds to the scan of the odd field. The number of features is required to be at the beginning of the corresponding scan line. Between the feature and the scan line; / between the line 3 and the scan line starting point of the scan line 4. The file feature 'and the scan line 265 to the scan line 266 sweep 201041373 line start feature and the scan line middle part feature), Then, it can be judged that the pattern field at this time is used to emit a corresponding signal.
Even-field-match 或Even-field-match or
Odd-field-match至掃描線編號電路16〇。 另一方面,當複合視頻訊號SCVB符合歐規之逐行倒向 (PAL)標準時,特徵偵測電路14〇在預定數目掃描線中若讀 到一組掃描線中間部分特徵為S_L(掃描線625〜掃描線丄及 〇 掃描線312〜掃描線313),即為偵測到特定圖場特徵,並發 出訊號Even-field-match和〇dd-field-match至掃描線編號電 路160。在另一實施例中,當特徵偵測電路14〇偵測到特定 圖場特徵時’則可近一步的觀察相對應的掃描線水平同步作 號寬度來判斷此時圖場的類型以據此發出訊號 Even-field-match 或 〇dd-field-match。 請參閱第5圖’第5圖所示為本發明垂直同步處理電路 ❹ 120採用線中特徵判斷法的操作流程圖。本流程包括有以下 步驟: 步驟510 :流程開始。 ' 步驟520 :依序判斷該複合視頻訊號中一預定數目掃描線日 否具有一特定圖場特徵。採用線中特徵判斷法 以判斷是否讀取到一特定圖場特徵?若有預— 數目抑'指線具有一特定圖场特徵,則執彳-+驟 530 ;否則’回到步驟520。舉例來說在本 18 201041373 發明之一實施例中,特徵伯剩電路140會判 定此時是否讀取到偶圖場的特定 ^ |刊 若是,則執行步驟530。疋圖场特徵’ 步驟530 :當預定數目掃·具有特Μ場特徵時 視頻訊號的各條掃描線進行、紙 馬’產生一播聪/.Α 編碼訊號。根據掃瞄線編螞詡缺R δ 9日田綠 ° ’U及特定圖場特 以判斷正確之圖場類型為鸽圖 寸風, Ο Ο 勿5乂马奇圖場。 舉例來說,當於步驟520中_到偶圖場的 特疋圖场特徵時’開始進行各條掃描線的編 碼,並根據各掃瞒線的編石馬得到對應到 圖場特徵之掃描線總數與對應到偶圖場之掃 描線總數相同時,則執行步驟540;否則I 到步驟520。 ^ 步驟_ :觀察接下來圖場訊號,若接連Ν個圖場 合相對應之—圖場次序,則進行步驟550,否 則,回到步,驟530。舉例來說,當於步驟53〇 中判斷此時所接收之圖場為偶圖場(其婦栺 線之總數對應到偶圖場之掃描線總數;、,則; 直同步判斷電路150將判斷接連的Ν個圖 場’其所擁有的掃描線總數是否對應於應有 的圖場順序(如奇圓場_〉偶圖場·>奇圖私 偶圖場),若接連符合的圖場總數高於一第一 臨界值Thdi時,則執行步驟55〇。、 19 201041373 步驟55〇 :輸出一垂直同步確認訊號VSYNC—lock,並 結束流程。 然而,不論垂直同步處理電路12〇採用水平同步信號寬 度特徵判斷法或線中特徵判斷法來判斷圖場的類型,特徵偵 測電路14G皆須計算出在預定數目掃描線中每—條掃描線相 〇 對應的低準位寬度(起始部分及/或掃描線中間部分),藉以 偏測特定圖場特徵’而為了計算出每―條掃描線低準位的寬 度,需預设或计算出一戴位臨界值Hsync_Slicer_Thd ’當气 號低於此截位臨界值Hsync—Slicer_Thd時,則可將此準位視 為一低準位,而特徵偵測電路丨4 〇則可依據每一條掃描線其 起始部分及/或中間部分的低準位之時間長度(寬度)來比對 -預定掃描線數目是^符合特定圖場特徵。本發明所揭露的 〇 _演算法皆依據-預定掃描線數目中相對應部分低準位 的寬度來據關斷是^具有敎圖徵(垂直同步特徵), 並更進一步判斷圖場的類型。 請參Μ㈣至第9 ® 1 6圖至第9圖分別所示為本 發明之特徵偵測電路_偵測掃插線的低準位寬度(時間長 度)的示意圖。如第6圖所示’特徵_電路_首先將複 合視頻訊號S c v B經由一低通濾波器6〗〇以輸出一濾波後訊 號Hsync-Slicer-In。特徵偵測電路14〇 t在每一條掃描線的 20 201041373 特定部分(如起始部分以及/或中間部分)設定一觀察視窗; 如第7圖至第9圖所示,此觀察視窗可為寬度為2H之觀察 視窗。其中寬度Η可為標準的水平同步信號寬度。在決定了 觀察視窗的位置之後,特徵偵測電路140係開始計算一第— 參考值 BackPorch_Val 以及一第二參考值 Hsync_Peak Val ; 之後,再依據此二參考值來決定出所需的截位臨界值Odd-field-match to scan line numbering circuit 16〇. On the other hand, when the composite video signal SCVB complies with the European standard progressive backward (PAL) standard, the feature detecting circuit 14 detects a middle portion of the scanning line in a predetermined number of scanning lines as S_L (scanning line 625~). The scan line 丄 and the scan line 312 312 313 are detected to detect a specific field feature, and the signals Even-field-match and 〇 dd-field-match are sent to the scan line number circuit 160. In another embodiment, when the feature detection circuit 14 detects a specific field feature, it can further observe the corresponding scan line horizontal synchronization number width to determine the type of the field at this time. Signal the Even-field-match or 〇dd-field-match. Referring to Fig. 5, Fig. 5 is a flow chart showing the operation of the vertical synchronization processing circuit ❹ 120 of the present invention using the in-line feature judging method. The process includes the following steps: Step 510: The process begins. Step 520: sequentially determining whether a predetermined number of scan lines in the composite video signal have a specific field feature. Use the in-line feature judgment method to determine whether a specific field feature is read? If there is a pre-number, the finger line has a particular field feature, then -5 530; otherwise, 'back to step 520. For example, in one embodiment of the present invention, the feature-preferred circuit 140 determines whether a particular field of the even field is read at this time. If yes, step 530 is performed. The field pattern feature is as follows: Step 530: When a predetermined number of sweeps have a characteristic field feature, each scan line of the video signal is made, and the paper horse produces a broadcast/.Α coded signal. According to the scan line, the grasshopper lacks R δ 9 Hita Green ° ’U and the specific map field to determine the correct type of the field is the pigeon figure. Wind, Ο 勿 Do not 5 乂 March. For example, when the feature field feature of the even field is _ in step 520, the coding of each scan line is started, and the scan line corresponding to the feature of the field is obtained according to the stone of each broom line. When the total number is the same as the total number of scan lines corresponding to the even field, step 540 is performed; otherwise, I goes to step 520. ^ Step _: Observe the next field signal. If the corresponding field is connected to the field, go to step 550. Otherwise, go back to step 530. For example, when it is determined in step 53 that the field received at this time is an even field (the total number of the women's and women's lines corresponds to the total number of scan lines of the even field; and;; the direct synchronization determining circuit 150 will judge Whether the total number of scan lines owned by successive fields is corresponding to the order of the field (such as odd field _> even field · gt; odd figure private field), if the total number of consecutive fields is consistent When it is higher than a first threshold Thdi, step 55 is performed. 19 201041373 Step 55: A vertical synchronization confirmation signal VSYNC_lock is output, and the flow is ended. However, the vertical synchronization processing circuit 12 uses a horizontal synchronization signal. The width feature judging method or the in-line feature judging method is used to determine the type of the field, and the feature detecting circuit 14G must calculate the low-level width corresponding to each scan line in a predetermined number of scanning lines (the initial portion and / or the middle part of the scan line), in order to calculate the specific field feature ', and in order to calculate the width of the low level of each scan line, you need to preset or calculate a wearing position threshold Hsync_Slicer_Thd 'When the gas number is lower than this cut When the threshold value Hsync_Slicer_Thd is used, the level can be regarded as a low level, and the feature detecting circuit 丨4 可 can be based on the time of the low level of the initial portion and/or the middle portion of each scanning line. The length (width) is compared - the predetermined number of scan lines is ^ corresponding to a particular field feature. The 〇_ algorithm disclosed in the present invention is based on the width of the corresponding portion of the predetermined number of scan lines to be turned off. ^ has a 敎 map (vertical synchronization feature), and further determine the type of field. Please refer to (4) to 9 ® 1 6 to 9 respectively show the feature detection circuit _ detection sweep Schematic diagram of the low-level width (time length) of the line. As shown in Fig. 6, the 'feature_circuit_ first multiplexes the composite video signal S cv B via a low-pass filter 6 to output a filtered signal Hsync-Slicer -In. The feature detecting circuit 14〇t sets an observation window at a specific portion (such as the starting portion and/or the middle portion) of each of the 20 201041373 of each scanning line; as shown in FIGS. 7 to 9, the viewing window It can be an observation window with a width of 2H. The degree may be a standard horizontal sync signal width. After determining the position of the viewing window, the feature detecting circuit 140 starts calculating a first reference value BackPorch_Val and a second reference value Hsync_Peak Val; and then according to the two references. Value to determine the required cutoff threshold
Hsync_Slicer_Thd ;在得到 了截位臨界值 Hsync_Slicer_Thd 〇 之後,特徵偵測電路140會將目前掃描線訊號與截位臨界值 Hsync一Slicer_Thd來加以比對,以計算目前掃描線訊號中低 於此截位臨界值Hsync_Slicer_Thd的時間長度來決定相對應 的特徵(S、N或是L)。 在本發明之一實施例中,特徵偵測電路14〇可在觀察視 窗之中開啟一第一參考區域Bkporch_Val_Window,在此計 算出第一參考值BackPorch—Val。另外,特徵偵測電路mo ^ 另在所設定的觀察視窗中的一第二參考區域 Hsync_PhErr_Window中決定此第二參考值Hsync_Slicer_Thd; After the truncation threshold Hsync_Slicer_Thd is obtained, the feature detection circuit 140 compares the current scan line signal with the truncation threshold Hsync-Slicer_Thd to calculate that the current scan line signal is lower than the truncation threshold. The length of time Hsync_Slicer_Thd determines the corresponding feature (S, N or L). In an embodiment of the present invention, the feature detecting circuit 14 turns on a first reference area Bkporch_Val_Window in the observation window, where the first reference value BackPorch_Val is calculated. In addition, the feature detecting circuit mo ^ further determines the second reference value in a second reference region Hsync_PhErr_Window in the set viewing window.
Hsync—Peak一Val。舉例來說,特徵偵測電路14〇可在計算第 一參考區域Bkporch_Val一Window中所有取樣點的平均值來 作為第一參考值BackPorch_Val,且將第二參考區域 Hsync—PhErr—Window中的最低點作為第二參考值 HSync_Peak_Va卜於得到第一參考值BackPorch_Val與第二 參考值Hsync—Peak—Val之後,再依此決定出截位臨界值 21 201041373Hsync—Peak-Val. For example, the feature detecting circuit 14 can calculate the average value of all sampling points in the first reference region Bkporch_Val_Window as the first reference value BackPorch_Val, and the lowest point in the second reference region Hsync_PhErr_Window. As the second reference value HSync_Peak_Va, after obtaining the first reference value BackPorch_Val and the second reference value Hsync_Peak_Val, the truncation threshold 21 is determined accordingly.
Hsync_Slicer_Thd。請注意到,前述計算第一參考值與第二 參考值來決定截位臨界值Hsync_Slicer_Thd之流程僅為說明 之用而不為本發明的限制條件之一;任何決定一參考臨界值 (截位臨界值Hsync_Slicer_Thd )以應用此臨界值於本發明 所提供的水平同步信號寬度特徵判斷法/線中特徵判斷法來 進行垂直同步處理的方法/電路,皆屬於本發明的範疇之中。 0 舉例來說,在本發明的一實施例中,可依據以下的公式 來決定截位臨界值Hsync_Slicer_Thd :Hsync_Slicer_Thd. Please note that the foregoing process of calculating the first reference value and the second reference value to determine the truncation threshold Hsync_Slicer_Thd is for illustrative purposes only and is not one of the limitations of the present invention; any decision-reference threshold (intercept threshold) The value Hsync_Slicer_Thd) is a method/circuit for applying the vertical value to the horizontal synchronization signal width feature determination method/line in-line feature determination method provided by the present invention to perform vertical synchronization processing, and is within the scope of the present invention. For example, in an embodiment of the invention, the truncation threshold Hsync_Slicer_Thd can be determined according to the following formula:
Hsync_Slicer_Thd(n+1 )=(Hsync_Peak_Val(n)+ BackProch_Val(n))/2; 決定了目前掃描線的截位臨界值Hsync_Slicer_Thd之 後,特徵偵測電路140即可依據所採用的演算法(水平同步 信號寬度特徵判斷法/線中特徵判斷法)來判斷每一條掃描線 €) 的起始部分/中間部分處於低準位的寬度,以此偵測預定數目 掃描線是否具有特定圖場特徵。值得注意的是,目前掃描線 的截位臨界值Hsync_Slicer_Thd(n+1)是由上一個掃描線的 第一參考值BackPorch_Val(n)和第二參考值 Hsync_Peak_Val(n)平均而得到。在另一實施例中,掃描線的 截位臨界值Hsync_Slicer_Thd亦可設為一預定值。 請參閱第7圖,在本實施例中,將掃描線訊號中低於截 22 201041373 位臨界值Hsync一Slicer_Thd的寬度標為St,則當時門Hsync_Slicer_Thd(n+1)=(Hsync_Peak_Val(n)+ BackProch_Val(n))/2; After determining the truncation threshold Hsync_Slicer_Thd of the current scan line, the feature detection circuit 140 can be based on the algorithm used (horizontal synchronization) The signal width feature judging method/in-line feature judging method is used to judge whether the initial portion/middle portion of each scanning line () is at a low level width, thereby detecting whether a predetermined number of scanning lines have a specific field feature. It is to be noted that the current truncation threshold Hsync_Slicer_Thd(n+1) of the scan line is obtained by averaging the first reference value BackPorch_Val(n) of the previous scan line and the second reference value Hsync_Peak_Val(n). In another embodiment, the truncation threshold Hsync_Slicer_Thd of the scan line may also be set to a predetermined value. Referring to FIG. 7, in the embodiment, the width of the scan line signal lower than the threshold value Hsync-Slicer_Thd of the section 22 201041373 is marked as St, then the gate is
St小於1.25H (如前所述’觀察視窗的寬度為Η 又 ).·8ι.大於 0.75Η時’則判定此時的特徵寬度為’’Ν,,。 請參照第8圖,在此實施例中,將掃描線訊號 位臨界值Hsync—Slicer—Thd的寬度標為&,則 县按 Ο ΟSt is less than 1.25H (as described above, when the width of the observation window is Η again). . . 8ι. is greater than 0.75 ’, then the feature width at this time is determined to be '’Ν,. Referring to FIG. 8, in this embodiment, the width of the scan line signal threshold Hsync_Slicer-Thd is marked as &, then the county presses Ο Ο
St大於L25H(如前所述’觀察視窗的寬度為二二 定此時的特徵寬度為”L”。 ’則判 0.25H時,則狀此時的特徵寬度為”s”。 大於 綜上所述,經由特徵偵剩電路⑽ =掃描線的特徵序列,以依據所採用的線=出預定 次算法來進㈣錢步的運作 」錯或線間 長知以及特徵寬度”S”、,,n,,、,,τ,, 〇 別述觀察視窗的 不為本發明的限制條件之―。、°°°門僅為相之用,而 以上所述僅為本發明之較 所做之均等變化與修飾,皆=例,凡依本發日种請專利範圍 …屬本發明之涵蓋範圍。 23 201041373 【圖式簡單說明】 第1圖為根據本發明視訊處理電路之一實施例的示意圖。 第2圖為符合美國國家電視(NTSC)系統委員會標準之複合 視頻訊號的示意圖。 第3圖為符合歐規之逐行倒向(PAL)標準之複合視頻訊號的 示意圖。St is larger than L25H (as described above, the width of the observation window is two or two, and the feature width is "L"." When 0.25H is judged, the feature width at this time is "s". Said, through the feature detection circuit (10) = the characteristic sequence of the scan line, according to the line = the predetermined algorithm used to enter (four) the operation of the money step "wrong or inter-line knowledge and feature width" S",,, n ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, And the modifications, all = examples, the scope of patents according to the present invention is within the scope of the present invention. 23 201041373 [Simple Description of the Drawings] FIG. 1 is a schematic diagram of an embodiment of a video processing circuit according to the present invention. Figure 2 is a schematic diagram of a composite video signal conforming to the National Television (NTSC) System Committee standard. Figure 3 is a schematic diagram of a composite video signal conforming to the European standard progressive backward (PAL) standard.
第4圖為本發明垂直同步偵測電路採用水平同步信號寬度特 徵判斷法的操作流程圖。 第5圖為本發明垂直同步憤測電路採用線中特徵判斷法的操 作流程圖。 第6圖為本發明特徵偵測電路_掃描線的低準位寬度(時 間長度)之第一實施例的示意圖。 第7圖為本發明特徵_電路_掃描線的低準位寬度(時 間長度)之第二實施例的示意圖。 第8圖為本發明特徵偵測電路_掃騎的低準位宽 間長度)之第三實施例的示意圖。 第9圖為本發明特徵_電路_如線的低準 間長度)之第四實施例的示意圖。 【主要元件符號說明】 100 視訊處理電略 24 201041373 110 水平同步偵測電路 120 垂直同步處理電路 130 訊號處理單元 140 特徵偵測電路 150 垂直同步判斷電路 160 掃描線編號電路 610 低通渡波器 Ο 25Fig. 4 is a flow chart showing the operation of the vertical synchronization detecting circuit of the present invention using the horizontal synchronizing signal width characteristic judging method. Fig. 5 is a flow chart showing the operation of the in-line feature judging method for the vertical sync inversion circuit of the present invention. Fig. 6 is a view showing the first embodiment of the low-level width (time length) of the characteristic detecting circuit_scanning line of the present invention. Fig. 7 is a view showing a second embodiment of the low-level width (time length) of the characteristic_circuit_scanning line of the present invention. Fig. 8 is a schematic view showing a third embodiment of the feature detecting circuit _ Sweeping low-level width of the present invention. Fig. 9 is a view showing a fourth embodiment of the feature_circuit_such as the low-order length of the line) of the present invention. [Main component symbol description] 100 Video processing system 24 201041373 110 Horizontal synchronization detection circuit 120 Vertical synchronization processing circuit 130 Signal processing unit 140 Feature detection circuit 150 Vertical synchronization judgment circuit 160 Scan line number circuit 610 Low-pass waver Ο 25
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW098115676A TWI516108B (en) | 2009-05-12 | 2009-05-12 | Vertical synchronization processing method and circuit for composite video signal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW098115676A TWI516108B (en) | 2009-05-12 | 2009-05-12 | Vertical synchronization processing method and circuit for composite video signal |
Publications (2)
Publication Number | Publication Date |
---|---|
TW201041373A true TW201041373A (en) | 2010-11-16 |
TWI516108B TWI516108B (en) | 2016-01-01 |
Family
ID=44996290
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW098115676A TWI516108B (en) | 2009-05-12 | 2009-05-12 | Vertical synchronization processing method and circuit for composite video signal |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI516108B (en) |
-
2009
- 2009-05-12 TW TW098115676A patent/TWI516108B/en active
Also Published As
Publication number | Publication date |
---|---|
TWI516108B (en) | 2016-01-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109089064B (en) | Apparatus and method for processing media signal | |
CN106488226B (en) | Automated detection method and device on a kind of production line | |
JP2013197838A (en) | Remote conference system and remote conference terminal | |
TWI280051B (en) | Determination system and method for determining the type of received video signal within the video device | |
CN101682706A (en) | video receiver | |
KR20170021802A (en) | Methods, systems, and media for authenticating a connection between a user device and a streaming media content device | |
CN108650491A (en) | A kind of video watermark detection method towards monitoring system | |
CN103179384A (en) | Video data processing system for video monitoring and video broadcasting system | |
WO2018010549A1 (en) | Method and device for video local zooming | |
TW201041373A (en) | Vertical synchronization processing method and circuit for composite video signal | |
TWI309130B (en) | Video processing apparatus and methods using selectively modified sync positions | |
JP7190473B2 (en) | How to inject additional data | |
TWI279139B (en) | Data recovery device and method | |
JP3944329B2 (en) | Apparatus and method for controlling and detecting alignment of composite video color frame | |
JP2005057590A (en) | Decoding display device, image pickup unit, and image transmission system equipped with these | |
EP2469877B1 (en) | System and method for audio video pattern sequence diagnostic tool | |
KR101646847B1 (en) | System and method for detecting abnormality of display device | |
TWI353168B (en) | Video broadcast system, secam-l detector and metho | |
AU2002367233A1 (en) | Parallel mr imaging method | |
JP2013005410A (en) | Image format discrimination device, image format discrimination method, image reproducer and electronic apparatus | |
JP2008090370A (en) | Display device | |
WO2015010395A1 (en) | Display device synchronization signal detection method and detection device, and display device | |
TW200915172A (en) | Method and apparatus for transmitting decoding a video signal | |
CN108009453A (en) | Backlit display detects and radio signature identification | |
JP4519569B2 (en) | 3D MPEG signal synchronization system |