JP4984630B2 - Video signal converter - Google Patents

Video signal converter Download PDF

Info

Publication number
JP4984630B2
JP4984630B2 JP2006126382A JP2006126382A JP4984630B2 JP 4984630 B2 JP4984630 B2 JP 4984630B2 JP 2006126382 A JP2006126382 A JP 2006126382A JP 2006126382 A JP2006126382 A JP 2006126382A JP 4984630 B2 JP4984630 B2 JP 4984630B2
Authority
JP
Japan
Prior art keywords
video signal
display
error
data
image data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2006126382A
Other languages
Japanese (ja)
Other versions
JP2007300365A (en
Inventor
憲治 福間
光弘 本目
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yamaha Corp
Original Assignee
Yamaha 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 Yamaha Corp filed Critical Yamaha Corp
Priority to JP2006126382A priority Critical patent/JP4984630B2/en
Publication of JP2007300365A publication Critical patent/JP2007300365A/en
Application granted granted Critical
Publication of JP4984630B2 publication Critical patent/JP4984630B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、NTSC等の非同期映像信号を変換するための映像信号変換装置に関し、特に、その映像信号から得られる画像データのフォーマットを変換するための技術に関する。   The present invention relates to a video signal converter for converting an asynchronous video signal such as NTSC, and more particularly to a technique for converting the format of image data obtained from the video signal.

従来、パソコンやカーナビゲーションシステム等の情報処理端末において、映像出力を担う画像処理装置としてビデオディスプレイプロセッサが用いられている。このビデオディスプレイプロセッサによれば、NTSCやPAL等の映像信号をキャプチャしてモニタに表示する機能や、映像にオーバーラップさせて各種設定値等の画像を描画するためのOSD(On Screen Display)機能を簡易に実現できる(特許文献1〜3参照)。   Conventionally, in an information processing terminal such as a personal computer or a car navigation system, a video display processor has been used as an image processing device responsible for video output. According to this video display processor, a video signal such as NTSC or PAL is captured and displayed on a monitor, and an OSD (On Screen Display) function for drawing an image of various setting values by overlapping the video. Can be easily realized (see Patent Documents 1 to 3).

上述のビデオディスプレイプロセッサの内部では、外部から入力したNTSC等に準拠した入力映像信号をデコードして例えばITU−R BT.601に準拠したフォーマットの画像データを生成した後、これをITU−R BT.656に準拠した画像データにフォーマット変換しており、ビデオディスプレイプロセッサはそのための映像信号変換装置を内蔵している。   In the video display processor described above, an input video signal conforming to NTSC or the like input from the outside is decoded and, for example, ITU-R BT. After generating image data in a format conforming to 601, this is converted into ITU-R BT. The format is converted into image data compliant with 656, and the video display processor has a built-in video signal converter.

ところで、上述のフォーマット変換を行う際、映像信号変換装置の動作を入力映像信号の同期信号と同期させる必要があるが、このことについて図7を参照して説明する。
図7の上段に示す輝度データY及び色差データCb,Crは、ITU−R BT.601に準拠したフォーマットの画像データである。ITU−R BT.601によれば、画像データは、輝度データY及び色差データCb,Crの2系列のパラレルデータとして構成され、輝度データYの周波数は13.5MHzと規定され、色差データCb,Crの周波数は輝度データYの周波数の半分に相当する6.75MHzと規定されている。
By the way, when performing the above-described format conversion, it is necessary to synchronize the operation of the video signal conversion apparatus with the synchronization signal of the input video signal. This will be described with reference to FIG.
The luminance data Y and color difference data Cb, Cr shown in the upper part of FIG. 7 are ITU-R BT. 601 is image data in a format conforming to 601. ITU-R BT. According to 601, the image data is configured as two series of parallel data of luminance data Y and color difference data Cb, Cr, the frequency of the luminance data Y is defined as 13.5 MHz, and the frequency of the color difference data Cb, Cr is the luminance. It is defined as 6.75 MHz corresponding to half the frequency of data Y.

このように輝度及び色差の各成分の周波数を規定することにより、2つの輝度データ(図7の例えばY1及びY2)に1組の色差データ(図7の例えばCb1及びCr1)が対応づけられる。従って、輝度データYは1画素ごとに切り替えられ、色差データCb,Crは2画素に1回の割合で切り替えられることになる。このような各周波数の設定は、人間の視覚特性に基づいている。即ち、人間の視覚は輝度に対しては敏感であるが、色差に対しては鈍感であり、色差を1画素ごとに切り替える必要がないことに基づいている。   By defining the frequencies of the luminance and color difference components in this way, one set of color difference data (for example, Cb1 and Cr1 in FIG. 7) is associated with the two luminance data (for example, Y1 and Y2 in FIG. 7). Therefore, the luminance data Y is switched for each pixel, and the color difference data Cb and Cr are switched once every two pixels. Such setting of each frequency is based on human visual characteristics. That is, human vision is sensitive to luminance, but insensitive to color differences, and it is not necessary to switch color differences pixel by pixel.

図7の中段に示す画像データDAは、ITU−R BT.656に準拠したフォーマットの画像データであり、上述のITU−R BT.601に準拠した画像データを正常にフォーマット変換して得られたデータである。この例に示すように、変換後の画像データDAは輝度データYと色差データCb,Crとのシリアルデータとして構成され、その周波数は輝度データYの周波数の2倍に相当する27MHzと規定されている。
なお、同図に示されている画像データDBは、フォーマット変換が正常に行われなかった場合の例であり、これについては後述する。
The image data DA shown in the middle of FIG. 7 is ITU-R BT. 656-compliant format image data, and the ITU-R BT. This is data obtained by normal format conversion of image data compliant with 601. As shown in this example, the converted image data DA is configured as serial data of luminance data Y and color difference data Cb, Cr, and the frequency is defined as 27 MHz corresponding to twice the frequency of luminance data Y. Yes.
The image data DB shown in the figure is an example when the format conversion is not normally performed, which will be described later.

上述のように各画像データの周波数が規格値を満足することにより、フォーマット変換前のITU−R BT.601に準拠したパラレル画像データが、ITU−R BT.656に準拠したシリアル画像データに正しくフォーマット変換される。従って、フォーマット変換を担う映像信号変換装置は入力映像信号の同期信号と同期動作する必要がある。   As described above, when the frequency of each image data satisfies the standard value, the ITU-R BT. The parallel image data compliant with 601 is ITU-R BT. The format is correctly converted into serial image data conforming to 656. Therefore, the video signal conversion apparatus responsible for format conversion needs to operate synchronously with the synchronization signal of the input video signal.

図8に、上述の入力映像信号の同期信号と同期動作する映像信号変換装置の構成例を示す。
図8において、輝度データY、色差データCb,Cr、同期信号Sは、ITU−R BT.601に従って入力映像信号をデコードして得られたものである。この映像信号変換装置は、同期信号Sに同期したクロックCLKを生成するPLL(Phase Locked Loop)801と、輝度データY及び色差データCb,Crからなるパラレル画像データを格納するFIFO(First-In First-Out)802と、画像データをフォーマット変換するフォーマット変換回路803から構成される。
FIG. 8 shows an example of the configuration of a video signal conversion apparatus that operates in synchronization with the above-described input video signal synchronization signal.
In FIG. 8, luminance data Y, color difference data Cb, Cr, and synchronization signal S are ITU-R BT. This is obtained by decoding the input video signal according to 601. This video signal conversion apparatus includes a PLL (Phase Locked Loop) 801 that generates a clock CLK synchronized with a synchronization signal S, and a FIFO (First-In First) that stores parallel image data including luminance data Y and color difference data Cb and Cr. -Out) 802 and a format conversion circuit 803 that converts the format of the image data.

この従来装置の動作を簡単に説明する。輝度データY及び色差データCb,Crからなるパラレル画像データはFIFO802に一旦格納される。フォーマット変換回路803は、FIFO802に格納されたパラレル画像データをクロックCLKのタイミングで読み出すことにより、そのフォーマット変換動作を入力映像信号に同期させ、パラレル画像データをITU−R BT.656に準拠したシリアル画像データに変換する。
特開2005−257886号公報 特開2004−147285号公報 特開2005−215252号公報
The operation of this conventional apparatus will be briefly described. Parallel image data including luminance data Y and color difference data Cb and Cr is temporarily stored in the FIFO 802. The format conversion circuit 803 reads the parallel image data stored in the FIFO 802 at the timing of the clock CLK, thereby synchronizing the format conversion operation with the input video signal, and converting the parallel image data into the ITU-R BT. Convert to serial image data in accordance with 656.
JP 2005-257886 A JP 2004-147285 A JP 2005-215252 A

しかしながら、上述の図8に示す従来装置によれば、フォーマット変換動作を入力映像信号に同期させるためのPLLを必要とするため、その分だけ回路規模成が増大すると共に、またそれによる消費電力が増大するという問題がある。   However, according to the conventional device shown in FIG. 8 described above, a PLL for synchronizing the format conversion operation with the input video signal is required, so that the circuit scale increases correspondingly and the power consumption due to this increases. There is a problem of increasing.

また、PLLを用いずに入力映像信号の画像データを非同期のまま直接的に内部クロックに基づきフォーマット変換すると、入力映像信号のソースによっては、水平走査線に対応する表示空間の水平区間(以下、ラインと称す)の各周期に僅かな差が発生することがあるため、フォーマット変換が正常に行われない場合がある。即ち、入力映像信号の各ラインの周期に差が発生すると、この差がフォーマット変換動作に反映されないため、フォーマット変換の際にパラレル画像データの取り込みに失敗して、変換後の画像データの一部が欠落することや、逆に不要なデータが付加されることが起こり得る。   Further, if the format of the image data of the input video signal is directly converted based on the internal clock without using the PLL, depending on the source of the input video signal, the horizontal section of the display space corresponding to the horizontal scan line (hereinafter, Since a slight difference may occur in each cycle), format conversion may not be performed normally. In other words, if a difference occurs in the cycle of each line of the input video signal, this difference is not reflected in the format conversion operation. Therefore, the import of parallel image data failed during the format conversion, and part of the converted image data May be lost, or conversely, unnecessary data may be added.

図7に示す画像データDBは、PLLを用いずにフォーマット変換した場合に画像データCb2が欠落した例を表している。この例では、色差データCb2が欠落した部分に輝度データY3が繰り上がって配置され、それ以後の輝度データYと色差データCb,Crの序列が繰り上がっている。このため、フォーマット変換後の輝度データYと色差データCb,Crとの出力タイミングが反転する現象が発生し、その現象が発生したラインの画像が乱れる。   The image data DB shown in FIG. 7 represents an example in which the image data Cb2 is missing when format conversion is performed without using a PLL. In this example, the luminance data Y3 is moved up and arranged in the portion where the color difference data Cb2 is missing, and the subsequent order of the luminance data Y and the color difference data Cb and Cr is advanced. For this reason, the phenomenon that the output timing of the luminance data Y after the format conversion and the color difference data Cb, Cr is reversed occurs, and the image of the line where the phenomenon occurs is disturbed.

本発明は、上記事情に鑑みてなされたものであり、PLLを要することなく非同期映像信号による画像データをフォーマット変換することができ、この映像信号の各ラインの周期に差が発生しても画像の乱れを防止することができる映像信号変換装置を提供することを目的とする。   The present invention has been made in view of the above circumstances, and can convert the format of image data based on an asynchronous video signal without requiring a PLL. Even if a difference occurs in the period of each line of the video signal, the image can be converted. An object of the present invention is to provide a video signal conversion apparatus that can prevent disturbance of the image.

本発明に係る映像信号変換装置は、映像信号をデコードして得られる画像データを格納するデータ記憶手段と、前記映像信号による表示空間の水平区間に対応する第1クロック数をカウントし、所定の規格値に対する前記第1クロック数の誤差を取得する誤差取得手段と、前記表示空間のライン毎に、前記記憶手段に記憶された画素データを前記規格値に相当するクロック数分だけ読み出すデータ読出手段と、前記記憶手段から読み出された画像データをフォーマット変換するフォーマット変換手段と、前記映像信号の1画面の周期と前記表示空間の全領域に対応する第2クロック数とが整合するように、前記表示空間における非表示領域に対応する第3クロック数を調整して前記画像データの表示タイミングを生成するタイミング生成手段とを備え、前記誤差取得手段は、前記規格値に対する前記第1クロック数の誤差をライン毎に取得し、該誤差を前記表示空間における表示領域の全ラインにわたって累積し、前記タイミング生成手段は、前記誤差取得手段が累積した誤差に応じて前記第3クロックを調整する、映像信号変換装置の構成を有する。 The video signal conversion apparatus according to the present invention counts the data storage means for storing the image data obtained by decoding the video signal, the first clock number corresponding to the horizontal section of the display space by the video signal, Error acquisition means for acquiring an error of the first clock number with respect to a standard value, and data reading means for reading out the pixel data stored in the storage means for the number of clocks corresponding to the standard value for each line of the display space Format conversion means for converting the format of the image data read from the storage means, and the period of one screen of the video signal and the second clock number corresponding to the entire area of the display space are matched . timing generating means for generating a third display timing of the image data by adjusting the number of clocks corresponding to the non-display region in front Symbol display space Wherein the error acquisition means acquires the error of the first clock speed for the standard value for each line, and accumulating the said error over all lines of the display area in the display space, said timing generating means, said The video signal conversion device adjusts the third clock according to the error accumulated by the error acquisition means .

えば、前記タイミング生成手段は、前記表示領域における水平区間に対応するクロック数の誤差に応じて前記非表示領域の先頭ラインのクロック数を調整することを特徴とする。例えば、前記タイミング生成手段は、前記非表示領域における水平区間に対応するクロック数の誤差に応じて前記非表示領域の最終ラインのクロック数を調整することを特徴とする。例えば、前記1画面は、フレームまたはフィールドの何れかであることを特徴とする。 For example, the timing generating unit, and adjusts the number of clocks of the lead lines of the non-display area in accordance with the clock number of the error corresponding to the horizontal section in the display area. For example, the timing generation unit adjusts the number of clocks of the last line in the non-display area according to an error in the number of clocks corresponding to a horizontal section in the non-display area. For example, the one screen is either a frame or a field.

本発明によれば、映像信号による表示空間における各ラインのクロック数の誤差に応じて表示タイミングを調整するように構成したので、PLLを要することなく非同期映像信号の画像データをフォーマット変換することができ、この映像信号の各ラインの周期に差が発生しても画像の乱れを防止することができる。   According to the present invention, since the display timing is adjusted according to the error in the number of clocks of each line in the display space by the video signal, the format conversion of the image data of the asynchronous video signal can be performed without requiring a PLL. Even if a difference occurs in the period of each line of the video signal, image disturbance can be prevented.

以下、図面を参照しながら、本発明の実施形態を説明する。
図1に、本実施形態に係る画像処理装置200の構成を示す。画像処理装置200は、NTSC等の非同期映像信号であるアナログビデオ信号AINまたはデジタルビデオ信号DINの映像入力をキャプチャしてモニタの表示解像度(XGA,SVGA等)に合わせて画像を表示する機能(以下、「キャプチャ機能」と称す)と、映像入力をバックドロップ面に表示する機能(以下、「バックドロップ機能」と称す)と、CPU100が発行する描画コマンドに基づいてOSD(On Screen Display)画像を描画する機能(以下、「OSD機能」と称す)を備える。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
FIG. 1 shows a configuration of an image processing apparatus 200 according to the present embodiment. The image processing apparatus 200 has a function of capturing an image input of an analog video signal AIN or a digital video signal DIN that is an asynchronous video signal such as NTSC and displaying an image in accordance with a display resolution (XGA, SVGA, etc.) An OSD (On Screen Display) image based on a drawing command issued by the CPU 100 and a function for displaying video input on the backdrop surface (hereinafter referred to as “backdrop function”). It has a drawing function (hereinafter referred to as “OSD function”).

図1において、CPUインターフェイスモジュール201は、外部のCPU100との間のデータ転送を仲介するものである。ビデオメモリインターフェイスモジュール202は、外部のビデオメモリ300との間のデータ転送を仲介するものである。
ビデオデコーダユニット203は、本画像処理装置200の特徴部であり、アナログビデオ信号AIN(コンポジット信号)をデコードして所定フォーマットのデジタルビデオ信号(コンポーネント信号)を生成するものである。本画像処理装置200は2組のビデオデコーダユニット203を備え、これにより2系統のアナログビデオ信号入力に対応可能となっている。本画像処理装置200は、ビデオデコーダユニット203においてデジタルビデオ信号を生成する際の信号変換機能に特徴を有しており、その詳細については後述する。
In FIG. 1, a CPU interface module 201 mediates data transfer with an external CPU 100. The video memory interface module 202 mediates data transfer with the external video memory 300.
The video decoder unit 203 is a characteristic part of the image processing apparatus 200 and decodes the analog video signal AIN (composite signal) to generate a digital video signal (component signal) of a predetermined format. The image processing apparatus 200 includes two sets of video decoder units 203, which can support two analog video signal inputs. The image processing apparatus 200 has a feature in a signal conversion function when the video decoder unit 203 generates a digital video signal, and details thereof will be described later.

ビデオキャプチャコントローラ204は、ビデオデコーダユニット203によりデコードされたデジタルビデオ信号をキャプチャ(capture)して、キャプチャプレーンの画像データとしてビデオメモリ300に格納するものである。キャプチャプレーンコントローラ205は、ビデオメモリ300からキャプチャプレーンの画像データを読み出し、これをピクセルデータコントローラ208に供給するものである。   The video capture controller 204 captures the digital video signal decoded by the video decoder unit 203 and stores it in the video memory 300 as image data of a capture plane. The capture plane controller 205 reads the image data of the capture plane from the video memory 300 and supplies it to the pixel data controller 208.

ドローイングプロセッサユニット206は、CPU100から発行される描画コマンドに基づいてOSD画像データを生成し、これをOSDプレーンの画像データとしてビデオメモリ300に格納するものである。即ち、ドローイングプロセッサユニット206は、ビデオメモリ300内にOSD画像として直線や矩形を描画したり、描画したデータに対して所定の処理を行う。CPU100が発行する描画コマンドとしては、例えば、線を描画するためのLINEコマンド、矩形境域を塗りつぶすためのFILLコマンド、ビデオメモリからビデオメモリへデータをブロック転送するためのCOPYコマンドがある。ただし、描画コマンドの種類はこれに限定されない。なお、CPU100は、描画コマンドを使わずに、直接的にビデオメモリ300内に描画することもできる。   The drawing processor unit 206 generates OSD image data based on a drawing command issued from the CPU 100 and stores it in the video memory 300 as image data of the OSD plane. That is, the drawing processor unit 206 draws a straight line or a rectangle as an OSD image in the video memory 300, or performs predetermined processing on the drawn data. The drawing commands issued by the CPU 100 include, for example, a LINE command for drawing a line, a FILL command for painting a rectangular boundary area, and a COPY command for block transfer of data from the video memory to the video memory. However, the type of drawing command is not limited to this. Note that the CPU 100 can also draw directly in the video memory 300 without using a drawing command.

OSDプレーンコントローラ207は、ビデオメモリ300からOSDプレーンの画像データを読み出し、これをピクセルデータコントローラ208に供給するものである。
ピクセルデータコントローラ208は、上記キャプチャプレーンの画像データとOSDプレーンの画像データとバックドロップ面の画像データとを1画面の画像データに合成して、そのデジタルビデオ信号を出力するものである。この画像データの合成の際に、各プレーンの優先順位に応じてモニタ上での各プレーンの前後関係が調整され、あるいは必要に応じて各プレーンにαブレンディング処理(半透明処理)が施される。
The OSD plane controller 207 reads out OSD plane image data from the video memory 300 and supplies it to the pixel data controller 208.
The pixel data controller 208 synthesizes the image data of the capture plane, the image data of the OSD plane, and the image data of the backdrop surface into image data of one screen and outputs the digital video signal. When combining the image data, the front-rear relationship of each plane on the monitor is adjusted according to the priority order of each plane, or α blending processing (translucent processing) is performed on each plane as necessary. .

このピクセルデータコントローラ208では、例えば、2つのキャプチャプレーンと、2つのOSDプレーンとの合計4つのプレーンと1つのバックドロップ面の合成が可能となっている。ただし、各プレーンの数はこれに限定されず、任意である。
なお、「プレーン」なる用語は、1つの矩形状画像データを外部表示装置の所定の場所に所定のサイズで表示するために必要な全ての構成を包括したものを示し、あるいは、外部表示装置に供給される画像データそのものも示す。
In the pixel data controller 208, for example, a total of four planes including two capture planes and two OSD planes and one backdrop plane can be combined. However, the number of each plane is not limited to this and is arbitrary.
Note that the term “plane” indicates that all the configurations necessary to display one rectangular image data in a predetermined size at a predetermined location on the external display device are included, or on the external display device. The supplied image data itself is also shown.

DAコンバータ(DAC)209は、ピクセルデータコントローラ208から出力されたデジタルビデオ信号をアナログ信号に変換して外部のモニタ(図示なし)に供給するものである。また、モニタがデジタル入力端子を備えている場合には、ピクセルデータコントローラ208から出力されたデジタルビデオ信号DOUTはモニタのデジタル入力端子に直接供給される。CRTコントローラ210は、表示スキャンタイミングを制御するためのものであり、水平走査および垂直走査用の同期信号SOUTを生成して出力する。クロックジェネレータ211は、本画像処理装置200を構成する各ブロックの動作クロックを生成するものである。   The DA converter (DAC) 209 converts the digital video signal output from the pixel data controller 208 into an analog signal and supplies it to an external monitor (not shown). When the monitor has a digital input terminal, the digital video signal DOUT output from the pixel data controller 208 is directly supplied to the digital input terminal of the monitor. The CRT controller 210 is for controlling the display scan timing, and generates and outputs a synchronizing signal SOUT for horizontal scanning and vertical scanning. The clock generator 211 generates an operation clock for each block constituting the image processing apparatus 200.

図1に示す例では、ビデオデコーダユニット203から出力されるデジタルビデオ信号はピクセルデータコントローラ208に供給される。これにより、ビデオデコーダユニット203から出力されたデジタルビデオ信号による映像をバックドロップ面でそのまま表示することも可能となっている。また、本画像処理装置200は、デジタルビデオ信号DINの入力機能をも備え、このデジタルビデオ信号DINは、ピクセルデータコントローラ208及びビデオキャプチャユニット204に与えられる。これにより、上述のアナログビデオ信号AINと同様に、デジタルビデオ信号DINをそのまま使用してバックドロップ面で表示することや、これをキャプチャしてキャプチャプレーンで表示することが可能となっている。   In the example shown in FIG. 1, the digital video signal output from the video decoder unit 203 is supplied to the pixel data controller 208. As a result, it is possible to display the video based on the digital video signal output from the video decoder unit 203 as it is on the backdrop surface. The image processing apparatus 200 also has an input function of a digital video signal DIN, and this digital video signal DIN is given to the pixel data controller 208 and the video capture unit 204. As a result, like the above-described analog video signal AIN, the digital video signal DIN can be used as it is for display on the backdrop surface, or it can be captured and displayed on the capture plane.

図2に、本画像処理装置の特徴部に係るビデオデコーダユニット203の構成を示す。
同図に示すように、ビデオデコーダユニット203は、デコーダ203Aと映像信号変換部203Bとから構成される。このうち、デコーダ203Aは、ITU−R BT.601に従ってアナログビデオ信号AIN(コンポジット信号)をデコードするものであり、これをデコードすることにより、輝度データY及び色差データCb,Crを生成すると共に、水平ブランク信号/HBLANK、垂直ブランク信号/VBLANK、バリッド信号VALID、フィールド信号FIELDの各信号を生成する。
FIG. 2 shows a configuration of the video decoder unit 203 according to the characteristic part of the image processing apparatus.
As shown in the figure, the video decoder unit 203 includes a decoder 203A and a video signal converter 203B. Among these, the decoder 203A is an ITU-R BT. The analog video signal AIN (composite signal) is decoded according to 601. By decoding this, the luminance data Y and the color difference data Cb, Cr are generated, and the horizontal blank signal / HBLANK, vertical blank signal / VBLANK, Each signal of the valid signal VALID and the field signal FIELD is generated.

ここで、輝度データY及び色差データCb,CrはITU−R BT.601(YCbCr4:2:2)に準拠した画像データであって、前述の図7に示すように、輝度データYの周波数は13.5MHzであり、色差データCb,Crの周波数は6.75MHzである。これら輝度データYと色差データCb,Crはパラレルにデコーダ203Aから出力される。水平ブランク信号/HBLANKは表示空間における水平非表示期間を表す信号であり、アナログビデオ信号AINに含まれる水平同期信号から抽出される。この水平ブランク信号/HBLANKは、本画像処理装置200によるモニタの表示制御において1ラインの開始タイミングを定める。   Here, the luminance data Y and the color difference data Cb, Cr are ITU-R BT. 601 (YCbCr4: 2: 2), and the frequency of the luminance data Y is 13.5 MHz and the frequency of the color difference data Cb and Cr is 6.75 MHz as shown in FIG. is there. The luminance data Y and the color difference data Cb and Cr are output in parallel from the decoder 203A. The horizontal blank signal / HBLANK is a signal representing a horizontal non-display period in the display space, and is extracted from a horizontal synchronization signal included in the analog video signal AIN. The horizontal blank signal / HBLANK determines the start timing of one line in the display control of the monitor by the image processing apparatus 200.

垂直ブランク信号/VBLANKは表示空間における垂直非表示期間を表す信号であり、アナログビデオ信号AINに含まれる垂直同期信号から抽出される。バリッド信号VALIDは、輝度データY及び色差データCb,Crが有効である期間を示す信号であり、例えばアナログビデオ信号AINに含まれる輝度信号を検出することにより生成される。フィールド信号FIELDは、アナログビデオ信号AINがインタレース形式の信号である場合に輝度データY及び色差データCb,Crが第1フィールド及び第2フィールドの何れの画像データであるかを示す信号である。   The vertical blank signal / VBLANK is a signal representing a vertical non-display period in the display space, and is extracted from the vertical synchronization signal included in the analog video signal AIN. The valid signal VALID is a signal indicating a period during which the luminance data Y and the color difference data Cb and Cr are valid, and is generated by detecting a luminance signal included in the analog video signal AIN, for example. The field signal FIELD is a signal indicating whether the luminance data Y and the color difference data Cb and Cr are image data in the first field or the second field when the analog video signal AIN is an interlaced signal.

映像信号変換部203Bは、本発明に係る映像信号変換装置により実現され、書込制御回路2031、FIFO(First-In First-Out)2032、フォーマット変換部2033、クロック誤差取得部2034、読出制御部2035、表示タイミング生成部2036を含んで構成される。ただし、映像信号変換部203Bにデコーダ203Aを含めてもよい。   The video signal conversion unit 203B is realized by the video signal conversion device according to the present invention, and includes a write control circuit 2031, a FIFO (First-In First-Out) 2032, a format conversion unit 2033, a clock error acquisition unit 2034, and a read control unit. 2035 and a display timing generation unit 2036. However, the video signal converter 203B may include a decoder 203A.

ここで、FIFO2032は、デコーダ203Aから出力された輝度データY及び色差データCb,Crからなるパラレル画像データを一時的に格納するもの(データ記憶手段)であり、例えばデュアルポートRAMから構成される。書込制御部2031は、水平ブランク信号/HBLANK、垂直ブランク信号/VBLANK、バリッド信号VALIDに基づきFIFO2032に対する上記パラレル画像データの書き込みを制御するものである。   Here, the FIFO 2032 temporarily stores parallel image data including the luminance data Y and the color difference data Cb and Cr output from the decoder 203A (data storage means), and is configured by, for example, a dual port RAM. The writing control unit 2031 controls writing of the parallel image data to the FIFO 2032 based on the horizontal blank signal / HBLANK, the vertical blank signal / VBLANK, and the valid signal VALID.

クロック誤差取得部2034は、アナログビデオ信号AINによる表示空間の水平区間に対応するクロック数(第1クロック数)をカウントして、所定の規格値に対するクロック数の誤差を取得するもの(誤差取得手段)である。読出制御部2035は、上記表示空間のライン毎にFIFO2032から、ITU−R BT.601(YCbCr4:2:2)に準拠した画素データを上記規格値に相当する一定のクロック数分だけ読み出すためのもの(データ読出手段)である。   The clock error acquisition unit 2034 counts the number of clocks (first clock number) corresponding to the horizontal section of the display space by the analog video signal AIN, and acquires an error of the clock number with respect to a predetermined standard value (error acquisition means) ). The read control unit 2035 reads out the ITU-R BT. 601 (YCbCr4: 2: 2) is pixel data (data reading means) for reading out pixel data by a fixed number of clocks corresponding to the standard value.

フォーマット変換部2033は、FIFO2032から読み出されたパラレル画像データを、ITU−R BT.656に準拠した27MHzのシリアル画像データにフォーマット変換するもの(フォーマット変換手段)である。表示タイミング生成部2036は、上記誤差に応じて表示空間における非表示領域に対応するクロック数(第3クロック数)を調整して画像データの表示タイミングを生成するもの(タイミング生成手段)である。
なお、表示タイミング生成部2036で生成された表示タイミングは、図1に示すCRTコントローラ210にも供給され、図示しないモニタの表示スキャンタイミングの生成に利用される。
The format conversion unit 2033 converts the parallel image data read from the FIFO 2032 into ITU-R BT. The format is converted to 27 MHz serial image data conforming to 656 (format conversion means). The display timing generation unit 2036 generates image data display timing by adjusting the number of clocks (third clock number) corresponding to the non-display area in the display space according to the error (timing generation unit).
Note that the display timing generated by the display timing generation unit 2036 is also supplied to the CRT controller 210 shown in FIG. 1, and is used to generate a display scan timing of a monitor (not shown).

ここで、図3を参照して、上述の「表示空間」、「水平区間」、「表示領域」、「非表示領域」について説明しておく。図3に示す例は、NTSC形式のアナログビデオ信号AINによる表示空間を表し、このNTSC形式によれば、水平区間に相当するクロック数が1716であり、垂直区間に相当するライン数が263(第1フィールド)または262(第2フィールド)である。   Here, with reference to FIG. 3, the “display space”, “horizontal section”, “display area”, and “non-display area” described above will be described. The example shown in FIG. 3 represents a display space by the analog video signal AIN in the NTSC format. According to this NTSC format, the number of clocks corresponding to the horizontal section is 1716, and the number of lines corresponding to the vertical section is 263 (first number). 1 field) or 262 (second field).

また、上記NTSC形式によれば、表示空間の水平区間は、276クロック分の非表示領域と1440クロック分の表示領域とから成り、その垂直区間は、19ライン分の非表示領域と、243ライン(第1フィールド)または242ライン(第2フィールド)分の表示領域とから成る。表示空間における各水平ラインの開始位置は水平ブランク信号/HBLANKの立下りエッジを基準としている。   Further, according to the NTSC format, the horizontal section of the display space is composed of a non-display area for 276 clocks and a display area for 1440 clocks, and the vertical section has a non-display area for 19 lines and 243 lines. (First field) or a display area for 242 lines (second field). The start position of each horizontal line in the display space is based on the falling edge of the horizontal blank signal / HBLANK.

次に、本画像処理装置200の動作について、上述のビデオデコーダユニット203の映像信号変換部203Bに着目して説明する。
まず、図4および図5を参照して、映像信号変換部203Bの動作原理を説明する。
概略的には、映像信号変換部203Bの動作は、変換前の規格(ITU−R BT.601)を満足する画像データの全てをFIFOに順次的に取り込む動作と、この画像データをフォーマット変換する際のタイミングを生成するための動作とを基本としており、以下に説明するように、この生成したタイミングでFIFOから画像データを読み出すことにより、変換後の規格(ITU−R BT.656)を満足する画像データに変換する。
Next, the operation of the image processing apparatus 200 will be described focusing on the video signal conversion unit 203B of the video decoder unit 203 described above.
First, the operation principle of the video signal conversion unit 203B will be described with reference to FIG. 4 and FIG.
Schematically, the video signal conversion unit 203B operates in such a manner that all image data satisfying the standard (ITU-R BT.601) before conversion is sequentially taken into the FIFO, and the format of the image data is converted. As described below, the image data is read out from the FIFO at the generated timing to satisfy the converted standard (ITU-R BT.656). Convert to image data.

図4は、デコーダ203Aから出力される水平ブランク信号/HBLANKの波形を表している。同図に示すように、水平ブランク信号/HBLANKは、図3の非表示領域に対応する非表示期間においてローレベルとなり、図3の表示領域に対応する表示期間においてハイレベルとなる。この水平ブランク信号/HBLANKは、図2に示すデコーダ203Aによってアナログビデオ信号AINから抽出され、その周期はアナログビデオ信号AINの各ラインの周期に相当する。   FIG. 4 shows the waveform of the horizontal blank signal / HBLANK output from the decoder 203A. As shown in the figure, the horizontal blank signal / HBLANK is at a low level in the non-display period corresponding to the non-display area in FIG. 3, and is at a high level in the display period corresponding to the display area in FIG. The horizontal blank signal / HBLANK is extracted from the analog video signal AIN by the decoder 203A shown in FIG. 2, and the cycle corresponds to the cycle of each line of the analog video signal AIN.

ここで、アナログビデオ信号AINを出力する図示しない外部装置の動作クロックと、本画像処理装置200の動作クロックとの間に差が生じ、アナログビデオ信号AINの各ラインの周期に差が発生すると、デコーダ203Aから出力される水平ブランク信号/HBLANKの周期が一定でなくなる。図4に示す例では、ライン0のクロック数は規定の1716(NTSC形式に準拠した規格値)となっているが、ライン1については、非表示期間でのクロック数が規格値よりも1クロック分だけ少ない275となっており、このライン1のクロック数が1715に減少している。他のライン2及びライン3についてもクロック数が規格値からはずれている。   Here, when a difference occurs between an operation clock of an external device (not shown) that outputs the analog video signal AIN and an operation clock of the image processing apparatus 200, and a difference occurs in the cycle of each line of the analog video signal AIN, The period of the horizontal blank signal / HBLANK output from the decoder 203A is not constant. In the example shown in FIG. 4, the number of clocks of line 0 is a prescribed 1716 (standard value conforming to the NTSC format), but for line 1, the number of clocks in the non-display period is one clock than the standard value. The number of clocks of the line 1 is reduced to 1715. For the other lines 2 and 3, the number of clocks deviates from the standard value.

このように水平ブランク信号/HBLANKの周期が変動すると、本画像処理装置200において、フォーマット変換の際、規定のクロック数を満足することができなくなり、水平ブランク信号/HBLANKの1周期のクロック数が規格値に対して誤差を生じ、画像の乱れを発生させる。そこで、本実施形態では、水平ブランク信号/BLANKの1周期の長さをカウントし、そのカウント値の誤差(規格値に対する誤差)を利用して画像データの表示タイミングを調整すると共にアナログビデオ信号AINに同期させる。 When the cycle of the horizontal blank signal / HBLANK varies as described above, the image processing apparatus 200 cannot satisfy the specified number of clocks during format conversion, and the number of clocks of one cycle of the horizontal blank signal / HBLANK is reduced. An error is generated with respect to the standard value, and the image is disturbed. Therefore, in the present embodiment, the length of one period of the horizontal blank signal / H BLANK is counted, and the display timing of the image data is adjusted using the error of the count value (error with respect to the standard value) and the analog video signal Synchronize with AIN.

図5Aは、上述の水平ブランク信号/HBLANKの周期が変動することに起因した各ラインのクロック数の誤差を例示しており、表示空間全体のクロック数はアナログビデオ信号AINの1画面(フレームまたはフィールド)の周期に相当する。この例では、ライン1,4,8,11のクロック数が、規格値の1716に対して1クロックだけ少なくない1715になっており、これらの各ラインにおけるクロック数の誤差は−1(=1715−1716)となっている。なお、この例では、ライン0〜9が表示領域に対応し、ライン10〜12が非表示領域に対応しているが、これは単なる説明上の一例に過ぎず、これに限定されない。また、各ラインのクロック数の誤差についても一例に過ぎず、1ラインで2クロック以上の誤差が発生してもよい。   FIG. 5A exemplifies an error in the number of clocks of each line due to the fluctuation of the period of the horizontal blank signal / HBLANK described above, and the number of clocks in the entire display space is one screen (frame or frame) of the analog video signal AIN. Field). In this example, the number of clocks of lines 1, 4, 8, and 11 is 1715, which is not less than one standard clock 1716, and the error in the number of clocks in each line is −1 (= 1715). -1716). In this example, lines 0 to 9 correspond to display areas and lines 10 to 12 correspond to non-display areas. However, this is merely an example for explanation, and the present invention is not limited to this. Further, the error in the number of clocks in each line is merely an example, and an error of 2 clocks or more may occur in one line.

本実施形態では、上述の図5Aに示す表示領域に属するライン1,4,8の各クロック数を強制的に1716(規格値)に設定することにより、図5Bに示すように、表示領域における全誤差に相当するクロック数を補充する。そして、補充したクロック数を非表示領域におけるクロック数から減算する。これにより、表示領域全体のクロック数を規格値に設定すると共に、表示空間の全領域に相当するクロック数をアナログビデオ信号AINの1画面(フレームまたはフィールド)の周期に合わせている。   In this embodiment, by forcibly setting the number of clocks of lines 1, 4, and 8 belonging to the display area shown in FIG. 5A to 1716 (standard value), as shown in FIG. Supplement the number of clocks corresponding to the total error. Then, the replenished clock number is subtracted from the clock number in the non-display area. As a result, the number of clocks in the entire display area is set to a standard value, and the number of clocks corresponding to the entire area of the display space is adjusted to the cycle of one screen (frame or field) of the analog video signal AIN.

図5Bの例では、表示領域において発生した誤差を補充するために追加したクロック数を非表示領域の先頭ライン(ライン10)のクロック数から減算し、非表示領域において発生した誤差を補完するために追加したクロック数を非表示領域の最終ライン(ライン12)のクロック数から減算することにより、全体のクロック数をアナログビデオ信号AINの1画面(フレームまたはフィールド)の周期と整合させている。   In the example of FIG. 5B, the number of clocks added to supplement the error generated in the display area is subtracted from the number of clocks of the first line (line 10) of the non-display area to complement the error generated in the non-display area. By subtracting the number of clocks added to the number of clocks of the last line (line 12) in the non-display area, the total number of clocks is matched with the period of one screen (frame or field) of the analog video signal AIN.

このように、映像信号変換部203Bでは、表示領域における表示タイミングを強制的に規格値に設定し、これにより生じたクロック数の増減分を非表示領域の表示タイミングで調整している。従って、表示領域の画像データが欠落していなければ、表示領域の画像データを規格に従った正しい表示タイミングで表示することが可能になる。また、非表示領域の表示タイミングは保証されないが、そもそも非表示領域はモニタ上には現れないので、非表示領域の表示タイミングが規格値からはずれても、モニタ上の画像に影響は現れない。以上で、映像信号変換部203Bの動作原理を説明した。   In this manner, the video signal conversion unit 203B forcibly sets the display timing in the display area to the standard value, and adjusts the increase / decrease in the number of clocks generated thereby by the display timing in the non-display area. Therefore, if image data in the display area is not missing, the image data in the display area can be displayed at a correct display timing according to the standard. Although the display timing of the non-display area is not guaranteed, the non-display area does not appear on the monitor in the first place. Therefore, even if the display timing of the non-display area deviates from the standard value, the image on the monitor does not appear. The operation principle of the video signal conversion unit 203B has been described above.

次に、上記原理に基づく本画像処理装置の動作を具体的に説明する。
図2において、デコーダ203Aは、外部から入力されるアナログビデオ信号AINをデコードして、ITU−R BT.601(YCbCr4:2:2)に準拠した輝度データY及び色差データCb,Crからなる画像データと、水平ブランク信号/HBLANK、垂直ブランク信号/VBLANK、バリッド信号VALID、フィールド信号FIELDの各信号とを生成して出力する。映像信号変換部203B内の書込制御部2031は、水平ブランク信号/HBLANK、垂直ブランク信号/VBLANK、バリッド信号VALIDの各信号に基づき、輝度データY及び色差データCb,CrをFIFO2032に順次書き込む。
Next, the operation of the image processing apparatus based on the above principle will be specifically described.
2, the decoder 203A decodes an analog video signal AIN input from the outside, and outputs ITU-R BT. 601 (YCbCr4: 2: 2) compliant image data composed of luminance data Y and color difference data Cb, Cr, and horizontal blank signal / HBLANK, vertical blank signal / VBLANK, valid signal VALID, and field signal FIELD Generate and output. The writing control unit 2031 in the video signal conversion unit 203B sequentially writes the luminance data Y and the color difference data Cb and Cr in the FIFO 2032 based on the horizontal blank signal / HBLANK, the vertical blank signal / VBLANK, and the valid signal VALID.

ここで、図6A及び6Bを参照して、FIFO2032に対する画像データの書き込み動作を詳細に説明する。
図6Aは、水平ブランク信号/HBLANKの周期(1ライン)に相当するクロック数が規格値の1716となっているときの水平ブランク信号/HBLANKと、輝度データY及び色差データCb,Crと、バリッド信号VALIDとの関係を示している。この場合、輝度データY及び色差データCb,Crの各周波数は規格値となっており、これに対応してバリッド信号VALIDの周期も一定となっている。この場合、書込制御部2031は、バリッド信号VALIDがハイレベルとなっている期間(即ち、データが有効な期間)において輝度データY及び色差データCb,CrをFIFO2032に書き込む。
Here, the image data writing operation to the FIFO 2032 will be described in detail with reference to FIGS. 6A and 6B.
FIG. 6A shows the horizontal blank signal / HBLANK when the number of clocks corresponding to the cycle (one line) of the horizontal blank signal / HBLANK is the standard value 1716, the luminance data Y and the color difference data Cb and Cr, and the valid The relationship with the signal VALID is shown. In this case, the frequencies of the luminance data Y and the color difference data Cb, Cr are standard values, and the period of the valid signal VALID is also constant correspondingly. In this case, the writing control unit 2031 writes the luminance data Y and the color difference data Cb and Cr in the FIFO 2032 during a period when the valid signal VALID is at a high level (that is, a period in which the data is valid).

これに対し、図6Bは、水平ブランク信号/HBLANKの周期(1ライン)に相当するクロック数が規格値の1716よりも1クロックだけ少ない1715となっているときの水平ブランク信号/HBLANKと、輝度データY及び色差データCb,Crと、バリッド信号VALIDとの関係を示している。この例では、1ラインのクロック数が1クロックだけ減少したことにより、輝度データY718,Y719及び色差データCr359,Cb360の期間が圧縮され、この結果、輝度データY718,Y719,Y720に対応するバリッド信号VALIDの区間が連続してハイレベルに維持されている。   On the other hand, FIG. 6B shows the horizontal blank signal / HBLANK when the number of clocks corresponding to the period (one line) of the horizontal blank signal / HBLANK is 1715, which is one clock less than the standard value 1716, and the luminance. The relationship between the data Y and the color difference data Cb and Cr and the valid signal VALID is shown. In this example, since the number of clocks for one line is decreased by one clock, the periods of the luminance data Y718, Y719 and the color difference data Cr359, Cb360 are compressed. As a result, the valid signals corresponding to the luminance data Y718, Y719, Y720 are compressed. The VALID section is continuously maintained at the high level.

この場合も、書込制御部2031は、バリッド信号VALIDがハイレベルとなっている期間において輝度データY及び色差データCb,CrをFIFO2032に書き込む。この例では、輝度データY718,Y719及び色差データCr359,Cb360の期間が圧縮されているが、この期間ではバリッド信号VALIDがハイレベルに維持されているので、輝度データY718,Y719及び色差データCr359,Cb360は、正常にFIFO2032に書き込まれる。結局、FIFO2032に対する各画像データの書き込みは、水平ブランク信号/HBLANKの周期が変動しても正常に行われる。   Also in this case, the writing control unit 2031 writes the luminance data Y and the color difference data Cb and Cr in the FIFO 2032 during the period when the valid signal VALID is at the high level. In this example, the periods of the luminance data Y718, Y719 and the color difference data Cr359, Cb360 are compressed. During this period, the valid signal VALID is maintained at a high level, so the luminance data Y718, Y719 and the color difference data Cr359, Cb 360 is normally written in the FIFO 2032. Eventually, the writing of each image data to the FIFO 2032 is normally performed even if the cycle of the horizontal blank signal / HBLANK varies.

一方、クロック誤差取得部2034は、図4及び図5を参照して説明したように、アナログビデオ信号AINによる表示空間の水平区間(即ちライン)に対応するクロック数をカウントし、規格値に対するこのクロック数の誤差をライン毎に取得する。そして、表示領域の各ラインについて取得したクロック数の誤差を表示領域の全ラインにわたって累積する。読出制御部2035は、表示領域のライン毎に、規定のクロック数(1440)に相当する一定個数の輝度データY及び色差データCb,Crのパラレル画像データをFIFO2032から読み出す。   On the other hand, as described with reference to FIGS. 4 and 5, the clock error acquisition unit 2034 counts the number of clocks corresponding to the horizontal section (that is, line) of the display space by the analog video signal AIN and An error in the number of clocks is acquired for each line. Then, the error in the number of clocks acquired for each line in the display area is accumulated over all lines in the display area. The readout control unit 2035 reads out a predetermined number of parallel image data of luminance data Y and color difference data Cb, Cr corresponding to a prescribed number of clocks (1440) from the FIFO 2032 for each line of the display area.

表示タイミング生成部2036は、アナログ映像信号AINの1画面(フレームまたはフィールド)の周期と表示空間の全領域に対応するクロック数とが整合するように、上記誤差に相当するクロック数分だけ非表示領域に対応するクロック数を調整して画像データの表示タイミングを生成する。例えば、表示タイミング生成部2036は、表示領域における水平区間に対応するクロック数の誤差に応じて、非表示領域の先頭ラインのクロック数を調整する。また、非表示領域における水平区間に対応するクロック数の誤差に応じて、非表示領域の最終ラインのクロック数を調整する。   The display timing generation unit 2036 hides only the number of clocks corresponding to the above error so that the period of one screen (frame or field) of the analog video signal AIN matches the number of clocks corresponding to the entire area of the display space. The display timing of the image data is generated by adjusting the number of clocks corresponding to the area. For example, the display timing generation unit 2036 adjusts the clock number of the first line in the non-display area in accordance with the error in the clock number corresponding to the horizontal section in the display area. Further, the clock number of the last line in the non-display area is adjusted according to the error in the clock number corresponding to the horizontal section in the non-display area.

フォーマット変換部2033は、FIFO2032から読み出されたパラレル画像データを、ITU−R BT.656に準拠した27MHzのシリアル画像データにフォーマット変換する。この際、フォーマット変換部2033は、表示タイミング生成部2036で生成された表示タイミングを用いて水平および垂直同期信号に相当する同期コードを生成し、これをシリアル画像データに埋め込む。
本画像処理装置200では、以上のようにしてフォーマット変換されたシリアル画像データは、前述のOSD機能、キャプチャ機能、バックドロップ機能のうち、キャプチャ機能およびバックドロップ機能による処理の対象とされる。
The format conversion unit 2033 converts the parallel image data read from the FIFO 2032 into ITU-R BT. The format is converted into serial image data of 27 MHz conforming to 656. At this time, the format conversion unit 2033 generates a synchronization code corresponding to the horizontal and vertical synchronization signals using the display timing generated by the display timing generation unit 2036, and embeds this in the serial image data.
In the image processing apparatus 200, the serial image data whose format has been converted as described above is subjected to processing by the capture function and the backdrop function among the OSD function, the capture function, and the backdrop function.

以下では、フォーマット変換されたシリアル画像データを処理の対象とするキャプチャ機能およびバックドロップ機能に関する動作を説明する。
(1)キャプチャ機能に関する動作
図1において、アナログビデオ信号AINとして入力された映像入力を表示解像度に合わせて表示するにはキャプチャ機能を利用する。この場合、まずビデオデコーダユニット203がコンポジット信号であるアナログビデオ信号AINをデコードしてコンポーネント信号であるデジタルビデオ信号に変換する。ビデオキャプチャコントローラ204は、ビデオデコーダユニット203でデコードされたデジタルビデオ信号を表示解像度に合わせてキャプチャし、このキャプチャにより得られた画像データをビデオメモリ300に格納する。
Hereinafter, operations related to the capture function and the back drop function for processing the serial image data whose format has been converted will be described.
(1) Operation related to the capture function In FIG. 1, the capture function is used to display the video input input as the analog video signal AIN in accordance with the display resolution. In this case, the video decoder unit 203 first decodes the analog video signal AIN that is a composite signal and converts it into a digital video signal that is a component signal. The video capture controller 204 captures the digital video signal decoded by the video decoder unit 203 according to the display resolution, and stores the image data obtained by the capture in the video memory 300.

キャプチャプレーンコントローラ205は、ビデオメモリ300に格納された画像データを表示スキャンタイミングに合わせてキャプチャプレーンの画像データとして読み出し、これをピクセルデータコントローラ208に出力する。ピクセルデータコントローラ208は、上述のように、バックドロップ面の画像データとキャプチャプレーンの画像データとOSDプレーンの画像データとを1つの画像データに合成してモニタに出力する。   The capture plane controller 205 reads the image data stored in the video memory 300 as capture plane image data in accordance with the display scan timing, and outputs this to the pixel data controller 208. As described above, the pixel data controller 208 combines the image data on the backdrop surface, the image data on the capture plane, and the image data on the OSD plane into a single image data and outputs it to the monitor.

(2)バックドロップ機能に関する動作
図1において、ピクセルデータコントローラ208は、デジタルビデオ信号DIN、または、アナログビデオデコーダ203から出力されるデジタルビデオ信号の何れか一方を選択してバックドロップ面で表示する。
なお、本画像処理装置200では、2つのキャプチャプレーンと2つのOSDプレーンを処理することができるので、例えば、バックドロップ面上に2つのキャプチャプレーンの映像を並べて表示すると共に、これにオーバーラップさせて2つのOSD画像を表示することもできる。
(2) Operation Related to Backdrop Function In FIG. 1, the pixel data controller 208 selects either the digital video signal DIN or the digital video signal output from the analog video decoder 203 and displays it on the backdrop surface. .
Since the image processing apparatus 200 can process two capture planes and two OSD planes, for example, the images of the two capture planes are displayed side by side on the backdrop surface and overlapped with each other. It is also possible to display two OSD images.

なお、参考までにOSD機能に関する動作を簡単に説明しておく。
図1において、CPU100は、OSD画像を描画するための描画コマンドを順次発行し、これをドローイングプロセッサユニット206内のコマンドポートに書き込む。描画コマンドの実行に必要なデータがコマンドポートに書き込まれると、ドローイングプロセッサユニット206内の描画コマンド処理回路は、コマンドポートから描画コマンドを読み出して実行する。これによりOSD画像データが生成されてビデオメモリ300に格納される。
For reference, the operation related to the OSD function will be briefly described.
In FIG. 1, the CPU 100 sequentially issues drawing commands for drawing an OSD image, and writes them in a command port in the drawing processor unit 206. When data necessary for executing the drawing command is written to the command port, the drawing command processing circuit in the drawing processor unit 206 reads the drawing command from the command port and executes it. As a result, OSD image data is generated and stored in the video memory 300.

OSDプレーンコントローラ207は、ビデオメモリ300に格納されたOSD画像データを表示スキャンタイミングに合わせて読み出し、これをOSDプレーンの画像データとしてピクセルデータコントローラ208に供給する。これにより、モニタには、キャプチャされた映像とオーバーラップされてOSD画像が表示される。   The OSD plane controller 207 reads the OSD image data stored in the video memory 300 in accordance with the display scan timing, and supplies this to the pixel data controller 208 as OSD plane image data. As a result, the OSD image is displayed on the monitor so as to overlap the captured video.

以上、本発明の実施形態を詳述してきたが、具体的な構成は本実施形態に限られるものではなく、本発明の要旨を逸脱しない範囲の設計変更等も含まれる。
例えば、上述の映像信号変換部203Bでは、表示領域における各ラインでのクロック数の誤差を累積して非表示領域の先頭ラインのカウント値を調整するものとしたが、非表示領域における任意のラインで調整するものとしてもよい。
As mentioned above, although embodiment of this invention was explained in full detail, the concrete structure is not restricted to this embodiment, The design change etc. of the range which does not deviate from the summary of this invention are included.
For example, in the video signal conversion unit 203B described above, an error in the number of clocks in each line in the display area is accumulated to adjust the count value of the first line in the non-display area. It is good also as what adjusts by.

また、非表示領域における各ラインでのクロック数の誤差を非表示領域の最終ラインで調整するものとしたが、必要に応じて、この調整を省略してもよい。
更に、上述の実施形態では、ITU−R BT.601に準拠した画像データを、ITU−R BT.656に準拠した画像データにフォーマット変換する場合を例として説明したが、これらの規格以外のフォーマット変換にも適用可能である。
In addition, although the error in the number of clocks in each line in the non-display area is adjusted in the last line in the non-display area, this adjustment may be omitted as necessary.
Furthermore, in the above-described embodiment, ITU-R BT. 601-compliant ITU-R BT. The case of converting the format to image data conforming to 656 has been described as an example, but the present invention can also be applied to format conversion other than these standards.

本発明の実施形態に係る画像処理装置の構成を示すブロック図である。1 is a block diagram illustrating a configuration of an image processing apparatus according to an embodiment of the present invention. 本発明の実施形態に係るビデオデコーダユニットの詳細な構成を示すブロック図である。It is a block diagram which shows the detailed structure of the video decoder unit which concerns on embodiment of this invention. 本発明の実施形態に係る表示空間を説明するための説明図である。It is explanatory drawing for demonstrating the display space which concerns on embodiment of this invention. 本発明の実施形態に係る映像信号変換部の動作原理(水平ブランク信号の周期が変動した場合)を説明するための説明図である。It is explanatory drawing for demonstrating the operation principle (when the period of a horizontal blank signal is fluctuate | varied) of the video signal conversion part which concerns on embodiment of this invention. 本発明の実施形態に係る映像信号変換部の動作原理(各ラインでのクロック数の誤差を補充しない場合)を説明するための説明図である。It is explanatory drawing for demonstrating the operation principle (when the error of the clock number in each line is not supplemented) of the video signal conversion part which concerns on embodiment of this invention. 本発明の実施形態に係る映像信号変換部の動作原理(各ラインでのクロック数の誤差を補充した場合)を説明するための説明図である。It is explanatory drawing for demonstrating the operation | movement principle (when the error of the clock number in each line is supplemented) of the video signal conversion part which concerns on embodiment of this invention. 本発明の実施形態に係る映像信号変換部の動作(水平ブランク信号の周期が正常な場合)を具体的に説明するための説明図である。It is explanatory drawing for demonstrating concretely the operation | movement (when the period of a horizontal blank signal is normal) of the video signal conversion part which concerns on embodiment of this invention. 本発明の実施形態に係る映像信号変換部の動作(水平ブランク信号の周期が変動した場合)を具体的に説明するための説明図である。It is explanatory drawing for demonstrating concretely the operation | movement (when the period of a horizontal blank signal is fluctuate | varied) of the video signal conversion part which concerns on embodiment of this invention. 従来技術に係る映像信号変換装置による問題点を説明するための図である。It is a figure for demonstrating the problem by the video signal converter concerning a prior art. 従来技術に係る映像信号変換装置の構成例を示すブロック図である。It is a block diagram which shows the structural example of the video signal converter concerning a prior art.

符号の説明Explanation of symbols

100;CPU、200;画像処理装置、201;CPUインターフェイスモジュール、202;ビデオメモリインターフェイスモジュール、203;ビデオデコーダユニット、204;ビデオキャプチャコントローラ、205;キャプチャプレーンコントローラ、206;ドローイングプロセッサユニット、207;OSDプレーンコントローラ、208;ピクセルデータコントローラ、209;DAコンバータ、210;CRTコントローラ、211;クロックジェネレータ、300;ビデオメモリ、203A;デコーダ、203B;映像信号変換部(映像信号変換装置)、2031;書込制御部、2032;FIFO、2033フォーマット変換部、2034;クロック誤差取得部、2035;読出制御部、2036;表示タイミング生成部。

100; CPU, 200; Image processing apparatus, 201; CPU interface module, 202; Video memory interface module, 203; Video decoder unit, 204; Video capture controller, 205; Capture plane controller, 206; Drawing processor unit, 207; Plane controller, 208; Pixel data controller, 209; DA converter, 210; CRT controller, 211; Clock generator, 300; Video memory, 203A; Decoder, 203B; Video signal converter (video signal converter), 2031; Control unit, 2032; FIFO, 2033 format conversion unit, 2034; Clock error acquisition unit, 2035; Read control unit, 2036; Display timing Generating unit.

Claims (4)

映像信号をデコードして得られる画像データを格納するデータ記憶手段と、
前記映像信号による表示空間の水平区間に対応する第1クロック数をカウントし、所定の規格値に対する前記第1クロック数の誤差を取得する誤差取得手段と、
前記表示空間のライン毎に、前記記憶手段に記憶された画素データを前記規格値に相当するクロック数分だけ読み出すデータ読出手段と、
前記記憶手段から読み出された画像データをフォーマット変換するフォーマット変換手段と、
前記映像信号の1画面の周期と前記表示空間の全領域に対応する第2クロック数とが整合するように、前記表示空間における非表示領域に対応する第3クロック数を調整して前記画像データの表示タイミングを生成するタイミング生成手段と
を備え
前記誤差取得手段は、前記規格値に対する前記第1クロック数の誤差をライン毎に取得し、該誤差を前記表示空間における表示領域の全ラインにわたって累積し、
前記タイミング生成手段は、前記誤差取得手段が累積した誤差に応じて前記第3クロックを調整する、映像信号変換装置。
Data storage means for storing image data obtained by decoding a video signal;
Error acquisition means for counting a first clock number corresponding to a horizontal section of a display space by the video signal and acquiring an error of the first clock number with respect to a predetermined standard value;
Data reading means for reading out the pixel data stored in the storage means by the number of clocks corresponding to the standard value for each line of the display space;
Format conversion means for converting the format of the image data read from the storage means;
Wherein to one screen period and matching the second clock count corresponding to the entire area of the display space of the video signal, the image by adjusting the third number of clocks corresponding to the non-display region in front Symbol display space Timing generation means for generating data display timing ,
The error acquisition means acquires the error of the first clock number with respect to the standard value for each line, accumulates the error over all lines of the display area in the display space,
The video signal conversion apparatus , wherein the timing generation unit adjusts the third clock according to the error accumulated by the error acquisition unit .
前記タイミング生成手段は、前記表示領域における水平区間に対応するクロック数の誤差に応じて前記非表示領域の先頭ラインのクロック数を調整することを特徴とする請求項1記載の映像信号変換装置。 It said timing generating means, said display area claim 1 Symbol placement of the video signal conversion device and adjusts the clock number of the lead lines of the non-display area in accordance with the clock number of the error corresponding to the horizontal section of . 前記タイミング生成手段は、前記非表示領域における水平区間に対応するクロック数の誤差に応じて前記非表示領域の最終ラインのクロック数を調整することを特徴とする請求項1または2の何れか1項記載の映像信号変換装置。 Said timing generating means, according to claim 1 or 2 or 1, wherein the adjusting the number of clocks of the last line of the non-display region in accordance with the clock number of the error corresponding to the horizontal section in the non-display region The video signal converter according to the item. 前記1画面は、フレームまたはフィールドの何れかであることを特徴とする請求項1ないしの何れか1記載の映像信号変換装置。 The one screen, the video signal conversion device according to any one of claims 1 to 3, characterized in that either the frame or field.
JP2006126382A 2006-04-28 2006-04-28 Video signal converter Expired - Fee Related JP4984630B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006126382A JP4984630B2 (en) 2006-04-28 2006-04-28 Video signal converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006126382A JP4984630B2 (en) 2006-04-28 2006-04-28 Video signal converter

Publications (2)

Publication Number Publication Date
JP2007300365A JP2007300365A (en) 2007-11-15
JP4984630B2 true JP4984630B2 (en) 2012-07-25

Family

ID=38769496

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006126382A Expired - Fee Related JP4984630B2 (en) 2006-04-28 2006-04-28 Video signal converter

Country Status (1)

Country Link
JP (1) JP4984630B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4967922B2 (en) * 2007-08-13 2012-07-04 ヤマハ株式会社 Vertical display timing adjustment circuit
JP5446427B2 (en) * 2009-04-24 2014-03-19 ヤマハ株式会社 Image processing device

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60202480A (en) * 1984-03-27 1985-10-12 パイオニア株式会社 Screen control method
JPH03136094A (en) * 1989-10-23 1991-06-10 Shinnitsutetsu Joho Tsushin Syst Kk Device for converting crt screen into different two-dimensional screen
JPH10240212A (en) * 1997-03-03 1998-09-11 Sony Corp Video display device
JP2000305555A (en) * 1999-04-19 2000-11-02 Sony Corp Image display device
JP3707366B2 (en) * 2000-07-27 2005-10-19 株式会社日立製作所 Wireless video transmission device
JP2003087599A (en) * 2001-09-11 2003-03-20 Sony Corp Clock synchronizing device of video signal and the like

Also Published As

Publication number Publication date
JP2007300365A (en) 2007-11-15

Similar Documents

Publication Publication Date Title
JP4917345B2 (en) Sync signal generating apparatus, digital camera, and sync signal generating method
KR100719364B1 (en) Video scaler having minimum output memory and method for selecting the same
JP6948810B2 (en) Image processing system
JP4788381B2 (en) Video output device and digital camera equipped with the same
US20130314444A1 (en) Image data transmitting device, image data receiving device, image data transmitting system, image data transmitting method, image data receiving method, transmission image data, and computer product
JP4984630B2 (en) Video signal converter
JP2015096920A (en) Image processor and control method of image processing system
JP2008270937A (en) Image processing controller, electronic equipment, and image signal processing method
JP2001128089A (en) Picture synthesizer for multi-screen
US20080002065A1 (en) Image processing circuit, image processing system and method therefor
JP2011259107A (en) Projection device and control method thereof
JP4661674B2 (en) Image processing apparatus and method
JP6021556B2 (en) Image processing device
US8279139B2 (en) Display control apparatus, and setting method and program for display control apparatus
JP2005275242A (en) Video capture circuit and video capture method
JP6140933B2 (en) Display device and control method thereof
JP5965173B2 (en) Moving image processing system, image processing apparatus, and moving image processing system operating method
JP5888899B2 (en) Video processing apparatus, video processing method, and program
JP2014059381A (en) Image processing device, image processing method, and program
JP2001215937A (en) Video signal processor
JP2007020112A (en) Image signal processing apparatus, image signal processing method and imaging device
JP6261696B2 (en) Image processing apparatus and control method thereof
KR100458447B1 (en) Graphic system for broadcasting
JP5151159B2 (en) Data transfer circuit and data transfer method used therefor
KR100618270B1 (en) Method for reading data by scaler unit for screen image division of video display apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090217

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110914

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20111004

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20111129

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20120403

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120416

R150 Certificate of patent or registration of utility model

Ref document number: 4984630

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20150511

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees