JP3655258B2 - Display device for video scaling - Google Patents

Display device for video scaling Download PDF

Info

Publication number
JP3655258B2
JP3655258B2 JP2002149615A JP2002149615A JP3655258B2 JP 3655258 B2 JP3655258 B2 JP 3655258B2 JP 2002149615 A JP2002149615 A JP 2002149615A JP 2002149615 A JP2002149615 A JP 2002149615A JP 3655258 B2 JP3655258 B2 JP 3655258B2
Authority
JP
Japan
Prior art keywords
resolution
video
signal
video signal
horizontal
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 - Lifetime
Application number
JP2002149615A
Other languages
Japanese (ja)
Other versions
JP2003084738A (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.)
Seiko Epson Corp
Original Assignee
Seiko Epson 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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2002149615A priority Critical patent/JP3655258B2/en
Publication of JP2003084738A publication Critical patent/JP2003084738A/en
Application granted granted Critical
Publication of JP3655258B2 publication Critical patent/JP3655258B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Television Systems (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)
  • Liquid Crystal (AREA)
  • Projection Apparatus (AREA)
  • Liquid Crystal Display Device Control (AREA)

Description

【0001】
【発明の属する技術分野】
この発明は、入力された映像をスケーリングして表示する表示デバイスに関する。
【0002】
【従来の技術】
コンピュータで作成された映像を液晶プロジェクタなどの他の表示デバイスに表示したい場合がある。このような場合には、その表示デバイスの解像度に応じた映像信号をコンピュータ側で作成する必要がある。なお、この明細書において、「解像度」とは映像の水平方向のドット数(画素数)と垂直方向のライン数( 走査線数)を意味する。なお、水平方向のドット数を「水平解像度」と呼び、垂直方向のライン数を「垂直解像度」と呼ぶ。
【0003】
【発明が解決しようとする課題】
コンピュータにおいて生成できる映像の解像度と階調数は、コンピュータ内のビデオRAM(VRAM)の容量で制限されている。すなわち、大きな解像度(すなわち大きな画面サイズ)で表示する場合には階調数が少なくなり、階調数を大きくすると解像度が小さくなるという関係がある。このため、表示デバイスの画面サイズが大きな場合などには、コンピュータで生成する映像信号の解像度を表示デバイスの解像度に合わせることができない場合もあった。このような問題は、コンピュータ以外の映像(例えばテレビジョンの映像)をテレビジョン以外の表示デバイスに表示する場合にも同様であった。
【0004】
この発明は、従来技術における上述の課題を解決するためになされたものであり、入力された映像の解像度に拘らず、その映像を表示デバイスの解像度に変換して表示することを目的とする。
【0005】
【課題を解決するための手段およびその作用・効果】
上述の課題の少なくとも一部を解決するため、本発明による映像スケーリング装置は、映像信号の同期信号の周波数と解像度との関係を記憶する解像度決定テーブルと、
前記解像度決定テーブルに記憶された同期信号の周波数と解像度との関係に基づいて、スケーリング対象となる映像信号の解像度を決定する解像度決定手段と、
フレームメモリから前記映像信号を読み出す際に前記映像信号で表わされる映像を垂直方向および水平方向に非整数倍の倍率で拡大することによって、前記映像信号の解像度を表示デバイスの解像度に一致するように変換するスケーリング手段と、
を備え、
前記解像度決定テーブルは、同一の解像度に対して複数種類の異なる周波数が対応する場合を記憶しており、
前記フレームメモリからの映像信号の読み出し時の読出アドレスの垂直方向と水平方向の範囲は、前記映像信号の解像度によって設定され、
前記スケーリング手段は、
前記表示デバイスの解像度と前記映像信号の解像度との比で決定される水平倍率の逆数と垂直倍率の逆数を算出する手段と、
前記水平倍率の逆数と垂直倍率の逆数を、等倍表示時における水平方向と垂直方向の読出アドレスにそれぞれ乗じた値を整数化することによって、拡大表示のための水平方向と垂直方向の読出アドレスをそれぞれ生成する手段と、
を備えることを特徴とする。
【0006】
表示デバイスの解像度は既知なので、入力された映像信号の解像度解像度決定テーブルを用いて判別すれば、映像信号の解像度と表示デバイスの解像度の比率を求めることができる。従って、この比率で映像を拡大・縮小すれば、映像信号の解像度を表示デバイスの解像度に一致させて表示させることができる。
【0007】
前記解像度決定手段は、前記同期信号の周波数および期間幅に基づいて映像信号の解像度を決定するようにしてもよく、また、前記同期信号の周波数と、インターレースの有無とに基づいて映像信号の解像度を決定するようにしてもよい。
【0008】
同期信号の周波数のみでなく、同期信号の期間幅やインターレースの有無に基づいて映像信号の解像度を決定すれば、解像度を決定する際の誤りを少なくすることができる。
【0014】
映像信号としては、コンピュータで生成された映像信号や、テレビジョンの映像信号などを適用することができる。
【0015】
【発明の実施の形態】
次に、本発明の実施の形態を実施例に基づき説明する。図1は、この発明の第1実施例である液晶プロジェクタの構成を示すブロック図である。この液晶プロジェクタは、パーソナルコンピュータ100で生成された映像を大サイズのスクリーン(図示せず)上に投影する装置であり、CPU20と、メインメモリ22と、入力手段としての入力パネル24と、A/D変換器32と、フレームメモリ34と、ビデオスケーラ36と、LCDドライバ38と、LCDパネル(液晶表示パネル)40と、光源42とを備えている。なお、フレームメモリ34は、RGB信号を記憶するための3枚のメモリプレーンを有している。
【0016】
CPU20は、パーソナルコンピュータ100から与えられた同期信号SYNCの周波数を決定する周波数決定部26としての機能と、同期信号SYNCの周波数に対応する解像度を決定する解像度決定部28としての機能とを有する。これらの機能は、CPU20がメインメモリ22に記憶されたソフトウェアプログラムを実行することによって実現される。
【0017】
A/D変換器32は、パーソナルコンピュータ100から与えられた映像信号VPCをA/D変換してデジタル映像信号DPCを生成し、これをビデオスケーラ36に入力する。ビデオスケーラ36には、このデジタル映像信号DPCとともに、パーソナルコンピュータ100からの同期信号SYNCも入力されている。なお、この明細書において、「映像信号」とは、同期信号を含まない狭義の映像信号を意味する場合と、同期信号を含む広義の映像信号を意味する場合とがある。
【0018】
ビデオスケーラ36は、入力されたデジタル映像信号DPCをフレームメモリ34に書き込むとともに、フレームメモリ34から映像信号を読出してLCDドライバ38に供給する。この際、ビデオスケーラ36は、映像を拡大・縮小することによって、LCDパネル40の標準解像度に合うように映像信号の解像度を調整する。LCDドライバ38は、ビデオスケーラ36から与えられた映像をLCDパネル40に表示する。そして、LCDパネル40に表示された映像が、光源42によってスクリーン上に投影される。
【0019】
図2は、ビデオスケーラ36の機能を示す説明図である。図2の左側に示すように、パーソナルコンピュータで生成される映像には、種々の解像度(640ドット×400ライン、640ドット×480ライン、800ドット×600ライン、1024ドット×768ライン、1600ドット×1200ライン等)のものがある。一方、LCDパネル40の標準解像度は一定であり、図2の例では800ドット×600ラインである。そこで、ビデオスケーラ36は、入力映像信号VPCを拡大または縮小することによって、LCDパネル40の標準解像度を有する映像信号を生成する。こうすれば、パーソナルコンピュータ100で生成された映像信号VPCをこの液晶プロジェクタに入力すれば、LCDパネル40の画面一杯にその映像を表示することができる。すなわち、液晶プロジェクタにおける解像度は、入力映像信号VPCの解像度とは無関係になる。従って、パーソナルコンピュータ100側において所望の解像度と階調数の映像を生成し、その映像をLCDパネル40の画面一杯に表示することができる。
【0020】
図3は、ビデオスケーラ36の内部構成を示すブロック図である。ビデオスケーラ36は、第1の色変換部50と、書込同期信号発生部52と、入力用のFIFOバッファ54と、DRAMコントローラ56と、アドレスコントローラ58と、CPUアクセスコントローラ60と、出力用の2つのFIFOバッファ61,62と、フィルタ部64と、第2の色変換部66と、読出同期信号発生部68とを備えている。なお、図3に示されているように、この実施例では、フレームメモリ34がダイナミックRAMで構成されている。DRAMコントローラ56は、このフレームメモリ34への映像信号の書込みと、フレームメモリ34からの映像信号の読出しとを制御する回路である。
【0021】
図1のA/D変換器32で生成されたデジタル映像信号DPCは、第1の色変換部50に与えられ、必要に応じてRGB信号への色変換が行なわれる。例えば、入力されたデジタル映像信号DPCがYCrCb信号である場合には、色変換部50においてRGB信号に変換される。
【0022】
パーソナルコンピュータ100から与えられた同期信号SYNCは、水平同期信号HSYNC1と垂直同期信号VSYNC1とを含んでいる。書込同期信号発生部52は、水平同期信号HSYNC1または垂直同期信号VSYNC1の周波数を内部の図示しないPLL回路によってN0 倍することによってドットクロック信号DCK1を生成する。このドットクロック信号DCK1は、水平方向のドット位置の更新タイミングを示す信号である。ドットクロック信号DCK1は、水平同期信号HSYNC1および垂直同期信号VSYNC1とともにアドレスコントローラ58に供給される。
【0023】
第1の色変換部50で変換された映像信号は、FIFOバッファ54で一時的に記憶され、DRAMコントローラ56によってフレームメモリ34内に書き込まれる。FIFOバッファ54は、書込みのタイミングを調整するために用いられている。フレームメモリ34への書込み動作は、書込同期信号発生部52から与えられた書込同期信号{DCK1,HSYNC1,VSYNC1}に同期して行なわれる。すなわち、各ドット位置(水平方向アドレス)はドットクロック信号DCK1に同期して更新され、走査線位置(垂直方向アドレス)は水平同期信号HSYNC1に同期して更新され、各フレーム(各フィールド)は垂直同期信号VSYNC1に同期して更新される。DRAMコントローラ56は、また、フレームメモリ34に格納されている映像信号を読出してFIFOバッファ61,62に交互に書き込む制御も行なう。フレームメモリ34からの読出動作は、読出同期信号発生部68で生成される読出同期信号{DCK2,HSYNC2,VSYNC2}に同期して行なわれる。この読出同期信号{DCK2,HSYNC2,VSYNC2}は、LCDドライバ38にも与えられて、LCDパネル40における表示の同期信号として使用される。アドレスコントローラ58は、書込アドレスや読出アドレスを生成してDRAMコントローラ56に供給する回路であり、映像を拡大・縮小するスケーリング部70を備えている。
【0024】
出力用の2つのFIFOバッファ61,62には、フレームメモリ34から読出された1ライン分の映像信号が交互に書き込まれる。この時、書込みが行なわれていない方のバッファから映像信号が読出されてフィルタ部64に与えられる。フィルタ部64は、γ補正(入/出力階調変換)や、映像の左右反転、上下反転等の各種のフィルタリング処理を行なう回路である。フィルタリング処理が行なわれた映像信号は、色変換部66において必要に応じて色変換が行なわれて出力映像信号DOUT に変換される。出力映像信号DOUT は、LCDドライバ38(図1)に供給される。
【0025】
図1のCPU20は、図3のCPUアクセスコントローラ60を介してビデオスケーラ36内の各部にアクセスすることができる。入力映像信号VPCに対応する同期信号SYNCの周波数を決定する場合には、CPU20は、CPUアクセスコントローラ60を介して書込同期信号発生部52からの信号を受け取る。CPU20は、まず、周波数決定部26(図1)として機能し、書込同期信号発生部52に入力された水平同期信号HSYNC1と垂直同期信号VSYNC1の周波数をそれぞれ測定する。次に、解像度決定部28として機能し、これらの周波数に基づいて入力映像信号VPCの解像度を決定する。
【0026】
図4は、解像度と周波数との関係を示す解像度決定テーブルである。この解像度決定テーブルには、種々の解像度(ドット数×ライン数)と、水平同期信号および垂直同期信号の周波数との関係が登録されている。解像度決定テーブルは、メインメモリ22に格納されている。CPU20の動作クロックの周波数は数十MHzであり、水平同期信号の周波数は数十kHz,垂直同期信号の周波数は数十Hzなので、ソフトウェア処理によって周波数決定部26の機能を実行し、これらの周波数を十分精度良く測定することが可能である。例えば、CPU20が一定周期でカウントアップを行ない、水平同期信号HSYNC1のエッジ(例えば立下りエッジ)の間のカウント数を求めるようにすれば、そのカウント数から水平同期信号HCYNC1の周波数を求めることができる。垂直同期信号VSYNC1についても同様である。こうして、同期信号HSYNC1,VSYNC1の周波数が決定されると、解像度決定部28が解像度決定テーブル(図4)を参照して、対応する解像度を決定する。
【0027】
ところで、図4にも例示されているように、同じ解像度でも同期信号の周波数にいくつかの種類がある場合がある。従って、解像度決定テーブルには、市販されている多数の機器で使用されている解像度と周波数との関係をできるだけ多く登録しておくことが好ましい。しかし、解像度決定テーブルに登録されていない周波数の映像信号が入力される場合も考えられる。この場合には、CPU20は、LCDパネル40(または入力パネル24の表示部)に入力映像信号VPCの周波数が未登録である旨を表示する。そして、ユーザが入力パネル24を用いてその入力映像信号VPCの解像度(ドット数×ライン数)を設定することによって、解像度決定テーブルにその周波数と解像度の関係を登録する。この処理を実現するためには、解像度決定テーブルをRAMやフラッシュメモリなどの書込可能なメモリに格納しておくことが好ましい。
【0028】
なお、入力映像信号VPCの解像度を決定する際には、水平同期信号と垂直同期信号の周波数のみでなく、それらの期間幅HH ,HV や、インターレースの有無に基づいて決定するようにしてもよい。図5は、水平同期信号と垂直同期信号の期間幅HH ,HV を説明するための説明図である。但し、図示の便宜上、図5ではコンポジット映像信号の波形を示している。同期信号の周波数のみでなく、それらの期間幅HH ,HV や、インターレースの有無に基づいて入力同期信号の解像度を決定するようにすれば、解像度を決定する際の誤りを少なくすることができる。
【0029】
解像度決定部28によって決定された水平解像度と垂直解像度は、CPUアクセスコントローラ60(図3)を介してアドレスコントローラ58に与えられる。アドレスコントローラ58内のスケーリング部70は、これらの解像度をLCDパネル40の標準解像度に変換するために、図2で説明したような映像の拡大・縮小を実行する。
【0030】
図6は、スケーリング部70の内部構成を示すブロック図である。スケーリング部70は、PLL回路142と、分周器144と、水平アドレス形成部146と、垂直アドレス形成部148と、3ステートバッファ部160と、インバータ162とを有している。図6に示すデータラッチ164は、DRAMコントローラ56内の回路である。水平アドレス形成部146は、ラッチミス除去回路150と、第1のカウンタ152と、第1のラッチ154とを有している。垂直アドレス形成部148は、第2のカウンタ156と、第2のラッチ158とを有している。
【0031】
PLL回路142は、読出用の水平同期信号HSYNC2から、そのN倍の周波数を有する第2のドットクロック信号DCKXを生成する。分周器144は、読出用のドットクロック信号DCK2を1/M分周することによってラインインクリメント信号LINCXを生成する。PLL回路142と分周器144における設定値N,Mは、入力映像信号VPCの解像度をLCDパネル40の解像度に変換するための値であり、CPU20によってそれぞれ設定される。なお、これらの設定値N,Mの決定方法については後述する。
【0032】
図7は、垂直アドレス形成部148の動作を示すタイミングチャートである。第2のカウンタ156は、読出用の垂直同期信号VSYNC2(図7(a))でリセットされた後に、ラインインクリメント信号LINCXのパルス数をカウントする。また、第2のカウンタ156のカウント値HC(図7(d))は、水平同期信号HSYNC2の立ち上がりエッジに応じてラッチされ、垂直アドレスVADDとして3ステートバッファ160に与えられる。図7(e)の例では、垂直アドレスVADDの値は、0,1,1,2…のように更新されている。
【0033】
図8は、映像の拡大の様子を示す説明図である。図8(A)は、フレームメモリ34内に記憶された映像データを示しており、図8(B)は拡大された映像データを示している。また、これらの図の各枠内に記載された数字は映像データの値である。図7(e)のタイミングチャートでは、VADD=0の走査線上の映像を1回読出し、VADD=1の走査線上の映像を2回,VADD=2の走査線上の映像を2回…、という順序でフレームメモリ34から映像データが読出されている。従って、読出された映像は図8(B)に示すように垂直方向に拡大されることになる。垂直方向の倍率MV2は、水平同期信号HSYNC2の周波数fHSYNC2と、ラインインクリメント信号LINCXの周波数fLINCX の比で与えられる。従って、分周器144(図7)の設定値Mを調整することによって、映像を垂直方向に任意の倍率で拡大することが可能である。なお、倍率MV2の値を1以下に設定すれば、垂直方向に縮小することも可能である。
【0034】
図9は、水平アドレス形成部146の動作を示すタイミングチャートである。ラッチミス除去回路150(図6)は、第1と第2のドットクロック信号DCK2,DCKX(図9(b),(d))に応じて第3のドットクロック信号DCKXX(図9(e))を生成する。
【0035】
図10は、ラッチミス除去回路150の内部構成を示すブロック図である。ラッチミス除去回路150は、遅延部170と、EXNOR回路172と、D型フリップフロップ174とを有している。EXNOR回路172の出力信号DKFFは、第1のドットクロック信号DCK2と、このドットクロック信号DCK2を所定の時間だけ遅延させて得られた信号との排他的論理和を取って反転した信号である。従って、この信号DKFFは、図9(c)にも示されているように、第1のドットクロック信号DCK2の立上がりと立下りのタイミングを示す信号である。
【0036】
EXNOR回路172の出力信号DKFFは、フリップフロップ174のクロック入力端子に与えられている。また、このフリップフロップ174のD入力端子には、第2のドットクロック信号DCKXが与えられている。従って、フリップフロップ174の出力である第3のドットクロック信号DCKXXは、図9(e)に示されているように、EXNOR回路172の出力信号DKFFの立ち上がりエッジにおける第2のドットクロック信号DCKXのレベルを示す信号である。この第3のドットクロック信号DCKXXは、第2のドットクロック信号DCKXと等しい周波数を有している。また、EXNOR回路172の出力信号DKFFは、第1のドットクロック信号DCK2のエッジから所定の遅延時間だけ遅れて立上るので、第3のドットクロック信号DCKXXのレベル変化のタイミングも、第1のドットクロック信号DCK2のエッジから所定の遅延時間だけ遅延している。このような第3のドットクロック信号DCKXXをラッチミス除去回路150で生成する理由は、第1のラッチ154でラッチされる水平アドレスの値が不安定になるのを防止するためであるが、この理由については更に後述する。
【0037】
水平アドレス形成部146の第1のカウンタ152(図6)は、水平同期信号HSYNC2のパルスでリセットされた後に、ラッチミス除去回路150で生成された第3のドットクロック信号DCKXXのパルス数をカウントアップして、そのカウント値DC(図9(f))を第1のラッチ154に供給している。ところで、第3のドットクロック信号DCKXXは第2のドットクロック信号DCKXと等しい周波数を有しているので、第1のカウンタ152のカウント値DCは、実質的に第2のドットクロック信号DCKXのパルス数を示している。第1のラッチ154は、第1のドットクロック信号DCK2に同期してカウント値DCをラッチし、3ステートバッファ160に水平アドレスHADD(図9(g))として与えている。すなわち、水平アドレスHADDは第2のドットクロック信号DCKXのパルス数を示す値であり、その値は第1のドットクロック信号DCK2の立上がりエッジに応じて更新されている。従って、第1のドットクロック信号DCK2の周波数fDCK2と、第2のドットクロック信号DCKXの周波数fDCKXとを調整することによって、水平アドレスHADDの値をどのように更新するかを設定することができる。図9(g)の例では、水平アドレスHADDの値が0,0,1…のように変化していることが解る。
【0038】
前述した図8(A),(B)には、図9(g)における水平アドレスHADDの更新に応じた映像の拡大の様子が図示されている。図9に示したタイミングチャートは、垂直アドレスVADDが0である一番上の走査線における水平方向のアドレス生成のタイミングに相当している。図9(g)に示すように、水平アドレスHADDは、0,0,1…と更新されている。従って、この走査線上では、水平アドレスHADD=0の画素の映像データが2回読出され、次に、HADD=1の画素の映像データが1回…、という順序で、各画素の映像データがフレームメモリ34から順次読出されている。
【0039】
このように水平アドレスHADDは、2つのドットクロック信号DCK2,DCKXの周波数の関係に依存する。従って、これらのドットクロック信号DCK2,DCKXの周波数を調整することによって、映像を水平方向に拡大/縮小することができる。すなわち、読出時における映像の水平方向の倍率MH2は、図8の下部にも示すように、第1のドットクロック信号DCK2の周波数fDCK2と第2のドットクロック信号DCKXの周波数fDCKXとの比で与えられる。従って、PLL回路142の設定値Nを調整することによって、映像を水平方向に任意の倍率で拡大/縮小することが可能である。
【0040】
なお、ラッチミス除去回路150で信号DCKXXを生成する理由は次の通りである。図9(f)に示すように、第1のカウンタ152のカウント値DCは、水平同期信号HSYNC2(図9(a))がHレベルに復帰した後に、第3のドットクロック信号DCKXX(図9(e))の立上がりエッジに同期して変化する。一方、前述したように第3のドットクロック信号DCKXXのエッジは、第1のドットクロック信号DCK2のエッジから所定の時間だけ遅延しているので、第1のラッチ154におけるラッチのタイミングがカウント値DCの変化のタイミングと重なることがなく、従って、水平アドレスHADDの値が不安定になることもない。
【0041】
以上のように、図6に示すPLL回路142の設定値Nと分周器144の設定値Mを調整することによって、図8の下部に示すように水平方向倍率MH2と垂直方向倍率MV2をそれぞれ独立に設定することが可能である。従って、水平方向倍率MH2を(LCDパネル40の水平解像度)/(入力映像信号VPCの水平解像度)に等しく設定し、また、垂直方向倍率MV2を(LCDパネル40の垂直解像度)/(入力映像信号VPCの垂直解像度)に等しく設定すれば、LCDパネル40の画面一杯に映像を表示することができる。
【0042】
図11は、本発明の第2実施例としてのダウンコンバータの構成を示すブロック図である。このダウンコンバータは、図1に示す液晶プロジェクタの入力部に映像信号選択部200を追加し、また、LCDドライバ38をビデオエンコーダ202で置き換えるとともに、LCDパネル40および光源42を各種の出力装置(テレビジョン204、ビデオプレーヤ206、および、書込可能なコンパクトディスク装置208)に置き換えた構成を有している。
【0043】
映像信号選択部200は、パーソナルコンピュータによって生成された映像信号{VPC,SYNC}の他に、テレビジョン用の2種類の映像信号STV1 ,STV2 を受け取り、それらのうちの1つを選択するセレクタである。なお、テレビジョン用の映像信号STV1 ,STV2 は同期信号を含むコンポジット映像信号である。コンポジット映像信号を選択する場合には、映像信号選択部200内のデコーダ(図示せず)によって、そのコンポジット映像信号からコンポーネント映像信号VINと同期信号SYNCとが生成される。
【0044】
ビデオエンコーダ202は、ビデオスケーラ36から出力されたデジタル映像信号DOUT と読出同期信号(DCK2,HSYNC2,VSYNC2)からコンポジット映像信号を生成する。このコンポジット映像信号は、テレビジョン204とビデオプレーヤ206に供給される。書込可能なコンパクトディスク装置208に映像を書き込む場合には、ビデオエンコーダはコンポジット映像信号を生成せずに、デジタル映像信号DOUT と読出同期信号とをそのまま書込可能なコンパクトディスク装置208に供給する。ビデオスケーラ36は、映像を所望の解像度に変更することができるので、ユーザが解像度を設定することによって、各種の出力装置に応じた所望の解像度で映像を出力することが可能である。図11の装置を「ダウンコンバータ」と呼ぶ理由は、このように各種の入力映像信号を各種の出力映像信号に変換することができるという意味を有している。
【0045】
なお、この発明は上記の実施例や実施形態に限られるものではなく、その要旨を逸脱しない範囲において種々の態様において実施することが可能であり、例えば次のような変形も可能である。
【0046】
(1)上記実施例においてソフトウェア処理で実現していた周波数決定部26や解像度決定部28(図1)の機能を、ハードウェア回路によって実現するようにすることも可能である。
【0047】
(2)上記実施例では、フレームメモリ34から映像を読出す際に拡大・縮小を行なうようにしていたが、フレームメモリ34に映像を書き込む際に拡大・縮小を行なうようにすることも可能である。
【0048】
(3)拡大・縮小を行なう方法としては、上述した周波数制御以外のものを適用することも可能である。例えば、読出アドレスまたは書き込みアドレスに係数を乗算することによってアドレスを変更し、これによって拡大・縮小を行なうことも可能である。図12は、読出アドレスに係数Kを乗じることによって画像の拡大・縮小を行なう方法を示す説明図である。図12(A)は、フレームメモリ34に記憶されている画像を示しており、また、図12(B1)〜(B3)は、拡大・縮小されて表示される画像を示している。Di,j は、フレームメモリ34内のアドレス(i,j)に書き込まれている画像データを示している。
【0049】
図12において、メモリ解像度をMx(ドット)×My(ライン)とし、また、表示解像度をNx(ドット)×Ny(ライン)とすると、アドレスに乗ずる係数K(Kx,Ky)は、次の式で与えられる。
【0050】
Kx=Mx/Nx …(1a)
Ky=My/Ny …(1b)
【0051】
フレームメモリ34から画像データを読出すための読出アドレス(XADD ,YADD )は、以下の式によって新たな読出アドレス(XADD',YADD')に変換される。
【0052】
XADD'=INT(Kx × XADD ) …(2a)
YADD'=INT(Ky × YADD ) …(2b)
【0053】
ここで、演算子INT()は、括弧内の整数部を取る演算を表わしている。
【0054】
図12(B1)は、係数Kx,Kyが1.0よりも大きな場合(例えばKx=Ky=2.0の場合)に表示される画像の一例である。元の水平アドレスXADD が0,1,2…と1ずつ増加すると、変換後の水平アドレスXADD'は上記(2a)に従って0,2,4…と変化する。垂直アドレスYADD についても同様である。フレームメモリ34からはこの読出アドレスXADD',YADD'に従って画像データが読出されるので、図12(B1)に示すように、画像が縮小表示される。この時の水平倍率と垂直倍率は、1/Kx,1/Kyにそれぞれ等しい。
【0055】
図12(B2)に示すように、係数Kx,Kyが1.0に等しい場合には、フレームメモリ34内の画像が等倍で表示される。
【0056】
図12(B3)は、係数Kx,Kyが1.0よりも小さな場合(例えばKx=Ky=0.7の場合)に表示される画像の一例である。元の水平アドレスXADD が0,1,2,3…と1ずつ増加すると、変換後の垂直アドレスXADD'は0,0,1,2…と変化する。垂直アドレスYADD についても同様である。フレームメモリ34からはこの読出アドレスXADD',YADD'に従って画像データが読出されるので、図12(B3)に示すように、画像が拡大表示される。
【0057】
なお、Kx,Kyの値はそれぞれ独立に任意の値に設定することが可能である。
【0058】
(4)フレームメモリ34としては、シンクロナスDRAM等の高速な読出し/書込みメモリを使用すれば、画像信号の高速な読出し/書込みを行なうことが可能である。
【図面の簡単な説明】
【図1】この発明の第1実施例である液晶プロジェクタの構成を示すブロック図。
【図2】ビデオスケーラ36の機能を示す説明図。
【図3】ビデオスケーラ36の内部構成を示すブロック図。
【図4】解像度決定テーブルの内容を示す説明図。
【図5】コンポジット映像信号の波形を示す説明図。
【図6】スケーリング部70の内部構成を示すブロック図。
【図7】垂直アドレスの形成動作を示すタイミングチャート。
【図8】映像の拡大の様子を示す説明図。
【図9】水平アドレスの形成動作を示すタイミングチャート。
【図10】ラッチミス除去回路150の内部構成を示すブロック図。
【図11】本発明の第2実施例としてのダウンコンバータの構成を示すブロック図。
【図12】読出アドレスに係数Kを乗じることによって画像の拡大・縮小を行なう方法を示す説明図。
【符号の説明】
20…CPU
22…メインメモリ
24…入力パネル
26…周波数決定部
28…解像度決定部
32…A/D変換器
34…フレームメモリ
36…ビデオスケーラ
38…LCDドライバ
40…LCDパネル
42…光源
50…色変換部
52…書込同期信号発生部
54…FIFOバッファ
56…DRAMコントローラ
58…アドレスコントローラ
60…CPUアクセスコントローラ
61,62…FIFOバッファ
64…フィルタ部
66…色変換部
68…読出同期信号発生部
70…スケーリング部
100…パーソナルコンピュータ
142…PLL回路
144…分周器
146…水平アドレス形成部
148…垂直アドレス形成部
150…ラッチミス除去回路
152…カウンタ
154…ラッチ
156…カウンタ
158…ラッチ
162…インバータ
164…データラッチ
170…遅延部
172…EXNOR回路
174…D型フリップフロップ
200…映像信号選択部
202…ビデオエンコーダ
204…テレビジョン
206…ビデオプレーヤ
208…CD−RAM
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a display device that scales and displays input video.
[0002]
[Prior art]
There are cases where it is desired to display a video created by a computer on another display device such as a liquid crystal projector. In such a case, a video signal corresponding to the resolution of the display device needs to be created on the computer side. In this specification, “resolution” means the number of dots in the horizontal direction (number of pixels) and the number of lines in the vertical direction (number of scanning lines). The number of dots in the horizontal direction is called “horizontal resolution”, and the number of lines in the vertical direction is called “vertical resolution”.
[0003]
[Problems to be solved by the invention]
The resolution and the number of gradations of video that can be generated by a computer are limited by the capacity of a video RAM (VRAM) in the computer. That is, there is a relationship that the number of gradations decreases when displaying with a large resolution (that is, a large screen size), and the resolution decreases when the number of gradations is increased. For this reason, when the screen size of the display device is large, the resolution of the video signal generated by the computer may not be matched with the resolution of the display device. Such a problem is the same when a video other than the computer (for example, a television video) is displayed on a display device other than the television.
[0004]
The present invention has been made to solve the above-described problems in the prior art, and an object of the present invention is to convert the video into the resolution of the display device and display it regardless of the resolution of the input video.
[0005]
[Means for solving the problems and their functions and effects]
  In order to solve at least a part of the above-described problems, a video scaling device according to the present invention includes a resolution determination table that stores a relationship between a frequency and a resolution of a synchronization signal of a video signal,
  Resolution determining means for determining the resolution of the video signal to be scaled based on the relationship between the frequency and resolution of the synchronization signal stored in the resolution determination table;
  When the video signal is read from the frame memory, the video represented by the video signal is enlarged by a non-integer multiple in the vertical and horizontal directions so that the resolution of the video signal matches the resolution of the display device. Scaling means to convert;
With
  The resolution determination table stores a case where a plurality of different frequencies correspond to the same resolution,
  The vertical and horizontal ranges of the read address when reading the video signal from the frame memory are set according to the resolution of the video signal,
The scaling means includes
  The reciprocal of the horizontal magnification and the reciprocal of the vertical magnification determined by the ratio of the resolution of the display device and the resolution of the video signalMeans for calculating;
  The reciprocal of the horizontal magnification and the reciprocal of the vertical magnification,Values multiplied by the horizontal and vertical read addresses at the same magnification displayMeans for generating horizontal and vertical read addresses for enlarged display, respectively,
WithIt is characterized by that.
[0006]
Since the resolution of the display device is known, the input video signalresolutionTheUsing resolution determination tableIf discriminated, the video signalresolutionAnd display deviceresolutionCan be obtained. Therefore, if the image is enlarged or reduced at this ratio,resolutionDisplay device'sresolutionCan be displayed in accordance with.
[0007]
The resolution determining means may determine the resolution of the video signal based on the frequency and period width of the synchronization signal, and the resolution of the video signal based on the frequency of the synchronization signal and the presence / absence of interlace. May be determined.
[0008]
If the resolution of the video signal is determined based not only on the frequency of the synchronization signal but also on the period width of the synchronization signal and the presence or absence of interlacing, errors in determining the resolution can be reduced.
[0014]
As the video signal, a computer generated video signal, a television video signal, or the like can be applied.
[0015]
DETAILED DESCRIPTION OF THE INVENTION
Next, embodiments of the present invention will be described based on examples. FIG. 1 is a block diagram showing the configuration of the liquid crystal projector according to the first embodiment of the present invention. This liquid crystal projector is a device that projects an image generated by the personal computer 100 onto a large-size screen (not shown), and includes a CPU 20, a main memory 22, an input panel 24 as input means, an A / A A D converter 32, a frame memory 34, a video scaler 36, an LCD driver 38, an LCD panel (liquid crystal display panel) 40, and a light source 42 are provided. The frame memory 34 has three memory planes for storing RGB signals.
[0016]
The CPU 20 has a function as a frequency determination unit 26 that determines the frequency of the synchronization signal SYNC given from the personal computer 100 and a function as a resolution determination unit 28 that determines the resolution corresponding to the frequency of the synchronization signal SYNC. These functions are realized by the CPU 20 executing a software program stored in the main memory 22.
[0017]
The A / D converter 32 A / D converts the video signal VPC given from the personal computer 100 to generate a digital video signal DPC, and inputs this to the video scaler 36. The video scaler 36 is supplied with the digital video signal DPC and the synchronization signal SYNC from the personal computer 100. In this specification, the “video signal” may mean a narrowly defined video signal that does not include a synchronization signal, or a broadly defined video signal that includes a synchronization signal.
[0018]
The video scaler 36 writes the input digital video signal DPC into the frame memory 34, reads out the video signal from the frame memory 34, and supplies it to the LCD driver 38. At this time, the video scaler 36 adjusts the resolution of the video signal so as to match the standard resolution of the LCD panel 40 by enlarging or reducing the video. The LCD driver 38 displays the video provided from the video scaler 36 on the LCD panel 40. The image displayed on the LCD panel 40 is projected on the screen by the light source 42.
[0019]
FIG. 2 is an explanatory diagram showing the function of the video scaler 36. As shown on the left side of FIG. 2, video generated by a personal computer has various resolutions (640 dots × 400 lines, 640 dots × 480 lines, 800 dots × 600 lines, 1024 dots × 768 lines, 1600 dots × 1200 lines). On the other hand, the standard resolution of the LCD panel 40 is constant, and is 800 dots × 600 lines in the example of FIG. Therefore, the video scaler 36 generates a video signal having the standard resolution of the LCD panel 40 by enlarging or reducing the input video signal VPC. In this way, if the video signal VPC generated by the personal computer 100 is input to the liquid crystal projector, the video can be displayed on the full screen of the LCD panel 40. That is, the resolution in the liquid crystal projector is independent of the resolution of the input video signal VPC. Therefore, an image having a desired resolution and gradation can be generated on the personal computer 100 side, and the image can be displayed on the entire screen of the LCD panel 40.
[0020]
FIG. 3 is a block diagram showing the internal configuration of the video scaler 36. The video scaler 36 includes a first color converter 50, a write synchronization signal generator 52, an input FIFO buffer 54, a DRAM controller 56, an address controller 58, a CPU access controller 60, and an output Two FIFO buffers 61 and 62, a filter unit 64, a second color conversion unit 66, and a readout synchronization signal generation unit 68 are provided. As shown in FIG. 3, in this embodiment, the frame memory 34 is composed of a dynamic RAM. The DRAM controller 56 is a circuit that controls writing of the video signal to the frame memory 34 and reading of the video signal from the frame memory 34.
[0021]
The digital video signal DPC generated by the A / D converter 32 of FIG. 1 is given to the first color conversion unit 50, and color conversion into RGB signals is performed as necessary. For example, when the input digital video signal DPC is a YCrCb signal, the color converter 50 converts it into an RGB signal.
[0022]
The synchronization signal SYNC given from the personal computer 100 includes a horizontal synchronization signal HSYNC1 and a vertical synchronization signal VSYNC1. The write synchronization signal generator 52 generates the dot clock signal DCK1 by multiplying the frequency of the horizontal synchronization signal HSYNC1 or the vertical synchronization signal VSYNC1 by N0 by an internal PLL circuit (not shown). This dot clock signal DCK1 is a signal indicating the update timing of the dot position in the horizontal direction. The dot clock signal DCK1 is supplied to the address controller 58 together with the horizontal synchronization signal HSYNC1 and the vertical synchronization signal VSYNC1.
[0023]
The video signal converted by the first color conversion unit 50 is temporarily stored in the FIFO buffer 54 and written into the frame memory 34 by the DRAM controller 56. The FIFO buffer 54 is used for adjusting the write timing. The write operation to the frame memory 34 is performed in synchronization with the write synchronization signal {DCK1, HSYNC1, VSYNC1} given from the write synchronization signal generator 52. That is, each dot position (horizontal address) is updated in synchronization with the dot clock signal DCK1, the scanning line position (vertical address) is updated in synchronization with the horizontal synchronization signal HSYNC1, and each frame (each field) is vertical. It is updated in synchronization with the synchronization signal VSYNC1. The DRAM controller 56 also performs control to read out video signals stored in the frame memory 34 and write them alternately in the FIFO buffers 61 and 62. The read operation from the frame memory 34 is performed in synchronization with the read synchronization signal {DCK2, HSYNC2, VSYNC2} generated by the read synchronization signal generator 68. The read synchronization signal {DCK2, HSYNC2, VSYNC2} is also supplied to the LCD driver 38 and used as a display synchronization signal on the LCD panel 40. The address controller 58 is a circuit that generates a write address and a read address and supplies the address to the DRAM controller 56, and includes a scaling unit 70 that enlarges / reduces the video.
[0024]
Video signals for one line read from the frame memory 34 are alternately written in the two FIFO buffers 61 and 62 for output. At this time, the video signal is read from the buffer that has not been written and is supplied to the filter unit 64. The filter unit 64 is a circuit that performs various kinds of filtering processing such as γ correction (input / output gradation conversion), video horizontal reversal, vertical reversal, and the like. The video signal that has been subjected to the filtering process is subjected to color conversion in the color converter 66 as necessary, and is converted into an output video signal DOUT. The output video signal DOUT is supplied to the LCD driver 38 (FIG. 1).
[0025]
The CPU 20 in FIG. 1 can access each part in the video scaler 36 via the CPU access controller 60 in FIG. When determining the frequency of the synchronization signal SYNC corresponding to the input video signal VPC, the CPU 20 receives a signal from the write synchronization signal generator 52 via the CPU access controller 60. First, the CPU 20 functions as the frequency determination unit 26 (FIG. 1) and measures the frequencies of the horizontal synchronization signal HSYNC1 and the vertical synchronization signal VSYNC1 input to the write synchronization signal generation unit 52, respectively. Next, it functions as the resolution determination unit 28 and determines the resolution of the input video signal VPC based on these frequencies.
[0026]
FIG. 4 is a resolution determination table showing the relationship between resolution and frequency. In this resolution determination table, the relationship between various resolutions (number of dots × number of lines) and the frequency of the horizontal synchronization signal and the vertical synchronization signal is registered. The resolution determination table is stored in the main memory 22. Since the frequency of the operation clock of the CPU 20 is several tens of MHz, the frequency of the horizontal synchronizing signal is several tens of kHz, and the frequency of the vertical synchronizing signal is several tens of Hz, the function of the frequency determining unit 26 is executed by software processing. Can be measured with sufficient accuracy. For example, if the CPU 20 counts up at a constant period and obtains the count number between the edges (eg, the falling edge) of the horizontal synchronization signal HSYNC1, the frequency of the horizontal synchronization signal HSYNC1 can be obtained from the count number. it can. The same applies to the vertical synchronization signal VSYNC1. Thus, when the frequencies of the synchronization signals HSYNC1 and VSYNC1 are determined, the resolution determination unit 28 refers to the resolution determination table (FIG. 4) and determines the corresponding resolution.
[0027]
By the way, as illustrated in FIG. 4, there may be several types of frequencies of the synchronization signal even at the same resolution. Therefore, it is preferable to register as many relations as possible between the resolution and frequency used in many commercially available devices in the resolution determination table. However, there may be a case where a video signal having a frequency not registered in the resolution determination table is input. In this case, the CPU 20 displays on the LCD panel 40 (or the display unit of the input panel 24) that the frequency of the input video signal VPC has not been registered. Then, when the user sets the resolution (number of dots × number of lines) of the input video signal VPC using the input panel 24, the relationship between the frequency and the resolution is registered in the resolution determination table. In order to realize this processing, it is preferable to store the resolution determination table in a writable memory such as a RAM or a flash memory.
[0028]
When determining the resolution of the input video signal VPC, the resolution may be determined based not only on the frequency of the horizontal synchronizing signal and the vertical synchronizing signal but also on their period widths HH and HV and the presence / absence of interlace. . FIG. 5 is an explanatory diagram for explaining the period widths HH and HV of the horizontal synchronizing signal and the vertical synchronizing signal. However, for convenience of illustration, FIG. 5 shows the waveform of the composite video signal. If the resolution of the input synchronization signal is determined based not only on the frequency of the synchronization signal but also on their period widths HH and HV and the presence or absence of interlace, errors in determining the resolution can be reduced.
[0029]
The horizontal resolution and the vertical resolution determined by the resolution determination unit 28 are given to the address controller 58 via the CPU access controller 60 (FIG. 3). The scaling unit 70 in the address controller 58 executes enlargement / reduction of the image as described with reference to FIG. 2 in order to convert these resolutions into the standard resolution of the LCD panel 40.
[0030]
FIG. 6 is a block diagram illustrating an internal configuration of the scaling unit 70. The scaling unit 70 includes a PLL circuit 142, a frequency divider 144, a horizontal address formation unit 146, a vertical address formation unit 148, a 3-state buffer unit 160, and an inverter 162. A data latch 164 shown in FIG. 6 is a circuit in the DRAM controller 56. The horizontal address forming unit 146 includes a latch failure removal circuit 150, a first counter 152, and a first latch 154. The vertical address forming unit 148 includes a second counter 156 and a second latch 158.
[0031]
The PLL circuit 142 generates a second dot clock signal DCKX having a frequency N times that from the horizontal synchronizing signal HSYNC2 for reading. The frequency divider 144 generates the line increment signal LINCX by dividing the dot clock signal DCK2 for reading by 1 / M. The setting values N and M in the PLL circuit 142 and the frequency divider 144 are values for converting the resolution of the input video signal VPC to the resolution of the LCD panel 40, and are set by the CPU 20, respectively. A method for determining these set values N and M will be described later.
[0032]
FIG. 7 is a timing chart showing the operation of the vertical address forming unit 148. The second counter 156 counts the number of pulses of the line increment signal LINX after being reset by the vertical synchronization signal VSYNC2 for reading (FIG. 7A). Further, the count value HC (FIG. 7D) of the second counter 156 is latched in accordance with the rising edge of the horizontal synchronization signal HSYNC2, and is given to the 3-state buffer 160 as the vertical address VADD. In the example of FIG. 7E, the value of the vertical address VADD is updated as 0, 1, 1, 2,.
[0033]
FIG. 8 is an explanatory diagram showing a state of video enlargement. FIG. 8A shows video data stored in the frame memory 34, and FIG. 8B shows enlarged video data. Further, the numbers described in the respective frames in these figures are the values of the video data. In the timing chart of FIG. 7E, the image on the scan line with VADD = 0 is read once, the image on the scan line with VADD = 1 is read twice, the image on the scan line with VADD = 2 is read twice, and so on. Thus, the video data is read from the frame memory 34. Therefore, the read video is enlarged in the vertical direction as shown in FIG. The vertical magnification MV2 is given by the ratio of the frequency fHSYNC2 of the horizontal synchronization signal HSYNC2 to the frequency fLINCX of the line increment signal LINCX. Therefore, by adjusting the setting value M of the frequency divider 144 (FIG. 7), it is possible to enlarge the video image at an arbitrary magnification in the vertical direction. If the value of the magnification MV2 is set to 1 or less, it can be reduced in the vertical direction.
[0034]
FIG. 9 is a timing chart showing the operation of the horizontal address forming unit 146. The latch failure removal circuit 150 (FIG. 6) generates a third dot clock signal DCKXX (FIG. 9 (e)) in response to the first and second dot clock signals DCK2 and DCKX (FIG. 9 (b), (d)). Is generated.
[0035]
FIG. 10 is a block diagram showing an internal configuration of the latch failure removal circuit 150. As shown in FIG. The latch failure elimination circuit 150 includes a delay unit 170, an EXNOR circuit 172, and a D-type flip-flop 174. The output signal DKFF of the EXNOR circuit 172 is an inverted signal obtained by taking an exclusive OR of the first dot clock signal DCK2 and a signal obtained by delaying the dot clock signal DCK2 by a predetermined time. Therefore, this signal DKFF is a signal indicating the rising and falling timings of the first dot clock signal DCK2, as shown in FIG. 9C.
[0036]
The output signal DKFF of the EXNOR circuit 172 is given to the clock input terminal of the flip-flop 174. A second dot clock signal DCKX is supplied to the D input terminal of the flip-flop 174. Therefore, the third dot clock signal DCKXX, which is the output of the flip-flop 174, is the same as the second dot clock signal DCKX at the rising edge of the output signal DKFF of the EXNOR circuit 172, as shown in FIG. This is a signal indicating the level. The third dot clock signal DCKXX has a frequency equal to that of the second dot clock signal DCKX. Further, since the output signal DKFF of the EXNOR circuit 172 rises after a predetermined delay time from the edge of the first dot clock signal DCK2, the timing of the level change of the third dot clock signal DCKXX is also the first dot clock signal DCKXX. Delayed from the edge of the clock signal DCK2 by a predetermined delay time. The reason why such a third dot clock signal DCKXX is generated by the latch failure removal circuit 150 is to prevent the horizontal address value latched by the first latch 154 from becoming unstable. Will be further described later.
[0037]
The first counter 152 (FIG. 6) of the horizontal address forming unit 146 counts up the number of pulses of the third dot clock signal DCKXX generated by the latch miss removal circuit 150 after being reset by the pulse of the horizontal synchronization signal HSYNC2. Then, the count value DC (FIG. 9 (f)) is supplied to the first latch 154. Incidentally, since the third dot clock signal DCKXX has the same frequency as the second dot clock signal DCKX, the count value DC of the first counter 152 is substantially the pulse of the second dot clock signal DCKX. Shows the number. The first latch 154 latches the count value DC in synchronization with the first dot clock signal DCK2, and provides it to the three-state buffer 160 as the horizontal address HADD (FIG. 9 (g)). That is, the horizontal address HADD is a value indicating the number of pulses of the second dot clock signal DCKX, and the value is updated according to the rising edge of the first dot clock signal DCK2. Therefore, it is possible to set how to update the value of the horizontal address HADD by adjusting the frequency fDCK2 of the first dot clock signal DCK2 and the frequency fDCKX of the second dot clock signal DCKX. In the example of FIG. 9G, it can be seen that the value of the horizontal address HADD changes as 0, 0, 1,.
[0038]
FIGS. 8A and 8B described above illustrate how the video is enlarged in accordance with the update of the horizontal address HADD in FIG. 9G. The timing chart shown in FIG. 9 corresponds to the address generation timing in the horizontal direction on the uppermost scanning line where the vertical address VADD is zero. As shown in FIG. 9G, the horizontal address HADD is updated to 0, 0, 1,. Therefore, on this scanning line, the video data of the pixel with the horizontal address HADD = 0 is read twice, and then the video data of the pixel with HADD = 1 is once in the order of the video data of each pixel. The data is sequentially read from the memory 34.
[0039]
Thus, the horizontal address HADD depends on the frequency relationship between the two dot clock signals DCK2 and DCKX. Therefore, by adjusting the frequency of these dot clock signals DCK2 and DCKX, the video can be enlarged / reduced in the horizontal direction. That is, the horizontal magnification MH2 of the video at the time of reading is given by the ratio between the frequency fDCK2 of the first dot clock signal DCK2 and the frequency fDCKX of the second dot clock signal DCKX, as shown in the lower part of FIG. It is done. Therefore, by adjusting the setting value N of the PLL circuit 142, it is possible to enlarge / reduce the video image at an arbitrary magnification in the horizontal direction.
[0040]
The reason why the signal DCKXX is generated by the latch failure removal circuit 150 is as follows. As shown in FIG. 9 (f), the count value DC of the first counter 152 is equal to the third dot clock signal DCKXX (FIG. 9) after the horizontal synchronization signal HSYNC2 (FIG. 9 (a)) returns to the H level. It changes in synchronization with the rising edge of (e)). On the other hand, as described above, the edge of the third dot clock signal DCKXX is delayed by a predetermined time from the edge of the first dot clock signal DCK2, so that the latch timing in the first latch 154 is the count value DC. Therefore, the horizontal address HADD does not become unstable.
[0041]
As described above, by adjusting the setting value N of the PLL circuit 142 and the setting value M of the frequency divider 144 shown in FIG. 6, the horizontal magnification MH2 and the vertical magnification MV2 are respectively set as shown in the lower part of FIG. It can be set independently. Accordingly, the horizontal magnification MH2 is set equal to (horizontal resolution of the LCD panel 40) / (horizontal resolution of the input video signal VPC), and the vertical magnification MV2 is set to (vertical resolution of the LCD panel 40) / (input video signal). If it is set equal to the vertical resolution of the VPC), it is possible to display an image on the full screen of the LCD panel 40.
[0042]
FIG. 11 is a block diagram showing a configuration of a down converter as a second embodiment of the present invention. This down-converter adds a video signal selection unit 200 to the input unit of the liquid crystal projector shown in FIG. 1, replaces the LCD driver 38 with a video encoder 202, and replaces the LCD panel 40 and the light source 42 with various output devices (TVs). John 204, video player 206, andWritable compact disc device208).
[0043]
The video signal selection unit 200 is a selector that receives two types of video signals STV1 and STV2 for television in addition to the video signal {VPC, SYNC} generated by the personal computer and selects one of them. is there. Note that the television video signals STV1 and STV2 are composite video signals including a synchronization signal. When selecting a composite video signal, a component video signal VIN and a synchronization signal SYNC are generated from the composite video signal by a decoder (not shown) in the video signal selection unit 200.
[0044]
The video encoder 202 generates a composite video signal from the digital video signal DOUT output from the video scaler 36 and the readout synchronization signal (DCK2, HSYNC2, VSYNC2). This composite video signal is supplied to the television 204 and the video player 206.Writable compact disc device 208When the video is written to the video encoder, the video encoder does not generate the composite video signal, but directly uses the digital video signal DOUT and the readout synchronization signal.Writable compact disc device208 is supplied. Since the video scaler 36 can change the video to a desired resolution, the video can be output at a desired resolution according to various output devices by the user setting the resolution. The reason why the apparatus of FIG. 11 is called a “down converter” has the meaning that various input video signals can be converted into various output video signals in this way.
[0045]
The present invention is not limited to the above-described examples and embodiments, and can be implemented in various modes without departing from the gist thereof. For example, the following modifications are possible.
[0046]
(1) The functions of the frequency determination unit 26 and the resolution determination unit 28 (FIG. 1) realized by software processing in the above embodiment can be realized by a hardware circuit.
[0047]
(2) In the above embodiment, the enlargement / reduction is performed when the image is read from the frame memory 34. However, the enlargement / reduction may be performed when the image is written to the frame memory 34. is there.
[0048]
(3) As a method of enlarging / reducing, it is possible to apply a method other than the frequency control described above. For example, it is possible to change the address by multiplying the read address or the write address by a coefficient, thereby enlarging or reducing the address. FIG. 12 is an explanatory diagram showing a method of enlarging / reducing an image by multiplying the read address by a coefficient K. FIG. 12A shows images stored in the frame memory 34, and FIGS. 12B1 to 12B3 show images that are enlarged and reduced. Di, j indicates image data written at an address (i, j) in the frame memory 34.
[0049]
In FIG. 12, when the memory resolution is Mx (dot) × My (line) and the display resolution is Nx (dot) × Ny (line), the coefficient K (Kx, Ky) to be multiplied by the address is expressed by the following equation: Given in.
[0050]
Kx = Mx / Nx (1a)
Ky = My / Ny (1b)
[0051]
A read address (XADD, YADD) for reading image data from the frame memory 34 is converted into a new read address (XADD ', YADD') by the following equation.
[0052]
XADD ′ = INT (Kx × XADD) (2a)
YADD ′ = INT (Ky × YADD) (2b)
[0053]
Here, the operator INT () represents an operation that takes an integer part in parentheses.
[0054]
FIG. 12B1 is an example of an image displayed when the coefficients Kx and Ky are larger than 1.0 (for example, when Kx = Ky = 2.0). When the original horizontal address XADD increases by 1, 0, 1, 2,..., The converted horizontal address XADD ′ changes to 0, 2, 4,... According to (2a) above. The same applies to the vertical address YADD. Since the image data is read from the frame memory 34 in accordance with the read addresses XADD ′ and YADD ′, the image is reduced and displayed as shown in FIG. 12 (B1). At this time, the horizontal magnification and the vertical magnification are equal to 1 / Kx and 1 / Ky, respectively.
[0055]
As shown in FIG. 12B2, when the coefficients Kx and Ky are equal to 1.0, the image in the frame memory 34 is displayed at the same magnification.
[0056]
FIG. 12B3 is an example of an image displayed when the coefficients Kx and Ky are smaller than 1.0 (for example, when Kx = Ky = 0.7). When the original horizontal address XADD increases by 1 such as 0, 1, 2, 3,..., The converted vertical address XADD ′ changes to 0, 0, 1, 2,. The same applies to the vertical address YADD. Since the image data is read from the frame memory 34 in accordance with the read addresses XADD ′ and YADD ′, the image is enlarged and displayed as shown in FIG. 12 (B3).
[0057]
Note that the values of Kx and Ky can be set to arbitrary values independently of each other.
[0058]
(4) If a high-speed read / write memory such as a synchronous DRAM is used as the frame memory 34, the image signal can be read / written at high speed.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a configuration of a liquid crystal projector according to a first embodiment of the invention.
FIG. 2 is an explanatory diagram showing functions of the video scaler 36;
3 is a block diagram showing an internal configuration of a video scaler 36. FIG.
FIG. 4 is an explanatory diagram showing the contents of a resolution determination table.
FIG. 5 is an explanatory diagram showing a waveform of a composite video signal.
6 is a block diagram showing an internal configuration of a scaling unit 70. FIG.
FIG. 7 is a timing chart showing a vertical address forming operation.
FIG. 8 is an explanatory diagram showing a state of video enlargement.
FIG. 9 is a timing chart showing a horizontal address forming operation.
10 is a block diagram showing an internal configuration of a latch failure removal circuit 150. FIG.
FIG. 11 is a block diagram showing a configuration of a down converter as a second embodiment of the present invention.
FIG. 12 is an explanatory diagram showing a method for enlarging / reducing an image by multiplying a read address by a coefficient K.
[Explanation of symbols]
20 ... CPU
22 ... Main memory
24 ... Input panel
26: Frequency determining unit
28: Resolution determination unit
32 ... A / D converter
34 ... Frame memory
36 ... Video Scaler
38 ... LCD driver
40 ... LCD panel
42 ... Light source
50: Color conversion unit
52. Write synchronization signal generator
54 ... FIFO buffer
56 ... DRAM controller
58 ... Address controller
60 ... CPU access controller
61, 62 ... FIFO buffer
64: Filter section
66 ... color conversion unit
68. Read synchronization signal generator
70: Scaling unit
100: Personal computer
142 ... PLL circuit
144: Frequency divider
146: Horizontal address forming section
148 ... Vertical address forming section
150 ... Latch miss elimination circuit
152 ... Counter
154 ... Latch
156 ... Counter
158 ... Latch
162: Inverter
164: Data latch
170 ... delay part
172 ... EXNOR circuit
174 ... D-type flip-flop
200 ... Video signal selection section
202 ... Video encoder
204 ... Television
206: Video player
208 ... CD-RAM

Claims (5)

映像信号の同期信号の周波数と解像度との関係を記憶する解像度決定テーブルと、
前記解像度決定テーブルに記憶された同期信号の周波数と解像度との関係に基づいて、スケーリング対象となる映像信号の解像度を決定する解像度決定手段と、
フレームメモリから前記映像信号を読み出す際に前記映像信号で表わされる映像を垂直方向および水平方向に非整数倍の倍率で拡大することによって、前記映像信号の解像度を表示デバイスの解像度に一致するように変換するスケーリング手段と、
を備え、
前記解像度決定テーブルは、同一の解像度に対して複数種類の異なる周波数が対応する場合を記憶しており、
前記フレームメモリからの映像信号の読み出し時の読出アドレスの垂直方向と水平方向の範囲は、前記映像信号の解像度によって設定され、
前記スケーリング手段は、
前記表示デバイスの解像度と前記映像信号の解像度との比で決定される水平倍率の逆数と垂直倍率の逆数を算出する手段と、
前記水平倍率の逆数と垂直倍率の逆数を、等倍表示時における水平方向と垂直方向の読出アドレスにそれぞれ乗じた値を整数化することによって、拡大表示のための水平方向と垂直方向の読出アドレスをそれぞれ生成する手段と、
を備えることを特徴とする映像スケーリング装置。
A resolution determination table for storing the relationship between the frequency of the synchronizing signal of the video signal and the resolution;
Resolution determination means for determining the resolution of the video signal to be scaled based on the relationship between the frequency and resolution of the synchronization signal stored in the resolution determination table;
When the video signal is read from the frame memory, the video represented by the video signal is enlarged in the vertical and horizontal directions at a non-integer multiple magnification so that the resolution of the video signal matches the resolution of the display device. Scaling means to convert;
With
The resolution determination table stores a case where a plurality of different frequencies correspond to the same resolution,
The vertical and horizontal ranges of the read address when reading the video signal from the frame memory are set according to the resolution of the video signal,
The scaling means includes
Means for calculating a reciprocal of horizontal magnification and a reciprocal of vertical magnification determined by a ratio between the resolution of the display device and the resolution of the video signal ;
By multiplying the reciprocal of the horizontal magnification and the reciprocal of the vertical magnification by the readout addresses in the horizontal direction and the vertical direction at the same magnification display, respectively, the values are converted into integers, so that the horizontal and vertical readout addresses for enlarged display are displayed. Each of which generates
Video scaler, characterized in that it comprises a.
請求項1記載の映像スケーリング装置であって、
前記解像度決定手段は、前記同期信号の周波数および期間幅に基づいて映像信号の解像度を決定する、映像スケーリング装置。
The video scaling device according to claim 1, comprising:
The video scaling device, wherein the resolution determining means determines a resolution of a video signal based on a frequency and a period width of the synchronization signal.
請求項1記載の映像スケーリング装置であって、
前記解像度決定手段は、前記同期信号の周波数と、インターレースの有無とに基づいて映像信号の解像度を決定する、映像スケーリング装置。
The video scaling device according to claim 1, comprising:
The video scaling device, wherein the resolution determination means determines the resolution of the video signal based on the frequency of the synchronization signal and the presence or absence of interlace.
光源と、
請求項1ないし3のいずれかに記載の映像スケーリング装置と、
を備えた表示デバイス。
A light source;
The video scaling device according to any one of claims 1 to 3,
Display device with.
前記表示デバイスはプロジェクタである、請求項4記載の表示デバイス。  The display device according to claim 4, wherein the display device is a projector.
JP2002149615A 2002-05-23 2002-05-23 Display device for video scaling Expired - Lifetime JP3655258B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002149615A JP3655258B2 (en) 2002-05-23 2002-05-23 Display device for video scaling

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002149615A JP3655258B2 (en) 2002-05-23 2002-05-23 Display device for video scaling

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP7297578A Division JPH09114443A (en) 1995-10-20 1995-10-20 Video scaling device

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2003337767A Division JP2004110046A (en) 2003-09-29 2003-09-29 Display device for performing video scaling

Publications (2)

Publication Number Publication Date
JP2003084738A JP2003084738A (en) 2003-03-19
JP3655258B2 true JP3655258B2 (en) 2005-06-02

Family

ID=19194719

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002149615A Expired - Lifetime JP3655258B2 (en) 2002-05-23 2002-05-23 Display device for video scaling

Country Status (1)

Country Link
JP (1) JP3655258B2 (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4568923B2 (en) * 1999-04-19 2010-10-27 ソニー株式会社 Image display device and image signal conversion device
JP2005215542A (en) 2004-01-30 2005-08-11 Toshiba Corp Video projector device and method for adjusting position of projection video thereof
JP2008020510A (en) * 2006-07-11 2008-01-31 Colcoat Kk Pixel conversion device with resolution changeover switch, and liquid crystal display device using the same
JP5288579B2 (en) 2006-12-13 2013-09-11 ルネサスエレクトロニクス株式会社 Display device and controller driver
JP4450014B2 (en) 2007-05-30 2010-04-14 セイコーエプソン株式会社 Projector, image display device, and image processing device
JP4609458B2 (en) 2007-06-25 2011-01-12 セイコーエプソン株式会社 Projector and image processing apparatus
JP4380740B2 (en) 2007-07-09 2009-12-09 セイコーエプソン株式会社 Image processing device
JP4380741B2 (en) 2007-07-09 2009-12-09 セイコーエプソン株式会社 Image processing device
JP4710923B2 (en) 2008-03-04 2011-06-29 セイコーエプソン株式会社 Image processing apparatus and image processing method
CN103500555B (en) * 2013-10-08 2015-12-23 深圳市摩西尔电子有限公司 A kind of LED display video resolution matched processing method and system

Also Published As

Publication number Publication date
JP2003084738A (en) 2003-03-19

Similar Documents

Publication Publication Date Title
JPH09114443A (en) Video scaling device
EP1959425B1 (en) Image converting apparatus and image converting method
TW424217B (en) Method and apparatus for asynchronous display of graphic images
JPH08202318A (en) Display control method and its display system for display device having storability
US7589745B2 (en) Image signal processing circuit and image display apparatus
JP3655258B2 (en) Display device for video scaling
US6507346B1 (en) Image processing method and image display
JP4035408B2 (en) Resolution conversion apparatus and method, and information processing apparatus
US7675480B2 (en) Image display device and image display method
JP2004110046A (en) Display device for performing video scaling
JP2007058234A (en) Display device for performing video scaling
JP3613985B2 (en) Image processing apparatus and projection display apparatus
JP2003316331A (en) Display device
KR100790984B1 (en) Display driving integrated circuit and system clock generation method generating system clock signal having constant frequency
JP2003202856A (en) Video scaling apparatus
US7548233B1 (en) Method and system for image scaling output timing calculation and remapping
JP4547737B2 (en) Projection display
JP3863887B2 (en) Display drive device
JPH1063219A (en) Display device and its driving method
JP3022664B2 (en) Image display size variable circuit
JP2001155673A (en) Scanning electron microscope
JPH08286658A (en) Resolution converting device and resolution converting method
JPH06301373A (en) Display controller
JPH11143442A (en) Image signal processing method and image signal processing device
JP2000305538A (en) Image enlarging method and image enlarging circuit

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040412

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040622

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050302

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20080311

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20090311

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20090311

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20100311

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20100311

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20110311

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20120311

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20120311

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20130311

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20140311

Year of fee payment: 9

EXPY Cancellation because of completion of term