Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3598515B2 - DISK PLAYER AND OSD IMAGE GENERATION METHOD - Google Patents
[go: Go Back, main page]

JP3598515B2 - DISK PLAYER AND OSD IMAGE GENERATION METHOD - Google Patents

DISK PLAYER AND OSD IMAGE GENERATION METHOD Download PDF

Info

Publication number
JP3598515B2
JP3598515B2 JP2001373711A JP2001373711A JP3598515B2 JP 3598515 B2 JP3598515 B2 JP 3598515B2 JP 2001373711 A JP2001373711 A JP 2001373711A JP 2001373711 A JP2001373711 A JP 2001373711A JP 3598515 B2 JP3598515 B2 JP 3598515B2
Authority
JP
Japan
Prior art keywords
osd image
data
line
ram
image
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
JP2001373711A
Other languages
Japanese (ja)
Other versions
JP2003174627A (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.)
Funai Electric Co Ltd
Original Assignee
Funai Electric Co Ltd
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 Funai Electric Co Ltd filed Critical Funai Electric Co Ltd
Priority to JP2001373711A priority Critical patent/JP3598515B2/en
Publication of JP2003174627A publication Critical patent/JP2003174627A/en
Application granted granted Critical
Publication of JP3598515B2 publication Critical patent/JP3598515B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Television Signal Processing For Recording (AREA)
  • Controls And Circuits For Display Device (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、ある画像に重畳されるOSD(On Screen Display)画像の生成方法に関するものである。
【0002】
【従来の技術】
DVD(Digital Video Disc)などの円板状の記録媒体であるディスクに記録されている画像を再生するディスク再生装置では、ディスクから再生された画像にOSD画像を重畳する機能を備えている。従来、このOSD画像は、OSD画像の各ドットがキャラクタ部分であるか背景部分であるかを示すパターンデータ、及び、OSD画像のキャラクタ部分と背景部分との色を指定する着色用データをROM(Read Only Memory)に格納しておき、CPU(Central Processing Unit)がROMに格納されているパターンデータ及び着色用データに基づいて1ドットずつ表示用のメモリに展開することによってOSD画像を生成していた。
【0003】
尚、画像をメモリに展開するとは、画像のパターンデータ及び着色用データに基づいて着目中のドットがキャラクタ部分であるか背景部分であるかを認識するとともにキャラクタ部分、背景部分としてそれぞれ指定されている色を認識し、キャラクタ部分についてはキャラクタ部分として指定されている色のデータを、背景部分については背景部分として指定されている色のデータを、着目中のドットに対応するメモリ上の領域にそれぞれ格納することを意味している。
【0004】
【発明が解決しようとする課題】
このように、従来は、パターンデータ及び着色用データに基づいて1ドットずつメモリに展開することによってOSD画像を生成していたため、OSD画像が生成されるまでに要する時間が長かった。その結果、操作性に支障を来していた。また、OSD画像を生成するマイクロコンピュータは、通常は、OSD画像を生成するためだけに使用されることはなく、他の処理を行うようになっているが、OSD画像の生成を行っている間はCPUが占有されてしまうため、他の処理を効率良く行うことができなかった。
【0005】
尚、今回展開するOSD画像の背景部分と直前に展開していたOSD画像の背景部分とが同じ色である場合は、単純にOSD画像の背景部分については展開しないようにすれば、OSD画像の生成に要する時間を短縮することができるが、直前に展開していたOSD画像のキャラクタと今回展開したOSD画像のキャラクタとが重なった画像となってしまう。
【0006】
また、特開平9−90923の公報に開示されている技術は、複数画面の重ね合わせにおける透明色と優先色の任意の複数化、及び、透明色や優先色指定の書き換えの高速化を図るものであり、上記課題を解決するものではない。
【0007】
また、特開2000−98993の公報に開示されている技術は、表示コントローラの消費電力を減らし、かつ、上位からのフレームバッファアクセスと表示コントローラ内でのフレームバッファアクセスとの競合を減らすものであり、上記課題を解決するものではない。
【0008】
そこで、本発明は、OSD画像が生成されるまでに要する時間を短縮するとともに、他の処理を効率良く行うことができるようにしたOSD画像生成方法を提供することを目的とする。
【0009】
【課題を解決するための手段】
上記の目的を達成するため、本発明では、OSD画像の背景部分がとり得る各色のデータがOSD画像の1ライン分ずつ予め格納された第1のメモリから、要求されたOSD画像の背景部分として指定されている色の1ライン分のデータを、OSD画像の1ライン分だけ色のデータを格納可能な容量をもった第2のメモリにDMA転送し、次に、CPUが着目中のライン上におけるOSD画像のキャラクタ部分及びOSD画像のキャラクタ部分として指定されている色を認識し、着目中のライン上におけるOSD画像のキャラクタ部分に対応する、前記第2のメモリ上の領域にOSD画像のキャラクタ部分として指定されている色のデータを格納し、次に、前記第2のメモリに格納されているデータを、OSD画像の全ドット分だけ色のデータを格納可能な容量をもった表示用のメモリである第3のメモリ上の、着目中のラインに対応する領域にDMA転送するという一連の動作を、各ラインに順次着目してOSD画像のライン数だけ繰り返し行うことによってOSD画像を生成する。
【0010】
【発明の実施の形態】
以下に本発明の実施形態を図面を参照しながら説明する。図1は本発明を適用したディスク再生装置のブロック図である。ディスクモータ2によって回転駆動されるディスク1から情報を検出するピックアップ3の出力は、RFアンプ4を介して信号処理回路5とサーボ処理回路6とに導かれており、サーボ処理回路6の出力は、デジタルシグナルプロセッサ(以下、「DSP」)5に導かれている。
【0011】
また、DSP5には、RFアンプ4によって増幅され、DVD規格に従ってデコードされたデータ(但し、ここでは、MPEG(Motion Picture Expert Group)により圧縮されている)を一旦格納するトラックバッファRAM(Random Access Memory)7が接続されている。これらRFアンプ4、DSP5、及び、サーボ処理回路6は、マイクロコンピュータ8によって制御される。このように、マイクロコンピュータ8は、ディスク1から情報を再生する動作の制御を司るものであり、以下、「フロントエンドマイコン」と称するものとする。
【0012】
サーボ処理回路6は、フロントエンドマイコン8からDSP5を経由して送受信されるコマンドや制御データに従って、ピックアップ3に対するフォーカシングサーボやトラッキングサーボのサーボ制御を行うとともに、ピックアップ3全体をディスク1の半径方向に移動させるためのスレッドモータ9の制御や、ディスク1を装填する不図示のトレイを駆動するトレイモータ10の制御を行う。
【0013】
尚、トレイに装填されたディスク1がDVDである場合の再生信号は、RFアンプ4を経由してDSP5に入力され、一方、トレイに装填されたディスク1がCD−ROM(Compact Disc − Read Only Memory)である場合の再生信号は、RFアンプ4からサーボ処理回路6を経由してDSP5に入力される。DSP5は、これらDVDデータのデコード処理やCD−ROMデータのデコード処理等も行う。
【0014】
また、DSP5は、A/V(Audio/Video)デコーダ11に接続されており、A/Vデコーダ11の出力は、ビデオエンコーダ13とD/Aコンバータ14とに接続されている。A/Vデコーダ11は、トラックバッファRAM7から読み出されたMPEGにより圧縮されているデータを伸長する。また、A/Vデコーダ11には、伸長したデジタルのデータを数画面分格納するためのA/VデコードRAM15が接続されている。
【0015】
また、A/Vデコーダ11は、マイクロコンピュータ16に接続されており、マイクロコンピュータ16には、ワークRAM17が接続されている。尚、マイクロコンピュータ16は、ディスク1から再生された情報を出力する動作の制御を司るものであり、以下、「バックエンドマイコン」と称するものとする。また、フロントエンドマイコン8とバックエンドマイコン16との連携によりディスク再生装置全体の動作が制御されている。
【0016】
また、バックエンドマイコン16には、LCD等から成るフロントパネル20の表示制御を行うフロントパネルコントローラ19が接続されており、フロントパネルコントローラ19には、キー入力部21の出力が導かれている、また、フロントパネルコントローラ19には、リモコン22からの送信信号を受信する不図示の受信部が設けられている。
【0017】
ここで、上記構成のディスク再生装置における再生時の動作について簡単に説明する。ディスク1に記録されたデータは、ピックアップ3で検出され、RFアンプ4で波形整形及び増幅が行われた後、DSP5においてDVD規格に従いデコードされる。デコードされたデータは、MPEGにより圧縮されている状態でトラックバッファRAM7に順次蓄えられ、バックエンドマイコン16からの読み出し要求を待つ。
【0018】
そして、トラックバッファRAM7に蓄えられたデータは、バックエンドマイコン16からの読み出し要求に従って順次読み出され、A/Vデコーダ11に転送されて、ここでMPEGによる圧縮データの伸長が行われてビデオデータにデコードされる。デコードされたビデオデータは、A/VデコードRAM15に一旦蓄えられた後、再び読み出されてビデオエンコーダ13に順次転送され、ここでアナログのビデオ信号に変換されてビデオ出力端子13a、13bから出力される。
【0019】
一方、MPEGにより圧縮されているオーディオデータについては、ビデオデータと同様にトラックバッファRAM7に順次蓄えられ、バックエンドマイコン16からの読み出し要求に従って順次読み出され、A/Vデコーダ11に転送されて、ここでMPEGによる圧縮データの伸長が行われてオーディオデータにデコードされる。デコードされたオーディオデータは、A/VデコードRAM15に一旦蓄えられた後、再び読み出されてD/Aコンバータ14に順次転送され、ここでアナログのオーディオ信号に変換されてオーディオ出力端子14aから出力される。
【0020】
このような再生動作過程において、トラックバッファRAM7に蓄えられたデータは、バックエンドマイコン16からの読み出し要求に従って順次読み出されると、次のデータによって順次上書きされ、これを繰り返すことによって画像データを順次その後の信号再生系に出力するようになっている。
【0021】
また、A/VデコードRAM15についても同様であり、A/VデコードRAM15に蓄えられたデータは、バックエンドマイコン16からの読み出し要求に従って順次読み出されると、トラックバッファRAM7から読み出され転送されてきた次のデータによって順次上書きされ、これを繰り返すことによって画像データを順次その後の信号再生系に出力するようになっている。
【0022】
ここで、バックエンドマイコン16はOSD画像を生成する機能も備えている。バックエンドマイコン16で生成されたOSD画像(後述するバックエンドマイコン16内の第3のRAM166に格納された画像データ)は、A/Vデコーダ11を介してビデオエンコーダ13に供給され、ビデオエンコーダ13にてディスク1から再生された画像データに重畳される。
【0023】
以下、バックエンドマイコン16がOSD画像を生成する動作について説明する。バックエンドマイコン16は、図2に示すように、CPU161、DMA(Direct Memory Access)コントローラ(以下、「DMAC」)162、ROM163、第1のRAM164、第2のRAM165、及び、第3のRAM166を備えている。これらはバス167で接続されている。
【0024】
ROM163には、OSD画像の各ドットがキャラクタ部分であるか背景部分であるかを示すパターンデータ、及び、OSD画像のキャラクタ部分と背景部分との色を指定する着色用データが格納されている。尚、パターンデータは、例えば、キャラクタ部分のドットが「1」、背景部分のドットが「0」となっている。
【0025】
第1のRAM164は、OSD画像の背景部分がとり得る各色のデータをOSD画像の1ライン分ずつ格納可能な容量をもっている。第2のRAM165は、OSD画像の1ライン分だけ色のデータを格納可能な容量をもっている。
【0026】
第3のRAM166は、OSD画像の全ドット数だけ色のデータを格納可能な容量をもっている。また、第3のRAM166に格納されているデータは、A/Vデコーダ11を介してビデオエンコーダ13に供給され、ディスク1から再生された画像データに重畳される。すなわち、第3のRAM166は、そこに格納されているデータに基づいて表示が行われる表示用のメモリとなっている。
【0027】
CPU161は、システムの起動後、図3のフローチャートに示す処理を行うことによって、OSD画像の背景部分がとり得る各色のデータをOSD画像の1ライン分ずつ第1のRAM164に予め格納しておく。
【0028】
また、CPU161は、OSD画像の表示要求を受けると、図4のフローチャートに示す処理を行う。この処理について説明する。表示要求があったOSD画像の背景部分として指定されている色をROM163に格納されている着色用データに基づいて認識し、表示要求があったOSD画像の背景部分として指定されている色の1ライン分のデータを第1のRAM164から第2のRAM165にDMAC162を用いてDMA転送する(S1)。
【0029】
次に、ROM163に格納されているパターンデータ及び着色用データに基づいて着目中のライン上におけるOSD画像のキャラクタ部分についてのみ第2のRAM165に展開する(S2)。すなわち、ROM163に格納されているパターンデータ及び着色用データに基づいて着目中のライン上におけるOSD画像のキャラクタ部分及びOSD画像のキャラクタ部分として指定されている色を認識し、着目中のライン上におけるOSD画像のキャラクタ部分に対応する、第2のRAM165上の領域にOSD画像のキャラクタ部分として指定されている色のデータを格納する。
【0030】
次に、第2のRAM165に格納されているデータ(OSD画像の1ライン分の色のデータ)を着目中のラインに対応する、第3のRAM166上の領域にDMAC162を用いてDMA転送する(S3)。S3を終えると、全てのラインに着目し終わっていない場合は(S4のNo)、着目するラインを次のラインに更新し(S5)、その後、前述したS1へ移行する。
【0031】
以上の処理により、例えば図5に示すように、キャラクタ部分「F」が赤色、背景部分が青色のOSD画像を生成する場合において、第2のRAM165及び第3のRAM166に格納されているデータは以下のように推移する。
【0032】
まず、図6の(a)のイメージ図に示すように、図5に示すOSD画像の背景部分の色である青色の1ラインが第1のRAM164から転送されて第2のRAM165に格納された状態になる。
【0033】
次に、図5に示すOSD画像の先頭のラインL1上の全てのドットが背景部分であるので、第2のRAM165への展開は行われず、その結果、図6の(b)のイメージ図に示すように、図5に示すOSD画像の先頭のラインL1と同じもの(この場合は、青色の1ライン)が第2のRAM165に格納された状態になる。
【0034】
次に、第2のRAM165に格納されているデータが第3のRAM166にDMA転送され、図6の(c)のイメージ図に示すように、第3のRAM166の先頭のライン5−1に図5に示すOSD画像の先頭のラインL1と同じものが格納された状態になる。
【0035】
次に、図7の(a)のイメージ図に示すように、図5に示すOSD画像の背景部分の色である青色の1ラインが第1のRAM164から再び転送されて第2のRAM165に格納された状態になる。
【0036】
次に、図5に示すOSD画像では2番目のラインL2上にキャラクタ部分のドットが存在するので、このキャラクタ部分についてのみ第2のRAM165に展開され、図7の(b)のイメージ図に示すように、図5に示すOSD画像の2番目のラインL2と同じものが第2のRAM165に格納された状態になる。
【0037】
次に、第2のRAM165に格納されているデータが第3のRAM166にDMA転送され、図7の(c)のイメージ図に示すように、第3のRAM166の2番目のライン5−2に図5に示すOSD画像の2番目のラインL2と同じものが格納された状態になる。
【0038】
以下、同様にして、3番目のラインから最後のラインまで順番に処理され、その結果、図8のイメージ図に示すように、第3のRAM166の各ライン5−1、5−2、…、5−nには、それぞれ図5に示すOSD画像の対応するラインL1、L2、…、Lnと同じものが格納された状態になる。
【0039】
このように、本実施形態では、OSD画像の背景部分がとり得る各色のデータを1ライン分ずつ第1のRAM164に予め格納しておき、表示要求があったOSD画像の背景部分として指定されている色の1ライン分のデータを第1のRAM164から第2のRAM165にDMA転送するので、表示要求があったOSD画像の背景部分はこの時点で展開されていることになり、OSD画像をキャラクタ部分についてのみメモリに展開するだけでよくなる。一方、RAM間でデータ転送を行う回数は従来と比べて増加するが、RAM間ではデータをDMA転送している。
【0040】
以上より、OSD画像が生成される(ROM163に格納されているパターンデータ及び背景色データに基づいてOSD画像が表示用のメモリである第3のRAM166に展開される)までに要する時間が短縮される。また、生成するOSD画像に背景部分が多いほど、OSD画像の生成に要する時間は短くなる。このように、OSD画像が生成されるまでに要する時間が短縮されることで、使用者から見ると、OSD画像がより高速に表示されることになり、操作性が向上する。
【0041】
また、OSD画像の生成を行っている場合でも、DMA転送が実行されている間は、CPU161が他の処理を実行することができるので、他の処理を効率良く行うことができるようになる。
【0042】
また、本実施形態では、第1のRAM164からOSD画像の背景部分と同じ色の1ラインを転送する先、及び、OSD画像をキャラクタ部分についてのみ展開する先を、表示用のメモリである第3のRAM166にするのではなく、表示用のメモリではない第2のRAM165にしているので、OSD画像の各ラインを確立させてから表示用のメモリである第3のRAM166に転送されることになり、OSD画像のちらつきなどを抑制することができる。
【0043】
【発明の効果】
以上説明したように、本発明によれば、パターンデータをキャラクタ部分についてのみメモリに展開すればよくなるので、メモリ間でデータ転送を行う回数は増えるが、メモリ間ではデータをDMA転送していることから、トータル的に見れば、OSD画像が生成されるまでに要する時間を短縮することができる。その結果、OSD画像がより高速に表示されることになり、操作性が向上する。
【0044】
また、メモリ間でデータがDMA転送されている間はCPUが他の処理を実行することができることから、OSD画像を生成している間もCPUが他の処理を実行することができるようになるので、他の処理を効率良く行うことができるようになる。したがって、マイクロコンピュータに様々な処理が要求されるディスク再生装置などにおいて本発明を適用することによって動作の高速化などが期待される。
【図面の簡単な説明】
【図1】本発明を適用したディスク再生装置のブロック図である。
【図2】図1中のバックエンドマイコンのOSD画像の生成に関与する部分の構成を示す図である。
【図3】バックエンドマイコン内のCPUがシステム起動時に行う動作のフローチャートである。
【図4】バックエンドマイコン内のCPUがOSD画像の表示要求を受けたときに行う動作のフローチャートである。
【図5】OSD画像の一例を示す図である。
【図6】図5のOSD画像が生成される際にバックエンドマイコン内の第2のRAM及び第3のRAMに格納されるデータのイメージを示す図である。
【図7】図5のOSD画像が生成される際にバックエンドマイコン内の第2のRAM及び第3のRAMに格納されるデータのイメージを示す図である。
【図8】図5のOSD画像が生成される際にバックエンドマイコン内の第3のRAMに最終的に格納されるデータのイメージを示す図である。
【符号の説明】
1 ディスク
2 ディスクモータ
3 ピックアップ
4 RFアンプ
5 DSP(デジタルシグナルプロセッサ)
6 サーボ処理回路
7 トラックバッファRAM
8 マイクロコンピュータ(フロントエンドマイコン)
11 A/Vデコーダ
13 ビデオエンコーダ
14 D/Aコンバータ
15 A/VデコードRAM
16 マイクロコンピュータ(バックエンドマイコン)
17 ワークRAM
19 フロントパネルコントローラ
20 フロントパネル
21 キー入力部
22 リモコン
161 CPU
162 DMAC(DMAコントローラ)
163 ROM
164 第1のRAM
165 第2のRAM
166 第3のRAM(表示用のメモリ)
167 バス
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a method for generating an OSD (On Screen Display) image to be superimposed on a certain image.
[0002]
[Prior art]
2. Description of the Related Art A disk reproducing apparatus for reproducing an image recorded on a disk which is a disk-shaped recording medium such as a DVD (Digital Video Disc) has a function of superimposing an OSD image on an image reproduced from the disk. Conventionally, in the OSD image, pattern data indicating whether each dot of the OSD image is a character portion or a background portion, and coloring data for designating the colors of the character portion and the background portion of the OSD image are stored in a ROM ( Read only memory, and an OSD image is generated by a CPU (Central Processing Unit) developing one dot at a time in a display memory based on the pattern data and the coloring data stored in the ROM. Was.
[0003]
To expand the image in the memory means to recognize whether the dot of interest is a character portion or a background portion based on the pattern data and the coloring data of the image, and specify the dot as the character portion and the background portion, respectively. Recognize the color of the character, and for the character part, the data of the color specified as the character part, and for the background part, the data of the color specified as the background part are stored in the memory area corresponding to the dot of interest. Each means to store.
[0004]
[Problems to be solved by the invention]
As described above, conventionally, since the OSD image is generated by developing one dot at a time in the memory based on the pattern data and the coloring data, the time required until the OSD image is generated is long. As a result, operability has been hindered. Further, the microcomputer that generates the OSD image is not usually used only for generating the OSD image, and performs other processing. Since the CPU is occupied, other processes cannot be performed efficiently.
[0005]
If the background part of the OSD image to be developed this time and the background part of the OSD image developed immediately before have the same color, the background part of the OSD image is not simply developed, and Although the time required for generation can be shortened, the character of the OSD image that has been developed immediately before and the character of the OSD image that has been developed this time are overlapped images.
[0006]
Further, the technology disclosed in Japanese Patent Application Laid-Open No. 9-90923 aims to arbitrarily increase the number of transparent colors and priority colors in superimposing a plurality of screens, and to speed up the rewriting of transparent colors and priority colors. However, this does not solve the above problem.
[0007]
The technique disclosed in Japanese Patent Application Laid-Open No. 2000-98993 reduces power consumption of a display controller and reduces competition between frame buffer access from a higher order and frame buffer access in the display controller. It does not solve the above problems.
[0008]
Therefore, an object of the present invention is to provide an OSD image generation method that reduces the time required until an OSD image is generated and enables other processes to be performed efficiently.
[0009]
[Means for Solving the Problems]
In order to achieve the above object, according to the present invention, data of each color that can be taken by a background portion of an OSD image is stored as a background portion of a requested OSD image from a first memory in which one line of the OSD image is stored in advance. One line of data of the designated color is DMA-transferred to a second memory having a capacity capable of storing color data of one line of the OSD image. And recognizes the color designated as the character part of the OSD image and the character part of the OSD image, and stores the character of the OSD image in the area on the second memory corresponding to the character part of the OSD image on the line of interest. The data of the color specified as the portion is stored, and then the data stored in the second memory is replaced with the color data for all the dots of the OSD image. A series of operations of DMA transfer to a region corresponding to the line of interest on the third memory, which is a display memory having a capacity capable of storing the OSD image, is performed by sequentially focusing on each line. An OSD image is generated by repeating the process for a number of times.
[0010]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram of a disk reproducing apparatus to which the present invention is applied. An output of the pickup 3 for detecting information from the disk 1 rotated and driven by the disk motor 2 is guided to a signal processing circuit 5 and a servo processing circuit 6 via an RF amplifier 4, and the output of the servo processing circuit 6 is , A digital signal processor (hereinafter, “DSP”) 5.
[0011]
In the DSP 5, a track buffer RAM (Random Access Memory) for temporarily storing data amplified by the RF amplifier 4 and decoded in accordance with the DVD standard (here, compressed by MPEG (Motion Picture Expert Group)). 7) is connected. The RF amplifier 4, DSP 5, and servo processing circuit 6 are controlled by a microcomputer 8. As described above, the microcomputer 8 controls the operation of reproducing information from the disk 1, and is hereinafter referred to as a "front-end microcomputer".
[0012]
The servo processing circuit 6 performs servo control of focusing servo and tracking servo for the pickup 3 in accordance with commands and control data transmitted and received from the front-end microcomputer 8 via the DSP 5, and moves the entire pickup 3 in the radial direction of the disk 1. The control of the sled motor 9 for moving and the control of the tray motor 10 for driving the tray (not shown) for loading the disk 1 are performed.
[0013]
When the disc 1 loaded on the tray is a DVD, a reproduction signal is input to the DSP 5 via the RF amplifier 4, while the disc 1 loaded on the tray is loaded on a CD-ROM (Compact Disc-Read Only). The playback signal in the case of “Memory” is input from the RF amplifier 4 to the DSP 5 via the servo processing circuit 6. The DSP 5 also performs a decoding process of the DVD data and a decoding process of the CD-ROM data.
[0014]
The DSP 5 is connected to an A / V (Audio / Video) decoder 11, and the output of the A / V decoder 11 is connected to a video encoder 13 and a D / A converter 14. The A / V decoder 11 decompresses the MPEG-compressed data read from the track buffer RAM 7. Further, the A / V decoder 11 is connected to an A / V decode RAM 15 for storing expanded digital data for several screens.
[0015]
The A / V decoder 11 is connected to a microcomputer 16, and a work RAM 17 is connected to the microcomputer 16. Note that the microcomputer 16 controls the operation of outputting information reproduced from the disk 1, and is hereinafter referred to as a "back-end microcomputer". Further, the operation of the entire disc reproducing apparatus is controlled by cooperation between the front-end microcomputer 8 and the back-end microcomputer 16.
[0016]
The back-end microcomputer 16 is connected to a front panel controller 19 for controlling display of a front panel 20 composed of an LCD or the like. The output of the key input unit 21 is guided to the front panel controller 19. Further, the front panel controller 19 is provided with a receiving unit (not shown) for receiving a transmission signal from the remote controller 22.
[0017]
Here, the operation at the time of reproduction in the disk reproducing apparatus having the above configuration will be briefly described. The data recorded on the disk 1 is detected by the pickup 3, subjected to waveform shaping and amplification by the RF amplifier 4, and then decoded by the DSP 5 in accordance with the DVD standard. The decoded data is sequentially stored in the track buffer RAM 7 while being compressed by MPEG, and waits for a read request from the back-end microcomputer 16.
[0018]
The data stored in the track buffer RAM 7 is sequentially read out in accordance with a read request from the back-end microcomputer 16 and transferred to the A / V decoder 11, where the compressed data is decompressed by MPEG and the video data is decompressed. Is decoded. The decoded video data is temporarily stored in the A / V decoding RAM 15, then read out again and sequentially transferred to the video encoder 13, where it is converted into an analog video signal and output from the video output terminals 13a and 13b. Is done.
[0019]
On the other hand, audio data compressed by MPEG is sequentially stored in the track buffer RAM 7 like video data, sequentially read out according to a read request from the back-end microcomputer 16, and transferred to the A / V decoder 11, Here, the compressed data is expanded by MPEG and decoded into audio data. The decoded audio data is temporarily stored in an A / V decode RAM 15, then read out again and sequentially transferred to a D / A converter 14, where it is converted into an analog audio signal and output from an audio output terminal 14a. Is done.
[0020]
In such a reproducing operation, when the data stored in the track buffer RAM 7 is sequentially read in accordance with a read request from the back-end microcomputer 16, the data is sequentially overwritten by the next data, and by repeating this, the image data is sequentially stored in the subsequent data. Output to the signal reproduction system.
[0021]
The same applies to the A / V decode RAM 15. When the data stored in the A / V decode RAM 15 is sequentially read in accordance with a read request from the back-end microcomputer 16, the data is read from the track buffer RAM 7 and transferred. The image data is sequentially overwritten by the next data, and by repeating this, the image data is sequentially output to the subsequent signal reproducing system.
[0022]
Here, the back-end microcomputer 16 also has a function of generating an OSD image. The OSD image generated by the back-end microcomputer 16 (image data stored in a third RAM 166 in the back-end microcomputer 16 described later) is supplied to the video encoder 13 via the A / V decoder 11, and is supplied to the video encoder 13. Is superimposed on the image data reproduced from the disk 1.
[0023]
Hereinafter, an operation in which the back-end microcomputer 16 generates an OSD image will be described. As shown in FIG. 2, the back-end microcomputer 16 includes a CPU 161, a DMA (Direct Memory Access) controller (hereinafter, “DMAC”) 162, a ROM 163, a first RAM 164, a second RAM 165, and a third RAM 166. Have. These are connected by a bus 167.
[0024]
The ROM 163 stores pattern data indicating whether each dot of the OSD image is a character portion or a background portion, and coloring data for specifying colors of the character portion and the background portion of the OSD image. In the pattern data, for example, the dot in the character portion is “1”, and the dot in the background portion is “0”.
[0025]
The first RAM 164 has a capacity capable of storing data of each color that can be taken by the background portion of the OSD image for one line of the OSD image. The second RAM 165 has a capacity capable of storing color data for one line of the OSD image.
[0026]
The third RAM 166 has a capacity capable of storing color data for all the dots of the OSD image. The data stored in the third RAM 166 is supplied to the video encoder 13 via the A / V decoder 11, and is superimposed on the image data reproduced from the disk 1. That is, the third RAM 166 is a display memory on which display is performed based on the data stored therein.
[0027]
After the system is started, the CPU 161 performs the processing shown in the flowchart of FIG. 3 so that the data of each color that can be taken by the background portion of the OSD image is stored in the first RAM 164 for each line of the OSD image in advance.
[0028]
Further, when receiving the OSD image display request, the CPU 161 performs the processing shown in the flowchart of FIG. This processing will be described. The color specified as the background part of the OSD image requested to be displayed is recognized based on the coloring data stored in the ROM 163, and the color of the color specified as the background part of the OSD image requested to be displayed is determined. The data for the line is DMA-transferred from the first RAM 164 to the second RAM 165 using the DMAC 162 (S1).
[0029]
Next, based on the pattern data and the coloring data stored in the ROM 163, only the character portion of the OSD image on the line of interest is developed in the second RAM 165 (S2). That is, the character portion of the OSD image and the color specified as the character portion of the OSD image on the line of interest are recognized based on the pattern data and coloring data stored in the ROM 163, and the color on the line of interest is recognized. The data of the color designated as the character part of the OSD image is stored in the area on the second RAM 165 corresponding to the character part of the OSD image.
[0030]
Next, the data (color data of one line of the OSD image) stored in the second RAM 165 is DMA-transferred to the area on the third RAM 166 corresponding to the line of interest by using the DMAC 162 ( S3). After finishing S3, if not all the lines have been focused (No in S4), the focused line is updated to the next line (S5), and thereafter, the process proceeds to S1 described above.
[0031]
By the above processing, for example, as shown in FIG. 5, when an OSD image in which the character portion “F” is red and the background portion is blue is generated, the data stored in the second RAM 165 and the third RAM 166 is The transition is as follows.
[0032]
First, as shown in the image diagram of FIG. 6A, a state in which one blue line, which is the color of the background portion of the OSD image shown in FIG. 5, is transferred from the first RAM 164 and stored in the second RAM 165. become.
[0033]
Next, since all the dots on the top line L1 of the OSD image shown in FIG. 5 are background portions, the development to the second RAM 165 is not performed, and as a result, the image is shown in the image diagram of FIG. As described above, the same line (in this case, one blue line) as the first line L1 of the OSD image shown in FIG. 5 is stored in the second RAM 165.
[0034]
Next, the data stored in the second RAM 165 is DMA-transferred to the third RAM 166, and as shown in the image diagram of FIG. Is stored in the same state as the first line L1 of the OSD image shown in FIG.
[0035]
Next, as shown in the image diagram of FIG. 7A, one blue line, which is the color of the background portion of the OSD image shown in FIG. 5, is transferred again from the first RAM 164 and stored in the second RAM 165. State.
[0036]
Next, in the OSD image shown in FIG. 5, since the dot of the character portion exists on the second line L2, only the character portion is developed in the second RAM 165, as shown in the image diagram of FIG. Then, the same state as the second line L2 of the OSD image shown in FIG. 5 is stored in the second RAM 165.
[0037]
Next, the data stored in the second RAM 165 is DMA-transferred to the third RAM 166, and the data is transferred to the second line 5-2 of the third RAM 166 as shown in the image diagram of FIG. A state where the same one as the second line L2 of the OSD image shown in FIG. 5 is stored.
[0038]
Hereinafter, similarly, the processing is sequentially performed from the third line to the last line. As a result, as shown in the image diagram of FIG. 8, each line 5-1 5-2,. In the state -n, the same lines L1, L2,..., Ln of the OSD image shown in FIG. 5 are stored.
[0039]
As described above, in the present embodiment, the data of each color that can be taken by the background portion of the OSD image is stored in advance in the first RAM 164 one line at a time, and is designated as the background portion of the OSD image requested to be displayed. Since the data of one line of the present color is DMA-transferred from the first RAM 164 to the second RAM 165, the background portion of the OSD image requested to be displayed is developed at this point, and the OSD image is converted to the character. Only the part needs to be expanded in the memory. On the other hand, the number of times of data transfer between RAMs is increased as compared with the conventional case, but data is DMA-transferred between RAMs.
[0040]
As described above, the time required until the OSD image is generated (the OSD image is developed in the third RAM 166 serving as a display memory based on the pattern data and the background color data stored in the ROM 163) is reduced. You. In addition, the more the OSD image to be generated has more background portions, the shorter the time required to generate the OSD image is. As described above, since the time required until the OSD image is generated is reduced, the OSD image is displayed at a higher speed from the viewpoint of the user, and the operability is improved.
[0041]
Further, even when an OSD image is being generated, the CPU 161 can execute other processing while the DMA transfer is being executed, so that other processing can be performed efficiently.
[0042]
In the present embodiment, the destination to which one line of the same color as the background part of the OSD image is transferred from the first RAM 164 and the destination to which the OSD image is expanded only for the character part are the third display memories. Instead of using the RAM 166, the second RAM 165 which is not a display memory is used, so that each line of the OSD image is established and then transferred to the third RAM 166 which is a display memory. And flickering of the OSD image can be suppressed.
[0043]
【The invention's effect】
As described above, according to the present invention, it is only necessary to expand the pattern data in the memory for the character portion. Therefore, the number of times of data transfer between the memories increases, but the data is DMA-transferred between the memories. Thus, in total, the time required until an OSD image is generated can be reduced. As a result, the OSD image is displayed at higher speed, and the operability is improved.
[0044]
Further, since the CPU can execute other processing while data is being DMA-transferred between the memories, the CPU can execute other processing while the OSD image is being generated. Therefore, other processing can be performed efficiently. Accordingly, it is expected that the present invention is applied to a disk reproducing apparatus or the like that requires various processes in a microcomputer, and that the operation speed is increased.
[Brief description of the drawings]
FIG. 1 is a block diagram of a disk reproducing apparatus to which the present invention has been applied.
FIG. 2 is a diagram illustrating a configuration of a part related to generation of an OSD image by a back-end microcomputer in FIG. 1;
FIG. 3 is a flowchart of an operation performed by a CPU in a back-end microcomputer at the time of system startup.
FIG. 4 is a flowchart of an operation performed when a CPU in a back-end microcomputer receives an OSD image display request.
FIG. 5 is a diagram illustrating an example of an OSD image.
6 is a diagram showing an image of data stored in a second RAM and a third RAM in the back-end microcomputer when the OSD image of FIG. 5 is generated.
7 is a diagram illustrating an image of data stored in a second RAM and a third RAM in the back-end microcomputer when the OSD image of FIG. 5 is generated.
8 is a diagram showing an image of data finally stored in a third RAM in the back-end microcomputer when the OSD image of FIG. 5 is generated.
[Explanation of symbols]
1 disk 2 disk motor 3 pickup 4 RF amplifier 5 DSP (digital signal processor)
6 Servo processing circuit 7 Track buffer RAM
8. Microcomputer (front-end microcomputer)
11 A / V decoder 13 Video encoder 14 D / A converter 15 A / V decode RAM
16 Microcomputer (back-end microcomputer)
17 Work RAM
19 Front Panel Controller 20 Front Panel 21 Key Input Unit 22 Remote Controller 161 CPU
162 DMAC (DMA controller)
163 ROM
164 First RAM
165 Second RAM
166 Third RAM (Memory for Display)
167 bus

Claims (2)

円板状の記録媒体であるディスクに記録されている画像を再生するディスク再生装置であって、ディスクから再生された画像に重畳されるOSD画像を生成するOSD画像生成手段を有するディスク再生装置において、
前記OSD画像生成手段は、CPUと、OSD画像の各ドットがキャラクタ部分であるか背景部分であるかを示すパターンデータ、及び、OSD画像のキャラクタ部分と背景部分との色を指定する着色用データを格納したROMと、OSD画像の背景部分がとり得る各色のデータをOSD画像の1ライン分ずつ格納した第1のRAMと、OSD画像の1ライン分だけ色のデータを格納可能な容量をもった第2のRAMと、OSD画像の全ドット分だけ色のデータを格納可能な容量をもった表示用のメモリである第3のRAMと、RAM間でデータをDMA転送するDMAコントローラと、を備えており、前記DMAコントローラがOSD画像の背景部分として指定されている色の1ライン分のデータを前記第1のRAMから前記第2のRAMにDMA転送し、次に、前記CPUが前記パターンデータ及び前記着色用データに基づいて着目中のライン上におけるOSD画像のキャラクタ部分及びOSD画像のキャラクタ部分として指定されている色を認識し、着目中のライン上におけるOSD画像のキャラクタ部分に対応する、前記第2のRAM上の領域にOSD画像のキャラクタ部分として指定されている色のデータを格納し、次に、前記DMAコントローラが前記第2のRAMに格納されているデータを着目中のラインに対応する、前記第3のRAM上の領域にDMA転送するという一連の動作が、各ラインに順次着目してOSD画像のライン数だけ繰り返し行われることによって、OSD画像が生成されることを特徴とするディスク再生装置。
A disc reproducing apparatus for reproducing an image recorded on a disc which is a disc-shaped recording medium, the disc reproducing apparatus having an OSD image generating means for generating an OSD image superimposed on an image reproduced from the disc. ,
The OSD image generating means includes a CPU, pattern data indicating whether each dot of the OSD image is a character portion or a background portion, and coloring data for specifying colors of the character portion and the background portion of the OSD image. , A first RAM storing data of each color that can be taken by the background portion of the OSD image for one line of the OSD image, and a capacity capable of storing color data for one line of the OSD image. A second RAM, a third RAM which is a display memory having a capacity capable of storing color data for all dots of the OSD image, and a DMA controller which DMA-transfers data between the RAMs. The DMA controller stores one line of data of a color designated as a background portion of an OSD image from the first RAM to the second RAM. DMA transfer, and then the CPU recognizes the character portion of the OSD image and the color designated as the character portion of the OSD image on the line of interest on the basis of the pattern data and the coloring data. The data of the color designated as the character part of the OSD image is stored in the area on the second RAM corresponding to the character part of the OSD image on the line of. A series of operations of DMA-transferring the data stored in the RAM to the area on the third RAM corresponding to the line of interest is repeated by the number of lines of the OSD image while sequentially focusing on each line. A disc reproducing apparatus characterized in that an OSD image is generated thereby.
ある画像に重畳されるOSD画像の生成方法において、OSD画像の背景部分がとり得る各色のデータがOSD画像の1ライン分ずつ予め格納された第1のメモリから、要求されたOSD画像の背景部分として指定されている色の1ライン分のデータを、OSD画像の1ライン分だけ色のデータを格納可能な容量をもった第2のメモリにDMA転送し、次に、CPUが着目中のライン上におけるOSD画像のキャラクタ部分及びOSD画像のキャラクタ部分として指定されている色を認識し、着目中のライン上におけるOSD画像のキャラクタ部分に対応する、前記第2のメモリ上の領域にOSD画像のキャラクタ部分として指定されている色のデータを格納し、次に、前記第2のメモリに格納されているデータを、OSD画像の全ドット分だけ色のデータを格納可能な容量をもった表示用のメモリである第3のメモリ上の、着目中のラインに対応する領域にDMA転送するという一連の動作を、各ラインに順次着目してOSD画像のライン数だけ繰り返し行うことによってOSD画像を生成することを特徴とするOSD画像の生成方法。In a method of generating an OSD image to be superimposed on a certain image, data of each color that can be taken by the background portion of the OSD image is stored in advance in a first memory for one line of the OSD image from a first memory. Is transferred by DMA to a second memory having a capacity capable of storing color data for one line of the OSD image, and then the CPU focuses on the line of interest. Recognize the color specified as the character part of the OSD image and the character part of the OSD image above, and store the OSD image in the area on the second memory corresponding to the character part of the OSD image on the line of interest. The data of the color designated as the character portion is stored, and the data stored in the second memory is replaced with the data of all the dots of the OSD image. A series of operations of DMA transfer to a region corresponding to a line of interest on a third memory, which is a display memory having a capacity capable of storing grayscale data, is sequentially focused on each line. A method for generating an OSD image, wherein an OSD image is generated by repeatedly performing the number of lines of the OSD image.
JP2001373711A 2001-12-07 2001-12-07 DISK PLAYER AND OSD IMAGE GENERATION METHOD Expired - Fee Related JP3598515B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001373711A JP3598515B2 (en) 2001-12-07 2001-12-07 DISK PLAYER AND OSD IMAGE GENERATION METHOD

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001373711A JP3598515B2 (en) 2001-12-07 2001-12-07 DISK PLAYER AND OSD IMAGE GENERATION METHOD

Publications (2)

Publication Number Publication Date
JP2003174627A JP2003174627A (en) 2003-06-20
JP3598515B2 true JP3598515B2 (en) 2004-12-08

Family

ID=19182383

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001373711A Expired - Fee Related JP3598515B2 (en) 2001-12-07 2001-12-07 DISK PLAYER AND OSD IMAGE GENERATION METHOD

Country Status (1)

Country Link
JP (1) JP3598515B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1239670A1 (en) * 2001-03-09 2002-09-11 Thomson multimedia Digital France Video apparatus, notably video decoder, and process for memory control in such an apparatus
JP3909596B2 (en) * 2003-05-15 2007-04-25 ソニー株式会社 Image processing apparatus and method, and imaging apparatus
JP4749701B2 (en) * 2004-11-18 2011-08-17 富士フイルム株式会社 On-screen display device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06110431A (en) * 1992-05-08 1994-04-22 Pioneer Electron Corp Display controller
JPH0990923A (en) * 1995-09-21 1997-04-04 Matsushita Electric Ind Co Ltd Display controller
JP4026098B2 (en) * 1998-09-24 2007-12-26 沖電気工業株式会社 Display controller

Also Published As

Publication number Publication date
JP2003174627A (en) 2003-06-20

Similar Documents

Publication Publication Date Title
US6347186B2 (en) Disk playback device for performing special playback mode established by single special playback key, and media storing playback control program for same
JP3085135B2 (en) Information reproducing apparatus and decoder unit
JP3598515B2 (en) DISK PLAYER AND OSD IMAGE GENERATION METHOD
JPS62243490A (en) Method and apparatus for video editing and processing
JP3071157B2 (en) Method of reproducing a recording medium including image signals captured at a plurality of angles
JPH11313316A (en) Optical disk reproduction method and optical disk reproducing device
KR100230301B1 (en) Digital video camera for preventing picture distortion and method for processing therefor when video signal is searched
JP2000152159A (en) Disk reproducing device
JPH09233410A (en) Digital video camera
KR19990005954A (en) Background player for video compact disc player and its control method
JPH0575974A (en) Method and device for information processing
JP3593692B2 (en) Image disk playback device
JP3296857B2 (en) Image creation device
JPH09247596A (en) Image reproducing device
KR100275873B1 (en) Multi-optical disc player and control method
JP4922311B2 (en) Playback device and playback system
JP3088850U (en) Disc playback device
JP3060881B2 (en) Information reproducing apparatus and decoder unit
JP3584984B2 (en) Disc reproducing apparatus and recording medium reproducing apparatus
JP2000261764A (en) Video signal reproducing device
EP1791129A2 (en) Optical disk reproducing device
JP2009290391A (en) Optical disk device
JP2002100163A (en) Disk player
JP2000244865A (en) Magnetic disk reproducer
JPS63268384A (en) Recorded information reproducing device

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040628

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040905

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

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20080924

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20090924

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20090924

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20100924

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20110924

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees